]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
ARM: Use <bits/fcntl-linux.h>
[thirdparty/glibc.git] / ChangeLog
CommitLineData
481b90b9
AJ
12012-10-22 Andreas Jaeger <aj@suse.de>
2
76e38f9a
AJ
3 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4 bits/fcntl-linux.h.
5
7cd37b43
AJ
6 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8
481b90b9
AJ
9 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10 to __O_LARGEFILE.
11 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12 to __O_LARGEFILE.
13
aba75984
JB
142012-10-21 Jim Blandy <jimb@codesourcery.com>
15 Joseph Myers <joseph@codesourcery.com>
16
17 * config.make.in (NM): New variable.
18
88d4247f
AJ
192012-10-21 Andreas Jaeger <aj@suse.de>
20
21 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22 definitions and declarations that are provided by
23 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24
f2eed205
L
252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26
27 [BZ #14683]
28 * elf/Makefile (tests-static): Add tst-leaks1-static.
29 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30 ($(objpfx)tst-leaks1-static): New rule.
31 ($(objpfx)tst-leaks1-static-mem): Likewise.
32 (tst-leaks1-static-ENV): New macro.
33 * elf/dl-open.c (dl_open_worker): Check the main application
34 only if SHARED is defined.
35 * elf/tst-leaks1-static.c: New file.
36
335e6931
AJ
372012-10-20 Andreas Jaeger <aj@suse.de>
38
39 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40 generic values for Linux.
41 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42 and declarations that are provided by <bits/fcntl-linux.h> and
43 include <bits/fcntl-linux.h>.
44 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46
ac5c94d3
RM
472012-10-20 Roland McGrath <roland@hack.frob.com>
48
49 * io/fcntl.h: Move include of <bits/types.h> to the top and
50 include it unconditionally.
51
de54b33a
L
522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
53
228cfb01
L
54 * wcsmbs/Makefile (tests-ifunc): New variable.
55 (tests): Add $(tests-ifunc).
56 * wcsmbs/test-wcschr-ifunc.c: New file.
57 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
58 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59 * wcsmbs/test-wcslen-ifunc.c: Likewise.
60 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
61 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
62
69f07e5f
L
63 * string/Makefile (tests-ifunc): New variable.
64 (tests): Add $(tests-ifunc).
65 * string/test-memccpy.c (TEST_NAME): New macro.
66 * string/test-memchr.c (TEST_NAME): Likewise.
67 * string/test-memcmp.c (TEST_NAME): Likewise.
68 * string/test-memcpy.c (TEST_NAME): Likewise.
69 * string/test-memmem.c (TEST_NAME): Likewise.
70 * string/test-memmove.c (TEST_NAME): Likewise.
71 * string/test-memset.c (TEST_NAME): Likewise.
72 * string/test-rawmemchr.c (TEST_NAME): Likewise.
73 * string/test-stpcpy.c (TEST_NAME): Likewise.
74 * string/test-stpncpy.c (TEST_NAME): Likewise.
75 * string/test-strcasecmp.c (TEST_NAME): Likewise.
76 * string/test-strcasestr.c (TEST_NAME): Likewise.
77 * string/test-strcat.c (TEST_NAME): Likewise.
78 * string/test-strchr.c (TEST_NAME): Likewise.
79 * string/test-strcmp.c(TEST_NAME): Likewise.
80 * string/test-strcpy.c (TEST_NAME): Likewise.
81 * string/test-strcspn.c (TEST_NAME): Likewise.
82 * string/test-strlen.c (TEST_NAME): Likewise.
83 * string/test-strncasecmp.c (TEST_NAME): Likewise.
84 * string/test-strncmp.c (TEST_NAME): Likewise.
85 * string/test-strncpy.c (TEST_NAME): Likewise.
86 * string/test-strnlen.c (TEST_NAME): Likewise.
87 * string/test-strpbrk.c (TEST_NAME): Likewise.
88 * string/test-strrchr.c (TEST_NAME): Likewise.
89 * string/test-strspn.c (TEST_NAME): Likewise.
90 * string/test-strstr.c (TEST_NAME): Likewise.
91 * string/test-bcopy-ifunc.c: New file.
92 * string/test-bzero-ifunc.c: Likewise.
93 * string/test-memccpy-ifunc.c: Likewise.
94 * string/test-memchr-ifunc.c: Likewise.
95 * string/test-memcmp-ifunc.c: Likewise.
96 * string/test-memcpy-ifunc.c: Likewise.
97 * string/test-memmem-ifunc.c: Likewise.
98 * string/test-memmove-ifunc.c: Likewise.
99 * string/test-mempcpy-ifunc.c: Likewise.
100 * string/test-memset-ifunc.c: Likewise.
101 * string/test-rawmemchr-ifunc.c: Likewise.
102 * string/test-stpcpy-ifunc.c: Likewise.
103 * string/test-stpncpy-ifunc.c: Likewise.
104 * string/test-strcasecmp-ifunc.c: Likewise.
105 * string/test-strcasestr-ifunc.c: Likewise.
106 * string/test-strcat-ifunc.c: Likewise.
107 * string/test-strchr-ifunc.c: Likewise.
108 * string/test-strchrnul-ifunc.c: Likewise.
109 * string/test-strcmp-ifunc.c: Likewise.
110 * string/test-strcpy-ifunc.c: Likewise.
111 * string/test-strcspn-ifunc.c: Likewise.
112 * string/test-strlen-ifunc.c: Likewise.
113 * string/test-strncasecmp-ifunc.c: Likewise.
114 * string/test-strncat-ifunc.c: Likewise.
115 * string/test-strncmp-ifunc.c: Likewise.
116 * string/test-strncpy-ifunc.c: Likewise.
117 * string/test-strnlen-ifunc.c: Likewise.
118 * string/test-strpbrk-ifunc.c: Likewise.
119 * string/test-strrchr-ifunc.c: Likewise.
120 * string/test-strspn-ifunc.c: Likewise.
121 * string/test-strstr-ifunc.c: Likewise.
122
de54b33a
L
123 * debug/Makefile (tests-ifunc): New variable.
124 (tests): Add $(tests-ifunc).
125 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
126 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
127 * debug/test-stpcpy_chk-ifunc.c: New file.
128 * debug/test-strcpy_chk-ifunc.c: Likewise.
129
88481c16
SP
1302012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
131
132 [BZ #13601]
133 * elf/dl-load.c (open_verify): Retry read if the entire ELF
134 header is not read in.
135
135948bd
JM
1362012-10-19 Joseph Myers <joseph@codesourcery.com>
137
89f1c388
JM
138 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
139 script to $(SHELL) as $<. Pass $(common-objpfx) to script
140 directly. Pass built executable to script as
141 $(built-program-cmd).
142 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
143 $testprogram without using LD_LIBRARY_PATH and $ldso.
144
e40a0d21
JM
145 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
146 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
147 $(rtld-installed-name).
148 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
149 (rtld_installed_name): Likewise.
150 (library_path): Likewise.
151 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
152 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
153 $(run-program-prefix) to tst-tables.sh.
154 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
155 it to run tst-table-from and tst-table-to.
156 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
157 Pass it to tst-table.sh.
158 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
159 $(run-program-prefix) to tst-gettext.sh.
160 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
161 tst-translit.sh.
162 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
163 tst-gettext2.sh.
164 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
165 to run tst-gettext.
166 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
167 to run tst-gettext2.
168 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
169 to run tst-translit.
170 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
171 $(run-program-prefix) to tst-mtrace.sh.
172 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
173 to run tst-mtrace.
174 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
175 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
176 $(rtld-installed-name).
177 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
178 (rtld_installed_name): Likewise.
179 (run_program_prefix): New variable. Use it to run wordexp-test.
180
728e272a
JM
181 * Makeconfig (ARCH): Remove all definitions.
182 (machine): Likewise.
183 [ARCH]: Remove conditional code.
184 [!objdir]: Give error.
185 [!objdir] (objpfx): Remove.
186 [!objdir] (common-objpfx): Likewise.
187 [!objdir] (common-objdir): Likewise.
188 * configure.in (config_makefile): Remove. Hardcode Makefile in
189 AC_CONFIG_FILES call.
190 * configure: Regenerated.
191
d528cdcf
JM
192 [BZ #13888]
193 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
194 or TMPDIR.
195 (testout): Likewise.
196
135948bd
JM
197 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
198 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
199 $(rtld-installed-name).
200 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
201 (rtld_installed_name): Likwise.
202 (runit): Remove function.
203 (run_getconf): New variable, Use it for running getconf binary.
204
3c97f652
JB
2052012-10-19 Jim Blandy <jimb@codesourcery.com>
206 Joseph Myers <joseph@codesourcery.com>
207
208 * localedata/tst-wctype.sh (run_program_prefix): Remove variable.
209 (tst_wctype): New variable. Use it directly to run test program
210 instead of passing test program name as argument.
211
38c78296
L
2122012-10-18 H.J. Lu <hongjiu.lu@intel.com>
213
214 [BZ #14716]
215 * string/test-memmem.c (check_result): New function.
216 (do_one_test): Use it.
217 (check1): New function.
218 (test_main): Use it.
219
d077f65f
MT
2202012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
221
222 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
223
ced52c71
JM
2242012-10-18 Joseph Myers <joseph@codesourcery.com>
225
226 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
227 (_G_LSEEK64): Likewise.
228 (_G_MMAP64): Likewise.
229 (_G_FSTAT64): Likewise.
230 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
231 (_G_LSEEK64): Likewise.
232 (_G_MMAP64): Likewise.
233 (_G_FSTAT64): Likewise.
234 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
235 unconditional. Call __mmap64 directly.
236 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
237 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
238 __lseek64 directly.
239 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
240 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
241 __mmap64 directly.
242 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
243 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
244 __lseek64 directly.
245 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
246 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
247 __lseek64 directly.
248 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
249 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
250 __lseek64 directly.
251 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
252 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
253 __fxstat64 directly.
254 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
255 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
256 unconditional.
257 (freopen64) [!_G_OPEN64]: Remove conditional code.
258 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
259 unconditional.
260 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
261 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
262 unconditional.
263 (ftello64) [!_G_LSEEK64]: Remove conditional code.
264 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
265 unconditional.
266 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
267 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
268 unconditional.
269 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
270 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
271 unconditional.
272 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
273 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
274 unconditional.
275 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
276 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
277 unconditional.
278 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
279
b741de23
SP
2802012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
281
282 [BZ #12140]
283 * manual/memory.texi (Malloc Tunable Parameters): Add note
284 about free list pointers overwriting some perturb bytes.
285 Wording suggested by Roland McGrath.
286
f9b9d9c9
JM
2872012-10-17 Joseph Myers <joseph@codesourcery.com>
288
289 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
290 (lgamma_test): Likewise.
291 (tgamma_test): Likewise.
292
172a631a
FW
2932012-10-16 Florian Weimer <fweimer@redhat.com>
294
295 [BZ #14700]
296 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
297 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
298
e9f37252
MK
2992012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
300
301 * NEWS: Mention BZ #14716.
302 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
303 when removing AVAILABLE1_USES_J macro.
304
d394eb74
L
3052012-10-12 H.J. Lu <hongjiu.lu@intel.com>
306
307 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
308 (__bswap_64): __uint64_t for unsigned 64-bit int.
309
ca38dc17
AS
3102012-10-12 Andreas Schwab <schwab@linux-m68k.org>
311
312 * include/string.h (memmem): Declare libc hidden alias.
313 * string/memmem.c (memmem): Define libc hidden alias.
314 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
315 __read, __close instead of open, read, close.
316
9a387d1f
L
3172012-10-11 H.J. Lu <hongjiu.lu@intel.com>
318
ac49ecaf
L
319 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
320 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
321 global and hidden.
322 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
323 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
324 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
325 Likewise.
326 (__rawmemchr_sse2): Likewise.
327 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
328 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
329 (__strchr_sse2): Likewise.
330 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
331 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
332 (__strcasecmp_sse2): Likewise.
333 (__strncasecmp_sse2): Likewise.
334 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
335 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
336 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
337 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
338 (__strrchr_sse2): Likewise.
339 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
340 ifunc-impl-list.c.
341 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
342 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
343 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
344 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
345 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
346 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
347 * sysdeps/x86_64/multiarch/memset.S: Likewise.
348 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
349 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
350 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
351 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
352 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
353 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
354 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
355 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
356 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
357 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
358 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
359 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
360 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
361 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
362 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
363 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
364 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
365 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
366 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
367 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
368 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
369 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
370 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
371
b090e8ea
L
372 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
373 global and hidden.
374 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
375 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
376 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
377 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
378 Likewise.
379 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
380 Likewise.
381 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
382 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
383 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
384 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
385 ifunc-impl-list.c.
386 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
387 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
388 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
389 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
390 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
391 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
392 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
393 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
394 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
395 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
396 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
397 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
398 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
399 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
400 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
401 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
402 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
403 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
404 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
405 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
406 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
407 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
408 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
409 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
410 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
411 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
412 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
413 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
414 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
415 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
416 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
417 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
418 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
419 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
420 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
421 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
422 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
423 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
424 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
425 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
426 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
427
11dd4af6
L
428 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
429 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
430 * include/ifunc-impl-list.h: New file.
431 * misc/ifunc-impl-list.c: Likewise.
432 * misc/Makefile (routines): Add ifunc-impl-list.
433 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
434 * string/test-string.h: Include <ifunc-impl-list.h>.
435 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
436 impl_array): New variables.
437 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
438 are defined.
439 (test_init): Call __libc_ifunc_impl_list to initialize
440 func_list if TEST_IFUNC and TEST_NAME are defined.
441
9a387d1f
L
442 * string/Makefile (strop-tests): Add bcopy and bzero.
443 * string/test-bcopy.c: New file.
444 * string/test-bzero.c: Likewise.
445 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
446 defined.
447 * string/test-memset.c: Support bzero test if TEST_BZERO is
448 defined.
449 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
450 __libc_memmove.
451 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
452 __libc_memset.
453 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
454 of memset.
455
472371b9
JM
4562012-10-10 Joseph Myers <joseph@codesourcery.com>
457
1e4a9536
JM
458 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
459 * configure: Regenerated.
460
d173d12e
JM
461 * Makeconfig (+link-static-before-libc): Don't include
462 $(link-static-libc).
463
472371b9
JM
464 * libio/libio.h (_IO_pos_t): Remove.
465
89a3ad0b
AO
4662012-10-10 Alexandre Oliva <aoliva@redhat.com>
467
468 * NEWS: Add note about FIPS mode. Wording suggested by Roland
469 McGrath.
470
e7451425
AO
4712012-10-10 Alexandre Oliva <aoliva@redhat.com>
472
473 * crypt/crypt-entry.c: Include fips-private.h.
474 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
475 * crypt/md5c-test.c (main): Tolerate disabled MD5.
476 * sysdeps/unix/sysv/linux/fips-private.h: New file.
477 * sysdeps/generic/fips-private.h: New file, dummy fallback.
478
4ba74a35
AO
4792012-10-10 Alexandre Oliva <aoliva@redhat.com>
480
481 * crypt/crypt-private.h: Include stdbool.h.
482 (_ufc_setup_salt_r): Return bool.
483 * crypt/crypt-entry.c: Include errno.h.
484 (__crypt_r): Return NULL with EINVAL for bad salt.
485 * crypt/crypt_util.c (bad_for_salt): New.
486 (_ufc_setup_salt_r): Check that salt is long enough and within
487 the specified alphabet.
488 * crypt/badsalttest.c: New file.
489 * crypt/Makefile (tests): Add it.
490 ($(objpfx)badsalttest): New.
491
f96f1242
MK
4922012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
493
494 * NEWS: Add entry for BZ #14602.
495
0e8e0c1c
JM
4962012-10-09 Joseph Myers <joseph@codesourcery.com>
497
498 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
499 type-generic.
500 * math/libm-test.inc: Update comment listing what functions and
501 macros are tested.
502 (isgreater_test): New function.
503 (isgreaterequal_test): Likewise.
504 (isless_test): Likewise.
505 (islessequal_test): Likewise.
506 (islessgreater_test): Likewise.
507 (isunordered_test): Likewise.
508 (main): Call the new functions.
509
273edc5e
RM
5102012-10-09 Roland McGrath <roland@hack.frob.com>
511
b8493de0
RM
512 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
513 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
514 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
515 * sysdeps/i386/configure: Regenerated.
516 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
517 * sysdeps/mach/configure: Regenerated.
518 * sysdeps/mach/hurd/configure: Regenerated.
519 * sysdeps/powerpc/configure: Regenerated.
520 * sysdeps/powerpc/powerpc32/configure: Regenerated.
521 * sysdeps/powerpc/powerpc64/configure: Regenerated.
522 * sysdeps/s390/s390-32/configure: Regenerated.
523 * sysdeps/s390/s390-64/configure: Regenerated.
524 * sysdeps/sh/configure: Regenerated.
525 * sysdeps/sparc/configure: Regenerated.
526 * sysdeps/unix/sysv/linux/configure: Regenerated.
527 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
528 * sysdeps/x86_64/configure: Regenerated.
529
273edc5e
RM
530 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
531 defined. Don't check if MAP is NULL.
532
c8450f70
JM
5332012-10-09 Joseph Myers <joseph@codesourcery.com>
534
535 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
536 (_G_stat64): Likewise.
537 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
538 (_G_stat64): Likewise.
539 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
540 instead of struct _G_stat64.
541 * libio/fileops.c (mmap_remap_check): Likewise.
542 (decide_maybe_mmap): Likewise.
543 (_IO_new_file_seekoff): Likewise.
544 (_IO_file_stat): Likewise.
545 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
546 _G_off64_t.
547 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
548 instead of struct _G_stat64.
549 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
550
57e605ba
MK
5512012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
552
553 [BZ #14602]
554 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
555 Replace with ...
556 (CHECK_EOL): New macro.
557 (two_way_short_needle): Check beginning of haystack for EOL. Use
558 CHECK_EOL.
559 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
560 Replace with CHECK_EOL.
561 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
562 Replace with CHECK_EOL.
563
ef1bb361
JM
5642012-10-08 Joseph Myers <joseph@codesourcery.com>
565
566 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
567 type-generic.
568 * math/libm-test.inc: Update comment listing what functions and
569 macros are tested.
570 (finite_test): New function.
571 (isinf_test): Likewise.
572 (isnan_test): Likewise.
573 (fpclassify_test): Test subnormal input.
574 (isfinite_test): Likewise.
575 (isnormal_test): Likewise.
576 (main): Call the new functions.
577
55f11534
JN
5782012-10-08 Jonathan Nieder <jrnieder@gmail.com>
579
580 [BZ #14660]
581 * Makerules (%.dynsym): Force C locale when running
582 $(OBJDUMP) --dynamic-syms.
583
1ab29350
AS
5842012-10-08 Andreas Schwab <schwab@linux-m68k.org>
585
586 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
587 <stdint.h>.
588
f1ecb7ef
DM
5892012-10-06 David S. Miller <davem@davemloft.net>
590
591 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
592 upper 32-bits of the length value in %o2 since we use branch-on-register
593 tests which consider the entire 64-bit register.
594
5d41d91a
L
5952012-10-06 H.J. Lu <hongjiu.lu@intel.com>
596
597 * string/test-strstr.c (check2): Add a test for page boundary.
598
3baddb72
DM
5992012-10-05 David S. Miller <davem@davemloft.net>
600
601 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
602 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
603 file.
604 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
605 sysdep_routines.
606 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
607 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
608 and bzero when HWCAP_SPARC_CRYPTO is present.
609
9cee5585
L
6102012-10-05 H.J. Lu <hongjiu.lu@intel.com>
611
d7e0dab9
L
612 [BZ #14602]
613 * string/test-strstr.c (check2): New function.
614 (test_main): Call check2.
615
03759f47
L
616 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
617 and bug-strchr1.
618 * string/bug-strcasestr1.c (do_test): Moved to ...
619 * string/test-strcasestr.c (check1): Here. New function.
620 (do_one_test): Break out result checking code into ...
621 (check_result): This. New function.
622 (do_one_test): Call check_result.
623 (test_main): Call check1.
624 * string/bug-strchr1.c (do_test): Moved to ...
625 * string/test-strchr.c (check1): Here. New function.
626 (do_one_test): Break out result checking code into ...
627 (check_result): This. New function.
628 (do_one_test): Call check_result.
629 (test_main): Call check1.
630 * string/bug-strstr1.c (main): Moved to ...
631 * string/test-strchr.c (check1): Here. New function.
632 (do_one_test): Break out result checking code into ...
633 (check_result): This. New function.
634 (do_one_test): Call check_result.
635 (test_main): Call check1.
636 * string/bug-strcasestr1.c: Removed.
637 * string/bug-strchr1.c: Likewise.
638 * string/bug-strstr1.c: Likewise.
639
53cea63e
L
640 * elf/Makefile (dl-routines): Add hwcaps.
641 * elf/dl-support.c (_dl_important_hwcaps): Removed.
642 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
643 (_dl_important_hwcaps): Moved to ...
644 * elf/dl-hwcaps.c: Here. New file.
645 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
646
9cee5585 647 [BZ #14557]
bb859b06
L
648 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
649 if IS_IN_rtld isn't defined.
650
9cee5585
L
651 * elf/dl-support.c (_dl_sysinfo_map): New.
652 Include "get-dynamic-info.h" and "setup-vdso.h".
653 (_dl_non_dynamic_init): Call setup_vdso.
654 * elf/dynamic-link.h: Don't include <assert.h>.
655 (elf_get_dynamic_info): Moved to ...
656 * elf/get-dynamic-info.h: Here. New file.
657 * elf/dynamic-link.h: Include "get-dynamic-info.h".
658 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
659 * elf/setup-vdso.h: Here. New file.
660 * elf/rtld.c: Include "setup-vdso.h".
661 (dl_main): Call setup_vdso.
662
23c31b76
JM
6632012-10-05 Joseph Myers <joseph@codesourcery.com>
664
28234b07
JM
665 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
666 creal in comment listing functions tested. List finite, isinf,
667 isnan, isless, islessequal, isgreater, isgreaterequal,
668 islessgreater, isunordered, lgamma_r and pow10 as functions and
669 macros not tested. Mention which functions not tested are aliases
670 for other functions. Fix typo. Note that signs of NaNs are not
671 tested.
672
23c31b76
JM
673 * scripts/config.guess: Update from config.git.
674 * scripts/config.sub: Likewise.
675
9043e228
RM
6762012-10-04 Roland McGrath <roland@hack.frob.com>
677
678 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
679 * misc/madvise.c (madvise): Renamed to __madvise.
680 Make madvise a weak alias.
681 * include/sys/mman.h: Declare __madvise.
682 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
683 * sysdeps/unix/syscalls.list
684 (madvise): Make __madvise the strong name, and madvise a weak alias.
685 * sysdeps/unix/sysv/linux/syscalls.list
686 (madvise, mmap): Remove redundant entries.
687 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
688 * malloc/malloc.c (mtrim): Likewise.
689 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
690
f57f8055
RM
6912012-10-03 Roland McGrath <roland@hack.frob.com>
692
693 * sysdeps/mach/hurd/dl-cache.c: File removed.
694 * config.h.in (USE_LDCONFIG): New #undef.
695 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
696 * configure: Regenerated.
697 * elf/Makefile (dl-routines): Add dl-cache only under
698 [$(use-ldconfig) = yes].
699 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
700 cache on [USE_LDCONFIG].
701 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
702 [USE_LDCONFIG].
703 * elf/rtld.c (dl_main): Likewise.
704
5bb0c10a
PT
7052012-10-03 Pino Toscano <toscano.pino@tiscali.it>
706
707 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
708 _SC_LEVEL4_CACHE_LINESIZE.
709
010188c6
RM
7102012-10-03 Roland McGrath <roland@hack.frob.com>
711
712 * sysdeps/unix/bsd/confstr.h: File removed.
713
b6c5ec07
AO
7142012-10-02 Alexandre Oliva <aoliva@redhat.com>
715
716 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
717 sys/sdt-config.h.
718
408223d4
RM
7192012-10-02 Roland McGrath <roland@hack.frob.com>
720
721 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
722 Make 'mapoff' field ElfW(Off) rather than off_t.
723
bb9510dc
DL
7242012-10-02 Dmitry V. Levin <ldv@altlinux.org>
725
fc997c6e
DL
726 * nscd/Makefile: Remove nscd-cflags and all its users.
727 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
728 (CFLAGS-nonlib): Add compiler flags for nscd modules.
729
bb9510dc
DL
730 [BZ #10631]
731 * malloc.c (malloc_printerr): Clarify error message.
732
05699367
L
7332012-10-02 H.J. Lu <hongjiu.lu@intel.com>
734
735 [BZ #14648]
736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
737 Set bit_FMA_Usable if FMA is supported.
738 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
739 macro.
740 (bit_FMA4_Usable): Updated.
741 (index_FMA_Usable): New macro.
742 (CPUID_FMA): Likewise
743 (HAS_FMA): Defined with bit_FMA_Usable.
744
51367701
RM
7452012-10-01 Roland McGrath <roland@hack.frob.com>
746
747 * bits/types.h (__swblk_t): Type removed.
748 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
749 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
750 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
751 (__SWBLK_T_TYPE): Likewise.
752 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
753 (__SWBLK_T_TYPE): Likewise.
754 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
755 (__SWBLK_T_TYPE): Likewise.
756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
757 (__SWBLK_T_TYPE): Likewise.
758
4d57bf63
JL
7592012-10-01 Patsy Franklin <pfrankli@redhat.com>
760 Honza Horak <hhorak@redhat.com>
761
762 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
763 (xdr_mapname): Use YPMAXMAP as maxsize.
764 (xdr_peername): Use YPMAXPEER as maxsize.
765 (xdr_keydat): Use YPAXRECORD as maxsize.
766 (xdr_valdat): Use YPMAXRECORD as maxsize.
767
93c65d43
RM
7682012-10-01 Roland McGrath <roland@hack.frob.com>
769
497a03d6
RM
770 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
771
93c65d43
RM
772 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
773 * csu/init-first.c: ... here.
774 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
775 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
776 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
777 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
778 * sysdeps/i386/init-first.c: File removed.
779 * sysdeps/sh/init-first.c: File removed.
780
bec749fd
JM
7812012-10-01 Joseph Myers <joseph@codesourcery.com>
782
783 [BZ #14645]
784 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
785 if x * y might underflow to zero and z is zero.
786 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
787 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
788 * math/libm-test.inc (min_subnorm_value): New variable.
789 (fma_test): Add more tests.
790 (fma_test_towardzero): Likewise.
791 (fma_test_downward): Likewise
792 (fma_test_upward): Likewise.
793 (initialize): Set min_subnorm_value.
794
8ec5b013
JM
7952012-09-29 Joseph Myers <joseph@codesourcery.com>
796
797 [BZ #14638]
798 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
799 0 + 0.
800 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
801 mode for addition resulting in exact zero.
802 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
803 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
804 exact 0 + 0.
805 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
806 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
807 * math/libm-test.inc (fma_test): Add more tests.
808 (fma_test_towardzero): New function.
809 (fma_test_downward): Likewise.
810 (fma_test_upward): Likewise.
811 (main): Call the new functions.
812
b1fa802e
DM
8132012-09-28 David S. Miller <davem@davemloft.net>
814
815 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
816
d3b9fd9e
RM
8172012-09-28 Roland McGrath <roland@hack.frob.com>
818
ea4d37b3
RM
819 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
820 instead of SIGALRM.
821
ac51c949
RM
822 * sysdeps/gnu/_G_config.h: Moved to ...
823 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
824 * sysdeps/mach/hurd/_G_config.h: Moved to ...
825 * sysdeps/generic/_G_config.h: ... here.
826
28c195f7
RM
827 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
828
848917f9
RM
829 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
830
6bacf05b
RM
831 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
832 Conditionalize target on [libnss_test1.so-version].
833
91363dbb
RM
834 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
835
cc87f7d8
RM
836 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
837 (elfobjdir): Move out of conditionals.
838
b1c608fe
RM
839 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
840 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
841 (__nss_lookup_function): Conditionalize label remove_from_tree on
842 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 843
1d9a6d96
DM
8442012-09-28 David S. Miller <davem@davemloft.net>
845
846 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
847 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
848 file.
849 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
850 sysdep_routines.
851 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
852 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
853 when HWCAP_SPARC_CRYPTO is present.
854
72581615
PT
8552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
856
857 * io/tst-mknodat.c: Create a FIFO instead of a socket.
858
715a900c
JL
8592012-09-28 Andreas Schwab <schwab@linux-m68k.org>
860
861 [BZ #6530]
862 * stdio-common/vfprintf.c (process_string_arg): Revert
863 2000-07-22 change.
864
8652011-09-28 Jonathan Nieder <jrnieder@gmail.com>
866
867 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
868 for testcase.
869 * stdio-common/tst-sprintf.c: Include <locale.h>
870 (main): Test sprintf's handling of incomplete multibyte
871 characters.
872
9bac1d86
L
8732012-09-28 H.J. Lu <hongjiu.lu@intel.com>
874
875 * elf/dl-runtime.c (VERSYMIDX): Removed.
876 * elf/dl-version.c (VERSYMIDX): Likewise.
877 * elf/do-rel.h (VERSYMIDX): Likewise.
878 (VALIDX): Likewise.
879 * elf/dynamic-link.h (VERSYMIDX): Likewise.
880 * elf/rtld.c (VALIDX): Likewise.
881 (ADDRIDX): Likewise.
9bac1d86
L
882 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
883 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
884 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
885 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
886 (VALIDX): Likewise.
887 (ADDRIDX): Likewise.
9bac1d86 888
b31606c0
PT
8892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
890
891 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
892
11541177
JL
8932012-09-28 Dmitry V. Levin <ldv@altlinux.org>
894
895 [BZ #11438]
896 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
897 to global scope.
898 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
899 addresses are in the same scope as 192.0.2/24.
900 * posix/gai.conf: Document new scope table defaults.
901
adb26fae
SP
9022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
903
904 [BZ #5298]
905 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
906 for ftell. Compute offsets from write pointers instead.
907 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
908
4573c6b0
SP
9092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
910
911 [BZ #14543]
912 * libio/Makefile (tests): New test case tst-fseek.
913 * libio/tst-fseek.c: New test case to verify that fseek/ftell
914 combination works in wide mode.
915 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
916 state when the external buffer state changes.
917
aa9bbfe6
DM
9182012-09-27 David S. Miller <davem@davemloft.net>
919
920 [BZ #14376]
921 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
922 pass reloc->r_addend in as the 'high' argument to
923 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
924
784421e7
DM
925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
926
c39bc8b8
PT
9272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
928
929 * rt/tst-aio2.c: Include <pthread.h>.
930 * rt/tst-aio3.c: Likewise.
931
1ccc2399
SE
9322012-09-27 Steve Ellcey <sellcey@mips.com>
933
934 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
935
31ed4153
L
9362012-09-27 H.J. Lu <hongjiu.lu@intel.com>
937
25f5f885
L
938 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
939 contents on [SHARED].
31ed4153 940
b7bfe116
MP
9412012-09-26 Marek Polacek <polacek@redhat.com>
942
943 [BZ #14530]
944 [BZ #13741]
945 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
946 for C++ and GCC <4.3 as well as for non GCC compilers.
947
43c4edba
MT
9482012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
949
950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
951
6a1bf82f
RM
9522012-09-25 Roland McGrath <roland@hack.frob.com>
953
954 * Makefile.in (all, install): Declare with .PHONY.
955 Reported by Michael Hope <michael.hope@linaro.org>.
956
8ad11b9a
TMQMF
9572012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
958
959 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
960 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
961 system header.
962 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
963 Likewise.
964 (sydep_routines): Add the new and the internal functions.
965 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
966 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
968 (GLIBC_2.17): Add the new function.
969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
970 (GLIBC_2.17): Likewise.
971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
972 (GLIBC_2.17): Likewise.
973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
974 (GLIBC_2.17): Likewise.
975 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
976
7e2fca8d
AM
9772012-09-25 Alan Modra <amodra@gmail.com>
978
979 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
980 Add release barrier before setting once_control to say
981 initialisation is done. Add hints on lwarx. Use macro in
982 place of isync.
983 (clear_once_control): Add release barrier.
984
b87c4b24
JM
9852012-09-25 Joseph Myers <joseph@codesourcery.com>
986
d032e0d2
JM
987 [BZ #13629]
988 * math/s_clog.c (__clog): Handle more values close to |z| = 1
989 specially.
990 * math/s_clog10.c (__clog10): Likewise.
991 * math/s_clog10f.c (__clog10f): Likewise.
992 * math/s_clog10l.c (__clog10l): Likewise.
993 * math/s_clogf.c (__clogf): Likewise.
994 * math/s_clogl.c (__clogl): Likewise.
995 * math/Makefile (libm-calls): Add x2y2m1.
996 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
997 (__x2y2m1): Likewise.
998 (__x2y2m1l): Likewise.
999 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1000 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1001 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1002 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1003 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1004 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1005 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1006 * sysdeps/i386/fpu/libm-test-ulps: Update.
1007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1008
b87c4b24
JM
1009 [BZ #14621]
1010 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1011 int as type of variable DEPTH.
1012 (glob): Use size_t instead of int as type of variables NEWCOUNT
1013 and OLD_PATHC.
1014
6d3bf199
LD
10152012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1016
22bf5c17
LD
1017 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1018 Add s_sincosf-sse2.
1019 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1020 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1021 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1022 macros for using routine as __sincosf_ia32.
1023 Use macro for function declaration and weak_alias.
1024 * sysdeps/i386/fpu/libm-test-ulps: Update.
1025
1026 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1028
1029 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1030 subnormal argument.
1031 * math/s_cexpf.c (__cexpf): Likewise.
1032 * math/s_csinf.c (__csinf): Likewise.
1033 * math/s_csinhf.c (__csinhf): Likewise.
1034 * math/s_ctanf.c (__ctanf): Likewise.
1035 * math/s_ctanhf.c (__ctanhf): Likewise.
1036 * math/s_ccosh.c (__ccoshf): Likewise.
1037 * math/s_cexp.c (__cexpl): Likewise.
1038 * math/s_csin.c (__csin): Likewise.
1039 * math/s_csinh.c (__csinh): Likewise.
1040 * math/s_ctan.c (__ctan): Likewise.
1041 * math/s_ctanh.c (ctanh): Likewise.
1042 * math/s_ccoshl.c (__ccoshl): Likewise.
1043 * math/s_cexpl.c (__cexpl): Likewise.
1044 * math/s_csinl.c (__csinl): Likewise.
1045 * math/s_csinhl.c (__csinhl): Likewise.
1046 * math/s_ctanl.c (__ctanl): Likewise.
1047 * math/s_ctanhl.c (__ctanhl): Likewise.
1048
203e5603
JM
10492012-09-25 Joseph Myers <joseph@codesourcery.com>
1050
1051 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1052 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1053 (_IO_off_t): Define to __off_t, not _G_off_t.
1054 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1055 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1056 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1057 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1058 type of __dummy and __dummy2 fields.
1059 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1060 (_G_ssize_t): Likewise.
1061 (_G_off_t): Likewise.
1062 (_G_pid_t): Likewise.
1063 (_G_uid_t): Likewise.
1064 (_G_wchar_t): Likewise.
1065 (_G_wint_t): Likewise.
1066 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1067 (_G_ssize_t): Likewise.
1068 (_G_off_t): Likewise.
1069 (_G_pid_t): Likewise.
1070 (_G_uid_t): Likewise.
1071 (_G_wchar_t): Likewise.
1072 (_G_wint_t): Likewise.
1073 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1074 (_G_ssize_t): Likewise.
1075 (_G_off_t): Likewise.
1076 (_G_pid_t): Likewise.
1077 (_G_uid_t): Likewise.
1078 (_G_wchar_t): Likewise.
1079 (_G_wint_t): Likewise.
1080
9fab36eb
SP
10812012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1082
1083 * malloc/arena.c: Include malloc-sysdep.h.
1084 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1085 is sufficient to shrink the heap or an unmap is needed.
1086 * sysdeps/generic/malloc-sysdep.h: New file. Define
1087 new function check_may_shrink_heap.
1088 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1089 new function check_may_shrink_heap.
1090
2b4f00d1
SP
10912012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1092
1093 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1094 comments.
1095
9a9028b1
DL
10962012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1097
57c69bef
DL
1098 * catgets/test-gencat.sh: Add "set -e".
1099 * elf/tst-pathopt.sh: Likewise.
1100 * grp/tst_fgetgrent.sh: Likewise.
1101 * iconvdata/run-iconv-test.sh: Likewise.
1102 * intl/tst-gettext.sh: Likewise.
1103 * intl/tst-gettext2.sh: Likewise.
1104 * intl/tst-gettext4.sh: Likewise.
1105 * intl/tst-gettext6.sh: Likewise.
1106 * intl/tst-translit.sh: Likewise.
1107 * io/ftwtest-sh: Likewise.
1108 * libio/test-freopen.sh: Likewise.
1109 * malloc/tst-mtrace.sh: Likewise.
1110 * posix/globtest.sh: Likewise.
1111 * posix/tst-getconf.sh: Likewise.
1112 * posix/wordexp-tst.sh: Likewise.
1113 * stdio-common/tst-printf.sh: Likewise.
1114 * stdio-common/tst-unbputc.sh: Likewise.
1115 * stdlib/tst-fmtmsg.sh: Likewise.
1116 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1117 * catgets/Makefile: Do not specify -e option when running
1118 testsuite shell scripts.
1119 * elf/Makefile: Likewise.
1120 * grp/Makefile: Likewise.
1121 * iconvdata/Makefile: Likewise.
1122 * intl/Makefile: Likewise.
1123 * io/Makefile: Likewise.
1124 * libio/Makefile: Likewise.
1125 * malloc/Makefile: Likewise.
1126 * posix/Makefile: Likewise.
1127 * stdio-common/Makefile: Likewise.
1128 * stdlib/Makefile: Likewise.
1129 * sysdeps/x86_64/Makefile: Likewise.
1130
9a9028b1
DL
1131 * io/ftwtest-sh: Add copyright header.
1132 * posix/globtest.sh: Likewise.
1133 * posix/tst-getconf.sh: Likewise.
1134 * posix/wordexp-tst.sh: Likewise.
1135 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1136
ced6f16e
L
11372012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1138
94b32c39
L
1139 [BZ #13679]
1140 * Makeconfig (+link): Defined as $(+link-static) if
1141 $(build-shared) isn't yes.
1142 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1143 isn't yes.
1144 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1145
189e935b
L
1146 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1147
ced6f16e
L
1148 [BZ #14562]
1149 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1150 new chunk size with MALLOC_ALIGN_MASK.
1151
a9f8e53a
JM
11522012-09-24 Joseph Myers <joseph@codesourcery.com>
1153
1154 [BZ #5044]
1155 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1156 <rounding-mode.h>.
1157 (__printf_fphex): Determine rounding using get_rounding_mode and
1158 round_away.
1159 * stdio-common/tst-printf-round.c (struct hex_test): New
1160 structure.
1161 (hex_tests): New variable.
1162 (test_hex_in_one_mode): New function.
1163 (do_test): Also run tests for hex float output.
1164
43153109
JM
11652012-09-21 Joseph Myers <joseph@codesourcery.com>
1166
1167 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1168 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1169 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1170 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1171 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1172 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1173 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1174 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1175
8a26625d
JM
11762012-09-20 Joseph Myers <joseph@codesourcery.com>
1177
1178 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1179 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1180 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1181 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1182
f3fd569c
DL
11832012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1184
1185 [BZ #14579]
1186 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1187 mode only.
1188 * elf/tst-rtld-load-self.sh: New test.
1189 * elf/Makefile: Run it.
1190
63bbedd4
JM
11912012-09-18 Joseph Myers <joseph@codesourcery.com>
1192
1193 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1194 (tst-writev-ENV): Remove.
1195 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1196
626f8b6a
CM
11972012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1198
1199 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1200
b7aaa4d6
JM
12012012-09-17 Joseph Myers <joseph@codesourcery.com>
1202
1203 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1204 unconditional.
1205 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1206 Likewise.
1207 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1208 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1209 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1210 Likewise.
1211
65513990
L
12122012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1213
1214 [BZ #14587]
1215 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1216 * config.make.in (have-cpp-asm-debuginfo): Removed.
1217 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1218 * configure: Regenerated.
1219
784761be
JM
12202012-09-14 Joseph Myers <joseph@codesourcery.com>
1221
1222 [BZ #5044]
1223 * stdio-common/printf_fp.c: Include <stdbool.h> and
1224 <rounding-mode.h>.
1225 (___printf_fp): Determine rounding using get_rounding_mode and
1226 round_away.
1227 * stdio-common/tst-printf-round.c: New file.
1228 * stdio-common/Makefile (tests): Add tst-printf-round.
1229 (link-libm): New variable.
1230 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1231
9503345f
L
12322012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1233
1234 [BZ #14576]
1235 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1236 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1237 Likewise.
1238 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1239 Likewise.
1240
ad35fc00
JM
12412012-09-13 Joseph Myers <joseph@codesourcery.com>
1242
1243 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1244 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1245 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1246 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1247
6c9b0f68
JM
12482012-09-12 Joseph Myers <joseph@codesourcery.com>
1249
1250 [BZ #14518]
1251 * include/rounding-mode.h: New file.
1252 * sysdeps/generic/get-rounding-mode.h: Likewise.
1253 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1254 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1255 (MAX_VALUE): New macro.
1256 (MIN_VALUE): Likewise.
1257 (overflow_value): New function.
1258 (underflow_value): Likewise.
1259 (round_and_return): Use overflow_value and underflow_value to
1260 determine return values in overflow and underflow cases. Use
1261 round_away to determine rounding depending on rounding mode.
1262 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1263 determine return values in overflow and underflow cases.
1264 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1265 (struct test_results): New structure.
1266 (struct test): Use struct test_results to store expected results
1267 for all rounding modes.
1268 (TEST): Include expected results for all rounding modes.
1269 (test_in_one_mode): New function.
1270 (do_test): Use test_in_one_mode to compute and check results.
1271 Check results for all rounding modes.
1272 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1273 $(link-libm).
1274
19fcedd5
AM
12752012-12-09 Allan McRae <allan@archlinux.org>
1276
1277 * sysdeps/i386/fpu/libm-test-ulps: Update
1278
8bbfd2f1
JM
12792012-09-11 Joseph Myers <joseph@codesourcery.com>
1280
1281 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1282 (_G_int32_t): Likewise.
1283 (_G_uint16_t): Likewise.
1284 (_G_uint32_t): Likewise.
1285 (_G_HAVE_BOOL): Likewise.
1286 (_G_HAVE_ATEXIT): Likewise.
1287 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1288 (_G_HAVE_IO_FILE_OPEN): Likewise.
1289 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1290 (_G_int32_t): Likewise.
1291 (_G_uint16_t): Likewise.
1292 (_G_uint32_t): Likewise.
1293 (_G_HAVE_BOOL): Likewise.
1294 (_G_HAVE_ATEXIT): Likewise.
1295 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1296 (_G_HAVE_IO_FILE_OPEN): Likewise.
1297 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1298 (_G_int32_t): Likewise.
1299 (_G_uint16_t): Likewise.
1300 (_G_uint32_t): Likewise.
1301 (_G_HAVE_BOOL): Likewise.
1302 (_G_HAVE_ATEXIT): Likewise.
1303 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1304 (_G_HAVE_IO_FILE_OPEN): Likewise.
1305
b1dc5912
L
13062012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1307
1308 * csu/libc-tls.c: Update copyright years.
1309
0e886ef9
JM
13102012-09-10 Joseph Myers <joseph@codesourcery.com>
1311
28361c5e
JM
1312 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1313 [!_G_USING_THUNKS]: Remove conditional code.
1314 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1315 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1316
0e886ef9
JM
1317 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1318 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1319 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1320 (_G_VTABLE_LABEL_PREFIX): Likewise.
1321 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1322 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1323 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1324 (_G_VTABLE_LABEL_PREFIX): Likewise.
1325 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1326 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1327 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1328 (_G_VTABLE_LABEL_PREFIX): Likewise.
1329 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1330
bcba7aa2
L
13312012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1332
1333 * libio/Makefile: Include ../Makeconfig before tests.
1334 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1335 only if $(build-shared) is yes.
1336
06585ee8
L
1337 * iconv/gconv_db.c: Update copyright years.
1338
80ccd52c
LD
13392012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1340
1341 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1342 unwind info if defined PIC. Fix special cases description.
1343 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1344
1345 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1346 DP_HI_MASK entry.
1347 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1348
691bc9c1
L
13492012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1350
3d9b46b3
L
1351 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1352
de2139a9
L
1353 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1354 is NULL.
1355
5ca78dd0
L
1356 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1357 (LDLIBS-tst-chk4): This.
1358 (LDFLAGS-tst-chk5): Renamed to ...
1359 (LDLIBS-tst-chk5): This.
1360 (LDFLAGS-tst-chk6): Renamed to ...
1361 (LDLIBS-tst-chk6): This.
1362 (LDFLAGS-tst-lfschk4): Renamed to ...
1363 (LDLIBS-tst-lfschk4): This.
1364 (LDFLAGS-tst-lfschk5): Renamed to ...
1365 (LDLIBS-tst-lfschk5): This.
1366 (LDFLAGS-tst-lfschk6): Renamed to ...
1367 (LDLIBS-tst-lfschk6): This.
1368
691bc9c1
L
1369 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1370 on $(common-objpfx)soversions.mk.
1371
65cafb1c
JM
13722012-09-07 Joseph Myers <joseph@codesourcery.com>
1373
1374 [BZ #10014]
1375 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1376 example host name.
1377
c78ab094
SP
13782012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1379
1380 * malloc/arena.c (arena_get_retry): New function that gets
1381 another arena for the caller to try its request on.
1382 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1383 current arena cannot fulfill the request.
1384 (__libc_memalign): Likewise.
1385 (__libc_memalign): Likewise.
1386 (__libc_pvalloc): Likewise.
1387 (__libc_calloc): Likewise.
1388
01f49f59
JT
13892012-09-05 John Tobey <john.tobey@gmail.com>
1390
1391 [BZ #13542]
1392 * manual/arith.texi (Operations on Complex): Fix description
1393 of carg branch cut.
1394
4c23fed5
JM
13952012-09-06 Joseph Myers <joseph@codesourcery.com>
1396
1d3c8572
JM
1397 [BZ #10014]
1398 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1399 host name.
1400
4c23fed5
JM
1401 [BZ #10038]
1402 * manual/memory.texi (Memory): Make order of menu items match
1403 order of sections.
1404
04570aaa
L
14052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1406
1407 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1408 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1409 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1410
b80af2f4
L
14112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1412
1413 * csu/libc-tls.c (static_dtv): Renamed to ...
1414 (_dl_static_dtv): This. Make it global.
1415 (_dl_initial_dtv): Removed.
1416 (__libc_setup_tls): Updated.
1417 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1418 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1419 DL_INITIAL_DTV.
1420
2abe9f15
PM
14212012-09-06 Petr Machata <pmachata@redhat.com>
1422
1423 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1424 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1425 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1426 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1427
0948c3af
L
14282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1429
1430 [BZ #14545]
1431 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1432 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1433 freeing dtv[-1].
1434
a5055ad1
L
14352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1436
1437 [BZ #14544]
1438 * Makeconfig (link-static-before-libc): Replace $(+prector)
1439 with $(+prectorT).
1440 (link-static-after-libc): Replace $(+postctor) with
1441 $(+postctorT).
1442 (link-bounded): Replace $(+prector)/$(+postctor) with
1443 $(+prectorT)/$(+postctorT).
1444 (+prectorT): New macro.
1445 (+postctorT): Likewise.
1446
ed8c2ecd
JM
14472012-09-06 Joseph Myers <joseph@codesourcery.com>
1448
1449 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1450 (round_str): Handle values above the maximum for IBM long double
1451 as inexact.
1452 * stdlib/tst-strtod-round.c (tests): Regenerated.
1453
14c996c8
AK
14542012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1455
1456 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1457 assembler flag.
1458 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1459 zarch_nohighgprs around the zarch optimized routines.
1460 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1461 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1462 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1463 for zarch.
1464
430d6ce6
DM
14652012-09-05 David S. Miller <davem@davemloft.net>
1466
1467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1468
ff04dda4
DM
1469 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1470 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1471 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1472 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1473 entries.
1474
24d4e01b
AO
14752012-09-05 Alexandre Oliva <aoliva@redhat.com>
1476
1477 * malloc/arena.c: Fold copyright years.
1478 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1479
61d58174
AO
14802012-09-05 Alexandre Oliva <aoliva@redhat.com>
1481
1482 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1483
20196a5e
AO
14842012-09-05 Alexandre Oliva <aoliva@redhat.com>
1485
1486 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1487
5c447383
AO
14882012-09-05 Alexandre Oliva <aoliva@redhat.com>
1489
1490 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1491 change internal state upon failure.
1492
fad64255
AO
14932012-09-05 Alexandre Oliva <aoliva@redhat.com>
1494
1495 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1496 * malloc/memusage.c (mmap): Likewise.
1497 (mmap64, mremap): Likewise. Adjust name in comment.
1498
1ffb8c90
SP
14992012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1500
1501 * libio/fileops.c: Fix typos in comments.
1502 * libio/oldfileops.c: Likewise.
1503 * libio/wfileops.c: Likewise.
1504
6ef9cc37
SP
15052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1506
1507 [BZ #1349]
1508 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1509 (tst-malloc-usable-ENV): Set environment for test case.
1510 * malloc/hooks.c (malloc_check_get_size): New function to get
1511 requested size.
1512 * malloc/malloc.c (musable): Use malloc_check_get_size.
1513 * malloc/tst-malloc-usable.c: New test case.
1514
4d038ae3
AS
15152012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1516
1517 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1518
c4e85184
AM
15192012-09-05 Allan McRae <allan@archlinux.org>
1520
b9dafc56 1521 [BZ #13966]
c4e85184
AM
1522 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1523 determine header location.
1524 * configure: Regenerated.
1525
e1343020
AS
15262012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1527
1528 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1529 float format.
1530 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1531 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1532 format.
e1343020
AS
1533 (test): Regenerate.
1534
0a9f1987
DM
15352012-09-04 David S. Miller <davem@davemloft.net>
1536
1537 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1538 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1539 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1540
29237804
FW
15412012-09-04 Florian Weimer <fweimer@redhat.com>
1542
1543 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1544 failures.
1545
edb3cb88
FW
1546 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1547
60160d83
JM
15482012-09-04 Joseph Myers <joseph@codesourcery.com>
1549
1550 [BZ #9914]
1551 * libio/iogetdelim.c: Include <limits.h>.
1552 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1553 + len + 1 would overflow.
1554
bcd6c8dc
AJ
15552012-09-03 Andreas Jaeger <aj@suse.de>
1556
1557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1558 * sysdeps/i386/fpu/libm-test-ulps: Update.
1559
4ffffbd2
LD
15602012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1561
1562 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1563 Add s_sinf-sse2, s_conf-sse2.
1564
1565 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1566 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1567 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1568 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1569
1570 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1571 for using routine as __sinf_ia32.
1572 Use macro for function declaration and weak_alias.
1573 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1574 for using routine as __cosf_ia32.
1575 Use macro for function declaration and weak_alias.
1576
1577 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1578 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1579
1580 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1581 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1583
1584 * math/libm-test.inc (cos_test): Add more test cases.
1585 (sin_test): Likewise.
1586 (sincos_test): Likewise.
1587
511fa286
AK
15882012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1589
1590 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1591 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1592 hidden.
1593 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1594
5f30cfec
L
15952012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1596
1597 [BZ #14538]
1598 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1599 first element of the GOT.
1600 (elf_machine_load_address): Return the difference between
1601 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1602
0786794f
AM
16032012-09-01 Allan McRae <allan@archlinux.org>
1604
5f30cfec
L
1605 [BZ #13412]
1606 * configure.in (AWK): Require gawk version 3.0 or later.
1607 * configure: Regenerated.
0786794f 1608
26889eac
JM
16092012-09-01 Joseph Myers <joseph@codesourcery.com>
1610
1611 * sysdeps/unix/sysv/linux/kernel-features.h
1612 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1613 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1614 [__NR_clock_getres]: Make code unconditional.
1615 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1616 (clock_getcpuclockid): Remove code left unreachable by removal of
1617 conditionals.
1618 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1619 code unconditional.
1620 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1621 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1622 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1623 Make code unconditional.
1624 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1625 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1626 * sysdeps/unix/sysv/linux/clock_settime.c
1627 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1628 conditional code.
1629 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1630 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1631
d22e28b0
L
16322012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1633
1634 [BZ #14476]
1635 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1636 scripts/test-installation.pl.
1637
1638 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1639 and $ld_so_version if it is set.
1640
050af9c4
SP
16412012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1642
1643 [BZ #14516]
1644 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1645 failure if reading from procfs failed.
1646 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1647
ad845c0b
JM
16482012-08-27 Joseph Myers <joseph@codesourcery.com>
1649
1650 * sysdeps/unix/sysv/linux/kernel-features.h
1651 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1652 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1653 Remove conditional code.
1654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1655 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1656 Remove conditional code.
1657 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1658 * sysdeps/unix/sysv/linux/i386/fxstat.c
1659 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1660 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1661 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1662 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1663 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1664 * sysdeps/unix/sysv/linux/i386/lxstat.c
1665 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1666 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1667 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1668 Remove conditional code.
1669 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1670 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1671 Remove conditional code.
1672 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1673 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1674 <kernel-features.h>.
1675 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1676 Remove.
1677 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1678 Remove conditional code.
1679 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1680 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1681 Remove conditional.
1682
5dbf56af
MF
16832012-08-27 Mike Frysinger <vapier@gentoo.org>
1684
1685 [BZ #5400]
1686 * NEWS: Add fixed bug number.
1687
d6e70f43
JM
16882012-08-27 Joseph Myers <joseph@codesourcery.com>
1689
7efb4737
JM
1690 [BZ #14519]
1691 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1692 underflowing exponent in case of negative sign.
1693 * stdlib/tst-strtod-round-data: Add more tests.
1694 * stdlib/tst-strtod-round.c (tests): Regenerated.
1695
af92131a
JM
1696 [BZ #3479]
1697 * stdlib/strtod_l.c (NDIG): Remove.
1698 (HEXNDIG): Likewise.
1699 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1700 smallest representable value.
1701 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1702 lie within an exact representation of 1/2 ulp of the result.
1703 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1704 unconditionally.
1705 (TENS_P9_IDX): Define unconditionally.
1706 (TENS_P9_SIZE): Likewise.
1707 (TENS_P10_IDX): Likewise.
1708 (TENS_P10_SIZE): Likewise.
1709 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1710 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1711 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1712 entries for 10^2^13 and 10^2^14.
1713 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1714 (TENS_P13_IDX): Define.
1715 (TENS_P13_SIZE): Likewise.
1716 (TENS_P14_IDX): Likewise.
1717 (TENS_P14_SIZE): Likewise.
1718 (_fpioconst_pow10): Change array size to
1719 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1720 unconditional.
1721 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1722 1024]: Add entries for 10^2^13 and 10^2^14.
1723 [LAST_POW10 > _LAST_POW10]: Remove #error.
1724 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1725 (_fpioconst_pow10): Change array size to
1726 FPIOCONST_POW10_ARRAY_SIZE.
1727 * stdlib/gen-fpioconst.c: New file.
1728 * stdlib/gen-tst-strtod-round.c: Likewise.
1729 * stdlib/tst-strtod-round-data: Likewise.
1730 * stdlib/tst-strtod-round.c: Likewise.
1731 * stdlib/Makefile (tests): Add tst-strtod-round.
1732
d6e70f43
JM
1733 [BZ #14459]
1734 * stdlib/strtod_l.c: Include <stdint.h>.
1735 (NDEBUG): Do not define.
1736 (round_and_return): Change EXPONENT parameter to type intmax_t.
1737 Rearrange calculations to avoid internal overflow possibilities.
1738 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1739 Rearrange calculations to avoid internal overflow possibilities.
1740 Assert that number fits inside MPNSIZE limbs.
1741 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1742 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1743 calculations and add assertions to avoid internal overflow
1744 possibilities. Add casts to avoid signed/unsigned operations.
1745 * stdlib/tst-strtod-overflow.c: New file.
1746 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1747
1f529f7d
MP
17482012-08-25 Marek Polacek <polacek@redhat.com>
1749
1750 * time/time.h: Fix some typos in comments.
1751
59a629f1
RM
17522012-08-23 Roland McGrath <roland@hack.frob.com>
1753
1754 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1755 * posix/tst-rfc3484-2.c: Likewise.
1756 * posix/tst-rfc3484-3.c: Likewise.
1757
d3bafbc9
SM
17582012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1759
1760 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1761 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1762
4efcc022
JM
17632012-08-23 Joseph Myers <joseph@codesourcery.com>
1764
1765 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1766 #include of fxstatat64.c.
1767
3cc3ef96
RM
17682012-08-22 Roland McGrath <roland@hack.frob.com>
1769
f04e2132
RM
1770 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1771 * shadow/getspent_r.c: Likewise.
1772 * shadow/getspnam.c: Likewise.
1773 * shadow/getspnam_r.c: Likewise.
1774 * gshadow/getsgent.c: Likewise.
1775 * gshadow/getsgent_r.c: Likewise.
1776 * gshadow/getsgnam.c: Likewise.
1777 * gshadow/getsgnam_r.c: Likewise.
1778 * inet/getnetbyad.c: Likewise.
1779 * inet/getnetbyad_r.c: Likewise.
1780 * inet/getnetbynm.c: Likewise.
1781 * inet/getnetbynm_r.c: Likewise.
1782 * inet/getnetent.c: Likewise.
1783 * inet/getnetent_r.c: Likewise.
1784 * inet/getproto.c: Likewise.
1785 * inet/getproto_r.c: Likewise.
1786 * inet/getprtent.c: Likewise.
1787 * inet/getprtent_r.c: Likewise.
1788 * inet/getprtname.c: Likewise.
1789 * inet/getprtname_r.c: Likewise.
1790 * inet/getrpcbyname.c: Likewise.
1791 * inet/getrpcbyname_r.c: Likewise.
1792 * inet/getrpcbynumber.c: Likewise.
1793 * inet/getrpcbynumber_r.c: Likewise.
1794 * inet/getrpcent.c: Likewise.
1795 * inet/getrpcent_r.c: Likewise.
1796 * inet/getaliasent.c: Likewise.
1797 * inet/getaliasent_r.c: Likewise.
1798 * inet/getaliasname.c: Likewise.
1799 * inet/getaliasname_r.c: Likewise.
1800 * nscd/getgrgid_r.c: Likewise.
1801 * nscd/getgrnam_r.c: Likewise.
1802 * nscd/gethstbyad_r.c: Likewise.
1803 * nscd/gethstbynm3_r.c: Likewise.
1804 * nscd/getpwnam_r.c: Likewise.
1805 * nscd/getpwuid_r.c: Likewise.
1806 * nscd/getsrvbynm_r.c: Likewise.
1807 * nscd/getsrvbypt_r.c: Likewise.
1808 * nscd/gai.c: Likewise.
1809
c53d909c
RM
1810 * configure.in (build_nscd): New substituted variable, set
1811 by --disable-build-nscd and defaults to $use_nscd.
1812 * configure: Regenerated.
1813 * config.make.in (build-nscd): New substituted variable.
1814 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1815 Change conditional to require [$(build-nscd) = yes] as well.
1816 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1817
3cc3ef96
RM
1818 [BZ# 13696]
1819 * configure.in (use_nscd): New substituted variable, set by
1820 --disable-nscd. If enabled, define USE_NSCD.
1821 * configure: Regenerated.
1822 * config.h.in: Add USE_NSCD.
1823 * config.make.in (use-nscd): New substituted variable.
1824 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1825 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1826 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1827 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1828 (CFLAGS-getgrnam_r.c): Likewise.
1829 (CFLAGS-initgroups.c): Likewise.
1830 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1831 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1832 Variables removed.
1833 * inet/getnetgrent_r.c
1834 (nscd_setnetgrent): New function, broken out of ...
1835 (setnetgrent): ... here. Call it.
1836 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1837 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1838 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1839 * nscd/Makefile (routines, aux): Move definitions after include of
1840 Makeconfig. Conditionalize on [$(use-nscd) != no].
1841 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1842 Conditionalize on [USE_NSCD].
1843 (is_nscd, nscd_init_cb): Likewise.
1844 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1845 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1846 * nss/nss_db/db-init.c: Likewise.
1847 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1848 [USE_NSCD].
1849 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1850 (make_request): Use it.
1851 (cache_valid_p): New function.
1852 (__check_pf): Use it.
1853 * NEWS: Add item for --disable-nscd.
1854
07e51550
DL
18552012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1856
1857 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1858 to support sed >= 4.2.1-20-ga9bf076.
1859 * configure: Regenerated.
1860
35a5b08b
RM
18612012-08-22 Roland McGrath <roland@hack.frob.com>
1862
1863 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1864 Conditionalize whole body on [IREL].
1865
8479f23a
JL
18662012-08-22 Jeff Law <law@redhat.com>
1867
1868 [BZ #14505]
1869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1870 if the family is PF_UNSPEC.
1871
48da0b21
MF
18722012-08-22 Mike Frysinger <vapier@gentoo.org>
1873
1874 * Makerules (lib-version): Rename from V.
1875 (install-lib-nosubdir): Change V to lib-version.
1876
15d0da8c
WS
18772012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1878
1879 [BZ #14252]
1880 * powerpc32/power6/wcschr.c: New file.
1881 * powerpc32/power6/wcscpy.c: New file.
1882 * powerpc32/power6/wcsrchr.c: New file.
1883 * powerpc64/power6/wcschr.c: New file.
1884 * powerpc64/power6/wcscpy.c: New file.
1885 * powerpc64/power6/wcsrchr.c: New file.
1886
bcca0895
MK
18872012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1888
1889 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1890 (two_way_short_needle): Use it.
5a4aaa33
RM
1891 * string/strstr.c (AVAILABLE1_USES_J): Define.
1892 * string/strcasestr.c: Likewise.
99677e57
MK
1893
1894 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1895 array references.
1896 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1897
400726de
MK
1898 [BZ #11607]
1899 * NEWS: Add an entry.
1900 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1901 define their defaults.
1902 (two_way_short_needle): Detect end-of-string on-the-fly.
1903 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1904 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1905 * string/bug-strcasestr1.c: New test.
1906 * string/Makefile: Run it.
1907
20a71f2c
MK
19082012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1909
1910 [BZ #11607]
1911 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1912 the first character.
1913
21ad0558
RM
19142012-08-21 Roland McGrath <roland@hack.frob.com>
1915
1916 * csu/elf-init.c (__libc_csu_irel): Function removed.
1917 * csu/libc-start.c (apply_irel): New function.
1918 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1919
0e1d9911
JM
19202012-08-21 Joseph Myers <joseph@codesourcery.com>
1921
1922 * sysdeps/unix/sysv/linux/kernel-features.h
1923 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1924 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1925 <kernel-features.h>.
1926 [__NR_fadvise64_64]: Make code unconditional.
1927 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1928 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1929 !__NR_fadvise64_64)]: Likewise.
1930 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1931 !__NR_fadvise64_64))]: Likewise.
1932 [__NR_fadvise64]: Make code unconditional.
1933 [!__NR_fadvise64]: Remove conditional code.
1934 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1935 <kernel-features.h>.
1936 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1937 unconditional.
1938 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1939 conditional code.
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1941 not include <kernel-features.h>.
1942 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1943 unconditional.
1944 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1945 conditional code.
1946 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1947 include <kernel-features.h>.
1948 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1949 unconditional.
1950 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1951 conditional code.
1952
14a50c9d
WS
19532012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1954
1955 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1956 slight instruction rearrangements per scrollpipe analysis.
1957 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1958
c0f4faf0
RM
19592012-08-20 Roland McGrath <roland@hack.frob.com>
1960
696da859
RM
1961 * manual/syslog.texi (syslog; vsyslog, closelog):
1962 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1963 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1964
c0f4faf0
RM
1965 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1966 DSOCAPS to match condition on defining it.
1967
348363b2
JM
19682012-08-20 Joseph Myers <joseph@codesourcery.com>
1969
a35cbf28
JM
1970 * sysdeps/unix/sysv/linux/kernel-features.h
1971 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1973 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1974 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1976 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1977 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1979 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1980 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1981
445f7ecd
JM
1982 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1983 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1984
348363b2
JM
1985 * sysdeps/unix/sysv/linux/kernel-features.h
1986 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1987 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1988 unconditional.
1989 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1990 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1991 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1992 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1993 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1994 Make code unconditional.
1995 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1996 (__mmap64) [!__NR_mmap2]: Likewise.
1997 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1998 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1999 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2000 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2001 [__NR_mmap2]: Make code unconditional.
2002 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2003 (__mmap64) [!__NR_mmap2]: Likewise.
2004
bc5bc0e5
AK
20052012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2006
2007 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2008
88d506de
AJ
20092012-08-18 Andreas Jaeger <aj@suse.de>
2010
2011 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2012
493387d2
MF
20132012-08-18 Mike Frysinger <vapier@gentoo.org>
2014
2015 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2016 * include/unistd.h (__have_sock_cloexec): Likewise.
2017 (__have_pipe2): Likewise.
2018 (__have_dup3): Likewise.
2019
a277af22
MF
20202012-08-18 Mike Frysinger <vapier@gentoo.org>
2021
2022 [BZ #9685]
2023 * include/unistd.h (__have_pipe2): Change define into an extern int.
2024 (__have_dup3): Likewise.
2025 * socket/have_sock_cloexec.c: Include fcntl.h.
2026 (__have_pipe2): New variable.
2027 (__have_dup3): Likewise.
2028
fdab8fd3
MF
20292012-08-17 Mike Frysinger <vapier@gentoo.org>
2030
2031 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2032
31035e80
MP
20332012-08-17 Marek Polacek <polacek@redhat.com>
2034
2035 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2036 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2037
3bd9e993
RM
20382012-08-17 Roland McGrath <roland@hack.frob.com>
2039
c91c505f
RM
2040 * configure.in: Add AC_SUBST for sysheaders.
2041 * configure: Regenerated.
2042 * config.make.in (sysheaders): New substituted variable.
2043
7c6f9d53
RM
2044 * sysdeps/unix/mkfifo.c: Moved ...
2045 * sysdeps/posix/mkfifo.c: ... here.
2046 * sysdeps/unix/mkfifoat.c: Moved ...
2047 * sysdeps/posix/mkfifoat.c: ... here.
2048
2049 * sysdeps/unix/utime.c: Moved ...
2050 * sysdeps/posix/utime.c: ... here.
2051
2052 * sysdeps/unix/time.c: Moved ...
2053 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2054 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2055 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2056
2057 * sysdeps/unix/nice.c: Moved ...
2058 * sysdeps/posix/nice.c: ... here.
2059
2060 * sysdeps/unix/alarm.c: Moved ...
2061 * sysdeps/posix/alarm.c: ... here.
2062
3bd9e993
RM
2063 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2064
d1f09384
JL
20652012-08-17 Jeff Law <law@redhat.com>
2066
2067 * intl/Makefile (codeset_mo): New variable.
2068 ($(codeset_mo)): New target.
2069 (tst-codeset.out): Depend on that. Remove explicit rule.
2070 (tst-gettext3.out, tst-gettext5.out): Likewise.
2071 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2072 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2073 * intl/tst-codeset.sh: Remove.
2074 * intl/tst-gettext3.sh: Likewise.
2075 * intl/tst-gettext5.sh: Likewise.
2076
2ae1ae5c
RM
20772012-08-17 Roland McGrath <roland@hack.frob.com>
2078
c31fdb83
RM
2079 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2080 * sysdeps/unix/syscalls.list: ... here.
2081
a0844057
RM
2082 * sysdeps/posix/getaddrinfo.c
2083 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2084 (gaiconf_init, gaiconf_reload): Use them.
2085 [!_STATBUF_ST_NSEC]
2086 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2087 Define using time_t rather than struct timespec.
2088
750c1f2a
RM
2089 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2090 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2091 Macros removed.
2092 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2093 [!NO_THREADS].
2094 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2095 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2096 Likewise.
2097
2ae1ae5c
RM
2098 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2099 __libc_cleanup_push argument.
2100
e66a42f5
RM
2101 * bits/param.h: New file.
2102 * misc/sys/param.h: New file.
2103 * include/sys/param.h: New file.
2104 * misc/Makefile (headers): Add bits/param.h.
2105 * sysdeps/generic/sys/param.h: File removed.
2106 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2107 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2108 * sysdeps/mach/hurd/bits/param.h: New file.
2109 * sysdeps/mach/hurd/sys/param.h: New file.
2110
b7c08a66
RM
2111 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2112 last change.
2113
b2e1c562
RM
2114 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2115 [_IO_MTSAFE_IO].
2116 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2117 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2118 New macros.
2119
c75ccd4c
RM
2120 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2121 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2122 rather than -D_IO_MTSAFE_IO conditionally.
2123 * stdio-common/Makefile (CPPFLAGS): Likewise.
2124 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2125 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2126 Use $(libio-mtsafe).
2127 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2128 of -D_IO_MTSAFE_IO.
2129 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2130 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2131 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2132 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2133 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2134 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2135 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2136 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2137 (CFLAGS-fread_u_chk.c): Likewise.
2138 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2139 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2140 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2141 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2142 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2143 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2144 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2145 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2146 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2147
2148 * libio/Makefile: Test [$(libc-reentrant) = yes]
2149 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2150
2151 * Makeconfig
2152 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2153 * sysdeps/pthread/configure: File removed.
2154 * sysdeps/pthread/Makeconfig: New file.
2155 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2156 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2157
d9195db8
GB
21582012-08-16 Gary Benson <gbenson@redhat.com>
2159
2160 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2161 unmapping the first object in a namespace.
2162
86466cd9
RM
21632012-08-16 Roland McGrath <roland@hack.frob.com>
2164
2165 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2166 (__internal_setnetgrent): ... this. Add internal_function to
2167 definition. Add libc_hidden_def.
2168 (setnetgrent): Update caller.
2169 (internal_endnetgrent): Renamed to ...
2170 (__internal_endnetgrent): ... this. Add internal_function to
2171 definition. Add libc_hidden_def.
2172 (endnetgrent): Update caller.
2173 (internal_getnetgrent_r): Renamed to ...
2174 (__internal_getnetgrent_r): ... this. Add internal_function to
2175 definition. Add libc_hidden_def.
2176 (__getnetgrent_r): Update caller.
2177 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2178
c3c8283c
JM
21792012-08-16 Joseph Myers <joseph@codesourcery.com>
2180
2181 * stdlib/longlong.h: Update from GCC.
2182
db1ee0a8
RM
21832012-08-16 Roland McGrath <roland@hack.frob.com>
2184
2185 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2186 on _QL, which is set by umul_ppmm but never used.
2187 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2188 variables, which are set by GMP macros but never used.
2189 * stdio-common/_itowa.c (_itowa): Likewise.
2190 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2191 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2192
30f69637
CD
21932012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2194
2195 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2196 struct La_sh_regs is not constant.
2197 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2198 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2199 and struct La_sparc64_regs are not constant.
2200
93a78ac4
JM
22012012-08-16 Joseph Myers <joseph@codesourcery.com>
2202
2203 * sysdeps/unix/sysv/linux/kernel-features.h
2204 (__ASSUME_POSIX_TIMERS): Remove.
2205 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2206 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2207 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2208 Make code unconditional.
2209 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2210 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2211 Make code unconditional.
2212 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2213 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2214 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2215 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2216 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2217 Make code unconditional.
2218 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2219 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2220 (__libc_missing_posix_timers): Remove.
2221
dd924cd7
RM
22222012-08-15 Roland McGrath <roland@hack.frob.com>
2223
4b4f2771
RM
2224 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2225 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2226
601c888b
RM
2227 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2228
176790a7
RM
2229 * elf/dl-sym.c: Include <stdlib.h>.
2230
329bc018
RM
2231 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2232 constants, which avoids warnings in 32-bit builds.
2233
e04e272d
RM
2234 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2235 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2236
952bf94a
RM
2237 * misc/lseek.c: File moved to ...
2238 * io/lseek.c: ... here.
2239
7c99b50a
RM
2240 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2241
dd924cd7
RM
2242 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2243 shifting LEN more than 31 bits at once.
2244
b3f479a8
LD
22452012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2246
2247 [BZ #14195]
8c4ae0d4
RM
2248 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2249 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2250 * string/test-strncasecmp.c (check1): Renamed to...
2251 (bz12205): ...this.
2252 (bz14195): Add new testcase for two empty input strings and N > 0.
2253 (test_main): Call new testcase, adapt for renamed function.
2254
9c55864e
AJ
22552012-08-15 Andreas Jaeger <aj@suse.de>
2256
2257 [BZ #14090]
2258 * crypt/md5test2.c: New test, based on test supplied by Serge
2259 Belyshev <belyshev@depni.sinp.msu.ru>.
2260 * crypt/Makefile (xtests): Add md5test-giant..
2261 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2262
02dcb6c5
PE
22632012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2264
2265 [BZ #14090]
2266 * crypt/md5.c (md5_process_block): Don't assume the buffer
2267 length is less than 2**32.
2268 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2269 length is less than 2**64.
2270
a3f95dcc
RM
22712012-08-15 Roland McGrath <roland@hack.frob.com>
2272
be75d758
RM
2273 * string/str-two-way.h: Include <sys/param.h>.
2274 (MAX): Macro removed.
2275
7312ca90
RM
2276 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2277 Move #define and #undef of memmove to just before and after
2278 including <string.h>.
2279
9a0a5486
RM
2280 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2281 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2282 and after including <string.h>. Move declarations of
2283 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2284 to before #include "string/memmove.c".
2285
67cc348d
RM
2286 * include/dirent.h: Declare __getdirentries.
2287
a3f95dcc
RM
2288 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2289 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2290
ca98e171
MF
22912012-08-14 Mike Frysinger <vapier@gentoo.org>
2292
2293 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2294 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2295 * sysdeps/i386/configure: Regenerated.
2296 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2297 STABS_CURRENT_FILE, and STABS_FUN.
2298 (END): Remove call to STABS_FUN_END.
2299 (STABS_CURRENT_FILE1): Delete.
2300 (STABS_CURRENT_FILE): Likewise.
2301 (STABS_FUN): Likewise.
2302 (STABS_FUN_END): Likewise.
2303 (STABS_FUN2): Likewise.
2304 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2305 * sysdeps/x86_64/configure: Regenerated.
2306
5908bf46
RM
23072012-08-14 Roland McGrath <roland@hack.frob.com>
2308
2309 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2310 * elf/dl-lookup.c: Likewise.
5908bf46 2311
f2c05b9e
JM
23122012-08-14 Joseph Myers <joseph@codesourcery.com>
2313
2314 * sysdeps/unix/sysv/linux/kernel-features.h
2315 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2316 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2317 unconditionally.
2318 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2319 unconditionally.
2320 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2321 condition on __ASSUME_CLONE_THREAD_FLAGS.
2322
e11f5155
AJ
23232012-08-14 Andreas Jaeger <aj@suse.de>
2324
2325 * sysdeps/i386/fpu/libm-test-ulps: Update.
2326
51a9ba86
MK
23272012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2328
2fdd4f78
AJ
2329 * include/atomic.h (atomic_exchange_and_add): Split into ...
2330 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2331 New atomic macros.
51a9ba86 2332
ba6cba9e
MT
23332012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2334
2335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2336
42443a47
JL
23372012-08-13 Jeff Law <law@redhat.com>
2338
2339 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2340 null byte in the output string.
2341
121dce05
JM
23422012-08-10 Joseph Myers <joseph@codesourcery.com>
2343
2344 * sysdeps/unix/sysv/linux/kernel-features.h
2345 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2346 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2347 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2348 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2349 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2350 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2351 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2352
bf51f568
JL
23532012-08-09 Jeff Law <law@redhat.com>
2354
2355 [BZ #13939]
2356 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2357 When avoid_arena is set, don't retry in the that arena. Pick the
2358 next one, whatever it might be.
2359 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2360 (arena_lock): Pass in new parameter to arena_get2.
2361 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2362 arena_get2.
2363 (__libc_malloc): Unify retrying after main arena failure with
2364 __libc_memalign version.
2365 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2366
f85fa270
L
23672012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2368
2369 [BZ #14166]
2370 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2371 to __redirect_strstr.
2372 (__strstr_sse42): Use typeof __redirect_strstr.
2373 (__strstr_ia32): Likewise.
2374 (__libc_strstr): New prototype.
2375 (strstr): Renamed to ...
2376 (__libc_strstr): This.
2377 (strstr): New strong alias of __libc_strstr.
2378 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2379 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2380 __redirect_time.
2381 Include <time.h>.
2382 (__libc_time): New prototype.
2383 (time_ifunc): Replace time with __libc_time.
2384 (time): New strong alias and hidden definition of __libc_time.
2385 (__GI_time): Remove strong alias.
2386 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2387 Include <stddef.h>.
2388 (memmove): Redefined to __redirect_memmove.
2389 (__memmove_sse2): Use typeof __redirect_memmove.
2390 (__memmove_ssse3): Likewise.
2391 (__memmove_ssse3_back): Likewise.
2392 (__libc_memmove): New prototype.
2393 (memmove): Renamed to ...
2394 (__libc_memmove): This.
2395 (memmove): New strong alias of __libc_memmove.
2396
33b4a91e
MS
23972012-08-08 Mark Salter <msalter@redhat.com>
2398
2399 * elf/elf.h
2400 (R_MN10300_TLS_GD): Define.
2401 (R_MN10300_TLS_LD): Likewise.
2402 (R_MN10300_TLS_LDO): Likewise.
2403 (R_MN10300_TLS_GOTIE): Likewise.
2404 (R_MN10300_TLS_IE): Likewise.
2405 (R_MN10300_TLS_LE): Likewise.
2406 (R_MN10300_TLS_DTPMOD): Likewise.
2407 (R_MN10300_TLS_DTPOFF): Likewise.
2408 (R_MN10300_TLS_TPOFF): Likewise.
2409 (R_MN10300_SYM_DIFF): Likewise.
2410 (R_MN10300_ALIGN): Likewise.
2411 (R_MN10300_NUM): Update.
2412
b36137f1
JM
24132012-08-08 Joseph Myers <joseph@codesourcery.com>
2414
2415 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2416 Remove.
2417
cdd915fd
RM
24182012-08-08 Roland McGrath <roland@hack.frob.com>
2419
a2433aac
RM
2420 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2421
cdd915fd
RM
2422 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2423 sysdeps/unix -> sysdeps/posix move.
2424 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2425
bf9b740a
AM
24262012-08-07 Allan McRae <allan@archlinux.org>
2427
2428 [BZ #14303]
2429 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2430 (SUNOS_CPP): Likewise.
2431 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2432 not found.
2433 (open_input): Call CPP using execvp.
2434
93df14ee
JM
24352012-08-07 Joseph Myers <joseph@codesourcery.com>
2436
2437 * sysdeps/unix/sysv/linux/kernel-features.h
2438 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2439 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2440 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2441 (__ASSUME_WAITID_SYSCALL): Likewise.
2442 * sysdeps/unix/sysv/linux/dl-execstack.c
2443 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2444 code unconditional.
2445 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2446 conditional code.
2447 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2448 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2449 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2450 code.
2451 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2452 unconditional.
2453 [__ASSUME_WAITID_SYSCALL]: Likewise.
2454 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2455
d34689de
RM
24562012-08-07 Roland McGrath <roland@hack.frob.com>
2457
a281decc
RM
2458 * sysdeps/unix/closedir.c: Renamed to ...
2459 * sysdeps/posix/closedir.c: ... here.
2460 * sysdeps/unix/dirfd.c: Renamed to ...
2461 * sysdeps/posix/dirfd.c: ... here.
2462 * sysdeps/unix/dirstream.h: Renamed to ...
2463 * sysdeps/posix/dirstream.h: ... here.
2464 * sysdeps/unix/fdopendir.c: Renamed to ...
2465 * sysdeps/posix/fdopendir.c: ... here.
2466 * sysdeps/unix/opendir.c: Renamed to ...
2467 * sysdeps/posix/opendir.c: ... here.
2468 * sysdeps/unix/readdir.c: Renamed to ...
2469 * sysdeps/posix/readdir.c: ... here.
2470 * sysdeps/unix/readdir_r.c: Renamed to ...
2471 * sysdeps/posix/readdir_r.c: ... here.
2472 * sysdeps/unix/rewinddir.c: Renamed to ...
2473 * sysdeps/posix/rewinddir.c: ... here.
2474 * sysdeps/unix/seekdir.c: Renamed to ...
2475 * sysdeps/posix/seekdir.c: ... here.
2476 * sysdeps/unix/telldir.c: Renamed to ...
2477 * sysdeps/posix/telldir.c: ... here.
2478 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2479 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2480 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2481 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2482
22895b47
RM
2483 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2484 * bits/fcntl.h: ... here.
2485
707a53b6
RM
2486 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2487 not 0.
2488 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2489 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2490 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2491 (struct flock): Move l_start, l_len to the beginning.
2492 Use __pid_t for l_pid.
2493 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2494 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2495 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2496 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2497 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2498 [__USE_LARGEFILE64] (struct flock64): New type.
2499 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2500
f0bd3e25
RM
2501 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2502 * bits/dirent.h: ... here.
2503
d34689de
RM
2504 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2505 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2506
6dad2c06
JM
25072012-08-07 Joseph Myers <joseph@codesourcery.com>
2508
2509 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2510 Change from 2.6.0 to 2.6.16.
2511 * sysdeps/unix/sysv/linux/configure: Regenerated.
2512 * sysdeps/unix/sysv/linux/kernel-features.h
2513 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2514 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2515 version.
2516 (__ASSUME_UTIMES): Likewise.
2517 (__ASSUME_CLONE_STOPPED): Remove.
2518 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2519 architectures, not kernel version.
2520 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2521 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2522 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2523 (__ASSUME_WAITID_SYSCALL): Likewise.
2524 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2525 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2526 * README: State 2.6.16 as minimum Linux kernel version. Do not
2527 refer to older versions.
2528
03af9520
RM
25292012-08-06 Roland McGrath <roland@hack.frob.com>
2530
8e49df1d
RM
2531 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2532 Define alphasort64 as an alias.
2533 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2534 Define versionsort64 as an alias.
2535 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2536 Define scandir64 as an alias.
2537 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2538 Define scandirat64 as an alias.
2539 * dirent/alphasort64.c (alphasort64):
2540 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2541 * dirent/versionsort64.c: Likewise.
2542 * dirent/scandir64.c: Likewise.
2543 * dirent/scandirat64.c: Likewise.
2544 * sysdeps/wordsize-64/alphasort.c: File removed.
2545 * sysdeps/wordsize-64/alphasort64.c: File removed.
2546 * sysdeps/wordsize-64/scandir.c: File removed.
2547 * sysdeps/wordsize-64/scandir64.c: File removed.
2548 * sysdeps/wordsize-64/scandirat.c: File removed.
2549 * sysdeps/wordsize-64/scandirat64.c: File removed.
2550 * sysdeps/wordsize-64/versionsort.c: File removed.
2551 * sysdeps/wordsize-64/versionsort64.c: File removed.
2552 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2553 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2554 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2555 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2556 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2557 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2558 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2559 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2560
2561 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2562 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2563 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2564 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2565 [defined __arch64__ || defined __sparcv9]
2566 (__INO_T_MATCHES_INO64_T): New macro.
2567 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2568 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2569 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2570 * sysdeps/unix/sysv/linux/bits/dirent.h
2571 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2572 (_DIRENT_MATCHES_DIRENT64): New macro.
2573
03af9520
RM
2574 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2575 Define lockf64 as an alias.
2576 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2577 Define fseeko64 as an alias.
2578 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2579 Define ftello64 as an alias.
2580 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2581 Define _IO_fgetpos64 and fgetpos64 as aliases.
2582 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2583 Define _IO_fsetpos64 and fsetpos64 as aliases.
2584 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2585 Conditionalize body on this.
2586 * libio/fseeko64.c: Likewise.
2587 * libio/ftello64.c: Likewise.
2588 * libio/iofgetpos64.c: Likewise.
2589 * libio/iofsetpos64.c: Likewise.
2590 * sysdeps/wordsize-64/lockf.c: File removed.
2591 * sysdeps/wordsize-64/lockf64.c: File removed.
2592 * sysdeps/wordsize-64/fseeko.c: File removed.
2593 * sysdeps/wordsize-64/fseeko64.c: File removed.
2594 * sysdeps/wordsize-64/ftello.c: File removed.
2595 * sysdeps/wordsize-64/ftello64.c: File removed.
2596 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2597 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2598 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2599 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2600 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2601 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2602 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2603 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2604 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2605 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2606 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2607 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2608 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2609 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2610
2611 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2612 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2613 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2615 [defined __arch64__ || defined __sparcv9]
2616 (__OFF_T_MATCHES_OFF64_T): New macro.
2617 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2618 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2619 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2620 (__OFF_T_MATCHES_OFF64_T): New macro.
2621
c5757acd
L
26222012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2623
2624 * stdlib/secure-getenv.c (__secure_getenv): Replace
2625 GLIBC_2_16 with GLIBC_2_17.
2626
3a31811e
L
26272012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2628
2629 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2630 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2631
faa2bccb
DM
26322012-08-03 David S. Miller <davem@davemloft.net>
2633
2634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2635
85fe1997
JM
26362012-08-03 Joseph Myers <joseph@codesourcery.com>
2637
2638 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2639 Remove.
2640 (__ASSUME_CORRECT_SI_PID): Likewise.
2641 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2642 (__ASSUME_TMPFS_NAME): Likewise.
2643 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2644 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2645 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2646 (HAVE_AUX_SECURE): Make definition unconditional.
2647 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2648 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2649
4f75b7a0
RM
26502012-08-03 Roland McGrath <roland@hack.frob.com>
2651
2652 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2653 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2654 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2655 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2656 __eloop_threshold instead of SYMLOOP_MAX.
2657
2658 * sysdeps/generic/eloop-threshold.h: New file.
2659 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2660 of MAXSYMLINKS.
2661 * elf/chroot_canon.c (chroot_canon): Likewise.
2662
7aab07e4
JM
26632012-08-03 Joseph Myers <joseph@codesourcery.com>
2664
2665 [BZ #13717]
2666 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2667 Change to 2.6.0 everywhere.
2668 * sysdeps/unix/sysv/linux/configure: Regenerated.
2669 * sysdeps/unix/sysv/linux/kernel-features.h
2670 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2671 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2672 kernel versions.
2673 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2674 (__ASSUME_FUTEX_REQUEUE): Remove.
2675 (__ASSUME_STATFS64): Define unconditionally.
2676 (__ASSUME_AT_SECURE): Likewise.
2677 (__ASSUME_CORRECT_SI_PID): Likewise.
2678 (__ASSUME_TGKILL): Define without depending on kernel version for
2679 i386.
2680 (__ASSUME_UTIMES): Likewise.
2681 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2682 kernel version.
2683 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2684 (__ASSUME_TMPFS_NAME): Likewise.
2685 * README: Update reference to Linux kernel versions.
2686
b67e9372
MP
26872012-08-02 Marek Polacek <polacek@redhat.com>
2688
1f529f7d 2689 [BZ# 14150]
b67e9372
MP
2690 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2691 libc_cv_asm_type_prefix with %.
2692 * configure: Regenerated.
d2441631
RM
2693 * include/libc-symbols.h: Remove comment about
2694 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2695 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2696 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2697 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2698 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2699 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2700 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2701 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2702 * elf/tst-unique2mod1.c: Likewise.
2703 * elf/tst-unique1mod2.c: Likewise.
2704 * elf/tst-unique1mod1.c: Likewise.
2705 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2706 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2707 Replace ASM_TYPE_DIRECTIVE with .type.
2708 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2709 * sysdeps/i386/sysdep.h: Likewise.
2710 * sysdeps/x86_64/sysdep.h: Likewise.
2711 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2713 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2714 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2715 * sysdeps/powerpc/powerpc32/sysdep.h:
2716 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2717 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2718 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2719 * sysdeps/i386/fpu/e_powf.S: Likewise.
2720 * sysdeps/i386/fpu/e_expl.S: Likewise.
2721 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2722 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2723 * sysdeps/i386/fpu/e_pow.S: Likewise.
2724 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2725 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2726 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2727 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2728 * sysdeps/i386/fpu/e_log2.S: Likewise.
2729 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2730 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2731 * sysdeps/i386/fpu/e_powl.S: Likewise.
2732 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2733 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2734 * sysdeps/i386/fpu/e_logl.S: Likewise.
2735 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2736 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2737 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2738 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2739 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2740 * sysdeps/i386/fpu/e_log.S: Likewise.
2741 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2742 * sysdeps/i386/fpu/e_logf.S: Likewise.
2743 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2744 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2745 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2746 * sysdeps/i386/fpu/e_log10.S: Likewise.
2747 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2748 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2749 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2750 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2751 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2752 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2753 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2754 * sysdeps/i386/i686/strtok.S: Likewise.
2755 * sysdeps/i386/i386-mcount.S: Likewise.
2756 * sysdeps/i386/strtok.S: Likewise.
2757 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2758 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2759 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2760 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2761 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2762 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2763 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2764 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2765 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2766 * sysdeps/x86_64/_mcount.S: Likewise.
2767 * sysdeps/x86_64/strtok.S: Likewise.
2768 * sysdeps/sh/_mcount.S: Likewise.
2769
2747bf9a
RM
27702012-08-01 Roland McGrath <roland@hack.frob.com>
2771
2772 * libio/iofopen.c: Include <fcntl.h>.
2773 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2774 (_IO_fopen64, fopen64): Define as aliases.
2775 * libio/iofopen64.c: Include <fcntl.h>.
2776 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2777 Conditionalize body on this.
2778 * sysdeps/wordsize-64/iofopen.c: File removed.
2779 * sysdeps/wordsize-64/iofopen64.c: File removed.
2780
3fb791b8
MP
27812012-08-01 Marek Polacek <polacek@redhat.com>
2782
2783 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2784 Use dlfcn directly instead of a variable.
2785 (binfmt-subdir): Do not define.
2786 (dlfcn): Likewise.
2787
a9f1039f
JM
27882012-08-01 Joseph Myers <joseph@codesourcery.com>
2789
23bddc06
JM
2790 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2791 Remove all definitions.
2792 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2793 <kernel-features.h>.
2794 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2795 (miss_F_GETOWN_EX): Remove all definitions.
2796 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2797 macro definition.
2798 [!__ASSUME_FCNTL64]: Remove conditional code.
2799 [__ASSUME_FCNTL64]: Make code unconditional.
2800 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2801 <kernel-features.h>.
2802 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2803 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2804 (lockf64) [__NR_fcntl64]: Make code unconditional.
2805 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2806
a9f1039f
JM
2807 * sysdeps/unix/sysv/linux/kernel-features.h
2808 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2809 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2810 Make code unconditional.
2811 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2812 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2814 [__NR_vfork]: Make code unconditional.
2815 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2816 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2818 [__NR_vfork]: Make code unconditional.
2819 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2820 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2821
09c0ee5f
RM
28222012-08-01 Roland McGrath <roland@hack.frob.com>
2823
48aec5b9
RM
2824 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2825 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2826
cd97c966
RM
2827 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2828 Define mkstemp64 as an alias.
3f55550c
RM
2829 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2830 Define mkstemps64 as an alias.
cd97c966
RM
2831 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2832 Define mkostemp64 as an alias.
b8625cfc
RM
2833 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2834 Define mkostemps64 as an alias.
cd97c966
RM
2835 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2836 Conditionalize body on this.
2837 * misc/mkostemp64.c: Likewise.
b8625cfc 2838 * misc/mkostemps64.c: Likewise.
3f55550c 2839 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2840 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2841 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2842 * sysdeps/wordsize-64/mkostemp.c: File removed.
2843 * sysdeps/wordsize-64/mkstemp.c: File removed.
2844 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2845 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2846 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2847 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2848
09c0ee5f
RM
2849 [BZ #14138]
2850 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2851 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2852 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2853 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2854
2855 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2856 compat_symbol macros from <shlib-compat.h> rather than the underlying
2857 default_symbol_version and symbol_version macros, so that DEFAULT
2858 lines in shlib-versions are respected.
2859 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2860
7e66ee51
FW
28612012-08-01 Florian Weimer <fweimer@redhat.com>
2862
2863 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2864 Declare with warn_unused_result.
2865 (setgid, setregid, setegid, setresgid): Likewise.
2866 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2867 Likewise.
2868 * WUR-REPORT: Remove set*id functions.
2869
d2a54255
PT
28702012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2871
2872 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2873
7ecdb005
RM
28742012-07-31 Roland McGrath <roland@hack.frob.com>
2875
789bd351
RM
2876 * include/sys/socket.h (__libc_accept, __libc_accept4):
2877 Add attribute_hidden.
2878 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2879
40ce302d
RM
2880 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2881 use of PTR_MANGLE.
2882 * inet/getnetgrent_r.c (setup): Likewise.
2883
7ecdb005
RM
2884 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2885
e2eabb2c
DM
28862012-07-31 David S. Miller <davem@davemloft.net>
2887
2888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2889
d0419dbf
JM
28902012-07-31 Joseph Myers <joseph@codesourcery.com>
2891
2892 [BZ #13629]
2893 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2894 value between 1.0 and 2.0 and smaller part has absolute value less
2895 than 1.0.
2896 * math/s_clog10.c (__clog10): Likewise.
2897 * math/s_clog10f.c (__clog10f): Likewise.
2898 * math/s_clog10l.c (__clog10l): Likewise.
2899 * math/s_clogf.c (__clogf): Likewise.
2900 * math/s_clogl.c (__clogl): Likewise.
2901 * math/libm-test.inc (clog_test): Add more tests.
2902 (clog10_test): Likewise.
2903 * sysdeps/i386/fpu/libm-test-ulps: Update.
2904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2905
2bc13872
FW
29062012-07-31 Florian Weimer <fweimer@redhat.com>
2907
2908 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2909 Exit with zero in case no suitable GID is found, and write a
2910 message to standard error.
2911
bea9b193
RM
29122012-07-30 Roland McGrath <roland@hack.frob.com>
2913
2914 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2915 rather than to 1.
2916 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2917 (MAXPATHLEN): Removed.
2918 (NOGROUP, NODEV): New macros.
2919 (setbit, clrbit, isset, isclr): New macros.
2920 (howmany, roundup, powerof2): New macros.
2921 (DEV_BSIZE): New macro.
2922
2923 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2924 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2925
2926 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2927 definition on [!__NO_LONG_DOUBLE_MATH].
2928
2929 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2930 PTR_MANGLE and PTR_DEMANGLE.
2931
2932 * socket/accept4.c (accept4): Rename to __libc_accept4.
2933 Define accept4 as a weak alias.
2934
2935 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2936 on [_DIRENT_HAVE_D_TYPE].
2937 * io/ftw.c (ftw_dir): Likewise.
2938
2939 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2940
2941 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2942
2943 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2944 Use the BSD numbers rather than the arbitrary ones we had.
2945 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2946 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2947 (SIGXCPU, SIGXFSZ): New macros.
2948 (_NSIG): Now 32.
2949
2950 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2951 initializer on [_LIBC_REENTRANT].
2952
2953 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2954 definitions inside [_POSIX_MAPPED_FILES].
2955
2956 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2957
2958 * dirent/opendir.c: Include <fcntl.h>.
2959
2960 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2961 (__libc_getspecific): Likewise.
2962 (__libc_key_create): Likewise.
2963
2964 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2965 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2966 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2967 (tmpfile64): Define as alias.
2968 * sysdeps/wordsize-64/tmpfile.c: File removed.
2969 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2970 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2971 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2972
2973 * stdio-common/vfscanf.c: Include <stdbool.h>.
2974 * nss/makedb.c: Likewise.
2975 * stdio-common/_i18n_number.h: Likewise.
2976 * argp/argp-help.c: Likewise.
2977 * posix/wordexp.c: Likewise.
2978 * sysdeps/posix/spawni.c: Likewise.
2979 * nss/nss_files/files-initgroups.c: Likewise.
2980 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2981 * nss/nss_files/files-initgroups.c: Likewise.
2982 * nss/nss_db/db-netgrp.c: Likewise.
2983 * nss/nss_db/db-initgroups.c: Likewise.
2984 * io/fchmodat.c: Include <sys/stat.h>.
2985
2986 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2987 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2988
2989 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2990 [HAVE_MMAP].
2991
2992 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2993 Add multiple inclusion protection.
2994
e5abc686
DM
29952012-07-27 David S. Miller <davem@davemloft.net>
2996
2997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2998
815e6fa3
GB
29992012-07-27 Gary Benson <gbenson@redhat.com>
3000
3001 [BZ #14298]
3002 * elf/rtld.c: Include <stap-probe.h>.
3003 (dl_main): Added static probes "init_start" and "init_complete".
3004 * elf/dl-load.c: Include <stap-probe.h>.
3005 (lose): Take new parameter "nsid".
3006 Added static probe "map_failed".
3007 (_dl_map_object_from_fd): Pass namespace id to lose.
3008 Added static probe "map_start".
3009 (open_verify): Pass namespace id to lose.
3010 * elf/dl-open.c: Include <stap-probe.h>.
3011 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3012 and "reloc_complete".
3013 * elf/dl-close.c: Include <stap-probe.h>.
3014 (_dl_close_worker): Added static probes "unmap_start" and
3015 "unmap_complete".
3016 * elf/rtld-debugger-interface.txt: New file documenting the above.
3017
9f98c16c
RM
30182012-07-26 Roland McGrath <roland@hack.frob.com>
3019
3020 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3021 rather than a string variable.
3022 * sunrpc/rpc_main.c (h_output): Likewise.
3023 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3024
f3c22df3
PT
30252012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3026
3027 * inet/check_native.c: New file.
3028
3129cfc6
JM
30292012-07-26 Joseph Myers <joseph@codesourcery.com>
3030
da865e95
JM
3031 [BZ #13629]
3032 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3033 if larger part has absolute value 1.0.
3034 * math/s_clog10.c (__clog10): Likewise.
3035 * math/s_clog10f.c (__clog10f): Likewise.
3036 * math/s_clog10l.c (__clog10l): Likewise.
3037 * math/s_clogf.c (__clogf): Likewise.
3038 * math/s_clogl.c (__clogl): Likewise.
3039 * math/libm-test.inc (clog_test): Add more tests.
3040 (clog10_test): Likewise.
3041 * sysdeps/i386/fpu/libm-test-ulps: Update.
3042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3043
3129cfc6
JM
3044 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3045 (pltexit): Likewise.
3046 (La_regs): Likewise.
3047 (La_retval): Likewise.
3048 (int_retval): Likewise.
3049 Update #error for removed macros to refer only to definitions in
3050 tst-audit.h.
3051 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3052 macro.
3053 (pltexit): Likewise.
3054 (La_regs): Likewise.
3055 (La_retval): Likewise.
3056 (int_retval): Likewise.
3057 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3058 macro.
3059 (pltexit): Likewise.
3060 (La_regs): Likewise.
3061 (La_retval): Likewise.
3062 (int_retval): Likewise.
3063 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3064 macro.
3065 (pltexit): Likewise.
3066 (La_regs): Likewise.
3067 (La_retval): Likewise.
3068 (int_retval): Likewise.
3069 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3070 macro.
3071 (pltexit): Likewise.
3072 (La_regs): Likewise.
3073 (La_retval): Likewise.
3074 (int_retval): Likewise.
3075 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3076 macro.
3077 (pltexit): Likewise.
3078 (La_regs): Likewise.
3079 (La_retval): Likewise.
3080 (int_retval): Likewise.
3081 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3082 macro.
3083 (pltexit): Likewise.
3084 (La_regs): Likewise.
3085 (La_retval): Likewise.
3086 (int_retval): Likewise.
3087 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3088 macro definitions in tst-audit.h.
3089 * sysdeps/i386/tst-audit.h: New file.
3090 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3091 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3092 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3093 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3094 * sysdeps/sh/tst-audit.h: Likewise.
3095 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3096 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3097 * sysdeps/x86_64/tst-audit.h: Likewise.
3098
bfc07087
AJ
30992012-07-26 Andreas Jaeger <aj@suse.de>
3100
b1b2aaf8
AJ
3101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3102 ptrace.
3103
3104 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3105 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3106 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3107 PTRACE_O_MASK.
3108 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3109 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3110 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3111
bfc07087
AJ
3112 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3113 value.
3114
3115 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3116 _sigsys.
3117 (si_call_addr, si_syscall, si_arch): Define new macro.
3118 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3119 _sigsys.
3120 (si_call_addr, si_syscall, si_arch): Define new marcro.
3121 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3122 _sigsys.
3123 (si_call_addr, si_syscall, si_arch): Define new macro.
3124 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3125 _sigsys.
3126 (si_call_addr, si_syscall, si_arch): Define new macro.
3127
89b4b02f
JM
31282012-07-25 Joseph Myers <joseph@codesourcery.com>
3129
3130 [BZ #13717]
3131 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3132 Change to 2.4.21 where previously 2.4.1.
3133 * sysdeps/unix/sysv/linux/configure: Regenerated.
3134 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3135 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3136 Linux kernel version.
3137 (__ASSUME_STD_AUXV): Remove.
3138 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3139 kernel version.
3140 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3141 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3142 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3143 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3144 (__ASSUME_NETLINK_SUPPORT): Likewise.
3145 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3146 (__no_netlink_support): Remove conditional definition.
3147 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3148 Remove.
3149 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3150 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3151 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3152 (if_nameindex_ioctl): Remove.
3153 (if_nameindex_netlink): Do not handle __no_netlink_support.
3154 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3155 code.
3156 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3157 Remove conditional code.
3158 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3159 code.
3160 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3161 unconditional.
3162 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3163 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3164 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3165 Remove.
3166 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3167 [!__ASSUME_STD_AUXV]: Remove conditional code.
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3169 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3170 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3172 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3173 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3174 code.
3175 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3177 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3178 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3179 conditional code.
3180 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3182 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3183 code.
3184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3185 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3186 conditional code.
3187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3188 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3189 code unconditional.
3190 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3191 conditional code.
3192 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3193 unconditional.
3194 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3195 conditional code.
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3197 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3198 unconditional.
3199 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3200 conditional code.
3201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3202 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3203 code unconditional.
3204 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3205 conditional code.
3206 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3207 unconditional.
3208 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3209 conditional code.
3210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3211 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3212 code unconditional.
3213 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3214 conditional code.
3215 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3216 unconditional.
3217 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3218 conditional code.
3219
842a39cd
AS
32202012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3221
3222 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3223 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3224 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3225 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3226 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3227 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3228 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3229 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3230 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3231 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3232 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3233 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3234 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3235 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3236 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3237 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3238 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3239 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3240 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3242 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3243 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3244 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3245
84b3fd84
FW
32462012-07-25 Florian Weimer <fweimer@redhat.com>
3247
3248 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3249 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3250 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3251 Introduce __libc_secure_getenv.
0c7936d5
FW
3252 * stdlib/Versions (2.17): Add secure_getenv
3253 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3254 * stdlib/secure-getenv.c: Rename __secure_getenv to
3255 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3256 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3257 * stdlib/tst-secure-getenv.c: New.
3258 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3259 * manual/startup.texi (Environment Access): Document
3260 secure_getenv.
84b3fd84
FW
3261 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3262 __libc_secure_getenv.
3263 * inet/ruserpass.c (ruserpass): Likewise.
3264 * malloc/mtrace.c (mtrace): Likewise.
3265 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3266 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3267 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3268 * sysdeps/posix/tempname.c: Likewise. Evaluate
3269 HAVE_SECURE_GETENV.
3270 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3271 __secure_getenv to __libc_secure_getenv.
84b3fd84 3272 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3274 Likewise.
3275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3276 Likewise.
3277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3279 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3284
56e49b71
JM
32852012-07-25 Joseph Myers <joseph@codesourcery.com>
3286
3287 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3288 (struct La_i86_retval): Likewise.
3289 (struct La_x86_64_regs): Likewise.
3290 (struct La_x86_64_retval): Likewise.
3291 (struct La_x32_regs): Likewise.
3292 (struct La_x32_retval): Likewise.
3293 (struct La_ppc32_regs): Likewise.
3294 (struct La_ppc32_retval): Likewise.
3295 (struct La_ppc64_regs): Likewise.
3296 (struct La_ppc64_retval): Likewise.
3297 (struct La_sh_regs): Likewise.
3298 (struct La_sh_retval): Likewise.
3299 (struct La_s390_32_regs): Likewise.
3300 (struct La_s390_32_retval): Likewise.
3301 (struct La_s390_64_regs): Likewise.
3302 (struct La_s390_64_retval): Likewise.
3303 (struct La_sparc32_regs): Likewise.
3304 (struct La_sparc32_retval): Likewise.
3305 (struct La_sparc64_regs): Likewise.
3306 (struct La_sparc64_retval): Likewise.
3307 (struct audit_ifaces): Remove architecture-specific pltenter and
3308 pltexit members.
3309 * sysdeps/i386/ldsodefs.h: New file.
3310 * sysdeps/powerpc/ldsodefs.h: Likewise.
3311 * sysdeps/s390/ldsodefs.h: Likewise.
3312 * sysdeps/sh/ldsodefs.h: Likewise.
3313 * sysdeps/sparc/ldsodefs.h: Likewise.
3314 * sysdeps/x86_64/ldsodefs.h: Likewise.
3315
354691b7
MP
33162012-07-25 Marek Polacek <polacek@redhat.com>
3317
3318 [BZ #6808]
3319 * math/libm-test.inc (yn_test): Add another test.
3320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3321 to ERANGE when the result is +-Inf.
3322 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3323 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3324 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3325 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3326
bf9e2071
JM
33272012-07-24 Joseph Myers <joseph@codesourcery.com>
3328
3329 * conform/data/time.h-data (NULL): Use macro-constant. Require
3330 equal to 0.
3331 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3332 clock_t.
3333 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3334
57633811
TS
33352012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3336
3337 * configure.in <sysdeps resolving>: Correct printing
3338 Implies_before.
3339 * configure: Regenerate.
3340
c23c33b0
TS
33412012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3342
3343 * math/w_ilogb.c: Include <limits.h>.
3344 * math/w_ilogbl.c: Likewise.
3345
b5982523
JM
33462012-07-20 Joseph Myers <joseph@codesourcery.com>
3347
3348 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3349 va_copy. Document allowing for unavailable va_copy only as
3350 pre-C99 compatibility.
3351 * manual/string.texi (Copying and Concatenation): Use va_copy
3352 instead of __va_copy in concat example.
3353
ac4ea442
PT
33542012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3355
3356 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3357 (__sendto): Use create_address_port. Initialize APORT and deallocate
3358 it if not null.
3359
f98eafbd
PT
3360 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3361 with O_NOLINK passed to __file_name_lookup.
3362
898c7aab
PT
3363 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3364 with O_NOLINK passed to __file_name_lookup.
3365
0ced335a
PT
3366 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3367 negative N or less than NGIDS.
3368
b3404dbd
PT
3369 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3370 type to string_t. Set ERANGE as errno and return it if NAME is not big
3371 enough. Use memcpy instead of strncpy.
3372
0f48659e
JM
33732012-07-20 Joseph Myers <joseph@codesourcery.com>
3374
3375 * elf/Makefile (check-data): Remove.
3376 (localplt.data): New vpath directive.
3377 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3378 instead of $(check-data).
3379 * scripts/data/localplt-generic.data: Move to ...
3380 * sysdeps/generic/localplt.data: ... here.
3381 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3382 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3383 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3385 ... here.
3386 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3388 ... here.
3389 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3391 ... here.
3392 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3394 ... here.
3395 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3397 ... here.
3398 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3400 ... here.
3401
d37cbdaa
AZ
34022012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3403
3404 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3405 PPC32 and PPC64 files.
3406 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3407 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3408
46f85fc2
AK
34092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3410
3411 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3412 __makecontext_ret to ...
3413 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3414 ... here and call exit if uc_link is NULL. New file.
3415 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3416 __makecontext_ret.S.
3417 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3418 __makecontext_ret to ...
3419 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3420 ... here and call exit if uc_link is NULL. New file.
3421 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3422 __makecontext_ret.S.
3423
08f43f9b
AK
34242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3425
3426 * elf/elf.h (R_390_IRELATIVE): New definition.
3427 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3428 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3429 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3430 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3431 (elf_machine_lazy_rel): Likewise.
3432 * sysdeps/s390/dl-irel.h: New file.
3433 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3434 * sysdeps/s390/s390-64/memset.S: New asm code.
3435 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3436 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3437 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3438 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3439 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3440 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3441 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3442 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3443 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3444 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3445 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3446 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3447 * sysdeps/s390/s390-32/memset.S: New asm code.
3448 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3449
3b05db33
MP
34502012-07-17 Marek Polacek <polacek@redhat.com>
3451
3452 [BZ #14349]
3453 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3454 * sysdeps/s390/s390-64/configure.in: Likewise.
3455 * sysdeps/sparc/configure.in: Likewise.
3456 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3457 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3458 * sysdeps/i386/configure.in: Likewise.
3459 * sysdeps/x86_64/configure.in: Likewise.
3460 * sysdeps/sh/configure.in: Likewise.
3461 * sysdeps/s390/s390-32/configure: Regenerated.
3462 * sysdeps/s390/s390-64/configure: Likewise.
3463 * sysdeps/x86_64/configure: Likewise.
3464 * sysdeps/sh/configure: Likewise.
3465 * sysdeps/powerpc/powerpc64/configure: Likewise.
3466 * sysdeps/powerpc/powerpc32/configure: Likewise.
3467 * sysdeps/sparc/configure: Likwise.
3468 * sysdeps/i386/configure: Likewise.
3469
a66877c6
MP
3470 * elf/dl-open.c: Comment fixes.
3471
cfc82fd8
JM
34722012-07-17 Joseph Myers <joseph@codesourcery.com>
3473
bd29910a
JM
3474 * Makefile [CXX] (check-data): Remove.
3475 [CXX] (c++-types.data): New vpath directive.
3476 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3477 vpath. Do not allow for C++ type data being missing.
3478 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3479 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3480 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3481 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3482 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3483 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3484 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3486 ... here.
3487 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3489 ... here.
3490 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3492 ... here.
3493 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3495 ... here.
3496 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3498 ... here.
3499 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3501 ... here.
3502 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3504 ... here.
3505 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3507
cfc82fd8
JM
3508 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3509 definitions to architecture-specific files.
3510 (TLS_IE): Likewise.
3511 (TLS_LD): Likewise.
3512 (TLS_GD): Likewise.
3513 * sysdeps/i386/tls-macros.h: New file.
3514 * sysdeps/powerpc/tls-macros.h: Likewise.
3515 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3516 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3517 * sysdeps/sh/tls-macros.h: Likewise.
3518 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3519 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3520 * sysdeps/x86_64/tls-macros.h: Likewise.
3521
f7db3170
TS
35222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3523
07cbfc23
TS
3524 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3525 zero value for regular exit case.
3526
f7db3170
TS
3527 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3528 (__start_context): Preserve zero value for regular exit case.
3529
dc97c227
TS
35302012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3531 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3532
3533 * manual/setjmp.texi (setcontext): Clarify normal process
3534 termination when uc_link is the null pointer.
3535 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3536 exit call.
3537
d0cd7d02
AS
35382012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3539
3540 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3541 preprocessor. Test for each exception mask separately.
3542
dd318934
AJ
35432012-07-16 Andreas Jaeger <aj@suse.de>
3544
3545 * po/ru.po: Update from translation team.
3546
8048311a
JM
35472012-07-15 Joseph Myers <joseph@codesourcery.com>
3548
3549 * conform/data/string.h-data (NULL): Use macro-constant. Require
3550 equal to 0.
3551 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3552 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3553 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3554 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3555 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3556
b637d46e
AJ
35572012-07-13 Andreas Jaeger <aj@suse.de>
3558
3559 * po/fr.po: Update from translation team.
3560
541428fe
MP
35612012-07-12 Marek Polacek <polacek@redhat.com>
3562
3563 [BZ #14173]
3564 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3565 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3566 loop condition.
3567
ec332e94
JM
35682012-07-12 Joseph Myers <joseph@codesourcery.com>
3569
3570 [BZ #13717]
3571 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3572 Change to 2.4.1 where previously 2.4.0.
3573 * sysdeps/unix/sysv/linux/configure: Regenerated.
3574 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3575 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3576 version.
3577 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3578 (__ASSUME_AT_CLKTCK): Remove.
3579 (__ASSUME_AT_PAGESIZE): Likewise.
3580 (__ASSUME_AT_XID): Likewise.
3581 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3582 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3583 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3584 unconditionally.
3585 (HAVE_AUX_PAGESIZE): Likewise.
3586 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3587 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3588 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3589
7b6e99be
JB
35902012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3591
3592 [BZ #14307]
3593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3594 the temporary buffer used to invoke __gethostbyname2_r,
3595 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3596 host_data / struct gaih_addrtuple.
3597 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3598 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3599 header file nss/nsswitch.h.
3600 * nss/nsswitch.h (global scope): Add definition of implementation
3601 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3602 resolv/nss_dns/dns-host.c).
3603
608404eb
AJ
36042012-07-11 Andreas Jaeger <aj@suse.de>
3605
3606 * po/fr.po: Update from translation team.
3607
71220aca
AJ
3608 * po/sv.po: Update from translation team
3609 * po/fr.po: Another update from translation team.
3610
28cfe843
AZ
36112012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3612
3613 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3614 for subnormals or multiply small sinh result by itself.
3615 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3617
6b90f981
DM
36182012-07-11 David S. Miller <davem@davemloft.net>
3619
3620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3621
c6825772
AS
36222012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3623
3624 [BZ #14347]
3625 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3626 (INTERNAL_MARK): Shift it here.
3627
7b8e0d49
MP
36282012-07-10 Marek Polacek <polacek@redhat.com>
3629
3630 [BZ #14151]
3631 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3632 libc_cv_asm_global_directive with .globl.
3633 * configure: Regenerated.
3634 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3635 with .globl.
3636 * sysdeps/i386/configure: Regenerated.
3637 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3638 with .globl.
3639 * sysdeps/x86_64/configure: Regenerated.
3640 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3641 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3642 * elf/tst-unique2mod2.c: Likewise.
3643 * elf/tst-unique2mod1.c: Likewise.
3644 * elf/tst-unique1mod2.c: Likewise.
3645 * elf/tst-unique1mod1.c: Likewise.
3646 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3647 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3648 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3649 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3650 * sysdeps/mach/sysdep.h: Likewise.
3651 * sysdeps/i386/sysdep.h: Likewise.
3652 * sysdeps/i386/i386-mcount.S: Likewise.
3653 * sysdeps/x86_64/_mcount.S: Likewise.
3654 * sysdeps/x86_64/sysdep.h: Likewise.
3655 * sysdeps/sh/_mcount.S: Likewise.
3656 * sysdeps/sh/sysdep.h: Likewise.
3657 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3658 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3659 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3660 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3661 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3662 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3663 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3664 * locale/localeinfo.h: Likewise.
3665 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3666 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3667
6c55cda3
RM
36682012-07-09 Roland McGrath <roland@hack.frob.com>
3669
3670 [BZ #14336]
3671 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3672 system".
3673 * manual/message.texi (The Uniforum approach): Likewise.
3674 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3675 (glibc iconv Implementation): Likewise.
3676
638a572e
JM
36772012-07-09 Joseph Myers <joseph@codesourcery.com>
3678
3679 [BZ #14337]
3680 * math/s_clog.c (__clog): Avoid scaling a value down where that
3681 could result in underflow.
3682 * math/s_clog10.c (__clog10): Likewise.
3683 * math/s_clog10f.c (__clog10f): Likewise.
3684 * math/s_clog10l.c (__clog10l): Likewise.
3685 * math/s_clogf.c (__clogf): Likewise.
3686 * math/s_clogl.c (__clogl): Likewise.
3687 * math/libm-test.inc (clog_test): Add more tests.
3688 (clog10_test): Likewise.
3689 * sysdeps/i386/fpu/libm-test-ulps: Update.
3690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3691
261f4859
AS
36922012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3693
0abaf3e4
AS
3694 [BZ #14283]
3695 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3696 by 7 not 8 to examine high bit of fractional part.
3697
261f4859
AS
3698 [BZ #14042]
3699 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3700 for call to __mcount_internal.
3701 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3702 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3703 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3704
f17ac40d
JM
37052012-07-06 Joseph Myers <joseph@codesourcery.com>
3706
9ad63c23
JM
3707 [BZ #14154]
3708 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3709 approximation for values within 0x1p-13f of an odd multiple of
3710 pi/4.
3711 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3712 exception. Add more tests.
3713 * sysdeps/i386/fpu/libm-test-ulps: Update.
3714
f17ac40d
JM
3715 [BZ #6778]
3716 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3717 inputs and return -1 for them. Do not check for +Inf in case not
3718 reachable for +Inf.
3719 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3720 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3721 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3722 and return -1 for them. Do not check for +Inf in case not
3723 reachable for +Inf.
3724 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3725 define.
3726 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3727 and return -1 for them. Do not check for +Inf in case not
3728 reachable for +Inf.
3729 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3730 spurious underflow.
3731 * sysdeps/i386/fpu/libm-test-ulps: Update.
3732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3733
fb21f89b
MF
37342012-07-06 Mike Frysinger <vapier@gentoo.org>
3735
3736 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3737
cdfe2c5e
JM
37382012-07-05 Joseph Myers <joseph@codesourcery.com>
3739
3740 [BZ #14157]
3741 [BZ #14331]
3742 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3743 could result in spurious underflow. Scale down values above
3744 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3745 * math/s_csqrtf.c (__csqrtf): Likewise.
3746 * math/s_csqrtl.c (__csqrtl): Likewise.
3747 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3748 spurious underflow.
3749 * sysdeps/i386/fpu/libm-test-ulps: Update.
3750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3751
70d35b67
AS
37522012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3753
704bc459
AS
3754 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3755 xopen-msg.sed.
3756 * catgets/xopen-msg.awk: New file.
3757 * catgets/xopen-msg.sed: Removed.
3758
70d35b67
AS
3759 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3760 po2text.sed.
3761 * intl/po2test.awk: New file.
3762 * intl/po2test.sed: Removed.
3763
ca61cf32
JM
37642012-07-04 Joseph Myers <joseph@codesourcery.com>
3765
3766 [BZ #14328]
3767 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3768 or multiply small sinh result by itself.
3769 * math/s_ctanf.c (__ctanf): Likewise.
3770 * math/s_ctanh.c (__ctanh): Likewise.
3771 * math/s_ctanhf.c (__ctanhf): Likewise.
3772 * math/s_ctanhl.c (__ctanhl): Likewise.
3773 * math/s_ctanl.c (__ctanl): Likewise.
3774 * math/libm-test.inc (ctan_test_tonearest): New function.
3775 (ctan_test_towardzero): Likewise.
3776 (ctan_test_downward): Likewise.
3777 (ctan_test_upward): Likewise.
3778 (ctanh_test_tonearest): Likewise.
3779 (ctanh_test_towardzero): Likewise.
3780 (ctanh_test_downward): Likewise.
3781 (ctanh_test_upward): Likewise.
3782 (main): Call these new functions.
3783 * sysdeps/i386/fpu/libm-test-ulps: Update.
3784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3785
ca48a46a
MF
37862012-07-03 Mike Frysinger <vapier@gentoo.org>
3787
3788 * .gitignore: Delete /ports entry.
3789
9d63d37d
AJ
37902012-07-03 Andreas Jaeger <aj@suse.de>
3791
3792 * po/bg.po: Update from translation team.
3793 * po/cs.po: Likewise.
3794 * po/de.po: Likewise.
3795 * po/hr.po: Likewise.
3796 * po/nl.pl: Likewise.
3797 * po/pl.po: Likewise.
3798 * po/vi.po: Likewise.
3799
370ca3d2
JM
38002012-07-03 Joseph Myers <joseph@codesourcery.com>
3801
95f5a9a8
JM
3802 * Makeconfig [!+link] (+link-before-libc): New variable.
3803 [!+link] (+link-after-libc): Likewise.
3804 [!+link] (+link-tests): Likewise.
3805 [!+link] (+link): Define in terms of $(+link-before-libc) and
3806 $(+link-after-libc).
3807 [!+link-static] (+link-static-before-libc): New variable.
3808 [!+link-static] (+link-static-after-libc): Likewise.
3809 [!+link-static] (+link-static-tests): Likewise.
3810 [!+link-static] (+link-static): Define in terms of
3811 $(+link-static-before-libc) and $(+link-static-after-libc).
3812 [build-shared] (link-libc-before-gnulib): New variable.
3813 [build-shared] (link-libc-tests): Likewise.
3814 [build-shared] (link-libc): Define in terms of
3815 $(link-libc-before-gnulib).
3816 [!build-shared] (link-libc-tests): New variable.
3817 (link-libc-static-tests): New variable.
3818 [!gnulib] (gnulib-arch): New variable.
3819 [!gnulib] (gnulib-tests): Likewise.
3820 [!gnulib] (static-gnulib-arch): Likewise.
3821 [!gnulib] (static-gnulib-tests): Likewise.
3822 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3823 Define with "=" instead of ":=".
3824 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3825 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3826 * Rules (binaries-all-notests): New variable.
3827 (binaries-all-tests): Likewise.
3828 (binaries-static-notests): Likewise.
3829 (binaries-static-tests): Likewise.
3830 (binaries-all): Define using $(binaries-all-notests) and
3831 $(binaries-all-tests).
3832 (binaries-static): Define using $(binaries-static-notests) and
3833 $(binaries-static-tests).
3834 (binaries-shared-tests): New variable.
3835 (binaries-shared-notests): Likewise.
3836 (binaries-shared): Remove variable.
3837 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3838 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3839 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3840 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3841 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3842 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3843 * elf/Makefile (sln-modules): New variable.
3844 (extra-objs): Add $(sln-modules:=.o).
3845 (ldconfig-modules): Add static-stubs.
3846 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3847 * elf/static-stubs.c: New file.
3848
7a845b2c
JM
3849 [BZ #14283]
3850 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3851 by 7 not 8 to examine high bit of fractional part. Use volatile
3852 variables when splitting into final array of floats if
3853 __FLT_EVAL_METHOD__ != 0.
3854 * math/libm-test.inc (cos_test): Add another test.
3855 (sin_test): Likewise.
3856 * sysdeps/i386/fpu/libm-test-ulps: Update.
3857
e2283f38
JM
3858 [BZ #14273]
3859 * math/libm-test.inc (cosh_test): Add more tests.
3860
370ca3d2
JM
3861 * version.h (RELEASE): Set to "development".
3862 (VERSION): Set to "2.16.90".
3863
ee9247c3
CD
38642012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3865
3866 * NEWS: Update copyright. Remove last-updated date.
3867 Mention math library bug fixes and timezone data changes.
3868 * README: Mention GNU/Hurd, x32, and HPPA support status.
3869
4648c381
TS
38702012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3871
3872 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3873
aac78a43
AJ
38742012-06-27 Andreas Jaeger <aj@suse.de>
3875
3876 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3877
ed3dbfad
AJ
38782012-06-25 Andreas Jaeger <aj@suse.de>
3879
3880 * sysdeps/s390/fpu/libm-test-ulps: Update.
3881
4d0ee855
AS
38822012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3883 Thomas Schwinge <thomas@codesourcery.com>
3884
3885 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3886 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3887 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3888 fanotify_mark.
3889
af1bce34
TS
38902012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3891
a9fa33ba
TS
3892 * sysdeps/mach/start.c: Remove file.
3893 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3894 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3895 * sysdeps/sh/init-first.c: Likewise.
3896
58f902b8
TS
3897 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3898 registers for frame unwinding purposes, add CFI directives.
3899 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3900 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3901 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3902 Likewise.
3903
1518f58b
TS
3904 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3905 __fortify_fail returning.
3906 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3907
db9b5059
TS
3908 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3909 sysdeps/sh/____longjmp_chk.S.
3910 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3911 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3912 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3913 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3914
967705fe
TS
3915 * sysdeps/sh/abort-instr.h: New file.
3916 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3917 process in case exit returns.
3918
a9def8c4
TS
3919 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3920 initialize the GOT register before use.
3921
2a649725
TS
3922 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3923 calculation of ARGC > 4.
3924
af1bce34
TS
3925 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3926 meaningful names to some local labels.
3927
d230f50a
KK
39282012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3929 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3930
3931 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3932 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3933 (__arch_compare_and_exchange_val_16_acq): Likewise.
3934 (__arch_compare_and_exchange_val_32_acq): Likewise.
3935 (atomic_exchange_and_add): Fix gUSA sequence.
3936 (atomic_add): Likewise.
3937 (atomic_add_negative): Likewise.
3938 (atomic_add_zero): Likewise.
3939 (atomic_bit_test_set): Likewise.
3940
0479b305
AS
39412012-06-22 Andreas Schwab <schwab@redhat.com>
3942
3943 [BZ #13579]
3944 * include/link.h (struct link_map): Add l_free_initfini.
3945 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3946 l_initfini.
3947 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3948 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3949 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3950 set.
3951
0e3933b9
CD
39522012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3953
3954 * configure.in: Use AC_LANG_SOURCE.
3955 * configure: Regenerate.
3956
4248b1b1
RM
39572012-06-22 Roland McGrath <roland@hack.frob.com>
3958
3959 * configure.in (libc_cv_localstatedir): New substituted variable.
3960 * configure: Regenerated.
3961 * config.make.in (localstatedir): New variable, substituted from
3962 libc_cv_localstatedir.
3963 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3964 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3965 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3966 * sysdeps/gnu/configure: Regenerated.
3967
006dd861
JL
39682012-06-21 Jeff Law <law@redhat.com>
3969
3970 [BZ #14277]
3971 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3972 free. Simplify list management for _LIBC case.
3973
79662d42
JM
39742012-06-21 Joseph Myers <joseph@codesourcery.com>
3975
b7abb4bf
JM
3976 [BZ #14273]
3977 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3978 Clear sign bit of 64-bit integer value before comparing against
3979 overflow value.
3980
79662d42
JM
3981 * sysdeps/mach/configure: Regenerated.
3982
1f150908
L
39832012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3984
3985 [BZ #14278]
3986 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3987
28363bbf
JL
39882012-06-21 Jeff Law <law@redhat.com>
3989
3990 [BZ #13882]
3991 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3992 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3993 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3994 * elf/dl-open.c (dl_open_worker): Likewise.
3995
09615db4
CD
39962012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3997
3998 * scripts/list-sources.sh: Scan PORTS for translations.
3999 * po/libc.pot: Regenerated.
4000
2174c6dd
AJ
40012012-06-21 Andreas Jaeger <aj@suse.de>
4002
4003 [BZ #12194]
4004 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4005 warning.
4006 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4007 * bits/byteswap-16.h (__bswap_16): Likewise.
4008 * bits/byteswap.h (__bswap_constant_16): Likewise.
4009
3ee947b1
L
40102012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4011
4012 [BZ #14117]
a2f34833
L
4013 * sysdeps/i386/fpu_control.h: Removed.
4014 * sysdeps/x86_64/fpu_control.h: Moved to ...
4015 * sysdeps/x86/fpu_control.h: Here.
4016
3ee947b1
L
4017 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4018 (_FPU_SETCW): Likewise.
4019
ed1825f8
L
40202012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4021
25f1282a
L
4022 [BZ #14117]
4023 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4024 * sysdeps/x86/fpu/bits/mathinline.h: This.
4025 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4026
ed1825f8
L
4027 [BZ #14050]
4028 [BZ #14117]
4029 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4030 functions if __x86_64__ is defined.
4031
36d54b74
CLT
40322012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4033
4034 * string/endian.h: Add !__ASSEMBLER__ condition for including
4035 conversion interfaces.
4036
10285c21
JM
40372012-06-15 Joseph Myers <joseph@codesourcery.com>
4038
4039 [BZ #14241]
4040 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4041 of ABS(x) in calculating zero to negative powers other than odd
4042 integers.
4043 * math/libm-test.inc (pow_test): Add more tests.
4044
06c5abbd
AJ
40452012-06-15 Andreas Jaeger <aj@suse.de>
4046
4047 * manual/contrib.texi (Contributors): Update entry of Liubov
4048 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4049 Machado Filho.
4050
a3aeac40
CH
40512012-06-15 Cyril Hrubis <metan@ucw.cz>
4052
4053 * string/string.h: Add __wur to GNU version of strerror_r.
4054
49bdf4c1
L
40552012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4056
4057 [BZ #14229]
4058 * string/Makefile (tests): Add tst-strtok_r.
4059 * string/tst-strtok_r.c: New file.
4060 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4061 RAX_LP/RDX_LP on SAVE_PTR.
4062
834f9b8d
RM
40632012-06-14 Roland McGrath <roland@hack.frob.com>
4064
4065 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4066
75fa1921
JM
40672012-06-14 Joseph Myers <joseph@codesourcery.com>
4068
4069 * libm_test.inc (csqrt_test): Allow more spurious underflow
4070 exceptions.
4071 (j0_test): Likewise.
4072 (j1_test): Likewise.
4073 (y0_test): Likewise.
4074 (y1_test): Likewise.
4075
771766df
CD
40762012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4077
4078 * po/Makefile (libc.pot): Use UTF-8 charset.
4079
ceb9e56b
PP
40802012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4081
4082 [BZ #14210]
4083 Suppress sign-conversion warning from FD_SET.
4084 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4085 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4086 not unsigned long int.
4087 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4088
ddb28975
L
40892012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4090
4091 [BZ #14050]
4092 [BZ #14117]
4093 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4094 __extern_always_inline instead of __extern_inline.
4095 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4096 (__signbit): Likewise.
4097 (__signbitl): Support C++ namespace.
4098 (lrintf): New inline function.
4099 (lrint): Likewise.
4100 (llrintf): Likewise.
4101 (llrint): Likewise.
4102 (fmaxf): Likewise.
4103 (fmax): Likewise.
4104 (fminf): Likewise.
4105 (fmin): Likewise.
4106 (rint): Likewise.
4107 (rintf): Likewise.
4108 (ceil): Likewise.
4109 (ceilf): Likewise.
4110 (floor): Likewise.
4111 (floorf): Likewise.
4112 (nearbyint): Likewise.
4113 (nearbyintf): Likewise.
4114
d7b4fb26
TS
41152012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4116
4117 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4118 non-default versions.
4119
eb55f5c2
RM
41202012-06-11 Roland McGrath <roland@hack.frob.com>
4121
4122 [BZ #14218]
4123 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4124
366af02c
TS
41252012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4126
99ff6e5c
TS
4127 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4128 (FE_UPWARD, FE_DOWNWARD): Don't define.
4129 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4130 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4131
366af02c
TS
4132 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4133 reading it.
4134 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4135 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4136
793ea851
KK
41372012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4138
4139 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4140 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4141 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4142 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4143
a728a38f
L
41442012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4145
4146 [BZ #14117]
c08010c7
L
4147 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4148 * sysdeps/i386/fpu/Implies: New file.
4149 * sysdeps/x86_64/fpu/Implies: Likewise.
4150 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4151 * sysdeps/x86/fpu/bits/fenv.h: This.
4152
a728a38f
L
4153 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4154 __SSE_MATH__.
4155
6e230d11
SP
41562012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4157
4158 [BZ #14134]
4159 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4160 character 0xffff that matches the last element of the
4161 conversion table.
4162
1b671feb
AZ
41632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4164
4165 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4166 fmodl commit.
4167
6043738b
AZ
41682012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4169
4170 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4171 values higher than 25.6283.
4172
34ae0b32
AZ
41732012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4174
4175 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4176 subnormal exponent extraction and add some __builtin_expect.
4177 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4178 Fix for subnormal mantissa calculation.
4179
1214ec8f
MF
41802012-06-04 Mike Frysinger <vapier@gentoo.org>
4181
4182 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4183 cpu2 is -1 and errno is not ENOSYS.
4184
f3d1f93c
L
41852012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4186
4187 [BZ #14117]
0e4a3cd7
L
4188 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4189 * sysdeps/x86/bits/string.h: This.
4190 * sysdeps/x86_64/bits/string.h: Removed.
4191
6704c645
L
4192 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4193 if not compiling for x86-64, but compiling for >= i486.
4194
48495318
L
4195 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4196 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4197
14adcbfc
L
4198 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4199 New macro from Linux kernel 3.4.0.
4200 (FP_XSTATE_MAGIC2): Likewise.
4201 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4202 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4203 (struct _fpx_sw_bytes): New struct.
4204 (struct _xsave_hdr): Likewise.
4205 (struct _ymmh_state): Likewise.
4206 (struct _xstate): Likewise.
4207
68e408ab
L
4208 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4209 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4210 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4211 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4212 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4213 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4214
f3d1f93c
L
4215 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4216 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4217 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4218 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4219 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4220 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4221
d9dc34cd
TMQMF
42222012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4223
4224 [BZ #13743]
4225 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4226 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4227 (sysdep_headers): Include sys/platform/ppc.h.
4228 * sysdeps/powerpc/test-gettimebase.c: Test for
4229 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4230 * manual/Makefile (appendices): Include platform.texi.
4231 * manual/contrib.texi (Contributors): Update @node pointers.
4232 * manual/maint.texi (Maintenance): Likewise.
4233 (Platform): New node.
4234 * manual/platform.texi: New file. Document the new features.
4235
4af3879c
SP
42362012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4237 Jakub Jelinek <jakub@redhat.com>
4238
4239 [BZ #14188]
4240 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4241 where __builtin_expect is unavailable.
4242
2fd6ff13
DM
42432012-06-03 David S. Miller <davem@davemloft.net>
4244
4245 * stdlib/longlong.h: Updated from GCC.
4246
173f7220
AS
42472012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4248
4249 [BZ #14042]
4250 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4251 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4252 __mcount_internal.
4253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4254 (GLIBC_2.16): Likewise.
4255
f34a1c6f
L
42562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4257
4258 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4259
88a4576f
JM
42602012-06-01 Joseph Myers <joseph@codesourcery.com>
4261
ea32bcdd
JM
4262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4263 (default-abi): New variable.
4264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4265 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4266 variable.
4267 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4268 Likewise.
4269 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4270 Likewise.
4271 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4272 Likewise.
4273
88a4576f
JM
4274 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4275 definition. Document in comment.
4276
402fe938
DM
42772012-06-01 David S. Miller <davem@davemloft.net>
4278
4279 * stdlib/longlong.h: Updated from GCC.
4280
3553723f
L
42812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4282
4283 [BZ #14117]
3bd872c4
L
4284 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4285 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4286 sys/debugreg.h sys/io.h here.
4287 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4288 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4289 sys/io.h.
4290 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4291 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4292 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4293 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4294 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4295 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4296
3553723f
L
4297 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4298 Define only if __x86_64__ is defined.
4299
4842e4fe
JM
43002012-06-01 Joseph Myers <joseph@codesourcery.com>
4301
c5bfe3d5
JM
4302 [BZ #14048]
4303 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4304 Use int64_t for variable i.
4305 * math/libm-test.inc (fmod_test): Add more tests.
4306
4842e4fe
JM
4307 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4308 z computation is not scheduled after fetestexcept.
4309 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4310 Use math_force_eval instead of asm to ensure calculation scheduled
4311 before exception test.
4312 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4313 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4314
efb73488
AJ
43152012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4316
4317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4318 computation is not scheduled after fetestexcept.
4319
29bcce7c
L
43202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4321
4322 [BZ #14117]
4323 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4324 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4325
73a68f94
AZ
43262012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4327
4328 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4329 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4330
67b6df78
L
43312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4332
edf2933a 4333 [BZ #14117]
ebc64a18
L
4334 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4335 <bits/wordsize.h>.
4336 (__WCHAR_MIN): Support __WORDSIZE == 64.
4337 (__WCHAR_MAX): Likewise.
4338
edf2933a
L
4339 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4340 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4341
57c6cf40
L
4342 [BZ #14183]
4343 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4344 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4345
67b6df78 4346 [BZ #14117]
8eb6281e
L
4347 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4348 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4349
aac639f4
L
4350 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4351 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4352
67b6df78
L
4353 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4354 Defined to 1 if __x86_64__ isn't defined.
4355 (_STAT_VER_LINUX_OLD): New.
4356 (st_atime): Remove duplicate.
4357 (st_mtime): Likewise.
4358 (st_ctime): Likewise.
4359
1c2cfe81
DM
43602012-05-31 David S. Miller <davem@davemloft.net>
4361
4362 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4363 entries.
4364
5be8418c
AS
43652012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4366
e7725326
AS
4367 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4368 gen-libm-test.pl.
4369
5be8418c
AS
4370 [BZ #14132]
4371 * elf/dl-reloc.c: Include <_itoa.h>.
4372 (_dl_reloc_bad_type): Remove use of INTUSE.
4373 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4374 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4375 * stdio-common/psiginfo.c (psiginfo): Likewise.
4376 * stdio-common/psignal.c (psignal): Likewise.
4377 * string/strsignal.c (strsignal): Likewise.
4378 * include/signal.h (_sys_siglist): Declare hidden proto.
4379 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4380 INTVARDEF with libc_hidden_data_def.
4381 * stdio-common/itoa-udigits.c: Likewise.
4382 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4383 (_itoa_lower_digits_internal): Remove declaration.
4384 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4385 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4386 (_sys_sigabbrev_internal): Remove aliases.
4387 (_sys_siglist): Define hidden alias.
4388
507352f1
MT
43892012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4390
4391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4392 bits/sysctl.h.
4393
42bbb1c3
L
43942012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4395
4396 [BZ #14117]
6bd784b6
L
4397 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4398 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4399
8bca20f0
L
4400 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4401 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4402 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4403 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4404 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4405 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4406
f9e890a9
L
4407 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4408 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4409 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4410
471101a1
L
4411 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4412 with __addr.
4413 (insw): Likewise.
4414 (insl): Likewise.
4415 (outsb): Likewise.
4416 (outsw): Likewise.
4417 (outsl): Likewise.
4418
6451c862
L
4419 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4420 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4421 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4422
a254b8c9
L
4423 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4424 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4425 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4426 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4427 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4428 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4429
b8dfdd92
L
4430 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4431 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4432
578cd270
L
4433 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4434 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4435
de662f5f
L
4436 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4437 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4438 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4439
25653439
L
4440 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4441 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4442 to ...
4443 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4444
6bad24a0
L
4445 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4446 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4447 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4448
42bbb1c3
L
4449 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4450 for x86-64.
4451 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4452
2d10d547
JM
44532012-05-31 Joseph Myers <joseph@codesourcery.com>
4454
4455 * math/math.h (M_El): Use two more decimal places.
4456 (M_LOG2El): Likewise.
4457 (M_LOG10El): Likewise.
4458 (M_LN2l): Likewise.
4459 (M_LN10l): Likewise.
4460 (M_PIl): Likewise.
4461 (M_PI_2l): Likewise.
4462 (M_PI_4l): Likewise.
4463 (M_1_PIl): Likewise.
4464 (M_2_PIl): Likewise.
4465 (M_2_SQRTPIl): Likewise.
4466 (M_SQRT2l): Likewise.
4467 (M_SQRT1_2l): Likewise.
4468
f230c29b
DM
44692012-05-31 David S. Miller <davem@davemloft.net>
4470
4471 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4472 values between float registers.
4473 * sysdeps/sparc/sparc64/memset.S: Likewise.
4474 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4475
fed806c3
MF
44762012-05-31 Mike Frysinger <vapier@gentoo.org>
4477
4478 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4479 -D_FORTIFY_SOURCE=1.
4480 (CPPFLAGS-tst-longjmp_chk.c): Define.
4481 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4482 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4483 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4484 CFLAGS-tst-wchar-h.c.
4485
30917259
MP
44862012-05-31 Marek Polacek <polacek@redhat.com>
4487
4488 [BZ #14132]
4489 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4490 __endmntent_internal): Remove declaration.
4491 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4492 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4493 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4494
1c58d5dc
DM
44952012-05-30 David S. Miller <davem@davemloft.net>
4496
4497 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4498 (___Q_simulate_exceptions): Use real FP ops rather than writing
4499 into the %fsr.
4500 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4501 Likewise.
4502
7dc00e0d
L
45032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4504
4505 [BZ #14117]
0bd53985
L
4506 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4507 * sysdeps/x86/bits/xtitypes.h: This.
4508
3a257e66
L
4509 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4510 * sysdeps/x86/bits/wordsize.h: This.
4511
62f62904
L
4512 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4513 * sysdeps/x86/bits/huge_vall.h: This.
4514
404fe9d9
L
4515 * sysdeps/i386/bits/select.h: Removed.
4516 * sysdeps/x86_64/bits/select.h: Renamed to ...
4517 * sysdeps/x86/bits/select.h: This.
4518
d48d0446
L
4519 * sysdeps/i386/bits/setjmp.h: Removed.
4520 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4521 * sysdeps/x86/bits/setjmp.h: This.
4522
7dc00e0d
L
4523 * sysdeps/i386/bits/mathdef.h: Removed.
4524 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4525 * sysdeps/x86/bits/mathdef.h: This.
4526
03277f8f
AS
45272012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4528
4529 [BZ #14132]
4530 * include/sys/socket.h (__connect_internal)
4531 (__libc_sa_len_internal): Remove declaration.
4532 (__connect, __libc_sa_len): Declare hidden_proto.
4533 (SA_LEN): Remove use of INTUSE.
4534 * socket/connect.c: Add libc_hidden_def.
4535 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4536 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4537 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4538 alias.
4539 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4540 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4541 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4542 of adding _internal alias.
4543
13764867
L
45442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4545
4546 [BZ #14117]
6bd97696
L
4547 * sysdeps/i386/bits/link.h: Removed.
4548 * sysdeps/i386/bits/linkmap.h: Likewise.
4549 * sysdeps/x86_64/bits/link.h: Renamed to ...
4550 * sysdeps/x86/bits/link.h: This.
4551 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4552 * sysdeps/x86/bits/linkmap.h: This.
4553
f726f0bb
L
4554 * sysdeps/i386/bits/endian.h: Removed.
4555 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4556 * sysdeps/x86/bits/endian.h: This.
4557
13764867
L
4558 * sysdeps/i386/bits/byteswap.h: Removed.
4559 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4560 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4561 * sysdeps/x86/bits/byteswap.h: This.
4562 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4563 * sysdeps/x86/bits/byteswap-16.h: This.
4564 * sysdeps/i386/Implies: Add x86.
4565 * sysdeps/x86_64/Implies: Likewise.
4566
ae251b0b
DM
45672012-05-30 David S. Miller <davem@davemloft.net>
4568
4569 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4570 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4571 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4572 (FP_TRAPPING_EXCEPTIONS): Define.
4573 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4574 (FP_TRAPPING_EXCEPTIONS): Define.
4575 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4576 subnormals only when inexact has been signalled or underflow
4577 exceptions are enabled.
4578 (_FP_PACK_CANONICAL): Likewise.
4579
d5c90867
L
45802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4581
4582 [BZ #14183]
4583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4584 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4585
63f1549e
RH
45862012-05-30 Richard Henderson <rth@twiddle.net>
4587
8d8f2279
RH
4588 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4589 with #ifndef NOT_IN_libc.
4590
63f1549e
RH
4591 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4592 marked to avoid plt entry.
4593
0ab0291b
L
45942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4595
4596 [BZ #14112]
4597 * Makeconfig (default-abi): New macro.
4598 (abi-includes): Likewise.
4599 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4600 $(abi-$(default-abi)-lib-soname) for soname if defined.
4601 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4602 abi-variants.
4603 * Makefile (installed-stubs): Likewise.
4604 * include/stubs-biarch.h: Removed.
4605 * scripts/lib-names.awk: Only handle one library at a time.
4606 * scripts/soversions.awk: Remove WORDSIZE support.
4607 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4608 entries.
4609 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4610 Removed.
4611 (syscall-list-default-condition): Likewise.
4612 (syscall-list-default-condition): Likewise.
4613 (syscall-list-includes): Likewise.
4614 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4615 syscall-list-* with abi-*. Handle undefined abi-variants.
4616 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4617 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4618 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4619 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4620 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4621 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4622 Removed.
4623 (syscall-list-32-options): Likewise.
4624 (syscall-list-32-condition): Likewise.
4625 (syscall-list-64-options): Likewise.
4626 (syscall-list-64-condition): Likewise.
4627 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4628 macro.
4629 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4630 Renamed to ...
4631 (abi-*): This.
4632 (abi-64-ld-soname): New macro.
4633 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4634 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4635 Renamed to ...
4636 (abi-*): This.
4637 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4638 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4639
4da0431d
JM
46402012-05-30 Joseph Myers <joseph@codesourcery.com>
4641
3a85279c
JM
4642 * sysdeps/unix/sysv/linux/kernel-features.h
4643 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4644 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4645 include <kernel-features.h>.
4646 [!__NR_ftruncate64]: Remove conditional code.
4647 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4648 [__NR_ftruncate64]: Make code unconditional.
4649 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4650 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4651 include <kernel-features.h>.
4652 [!__NR_ftruncate64]: Remove conditional code.
4653 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4654 [__NR_ftruncate64]: Make code unconditional.
4655 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4657 include <kernel-features.h>.
4658 [!__NR_ftruncate64]: Remove conditional code.
4659 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4660 [__NR_ftruncate64]: Make code unconditional.
4661 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4663 include <kernel-features.h>.
4664 [!__NR_ftruncate64]: Remove conditional code.
4665 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4666 [__NR_ftruncate64]: Make code unconditional.
4667 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4668
4da0431d
JM
4669 * configure.in (libc_cv_fpie): Weaken to a compile test using
4670 LIBC_TRY_CC_OPTION.
4671 * configure: Regenerated.
4672
11ef492c
AK
46732012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4674
4675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4679 Refreshed.
4680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4686 Refreshed.
4687
d66ef399
DM
46882012-05-27 David S. Miller <davem@davemloft.net>
4689
4690 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4691 (___Q_zero): New.
4692 (__Q_simulate_exceptions): Return void. Change to simulate
4693 exceptions by writing into the %fsr.
4694 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4695 (__Qp_handle_exceptions): Likewise.
4696 (numbers): Delete.
4697 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4698 __Qp_handle_exceptions.
4699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4700 __Qp_handle_exceptions.
4701 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4702 as unused and give dummy FP_RND_NEAREST initializer.
4703 (FP_INHIBIT_RESULTS): Define.
4704 (___Q_simulate_exceptions): Update declaration.
4705 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4706 formatting.
4707 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4708 as unused and give dummy FP_RND_NEAREST initializer.
4709 (__Qp_handle_exceptions): Update declaration.
4710 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4711 formatting.
4712
04fb54b5
TS
47132012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4714
4715 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4716 the temporary FPU control word.
4717 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4718 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4719 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4720 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4721 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4722 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4723 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4724 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4725 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4726 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4727 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4728
3f99608f
KK
47292012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4730
4731 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4732 fields.
4733
65a4de4e
CLT
47342012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4735
4736 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4737 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4738 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4739 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4740 Likewise.
4741 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4742 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4743 Likewise.
4744
15749d40
UD
47452012-05-27 Ulrich Drepper <drepper@gmail.com>
4746
4747 * po/h.po: Update from translation team.
4748
25dbcb27
AS
47492012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4750
3d3f8e55
AS
4751 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4752
25dbcb27
AS
4753 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4754 handling of denormals.
4755 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4756 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4757 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4758 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4759 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4760 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4761 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4762 Likewise.
4763
7ad47a80 47642012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4765
4766 [BZ #14152]
4767 * math/libm-test.inc (fma_test): Don't always expect underflow
4768 exception.
4769
9c6ea9fa
SP
47702012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4771
4772 [BZ #12416]
4773 * elf/tst-execstack.c: Include stackinfo.h.
4774 (do_test): Adjust test case to ensure that pthread_getattr_np
4775 behaviour remains the same after marking stack executable.
4776
a8239222
JM
47772012-05-25 Joseph Myers <joseph@codesourcery.com>
4778
4779 * sysdeps/unix/sysv/linux/kernel-features.h
4780 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4781 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4782 kernel-features.h.
4783 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4784 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4785 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4786 kernel-features.h.
4787 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4788 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4789
918b5606
L
47902012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4791
4792 * configure.in: Define the default includes to being none.
4793 * configure: Regenerated.
4794
3a097cc7
RM
47952012-05-25 Roland McGrath <roland@hack.frob.com>
4796
8422c9a5
RM
4797 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4798 * sysdeps/x86_64/setjmp.S: Likewise.
4799 * sysdeps/i386/bsd-setjmp.S: Likewise.
4800 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4801 * sysdeps/i386/setjmp.S: Likewise.
4802 * sysdeps/i386/__longjmp.S: Likewise.
4803 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4804 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4805
3a097cc7
RM
4806 * include/stap-probe.h: New file.
4807 * configure.in: Handle --enable-systemtap.
4808 * configure: Regenerated.
4809 * config.h.in (USE_STAP_PROBE): New #undef.
4810 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4811 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4812 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4813
21708942
JM
48142012-05-25 Joseph Myers <joseph@codesourcery.com>
4815
4816 [BZ #13717]
4817 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4818 to 2.4.0 where earlier.
4819 * sysdeps/unix/sysv/linux/configure: Regenerated.
4820 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4821 <kernel-features.h>.
4822 [__ASSUME_32BITUIDS]: Make code unconditional.
4823 [!__ASSUME_32BITUIDS]: Remove conditional code.
4824 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4825 <kernel-features.h>.
4826 [__ASSUME_32BITUIDS]: Make code unconditional.
4827 [!__ASSUME_32BITUIDS]: Remove conditional code.
4828 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4829 [__ASSUME_32BITUIDS]: Make code unconditional.
4830 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4831 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4832 <kernel-features.h>.
4833 [__ASSUME_32BITUIDS]: Make code unconditional.
4834 [!__ASSUME_32BITUIDS]: Remove conditional code.
4835 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4836 <kernel-features.h>.
4837 [__ASSUME_32BITUIDS]: Make code unconditional.
4838 [!__ASSUME_32BITUIDS]: Remove conditional code.
4839 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4840 <kernel-features.h>.
4841 [__ASSUME_32BITUIDS]: Make code unconditional.
4842 [!__ASSUME_32BITUIDS]: Remove conditional code.
4843 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4844 <kernel-features.h>.
4845 [__ASSUME_32BITUIDS]: Make code unconditional.
4846 [!__ASSUME_32BITUIDS]: Remove conditional code.
4847 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4848 <kernel-features.h>.
4849 [__ASSUME_32BITUIDS]: Make code unconditional.
4850 [!__ASSUME_32BITUIDS]: Remove conditional code.
4851 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4852 <kernel-features.h>.
4853 [__ASSUME_32BITUIDS]: Make code unconditional.
4854 [!__ASSUME_32BITUIDS]: Remove conditional code.
4855 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4856 <kernel-features.h>.
4857 [__ASSUME_32BITUIDS]: Make code unconditional.
4858 [!__ASSUME_32BITUIDS]: Remove conditional code.
4859 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4860 <kernel-features.h>.
4861 [__ASSUME_32BITUIDS]: Make code unconditional.
4862 [!__ASSUME_32BITUIDS]: Remove conditional code.
4863 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4864 <kernel-features.h>.
4865 [__ASSUME_32BITUIDS]: Make code unconditional.
4866 [!__ASSUME_32BITUIDS]: Remove conditional code.
4867 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4868 <kernel-features.h>.
4869 [__ASSUME_32BITUIDS]: Make code unconditional.
4870 [!__ASSUME_32BITUIDS]: Remove conditional code.
4871 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4872 <kernel-features.h>.
4873 [__NR_setresgid] (__setresgid): Do not declare.
4874 [__ASSUME_32BITUIDS]: Make code unconditional.
4875 [!__ASSUME_32BITUIDS]: Remove conditional code.
4876 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4877 <kernel-features.h>.
4878 [__NR_setresuid] (__setresuid): Do not declare.
4879 [__ASSUME_32BITUIDS]: Make code unconditional.
4880 [!__ASSUME_32BITUIDS]: Remove conditional code.
4881 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4882 <kernel-features.h>.
4883 [__ASSUME_32BITUIDS]: Make code unconditional.
4884 [!__ASSUME_32BITUIDS]: Remove conditional code.
4885 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4886 <kernel-features.h>.
4887 [__ASSUME_32BITUIDS]: Make code unconditional.
4888 [!__ASSUME_32BITUIDS]: Remove conditional code.
4889 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4890 <kernel-features.h>.
4891 [__ASSUME_32BITUIDS]: Make code unconditional.
4892 [!__ASSUME_32BITUIDS]: Remove conditional code.
4893 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4894 <kernel-features.h>.
4895 [__ASSUME_32BITUIDS]: Make code unconditional.
4896 [!__ASSUME_32BITUIDS]: Remove conditional code.
4897 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4898 <kernel-features.h>.
4899 [__ASSUME_32BITUIDS]: Make code unconditional.
4900 [!__ASSUME_32BITUIDS]: Remove conditional code.
4901 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4902 <kernel-features.h>.
4903 [__ASSUME_32BITUIDS]: Make code unconditional.
4904 [!__ASSUME_32BITUIDS]: Remove conditional code.
4905 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4906 <kernel-features.h>.
4907 [__ASSUME_32BITUIDS]: Make code unconditional.
4908 [!__ASSUME_32BITUIDS]: Remove conditional code.
4909 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4910 <kernel-features.h>.
4911 [__ASSUME_32BITUIDS]: Make code unconditional.
4912 [!__ASSUME_32BITUIDS]: Remove conditional code.
4913 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4914 <kernel-features.h>.
4915 [__ASSUME_32BITUIDS]: Make code unconditional.
4916 [!__ASSUME_32BITUIDS]: Remove conditional code.
4917 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4918 <kernel-features.h>.
4919 [__ASSUME_32BITUIDS]: Make code unconditional.
4920 [!__ASSUME_32BITUIDS]: Remove conditional code.
4921 * sysdeps/unix/sysv/linux/kernel-features.h
4922 (__ASSUME_SETRESUID_SYSCALL): Remove.
4923 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4924 (__ASSUME_32BITUIDS): Likewise.
4925 (__ASSUME_LDT_WORKS): Likewise.
4926 (__ASSUME_O_DIRECTORY): Likewise.
4927 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4928 architecture but not kernel version.
4929 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4930 (__ASSUME_MMAP2_SYSCALL): Likewise.
4931 (__ASSUME_STAT64_SYSCALL): Likewise.
4932 (__ASSUME_IPC64): Likewise.
4933 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4934 <kernel-features.h>.
4935 [__ASSUME_32BITUIDS]: Make code unconditional.
4936 [!__ASSUME_32BITUIDS]: Remove conditional code.
4937 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4938 <kernel-features.h>.
4939 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4940 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4941 132096]: Remove conditional code.
4942 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4943 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4944 <kernel-features.h>.
4945 [__ASSUME_32BITUIDS]: Make code unconditional.
4946 [!__ASSUME_32BITUIDS]: Remove conditional code.
4947 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4948 <kernel-features.h>.
4949 [__ASSUME_32BITUIDS]: Make code unconditional.
4950 [!__ASSUME_32BITUIDS]: Remove conditional code.
4951 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4952 <kernel-features.h>.
4953 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4954 unconditional.
4955 (__setresgid): Do not declare.
4956 [__ASSUME_32BITUIDS]: Make code unconditional.
4957 [!__ASSUME_32BITUIDS]: Remove conditional code.
4958 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4959 <kernel-features.h>.
4960 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4961 unconditional.
4962 (__setresuid): Do not declare.
4963 [__ASSUME_32BITUIDS]: Make code unconditional.
4964 [!__ASSUME_32BITUIDS]: Remove conditional code.
4965 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4966 <kernel-features.h>.
4967 [__ASSUME_32BITUIDS]: Make code unconditional.
4968 [!__ASSUME_32BITUIDS]: Remove conditional code.
4969 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4970 <kernel-features.h>.
4971 [__ASSUME_32BITUIDS]: Make code unconditional.
4972 [!__ASSUME_32BITUIDS]: Remove conditional code.
4973
a386f1cc
RH
49742012-05-25 Richard Henderson <rth@twiddle.net>
4975
4976 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4977 dl_hwcap to ifunc resolver.
4978 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4979 elf_ifunc_invoke.
4980 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4981 dl_hwcap to ifunc resolver.
4982 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4983
b6550497
JM
49842012-05-24 Joseph Myers <joseph@codesourcery.com>
4985
4986 [BZ #14153]
4987 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4988 for |x| <= 2**-26, not 2**-57.
4989 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4990 exception.
4991
b0bc23a1
JL
49922012-05-24 Jeff Law <law@redhat.com>
4993
4994 * stdio-common/Makefile (tests): Add bug25.
4995 * stdio-common/bug25.c: New test.
4996
347c92e9
L
49972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4998
4999 [BZ #13576]
5000 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5001 multiple of MALLOC_ALIGNMENT in size.
5002 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5003
6bcc8b3f
JM
50042012-05-24 Joseph Myers <joseph@codesourcery.com>
5005
5006 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5007 Require >= 256.
5008 (FILENAME_MAX): Use macro-int-constant.
5009 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5010 (_IOFBF): Use macro-int-constant.
5011 (_IOLBF): Likewise.
5012 (_IONBF): Likewise.
5013 (SEEK_CUR): Likewise.
5014 (SEEK_END): Likewise.
5015 (SEEK_SET): Likewise.
5016 (TMP_MAX): Likewise.
5017 (EOF): Use macro-int-constant. Require < 0.
5018 (NULL): Use macro-constant. Require == 0.
5019 (stdin): Require type to be FILE *.
5020 (stdout): Likewise.
5021 (stderr): Likewise.
5022 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5023 macro-int-constant.
5024 (EXIT_SUCCESS): Likewise.
5025 (NULL): Use macro-constant. Require == 0.
5026 (RAND_MAX): Use macro-int-constant.
5027 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5028 [C99-based standards] (strtof): Require function.
5029 [C99-based standards] (strtold): Likewise.
5030 [C99-based standards] (strtoll): Likewise.
5031 [C99-based standards] (strtoull): Likewise.
5032 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5033 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5034 [ISO || ISO99 || ISO11] (math.h): Likewise.
5035 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5036 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5037 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5038
d18ea0c5
AS
50392012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5040
5041 [BZ #14132]
56d25bb8
AS
5042 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5043 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5044 * intl/dgettext.c (DCGETTEXT): Likewise.
5045 * intl/gettext.c (DCGETTEXT): Likewise.
5046 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5047 * posix/regex_internal.h (gettext): Likewise.
5048 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5049 Remove declaration.
5050 * include/argz.h (__argz_count_internal)
5051 (__argz_stringify_internal): Remove declaration.
5052 (__argz_count, __argz_stringify): Declare hidden proto.
5053 * intl/dcgettext.c: Remove use of INTDEF.
5054 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5055 * string/argz-stringify.c: Likewise.
5056 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5057 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5058 Declare hidden proto.
d18ea0c5
AS
5059 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5060 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5061 Declare hidden proto.
5062 * include/stdio.h (__asprintf_internal): Don't declare.
5063 (__asprintf): Don't define as macro. Declare hidden proto.
5064 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5065 (__fsetlocking): Declare hidden proto.
5066 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5067 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5068 hidden proto.
5069 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5070 (_IO_setlinebuf): Remove use of INTUSE.
5071 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5072 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5073 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5074 Remove declaration.
5075 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5076 (_IO_do_flush): Remove use of INTUSE.
5077 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5078 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5079 (_IO_adjust_column, _IO_least_wmarker)
5080 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5081 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5082 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5083 (_IO_default_doallocate, _IO_wdefault_doallocate)
5084 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5085 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5086 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5087 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5088 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5089 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5090 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5091 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5092 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5093 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5094 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5095 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5096 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5097 proto.
5098 (_IO_flush_all_internal, _IO_adjust_column_internal)
5099 (_IO_default_uflow_internal, _IO_default_finish_internal)
5100 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5101 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5102 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5103 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5104 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5105 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5106 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5107 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5108 (_IO_file_close_internal, _IO_file_close_it_internal)
5109 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5110 (_IO_file_init_internal, _IO_file_attach_internal)
5111 (_IO_file_fopen_internal, _IO_file_read_internal)
5112 (_IO_file_sync_internal, _IO_file_seek_internal)
5113 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5114 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5115 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5116 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5117 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5118 (_IO_list_all_internal, _IO_link_in_internal)
5119 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5120 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5121 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5122 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5123 (_IO_do_write_internal, _IO_padn_internal)
5124 (_IO_getline_info_internal, _IO_getline_internal)
5125 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5126 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5127 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5128 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5129 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5130 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5131 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5132 with libc_hidden_ver, remove use of INTUSE.
5133 * libio/genops.c: Likewise.
5134 * libio/freopen.c: Likewise.
5135 * libio/freopen64.c: Likewise.
5136 * libio/iofclose.c: Likewise.
5137 * libio/iofdopen.c: Likewise.
5138 * libio/iofflush.c: Likewise.
5139 * libio/iofflush_u.c: Likewise.
5140 * libio/iofgets.c: Likewise.
5141 * libio/iofgets_u.c: Likewise.
5142 * libio/iofopen.c: Likewise.
5143 * libio/iofopncook.c: Likewise.
5144 * libio/iofread.c: Likewise.
5145 * libio/iofread_u.c: Likewise.
5146 * libio/ioftell.c: Likewise.
5147 * libio/iofwrite.c: Likewise.
5148 * libio/iogetline.c: Likewise.
5149 * libio/iogets.c: Likewise.
5150 * libio/iogetwline.c: Likewise.
5151 * libio/iopadn.c: Likewise.
5152 * libio/iopopen.c: Likewise.
5153 * libio/ioseekoff.c: Likewise.
5154 * libio/ioseekpos.c: Likewise.
5155 * libio/iosetbuffer.c: Likewise.
5156 * libio/iosetvbuf.c: Likewise.
5157 * libio/ioungetc.c: Likewise.
5158 * libio/ioungetwc.c: Likewise.
5159 * libio/iovdprintf.c: Likewise.
5160 * libio/iovsprintf.c: Likewise.
5161 * libio/iovsscanf.c: Likewise.
5162 * libio/memstream.c: Likewise.
5163 * libio/obprintf.c: Likewise.
5164 * libio/oldfileops.c: Likewise.
5165 * libio/oldiofclose.c: Likewise.
5166 * libio/oldiofdopen.c: Likewise.
5167 * libio/oldiofopen.c: Likewise.
5168 * libio/oldiopopen.c: Likewise.
5169 * libio/oldstdfiles.c: Likewise.
5170 * libio/putc.c: Likewise.
5171 * libio/setbuf.c: Likewise.
5172 * libio/setlinebuf.c: Likewise.
5173 * libio/stdfiles.c: Likewise.
5174 * libio/strops.c: Likewise.
5175 * libio/vasprintf.c: Likewise.
5176 * libio/vscanf.c: Likewise.
5177 * libio/vsnprintf.c: Likewise.
5178 * libio/vswprintf.c: Likewise.
5179 * libio/wfiledoalloc.c: Likewise.
5180 * libio/wfileops.c: Likewise.
5181 * libio/wgenops.c: Likewise.
5182 * libio/wmemstream.c: Likewise.
5183 * libio/wstrops.c: Likewise.
5184 * libio/__fpurge.c: Likewise.
5185 * libio/__fsetlocking.c: Likewise.
5186 * assert/assert.c: Likewise.
5187 * debug/fgets_chk.c: Likewise.
5188 * debug/fgets_u_chk.c: Likewise.
5189 * debug/fread_chk.c: Likewise.
5190 * debug/fread_u_chk.c: Likewise.
5191 * debug/gets_chk.c: Likewise.
5192 * debug/obprintf_chk.c: Likewise.
5193 * debug/vasprintf_chk.c: Likewise.
5194 * debug/vdprintf_chk.c: Likewise.
5195 * debug/vsnprintf_chk.c: Likewise.
5196 * debug/vsprintf_chk.c: Likewise.
5197 * malloc/mtrace.c: Likewise.
5198 * misc/error.c: Likewise.
5199 * misc/syslog.c: Likewise.
5200 * stdio-common/asprintf.c: Likewise.
5201 * stdio-common/fxprintf.c: Likewise.
5202 * stdio-common/getw.c: Likewise.
5203 * stdio-common/isoc99_fscanf.c: Likewise.
5204 * stdio-common/isoc99_scanf.c: Likewise.
5205 * stdio-common/isoc99_vfscanf.c: Likewise.
5206 * stdio-common/isoc99_vscanf.c: Likewise.
5207 * stdio-common/isoc99_vsscanf.c: Likewise.
5208 * stdio-common/printf-prs.c: Likewise.
5209 * stdio-common/printf_fp.c: Likewise.
5210 * stdio-common/printf_fphex.c: Likewise.
5211 * stdio-common/printf_size.c: Likewise.
5212 * stdio-common/putw.c: Likewise.
5213 * stdio-common/scanf.c: Likewise.
5214 * stdio-common/sprintf.c: Likewise.
5215 * stdio-common/tmpfile.c: Likewise.
5216 * stdio-common/vfprintf.c: Likewise.
5217 * stdio-common/vfscanf.c: Likewise.
5218 * stdlib/strfmon_l.c: Likewise.
5219 * sunrpc/openchild.c: Likewise.
5220 * sunrpc/xdr_stdio.c: Likewise.
5221 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5222 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5223
d6c33fda
RM
52242012-05-24 Roland McGrath <roland@hack.frob.com>
5225
c1487492
RM
5226 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5227
5228 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5229 in the third column, to generate for the shared library an IFUNC
5230 that uses _dl_vdso_vsym.
5231 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5232 * Makeconfig (object-suffixes-noshared): New variable.
5233
5234 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5235 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5236 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5237 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5238
d6c33fda
RM
5239 [BZ #14132]
5240 * include/sys/time.h (__gettimeofday): Remove macro.
5241 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5242 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5243 Remove INTDEF.
5244 (__gettimeofday): Add libc_hidden_def.
5245 (gettimeofday): Add libc_hidden_weak.
5246 * sysdeps/mach/gettimeofday.c: Likewise.
5247 * sysdeps/posix/gettimeofday.c: Likewise.
5248 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5249 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5251 (__gettimeofday_internal): Remove strong_alias.
5252 (__gettimeofday): Add libc_hidden_def.
5253 (gettimeofday): Add libc_hidden_weak.
5254 * sysdeps/unix/syscalls.list (gettimeofday):
5255 Remove __gettimeofday_internal alias.
5256
b5a2bbe6
L
52572012-05-24 Daniel Jacobowitz <drow@false.org>
5258 H.J. Lu <hongjiu.lu@intel.com>
5259
5260 [BZ #12495]
5261 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5262 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5263 (largebin_index_32_big): New.
5264 (largebin_index): Use it for 16-byte alignment.
5265 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5266 correction with front_misalign.
5267
cfba4fda
L
52682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5269
7f907421
L
5270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5272 Likewise.
5273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5274 Likewise.
5275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5276 Likewise.
5277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5278 Likewise.
5279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5280 Likewise.
5281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5282 Likewise.
5283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5284 Likewise.
5285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5286 Likewise.
5287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5288 Likewise.
5289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5290 Likewise.
5291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5292 Likewise.
5293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5294 Likewise.
5295
cfba4fda
L
5296 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5297 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5298
80bad0cc
JM
52992012-05-24 Joseph Myers <joseph@codesourcery.com>
5300
7a25eb06
JM
5301 [BZ #10846]
5302 [BZ #14036]
5303 * math/libm-test.inc (exp_test): Add test from bug 14036.
5304 (pow_test): Add test from bug 10846.
5305
795405f9
JM
5306 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5307 and other flags.
5308 (special_function): Do not include flags in test name.
5309 (parse_args): Likewise.
5310 * sysdeps/i386/fpu/libm-test-ulps: Update.
5311 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5312 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5313 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5315
80bad0cc
JM
5316 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5317 exceptions.
5318 * math/libm-test.inc ("Philosophy"): Update comment about
5319 exception testing.
5320 (UNDERFLOW_EXCEPTION): New macro.
5321 (UNDERFLOW_EXCEPTION_OK): Likewise.
5322 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5323 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5324 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5325 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5326 (INVALID_EXCEPTION_OK): Update value.
5327 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5328 (OVERFLOW_EXCEPTION_OK): Likewise.
5329 (IGNORE_ZERO_INF_SIGN): Likewise.
5330 (test_exceptions): Handle underflow exceptions.
5331 (acos_test): Update for underflow exception expectations.
5332 (cexp_test): Likewise.
5333 (clog_test): Likewise.
5334 (clog10_test): Likewise.
5335 (csqrt_test): Likewise.
5336 (ctan_test): Likewise.
5337 (ctanh_test): Likewise.
5338 (exp_test): Likewise.
5339 (exp10_test): Likewise.
5340 (exp2_test): Likewise.
5341 (expm1_test): Likewise.
5342 (fma_test): Likewise.
5343 (j0_test): Likewise.
5344 (jn_test): Likewise.
5345 (nexttoward_test): Likewise.
5346 (pow_test): Likewise.
5347 (scalbn_test): Likewise.
5348 (scalbln_test): Likewise.
5349 (tan_test): Likewise.
5350 (y1_test): Likewise.
5351 * sysdeps/i386/fpu/libm-test-ulps: Update.
5352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5353
9e0e3d0b
DM
53542012-05-23 David S. Miller <davem@davemloft.net>
5355
5356 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5357 (__libc_sigaction): Remove unused local variables.
5358
ccd0a08f
L
53592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5360
5361 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5362
62bdf9a6
PE
53632012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5364
f8591f80
PE
5365 mktime: avoid signed integer overflow
5366 * time/mktime.c (__mktime_internal): Do not mishandle the case
5367 where diff == INT_MIN.
5368
94c7d826
PE
5369 mktime: simplify computation of average
5370 * time/mktime.c (ranged_convert): Use new time_t_avg function
5371 instead of rolling our own (probably-slower) code.
5372
ce73d683
PE
5373 mktime: do not assume signed right shift propagates sign bit
5374 * time/mktime.c (isdst_differ): New static function.
5375 (__mktime_internal): No need to normalize tm_isdst now.
5376 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5377 tm_isdst values.
5378
72a22e59
PE
5379 mktime: merge another wrapv change from gnulib
5380 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5381 from some compilers.
5382
68605433
PE
5383 mktime: remove incorrect attempt at unusual arithmetics
5384 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5385 The code didn't really work on such machines anyway.
5386 (TYPE_MINIMUM): Assume two's complement.
5387 (twos_complement_arithmetic): Verify that long_int and time_t
5388 are two's complement (or unsigned, in the latter case).
5389
03cf7fe3
PE
5390 mktime: check signed shifts on long_int and time_t, too
5391 * time/mktime.c (SHR): Check that shifts work as desired
5392 on the types long_int and time_t too, as SHR is used on
5393 such types.
5394
f04dfbc2
PE
5395 mktime: do not assume 'long' is wide enough
5396 * time/mktime.c (verify): Move decl up.
5397 (long_int): New type.
5398 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5399 to remove assumption in the code that 'long' is wide enough to
5400 store year values. This assumption is not true on x32 and on
5401 some non-glibc platforms.
5402
62bdf9a6
PE
5403 mktime: merge wrapv change from gnulib
5404 * time/mktime.c (WRAPV): New macro.
5405 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5406 (guess_time_tm, __mktime_internal): Do not assume that signed
5407 integer overflow wraps around; modern compilers generate code
5408 where this assumption is no longer valid.
5409
5e292e4f
L
54102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5411
5412 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5413 Replace "jmp L(pseudo_end)" with "ret".
5414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5415 Likewise.
5416
8caf8c87
AJ
54172012-05-23 Andreas Jaeger <aj@suse.de>
5418
5419 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5420 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5421
1a09dc56
AJ
54222012-05-23 Andreas Jaeger <aj@suse.de>
5423 Maximilian Attems <max@stro.at>
5424
5425 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5426 New macros.
5427
1c87aba0
L
54282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5429
5430 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5431 code so that pseudo_end is just ret and the stack pointer is
5432 correct also for static library in error case.
5433
40e45bd5
JM
54342012-05-23 Joseph Myers <joseph@codesourcery.com>
5435
c2670533
JM
5436 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5437 move to syscalls.list.
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5442
40e45bd5
JM
5443 * manual/install.texi (Running make install): Do not mention Linux
5444 kernel version for which pt_chown is not needed.
5445 (Linux): Do not mention problems with nscd with 2.0 kernels.
5446 * INSTALL: Regenerated.
5447
be08eda5
AJ
54482012-05-23 Andreas Jaeger <aj@suse.de>
5449
5450 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5451 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5452 macro.
5453 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5454 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5455 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5456 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5457 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5458 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5459 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5460 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5461 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5462 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5463 * sysdeps/unix/sysv/linux/bits/in.h
5464 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5465
a6a056bb
RM
54662012-05-22 Roland McGrath <roland@hack.frob.com>
5467
5468 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5469 (PREPARE_VERSION): Just use assert instead, it will be elided
5470 under [NDEBUG] anyway.
5471
c9009328
L
54722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5473
5474 * sysdeps/unix/sysv/linux/Makefile: Include
5475 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5476 (sysdep_routines): Remove sysctl.
c9009328
L
5477 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5478 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5479 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5480 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5481 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5482
73338355
AJ
54832012-05-22 Andreas Jaeger <aj@suse.de>
5484
5485 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5486 that pseudo_end is just ret and the stack pointer is correct also
5487 for static library in error case.
5488
d44638b0
PP
54892012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5490
5491 [BZ #14122]
5492 * nss/nsswitch.c (defconfig_entries): New variable.
5493 (__nss_database_lookup): Don't leak defconfig entries.
5494 (nss_parse_service_list): Don't leak on error paths.
5495 (free_database_entries): New function.
5496 (free_defconfig): New function.
5497 (free_mem): Move common code to free_database_entries.
5498
31a39bd8
L
54992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5500
da0331a8
L
5501 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5502 Add arch_prctl.
5503 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5504
31a39bd8
L
5505 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5506 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5508 New macro.
5509 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5510 (INTERNAL_SYSCALL_TYPES): Likewise.
5511 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5512 (LOAD_REGS_TYPES_[1-6]): Likewise.
5513 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5514 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5515
45470df3
AZ
55162012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5517
5518 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5519 copysignl for GLIBC_2_0.
5520 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5521 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5522 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5523 logbl for GLIBC_2_0.
5524 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5525 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5526
98a61bcb
L
55272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5528
a4f6e481
L
5529 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5530 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5531
f63d5db6
L
5532 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5533 Use "neg %eax".
5534
98a61bcb
L
5535 * time/mktime.c: Update copyright years.
5536
95770f14
PE
55372012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5538
6226efbd
PE
5539 mktime: merge comment-quoting-style change from gnulib
5540 * time/mktime.c: Quote 'like this' in comments.
5541 The GNU coding standards suggest that we no longer quote `like this',
5542 as "`" and "'" are typically rendered asymmetrically nowadays.
5543 The typical gnulib style is to quote 'like this' when quoting
5544 code, and "like this" when quoting English.
5545
b99e4f78
PE
5546 * time/mktime.c (compile-command): Add "-I.".
5547
643e01e6
PE
5548 mktime: merge mktime-internal.h change from gnulib
5549 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5550
2554247d
PE
5551 mktime: merge time_r change from gnulib
5552 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5553
826dd0ab
PE
5554 mktime: merge DEBUG change from gnulib
5555 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5556 case system <time.h> has a #define.
5557
bd83aabe
PE
5558 mktime: merge <sys/types.h> change from gnulib
5559 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5560 since <time.t> is now guaranteed to define time_t.
5561
95770f14
PE
5562 mktime: merge HAVE_CONFIG_H change from gnulib
5563 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5564
5e1a27a9
L
55652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5566
0e44a77e
L
5567 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5568 Use "neg %eax".
5569
5e1a27a9
L
5570 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5571 __rlim_t cast.
5572 (struct rusage): Use anonymous union to pad each field to
5573 __syscall_slong_t.
5574
46259bec
DM
55752012-05-21 David S. Miller <davem@davemloft.net>
5576
5577 * Makefules (o-iterator): Remove .s cases.
5578 (compile-command.s): Delete.
5579 (COMPILE.s): Delete.
5580 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5581
59f0c22e
JM
55822012-05-21 Joseph Myers <joseph@codesourcery.com>
5583
5584 * configure.in (libc_cv_predef_stack_protector): Only consider
5585 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5586 * configure: Regenerated.
5587
20c07380
L
55882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5589
bbb3154b
L
5590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5591 New macro. Use R*LP on int and pointer.
5592 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5593 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5594 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5595 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5596
20c07380
L
5597 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5598 [__WORDSIZE_TIME64_COMPAT32] instead of
5599 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5600 (struct utmp): Likewise.
5601 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5602 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5603 Renamed to ...
5604 (__WORDSIZE_TIME64_COMPAT32): This.
5605 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5606 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5607 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5608 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5609 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5610 (__WORDSIZE_TIME64_COMPAT32): New macro.
5611
d8d1017e
AJ
56122012-05-21 Andreas Jaeger <aj@suse.de>
5613
5614 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5615 only if [SHARED]. Add prototype for __wcschr_ia32.
5616
6c7fb145
RM
56172012-05-21 Roland McGrath <roland@hack.frob.com>
5618
5619 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5620 of %rbp unmolested in the jmp_buf while mangling the low bits.
5621 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5622 unmolested high bits of %rbp while demangling the low bits.
5623 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5624
66274218
AJ
56252012-05-21 Andreas Jaeger <aj@suse.de>
5626
07c58f8f
AJ
5627 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5628 * sunrpc/svc_simple.c: Use it for registerrpc.
5629 * sunrpc/xcrypt.c: Use it for passwd2des.
5630
66274218
AJ
5631 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5632
61f65140
L
56332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5634
5635 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5636 Don't define if [__SYSCALL_WORDSIZE != 32].
5637 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5638 New macro.
5639
5fefb436
AJ
56402012-05-21 Bruno Haible <bruno@clisp.org>
5641 Andreas Jaeger <aj@suse.de>
5642
5643 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5644 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5645 inptr and inend for must_buffer_ch.
5646 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5647 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5648 * stdio-common/Makefile (tests): Remove bug15.
5649 (bug15-ENV): Remove macro.
5650 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5651 anymore.
5652
d8e272ab
AJ
56532012-05-19 Andreas Jaeger <aj@suse.de>
5654 Roland McGrath <roland@hack.frob.com>
5655
5656 * manual/contrib.texi: Completely rewritten. It contains now an
5657 alphabetical list of contributors and their contributions.
5658
4a56a162
RH
56592012-05-21 Richard Henderson <rth@twiddle.net>
5660
5661 * misc/getauxval.c (__getauxval): Use unsigned long int.
5662 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5663 (getauxval): Use unsigned long int.
5664
d024d23c
L
56652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5666
5667 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5668
cbc00a03
RM
56692012-05-21 Roland McGrath <roland@hack.frob.com>
5670
5671 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5672 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5673 __alignof__ (long double).
5674
478143fa
AZ
56752012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5676
5677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5678
c7683a6d
RH
56792012-05-20 Richard Henderson <rth@twiddle.net>
5680
5681 * misc/getauxval.c: New file.
5682 * misc/sys/auxv.h: New file.
5683 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5684 (routines): Add getauxval.
5685 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5686 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5687 * elf/dl-sysdep.c (_dl_auxv): Remove.
5688 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5689 * elf/dl-support.c (_dl_auxv): New variable.
5690 (_dl_aux_init): Initialize it.
5691 * manual/startup.texi (Auxiliary Vector): New node.
5692 * sysdeps/generic/bits/hwcap.h: New file.
5693 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5694 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5695 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5696 * sysdeps/sparc/sysdep.h: ... here. Include it.
5697 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5698 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5700 Update.
c7683a6d
RH
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5704 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5709
a6f1845d
AZ
57102012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5711
5712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5713
cbcbe830
DM
57142012-05-19 David S. Miller <davem@davemloft.net>
5715
5716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5717
e0b16cc2
JM
57182012-05-19 Joseph Myers <joseph@codesourcery.com>
5719
5720 [BZ #14123]
5721 * math/s_ccosh.c: Include <float.h>
5722 (__ccosh): Avoid internal overflow calculating sinh and cosh
5723 values before multiplying by sin and cos values.
5724 * math/s_ccoshf.c: Likewise.
5725 * math/s_ccoshl.c: Likewise.
5726 * math/s_csin.c: Likewise.
5727 * math/s_csinf.c: Likewise.
5728 * math/s_csinl.c: Likewise.
5729 * math/s_csinh.c: Likewise.
5730 * math/s_csinhf.c: Likewise.
5731 * math/s_csinhl.c: Likewise.
5732 * math/libm-test.inc (ccos_test): Add more tests.
5733 (ccosh_test): Likewise.
5734 (csin_test): Likewise.
5735 (csinh_test): Likewise.
5736 * sysdeps/i386/fpu/libm-test-ulps: Update.
5737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5738
6ad13e08
L
57392012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5740
f66f0ce8
L
5741 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5742 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5743
6ad13e08
L
5744 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5745
b1d072a7
JM
57462012-05-19 Joseph Myers <joseph@codesourcery.com>
5747
5748 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5749 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5750 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5751 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5752 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5753 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5754 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5755 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5756 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5757 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5758 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5759 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5760 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5761 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5762 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5763 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5764 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5765 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5766 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5767 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5768 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5769 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5770 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5771 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5772 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5773 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5774 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5775 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5776 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5777 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5778 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5779
9eae47cb
AJ
57802012-05-18 Andreas Jaeger <aj@suse.de>
5781
5782 * csu/.gitignore: Delete.
5783
bb07f69f
L
57842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5785
5786 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5787 (timex): Use __syscall_slong_t.
5788
e6bdb741
AJ
57892012-05-18 Andreas Jaeger <aj@suse.de>
5790 Carlos O'Donell <carlos_odonell@mentor.com>
5791
5792 * manual/install.texi (Configuring and compiling): Update
5793 description about files modified in the source directory.
d6c33fda 5794 * INSTALL: Regenerated.
e6bdb741 5795
1b74487e
L
57962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5797
5798 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5799 value. Use "or" to set return value to -1.
5800 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5801 negate return value.
5802
a88b64b9
TMQMF
58032012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5804
5805 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5806 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5807 failure if the compiler has Graphite support disabled.
5808 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5809 Likewise.
5810 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5811 CFLAGS-memmove.c): Likewise.
5812 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5813 Likewise.
5814
3707636e
L
58152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5816
610b8622
L
5817 * sysdeps/x86_64/x32/_itoa.h: New file.
5818
7cd195df
L
5819 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5820 getdents system call only if kernel and user dirents have the
5821 same d_ino and d_off.
5822
94b07d20
L
5823 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5824 LLONG_MAX != LONG_MAX.
5825 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5826 (_fitoa_word): Likewise.
5827
18298070
L
5828 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5829 years.
5830 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5831 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5832 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5833
553c7ea4
L
5834 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5835 include <bits/wordsize.h>. Check __x86_64__ instead of
5836 __WORDSIZE.
5837 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5838 if __x86_64__ is defined. Use anonymous union on fpstate.
5839
3707636e
L
5840 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5841 anonymous union.
5842
b53ef01a
AS
58432012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5844
37fb1dc0
AS
5845 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5846 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5847 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5848 Refer to _rtld_local_ro instead of _rtld_global_ro.
5849 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5850 Likewise.
5851 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5852 Likewise.
5853 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5854 Likewise.
5855 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5856 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5857 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5858
b53ef01a
AS
5859 * sysdeps/powerpc/powerpc32/dl-machine.c
5860 (__elf_machine_runtime_setup) [PROF]: Don't reference
5861 _dl_prof_resolve.
5862
7a185db2
AJ
58632012-05-18 Andreas Jaeger <aj@suse.de>
5864
5865 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5866 function only available for GCCs before 3.4 since GCC 3.4
5867 introduced a builtin.
5868 (lrint): Likewise.
5869 (llrintf): Likewise.
5870 (llrint): Likewise.
5871 (fmaxf): Likewise.
5872 (fmax): Likewise.
5873 (fminf): Likewise.
5874 (fmin): Likewise.
5875 (rint): Likewise.
5876 (rintf): Likewise.
5877 (nearbyint): Likewise.
5878 (nearbyintf): Likewise.
5879 (ceil): Likewise.
5880 (ceilf): Likewise.
5881 (floor): Likewise.
5882 (floorf): Likewise.
5883
3e5aef87
L
58842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5885
428bd707
L
5886 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5887 on both fields and cast pointer to __syscall_ulong_t.
5888
3e5aef87
L
5889 * bits/types.h (__fsword_t): New type.
5890 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5891 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5892 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5893 (__FSWORD_T_TYPE): Likewise.
5894 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5895 (__FSWORD_T_TYPE): Likewise.
5896 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5897 (__FSWORD_T_TYPE): Likewise.
5898 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5899 (__FSWORD_T_TYPE): Likewise.
5900 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5901 __SWORD_TYPE with __fsword_t.
5902 (statfs64): Likewise.
5903
1ba7c3dc
DM
59042012-05-17 David S. Miller <davem@davemloft.net>
5905
5906 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5907
59910343
AJ
59082012-05-17 Andreas Jaeger <aj@suse.de>
5909
5910 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5911 warning.
5912
2e4c1e9e
L
59132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5914
5915 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5916
de7f5ce7
AJ
59172012-05-17 Andreas Jaeger <aj@suse.de>
5918
5919 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5920 when it is used.
5921
286abc3d
CM
59222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5923
5924 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5925
477cc68e
L
59262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5927
5928 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5929 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5930
1a0994f5
CD
59312012-05-17 Andreas Jaeger <aj@suse.de>
5932 Carlos O'Donell <carlos_odonell@mentor.com>
5933
5934 [BZ #14059]
5935 * sysdeps/x86_64/multiarch/init-arch.h
5936 (bit_YMM_Usable): Rename to...
5937 (bit_AVX_Usable): ... this.
5938 (bit_FMA4_Usable): New macro.
5939 (bit_XMM_state): New macro.
5940 (bit_YMM_state): New macro.
5941 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5942 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5943 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5944 (CPUID_OSXSAVE): New macro.
5945 (CPUID_AVX): New macro.
5946 (CPUID_FMA4): New macro.
5947 (index_YMM_Usable): Rename to...
5948 (index_AVX_Usable): ... this.
5949 (HAS_AVX): Use HAS_ARCH_FEATURE.
5950 (HAS_FMA4): Likewise.
5951 (HAS_YMM_USABLE): Remove.
5952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5953 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5954 are present.
5955 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5956 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5957 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5958 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5959 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5960
0af797de
CM
59612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5962
5963 * math/libm-test.c: Support platforms without multiple rounding modes.
5964 * math/bug-nextafter.c: Support platforms without FP exceptions.
5965 * math/bug-nexttoward.c: Likewise.
5966 * math/test-fenv.c: Likewise.
5967 * math/test-misc.c: Likewise.
5968 * stdlib/bug-getcontext.c: Likewise.
5969
e39745ff
AJ
59702012-05-17 Andreas Jaeger <aj@suse.de>
5971
5972 * manual/examples/search.c (critter_cmp): Change signature to
5973 avoid warnings.
5974 * manual/string.texi (Collation Functions): Likewise.
5975
48970aba
L
59762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5977
5978 * bits/types.h: Fold copyright years.
5979 * bits/typesizes.h: Likewise.
5980 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5981 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5982 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5983 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5984 * time/time.h: Likewise.
5985
bedee953
PP
59862012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5987
5988 [BZ #208]
5989 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5990 in instead of returning them. Return void.
5991 (__libc_mallinfo): Accumulate over all arenas.
5992 (__malloc_stats): Adjust for change in int_mallinfo interface.
5993
61653dfb
RM
59942012-05-16 Roland McGrath <roland@hack.frob.com>
5995
30b99d79
RM
5996 [BZ #10375]
5997 * configure.in (NM): Add AC_CHECK_TOOL for it.
5998 (libc_extra_cflags): New substituted variable.
5999 Check for -fstack-protector being used implicitly.
6000 * configure: Regenerated.
6001 * config.make.in (config-extra-cflags): New variable,
6002 gets @libc_extra_cflags@.
6003 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6004
61653dfb
RM
6005 [BZ #10375]
6006 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6007 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6008 * configure: Regenerated.
6009 * config.make.in (CPPUNDEFS): New substituted variable.
6010 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6011 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6012 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6013
661768bb
L
60142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6015
6016 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6017 (mq_attr): Use __syscall_slong_t.
6018
d4261567
L
60192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6020
6021 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6022 Check __x86_64__ instead of __WORDSIZE.
6023 (_STAT_VER_LINUX): Likewise.
6024 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6025 __syscall_ulong_t and __syscall_slong_t.
6026 (stat64): Likewise.
6027
cf3ff365
L
60282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6029
6030 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6031
76cf3e4d
L
60322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6033
6034 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6035
a637753a
L
60362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6037
6038 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6039 __syscall_ulong_t.
6040
d5e05119
L
6041 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6042 include <bits/wordsize.h>. Check __x86_64__ instead of
6043 __WORDSIZE.
6044 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6045 defined.
6046 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6047
f62ee380
L
6048 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6049 include <bits/wordsize.h>. Check __x86_64__ instead of
6050 __WORDSIZE.
6051 (user_regs_struct): Use "__extension__ unsigned long long"
6052 instead of "unsigned long" if __x86_64__ is defined.
6053 (user): Likewise. Pad after pointer field if __ILP32__ is
6054 defined.
6055
4e124ced
JM
60562012-05-16 Joseph Myers <joseph@codesourcery.com>
6057
6a3951a0
JM
6058 * configure.in (makeinfo): Require version 4.5 or later. Allow
6059 versions 5 to 9.
6060 * configure: Regenerated.
6061 * manual/install.texi (texinfo): Increase version requirement to
6062 4.5 or later.
6063 * INSTALL: Regenerated.
6064
4e124ced
JM
6065 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6066
953ca31a
L
60672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6068
6069 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6070
617aca05
L
6071 * sysdeps/x86_64/x32/ffs.c: New file.
6072
5762f7ae
L
6073 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6074 __syscall_ulong_t.
6075 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6076 defined. Use __syscall_ulong_t.
6077 (shminfo): Use __syscall_ulong_t.
6078 (shm_info): Likewise.
6079
a26b6856
L
6080 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6081 __syscall_ulong_t.
6082
cb2b9ef7
L
6083 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6084 <bits/wordsize.h>.
6085 (msgqnum_t): Use __syscall_ulong_t.
6086 (msglen_t): Likewise.
6087 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6088 __syscall_ulong_t.
6089
34683bb0
L
6090 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6091 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6092
84a68786
L
6093 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6094
48baa5f1
L
6095 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6096 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6097
180be88b
L
6098 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6099 __syscall_slong_t.
6100
5e90c8ad
L
6101 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6102 include <bits/wordsize.h>. Check __x86_64__ instead of
6103 __WORDSIZE.
6104
23dfb58b
L
6105 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6106 "unsigned long long int" if __x86_64__ is defined.
6107 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6108
ce5d54b0
L
6109 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6110 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6111 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6112
13dc9eac
L
6113 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6114 <stdint.h>.
6115 (GET_PC): Cast to uintptr_t first.
6116 (GET_FRAME): Likewise.
6117 (GET_STACK): Likewise.
6118
a7895d15
L
6119 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6120 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6121 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6122 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6123 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6124 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6125 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6126 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6127 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6128 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6129 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6130 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6131 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6132 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6133 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6134 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6135 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6136 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6137 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6138 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6139 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6140 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6141 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6142 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6143 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6144 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6145 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6146 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6147 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6148
656416c9
AS
61492012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6150
5bd66283
AS
6151 * Makerules (+depfiles): Also collect depfiles from .oS in
6152 $(extra-objs).
6153 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6154 .oS, $(libnldbl-routines)).
6155
656416c9
AS
6156 * Makerules (native-compile-mkdep-flags): Define.
6157 * sunrpc/Makefile (extra-objs): Add $(addprefix
6158 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6159 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6160 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6161 calling $(make-target-directory).
6162
a46f2169
L
61632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6164
6165 * bits/types.h (__snseconds_t): Removed.
6166 * time/time.h (struct timespec): Replace __snseconds_t with
6167 __syscall_slong_t.
6168 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6169 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6170 Likewise.
6171 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6172 (__SNSECONDS_T_TYPE): Likewise.
6173 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6174 (__SNSECONDS_T_TYPE): Likewise.
6175 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6176 (__SNSECONDS_T_TYPE): Likewise.
6177
6af6528b
L
61782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6179
6180 * sysdeps/mach/hurd/bits/typesizes.h
6181 (__SYSCALL_SLONG_TYPE): New macro.
6182 (__SYSCALL_ULONG_TYPE): Likewise.
6183
de986b56
L
61842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6185
6186 * bits/types.h (__syscall_slong_t): New type.
6187 (__syscall_ulong_t): Likewise.
6188
6189 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6190 (__SYSCALL_ULONG_TYPE): Likewise.
6191 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6192 (__SYSCALL_SLONG_TYPE): Likewise.
6193 (__SYSCALL_ULONG_TYPE): Likewise.
6194 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6195 (__SYSCALL_SLONG_TYPE): Likewise.
6196 (__SYSCALL_ULONG_TYPE): Likewise.
6197 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6198 (__SYSCALL_SLONG_TYPE): Likewise.
6199 (__SYSCALL_ULONG_TYPE): Likewise.
6200
85736dc7
L
62012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6202
6203 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6204 Add sigaltstack-offsets.sym.
6205 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6206 <sigaltstack-offsets.h>.
6207 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6208 longjmp_msg pointer.
6209 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6210 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6211 signal stack.
6212 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6213
cc03b296
JM
62142012-05-15 Joseph Myers <joseph@codesourcery.com>
6215
a9538892
JM
6216 * elf/stackguard-macros.h: Remove file.
6217 * sysdeps/generic/stackguard-macros.h: New file.
6218 * sysdeps/i386/stackguard-macros.h: Likewise.
6219 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6220 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6221 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6222 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6223 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6224 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6225 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6226 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6227 <elf/stackguard-macros.h>.
6228
cc03b296
JM
6229 [BZ #14109]
6230 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6231 __aligned__ in attribute.
6232 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6233 (gregset_t): Likewise.
6234
93171016
L
62352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6236
6237 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6238 * sysdeps/x86_64/64/Implies-after: Here. New file.
6239 * sysdeps/x86_64/x32/Implies-after: New file.
6240
d86813a0
L
62412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6242
6243 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6244 and access return value for _dl_profile_fixup. Use R10_LP to
6245 load frame size.
6246
2953ec75
L
62472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6248
6249 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6250
3b550e9e
L
62512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6252
6253 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6254 * sysdeps/x86_64/x32/sysdep.h: New file.
6255
eda41706
L
62562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6257
6258 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6259 * sysdeps/x86_64/setjmp.S: Likewise.
6260
9ea01d93
AZ
62612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6262
6263 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6264 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6265 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6266 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6267 remove unused global constant.
6268
02a91938
CM
62692012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6270
6271 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6272 include of <not-cancel.h>.
6273
6540185f
RM
62742012-05-15 Roland McGrath <roland@hack.frob.com>
6275
6276 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6277
509072a0
AJ
62782012-05-15 Jeff Law <law@redhat.com>
6279 Andreas Jaeger <aj@suse.de>
6280
6281 [BZ #13594]
6282 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6283 out from...
6284 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6285 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6286 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6287 code changing __hst_map_handle.map.
6288
ba75122d
RM
62892012-05-15 Roland McGrath <roland@hack.frob.com>
6290
6291 * configure.in (sysnames): Look for Implies-before and Implies-after
6292 files.
6293 * configure: Regenerated.
6294
890d8bd8
L
62952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6296
6297 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6298 8-byte data alignment with LP_SIZE alignment.
6299
f6ee6623
L
63002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6301
6302 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6303 into R10_LP.
6304
ea2626f6
L
63052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6306
6307 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6308
085f715e
L
63092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6310
6311 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6312 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6313 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6314 Likewise.
6315 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6316
be8498fc
L
63172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6318
6319 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6320 (stackinfo_sub_sp): Likewise.
6321
70bc83b9
L
63222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6323
6324 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6325 RAX_LP.
6326
9bc0b730
L
63272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6328
6329 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6330 into R*_LP.
6331
6d2850e7
L
63322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6333
6334 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6335 sizes into R*_LP.
6336
3cb84561
L
63372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6338
6339 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6340
54e2ed81
L
63412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6342
6343 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6344 into R11_LP and load __x86_64_shared_cache_size_half into
6345 R8_LP.
6346
8a17f349
L
63472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6348
6349 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6350 R8_LP.
6351
777b1eea
AZ
63522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6353
6354 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6355 logb for POWER7.
6356 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6357 logbf for POWER7.
6358 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6359 logbl for POWER7.
6360 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6361 powerpc32/power7/fpu/s_logb.c via #include.
6362 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6363 powerpc32/power7/fpu/s_logbf.c via #include.
6364 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6365 powerpc32/power7/fpu/s_logbl.c via #include.
6366
d20d4ac2
JM
63672012-05-15 Joseph Myers <joseph@codesourcery.com>
6368
6369 * README.libm: Remove file.
6370
6cdef1ab
L
63712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6372
6373 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6374 count for x32. Use R*_LP and omit operand-size suffix.
6375
0b254d8f
L
63762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6377
6378 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6379 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6380 * sysdeps/x86_64/x32/shlib-versions: New file.
6381
ceb809dc
RM
63822012-05-14 Roland McGrath <roland@hack.frob.com>
6383
6384 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6385 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6386 Use _dl_fatal_printf instead.
6387
37f1abd4
JM
63882012-05-14 Joseph Myers <joseph@codesourcery.com>
6389
6390 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6391 set if not set by the user. Do not allow for being unset.
6392 * sysdeps/unix/sysv/linux/configure: Regenerated.
6393
11de3a33
L
63942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6395
6396 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6397 the `q' suffix from lea and replace .quad with ASM_ADDR.
6398
e02f153a
L
63992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6400
6401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6402 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6403 instead of $17.
6404 (PTR_DEMANGLE): Likewise.
6405
520ae0fd
L
64062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6407
6408 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6409 (LP_OP): Likewise.
6410 (ASM_ADDR): Likewise.
6411 (RAX_LP): Likewise.
6412 (RBP_LP): Likewise.
6413 (RBX_LP): Likewise.
6414 (RCX_LP): Likewise.
6415 (RDI_LP): Likewise.
6416 (RSI_LP): Likewise.
6417 (RSP_LP): Likewise.
6418 (R8_LP): Likewise.
6419 (R9_LP): Likewise.
6420 (R10_LP): Likewise.
6421 (R10_LP): Likewise.
6422 (R11_LP): Likewise.
6423 (R12_LP): Likewise.
6424 (R13_LP): Likewise.
6425 (R14_LP): Likewise.
6426 (R15_LP): Likewise.
6427
b985be81
L
64282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6429
6430 * sysdeps/x86_64/x32/dl-machine.h: New file.
6431
6a4888ff
AJ
64322012-05-14 Andreas Jaeger <aj@suse.de>
6433
6434 * manual/Makefile (subdir): Remove export of subdir.
6435 (all): Remove target.
6436 (.PHONY): Remove all from list.
6437 (mkinstalldirs): Remove.
6438 (.PHONY): Remove installdirs from list.
6439 ($(inst_infodir)/libc.info): Use make-target-directory.
6440 (installdirs): Remove.
6441 (subdir_%): Remove.
6442 (glibc-targets): Remove.
6443 (lib): Remove.
6444 (stubs): Remove.
6445 ($(objpfx)stubs ../po/manual.pot): Remove.
6446 ($(objpfx)stamp%): Remove.
6447 (make-target-directory): Remove.
6448 (subdir_install): Remove.
6449 (routines): Remove.
6450 (aux): Remove.
6451 (sources): Remove.
6452 (objects): Remove.
6453 (headers): Remove.
6454
6455 [BZ #13750]
6456 * manual/.gitignore: Remove, it's not needed anymore.
6457 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6458 all files in it.
6459 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6460 directory.
6461 (texis): Renamed to $(objpfx)texis.
6462 (texis-path): New, contains path to generated files.
6463 (chapters.%): Use texis-path for complete path, add extra argument
6464 libc-texinfo.sh.
6465 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6466 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6467 (summary,texi, stamp-summary): Use complete path of
6468 files. Generate files in build dir.
6469 (dir-add.texi): Build in build dir.
6470 (libm-err.texi,stamp-libm-err): Likewise.
6471 (version.texi, stamp-version): Likewise.
6472 (.%c.texi): Likewise.
6473 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6474 (mostlyclean): Remove target.
6475 (realclean): Remove target.
6476 (generated): Add new variable with contents from mostlyclean and
6477 realclean, remove entries duplicated in common-mostlyclean, add
6478 stamp-libm-err and stamp-version.
6479 (generated-dirs): Add libc directory.
6480 ($(inst_infodir)/libc.info): Install files from build dir.
6481
6482 * manual/install.texi (Configuring and compiling): Adjust since
6483 the info files are not part of the tar ball anymore.
6484
7ac77294
AJ
64852012-05-14 Andreas Jaeger <aj@suse.de>
6486
6487 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6488 variable.
6489
ffb7875d
JM
64902012-05-14 Joseph Myers <joseph@codesourcery.com>
6491
6492 [BZ #13717]
6493 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6494 to 2.2.0 where earlier.
6495 * sysdeps/unix/sysv/linux/configure: Regenerated.
6496 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6497 Remove conditional code.
6498 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6499 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6500 Remove conditional code.
6501 [!__NR_lchown]: Likewise.
6502 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6503 [__NR_lchown]: Likewise.
6504 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6505 comment referencing __ASSUME_LCHOWN_SYSCALL.
6506 * sysdeps/unix/sysv/linux/i386/sigaction.c
6507 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6508 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6509 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6510 Remove conditional code.
6511 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6512 (__protocol_available): Remove #if 0 code.
6513 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6514 conditional code.
6515 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6516 * sysdeps/unix/sysv/linux/kernel-features.h
6517 (__ASSUME_GETCWD_SYSCALL): Don't define.
6518 (__ASSUME_REALTIME_SIGNALS): Likewise.
6519 (__ASSUME_PREAD_SYSCALL): Likewise.
6520 (__ASSUME_PWRITE_SYSCALL): Likewise.
6521 (__ASSUME_POLL_SYSCALL): Likewise.
6522 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6523 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6524 non-SPARC.
6525 (__ASSUME_SIOCGIFNAME): Don't define.
6526 (__ASSUME_MSG_NOSIGNAL): Likewise.
6527 (__ASSUME_SENDFILE): Define unconditionally.
6528 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6529 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6530 conditional code.
6531 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6532 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6533 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6534 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6535 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6536 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6537 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6539 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6542 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6545 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6548 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6551 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6554 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6557 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6558 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6560 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6561 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6562 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6563 Remove conditional code.
6564 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6565 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6566 Remove conditional code.
6567 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6568 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6569 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6570 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6571 Remove conditional code.
6572 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6573 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6574 Remove conditional code.
6575 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6576 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6577 Remove conditional code.
6578 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6579 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6580 Remove conditional code.
6581 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6582 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6583 Remove conditional code.
6584 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6585 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6586 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6587 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6588 * sysdeps/unix/sysv/linux/sigaction.c
6589 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6590 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6591 * sysdeps/unix/sysv/linux/sigpending.c
6592 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6593 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6594 * sysdeps/unix/sysv/linux/sigprocmask.c
6595 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6596 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6597 * sysdeps/unix/sysv/linux/sigsuspend.c
6598 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6599 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6600 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6601 (__libc_missing_rt_sigs): Remove.
6602 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6603 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6604 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6605 Remove conditional code.
6606 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6607 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6608 return 1.
6609 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6610 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6611 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6612 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6613
1bfb7291
AJ
66142012-05-14 Andreas Jaeger <aj@suse.de>
6615
caae5a81
AJ
6616 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6617 it's not used in glibc.
6618 (__coshm1): Likewise.
6619 (__acosh1p): Likewise.
6620 (__sgn): Likewise.
6621
1bfb7291
AJ
6622 * manual/string.texi (Copying and Concatenation): Add missing
6623 variable in concat example.
6624 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6625
c044d724
L
66262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6627
144c5467 6628 [BZ #14103]
c044d724
L
6629 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6630 __builtin_clzl with __builtin_clzll.
6631
2523c62b
L
66322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6633
6634 [BZ #14104]
6635 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6636 libc_freeres_ptr.
6637
d7bb4c42
LD
66382012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6639
6640 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6641 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6642 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6643 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6644
9dc4e1fb
MF
66452012-05-14 Mike Frysinger <vapier@gentoo.org>
6646
6647 * NEWS: Update ia64 info.
6648
c7df0112
AS
66492012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6650
6651 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6652 used as bcopy.
6653
dc70356c
TS
66542012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6655
6656 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6657 * sysdeps/unix/syscalls.list (dup3): Likewise.
6658 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6659 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6660
9fb1a21f
L
66612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6662
6663 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6664 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6665
4822a2a5
L
66662012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6667
6668 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6669 thread pointer.
6670 (TLS_IE): Use mov/add instead of movq/addq to load thread
6671 pointer.
6672 (TLS_GD_PREFIX): New.
6673 (TLS_GD): Use it.
6674
842b81d6
DM
66752012-05-11 David S. Miller <davem@davemloft.net>
6676
6677 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6678 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6679 (_FPU_SETCW): Likewise.
6680
1cf463cd
L
66812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6682
6683 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6684 is 32-byte aligned.
6685
60cc4a18
AS
66862012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6687
6688 [BZ #11837]
6689 * iconvdata/gb18030.c: Update tables.
6690 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6691 characters specially.
6692 (BODY for TO_LOOP): Add encoding of missing ranges.
6693
febb44a4
TS
66942012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6695
6696 [BZ #13673]
6697 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6698 * sysdeps/mach/hurd/dup3.c: Likewise.
6699 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6700 * sysdeps/powerpc/memmove.c:: Likewise.
6701
0a10fb9e
L
67022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6703
6704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6705 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6706
df8a552f
L
67072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6708
6709 * elf/elf.h (R_X86_64_RELATIVE64): New.
6710 (R_X86_64_NUM): Updated.
6711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6712 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6713 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6714 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6715 tst-quad1pie tst-quad2pie
6716 (modules-names): Add tst-quadmod1 tst-quadmod2.
6717 ($(objpfx)tst-quad1): New dependency.
6718 ($(objpfx)tst-quad2): Likewise.
6719 ($(objpfx)tst-quad1pie): Likewise.
6720 ($(objpfx)tst-quad2pie): Likewise.
6721 * sysdeps/x86_64/tst-quad1.c: New file.
6722 * sysdeps/x86_64/tst-quad1pie.c: New file.
6723 * sysdeps/x86_64/tst-quad2.c: Likewise.
6724 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6725 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6726 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6727 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6728 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6729
f34d6f84
ST
67302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6731
f42d41d1
ST
6732 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6733 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6734 * streams/stropts.h (t_scalar_t): Define type.
6735
3c3571fc
ST
6736 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6737 (_PATH_PRESERVE): Set to "/var/lib".
6738 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6739
61f06bd3
ST
6740 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6741 instead of int.
6742
918d4d71
ST
6743 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6744 if __dir_mkfile succeeded.
6745
f34d6f84
ST
6746 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6747 checking for _hurd_dtablesize. Unlock it right after having
6748 finished _hurd_dtable allocation.
6749
10589b4a
TS
67502012-05-10 Thomas Schwinge <thomas@schwinge.name>
6751
674cdbc7
TS
6752 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6753 * sysdeps/mach/hurd/configure: Regenerated.
6754 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6755 special-casing to...
6756 * sysdeps/gnu/configure.in: ... this new file.
6757 * sysdeps/unix/sysv/linux/configure: Regenerated.
6758 * sysdeps/gnu/configure: New generated file.
6759
8e41b99f
TS
6760 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6761 for Linux: use nsec instead of usec, as well as:
6762 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6763 members of type struct timespec.
6764 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6765 New macros.
6766 (struct stat64): Likewise.
6767 (_STATBUF_ST_NSEC): New macro.
6768 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6769
10589b4a
TS
6770 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6771 __strtoul_internal rather than strtoul.
6772
63643c85
PT
67732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6774
6775 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6776 and reject them.
6777
3faebe6a
ST
67782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6779
6780 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6781 which preserves existing values.
6782 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6783
c6474b07
PT
67842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6785
6786 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6787 TIMEOUT values. Return EINVAL for NFDS values either negative or
6788 greater than FD_SETSIZE.
6789
1043890b
ST
67902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6791
6792 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6793 allocated, call __vm_protect to finish enabling the existing space, and
6794 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6795 allocate the remainder.
6796
37ed8b9b
PT
67972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6798
6799 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6800 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6801
db653660
ST
68022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6803
37ed8b9b
PT
6804 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6805 sysdeps/mach/hurd/readlink.c.
b29d4053 6806
db653660
ST
6807 * posix/tst-sysconf.c (posix_options): Only use
6808 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6809 _POSIX_SYNCHRONIZED_IO when they are defined
6810 * sysdeps/mach/hurd/bits/posix_opt.h:
6811 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6812 (_XOPEN_REALTIME): Undefine macro.
6813 (_XOPEN_REALTIME_THREADS): Undefine macro.
6814 (_XOPEN_SHM): Undefine macro.
6815 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6816 macro to -1.
6817 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6818 macro to -1.
6819 (_POSIX_ASYNC_IO): Undefine macro.
6820 (_POSIX_PRIORITIZED_IO): Undefine macro.
6821 (_POSIX_SPIN_LOCKS): Define macro to -1.
6822
ee16e894
ST
6823 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6824 SA_NODEFER, SA_RESETHAND.
6825 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6826 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6827 F_DUPFD_CLOEXEC.
6828
6103ae3b
TS
68292012-05-10 Thomas Schwinge <thomas@schwinge.name>
6830
6831 * elf/Makefile (pldd-modules): Define unconditionally.
6832
80b4e5f3
TS
68332012-05-10 Thomas Schwinge <thomas@schwinge.name>
6834
6835 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6836
edadcbd6
ST
68372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6838
6839 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6840 Return ENOENT when name is empty.
6841 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6842
80694780
TS
68432012-05-10 Thomas Schwinge <thomas@schwinge.name>
6844
1792c087
TS
6845 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6846
80694780
TS
6847 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6848
6b645f0d
ST
68492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6850
80694780
TS
6851 Fix mlock in all cases except non-readable pages.
6852 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6853 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6854
6b645f0d
ST
6855 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6856 (__mkdir): When path is `/', just fail with EEXIST.
6857 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6858
e468f8a3
TS
68592012-05-10 Thomas Schwinge <thomas@schwinge.name>
6860
6861 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6862 <sys/uio.h> (for writev).
6863 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6864 and <sys/param.h> (for MIN).
6865
a4186cff
PT
68662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6867
6868 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6869 REQUESTED_TIME. Properly set the remaining time and return EINTR
6870 if interrupted.
6871
510bbf14
TS
68722012-05-10 Thomas Schwinge <thomas@schwinge.name>
6873
6874 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6875 Depend on against $(link-rpcuserlibs).
6876
5d5722e8
ST
68772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6878
a4186cff
PT
6879 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6880 (__libc_stack_end): Do not use attribute_relro.
6881 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6882 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6883 to libthread-provided value.
a4186cff
PT
6884 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6885 attribute_relro.
5d5722e8 6886
37233df9
TS
68872012-05-10 Thomas Schwinge <thomas@schwinge.name>
6888
be971a2b
TS
6889 [BZ #3748]
6890 * bits/libc-lock.h (__libc_once_get): New macro.
6891 * sysdeps/mach/bits/libc-lock.h: Likewise.
6892 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6893 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6894 instead of using implementation details.
6895
37233df9
TS
6896 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6897 * libio/freopen.c: Likewise.
6898 * libio/freopen64.c: Likewise.
6899 * misc/syslog.c: Likewise.
6900 * nscd/connections.c: Likewise.
6901 * nscd/netgroupcache.c: Likewise.
6902 * sysdeps/posix/getcwd.c: Likewise.
6903
38de94a5
RM
69042012-05-10 Roland McGrath <roland@hack.frob.com>
6905
6906 * math/w_ilogbf.c: Add #include <limits.h>.
6907
67530489
ST
69082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6909
a4186cff 6910 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6911 path instead of returning without unlocking.
6912
67530489
ST
6913 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6914 immediate-write ioctls.
6915 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6916
5aa3a74a
TS
69172012-05-10 Thomas Schwinge <thomas@schwinge.name>
6918
18bad2ae
TS
6919 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6920 __builtin_frame_address instead of making assumptions about the
6921 location of the return address relative to DATA. Force early load of
6922 the return address.
6923 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6924 __builtin_frame_address.
6925
5aa3a74a
TS
6926 dup3 for GNU Hurd.
6927 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6928 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6929 implement dup3 and do some further code clean-ups.
6930 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6931 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6932
ecd0de9a
ST
69332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6934
cd9fa985
ST
6935 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6936
a4186cff
PT
6937 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6938 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6939 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6940 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6941 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6942 d->port.lock.
802ca5a5 6943
a4186cff
PT
6944 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6945 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6946 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6947
bcf55240
TS
69482012-05-10 Thomas Schwinge <thomas@schwinge.name>
6949
6960eb42
TS
6950 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6951 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6952 definitions.
6953
eb43375f
TS
6954 accept4 for GNU Hurd.
6955 * include/sys/socket.h (__libc_accept4): New prototype.
6956 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6957 to implement __libc_accept4.
6958 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6959 __libc_accept4.
6960 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6961
bcf55240
TS
6962 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6963 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6964 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6965 signal-defines.sym.
6966
6178c55b
ST
69672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6968
a4186cff 6969 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6970
6f080c2f
TS
69712012-05-10 Thomas Schwinge <thomas@schwinge.name>
6972
6973 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6974 assertion on O_CLOEXEC flag.
6975 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6976 * hurd/intern-fd.c: Likewise.
6977 * hurd/port2fd.c: Likewise.
6978
bcfe3a54
ST
69792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6980
6981 [BZ #3906]
6982 * bits/in.h (IPV6_PKTINFO): Define new macro.
6983 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6984
89c9aa49
AZ
69852012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6986
6987 [BZ #13954]
6988 [BZ #13955]
6989 [BZ #13956]
6990 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6991 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6992 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6993 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6994 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6995 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6996 * math/libm-test.inc (logb_test) : Additional logb tests.
6997
021db4be
AJ
69982012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6999 Andreas Jaeger <aj@suse.de>
7000
7001 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7002 * configure: Regenerated.
7003 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7004 * config.make.in (link-obsolete-rpc): New substituted variable.
7005 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7006 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7007 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7008 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7009 so that libc.a contains the symbols.
7010 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7011 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7012 * sunrpc/auth_none.c: Likewise.
7013 * sunrpc/auth_unix.c: Likewise.
7014 * sunrpc/authdes_prot.c: Likewise.
7015 * sunrpc/authuxprot.c: Likewise.
7016 * sunrpc/clnt_gen.c: Likewise.
7017 * sunrpc/clnt_perr.c: Likewise.
7018 * sunrpc/clnt_raw.c: Likewise.
7019 * sunrpc/clnt_simp.c: Likewise.
7020 * sunrpc/clnt_tcp.c: Likewise.
7021 * sunrpc/clnt_udp.c: Likewise.
7022 * sunrpc/clnt_unix.c: Likewise.
7023 * sunrpc/des_crypt.c: Likewise.
7024 * sunrpc/des_soft.c: Likewise.
7025 * sunrpc/get_myaddr.c: Likewise.
7026 * sunrpc/key_call.c: Likewise.
7027 * sunrpc/key_prot.c: Likewise.
7028 * sunrpc/netname.c: Likewise.
7029 * sunrpc/pm_getmaps.c: Likewise.
7030 * sunrpc/pm_getport.c: Likewise.
7031 * sunrpc/pmap_clnt.c: Likewise.
7032 * sunrpc/pmap_prot.c: Likewise.
7033 * sunrpc/pmap_prot2.c: Likewise.
7034 * sunrpc/pmap_rmt.c: Likewise.
7035 * sunrpc/publickey.c: Likewise.
7036 * sunrpc/rpc_cmsg.c: Likewise.
7037 * sunrpc/rpc_common.c: Likewise.
7038 * sunrpc/rpc_dtable.c: Likewise.
7039 * sunrpc/rpc_prot.c: Likewise.
7040 * sunrpc/rpc_thread.c: Likewise.
7041 * sunrpc/rtime.c: Likewise.
7042 * sunrpc/svc.c: Likewise.
7043 * sunrpc/svc_auth.c: Likewise.
7044 * sunrpc/svc_raw.c: Likewise.
7045 * sunrpc/svc_run.c: Likewise.
7046 * sunrpc/svc_tcp.c: Likewise.
7047 * sunrpc/svc_udp.c: Likewise.
7048 * sunrpc/svc_unix.c: Likewise.
7049 * sunrpc/svcauth_des.c: Likewise.
7050 * sunrpc/xcrypt.c: Likewise.
7051 * sunrpc/xdr.c: Likewise.
7052 * sunrpc/xdr_array.c: Likewise.
7053 * sunrpc/xdr_float.c: Likewise.
7054 * sunrpc/xdr_intXX_t.c: Likewise.
7055 * sunrpc/xdr_mem.c: Likewise.
7056 * sunrpc/xdr_rec.c: Likewise.
7057 * sunrpc/xdr_ref.c: Likewise.
7058 * sunrpc/xdr_sizeof.c: Likewise.
7059 * sunrpc/xdr_stdio.c: Likewise.
7060
b5c086a2
RM
70612012-05-10 Roland McGrath <roland@hack.frob.com>
7062
7063 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7064 change. Update copyright years.
7065
6d74dd09
JM
70662012-05-10 Joseph Myers <joseph@codesourcery.com>
7067
7068 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7069
28e72501
MK
70702012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7071 Joseph Myers <joseph@codesourcery.com>
7072 Paul Pluzhnikov <ppluzhnikov@google.com>
7073
7074 [BZ #14012]
7075 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7076 requiring rpcgen.
7077 [cross-compiling] (extra-libs): Likewise.
7078 [cross-compiling] (extra-libs-others): Likewise.
7079 [cross-compiling] (librpcsvc-routines): Likewise.
7080 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7081 [cross-compiling] (omit-deps): Likewise.
7082 (sunrpc-CPPFLAGS): New variable.
7083 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7084 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7085 (cross-rpcgen-objs): New variable.
7086 (extra-objs): Append $(cross-rpcgen-objs).
7087 ($(cross-rpcgen-objs)): New rule.
7088 ($(objpfx)cross-rpcgen): Likewise.
7089 (rpcgen-cmd): Define to use $(built-program-file). Expand
7090 comment.
7091 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7092 ($(objpfx)x%.stmp): Likewise.
7093 * sunrpc/proto.h [IS_IN_build] (_): Define.
7094 [IS_IN_build] (_libc_intl_domainname): Likewise.
7095
c8c59454
L
70962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7097
7098 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7099 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7100 and R_X86_64_TPOFF64.
7101
6f27cd16
JM
71022012-05-10 Joseph Myers <joseph@codesourcery.com>
7103
7104 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7105 sysdeps/unix/sysv/syscalls.list.
7106 (stime): Likewise.
7107 (utime): Likewise.
7108 * sysdeps/unix/sysv/syscalls.list: Remove file.
7109
02467e1c
PE
71102012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7111
7112 [BZ #3440]
7113 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7114 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7115 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7116 (__LC_IDENTIFICATION): Make these macros useful in #if
7117 expressions, as required by C99.
7118
da392631
AS
71192012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7120
7121 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7122 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7123 after this.
7124
8115f29b
L
71252012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7126
7127 * stdlib/longlong.h: Updated from GCC.
7128
bdd74070
AJ
71292012-05-09 Andreas Jaeger <aj@suse.de>
7130
edfe0dbe
AJ
7131 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7132 default is first entry.
7133 (run_mode): Set type.
7134 (main): Remove informal message about syslog.
7135 (options): Fix typo.
7136
bcfe3a54
ST
7137 [BZ #14053]
7138 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7139 to asm.
bcfe3a54
ST
7140 (lrint): Likewise.
7141 (llrintf): Likewise.
7142 (llrint): Likewise.
7143 (rint): Likewise.
7144 (rintf): Likewise.
7145 (nearbyint): Likewise.
7146 (nearbyintf): Likewise.
bdd74070 7147
91d8d69e
AJ
71482012-05-09 Andreas Jaeger <aj@suse.de>
7149 Pedro Alves <palves@redhat.com>
7150
7151 * nscd/nscd.c (run_mode): Use enum.
7152 (main): Cleanup coding style issue.
7153
bb90b80b
AJ
71542012-05-09 Alexandre Oliva <aoliva@redhat.com>
7155 Andreas Jaeger <aj@suse.de>
7156
bcfe3a54
ST
7157 * nscd/nscd.c (go_background): Replaced with...
7158 (run_mode): ... this.
bb90b80b 7159 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7160 (options): Add -F --foreground.
7161 (main): Implement it.
7162 (parse_opt): Parse it.
bb90b80b 7163
1a4b75a1
AJ
71642012-05-09 Andreas Jaeger <aj@suse.de>
7165
7166 [BZ #14083]
7167 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7168 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7169 -Wconversion warning.
7170 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7171 Likewise.
7172
b1cc2472
JM
71732012-05-09 Joseph Myers <joseph@codesourcery.com>
7174
7175 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7176 == 0.
7177 (LC_ALL): Use macro-int-constant.
7178 (LC_COLLATE): Likewise.
7179 (LC_CTYPE): Likewise.
7180 (LC_MESSAGES): Likewise.
7181 (LC_MONETARY): Likewise.
7182 (LC_NUMERIC): Likewise.
7183 (LC_TIME): Likewise.
7184 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7185 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7187 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7188 Specify type.
7189 [C99-based standards] (float_t): Expect type.
7190 [C99-based standards] (double_t): Expect type.
7191 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7192 type.
7193 [C99-based standards] (HUGE_VALL): Likewise.
7194 [C99-based standards] (INFINITY): Likewise.
7195 [C99-based standards] (NAN): Likewise.
7196 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7197 [C99-based standards] (FP_NAN): Likewise.
7198 [C99-based standards] (FP_NORMAL): Likewise.
7199 [C99-based standards] (FP_SUBNORMAL): Likewise.
7200 [C99-based standards] (FP_ZERO): Likewise.
7201 [C99-based standards] (FP_FAST_FMA): Use
7202 optional-macro-int-constant. Specify type. Require == 1.
7203 [C99-based standards] (FP_FAST_FMAF): Likewise.
7204 [C99-based standards] (FP_FAST_FMAL): Likewise.
7205 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7206 [C99-based standards] (FP_ILOGBNAN): Likewise.
7207 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7208 Specify type.
7209 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7210 [C99-based standards] (math_errhandling): Specify type.
7211 [ISO99 || ISO11] (signgam): Do not allow.
7212 [non-C99-based standards] (copysignf): Do not allow.
7213 [non-C99-based standards] (exp2f): Likewise.
7214 [non-C99-based standards] (log2f): Likewise.
7215 [non-C99-based standards] (modff): Allow.
7216 [non-C99-based standards] (erff): Do not allow.
7217 [non-C99-based standards] (erfcf): Likewise.
7218 [non-C99-based standards] (gammaf): Likewise.
7219 [non-C99-based standards] (hypotf): Likewise.
7220 [non-C99-based standards] (j0f): Likewise.
7221 [non-C99-based standards] (j1f): Likewise.
7222 [non-C99-based standards] (jnf): Likewise.
7223 [non-C99-based standards] (lgammaf): Likewise.
7224 [non-C99-based standards] (tgammaf): Likewise.
7225 [non-C99-based standards] (y0f): Likewise.
7226 [non-C99-based standards] (y1f): Likewise.
7227 [non-C99-based standards] (ynf): Likewise.
7228 [non-C99-based standards] (isnanf): Likewise.
7229 [non-C99-based standards] (acoshf): Likewise.
7230 [non-C99-based standards] (asinhf): Likewise.
7231 [non-C99-based standards] (atanhf): Likewise.
7232 [non-C99-based standards] (cbrtf): Likewise.
7233 [non-C99-based standards] (expm1f): Likewise.
7234 [non-C99-based standards] (ilogbf): Likewise.
7235 [non-C99-based standards] (log1pf): Likewise.
7236 [non-C99-based standards] (logbf): Likewise.
7237 [non-C99-based standards] (nextafterf): Likewise.
7238 [non-C99-based standards] (remainderf): Likewise.
7239 [non-C99-based standards] (rintf): Likewise.
7240 [non-C99-based standards] (scalbf): Likewise.
7241 [non-C99-based standards] (copysignl): Likewise.
7242 [non-C99-based standards] (exp2l): Likewise.
7243 [non-C99-based standards] (log2l): Likewise.
7244 [non-C99-based standards] (modfl): Allow.
7245 [non-C99-based standards] (erfl): Do not allow.
7246 [non-C99-based standards] (erfcl): Likewise.
7247 [non-C99-based standards] (gammal): Likewise.
7248 [non-C99-based standards] (hypotl): Likewise.
7249 [non-C99-based standards] (j0l): Likewise.
7250 [non-C99-based standards] (j1l): Likewise.
7251 [non-C99-based standards] (jnl): Likewise.
7252 [non-C99-based standards] (lgammal): Likewise.
7253 [non-C99-based standards] (tgammal): Likewise.
7254 [non-C99-based standards] (y0l): Likewise.
7255 [non-C99-based standards] (y1l): Likewise.
7256 [non-C99-based standards] (ynl): Likewise.
7257 [non-C99-based standards] (isnanl): Likewise.
7258 [non-C99-based standards] (acoshl): Likewise.
7259 [non-C99-based standards] (asinhl): Likewise.
7260 [non-C99-based standards] (atanhl): Likewise.
7261 [non-C99-based standards] (cbrtl): Likewise.
7262 [non-C99-based standards] (expm1l): Likewise.
7263 [non-C99-based standards] (ilogbl): Likewise.
7264 [non-C99-based standards] (log1pl): Likewise.
7265 [non-C99-based standards] (logbl): Likewise.
7266 [non-C99-based standards] (nextafterl): Likewise.
7267 [non-C99-based standards] (remainderl): Likewise.
7268 [non-C99-based standards] (rintl): Likewise.
7269 [non-C99-based standards] (scalbl): Likewise.
7270 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7271 [non-C99-based standards] (FP_*): Do not allow.
7272 [C99-based standards] (FP_*): Change to
7273 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7274 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7275 allow.
7276 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7277 (SIG_ERR): Likewise.
7278 [X/Open-based standards] (SIG_HOLD): Likewise.
7279 (SIG_IGN): Likewise.
7280 (SIGABRT): Use macro-int-constant. Specify type. Require
7281 positive value.
7282 (SIGFPE): Likewise.
7283 (SIGILL): Likewise.
7284 (SIGINT): Likewise.
7285 (SIGSEGV): Likewise.
7286 (SIGTER): Likewise.
7287 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7288 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7289 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7290 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7291 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7292 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7293 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7294 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7295 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7296 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7297 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7298 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7299 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7300 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7301 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7302 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7303 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7304 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7305 [X/Open-based standards] (SIGTRAP): Likewise.
7306 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7307 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7308 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7309 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7310 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7311 allow.
7312
b9f1922d
IW
73132012-05-08 Ian Wienand <ianw@vmware.com>
7314
7315 [BZ #14080]
7316 * time/tzset.c (__tzset_parse_tz): Update default rules for
7317 daylight time changes in the Energy Policy Act of 2005.
7318
1db86e88
AJ
73192012-05-09 Andreas Jaeger <aj@suse.de>
7320
7321 [BZ #13983]
7322 * elf/ldconfig.c (parse_conf): Change string to make clear that
7323 ldconfig only issued a warning if ld.so.conf does not exist.
7324
dee4a4e3
DM
73252012-05-08 David S. Miller <davem@davemloft.net>
7326
ee0db190
DM
7327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7328 movxtod instead of popping the value on the stack.
7329
dee4a4e3
DM
7330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7331
6a43ec98
CD
73322012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7333
7334 * config.h.in: Add HAVE_ARM_PCS_VFP.
7335
05c2c961
RMG
73362012-05-08 Roland Mc Grath <roland@hack.frob.com>
7337
bcfe3a54
ST
7338 [BZ #13979]
7339 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7340 checking but the checks are disabled for any reason.
05c2c961 7341
4b30f61a
L
73422012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7343
7344 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7345 and ELF64_R_TYPE with ELFW(R_TYPE).
7346
eee2bc67
JM
73472012-05-08 Joseph Myers <joseph@codesourcery.com>
7348
7ea5391a
JM
7349 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7350 (ulimit): Likewise.
7351
eee2bc67
JM
7352 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7353 (settimeofday): Likewise.
7354
abb66a67
MF
73552012-05-08 Mike Frysinger <vapier@gentoo.org>
7356
7357 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7358 a struct th_u2 inside the union, and move tu_block/tu_code into
7359 a new th_u3 union of tu_block/tu_code inside of that. Move
7360 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7361 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7362 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7363 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7364 (th_stuff): Change to th_u1.tu_stuff.
7365 (th_data): Define.
7366 (th_msg): Change to th_u1.th_u2.tu_data.
7367
7f18b530
DM
73682012-05-07 David S. Miller <davem@davemloft.net>
7369
05760585
DM
7370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7371
7f18b530
DM
7372 [BZ #14074]
7373 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7374 (SETUP_PIC_REG): Use it.
7375 (SETUP_PIC_REG_LEAF): Use it.
7376
495fd99f
JM
73772012-05-07 Joseph Myers <joseph@codesourcery.com>
7378
7379 [BZ #13885]
7380 [BZ #13923]
7381 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7382 USE_AS_EXPM1L.
7383 (EXPL_FINITE): Likewise.
7384 (FLDLOG): Likewise.
7385 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7386 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7387 e_expl.S.
7388 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7389 USE_AS_EXPM1L.
7390 (EXPL_FINITE): Likewise.
7391 (FLDLOG): Likewise.
7392 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7393 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7394 e_expl.S.
7395 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7396 test of -max_value argument for long double.
7397 * sysdeps/i386/fpu/libm-test-ulps: Update.
7398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7399
6693d694
DM
74002012-05-06 David S. Miller <davem@davemloft.net>
7401
7402 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7403 quad soft-float symbols whose references which are compiler
7404 generated.
7405 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7406
6c23e11c
JM
74072012-05-06 Joseph Myers <joseph@codesourcery.com>
7408
d8b82cad
JM
7409 [BZ #13884]
7410 [BZ #13914]
7411 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7412 USE_AS_EXP10L.
7413 (EXPL_FINITE): Likewise.
7414 (FLDLOG): Likewise.
7415 (c0): Likewise.
7416 (c1): Likewise.
7417 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7418 Adjust comments for base varying.
7419 (__expl_finite): Change alias to EXPL_FINITE.
7420 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7421 e_expl.S.
7422 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7423 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7425 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7426 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7427 USE_AS_EXP10L.
7428 (EXPL_FINITE): Likewise.
7429 (FLDLOG): Likewise.
7430 (c0): Likewise.
7431 (c1): Likewise.
7432 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7433 Adjust comments for base varying.
7434 (__expl_finite): Change alias to EXPL_FINITE.
7435 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7436 tests for bugs.
7437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7438
6c23e11c
JM
7439 [BZ #14064]
7440 * math/libm-test.inc (check_float_internal): Correct ulp
7441 calculation for subnormal expected results.
7442
29ba805c
AJ
74432012-05-06 Andreas Jaeger <aj@suse.de>
7444
7445 * Makeconfig (+math-flags): New, set to -frounding-math.
7446 (+cflags): Add +math-flags so that all of glibc gets compiled with
7447 it.
7448
7449 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7450
7b17aeda
JM
74512012-05-05 Joseph Myers <joseph@codesourcery.com>
7452
5779f134
JM
7453 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7454 Disable one test.
7455
41498f4d
JM
7456 [BZ #13787]
7457 [BZ #13922]
7458 [BZ #14036]
7459 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7460 (__ieee754_expl): Allow for and saturate large arguments.
7461 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7462 (u_threshold): Likewise.
7463 (__exp): Call __ieee754_exp before checking for overflow and
7464 underflow.
7465 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7466 (u_threshold): Likewise.
7467 (__expf): Call __ieee754_expf before checking for overflow and
7468 underflow.
7469 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7470 (u_threshold): Likewise.
7471 (__expl): Call __ieee754_expl before checking for overflow and
7472 underflow.
7473 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7474 (__ieee754_expl): Allow for and saturate large arguments.
7475 * math/libm-test.inc (exp_test): Add another test. Do not allow
7476 missing overflow exception on overflow.
7477 (expm1_test): Do not allow missing overflow exception on overflow.
7478
6698b8bf
JM
7479 * sysdeps/i386/fpu/e_expl.c: Move to ...
7480 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7481 rather than using inline asm.
7482 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7483 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7484 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7485
7b17aeda
JM
7486 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7487 (nice): Likewise.
7488 (poll): Likewise.
7489 (signal): Likewise.
7490 (time): Likewise.
7491 (times): Likewise.
7492
f7c85819
JM
74932012-05-04 Joseph Myers <joseph@codesourcery.com>
7494
7495 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7496 sysdeps/unix/common/syscalls.list.
7497 (fchmod): Likewise.
7498 (fchown): Likewise.
7499 (ftruncate): Likewise.
7500 (getrusage): Likewise.
7501 (gettimeofday): Likewise.
7502 (setpgid): Likewise.
7503 (setregid): Likewise.
7504 (setreuid): Likewise.
7505 (sigaction): Likewise.
7506 (truncate): Likewise.
7507 (vhangup): Likewise.
7508 * sysdeps/unix/common/syscalls.list: Remove file.
7509 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7510 * sysdeps/unix/sysv/linux/Implies: Likewise.
7511
336270d0
L
75122012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7513
7514 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7516 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7517 Moved to ...
7518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7519 Here.
7520 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7521 to ...
7522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7523 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7524 to ...
7525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7526 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7527 to ...
7528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7529 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7530 to ...
7531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7532 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7533 to ...
7534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7535 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7536 to ...
7537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7538 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7539 to ...
7540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7541 Here.
7542 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7543 to ...
7544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7545 Here.
7546 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7547 to ...
7548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7549 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7550 Moved to ...
7551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7552 Here.
7553 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7554 to ...
7555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7556
d128e450
JM
75572012-05-04 Joseph Myers <joseph@codesourcery.com>
7558
fa8ee516
JM
7559 * sysdeps/unix/common/bits/dirent.h: Remove file.
7560 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7561
d128e450
JM
7562 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7563 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7564 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7565 * sysdeps/unix/bsd/isatty.c: Likewise.
7566 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7567 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7568 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7569
ff8faaf0 75702012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7571
62881be4 7572 [BZ #13563]
31dc8730
AZ
7573 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7574 long double comparison inaccuracies.
7575 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7577
6fef930c
AS
75782012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7579
7580 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7581 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7582
8f203e6c
JM
75832012-05-04 Joseph Myers <joseph@codesourcery.com>
7584
7585 [BZ #14049]
7586 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7587 nonzero digits before rounding a hex value.
7588 * stdlib/tst-strtod.c (tests): Add another test.
7589
5197d9c2
AK
75902012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7591
7592 * sysdeps/s390/fpu/libm-test-ulps: Update.
7593
f0c1dedf
AJ
75942012-05-03 Andreas Jaeger <aj@suse.de>
7595
7596 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7597 does not get optimized out.
7598 (malloc_opt_barrier): New.
7599
a65ef2ae 76002012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7601 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7602
2b942cb7 7603 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7604 intermediate file deletion.
2b942cb7 7605 (generated): Add .symlist files.
a65ef2ae 7606
54b71e02
JM
76072012-05-03 Joseph Myers <joseph@codesourcery.com>
7608
7609 [BZ #13775]
7610 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7611 Redirect under this condition.
7612 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7613 [__USE_GNU] (__dprintf_chk): Not under this condition.
7614 [__USE_GNU] (__vdprintf_chk): Likewise.
7615 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7616 under this condition.
7617 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7618 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7619 [__USE_XOPEN2K8] (vdprintf): Likewise.
7620 [__USE_GNU] (__dprintf_chk): Not under this condition.
7621 [__USE_GNU] (__vdprintf_chk): Likewise.
7622 [__USE_GNU] (dprintf): Likewise.
7623 [__USE_GNU] (vdprintf): Likewise.
7624
d3dfcc41
RM
76252012-05-03 Roland McGrath <roland@hack.frob.com>
7626
7627 * elf/Makefile (common-generated): Set this instead of generated for
7628 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7629 $(all-built-dso)-derived lists.
7630
7ac30cc5
AJ
76312012-05-03 Andreas Jaeger <aj@suse.de>
7632
0c51e550
AJ
7633 * sysdeps/i386/fpu/libm-test-ulps: Update.
7634
7ac30cc5
AJ
7635 * FAQ: Removed.
7636 * FAQ.in: Likewise.
7637 * scripts/gen-FAQ.pl: Likewise.
7638 * manual/install.texi (Installation): Point to online location of
7639 FAQ.
7640 * Makefile (files-for-dist): Remove FAQ.
7641 (FAQ): Remove.
7642
d4c2917f
AM
76432012-05-02 Allan McRae <allan@archlinux.org>
7644
7645 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7646 (LDFLAGS-reldepmod5.so): Likewise.
7647 (LDFLAGS-reldep6mod1.so): Likewise.
7648 (LDFLAGS-reldep6mod4.so): Likewise.
7649 (LDFLAGS-reldep8mod3.so): Likewise.
7650 (LDFLAGS-unload4mod1.so): Likewise.
7651 (LDFLAGS-unload4mod2.so): Likewise.
7652 (LDFLAGS-tst-initorder): Likewise.
7653 (LDFLAGS-tst-initordera2.so): Likewise.
7654 (LDFLAGS-tst-initordera3.so): Likewise.
7655 (LDFLAGS-tst-initordera4.so): Likewise.
7656 (LDFLAGS-tst-initorderb2.so): Likewise.
7657 (LDFLAGS-noload): Likewise.
7658 (LDFLAGS-next): Likewise.
7659 (LDFLAGS-order2mod1.so): Likewise.
7660 (LDFLAGS-order2mod2.so): Likewise.
7661 (LDFLAGS-tst-initorder2): Likewise.
7662 (LDFLAGS-tst-initorder2a.so): Likewise.
7663 (LDFLAGS-tst-initorder2b.so): Likewise.
7664 (LDFLAGS-tst-initorder2c.so): Likewise.
7665 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7666
d77f993f
DM
76672012-05-02 David S. Miller <davem@davemloft.net>
7668
7669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7670
171a70b4
PP
76712012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7672
7673 [BZ #14055]
7674 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7675
0be196ad
AJ
76762012-05-02 Andreas Jaeger <aj@suse.de>
7677
7678 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7679 since we manipulate rounding mode.
7680 (CPPFLAGS-test-idouble.c): Likewise.
7681 (CPPFLAGS-test-ifloat.c): Likewise.
7682 (CFLAGS-test-ldouble.c): Likewise.
7683 (CFLAGS-test-double.c): Likewise.
7684 (CFLAGS-test-float.c): Likewise.
7685 (CFLAGS-test-misc.c): Likewise.
7686 (CFLAGS-test-test-fenv.c): Likewise.
7687
4f9d04aa
AZ
76882012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7689
2b942cb7
RM
7690 [BZ #2550]
7691 [BZ #2570]
7692 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7693 comparisons to determine direction to adjust input.
4f9d04aa 7694
82a79e7d
RM
76952012-05-01 Roland McGrath <roland@hack.frob.com>
7696
f5a01ca9
RM
7697 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7698 output to the target.
7699
90fe4186
RM
7700 * scripts/localplt.awk: New file.
7701 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7702 (check-localplt-CFLAGS): Variable removed.
7703 ($(all-built-dso:=.jmprel)): New static pattern rule.
7704 (generated): Add those targets.
7705 (localplt-built-dso): New variable.
7706 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7707
7708 * elf/check-localplt.c: File removed.
7709
82397ed6
RM
7710 * scripts/check-execstack.awk: New file.
7711 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7712 (check-execstack-CFLAGS): Variable removed.
7713 ($(objpfx)check-execstack.h): Target removed.
7714 ($(objpfx)execstack-default): New target.
7715 (generated): Add that instead of check-execstack.h.
7716 ($(all-built-dso:=.phdr)): New static pattern rule.
7717 (generated): Add those targets.
7718 * elf/check-execstack.c: File removed.
7719
82a79e7d
RM
7720 * scripts/check-textrel.awk: New file.
7721 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7722 (check-textrel-CFLAGS): Variable removed.
7723 (all-built-dso): Use := to define.o
7724 ($(all-built-dso:=.dyn)): New static pattern rule.
7725 (generated): Add those targets.
7726 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7727 * config.make.in (READELF): New substituted variable.
7728 * elf/check-textrel.c: File removed.
7729
62fde54f 77302012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7731
615605c9
JM
7732 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7733 allow.
7734 * conform/data/ctype.h-data [C99-based standards] (isblank):
7735 Expect function.
7736 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7737 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7738 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7739 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7740 Specify type. Require positive value.
7741 (EILSEQ): Likewise.
7742 (ERANGE): Likewise.
7743 [ISO || POSIX] (EILSEQ): Do not expect.
7744 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7745 Specify type. Require positive value.
7746 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7747 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7748 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7749 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7750 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7751 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7752 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7753 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7754 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7755 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7756 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7757 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7758 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7759 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7760 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7761 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7762 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7763 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7764 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7765 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7766 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7767 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7768 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7769 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7770 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7771 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7772 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7773 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7774 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7775 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7776 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7777 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7778 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7779 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7780 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7781 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7782 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7783 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7784 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7785 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7786 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7787 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7788 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7789 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7790 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7791 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7792 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7793 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7794 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7795 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7796 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7797 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7798 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7799 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7800 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7801 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7802 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7803 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7804 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7805 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7806 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7807 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7808 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7809 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7810 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7811 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7812 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7813 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7814 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7815 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7816 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7817 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7818 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7819 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7820 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7821 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7822 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7823 Require >= 2.
7824 (FLT_ROUNDS): Expect as macro, not constant.
7825 (FLT_MANT_DIG): Use macro-int-constant.
7826 (DBL_MANT_DIG): Likewise.
7827 (LDBL_MANT_DIG): Likewise.
7828 (FLT_DIG): Likewise.
7829 (DBL_DIG): Likewise.
7830 (LDBL_DIG): Likewise.
7831 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7832 (DBL_MIN_EXP): Likewise.
7833 (LDBL_MIN_EXP): Likewise.
7834 (FLT_MAX_EXP): Use macro-int-constant.
7835 (DBL_MAX_EXP): Likewise.
7836 (LDBL_MAX_EXP): Likewise.
7837 (FLT_MAX_10_EXP): Likewise.
7838 (DBL_MAX_10_EXP): Likewise.
7839 (LDBL_MAX_10_EXP): Likewise.
7840 (FLT_MAX): Use macro-constant.
7841 (DBL_MAX): Likewise.
7842 (LDBL_MAX): Likewise.
7843 (FLT_EPSILON): Use macro-constant. Give upper bound.
7844 (DBL_EPSILON): Likewise.
7845 (LDBL_EPSILON): Likewise.
7846 (FLT_MIN): Likewise.
7847 (DBL_MIN): Likewise.
7848 (LDBL_MIN): Likewise.
7849 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7850 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7851 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7852 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7853 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7854 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7855 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7856 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7857 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7858 [ISO11] (FLT_TRUE_MIN): Likewise.
7859 [ISO11] (LDBL_TRUE_MIN): Likewise.
7860 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7861 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7862 (SCHAR_MIN): Use macro-int-constant. Specify type.
7863 (SCHAR_MAX): Likewise.
7864 (UCHAR_MAX): Likewise.
7865 (CHAR_MIN): Likewise.
7866 (CHAR_MAX): Likewise.
7867 (MB_LEN_MAX): Use macro-int-constant.
7868 (SHRT_MIN): Use macro-int-constant. Specify type.
7869 (SHRT_MAX): Likewise.
7870 (USHRT_MAX): Likewise.
7871 (INT_MAX): Likewise.
7872 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7873 bound negative.
7874 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7875 bound with "U".
7876 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7877 bound with "L".
7878 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7879 bound negative. Suffix upper bound with "L".
7880 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7881 bound with "UL".
7882 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7883 Specify type.
7884 [C99-based standards] (LLONG_MAX): Likewise.
7885 [C99-based standards] (ULLONG_MAX): Likewise.
7886 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7887 == 0.
7888 [ISO11] (max_align_t): Require type.
7889 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7890
c9140a62
JM
7891 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7892 from $CFLAGS, without defining away __attribute__ calls.
7893 (checknamespace): Use $CFLAGS_namespace.
7894
9af0bf29
JM
7895 * conform/conformtest.pl (@keywords): Only include C99 keywords
7896 for standards based on C99 or C11.
7897
343222a2
JM
7898 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7899 Disable tests.
7900 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7901 UNIX98]: Likewise.
7902
661f8cf0
JM
7903 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7904 usability of symbols in #if.
7905
ee74b9cb
JM
7906 * conform/conformtest.pl: If macro or constant types start
7907 "promoted:", expect the symbol to be of the following type
7908 promoted by the integer promotions.
62fde54f 7909
aafc49b3
JM
7910 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7911 in one place. Also handle "macro-constant".
7912
fefdf574
JM
7913 * conform/conformtest.pl: Only accept expected macro values with
7914 "==". Parse all "macro" lines in one place.
7915 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7916
f2d922fe
JM
7917 * conform/conformtest.pl: Handle braced types on "constant" lines
7918 instead of handling "typed-constant".
7919 * conform/data/signal.h-data: Use "constant" instead of
7920 "typed-constant".
7921
d22956c9
JM
7922 * conform/conformtest.pl: Handle "optional-" at start of lines in
7923 one place rather than duplicating several cases. Handle each
7924 format of "macro" line with initial "optional-".
7925
028e2e38
JM
7926 * conform/conformtest.pl: Only accept expected constant or
7927 optional-constant values with "==". Parse all "constant" lines in
7928 one place. Parse all "optional-constant" lines in one place.
7929 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7930 * conform/data/fmtmsg.h-data: Likewise.
7931 * conform/data/netinet/in.h-data: Likewise.
7932 * conform/data/tar.h-data: Likewise.
7933 * conform/data/limits.h-data: Use "==" form on "constant" and
7934 "optional-constant" lines.
7935
1b8f2850
JM
7936 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7937 Use -std=c99 for XOPEN2K.
7938 (@knownproblems): Remove.
7939 (newtoken): Don't check %isknown.
7940
a05a144b
JM
7941 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7942 Do not expect macro.
7943 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7944 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7945 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7946 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7947 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7948 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7949 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7950 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7951 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7952 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7953 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7954 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7955 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7956 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7957 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7958 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7959 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7960 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7961 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7962 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7963 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7964 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7965 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7966 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7967 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7968 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7969 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7970 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7971 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7972 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7973 [XPG3] (acosh): Likewise.
7974 [XPG3] (asinh): Likewise.
7975 [XPG3] (atanh): Likewise.
7976 [XPG3] (cbrt): Likewise.
7977 [XPG3] (expm1): Likewise.
7978 [XPG3] (ilogb): Likewise.
7979 [XPG3] (log1p): Likewise.
7980 [XPG3] (logb): Likewise.
7981 [XPG3] (nextafter): Likewise.
7982 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7983 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7984 [XPG3] (remainder): Likewise.
7985 [XPG3] (rint): Likewise.
7986 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7987 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7988 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7989 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7990 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7991 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7992 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7993 [UNIX98 || XOPEN2K] (scalb): Expect.
7994 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7995 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7996 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7997 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7998 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7999 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8000 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8001 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8002 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8003 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8004 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8005 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8006 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8007 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8008 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8009 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8010 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8011 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8012 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8013 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8014 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8015 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8016 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8017 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8018 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8019 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8020 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8021 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8022 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8023 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8024 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8025 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8026 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8027 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8028 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8029 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8030 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8031 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8032 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8033 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8034 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8035 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8036 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8037 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8038 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8039 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8040 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8041 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8042 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8043 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8044 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8045 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8046 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8047 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8048 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8049 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8050 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8051 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8052 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8053 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8054 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8055 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8056 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8057 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8058 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8059 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8060 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8061 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8062 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8063 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8064 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8065 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8066 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8067 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8068 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8069 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8070 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8071 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8072 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8073 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8074 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8075 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8076 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8077 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8078 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8079 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8080 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8081 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8082 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8083 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8084 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8085 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8086 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8087 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8088 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8089 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8090 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8091 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8092 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8093 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8094 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8095 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8096 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8097 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8098 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8099 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8100 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8101 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8102 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8103 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8104 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8105 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8106 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8107 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8108 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8109 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8110 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8111 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8112 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8113 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8114 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8115 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8116 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8117 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8118 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8119 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8120 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8121 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8122 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8123 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8124 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8125 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8126 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8127 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8128 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8129 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8130 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8131
73c5ebe3
JM
8132 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8133 _XOPEN_SOURCE_EXTENDED for XPG4.
8134
39c33b6c
JM
8135 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8136
62fde54f
JM
8137 * Makeconfig (localtime): Remove variable.
8138 (inst_localtime-file): Likewise.
8139
0741d64c
AS
81402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8141
8142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8143 Update.
8144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8145 Update.
8146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8147 Update.
8148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8149 Update.
8150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8151 Update.
8152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8153 Update.
8154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8155 Update.
8156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8157 Update.
8158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8159 Update.
8160
7cb029ee
JM
81612012-05-01 Joseph Myers <joseph@codesourcery.com>
8162
8163 [BZ #2550]
8164 [BZ #2570]
8165 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8166 comparisons to determine direction to adjust input.
8167 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8168 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8169 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8170 Likewise.
8171 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8172 Likewise.
8173 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8174 Likewise.
8175 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8176 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8177 Likewise.
8178 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8179 Likewise.
8180 * math/libm-test.inc (nexttoward_test): Add more tests.
8181
412bd966
AS
81822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8183
8184 [BZ #14040]
8185 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8186 in version GLIBC_2.1, not GLIBC_2.0.
8187 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8188 Likewise.
8189
9568c0c2
JM
81902012-04-30 Joseph Myers <joseph@codesourcery.com>
8191
adfbc8ac
JM
8192 [BZ #13942]
8193 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8194 (1 - x) * (1 + x).
8195 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8196 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8197 * math/libm-test.inc (acos_test): Add more tests.
8198 (asin_test): Likewise.
8199 * sysdeps/i386/fpu/libm-test-ulps: Update.
8200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8201
5ba3cc69
JM
8202 [BZ #14034]
8203 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8204 of square root.
8205 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8206 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8207 * math/libm-test.inc (acos_test_tonearest): New function.
8208 (acos_test_towardzero): Likewise.
8209 (acos_test_downward): Likewise.
8210 (acos_test_upward): Likewise.
8211 (asin_test_tonearest): Likewise.
8212 (asin_test_towardzero): Likewise.
8213 (asin_test_downward): Likewise.
8214 (asin_test_upward): Likewise.
8215 (main): Call the new functions.
8216 * sysdeps/i386/fpu/libm-test-ulps: Update.
8217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8218
9568c0c2
JM
8219 [BZ #13884]
8220 [BZ #13924]
8221 * math/e_exp10.c: Include <float.h>.
8222 (__ieee754_exp10): Handle underflow here rather than multiplying
8223 large negative argument by M_LN10.
8224 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8225 of __ieee754_expf.
8226 * math/e_exp10l.c: Include <float.h>.
8227 (__ieee754_exp10l): Handle underflow here rather than multiplying
8228 large negative argument by M_LN10l.
8229 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8230 spurious overflow exception on underflow.
8231
5ac3ea17
MP
82322012-04-29 Marek Polacek <polacek@redhat.com>
8233
8234 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8235 (__fortify_function): New macro.
8236 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8237 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8238 __extern_always_inline.
8239 * libio/bits/stdio2.h: Likewise.
8240 * libio/bits/stdio.h: Likewise.
8241 * string/string.h: Likewise.
8242 * string/bits/string3.h: Likewise.
8243 * include/stdio.h: Likewise.
8244 * stdlib/bits/stdlib.h: Likewise.
8245 * stdlib/stdlib.h: Likewise.
8246 * rt/bits/mqueue2.h: Likewise.
8247 * rt/mqueue.h: Likewise.
8248 * posix/bits/unistd.h: Likewise.
8249 * posix/unistd.h: Likewise.
8250 * io/bits/poll2.h: Likewise.
8251 * io/bits/fcntl2.h: Likewise.
8252 * io/fcntl.h: Likewise.
8253 * io/sys/poll.h: Likewise.
8254 * misc/bits/syslog.h: Likewise.
8255 * misc/bits/syslog-ldbl.h: Likewise.
8256 * misc/sys/syslog.h: Likewise.
8257 * socket/bits/socket2.h: Likewise.
8258 * socket/sys/socket.h: Likewise.
8259 * debug/tst-chk1.c: Likewise.
8260 * wcsmbs/bits/wchar2.h: Likewise.
8261 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8262 * wcsmbs/wchar.h: Likewise.
8263
ecf0ebfb
AJ
82642012-04-29 Andreas Jaeger <aj@suse.de>
8265
8266 * Makerules (tests): Remove enable-check-abi protection.
8267 (check-abi-warn): Remove.
8268 (check-abi-%): Remove check-abi-warn usage.
8269
8270 * configure.in: Remove check-abi configure option.
8271 * configure: Regenerated.
8272 * config.make.in (enable-check-abi): Remove.
8273
6d5c57fa
AS
82742012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8275
24c5d07e 8276 [BZ #14033]
ded5180a
AS
8277 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8278 double functions to double *_finite functions.
8279
7e0d315d
AS
8280 [BZ #13941]
8281 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8282 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8283 LDBL_MIN_EXP.
8284 * stdio-common/Makefile (tests): Add tst-sprintf3.
8285 * stdio-common/tst-sprintf3.c: New file.
8286
6d5c57fa
AS
8287 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8288 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8289
0749ff8b
JM
82902012-04-28 Joseph Myers <joseph@codesourcery.com>
8291
8292 * conform/conformtest.pl: Remove duplicate typed-constant
8293 handling.
8294
8dbd5d7b
DM
82952012-04-28 David S. Miller <davem@davemloft.net>
8296
8297 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8298 (check-abi-%): Remove AWK script prerequisite and explicit
8299 abilist directory.
8300 (check-abi): Rewrite to just diff the symlist with the abilist.
8301 (config-tls, config-abi-config): Delete, no longer used.
8302 (update-abi-%): Remove AWK script and explicit abilist directory.
8303 (update-abi): Rewrite to simply compare and conditionally copy the
8304 symlist and the sysdep abilist file. Remove update-abi-config
8305 checks.
8306 * abilist/ld.abilist: Remove.
8307 * abilist/libBrokenLocale.abilist: Remove.
8308 * abilist/libanl.abilist: Remove.
8309 * abilist/libcrypt.abilist: Remove.
8310 * abilist/libdl.abilist: Remove.
8311 * abilist/librt.abilist: Remove.
8312 * abilist/libthread_db.abilist: Remove.
8313 * abilist/libutil.abilist: Remove.
8314 * scripts/extract-abilist.awk: Remove.
8315 * scripts/merge-abilist.awk: Remove.
8316 * sysdeps/generic/libcidn.abilist: New file.
8317 * sysdeps/generic/libnss_compat.abilist: New file.
8318 * sysdeps/generic/libnss_db.abilist: New file.
8319 * sysdeps/generic/libnss_dns.abilist: New file.
8320 * sysdeps/generic/libnss_files.abilist: New file.
8321 * sysdeps/generic/libnss_hesiod.abilist: New file.
8322 * sysdeps/generic/libnss_nis.abilist: New file.
8323 * sysdeps/generic/libnss_nisplus.abilist: New file.
8324 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8325 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8326 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8327 file.
8328 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8329 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8330 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8331 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8332 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8333 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8334 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8335 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8336 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8337 file.
8338 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8339 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8340 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8341 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8342 file.
8343 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8344 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8345 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8346 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8347 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8348 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8349 file.
8350 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8351 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8352 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8353 file.
8354 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8356 New file.
8357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8358 New file.
8359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8360 New file.
8361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8362 New file.
8363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8364 New file.
8365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8366 New file.
8367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8368 New file.
8369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8370 New file.
8371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8372 New file.
8373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8374 New file.
8375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8376 New file.
8377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8378 New file.
8379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8380 New file.
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8382 file.
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8384 New file.
8385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8386 New file.
8387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8388 file.
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8390 New file.
8391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8392 New file.
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8394 file.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8396 New file.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8398 New file.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8400 New file.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8402 New file.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8404 New file.
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8406 New file.
8407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8409 file.
8410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8411 New file.
8412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8413 file.
8414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8415 file.
8416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8417 file.
8418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8419 file.
8420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8421 file.
8422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8423 New file.
8424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8425 file.
8426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8427 file.
8428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8429 New file.
8430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8431 file.
8432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8434 file.
8435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8436 New file.
8437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8438 file.
8439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8440 file.
8441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8442 file.
8443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8444 file.
8445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8446 file.
8447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8448 New file.
8449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8450 file.
8451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8452 file.
8453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8454 New file.
8455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8456 file.
8457 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8458 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8459 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8460 file.
8461 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8462 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8463 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8464 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8465 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8466 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8467 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8468 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8469 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8470 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8473 file.
8474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8475 New file.
8476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8477 file.
8478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8479 file.
8480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8481 file.
8482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8483 file.
8484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8485 file.
8486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8487 New file.
8488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8489 New file.
8490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8491 file.
8492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8493 New file.
8494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8495 file.
8496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8498 file.
8499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8500 New file.
8501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8502 file.
8503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8504 file.
8505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8506 file.
8507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8508 file.
8509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8510 file.
8511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8512 New file.
8513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8514 New file.
8515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8516 file.
8517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8518 New file.
8519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8520 file.
8521
41d73a1b
JM
85222012-04-28 Joseph Myers <joseph@codesourcery.com>
8523
8524 * conform/conformtest.pl: Fix typo in handling typed-constant from
8525 allow-header.
8526
28aeeda4
JM
85272012-04-27 Joseph Myers <joseph@codesourcery.com>
8528
adae8f5e
JM
8529 * README: Cut down references to pre-2.6 Linux kernels and
8530 Linuxthreads. Update lists of configurations in libc and ports
8531 and sort alphabetically. Say "or newer" with Linux kernel version
8532 requirements.
8533
28aeeda4
JM
8534 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8535
a462cb63
RA
85362012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8537
8538 [BZ #887]
8539 * math/libm-test.inc (logb_test_downward): New test to expose
8540 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8541 rounding mode.
8542
6ad3493e
JM
85432012-04-27 Joseph Myers <joseph@codesourcery.com>
8544
8545 [BZ #14027]
8546 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8547 to be done.
8548 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8549 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8550
2ce4f015
JM
85512012-04-26 Joseph Myers <joseph@codesourcery.com>
8552
5aeb141a
JM
8553 * sysdeps/unix/i386/brk.S: Remove file.
8554 * sysdeps/unix/i386/dl-brk.S: Likewise.
8555 * sysdeps/unix/i386/pipe.S: Likewise.
8556 * sysdeps/unix/i386/sigreturn.S: Likewise.
8557 * sysdeps/unix/i386/syscall.S: Likewise.
8558 * sysdeps/unix/i386/vfork.S: Likewise.
8559 * sysdeps/unix/i386/wait.S: Likewise.
8560
7143acae
JM
8561 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8562 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8563
2ce4f015
JM
8564 * configure.in (arm*-none*): Do not allow without
8565 --enable-hacker-mode.
8566 (netbsd*): Remove case setting base_os.
8567 (386bsd*): Likewise.
8568 (freebsd*): Likewise.
8569 (bsdi*): Likewise.
8570 (osf*): Likewise.
8571 (sunos*): Likewise.
8572 (ultrix*): Likewise.
8573 (newsos*): Likewise.
8574 (dynix*): Likewise.
8575 (*bsd*): Likewise.
8576 (sysv*): Likewise.
8577 (isc*): Likewise.
8578 (esix*): Likewise.
8579 (sco*): Likewise.
8580 (minix*): Likewise.
8581 (irix4*): Likewise.
8582 (irix6*): Likewise.
8583 (solaris[2-9]*): Likewise.
8584 (none): Likewise.
8585 * configure: Regenerated.
8586
0ac229c8
AZ
85872012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8588
8589 [BZ #11521]
8590 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8591 overflow or cancellation in calculating denominator.
8592 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8593 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8594 down expression to avoid unexpected rounding in newer GCCs.
8595 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8596
33f244f4
DM
85972012-04-26 David S. Miller <davem@davemloft.net>
8598
8599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8600 long-double compat symbols.
8601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8614
cfa1f3e8
DM
86152012-04-25 David S. Miller <davem@davemloft.net>
8616
8617 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8618 HWCAP_* values only after the memory barriers have been defined.
8619 (atomic_full_barrier): Define.
8620 (atomic_read_barrier): Define.
8621 (atomic_write_barrier): Define.
8622
6e236b92
SP
86232012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8624
8625 * shlib-versions: Add libgcc_s version information.
8626 * sysdeps/generic/libgcc_s.h: Remove.
8627 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8628 libgcc_s.h.
8629 * sysdeps/gnu/unwind-resume.c: Likewise.
8630 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8631
aab39a09
DM
86322012-04-25 David S. Miller <davem@davemloft.net>
8633
8634 * sysdeps/unix/sparc/brk.S: Delete.
8635 * sysdeps/unix/sparc/dl-brk.S: Delete.
8636 * sysdeps/unix/sparc/pipe.S: Delete.
8637 * sysdeps/unix/sparc/sysdep.S: Delete.
8638 * sysdeps/unix/sparc/sysdep.h: Delete.
8639 * sysdeps/unix/sparc/vfork.S: Delete.
8640 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8641 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8642 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8643 ret_ERRVAL, r0, r1, MOVE): Define.
8644 (JUMPTARGET): Remove.
8645 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8646 sysdeps/unix/sparc/sysdep.h
8647 (ENTRY, END): Remove.
8648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8649
a3cc4f48
JM
86502012-04-25 Joseph Myers <joseph@codesourcery.com>
8651
2ed8cda2
JM
8652 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8653 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8654 -DIS_IN_build.
8655
35d76d59
JM
8656 * timezone/README: Update upstream location and email address for
8657 tzcode and tzdata.
8658 * timezone/zdump.c: Update from tzcode 2012b.
8659 * timezone/zic.c: Likewise.
8660
a3cc4f48
JM
8661 * configure.in (libc_cv_as_needed): Remove test.
8662 * configure: Regenerated.
8663 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8664 conditional definition.
8665 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8666 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8667 * config.make.in (have-as-needed): Remove variable.
8668
ceab42c3
SP
86692012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8670 Paul Pluzhnikov <ppluzhnikov@google.com>
8671
8672 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8673 strings correctly.
8674
3ce2865f
CLT
86752012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8676
8677 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8678 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8679 * sysdeps/sh/strlen.S: Likewise.
8680
f37e0d68
JM
86812012-04-24 Joseph Myers <joseph@codesourcery.com>
8682
ae186e9a
JM
8683 * sysdeps/unix/fork.S: Remove file.
8684 * sysdeps/unix/i386/fork.S: Likewise.
8685 * sysdeps/unix/sparc/fork.S: Likewise.
8686
b96914af
JM
8687 * sysdeps/unix/system.c: Remove file.
8688 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8689
f37e0d68
JM
8690 * sysdeps/unix/getegid.S: Remove file.
8691 * sysdeps/unix/geteuid.S: Likewise.
8692
87ef29ca
RM
86932012-04-24 Roland McGrath <roland@hack.frob.com>
8694
83bcd236
RM
8695 * scripts/check-localplt.awk: New file.
8696 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8697 of diff.
8698 * scripts/data/localplt-generic.data: Add a comment.
8699
87ef29ca
RM
8700 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8701 NODE when __dir_mkfile failed.
8702 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8703 Reported by Ludovic Courtès <ludo@gnu.org>.
8704
e5a6e567
AJ
87052012-04-24 Andreas Jaeger <aj@suse.de>
8706
8707 * Makerules (common-clean): Also remove gen-as-const-headers
8708 files.
8709
c1820385
JM
87102012-04-24 Joseph Myers <joseph@codesourcery.com>
8711
8712 * Makerules (native-compile): Do not change working directory for
8713 build. Use $(OUTPUT_OPTION) in command.
8714 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8715
94e02fc4
AZ
87162012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8717
8718 [BZ #13886]
8719 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8720 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8721 * math/libm-test.inc (floor_test): Add more tests.
8722 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8723
3a533ca3
JM
87242012-04-24 Joseph Myers <joseph@codesourcery.com>
8725
940ab4b3
JM
8726 * sysdeps/unix/getdents.c: Remove file.
8727 * sysdeps/unix/sysv/getdents.c: Likewise.
8728 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8729
90e037bd
JM
8730 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8731 sysdeps/unix/mman/syscalls.list.
8732 (mmap): Likewise.
8733 (mprotect): Likewise.
8734 (msync): Likewise.
8735 (munmap): Likewise.
8736 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8737 * sysdeps/unix/mman/syscalls.list: Remove.
8738 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8739
3a533ca3
JM
8740 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8741 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8742 * configure: Regenerated.
8743 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8744 $(libgcc_s_suffix).
8745 * config.make.in (libgcc_s_suffix): Remove variable.
8746
1ad743de
JM
87472012-04-23 Joseph Myers <joseph@codesourcery.com>
8748
4ad451e2
JM
8749 * sysdeps/unix/sysv/gethostname.c: Move to ...
8750 * sysdeps/posix/gethostname.c: ... here.
8751
5e37ce39
JM
8752 * sysdeps/unix/execve.S: Remove file.
8753
1ad743de
JM
8754 * sysdeps/unix/_exit.S: Remove file.
8755
4e681b5b
AJ
87562012-04-23 Andreas Jaeger <aj@suse.de>
8757
8758 [BZ #13739]
8759 * manual/Makefile: Remove make dist support, there's no
8760 need for a stand-alone documentation tar ball.
8761 (TEXI2DVI): Define always, it's not in Makeconfig.
8762 (dist): Removed.
8763 (tar-it): Removed.
8764 (edition): Removed.
8765 (glibc-doc-$(edition).tar): Removed
8766 (%.Z): Removed.
8767 (%.gz): Removed.
8768 (%.uu): Removed.
8769 (ETAGS): Remove, it's in Makeconfig.
8770 (move-if-change): Remove, it's in Makeconfig.
8771
c0baea34
PE
87722013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8773
8774 [BZ #13970]
8775 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8776 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8777 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8778 (strtod_l, strtof_l, strtold_l): Remove __wur.
8779 It is not necessarily an error to ignore strtol's return value.
8780 One can reliably look at the stored endptr to decide whether
8781 the number had valid syntax.
8782
7c0616fa
AJ
87832012-04-21 Andreas Jaeger <aj@suse.de>
8784
803cb6b7 8785 [BZ #13739]
7c0616fa
AJ
8786 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8787
b0fe253f
JM
87882012-04-21 Joseph Myers <joseph@codesourcery.com>
8789
8790 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8791 * sysdeps/unix/sysv/Versions: Remove file.
8792
8280f22d
MT
87932012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8794
8795 [BZ #13927]
8796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8797
75ce411f 87982012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8799
8800 [BZ #7064]
8801 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8802 version from __vm86.
8803
097d59fa
JM
88042012-04-20 Joseph Myers <joseph@codesourcery.com>
8805
a90f3bcb
JM
8806 * sysdeps/unix/common/lxstat.c: Remove file.
8807 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8808
edc7ea78
JM
8809 * sysdeps/unix/sysv/Makefile: Remove file.
8810
cb78c221
JM
8811 * sysdeps/unix/sysv/direct.h: Remove file.
8812
efa6a45f
JM
8813 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8814 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8815 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8816 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8817 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8818 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8819 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8820
9c9f2d0c
JM
8821 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8822
4541c83b
JM
8823 * sysdeps/unix/xmknod.c: Remove file.
8824 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8825
f5d153a0
JM
8826 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8827
aa746595
JM
8828 * sysdeps/unix/sysv/i386/time.S: Remove file.
8829
cce5905e
JM
8830 * sysdeps/unix/fxstat.c: Remove file.
8831 * sysdeps/unix/xstat.c: Likewise.
8832 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8833
37fa3841
JM
8834 * sysdeps/unix/sysv/sigaction.c: Remove file.
8835
ff1962a3
JM
8836 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8837 (sysdep_headers): Remove variable.
8838 [termio.h not in sysdep_headers] (generated): Likewise.
8839 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8840 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8841 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8842 * sysdeps/unix/sysv/tcflow.c: Likewise.
8843 * sysdeps/unix/sysv/tcflush.c: Likewise.
8844 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8845 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8846 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8847 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8848 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8849
e7740d31
JM
8850 * sysdeps/unix/siglist.c: Remove file.
8851
ee06f18b
JM
8852 * sysdeps/unix/getppid.S: Remove file.
8853
097d59fa
JM
8854 * sysdeps/unix/mkdir.c: Remove file.
8855 * sysdeps/unix/rmdir.c: Likewise.
8856
ff3d51ec
AS
88572012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8858
8859 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8860 ERR_MAX value.
8861 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8862 errlist-compat value.
8863
50f81fd7
DM
88642012-04-18 David S. Miller <davem@davemloft.net>
8865
8866 * sysdeps/generic/memcopy.h (reg_char): Delete.
8867 * debug/strcat_chk.c: Use char, not reg_char.
8868 * debug/strcpy_chk.c: Likewise.
8869 * debug/strncat_chk.c: Likewise.
8870 * debug/strncpy_chk.c: Likewise.
8871 * string/memchr.c: Likewise.
8872 * string/memrchr.c: Likewise.
8873 * string/rawmemchr.c: Likewise.
8874 * string/strcat.c: Likewise.
8875 * string/strchr.c: Likewise.
8876 * string/strchrnul.c: Likewise.
8877 * string/strcmp.c: Likewise.
8878 * string/strcpy.c: Likewise.
8879 * string/strncat.c: Likewise.
8880 * string/strncmp.c: Likewise.
8881 * string/strncpy.c: Likewise.
8882
8ff41c46
WS
88832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8884
8885 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8886 __builtin_memcopy is called when src and dest ranges are known to not
8887 overlap.
8888
6b652f46
WS
88892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8890
8891 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8892 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8893 fwd_align_merge macro call.
8894 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8895 bwd_align_merge macro call.
8896 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8897
b282631e
WS
88982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8899
8900 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8901 bwd_align_merge macros.
8902 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8903 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8904 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8905
95aa737c
DM
89062012-04-18 David S. Miller <davem@davemloft.net>
8907
8908 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8909
7a99a614
AJ
89102012-04-18 Andreas Jaeger <aj@suse.de>
8911
8912 [BZ# 6794]
8913 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8914 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8915 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8916
8917 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8918 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8919 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8920
8921 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8922 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8923 Adjust for changed ldbl-128 files.
8924
8925 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8926 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8927 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8928
e5270c23
DM
89292012-04-17 David S. Miller <davem@davemloft.net>
8930
8931 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8932
fb5e92c9
AS
89332012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8934
8935 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8936 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8937 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8938 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8939 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8940 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8941
76da7265
AZ
89422012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8943
8944 [BZ #6794]
8945 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8946 * math/libm-test.inc: Add ilogb errno and exception tests.
8947 * math/w_ilogb.c: New file: ilogb wrapper.
8948 * math/w_ilogbf.c: New file: ilogbf wrapper.
8949 * math/w_ilogbl.c: New file: ilogbl wrapper.
8950 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8951 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8952 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8953 exception being thrown with 0.0 as argument.
8954 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8955 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8956 exception being thrown with 0.0 as argument.
8957 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8958 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8959 exception being thrown with 0.0 as argument.
8960 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8961 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8962 exception being thrown with 0.0 as argument.
8963 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8964 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8965 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8966 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8967 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8968 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8969 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8970 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8971 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8972
0396e69d
PB
89732012-04-17 Petr Baudis <pasky@ucw.cz>
8974
8975 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8976 with altivec.
8977
750b5926
MP
89782012-04-16 Marek Polacek <polacek@redhat.com>
8979
8980 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8981
751728a1
MP
89822012-04-16 Marek Polacek <polacek@redhat.com>
8983
8984 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8985 operands of fdivp instruction.
8986
34a27407
L
89872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8988
8989 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8990 * elf/tst-auditmod3b.c: Likewise.
8991 * elf/tst-auditmod4b.c: Likewise.
8992 * elf/tst-auditmod5b.c: Likewise.
8993 * elf/tst-auditmod6b.c: Likewise.
8994 * elf/tst-auditmod6c.c: Likewise.
8995 * elf/tst-auditmod7b.c: Likewise.
8996 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8997 * sysdeps/x86_64/preconfigure.in: Likewise.
8998 * sysdeps/x86_64/preconfigure: Regenerated.
8999
7e73e17d
L
90002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9001
9002 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9003 __ILP32__.
9004
c7a6ab72
AB
90052012-04-13 Antoine Balestrat <merkil33@gmail.com>
9006
9007 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9008 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9009
a9e8e0e0
CL
90102012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9011
9012 [BZ #13973]
9013 * locale/iso-639.def: Fix gl language name. Spotted by
9014 Yaron Shahrabani.
9015
ec98af7d
RM
90162012-04-12 Roland McGrath <roland@hack.frob.com>
9017
9018 [BZ #2074]
9019 * libio/libio.h (__io_write_fn): Update comment.
9020
247c3ede
PB
90212012-04-12 Petr Baudis <pasky@ucw.cz>
9022
9023 [BZ #2074]
9024 * stdio.texi (Hook Functions): The user provided writer function
9025 is not allowed to return -1.
9026
55939d6d
DM
90272012-04-11 David S. Miller <davem@davemloft.net>
9028
9029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9030
90020f5a
MF
90312012-04-11 Mike Frysinger <vapier@gentoo.org>
9032
9033 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9034 Add a leading slash to rtkaio.
9035
288f9098
JM
90362012-04-11 Jim Meyering <meyering@redhat.com>
9037
90020f5a
MF
9038 [BZ #11959]
9039 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9040 It is not necessarily an error to ignore fwrite's return
9041 value. One can reliably use ferror to test for errors after
9042 the fact.
288f9098 9043
4be2b570
L
90442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9045
9046 * bits/types.h (__snseconds_t): New type.
9047 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9048
9049 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9050 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9051 (__SNSECONDS_T_TYPE): Likewise.
9052 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9053 (__SNSECONDS_T_TYPE): Likewise.
9054 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9055 (__SNSECONDS_T_TYPE): Likewise.
9056
288f9098 90572012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9058
9059 [BZ #2636]
9060 * manual/time.texi (Processor Time): Return type of times is
9061 elapsed real time since an arbitrary point in the past.
9062 (CPU Time): Move CLK_TCK from here...
9063 (Processor Time): ...to here. Correct description.
9064 * manual/conf.texi (Constants for Sysconf): Correct description of
9065 _SC_CLK_TCK.
9066
d7dd4413
DM
90672012-04-10 David S. Miller <davem@davemloft.net>
9068
9069 [BZ #13967]
9070 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9071 where the is a gap between DT_REL(A) and DT_JMPREL.
9072
b46068fc
L
90732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9074
9075 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9076 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9077 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9078
73d65cc3
SP
90792012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9080
9081 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9082 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9083 (dl_main): Handle --inhibit-cache.
9084 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9085 _dl_inhibit_cache.
9086 * elf/dl-load.c (_dl_map_object): Use it.
9087 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9088
bcc8d661
JM
90892012-04-09 Joseph Myers <joseph@codesourcery.com>
9090
8f9a2fae
JM
9091 [BZ #13872]
9092 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9093 (__ieee754_powl): Saturate large exponents rather than testing for
9094 overflow of y*log2(x).
9095 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9096 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9097 exceptions.
9098
bcc8d661
JM
9099 [BZ #11521]
9100 * math/s_ctan.c: Include <float.h>.
9101 (__ctan): Avoid internal overflow or cancellation in calculating
9102 denominator.
9103 * math/s_ctanf.c: Likewise.
9104 * math/s_ctanl.c: Likewise.
9105 * math/s_ctanh.c: Likewise.
9106 * math/s_ctanhf.c: Likewise.
9107 * math/s_ctanhl.c: Likewise.
9108 * math/libm-test.inc (ctan_test): Add more tests.
9109 (ctanh_test): Likewise.
9110 * sysdeps/i386/fpu/libm-test-ulps: Update.
9111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9112
823fbbb4
AJ
91132012-04-09 Andreas Jaeger <aj@suse.de>
9114
03879793
AJ
9115 [BZ #6894]
9116 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9117 is an optional BSD extension.
9118
823fbbb4
AJ
9119 [BZ #10254]
9120 * manual/stdio.texi (Opening Streams): Document additional fopen
9121 parameters.
9122
8de131cb
RM
91232012-04-09 Roland McGrath <roland@hack.frob.com>
9124
9125 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9126 %eax without telling the compiler.
9127
c0ed9d7d
CD
91282012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9129
9130 [BZ # 13963]
9131 * manual/install.texi: Use sourceware.org.
9132
c483f6b4
JM
91332012-04-09 Joseph Myers <joseph@codesourcery.com>
9134
d7dd9453
JM
9135 [BZ #13873]
9136 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9137 (__ieee754_pow): Generate overflow and underflow using huge*huge
9138 and tiny*tiny rather than just returning constant infinity or zero
9139 for large exponents.
9140 * math/libm-test.inc (pow_test): Require overflow exceptions for
9141 applicable cases of large exponents.
9142
c483f6b4
JM
9143 [BZ #706]
9144 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9145 (__ieee754_pow): Use iterative multiplication algorithm only for
9146 integer exponents with absolute value below 1024. Check for odd
9147 integer exponents when using algorithm for real exponents.
9148 * math/libm-test.inc (pow_test): Add more tests.
9149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9150
d2de7579
JM
91512012-04-08 Joseph Myers <joseph@codesourcery.com>
9152
9153 [BZ #13705]
9154 * math/libm-test.inc (exp_test): Do not allow overflow exception
9155 on underflow test.
9156
f77f1232
AJ
91572012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9158
9159 [BZ #13705]
9160 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9161 instead of __kernel_standard_f.
9162
3884932b
MF
91632012-04-08 Mike Frysinger <vapier@gentoo.org>
9164
9165 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9166 * sysdeps/x86_64/memset_chk.S: Likewise.
9167
54472e9c
AJ
91682012-04-08 Andreas Jaeger <aj@suse.de>
9169
6ab0fbfc
AJ
9170 [BZ #10153]
9171 * manual/startup.texi (Environment Access): Describe return value
9172 for putenv and setenv.
9173
61efba8c
AJ
9174 [BZ #6895]
9175 * manual/filesys.texi (Directory Entries): Add description for
9176 DT_LNK.
9177
95c3f29a
AJ
9178 [BZ #6890]
9179 * manual/filesys.texi (Directory Entries): Clarify that it's file
9180 system not operating system in the description of DT_UNKNOWN.
9181
54472e9c
AJ
9182 [BZ #6578]
9183 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9184
624254b1
SC
91852012-04-08 Stephen Compall <s11@member.fsf.org>
9186
9187 [BZ #6649]
9188 * manual/llio.texi (Opening and Closing Files): Add cross
9189 reference to explain mode argument.
9190
1e4920e0
MF
91912012-04-07 Mike Frysinger <vapier@gentoo.org>
9192
9193 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9194 * sysdeps/x86_64/memset_chk.S: Likewise.
9195
5ed848f3
DM
91962012-04-07 David S. Miller <davem@davemloft.net>
9197
9198 * elf/elf.h (R_SPARC_WDISP10): Define.
9199 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9200 R_SPARC_SIZE32.
9201 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9202 R_SPARC_SIZE64 and R_SPARC_H34.
9203
96154cd8
CD
92042012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9205
9206 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9207 conditions and remove no longer applicable assertion.
9208
9904dc47
L
92092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9210
9211 * bits/byteswap.h: Include <features.h>.
9212 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9213 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9214
f8887d0a
L
92152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9216
9217 * bits/byteswap.h (__bswap_16): Removed.
9218 Include <bits/byteswap-16.h> to get __bswap_16.
9219 * sysdeps/i386/bits/byteswap.h: Likewise.
9220 * sysdeps/s390/bits/byteswap.h: Likewise.
9221 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9222 * bits/byteswap-16.h: New file.
9223 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9224 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9225 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9226 * string/Makefile (headers): Add bits/byteswap-16.h.
9227
62470f60
PP
92282012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9229
9230 [BZ #13895]
9231 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9232 extra indirection.
9233 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9234 * nss/tst-nss-static.c: New.
9235
4dad7bab
RM
92362012-04-06 Robert Millan <rmh@gnu.org>
9237
9238 [BZ #6486]
9239 * manual/llio.texi (File Position Primitive): lseek
9240 refers to WHENCE when it really means OFFSET.
9241
e9142a17
AJ
92422012-04-06 Andreas Jaeger <aj@suse.de>
9243
2c040eff
AJ
9244 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9245 strncmp declarations.
9246
e9142a17
AJ
9247 * abilist/libc.abilist: Add __poll and __ppoll.
9248
ff9f1c5f
DM
92492012-04-05 David S. Miller <davem@davemloft.net>
9250
dcd2ae90
DM
9251 * scripts/check-local-headers.sh: Accept a host triplet in the
9252 path matched by the exclude regexp.
9253
993eb054
DM
9254 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9255 definition.
9256 * sysdeps/powerpc/powerpc32/dl-machine.h
9257 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9258 * sysdeps/s390/s390-32/dl-machine.h
9259 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9260 * sysdeps/sparc/sparc32/dl-machine.h
9261 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9262 * sysdeps/sparc/sparc64/dl-machine.h
9263 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9264
ff9f1c5f
DM
9265 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9266 lazy binding.
48e2e132 9267 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9268 undefined symbol errors.
9269
48e2e132 9270 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9271 DT_NEEDED entries.
9272
e80d6f94
MM
92732012-04-05 Michael Matz <matz@suse.de>
9274
9275 [BZ #13592]
9276 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9277
349fa79f
AJ
92782012-04-05 Andreas Jaeger <aj@suse.de>
9279
9280 [BZ #13908]
9281 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9282 comment.
9283
f402708f
KK
92842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9285
9286 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9287 which ROUND is no valid rounding mode.
9288
2ecccfc9
KK
92892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9290
9291 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9292 read again.
9293 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9294
8a53f50f
KK
92952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9296
9297 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9298 an exception using FPU order intentionally.
9299
93002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9301
9302 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9303 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9304 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9305 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9306
d653abb7
SJ
93072012-04-05 Simon Josefsson <simon@josefsson.org>
9308
9309 [BZ #12340]
9310 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9311 EINVAL when BUFLEN is too smal.
9312
c3b1bf7d
TS
93132012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9314
9315 [BZ #13553]
9316 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9317 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9318
b1aa60f3
AJ
93192012-04-03 Andreas Jaeger <aj@suse.de>
9320
c3b1bf7d 9321 [BZ #13938]
67f60a26
AJ
9322 * manual/setjmp.texi (System V contexts): Fix sentence.
9323
b1aa60f3
AJ
9324 [BZ #13926]
9325 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9326 New macro for this case.
9327 [!__GNUC__] (__bswap_64): New inline function for this case.
9328 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9329 * bits/byteswap.h: Likewise.
9330 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9331 ull, guard with __GLIBC_HAVE_LONG_LONG.
9332
9333 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9334 __GLIBC_HAVE_LONG_LONG.
9335
9336 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9337 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9338
39c59c35
TMQMF
93392012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9340
9341 [BZ #13691]
9342 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9343 inptr and inend, rather than using last_ch.
9344
135ffda8
DM
93452012-04-02 David S. Miller <davem@davemloft.net>
9346
9347 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9348 * stdio-common/printf-parse.h (read_int): Change return type to
9349 'int', return -1 on INT_MAX overflow.
9350 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9351 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9352 overflows INT_MAX. Check for overflow of in-format-string precision
9353 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9354 SIZE_MAX not INT_MAX for integer overflow test.
9355 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9356 skip the construct in the format string but do not record anything.
9357 * stdio-common/bug22.c: Adjust to test both width/prevision
9358 INT_MAX overflow as well as total length INT_MAX overflow. Check
9359 explicitly for proper errno values.
9360
228c019e
TS
93612012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9362
302cadd3
TS
9363 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9364 CHAR_MAX.
9365 * string/test-strcmp.c [! WIDE]: Likewise.
9366 * time/tst-mktime2.c: Likewise for INT_MAX.
9367 * string/test-string.h: #include <sys/param.h> for MIN.
9368
228c019e
TS
9369 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9370 * sysdeps/i386/init-first.c (init): Likewise.
9371 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9372 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9373 * sysdeps/sh/init-first.c (init): Likewise.
9374
cfa633f5
UD
93752012-04-01 Ulrich Drepper <drepper@gmail.com>
9376
9377 * po/ru.po: Update from translation team.
d1635ef8 9378 * po/vi.po: Likewise.
cfa633f5 9379
6cd0a5ea
SP
93802012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9381
9382 * resolv/nss_dns/dns-host.c: Merge copyright years.
9383
4b43400f
LD
93842012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9385
9386 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9387 Optimize memcpy with prefetch if
9388 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9389 src, dst pointers have unequal 16 byte alignments.
9390
48c41d04
SP
93912012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9392
9393 [BZ #13928]
9394 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9395 from a CNAME entry and return the minimum ttl for the query.
9396 (gaih_getanswer_slice): Likewise.
9397
b8dc394d
JL
93982012-03-30 Jeff Law <law@redhat.com>
9399
9400 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9401 due to long keys.
9402 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9403 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9404
2f5a5ed0
JL
9405 * resolv/nss_dns/dns-host.c: Update copyright year.
9406
1d39e359
UD
94072012-03-30 Ulrich Drepper <drepper@gmail.com>
9408
c030f70c 9409 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9410 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9411
1d39e359
UD
9412 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9413 comments for sendmmsg.
9414
94152012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9416
9417 [BZ #13691]
9418 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9419 with only 1 character between 0x0041 and 0x01b0.
9420 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9421 * wcsmbs/tst-mbsnrtowcs.c: New file.
9422
20fde227
DM
94232012-03-29 David S. Miller <davem@davemloft.net>
9424
9425 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9426 small copies by hand.
9427
984a4237
JL
94282012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9429
9430 [BZ #13761]
9431 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9432 _nss_compat_initgroups_dyn): Fall back to malloc/free
9433 for large group memberships.
9434
18c9d62b
DM
94352012-03-28 David S. Miller <davem@davemloft.net>
9436
88d85d4f
DM
9437 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9438 that branches into memcpy.
9439 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9440 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9441 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9442 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9443 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9444 bits.
9445 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9446 implementation too.
9447 * sysdeps/sparc/mempcpy.S: New file.
9448
e5aa83e1
DM
9449 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9450 the IFUNC routine in the libc case.
9451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9452
88570753
DM
9453 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9454 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9455 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9456 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9457 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9458 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9459 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9460 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9461
249d7567
DM
9462 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9463 loop to 256 bytes instead of 64 bytes and fix test signedness.
9464
18c9d62b
DM
9465 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9466 * sysdeps/sparc/sparc32/Makefile: rather than here...
9467 * sysdeps/sparc/sparc64/Makefile: and here.
9468
05f3d1f6
UD
94692012-03-28 Ulrich Drepper <drepper@gmail.com>
9470
9471 * malloc/mallocbug.c: Avoid warnings about unused variables.
9472
86ae07a8
JL
94732012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9474
9475 [BZ #13760]
9476 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9477 in the right place. Discard and retry query if response is
9478 larger than input buffer size.
9479
41bf21a1
JM
94802012-03-28 Joseph Myers <joseph@codesourcery.com>
9481
d6270972
JM
9482 [BZ #369]
9483 [BZ #2678]
9484 [BZ #3866]
9485 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9486 x for large integer exponent.
9487 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9488 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9489 sign of result as needed afterwards.
9490 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9491 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9492 result for underflowing pow the same as for overflow.
9493 (__kernel_standard_l): Handle powl overflow and underflow here
9494 rather than calling __kernel_standard.
9495 * math/libm-test.inc (pow_test): Add more tests.
9496
414fca03 9497 [BZ #3868]
41bf21a1
JM
9498 [BZ #13879]
9499 [BZ #13910]
9500 [BZ #13911]
9501 [BZ #13912]
9502 [BZ #13913]
9503 [BZ #13915]
9504 [BZ #13916]
9505 [BZ #13917]
9506 [BZ #13918]
9507 [BZ #13919]
9508 [BZ #13920]
9509 [BZ #13921]
9510 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9511 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9512 (__kernel_standard_l): New function.
9513 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9514 __kernel_standard.
9515 * math/w_acosl.c (__acosl): Likewise.
9516 * math/w_asinl.c (__asinl): Likewise.
9517 * math/w_atan2l.c (__atan2l): Likewise.
9518 * math/w_atanhl.c (__atanhl): Likewise.
9519 * math/w_coshl.c (__coshl): Likewise.
9520 * math/w_exp10l.c (__exp10l): Likewise.
9521 * math/w_exp2l.c (__exp2l): Likewise.
9522 * math/w_fmodl.c (__fmodl): Likewise.
9523 * math/w_hypotl.c (__hypotl): Likewise.
9524 * math/w_j0l.c (__j0l, __y0l): Likewise.
9525 * math/w_j1l.c (__j1l, __y1l): Likewise.
9526 * math/w_jnl.c (__jnl, __ynl): Likewise.
9527 * math/w_lgammal.c (__lgammal): Likewise.
9528 * math/w_log10l.c (__log10l): Likewise.
9529 * math/w_log2l.c (__log2l): Likewise.
9530 * math/w_logl.c (__logl): Likewise.
9531 * math/w_powl.c (__powl): Likewise.
9532 * math/w_remainderl.c (__remainderl): Likewise.
9533 * math/w_scalbl.c (sysv_scalbl): Likewise.
9534 * math/w_sinhl.c (__sinhl): Likewise.
9535 * math/w_sqrtl.c (__sqrtl): Likewise.
9536 * math/w_tgammal.c (__tgammal): Likewise.
9537 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9538 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9539 * math/libm-test.inc (acos_test): Add more tests.
9540 (acosh_test): Likewise.
9541 (asin_test): Likewise.
9542 (atanh_test): Likewise.
9543 (exp_test): Likewise.
9544 (exp10_test): Likewise.
9545 (exp2_test): Likewise.
9546 (expm1_test): Likewise.
9547 (lgamma_test): Likewise.
9548 (log_test): Likewise.
9549 (log10_test): Likewise.
9550 (log1p_test): Likewise.
9551 (log2_test): Likewise.
9552 (pow_test): Do not allow some spurious overflow exceptions.
9553 (sqrt_test): Add more tests.
9554 (tgamma_test): Likewise.
9555 (y0_test): Likewise.
9556 (y1_test): Likewise.
9557 (yn_test): Likewise.
9558
dd62fda6
AB
95592012-03-27 Anton Blanchard <anton@samba.org>
9560
9561 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9562 MAP_HUGETLB.
9563 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9564 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9565 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9566
1e3cdfda
AJ
95672012-03-27 David S. Miller <davem@davemloft.net>
9568
b855ab85
DM
9569 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9570
1e3cdfda
AJ
9571 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9572 have-as-vis3 check.
9573
95742012-03-27 Andreas Jaeger <aj@suse.de>
9575
9576 * sysdeps/x86_64/elf/configure.in: Moved to ...
9577 * sysdeps/x86_64/configure.in: ... here.
9578 * sysdeps/x86_64/elf/start.S: Moved to ...
9579 * sysdeps/x86_64/start.S: ... here.
9580 * sysdeps/x86_64/elf/configure: Delete.
9581
9582 * sysdeps/x86_64/configure.in: Merge contents from
9583 sysdeps/i386/configure.in (without i686 check).
9584
9585 * sysdeps/i386/elf/Versions: Merge into ...
9586 * sysdeps/i386/Versions: ... this.
9587 * sysdeps/i386/elf/Versions: Delete file.
9588 * sysdeps/i386/elf/start.S: Moved to ...
9589 * sysdeps/i386/start.S: ...here.
9590 * sysdeps/i386/elf/configure.in: Merge into...
9591 * sysdeps/i386/configure.in: ...here.
9592 * sysdeps/i386/elf/configure.in: Delete file.
9593 * sysdeps/i386/elf/configure: Delete file.
9594
9595 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9596 * debug/backtracesyms.c: ... here.
9597 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9598 * debug/backtracesymsfd.c: ... here.
9599 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9600 * sysdeps/generic/ifunc-sel.h: ... here.
9601
9602 * sysdeps/unix/i386/start.c: Delete file.
9603 * sysdeps/unix/sparc/start.c: Delete file.
9604 * sysdeps/unix/start.c: Delete file.
9605
9606 * sysdeps/sh/elf/configure.in: Moved to ...
9607 * sysdeps/sh/configure.in: ... here.
9608 * sysdeps/sh/elf/start.S: Moved to ...
9609 * sysdeps/sh/start.S: ... here.
9610 * sysdeps/sh/elf/configure: Delete file.
9611
9612 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9613 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9614 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9615 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9616 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9617 * sysdeps/powerpc/powerpc64/start.S: here.
9618 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9619 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9620 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9621 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9622 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9623
9624 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9625 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9626 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9627 * sysdeps/powerpc/powerpc32/start.S: ... here.
9628 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9629 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9630 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9631
9632 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9633 * sysdeps/powerpc/ifunc-sel.h: ... here.
9634 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9635 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9636
9637 * sysdeps/sparc/elf/configure.in: Moved to ...
9638 * sysdeps/sparc/configure.in: ... here.
9639 * sysdeps/sparc/elf/configure: Delete file.
9640 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9641 * sysdeps/sparc/sparc32/start.S: ... here.
9642 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9643 * sysdeps/sparc/sparc64/start.S: ... here.
9644 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9645 * sysdeps/sparc/sparc32/Makefile: ... this.
9646 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9647 * sysdeps/sparc/sparc64/Makefile: ... this.
9648
9649 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9650 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9651 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9652 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9653 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9654 * sysdeps/s390/s390-32/setjmp.S: ... here.
9655 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9656 * sysdeps/s390/s390-32/configure.in: ... here.
9657 * sysdeps/s390/s390-32/elf/configure: Delete file.
9658 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9659 * sysdeps/s390/s390-32/start.S: ... here.
9660
9661 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9662 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9663 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9664 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9665 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9666 * sysdeps/s390/s390-64/setjmp.S: ... here.
9667 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9668 * sysdeps/s390/s390-64/configure.in: ... here
9669 * sysdeps/s390/s390-64/elf/configure: Delete file.
9670 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9671 * sysdeps/s390/s390-64/start.S: ... here.
9672 * sysdeps/s390/s390-64/elf/configure: Delete.
9673
9674 * configure.in: Remove support for elf directories in sysdeps.
9675
9676 * configure: Regenerated.
9677 * sysdeps/i386/configure: Regenerated.
9678 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9679 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9680 * sysdeps/s390/s390-32/configure: Regenerated.
9681 * sysdeps/s390/s390-64/configure: Regenerated.
9682 * sysdeps/sh/configure: Regenerated.
9683 * sysdeps/sparc/configure: Regenerated.
9684 * sysdeps/x86_64/configure: Regenerated.
9685
a3f61311
AS
96862012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9687
c876e002
AS
9688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9689
a3f61311
AS
9690 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9691 denormal result into account.
9692
ac4c54f0
RM
96932012-03-25 Roland McGrath <roland@hack.frob.com>
9694
9695 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9696 Reported by Allan McRae <allan@archlinux.org>.
9697
6a9b9c02
JL
96982012-03-23 Jeff Law <law@redhat.com>
9699
9700 * nss/getnssent.c (__nss_getent): Fix typo.
9701
4c42a0c1
DM
97022012-03-23 David S. Miller <davem@davemloft.net>
9703
9704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9705
1532c7ac
L
97062012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9707
9708 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9709 to pad to uint64_t for each field.
9710 (dl_tls_index): Replace unsigned long with uint64_t.
9711
3ff42526
PP
97122012-03-23 Daniel Jacobowitz <dmj@google.com>
9713 Paul Pluzhnikov <ppluzhnikov@google.com>
9714
9715 [BZ #6528]
9716 * grp/Makefile (otherlibs): Don't set it.
9717 * inet/Makefile (otherlibs): Likewise.
9718 * login/Makefile (otherlibs): Likewise.
9719 * nscd/Makefile (otherlibs): Likewise.
9720 * posix/Makefile (otherlibs): Likewise.
9721 * pwd/Makefile (otherlibs): Likewise.
9722 * rt/Makefile (otherlibs): Likewise.
9723 * sunrpc/Makefile (otherlibs): Likewise.
9724 * nss/Makefile (otherlibs): Likewise.
9725 Add libnss_files to routines and static-only-routines.
9726 ($(objpfx)getent): Remove rule.
9727 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9728 static-only-routines.
9729
7c69cd14
JM
97302012-03-22 Joseph Myers <joseph@codesourcery.com>
9731
9732 [BZ #13892]
9733 * math/s_cexp.c: Include <float.h>.
9734 (__cexp): Handle exp result overflowing not necessarily
9735 overflowing both real and imaginary parts of result.
9736 * math/s_cexpf.c: Likewise.
9737 * math/s_cexpl.c: Likewise.
9738 * math/libm-test.inc (cexp_test): Add more tests.
9739 * sysdeps/i386/fpu/libm-test-ulps: Update.
9740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9741
81b035fe
L
97422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9743
9744 * include/link.h (ELFW): New macro.
9745 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9746 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9747
1da7940c
L
97482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9749
9750 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9751 with uint64_t.
9752
b749dbb9
L
97532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9754
9755 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9756 declaration.
9757 (struct La_x32_retval): Likewise.
9758
2ff87f3f
L
97592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9760
9761 * sysdeps/x86_64/preconfigure.in: New file.
9762 * sysdeps/x86_64/preconfigure: New generated file.
9763
c0df8e69
JM
97642012-03-22 Joseph Myers <joseph@codesourcery.com>
9765
48e44791
JM
9766 [BZ #13824]
9767 * math/e_exp2l.c: Include <float.h>.
9768 (__ieee754_exp2l): Handle overflow and underflow cases
9769 separately. Only pass fractional part of argument to
9770 __ieee754_expl.
9771 * math/libm-test.inc (exp2_test): Add more tests.
9772
c0df8e69
JM
9773 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9774 negating x to take absolute value.
9775 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9776 Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9779 Likewise.
9780 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9781 computing low part if x was negated.
9782 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9783
c8e43ba7
L
97842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9785
9786 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9787 la_x32_gnu_pltexit.
9788 (pltexit): Cast int_retval to ptrdiff_t.
9789 * elf/tst-auditmod3b.c: Likewise.
9790 * elf/tst-auditmod4b.c: Likewise.
9791 * elf/tst-auditmod5b.c: Likewise.
9792 * elf/tst-auditmod6b.c: Likewise.
9793 * elf/tst-auditmod6c.c: Likewise.
9794 * elf/tst-auditmod7b.c: Likewise.
9795
9796 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9797 and x32_gnu_pltexit.
9798
9799 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9800 __ELF_NATIVE_CLASS.
9801 (La_x32_regs): New macro.
9802 (La_x32_retval): Likewise.
9803 (la_x32_gnu_pltenter): New function prototype.
9804 (la_x32_gnu_pltexit): Likewise.
9805
7998fa78
AS
98062012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9807
dcb33988
AS
9808 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9809 exponent.
9810
233fc563
AS
9811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9812
7998fa78
AS
9813 * configure.in (libc_cv_cc_nofma): Check for option to disable
9814 generation of FMA instructions.
9815 * configure: Regenerate.
9816 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9817 * sysdeps/ieee754/dbl-64/Makefile: New file.
9818 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9819 Remove brandred-fma4.
9820 (CFLAGS-brandred-fma4.c): Remove.
9821 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9822 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9823 define.
9824 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9825 define.
9826
8e95c99a
L
98272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9828
9829 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9830 LLONG_MAX != LONG_MAX.
9831 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9832 (_fitoa_word): Likewise.
9833 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9834 LLONG_MAX != LONG_MAX.
9835 * stdio-common/_itowa.h: Include <_itoa.h>.
9836 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9837 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9838 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9839 only if not defined.
9840 (_ITOA_WORD_TYPE): Likewise.
9841 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9842 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9843
6f4db457
DM
98442012-03-21 David S. Miller <davem@davemloft.net>
9845
9846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9847
7785fe5a
L
98482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9849
9850 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9851 of x86_64 when setting libc_cv_slibdir, libdir and
9852 libc_cv_localedir.
9853 * sysdeps/unix/sysv/linux/configure: Regenerated.
9854
4535cd55
JM
98552012-03-21 Joseph Myers <joseph@codesourcery.com>
9856
9857 * manual/lang.texi (Old Varargs): Remove section.
9858 (How Variadic): Update menu.
9859 (va_start): Do not mention varargs.h.
9860
17228132
TS
98612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9862 Joseph Myers <joseph@codesourcery.com>
9863
9864 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9865 link test.
9866 * configure: Regenerated.
9867
8149f976
TS
98682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9869
05f3d1f6
UD
9870 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9871 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9872 conformtest.pl
8149f976 9873
1a4ac776
JM
98742012-03-21 Joseph Myers <joseph@codesourcery.com>
9875
be22ce65
JM
9876 * NOTES: Remove.
9877 * Makefile (files-for-dist): Remove NOTES.
9878 (NOTES): Remove rule.
9879 * README: Don't refer to NOTES.
9880 * manual/creature.texi: Don't include macros.texi.
9881 * manual/intro.texi (creature.texi): Remove comment referring to
9882 NOTES.
9883
40b601fb
JM
9884 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9885 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9886 * configure: Regenerated.
9887 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9888 LIBC_TRY_CC_OPTION.
9889 (libc_cv_as_i686): Likewise.
9890 (libc_cv_cc_avx): Likewise.
9891 (libc_cv_cc_sse2avx): Likewise.
9892 (libc_cv_cc_fma4): Likewise.
9893 (libc_cv_cc_novzeroupper): Likewise.
9894 * sysdeps/i386/configure: Regenerated.
9895
1a4ac776
JM
9896 [BZ #13883]
9897 * sysdeps/i386/fpu/s_cexp.S: Remove.
9898 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9899 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9900 * math/libm-test.inc (cexp_test): Add more tests.
9901 * sysdeps/i386/fpu/libm-test-ulps: Update.
9902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9903
a458e7fe
AM
99042012-03-21 Allan McRae <allan@archlinux.org>
9905
9906 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9907
0cb7efc5
JM
99082012-03-21 Joseph Myers <joseph@codesourcery.com>
9909
9910 [BZ #13871]
9911 * math/w_exp2.c: Do not include <float.h>.
9912 (o_threshold, u_threshold): Remove.
9913 (__exp2): Calculate result before checking finiteness and calling
9914 __kernel_standard.
9915 * math/w_exp2f.c: Likewise.
9916 * math/w_exp2l.c: Likewise.
9917 * math/libm-test.inc (exp2_test): Require overflow exception for
9918 1e6 input.
2460d3aa
JM
9919
9920 [BZ #3866]
9921 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9922 range of signed 64-bit integers before using fistpll. Remove
9923 checks for whether integers fit in mantissa bits.
9924 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9925 the range of signed 32-bit integers before using fistpl. Remove
9926 checks for whether integers fit in mantissa bits.
9927 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9928 (__ieee754_powl): Test for y outside the range of signed 64-bit
9929 integers before using fistpll. Reduce 64-bit values to 63-bit
9930 ones as needed.
9931 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9932 divide-by-zero is raised for zero to large negative powers.
9933 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9934 (__ieee754_powl): Test for y outside the range of signed 64-bit
9935 integers before using fistpll. Reduce 64-bit values to 63-bit
9936 ones as needed.
9937 * math/libm-test.inc (pow_test): Add more tests.
9938
eb96ffb0
L
99392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9940
9941 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9942 <stdio-common/_itoa.h>.
9943 * debug/segfault.c: Likewise.
9944 * elf/dl-cache.c: Likewise.
9945 * elf/dl-minimal.c: Likewise.
9946 * elf/dl-misc.c: Likewise.
9947 * elf/dl-sysdep.c: Likewise.
9948 * elf/dl-version.c: Likewise.
9949 * elf/rtld.c: Likewise.
9950 * hurd/hurdsock.c: Likewise.
9951 * hurd/lookup-retry.c: Likewise.
9952 * malloc/malloc.c: Likewise.
9953 * malloc/mtrace.c: Likewise.
9954 * nscd/nscd_getgr_r.c: Likewise.
9955 * nscd/nscd_getpw_r.c: Likewise.
9956 * nscd/nscd_getserv_r.c: Likewise.
9957 * posix/getopt_init.c: Likewise.
9958 * posix/wordexp.c: Likewise.
9959 * stdio-common/_itoa.c: Likewise.
9960 * stdio-common/printf_fphex.c: Likewise.
9961 * stdio-common/vfprintf.c: Likewise.
9962 * string/_strerror.c: Likewise.
9963 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9964 * sysdeps/i386/i686/hp-timing.h: Likewise.
9965 * sysdeps/mach/_strerror.c: Likewise.
9966 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9967 * sysdeps/mach/hurd/sethostid.c: Likewise.
9968 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9969 * sysdeps/mach/xpg-strerror.c: Likewise.
9970 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9971 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9972 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9973 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9974 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9975 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9976 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9977 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9978 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9979 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9980 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9981 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9982 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9983 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9984 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9985 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9986 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9987 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9988 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9989 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9990 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9991
9992 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9993
9994 * stdio-common/_itoa.h: Moved to ...
9995 * sysdeps/generic/_itoa.h: Here.
9996
9997 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9998
9999 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10000 instead of "_itoa.h" and "_itowa.h".
10001 * stdio-common/vfprintf.: Likewise.
10002
d1af992d
L
100032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10004
10005 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10006 <bits/wordsize.h>.
10007 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10008 (__signbit): Likwise.
10009 (llrintf): Likwise.
10010 (llrint): Likwise.
10011
114883e0
L
100122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10013
10014 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10015 __WORDSIZE != 64.
10016
c135cc1b
JM
100172012-03-20 Joseph Myers <joseph@codesourcery.com>
10018
10019 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10020 OVERFLOW_EXCEPTION_OK.
10021 * math/libm-test.inc ("Philosophy"): Update comment about
10022 exception testing.
10023 (OVERFLOW_EXCEPTION): Define.
10024 (OVERFLOW_EXCEPTION_OK): Likewise.
10025 (INVALID_EXCEPTION_OK): Renumber.
10026 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10027 (IGNORE_ZERO_INF_SIGN): Likewise.
10028 (test_exceptions): Handle FE_OVERFLOW.
10029 (exp10_test): Expect overflow exceptions.
10030 (exp2_test): Likewise.
10031 (expm1_test): Likewise.
10032 (nextafter_test): Likewise.
10033 (pow_test): Likewise.
10034 (scalbn_test): Likewise.
10035 (scalbln_test): Likewise.
10036
95443d88
L
100372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10038
10039 * sysdeps/x86_64/bits/atomic.h
10040 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10041 64bit integer.
10042 (atomic_exchange_acq): Likewise.
10043 (__arch_exchange_and_add_body): Likewise.
10044 (__arch_add_body): Likewise.
10045 (atomic_add_negative): Likewise.
10046 (atomic_add_zero): Likewise.
10047
490df6c4
L
100482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10049
c2722551 10050 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10051 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10052
5e52b189
L
100532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10054
10055 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10056 Check __x86_64__ instead of __WORDSIZE.
10057
a9879d4c
L
100582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10059
10060 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10061
5df98260
DM
100622012-03-19 David S. Miller <davem@davemloft.net>
10063
e1497744
DM
10064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10065
5df98260
DM
10066 * sysdeps/sparc/fpu/fenv_private.h: New file.
10067 * sysdeps/sparc/fpu/math_private.h: Use it.
10068 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10069 Remove.
10070 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10071 (libc_feholdexcept_setroundl): Remove.
10072 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10073 Remove.
10074 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10075 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10076
b4c35121
L
100772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10078
10079 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10080 int64_t instead of long int.
10081 (INSERT_WORDS64): Likwise.
10082
56965fd7
L
100832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10084
10085 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10086 _Unwind_GetCFA return to _Unwind_Ptr first.
10087
83d1aec8
JM
100882012-03-19 Joseph Myers <joseph@codesourcery.com>
10089
1897ad44
JM
10090 [BZ #13629]
10091 * math/s_clog.c: Include <float.h>.
10092 (__clog): Scale large or subnormal inputs.
10093 * math/s_clogf.c: Likewise.
10094 * math/s_clogl.c: Likewise.
10095 * math/s_clog10.c: Include <float.h>.
10096 (M_LOG10_2): Define.
10097 (__clog10): Scale large or subnormal inputs.
10098 * math/s_clog10f.c: Likewise.
10099 * math/s_clog10l.c: Likewise.
10100 * math/libm-test.inc (clog_test): Add more tests.
10101 (clog10_test): Likewise.
10102 * sysdeps/i386/fpu/libm-test-ulps: Update.
10103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10104
7726d6a9
JM
10105 [BZ #11451]
10106 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10107 x and y.
10108 * math/libm-test.inc (atan2_test): Add another test.
10109
83d1aec8
JM
10110 * Makerules (common-objdir-compile): Remove.
10111 * sysdeps/unix/Makefile (config-generated): Do not add
10112 $(unix-generated) to variable.
10113 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10114 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10115 Remove rule.
10116 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10117 Likewise.
10118 [generic bits/local_lim.h] (before-compile): Do not append to
10119 variable.
10120 [generic bits/local_lim.h] (common-generated): Likewise.
10121 [generic sys/param.h] (before-compile): Do not append to variable.
10122 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10123 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10124 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10125 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10126 include.
10127 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10128 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10129 [generic sys/param.h] ($(addprefix
10130 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10131 [generic sys/param.h] (common-generated): Do not append to
10132 variable.
10133 [generic sys/param.h] (sysdep_headers): Likewise.
10134 [generic bits/errno.h] (before-compile): Do not append to
10135 variable.
10136 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10137 rule.
10138 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10139 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10140 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10141 [generic bits/errno.h] (common-generated): Do not append to
10142 variable.
10143 [generic bits/ioctls.h] (before-compile): Do not append to
10144 variable.
10145 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10146 rule.
10147 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10148 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10149 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10150 rule.
10151 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10152 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10153 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10154 [generic bits/ioctls.h] (common-generated): Do not append to
10155 variable.
10156 [generic sys/syscall.h] (syscall.h): Remove variable.
10157 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10158 rule.
10159 [generic sys/syscall.h] (before-compile): Do not append to
10160 variable.
10161 [generic sys/syscall.h] (common-generated): Likewise.
10162 * sysdeps/unix/errnos-tmpl.c: Remove file.
10163 * sysdeps/unix/errnos.awk: Likewise.
10164 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10165 * sysdeps/unix/ioctls.awk: Likewise.
10166 * sysdeps/unix/mk-local_lim.c: Likewise.
10167 * sysdeps/unix/snarf-ioctls: Likewise.
10168
4851a949
RH
101692012-03-19 Richard Henderson <rth@twiddle.net>
10170
bd37f2ee
RH
10171 * sysdeps/i386/fpu/fenv_private.h: New file.
10172 * sysdeps/i386/fpu/math_private.h: Use it.
10173 (math_opt_barrier, math_force_eval): Remove.
10174 (libc_feholdexcept_setround_53bit): Remove.
10175 (libc_feupdateenv_53bit): Remove.
10176 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10177 (math_opt_barrier, math_force_eval): Remove.
10178 (libc_feholdexcept): Remove.
10179 (libc_feholdexcept_setround): Remove.
10180 (libc_fetestexcept, libc_fesetenv): Remove.
10181 (libc_feupdateenv_test): Remove.
10182 (libc_feupdateenv, libc_feholdsetround): Remove.
10183 (libc_feresetround): Remove.
10184
d0adc922
RH
10185 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10186 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10187
0fe0f1f8
RH
10188 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10189 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10190 (libc_feupdateenv_testl): New.
10191 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10192 (libc_feupdateenv_testf): New.
10193 (libc_feupdateenv): Use libc_feupdateenv_test.
10194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10195 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10196
eb92c487
RH
10197 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10198 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10199 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10200 (libc_feresetround_noex): New.
10201 (libc_feresetround_noexf): New.
10202 (libc_feresetround_noexl): New.
10203 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10204 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10205 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10206 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10207 SET_RESTORE_ROUND.
10208 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10209 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10210 (__cos): Likewise.
10211 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10212 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10213 SET_RESTORE_ROUND_NOEX.
10214 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10215 SET_RESTORE_ROUND_NOEXF.
10216 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10217 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10218 (libc_feholdsetroundf): New.
10219 (libc_feresetround, libc_feresetroundf): New.
10220
7d2e8012
RH
10221 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10222 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10223 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10224
b4dabbb4
RH
10225 * sysdeps/generic/math_private.h: Include <fenv.h>.
10226 (default_libc_feholdexcept): New.
10227 (default_libc_feholdexcept_setround): New.
10228 (default_libc_fesetenv, default_libc_feupdateenv): New.
10229 (libc_feholdexcept): Only define if undefined.
10230 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10231 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10232 (libc_feholdexcept_setroundl): Likewise.
10233 (libc_feholdexcept_setround_53bit): Likewise.
10234 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10235 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10236 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10237 (libc_feupdateenv_53bit): Likewise.
10238 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10239 (libc_feholdexcept): Convert from macro to inline function.
10240 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10241 (libc_fesetenv, libc_feupdateenv): Likewise.
10242
4851a949
RH
10243 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10244 not previously defined.
10245 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10246 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10247 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10248 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10249 * sysdeps/ieee754/flt-32/math_private.h: New file.
10250 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10251 math_private.h below SET_FLOAT_WORD.
10252 (__isnan, __isinf_ns, __finite): Remove.
10253 (__isnanf, __isinf_nsf, __finitef): Remove.
10254
e79d442e
AS
102552012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10256
10257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10258
90b80344
DM
102592012-03-17 David S. Miller <davem@davemloft.net>
10260
10261 [BZ #6471]
10262 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10263 for 2.16.
10264
edc21804
DM
102652012-03-16 David S. Miller <davem@davemloft.net>
10266
77e927af
DM
10267 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10268 warnings.
10269
374976dd
DM
10270 [BZ #6471]
10271 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10272 properly.
10273 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10274 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10275 sysdep_routines when subdir is sysvipc.
10276 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10277 __getshmlba helper.
10278
edc21804
DM
10279 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10280
473c3ef3
L
102812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10282
10283 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10284 [__LP64__].
10285
eb0f39b6
L
102862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10287
10288 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10289 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10290 (__lround): Renamed to ...
10291 (__llround): This. Replace long int with long long int.
10292 Define lround functions as aliases of llround functions.
10293 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10294
6b6cd74b
L
102952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10296
10297 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10298 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10299 adresses to uintptr_t. Replace "long int" and "unsigned long
10300 int" with "greg_t" on va_arg.
10301
f1a77b01
L
103022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10303
10304 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10305 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10306
10307 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10308 Move e_machine check before EI_CLASS check. Handle x32
10309 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10310 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10311 SKIP_EM_IA_64 and include
10312 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10313
10314 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10315 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10316 (add_system_dir): New macro.
10317
10318 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10319 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10320
11b90b9f
JM
103212012-03-16 Joseph Myers <joseph@codesourcery.com>
10322
c36e1d23
JM
10323 [BZ #2551]
10324 [BZ #2552]
10325 [BZ #2553]
10326 [BZ #2554]
10327 [BZ #2562]
10328 [BZ #2563]
10329 [BZ #2565]
10330 [BZ #2566]
10331 [BZ #2576]
10332 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10333 (y0): Likewise.
10334 * math/w_j0f.c (j0f): Likewise.
10335 (y0f): Likewise.
10336 * math/w_j0l.c (__j0l): Likewise.
10337 (__y0l): Likewise.
10338 * math/w_j1.c (j1): Likewise.
10339 (y1): Likewise.
10340 * math/w_j1f.c (j1f): Likewise.
10341 (y1f): Likewise.
10342 * math/w_j1l.c (__j1l): Likewise.
10343 (__y1l): Likewise.
10344 * math/w_jn.c (jn): Likewise.
10345 (yn): Likewise.
10346 * math/w_jnf.c (jnf): Likewise.
10347 (ynf): Likewise.
10348 * math/w_jnl.c (__jnl): Likewise.
10349 (__ynl): Likewise.
10350 * math/libm-test.inc (j0_test): Add more tests.
10351 (j1_test): Likewise.
10352 (jn_test): Likewise. Add trailing semicolon to existing test.
10353 (y0_test): Likewise.
10354 (y1_test): Likewise.
10355 * sysdeps/i386/fpu/libm-test-ulps: Update.
10356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10357
11b90b9f
JM
10358 [BZ #13851]
10359 [BZ #13854]
10360 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10361 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10362 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10363 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10364 (__tanl): Set errno for infinite argument.
10365 * sysdeps/i386/fpu/mptan.c: Remove.
10366 * sysdeps/i386/fpu/s_tan.S: Likewise.
10367 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10368 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10369 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10370 * math/libm-test.inc (tan_test): Add more tests and enable more
10371 tests for double and long double.
10372 * sysdeps/i386/fpu/libm-test-ulps: Update.
10373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10374
6a1bd2a1
JK
103752012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10376
10377 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10378 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10379
10a803e0
RM
103802012-03-16 Roland McGrath <roland@hack.frob.com>
10381
10382 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10383 * configure.in: Use it for both main tree and add-ons.
10384 * configure: Regenerated.
10385
f196c7f7
L
103862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10387
10388 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10389
8848d99d
JM
103902012-03-16 Joseph Myers <joseph@codesourcery.com>
10391
96cbe7f4
JM
10392 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10393 in comment.
10394
8848d99d
JM
10395 [BZ #13851]
10396 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10397 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10399 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10400 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10401 infinite argument.
10402 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10403 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10404 != 0 for prec == 2.
10405 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10406 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10407 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10408 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10409 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10410 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10411 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10412 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10413 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10414 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10415 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10416 * math/libm-test.inc (cos_test): Add more tests and enable more
10417 tests for long double.
10418 (sin_test): Likewise.
10419 (sincos_test): Likewise.
10420 * sysdeps/i386/fpu/libm-test-ulps: Update.
10421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10422
dd7f4703
DM
104232012-03-16 David S. Miller <davem@davemloft.net>
10424
10425 * sysdeps/sparc/fpu/math_private.h: New file.
10426
006f1daa
DM
104272012-03-15 David S. Miller <davem@davemloft.net>
10428
c0c83bc8
DM
10429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10430 file.
e6a62e18 10431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10433 file.
e6a62e18
DM
10434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10439 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10440 sysdep routines.
10441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10442
88cb87d9
DM
10443 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10444 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10445
006f1daa 10446 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10448 sparc-ifunc.h
006f1daa 10449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10451 Likewise.
10452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10453 Likewise.
006f1daa
DM
10454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10458 Likewise.
006f1daa
DM
10459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10464 Likewise.
10465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10466 Likewise.
006f1daa
DM
10467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10473 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10474 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10485 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10486 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10487 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10488 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10489 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10490 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10491
11e0098e
AS
104922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10493
10494 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10495 scaling.
10496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10497
e85b09d0
AJ
104982012-03-15 Andreas Jaeger <aj@suse.de>
10499
10500 [BZ #13852]
10501 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10502 ieee754/flt-32 implementation for sin, cos and sincos.
10503 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10504 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10505 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10506 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10507 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10508 ieee754/flt-32 implementation for tan.
10509
10510 * math/libm-test.inc (cos_test): Enable some large input tests for
10511 float as well
10512 (sin_test): Likewise.
10513 (sincos_test): Likewise.
10514 (tan_test): Add tests for large input.
10515
10516 * sysdeps/i386/fpu/libm-test-ulps: Update.
10517
81c64153
AJ
105182012-03-15 Andreas Jaeger <aj@suse.de>
10519
10520 [BZ #13658]
10521 * math/libm-test.inc (cos_test): Add more test cases.
10522 (sin_test): Likewise.
10523 (sincos_test): Likewise.
10524
7bbfa5c6
AJ
105252012-03-15 Andreas Jaeger <aj@suse.de>
10526
10527 [BZ #13837]
10528 * math/libm-test.inc (cos_test): Add a test case for large input
10529 value.
10530 (sin_test): Likewise.
10531 (sincos_test): Likewise.
10532
105332012-03-15 Andreas Jaeger <aj@suse.de>,
10534 Joseph Myers <joseph@codesourcery.com>
10535
10536 [BZ #13658]
0671f479 10537 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10538 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10539 * sysdeps/i386/fpu/branred.c: Likewise.
10540 * sysdeps/i386/fpu/dosincos.c: Likewise.
10541 * sysdeps/i386/fpu/mpa.c: Likewise.
10542 * sysdeps/i386/fpu/s_cos.S: Likewise.
10543 * sysdeps/i386/fpu/s_sin.S: Likewise.
10544 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10545 * sysdeps/i386/fpu/sincos32.c: Likewise.
10546
10547 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10548 Define.
10549 (libc_feupdateenv_53bit): Define.
10550 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10551 Define.
10552 (libc_feupdateenv_53bit): Define.
10553
10554 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10555 53 bit (without extend i386 double precision).
10556
10557 * math/libm-test.inc (sincos_test): Add tests for large input.
10558 (sin): Likewise.
10559 (cos): Likewise.
10560
10561 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10562
9cad04ea
AS
105632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10564
10565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10566
f7062b9a
DM
105672012-03-15 David S. Miller <davem@davemloft.net>
10568
10569 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10570 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10571 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10572 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10585 file.
f7062b9a 10586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10588 file.
f7062b9a 10589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10591 file.
f7062b9a 10592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10594 file.
f7062b9a
DM
10595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10596 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10597 fmin/fmax sysdep routines.
10598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10599
7bd951ff
DM
106002012-03-14 David S. Miller <davem@davemloft.net>
10601
559398ab
DM
10602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10604 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10606 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10607 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10608 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10609 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10622 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10623 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10624 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10625 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10626 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10627 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10628 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10629 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10630 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10631 routines.
10632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10633 file.
559398ab 10634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10636 file.
559398ab 10637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10639 file.
559398ab 10640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10642 file.
559398ab 10643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10645 file.
559398ab 10646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10648 file.
10649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10650 file.
10651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10652 file.
10653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10654 file.
10655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10656 New file.
10657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10658 file.
10659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10660 file.
559398ab 10661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10663 file.
559398ab 10664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10666 file.
559398ab 10667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10669 file.
559398ab 10670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10672 VIS3 routines.
559398ab
DM
10673
10674 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10675 New file.
10676
5a1c1e32
DM
10677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10678
eae47a36
DM
10679 * sysdeps/sparc/configure.in: New file.
10680 * sysdeps/sparc/configure: Generate.
10681 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10682 * configure: Regenerate.
10683 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10684 * config.make.in (have-as-vis3): New.
10685 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10686 available use -Av9d instead of -Av9a.
10687 * sysdeps/sparc/sparc64/Makefile: Likewise.
10688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10690 New file.
10691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10692 file.
10693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10694 New file.
10695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10696 file.
eae47a36
DM
10697 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10698 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10699 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10700 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10701 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10702
c0c83bc8
DM
10703 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10704 fzeros/fnegs to load 0x80000000 into a float register instead of
10705 using the stack.
7bd951ff
DM
10706 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10707
bd951ccb
JM
107082012-03-14 Joseph Myers <joseph@codesourcery.com>
10709
10710 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10711 bits/syscall.h.
10712 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10713 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10714 ($(inst_includedir)/bits/syscall.h): Remove rule.
10715 ($(objpfx)bits/syscall.d): Include instead of
10716 $(objpfx)syscall-list.d.
10717 (generated): Change syscall-list.h and syscall-list.d to
10718 bits/syscall.h and bits/syscall.d.
10719
bb4e6db2
RM
107202012-03-14 Roland McGrath <roland@hack.frob.com>
10721
10722 [BZ #13846]
10723 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10724
aa4a2ae1
JM
107252012-03-14 Joseph Myers <joseph@codesourcery.com>
10726
e456826d
JM
10727 [BZ #13841]
10728 * math/s_csqrt.c: Include <float.h>.
10729 (__csqrt): Scale large or subnormal inputs.
10730 * math/s_csqrtf.c: Likewise.
10731 * math/s_csqrtl.c: Likewise.
10732 * math/libm-test.inc (csqrt_test): Add more tests.
10733 * sysdeps/i386/fpu/libm-test-ulps: Update.
10734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10735
aa4a2ae1
JM
10736 [BZ #13840]
10737 * math/libm-test.inc (hypot_test): Add more tests.
10738
7c10fd35
DM
107392012-03-13 David S. Miller <davem@davemloft.net>
10740
10741 [BZ #13840]
10742 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10743 double-precision for the calculation instead of scaling.
10744
f453b98b
JM
107452012-03-13 Joseph Myers <joseph@codesourcery.com>
10746
10747 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10748 manipulate bits before adding and subtracting TWO52[sx].
10749 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10750 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10751 Likewise.
10752 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10753
09a3453f
DM
107542012-03-13 David S. Miller <davem@davemloft.net>
10755
8e59da90
DM
10756 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10757 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10759 rtld-global-offsets.h
10760 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10761
2a8ab7f2
DM
10762 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10763 large parameters.
10764
10f62770
DM
10765 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10766
5f0bdb18
DM
10767 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10768 'err' in the ifdef scope in which it is actually used.
10769
09a3453f
DM
10770 * nss/nss_db/db-init.c: Include string.h
10771
b4b2eb5e
DM
107722012-03-12 David S. Miller <davem@davemloft.net>
10773
98bb2f1c
DM
10774 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10775 masking out of the most significant byte of random value used.
10776 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10777 Fix coding style in previous change.
10778
b4b2eb5e
DM
10779 * sysdeps/unix/sysv/linux/kernel-features.h
10780 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10781 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10782 expression.
10783 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10784 later.
10785
6e226b09
DM
107862012-03-11 David S. Miller <davem@davemloft.net>
10787
a1bcbd40
DM
10788 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10789 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10790 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10791 for 'resultvar' otherwise things get truncated on 64-bit.
10792
cb9d6174
DM
10793 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10794 Fix masking out of the most significant byte of random value used.
10795
6e226b09
DM
10796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10797
058c132d
AS
107982012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10799
10800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10801
2d2cd515
DM
108022012-03-09 David S. Miller <davem@davemloft.net>
10803
10804 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10805 variables with appropriate CPP guards.
10806 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10807 frame pointer, not the stack pointer. Correct layout comments. Fix test
10808 on resulting framesize and the management of the outregs buffer for pltexit.
10809 Preserve floating point return values across _dl_call_pltexit call.
10810 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10811 framesize and the management of the outregs buffer for pltexit.
10812 Preserve floating point return values across _dl_call_pltexit
10813 call.
10814 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10815 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10816 (print_exit): Fix format string for return register value.
10817
9a07f9d0
JM
108182012-03-10 Joseph Myers <joseph@codesourcery.com>
10819
10820 * sunrpc/Makefile (others): Add rpcgen.
10821 ($(objpfx)rpcgen): Remove special build rule and dependency on
10822 libc.
10823 * sunrpc/rpcgen.c: New file.
10824
547b5e30
PE
108252012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10826
c524201a
PE
10827 [BZ #13673]
10828 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10829 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10830 * sysdeps/i386/crti.S: Likewise.
10831 * sysdeps/i386/crtn.S: Likewise.
10832 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10833 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10834 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10835 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10836 * sysdeps/sh/crti.S: Likewise.
10837 * sysdeps/sh/crtn.S: Likewise.
10838 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10839
7b6235f2
PE
10840 [BZ #13673]
10841 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10842 with URL.
10843 * locale/programs/locfile-kw.gperf: Likewise.
10844 * locale/programs/charmap-kw.h: Regenerated.
10845 * locale/programs/locfile-kw.h: Likewise.
10846
547b5e30
PE
10847 [BZ #13673]
10848 * intl/plural.y: Replace FSF snail mail address with URL.
10849 * intl/plural.c: Regenerated.
10850
5f0a5dae
RH
108512012-03-09 Richard Henderson <rth@twiddle.net>
10852
10853 * include/math_private.h: Remove file.
10854 * math/math_private.h: Move file ...
10855 * sysdeps/generic/math_private.h: ... here.
10856
b8c03620
RH
10857 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10858 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10859 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10860
4e234f5d 10861 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10862 and <math_private.h>.
10863 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10864 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10865 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10866 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10867 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10868 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10869 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10870 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10871 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10872 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10874 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10875 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10876 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10877 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10879 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10880 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10890 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10891 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10892 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10893 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10894 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10895 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10896 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10897 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10898 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10899 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10900 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10901 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10902 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10903 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10904 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10928 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10929 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10931 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10932 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10946 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10951 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10952 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10953 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10954 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10955 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10956 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10957 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10958 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10959 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10960 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10961 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10962 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10963 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10964 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10965 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10966 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10967 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10968 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10969 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10970 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10971 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10972 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10973 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10974 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10975 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10976 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10977 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10978 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10979 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10980 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10981 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10982 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10983 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10984 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10985 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10986 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10987 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10988 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10989 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10990 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10991 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10992 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10993 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10994 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10995 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10996 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10997 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10998 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10999 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11000 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11001 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11002 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11003 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11004 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11005 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11006 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11007 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11008 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11009 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11010 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11011 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11012 * sysdeps/ieee754/k_standard.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11017 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11019 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11020 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11022 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11023 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11024 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11025 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11026 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11027 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11028 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11029 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11030 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11031 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11032 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11033 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11034 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11035 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11036 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11037 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11038 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11039 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11040 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11041 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11044 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11045 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11046 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11128 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11132 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11133 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11135 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11140 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11145 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11161 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11162 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11163 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11173 * sysdeps/ieee754/s_lib_version.c: Likewise.
11174 * sysdeps/ieee754/s_matherr.c: Likewise.
11175 * sysdeps/ieee754/s_signgam.c: Likewise.
11176 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11177 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11178 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11179 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11180 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11181 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11182 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11183 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11184 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11185 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11186 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11187 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11188 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11189 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11190 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11191 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11192 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11193 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11194 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11195 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11196 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11197
1991fa03
JM
111982012-03-09 Joseph Myers <joseph@codesourcery.com>
11199
11200 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11201 * sunrpc/rpc_main.c: Likewise.
11202 * sunrpc/rpc_svcout.c: Likewise.
11203
60d6f5a6
DM
112042012-03-09 David S. Miller <davem@davemloft.net>
11205
11206 * include/math_private.h: New file.
11207
4962050e
JM
112082012-03-09 Joseph Myers <joseph@codesourcery.com>
11209
02a6f887
JM
11210 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11211 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11212 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11213 from <bits/socket_type.h>.
11214 (enum __socket_type): Don't define here.
11215 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11217 bits/socket_type.h.
11218
c6e013c1
JM
11219 [BZ #13566]
11220 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11221 checking __USE_GNU.
11222
4962050e
JM
11223 * Makerules ($(inst_includedir)/%.h): New rule.
11224 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11225 (install-others): Remove variable setting.
11226 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11227
38842f45
RH
112282012-03-08 Richard Henderson <rth@twiddle.net>
11229
67bb6da6
RH
11230 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11231 from macro to inline function; merge with the
11232 !__LIBC_INTERNAL_MATH_INLINES version.
11233 (__ieee754_sqrtf): Likewise.
11234
15194b4b
RH
11235 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11236 to inline function.
11237 (__rintf, __floor, __floorf): Likewise.
11238
64e21ede
RH
11239 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11240 macro to inline function.
11241 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11242
38842f45
RH
11243 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11244 not <math/math_private.h>.
11245
c64bf5fe
DM
112462012-03-08 David S. Miller <davem@davemloft.net>
11247
11248 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11249 copyright year.
11250 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11251
82d86f28
TS
112522012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11253
11254 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11255 normalization.
11256 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11257 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11258
aea5d727
UD
112592012-03-08 Ulrich Drepper <drepper@gmail.com>
11260
11261 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11262 be defined individually, they must be defined as a block. Define
11263 S for printing a string instead of hidint the different by using a
11264 macro for adding the 'l'.
11265 * stdio-common/tst-fphex-wide.c: Adjust.
11266
70bca0a3
MP
112672012-03-07 Marek Polacek <polacek@redhat.com>
11268
11269 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11270
65b81130
MP
112712012-03-08 Marek Polacek <polacek@redhat.com>
11272
11273 [BZ #13806]
11274 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11275 * stdio-common/tst-fphex.c: Define a few macros to make the
11276 test reusable. Use them.
11277 * stdio-common/tst-fphex-wide.c: New file.
11278
07037eeb
JM
112792012-03-08 Joseph Myers <joseph@codesourcery.com>
11280
a7a93d50
JM
11281 [BZ #6911]
11282 * manual/macros.texi (gnusystems): New macro.
11283 (nongnusystems): Likewise.
11284 (gnulinuxhurdsystems): Likewise.
11285 (gnuhurdsystems): Likewise..
11286 (gnulinuxsystems): Likewise.
11287 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11288 variants of the GNU system, not "GNU system".
11289 * manual/conf.texi: Likewise.
11290 * manual/errno.texi: Likewise. Update example of errno macro
11291 expansion.
11292 * manual/filesys.texi: Likewise.
11293 (getumask): Document as specific to GNU/Hurd.
11294 * manual/install.texi: Likewise. Reword some references to
11295 GNU/Linux.
11296 * manual/intro.texi: Likewise.
11297 * manual/io.texi: Likewise.
11298 (File Name Portability): Detail which constraints are inapplicable
11299 to all GNU systems and which are only inapplicable to GNU/Hurd.
11300 * manual/job.texi: Likewise.
11301 * manual/llio.texi: Likewise.
11302 (O_NOCTTY): Document as present on GNU/Linux.
11303 * manual/maint.texi: Likewise.
11304 * manual/memory.texi: Likewise.
11305 * manual/pattern.texi: Likewise.
11306 * manual/pipe.texi: Likewise.
11307 * manual/process.texi: Likewise.
11308 * manual/resource.texi: Likewise.
11309 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11310 child on GNU/Hurd.
11311 * manual/setjmp.texi: Likewise.
11312 * manual/signal.texi: Likewise.
11313 * manual/startup.texi: Likewise.
11314 * manual/stdio.texi: Likewise.
11315 * manual/terminal.texi: Likewise.
11316 (ONLCR): Document as POSIX.
11317 (OXTABS): Document availability on GNU/Linux as XTABS.
11318 (ONOEOT): Document availability separately from other bits.
11319 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11320 * manual/time.texi: Likewise.
11321 * manual/users.texi: Likewise.
11322 * INSTALL: Regenerated.
11323 * sysdeps/gnu/errlist.c: Regenerated.
11324
07037eeb
JM
11325 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11326 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11327 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11328 puts.
11329 * configure: Regenerated.
11330
d1d3431a
JM
113312012-03-07 Joseph Myers <joseph@codesourcery.com>
11332
af6a1e37
JM
11333 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11334 default includes instead of AC_HEADER_CHECK.
11335 * sysdeps/i386/configure: Regenerated.
11336
d1d3431a
JM
11337 [BZ #10716]
11338 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11339 * math/s_cacoshf.c (__cacoshf): Likewise.
11340 * math/s_cacoshl.c (__cacoshl): Likewise.
11341 * math/s_casinh.c (__casinh): Set signs of result from argument.
11342 * math/s_casinhf.c (__casinhf): Likewise.
11343 * math/s_casinhl.c (__casinhl): Likewise.
11344 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11345 (casinh_test): Add more tests.
11346 * sysdeps/i386/fpu/libm-test-ulps: Update.
11347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11348
482ff4da
UD
113492012-03-07 Ulrich Drepper <drepper@gmail.com>
11350
872fda05
UD
11351 * po/zh_TW.po: Update from translation team.
11352
a4300c7a
UD
11353 * login/Makefile (distribute): Remove variable.
11354 * catgets/Makefile: Likewise.
11355 * mach/Makefile: Likewise.
11356 * malloc/Makefile: Likewise.
11357 * misc/Makefile: Likewise.
11358 * iconv/Makefile: Likewise.
11359 * nscd/Makefile: Likewise.
11360 * hurd/Makefile: Likewise.
11361 * manual/Makefile: Likewise.
11362 * locale/Makefile: Likewise.
11363 * intl/Makefile: Likewise.
11364 * conform/Makefile: Likewise.
11365 * nss/Makefile: Likewise.
11366 * time/Makefile: Likewise.
11367 * soft-fp/Makefile: Likewise.
11368 * dirent/Makefile: Likewise.
11369 * gmon/Makefile: Likewise.
11370 * po/Makefile: Likewise.
11371 * rt/Makefile: Likewise.
11372 * socket/Makefile: Likewise.
11373 * math/Makefile: Likewise.
11374 * signal/Makefile: Likewise.
11375 * debug/Makefile: Likewise.
11376 * elf/Makefile: Likewise.
11377 * timezone/Makefile: Likewise.
11378 * stdlib/Makefile: Likewise.
11379 * iconvdata/Makefile: Likewise.
11380 * sunrpc/Makefile: Likewise.
11381 * io/Makefile: Likewise.
11382 * argp/Makefile: Likewise.
11383 * inet/Makefile: Likewise.
11384 * hesiod/Makefile: Likewise.
11385 * grp/Makefile: Likewise.
11386 * csu/Makefile: Likewise.
11387 * wctype/Makefile: Likewise.
11388 * crypt/Makefile: Likewise.
11389 * libio/Makefile: Likewise.
11390 * string/Makefile: Likewise.
11391 * nis/Makefile: Likewise.
11392 * resolv/Makefile: Likewise.
11393 * stdio-common/Makefile: Likewise.
11394 * wcsmbs/Makefile: Likewise.
11395 * dlfcn/Makefile: Likewise.
11396 * posix/Makefile: Likewise.
11397
3b7c4e74 11398 [BZ #6959]
482ff4da
UD
11399 * timezone/Makefile: Don't install timezone files, just the programs
11400 and scripts.
11401
f72ed77d
UD
114022012-03-06 Ulrich Drepper <drepper@gmail.com>
11403
a000466f
UD
11404 * nss/databases.def: Add missing gshadow entry.
11405
f72ed77d
UD
11406 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11407
a53b7a4e
MP
114082012-03-06 Marek Polacek <polacek@redhat.com>
11409
11410 [BZ #13726]
11411 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11412 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11413 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11414 * stdio-common/tst-long-dbl-fphex.c: New file.
11415
e9258400
DM
114162012-03-06 David S. Miller <davem@davemloft.net>
11417
11418 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11419 (set_obp_int): New function.
11420 (get_obp_int): New function.
11421 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11422 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11423 Avoid unused variable warnings on 'val' and use builtin_expect.
11424 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11425 __builtin_expect.
e9258400
DM
11426 (INLINE_CLONE_SYSCALL): Likewise.
11427
3bd2c723
DM
114282012-03-05 David S. Miller <davem@davemloft.net>
11429
11430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11431
bbb78d03
AS
114322012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11433
884c5db4
AS
11434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11435
bbb78d03
AS
11436 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11437 only for |x| >= 40.
11438 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11439
1c9f702a 114402012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11441
11442 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11443 Replace gettimeofday with __vdso_gettimeofday.
11444
7be16f82
RM
11445 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11446 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11447 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11448
11449 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11450 time with __vdso_time.
11451
ed58a00f
JM
114522012-03-05 Joseph Myers <joseph@codesourcery.com>
11453
11454 * manual/lang.texi (size_t): Note types to which size_t may be
11455 equivalent with the GNU C Library, but do not describe when
11456 differences between them are significant.
11457
30ee4ced
AJ
114582012-03-05 Andreas Jaeger <aj@suse.de>
11459
11460 * sysdeps/i386/fpu/libm-test-ulps: Update.
11461
b7cd39e8
JM
114622012-03-05 Joseph Myers <joseph@codesourcery.com>
11463
11464 [BZ #3976]
11465 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11466 (__ieee754_pow): Save and restore rounding mode and use
11467 round-to-nearest for main computations.
11468 * math/libm-test.inc (pow_test_tonearest): New function.
11469 (pow_test_towardzero): Likewise.
11470 (pow_test_downward): Likewise.
11471 (pow_test_upward): Likewise.
11472 (main): Call the new functions.
11473 * sysdeps/i386/fpu/libm-test-ulps: Update.
11474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11475
11476 [BZ #3976]
11477 * math/libm-test.inc (cosh_test_tonearest): New function.
11478 (cosh_test_towardzero): Likewise.
11479 (cosh_test_downward): Likewise.
11480 (cosh_test_upward): Likewise.
11481 (sinh_test_tonearest): Likewise.
11482 (sinh_test_towardzero): Likewise.
11483 (sinh_test_downward): Likewise.
11484 (sinh_test_upward): Likewise.
11485 (main): Call the new functions.
11486 * sysdeps/i386/fpu/libm-test-ulps: Update.
11487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11488
6c6a98c9
TV
114892012-03-05 Tom de Vries <tom@codesourcery.com>
11490
11491 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11492 default stack guard is set in last bytes.
11493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11494
21bb2d2e 114952012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11496
21bb2d2e 11497 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11498
21bb2d2e
AJ
11499 [BZ #13656]
11500 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11501 possibly allocate from heap instead of stack.
11502 * stdio-common/bug-vfprintf-nargs.c: New file.
11503 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11504
c6922934
AS
115052012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11506
11507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11508
bc957d53
MP
115092012-03-03 Marek Polacek <polacek@redhat.com>
11510
11511 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11512 * math/math_private.h: Likewise.
11513 * stdlib/tst-strtod.c: Likewise.
11514 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11515 * sysdeps/x86_64/bits/atomic.h: Likewise.
11516
6358490d
DM
115172012-03-02 David S. Miller <davem@davemloft.net>
11518
11519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11523 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11524 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11525 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11526 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11527
01ae168d
RM
115282012-03-02 Roland McGrath <roland@hack.frob.com>
11529
d9a17c07
RM
11530 [BZ #13792]
11531 * manual/examples/README: New file, says the example source files
11532 can be used under GPL>=2.
11533 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11534 line containing just "*/".
11535 * manual/examples/add.c: Add copyright header (GPL>=2).
11536 * manual/examples/argp-ex1.c: Likewise.
11537 * manual/examples/argp-ex2.c: Likewise.
11538 * manual/examples/argp-ex3.c: Likewise.
11539 * manual/examples/argp-ex4.c: Likewise.
11540 * manual/examples/atexit.c: Likewise.
11541 * manual/examples/db.c: Likewise.
11542 * manual/examples/dir.c: Likewise.
11543 * manual/examples/dir2.c: Likewise.
11544 * manual/examples/execinfo.c: Likewise.
11545 * manual/examples/filecli.c: Likewise.
11546 * manual/examples/filesrv.c: Likewise.
11547 * manual/examples/fmtmsgexpl.c: Likewise.
11548 * manual/examples/genpass.c: Likewise.
11549 * manual/examples/inetcli.c: Likewise.
11550 * manual/examples/inetsrv.c: Likewise.
11551 * manual/examples/isockad.c: Likewise.
11552 * manual/examples/longopt.c: Likewise.
11553 * manual/examples/memopen.c: Likewise.
11554 * manual/examples/memstrm.c: Likewise.
11555 * manual/examples/mkfsock.c: Likewise.
11556 * manual/examples/mkisock.c: Likewise.
11557 * manual/examples/mygetpass.c: Likewise.
11558 * manual/examples/pipe.c: Likewise.
11559 * manual/examples/popen.c: Likewise.
11560 * manual/examples/rprintf.c: Likewise.
11561 * manual/examples/search.c: Likewise.
11562 * manual/examples/select.c: Likewise.
11563 * manual/examples/setjmp.c: Likewise.
11564 * manual/examples/sigh1.c: Likewise.
11565 * manual/examples/sigusr.c: Likewise.
11566 * manual/examples/stpcpy.c: Likewise.
11567 * manual/examples/strdupa.c: Likewise.
11568 * manual/examples/strftim.c: Likewise.
11569 * manual/examples/strncat.c: Likewise.
11570 * manual/examples/subopt.c: Likewise.
11571 * manual/examples/swapcontext.c: Likewise.
11572 * manual/examples/termios.c: Likewise.
11573 * manual/examples/testopt.c: Likewise.
11574 * manual/examples/testpass.c: Likewise.
11575 * manual/examples/timeval_subtract.c: Likewise.
11576
01ae168d
RM
11577 [BZ #13792]
11578 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11579 function to ...
11580 * manual/timeval_subtract.c.texi: ... here, new file.
11581
49efa33d
DM
115822012-03-02 David S. Miller <davem@davemloft.net>
11583
11584 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11585
28afd92d
JM
115862012-03-02 Joseph Myers <joseph@codesourcery.com>
11587
804360ed
JM
11588 [BZ #3976]
11589 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11590 (__sin): Save and restore rounding mode and use round-to-nearest
11591 for all computations.
11592 (__cos): Save and restore rounding mode and use round-to-nearest
11593 for all computations.
11594 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11595 <fenv.h>.
11596 (tan): Save and restore rounding mode and use round-to-nearest for
11597 all computations.
11598 * math/libm-test.inc (cos_test_tonearest): New function.
11599 (cos_test_towardzero): Likewise.
11600 (cos_test_downward): Likewise.
11601 (cos_test_upward): Likewise.
11602 (sin_test_tonearest): Likewise.
11603 (sin_test_towardzero): Likewise.
11604 (sin_test_downward): Likewise.
11605 (sin_test_upward): Likewise.
11606 (tan_test_tonearest): Likewise.
11607 (tan_test_towardzero): Likewise.
11608 (tan_test_downward): Likewise.
11609 (tan_test_upward): Likewise.
11610 (main): Call the new functions.
11611 * sysdeps/i386/fpu/libm-test-ulps: Update.
11612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11613
a6d06d7b
JM
11614 [BZ #10135]
11615 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11616 small n, then large n, before computing and testing k+n.
11617 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11618 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11619 Likewise.
11620 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11621 Likewise.
11622 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11623 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11624 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11625 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11626 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11627 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11628 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11629 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11630 * math/libm-test.inc (scalbn_test): Add more tests.
11631 (scalbln_test): Likewise.
11632
07e12bb3
JM
11633 * manual/filesys.texi (mode_t): Describe constraints on size and
11634 signedness, not exact equivalence to a particular type.
11635 (ino_t): Likewise.
11636 (ino64_t): Likewise.
11637 (dev_t): Likewise.
11638 (nlink_t): Likewise.
11639 (blkcnt_t): Likewise.
11640 (blkcnt64_t): Likewise.
11641 * manual/llio.texi (off_t): Likewise.
11642
28afd92d
JM
11643 [BZ #3976]
11644 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11645 (__ieee754_exp): Save and restore rounding mode and use
11646 round-to-nearest for all computations.
11647 * math/libm-test.inc (exp_test_tonearest): New function.
11648 (exp_test_towardzero): Likewise.
11649 (exp_test_downward): Likewise.
11650 (exp_test_upward): Likewise.
11651 (main): Call the new functions.
11652 * sysdeps/i386/fpu/libm-test-ulps: Update.
11653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11654
b1eeb65d
CD
116552012-03-01 Chris Demetriou <cgd@google.com>
11656
11657 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11658 have predictable order.
11659
53362a4b
DM
116602012-03-01 David S. Miller <davem@davemloft.net>
11661
3c969083
DM
11662 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11663
759707de
DM
11664 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11665 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11666 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11667 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11668
dfdb8ff2
DM
11669 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11670 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11671 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11673 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11674 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11675 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11676 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11677 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11678
ead89f96
DM
11679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11680
7f66bd07
DM
11681 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11682 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11683 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11684
53362a4b
DM
11685 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11686 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11687 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11688 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11689 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11690 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11691 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11692 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11693 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11694 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11695 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11696 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11698 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11699 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11701 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11702 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11703 * sysdeps/sparc/elf/configure: Regenerated.
11704
7b1902cb
JM
117052012-03-01 Joseph Myers <joseph@codesourcery.com>
11706
bec039bc
JM
11707 * configure.in (AS, LD): Require binutils 2.20 or later.
11708 * configure: Regenerated.
11709 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11710 as required minimum version.
11711 * INSTALL: Regenerated.
11712
7b1902cb
JM
11713 [BZ #2541]
11714 [BZ #4108]
11715 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11716 before squaring exponent.
11717 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11718 bottom long double and 27 bits of top long double before squaring
11719 exponent.
11720 * math/libm-test.inc (erfc_test): Add more tests.
11721 * sysdeps/i386/fpu/libm-test-ulps: Update.
11722 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11724
f775c276
KT
117252012-03-01 Kai Tietz <ktietz@redhat.com>
11726
11727 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11728 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11729 containing bit-fields.
11730 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11731 * soft-fp/single.h (_FP_UNION_S): Likewise.
11732 * soft-fp/double.h (_FP_UNION_D): Likewise.
11733
5b8a4d4a
JM
117342012-02-29 Joseph Myers <joseph@codesourcery.com>
11735
0bab47b6
JM
11736 [BZ #13786]
11737 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11738 not include ../strcmp.S.
11739 [USE_AS_STRNCASECMP_L]: Likewise.
11740 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11741 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11742 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11743 (__strncasecmp_l_ia32): Define as alias to
11744 __strncasecmp_l_nonascii.
11745
0fcad3e2
JM
11746 [BZ #5794]
11747 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11748 * sysdeps/i386/fpu/libm-test-ulps: Update.
11749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11750
5b8a4d4a
JM
11751 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11753
8fdceb2e
JL
117542012-02-29 Jeff Law <law@redhat.com>
11755
11756 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11757 out of bounds read.
11758
1f393a11
MP
117592012-02-29 Marek Polacek <polacek@redhat.com>
11760
11761 [BZ #13706]
11762 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11763 * elf/Makefile: Add rules to run tst-unused-dep.out.
11764
8847f037
DM
117652012-02-28 David S. Miller <davem@davemloft.net>
11766
11767 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11768 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11769 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11770 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11771 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11772 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11773
169d7f11
JM
117742012-02-29 Joseph Myers <joseph@codesourcery.com>
11775
11776 * math/libm-test.inc (llround_test): Move one test from
11777 lround_test. Use TEST_f_L in moved test.
11778 (lround_test): Move misplaced test to llround_test. Add testcase
11779 from bug 2561.
11780
39adf059
UD
117812012-02-28 Ulrich Drepper <drepper@gmail.com>
11782
11783 * sysdeps/x86_64/fpu/e_expf.S: New file.
11784 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11785
71b5d1c5
SB
117862012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11787
11788 [BZ #13637]
11789 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11790 of remain_len that may cause incomplete multi-byte character and
11791 false match.
11792 * posix/bug-regex33.c: New file.
11793 * posix/Makefile (tests): Add bug-regex33.
11794
1f77f049
JM
117952012-02-28 Joseph Myers <joseph@codesourcery.com>
11796
11797 * manual/macros.texi: New file.
11798 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11799 * manual/libc.texinfo: Include macros.texi.
11800 * manual/creatute.texi: Likewise.
11801 * manual/install.texi: Likewise.
11802 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11803 @glibcadj{} in references to the GNU C Library.
11804 * manual/charset.texi: Likewise.
11805 * manual/conf.texi: Likewise.
11806 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11807 when not using those macros.
11808 * manual/creature.texi: Likewise.
11809 * manual/crypt.texi: Likewise.
11810 * manual/errno.texi: Likewise.
11811 * manual/filesys.texi: Likewise.
11812 * manual/header.texi: Likewise.
11813 * manual/install.texi: Likewise.
11814 * manual/intro.texi: Likewise.
11815 * manual/io.texi: Likewise.
11816 * manual/job.texi: Likewise.
11817 * manual/lang.texi: Likewise.
11818 * manual/libc.texiinfo: Likewise.
11819 * manual/llio.texi: Likewise.
11820 * manual/locale.texi: Likewise.
11821 * manual/maint.texi: Likewise.
11822 * manual/math.texi: Likewise.
11823 * manual/memory.texi: Likewise.
11824 * manual/message.texi: Likewise.
11825 * manual/nss.texi: Likewise.
11826 * manual/pattern.texi: Likewise.
11827 * manual/process.texi: Likewise.
11828 * manual/resource.texi: Likewise.
11829 * manual/search.texi: Likewise.
11830 * manual/setjmp.texi: Likewise.
11831 * manual/signal.texi: Likewise.
11832 * manual/socket.texi: Likewise.
11833 * manual/startup.texi: Likewise.
11834 * manual/stdio.texi: Likewise.
11835 * manual/string.texi: Likewise.
11836 * manual/sysinfo.texi: Likewise.
11837 * manual/syslog.texi: Likewise.
11838 * manual/terminal.texi: Likewise.
11839 * manual/time.texi: Likewise.
11840 * manual/users.texi: Likewise.
11841 * INSTALL: Regenerated.
11842 * NOTES: Regenerated.
d40c5d54 11843 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11844
450bf206
AS
118452012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11846
11847 * include/dirent.h: Include <dirstream.h> before
11848 <dirent/dirent.h>.
11849
741a235b
DM
118502012-02-28 David S. Miller <davem@davemloft.net>
11851
11852 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11853 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11854 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11855 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11856
d6b5aa58
DM
118572012-02-27 David S. Miller <davem@davemloft.net>
11858
1aff59a3
DM
11859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11861 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11862 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11863
d6b5aa58
DM
11864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11865 frame pointer instead of stack pointer relative arg slot.
11866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11867 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11868 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11869
433f48bf
CD
118702012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11871
11872 [BZ #3992]
11873 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11874
d674b76d
DM
118752012-02-27 David S. Miller <davem@davemloft.net>
11876
11877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11881 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11882 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11883 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11884 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11885
0e7727f7
JM
118862012-02-27 Joseph Myers <joseph@codesourcery.com>
11887
11888 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11889 later. Allow versions 5-9.
43be4ca2 11890 * configure: Regenerated.
0e7727f7
JM
11891 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11892 required minimum version and 4.6 as recommended version. Do not
11893 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11894 * INSTALL: Regenerated.
0e7727f7 11895
a78bc654
DM
118962012-02-27 David S. Miller <davem@davemloft.net>
11897
428d5830
DM
11898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11902 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11903 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11904 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11905 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11906
a78bc654
DM
11907 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11908 manipulate bits before adding and subtracting TWO112[sx].
11909 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11910
4579f81c
RM
119112012-02-27 Roland McGrath <roland@hack.frob.com>
11912
36c8acb4
RM
11913 [BZ #13775]
11914 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11915 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11916 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11917 being in POSIX, because they are in 1003.1-2008.
11918
84ad622b
RM
11919 * rt/tst-aio.c: Include <fcntl.h>.
11920 * rt/tst-aio7.c: Likewise.
11921 * rt/tst-aio64.c: Likewise.
11922
4579f81c
RM
11923 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11924
abd923db
JM
119252012-02-27 Joseph Myers <joseph@codesourcery.com>
11926
11927 * manual/install.texi (--with-headers): Describe headers as
11928 interface headers, not private headers.
11929 (Specific advice for GNU/Linux systems): Describe use of headers
11930 from "make headers_install", not private headers from older
11931 kernels.
43be4ca2 11932 * INSTALL: Regenerated.
abd923db
JM
11933 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11934 Change to 2.6.19.
11935 * sysdeps/unix/sysv/linux/configure: Regenerated.
11936
6664049b
JM
11937 * manual/llio.texi (fclean): Remove documentation.
11938
bb8b6697
JM
11939 * manual/Makefile (libc-texi-generated): New variable. Include
11940 version.texi.
11941 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11942 $(libc-texi-generated), not duplicated list of files.
11943 (version.texi, stamp-version): New rules.
11944 (realclean): Remove $(libc-texi-generated), not individual files
11945 from that list. Do not remove dir-add.texinfo.
11946 * manual/libc.texinfo: Comment out uses of edition numbers and
11947 references to printed manual. Remove last-updated dates.
11948 (EDITION): Comment out.
11949 (ISBN): Likewise.
11950 (VERSION, UPDATED): Remove.
11951 (version.texi): Include.
11952
12e5c3b9
AS
119532012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11954
11955 * sysdeps/posix/spawni.c: Include <signal.h>.
11956 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11957 * sysdeps/pthread/aio_fsync.c: Likewise.
11958
4efeffc1 119592012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11960
ba63ba08
UD
11961 * conform/Makefile (tests): Run only when not cross-compiling and
11962 when fast-check is not defined.
11963
d94a4670
UD
11964 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11965 * conform/data/limits.h-data: Fixes for POSIX2008.
11966 * conform/run-conformtest.sh: Run all tests.
11967 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11968 headers.
11969 * include/bits/dlfcn.h: Likewise.
11970 * include/langinfo.h: Likewise.
11971 * include/monetary.h: Likewise.
11972 * include/sys/poll.h: Likewise.
11973
11974 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11975 for __USE_GNU.
11976 * posix/spawn.h: Define __need_sigset_t.
11977 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11978 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11979 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11980 to get sigevent_t only.
11981 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11982 only for __USE_GNU.
11983 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11984 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11985 process_vm_writev only for __USE_GNU.
11986 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11987
11988 * conform/Makefile: For now ignore errors from run-conformtest.
11989 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11990 POSIX to avoid namespace pollution. Don't prepend headers.
11991 * conform/data/aio.h-data: Fixes for POSIX testing.
11992 * conform/data/fcntl.h-data: Likewise.
11993 * conform/data/glob.h-data: Likewise.
11994 * conform/data/grp.h-data: Likewise.
11995 * conform/data/pthread.h-data: Likewise.
11996 * conform/data/pwd.h-data: Likewise.
11997 * conform/data/signal.h-data: Likewise.
11998 * conform/data/spawn.h-data: Likewise.
11999 * conform/data/stdio.h-data: Likewise.
12000 * conform/data/stdlib.h-data: Likewise.
12001 * conform/data/stropts.h-data: Likewise.
12002 * conform/data/sys/mman.h-data: Likewise.
12003 * conform/data/sys/stat.h-data: Likewise.
12004 * conform/data/sys/types.h-data: Likewise.
12005 * conform/data/sys/wait.h-data: Likewise.
12006 * conform/data/time.h-data: Likewise.
12007 * conform/data/unistd.h-data: Likewise.
12008 * conform/data/utime.h-data: Likewise.
12009
12010 * io/sys/stat.h: fchmod was always in POSIX.
12011 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12012 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12013 * rt/aio.h: Define __need_timespec before including <time.h>.
12014 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12015 struct. Add forward declaration of pthread_attr_t and use it in
12016 sigevent.
12017 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12018 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12019 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12020 always remove CLK_TCK definition.
12021
c20105c3
AS
120222012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12023
12024 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12025
7a270350
UD
120262012-02-25 Ulrich Drepper <drepper@gmail.com>
12027
31341567
UD
12028 * conform/run-conformtest.sh: New file.
12029 * conform/Makefile: Run run-conformtest for tests.
12030 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12031 support.
12032
12033 * conform/data/uchar.h-data: New file.
12034 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12035 * conform/data/arpa/inet.h-data: Likewise.
12036 * conform/data/assert.h-data: Likewise.
12037 * conform/data/complex.h-data: Likewise.
12038 * conform/data/cpio.h-data: Likewise.
12039 * conform/data/ctype.h-data: Likewise.
12040 * conform/data/dirent.h-data: Likewise.
12041 * conform/data/dlfcn.h-data: Likewise.
12042 * conform/data/errno.h-data: Likewise.
12043 * conform/data/fcntl.h-data: Likewise.
12044 * conform/data/float.h-data: Likewise.
12045 * conform/data/fmtmsg.h-data: Likewise.
12046 * conform/data/fnmatch.h-data: Likewise.
12047 * conform/data/ftw.h-data: Likewise.
12048 * conform/data/glob.h-data: Likewise.
12049 * conform/data/grp.h-data: Likewise.
12050 * conform/data/iconv.h-data: Likewise.
12051 * conform/data/inttypes.h-data: Likewise.
12052 * conform/data/langinfo.h-data: Likewise.
12053 * conform/data/libgen.h-data: Likewise.
12054 * conform/data/limits.h-data: Likewise.
12055 * conform/data/locale.h-data: Likewise.
12056 * conform/data/math.h-data: Likewise.
12057 * conform/data/monetary.h-data: Likewise.
12058 * conform/data/mqueue.h-data: Likewise.
12059 * conform/data/ndbm.h-data: Likewise.
12060 * conform/data/net/if.h-data: Likewise.
12061 * conform/data/netdb.h-data: Likewise.
12062 * conform/data/netinet/in.h-data: Likewise.
12063 * conform/data/nl_types.h-data: Likewise.
12064 * conform/data/poll.h-data: Likewise.
12065 * conform/data/pthread.h-data: Likewise.
12066 * conform/data/pwd.h-data: Likewise.
12067 * conform/data/regex.h-data: Likewise.
12068 * conform/data/sched.h-data: Likewise.
12069 * conform/data/search.h-data: Likewise.
12070 * conform/data/semaphore.h-data: Likewise.
12071 * conform/data/setjmp.h-data: Likewise.
12072 * conform/data/signal.h-data: Likewise.
12073 * conform/data/spawn.h-data: Likewise.
12074 * conform/data/stdarg.h-data: Likewise.
12075 * conform/data/stdio.h-data: Likewise.
12076 * conform/data/stdlib.h-data: Likewise.
12077 * conform/data/string.h-data: Likewise.
12078 * conform/data/strings.h-data: Likewise.
12079 * conform/data/stropts.h-data: Likewise.
12080 * conform/data/sys/ipc.h-data: Likewise.
12081 * conform/data/sys/mman.h-data: Likewise.
12082 * conform/data/sys/msg.h-data: Likewise.
12083 * conform/data/sys/resource.h-data: Likewise.
12084 * conform/data/sys/select.h-data: Likewise.
12085 * conform/data/sys/sem.h-data: Likewise.
12086 * conform/data/sys/shm.h-data: Likewise.
12087 * conform/data/sys/socket.h-data: Likewise.
12088 * conform/data/sys/stat.h-data: Likewise.
12089 * conform/data/sys/statvfs.h-data: Likewise.
12090 * conform/data/sys/time.h-data: Likewise.
12091 * conform/data/sys/timeb.h-data: Likewise.
12092 * conform/data/sys/times.h-data: Likewise.
12093 * conform/data/sys/types.h-data: Likewise.
12094 * conform/data/sys/uio.h-data: Likewise.
12095 * conform/data/sys/un.h-data: Likewise.
12096 * conform/data/sys/utsname.h-data: Likewise.
12097 * conform/data/sys/wait.h-data: Likewise.
12098 * conform/data/syslog.h-data: Likewise.
12099 * conform/data/tar.h-data: Likewise.
12100 * conform/data/termios.h-data: Likewise.
12101 * conform/data/utime.h-data: Likewise.
12102 * conform/data/utmpx.h-data: Likewise.
12103 * conform/data/varargs.h-data: Likewise.
12104 * conform/data/wchar.h-data: Likewise.
12105 * conform/data/wctype.h-data: Likewise.
12106 * conform/data/wordexp.h-data: Likewise.
12107
12108 * include/stropts.h: New file.
12109 * include/uchar.h: New file.
12110 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12111 * include/assert.h: Likewise.
12112 * include/ctype.h: Likewise.
12113 * include/dirent.h: Likewise.
12114 * include/dlfcn.h: Likewise.
12115 * include/fcntl.h: Likewise.
12116 * include/fnmatch.h: Likewise.
12117 * include/glob.h: Likewise.
12118 * include/grp.h: Likewise.
12119 * include/libio.h: Likewise.
12120 * include/locale.h: Likewise.
12121 * include/math.h: Likewise.
12122 * include/net/if.h: Likewise.
12123 * include/netdb.h: Likewise.
12124 * include/netinet/in.h: Likewise.
12125 * include/pthread.h: Likewise.
12126 * include/pwd.h: Likewise.
12127 * include/regex.h: Likewise.
12128 * include/sched.h: Likewise.
12129 * include/search.h: Likewise.
12130 * include/setjmp.h: Likewise.
12131 * include/signal.h: Likewise.
12132 * include/stdio.h: Likewise.
12133 * include/stdlib.h: Likewise.
12134 * include/string.h: Likewise.
12135 * include/sys/cdefs.h: Likewise.
12136 * include/sys/mman.h: Likewise.
12137 * include/sys/msg.h: Likewise.
12138 * include/sys/resource.h: Likewise.
12139 * include/sys/select.h: Likewise.
12140 * include/sys/socket.h: Likewise.
12141 * include/sys/stat.h: Likewise.
12142 * include/sys/statvfs.h: Likewise.
12143 * include/sys/time.h: Likewise.
12144 * include/sys/times.h: Likewise.
12145 * include/sys/uio.h: Likewise.
12146 * include/sys/utsname.h: Likewise.
12147 * include/sys/wait.h: Likewise.
12148 * include/termios.h: Likewise.
12149 * include/time.h: Likewise.
12150 * include/ulimit.h: Likewise.
12151 * include/unistd.h: Likewise.
12152 * include/utime.h: Likewise.
12153 * include/wchar.h: Likewise.
12154 * include/wctype.h: Likewise.
12155 * include/wordexp.h: Likewise.
12156
12157 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12158
7a270350
UD
12159 * time/time.h: TIME_UTC must be a macro.
12160 Make timespec_get available for ISO C11 only as well.
12161
7724defc
UD
121622012-02-24 Ulrich Drepper <drepper@gmail.com>
12163
12164 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12165 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12166
6b1d1d46
JM
121672012-02-24 Joseph Myers <joseph@codesourcery.com>
12168
12169 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12170
0f8bbd69
JM
121712012-02-24 Joseph Myers <joseph@codesourcery.com>
12172
12173 * manual/texinfo.tex: Update to version 2012-01-19.16.
12174
66ab80bc
JM
121752012-02-24 Joseph Myers <joseph@codesourcery.com>
12176
12177 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12178
74981cc5
RM
121792012-02-24 Roland McGrath <roland@hack.frob.com>
12180
ee968201
RM
12181 [BZ #13738]
12182 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12183 * manual/fdl-1.3.texi: New file.
12184 * manual/fdl-1.1.texi: File removed.
12185
74981cc5
RM
12186 [BZ #13738]
12187 * manual/libc.texinfo (FDL_VERSION): New @set.
12188 Use it for mention of FDL in cover text.
12189 (Documentation License): Use it in @include file name.
12190
7bb764bc
JM
121912012-02-22 Joseph Myers <joseph@codesourcery.com>
12192 Roland McGrath <roland@hack.frob.com>
12193
12194 [BZ #5461]
12195 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12196 not LONG_LONG_MAX and LONG_LONG_MIN.
12197 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12198 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12199 name.
12200 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12201
6cbeae47
JM
122022012-02-22 Joseph Myers <joseph@codesourcery.com>
12203
12204 [BZ #2547]
12205 [BZ #11365]
12206 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12207 manipulate bits before adding and subtracting TWO23[sx].
12208 * math/libm-test.inc (nearbyint_test): Add more tests.
12209
fe45ce09
JM
122102012-02-22 Joseph Myers <joseph@codesourcery.com>
12211
12212 [BZ #2548]
12213 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12214 bits before adding and subtracting TWO23[sx].
12215 * math/libm-test.inc (rint_test): Add more tests.
12216 (rint_test_tonearest): Likewise.
12217 (rint_test_towardzero): Likewise.
12218 (rint_test_downward): Likewise.
12219 (rint_test_upward: Likewise.
12220
ff3b3d82
JM
122212012-02-22 Joseph Myers <joseph@codesourcery.com>
12222
12223 [BZ #10110]
12224 * include/stdc-predef.h: New file. Extracted from features.h.
12225 * include/features.h: Include stdc-predef.h.
12226 * Makefile (headers): Add stdc-predef.h.
12227 * CONFORMANCE (Compiler limitations): Update.
12228
ef0aab35
JM
122292012-02-22 Joseph Myers <joseph@codesourcery.com>
12230
12231 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12232
58639409
DM
122332012-02-21 David S. Miller <davem@davemloft.net>
12234
12235 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12236 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12237
c0e70b25
DM
122382012-02-20 David S. Miller <davem@davemloft.net>
12239
12240 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12241 using a normal save/restore sequence, rather than allocating a
12242 dummy stack frame just to store a frame pointer and restore.
12243 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12244
fb06851d
JM
122452012-02-21 Joseph Myers <joseph@codesourcery.com>
12246
12247 * manual/install.texi: Fix stray word in line-wrapped comment.
12248
7a8b71c3
DM
122492012-02-20 David S. Miller <davem@davemloft.net>
12250
d510c123
DM
12251 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12252 both binutils and gcc support GOTDATA.
12253
0722d7c2
DM
12254 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12255 "rd %pc" in the PIC register setup sequences.
12256
3d2b3019
DM
12257 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12258 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12259 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12260 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12261 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12262 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12263 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12264 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12266 (SYSCALL_ERROR_HANDLER): Likewise.
12267 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12268 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12269 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12270 (SYSCALL_ERROR_HANDLER): Likewise.
12271
c80098a9
DM
12272 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12273 (HAVE_GCC_GOTDATA): New.
12274 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12275 relocation support in both binutils and gcc.
12276 * sysdeps/sparc/elf/configure: Regenerate.
12277
3a2545a0
DM
12278 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12279 * sysdeps/sparc/sparc32/elf/configure: Delete.
12280 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12281 * sysdeps/sparc/sparc64/elf/configure: Delete.
12282 * sysdeps/sparc/elf/configure.in: New file.
12283 * sysdeps/sparc/elf/configure: Generate.
12284
7a8b71c3
DM
12285 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12286 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12287 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12288 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12289 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12290
f1e86fca
JM
122912012-02-21 Joseph Myers <joseph@codesourcery.com>
12292
12293 * manual/install.texi: Do not mention specific glibc version
12294 numbers.
12295 * manual/libc.texinfo (VERSION, UPDATED): Update.
12296 (@copying): Use @copyright{} and range of years.
12297
0e7dfaef
JM
122982012-02-21 Joseph Myers <joseph@codesourcery.com>
12299
12300 [BZ #13695]
12301 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12302 [crti.S not in sysdirs] (generated): Do not append.
12303 [crti.S not in sysdirs] (omit-deps): Likewise.
12304 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12305 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12306 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12307 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12308 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12309 Likewise.
12310 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12311 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12312 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12313 * csu/defs.awk: Remove file.
12314 * sysdeps/generic/initfini.c: Likewise.
12315 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12316 variable.
12317 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12318 Likewise.
12319
599af3ca
JM
123202012-02-20 Joseph Myers <joseph@codesourcery.com>
12321
12322 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12323 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12324 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12325 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12326 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12327 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12328 <bits/epoll.h>.
12329 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12330 (__EPOLL_PACKED): Define to empty if not defined by
12331 <bits/epoll.h>.
12332 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12334 bits/epoll.h.
12335
0e499750
JM
123362012-02-20 Joseph Myers <joseph@codesourcery.com>
12337
12338 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12339 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12340 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12341 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12342 <bits/timerfd.h>.
12343 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12345 bits/timerfd.h.
12346
5ad91f6e
JM
123472012-02-20 Joseph Myers <joseph@codesourcery.com>
12348
12349 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12350 in C locale.
12351 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12352 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12353 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12355
06b99b02
AJ
123562012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12357
12358 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12359 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12360
7638c0fd
AS
123612012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12362
12363 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12364 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12365 defined.
12366 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12367 Likewise.
12368 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12369 entry for 2.16.
12370
92221550
AJ
123712012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12372
12373 * math/w_acos.c: Use non-signaling floating-point comparisons.
12374 * math/w_acosf.c: Likewise.
12375 * math/w_acosh.c: Likewise.
12376 * math/w_acoshf.c: Likewise.
12377 * math/w_acoshl.c: Likewise.
12378 * math/w_acosl.c: Likewise.
12379 * math/w_asin.c: Likewise.
12380 * math/w_asinf.c: Likewise.
12381 * math/w_asinl.c: Likewise.
12382 * math/w_atanh.c: Likewise.
12383 * math/w_atanhf.c: Likewise.
12384 * math/w_atanhl.c: Likewise.
12385 * math/w_exp2.c: Likewise.
12386 * math/w_exp2f.c: Likewise.
12387 * math/w_exp2l.c: Likewise.
12388 * math/w_j0.c: Likewise.
12389 * math/w_j0f.c: Likewise.
12390 * math/w_j0l.c: Likewise.
12391 * math/w_j1.c: Likewise.
12392 * math/w_j1f.c: Likewise.
12393 * math/w_j1l.c: Likewise.
12394 * math/w_jn.c: Likewise.
12395 * math/w_jnf.c: Likewise.
12396 * math/w_log.c: Likewise.
12397 * math/w_log10.c: Likewise.
12398 * math/w_log10f.c: Likewise.
12399 * math/w_log10l.c: Likewise.
12400 * math/w_log2.c: Likewise.
12401 * math/w_log2f.c: Likewise.
12402 * math/w_log2l.c: Likewise.
12403 * math/w_logf.c: Likewise.
12404 * math/w_logl.c: Likewise.
12405 * math/w_sqrt.c: Likewise.
12406 * math/w_sqrtf.c: Likewise.
12407 * math/w_sqrtl.c: Likewise.
12408 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12410 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12411 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12412 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12413
ebaf36eb
JM
124142012-02-19 Joseph Myers <joseph@codesourcery.com>
12415
12416 [BZ #9739]
12417 * manual/string.texi (strnlen): Use correct parameter name in
12418 equivalent expression.
12419
71c254a6
JM
124202012-02-19 Joseph Myers <joseph@codesourcery.com>
12421
12422 [BZ #11174]
12423 * manual/users.texi (seteuid): Consistently use neweuid for
12424 argument name.
12425
16d2c631
JM
124262012-02-19 Joseph Myers <joseph@codesourcery.com>
12427
12428 [BZ #13704]
12429 * manual/nss.texi (Services in the NSS configuration): Correct
12430 list of services in example configuration file.
12431
cd837b09
NB
124322012-02-19 Nick Bowler <nbowler@draconx.ca>
12433
12434 [BZ #11322]
12435 * manual/arith.texi: Remove statements about negative zero
12436 behaving identically to zero.
12437
02c4bbad
JM
124382012-02-18 Joseph Myers <joseph@codesourcery.com>
12439
12440 [BZ #5993]
12441 * manual/install.texi: Do not document upgrading from libc5.
12442
366842e7
JM
124432012-02-18 Joseph Myers <joseph@codesourcery.com>
12444
12445 [BZ #4596]
12446 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12447
dd54084d
DM
124482012-02-18 David S. Miller <davem@davemloft.net>
12449
12450 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12451 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12452 %o7 across the call.
12453 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12454 instead.
12455 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12456 SETUP_PIC_REG_LEAF.
12457 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12458 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12459 * sysdeps/sparc/crtn.S: Likewise.
12460
2bcc53a3
UD
124612012-02-17 Ulrich Drepper <drepper@gmail.com>
12462
12463 * aout/Makefile: Remove.
12464
09c093b5
RK
124652012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12466
12467 [BZ #13058]
12468 * manual/examples/argp-ex1.c (main): Format definition in GNU
12469 style.
12470 * manual/examples/argp-ex2.c (main): Likewise.
12471 * manual/examples/argp-ex3.c (main): Likewise.
12472 * manual/examples/argp-ex4.c (main): Likewise.
12473 * manual/examples/longopt.c (main): Use new-style prototype
12474 definition.
12475 * manual/examples/strncat.c (main): Specify return type and use
12476 (void) for arguments.
12477 * manual/examples/subopt.c (main): Use char **argv argument.
12478
2ee633a2
JM
124792012-02-17 Joseph Myers <joseph@codesourcery.com>
12480
12481 [BZ #5077]
12482 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12483 rounding modes.
12484
0520adde
FB
124852012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12486
12487 [BZ #6907]
12488 * manual/string.texi (strchr): Change when strchrnul is
12489 recommended.
12490
3f4081cd
DGM
124912012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12492
12493 [BZ #174]
12494 * manual/locale.texi (setlocale): Document LOCPATH.
12495
d1b10e78
JM
124962012-02-17 Joseph Myers <joseph@codesourcery.com>
12497
12498 [BZ #10210]
12499 * manual/process.texi (execle): Move @dots{} before last argument.
12500
79c6869c
PB
125012012-02-17 Paul Bolle <pebolle@tiscali.nl>
12502
12503 [BZ #12047]
12504 * manual/charset.texi (Generic Charset Conversion): Fix typo
12505 (LC_TYPE -> LC_CTYPE).
12506
cc6e48bc
NB
125072012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12508
12509 [BZ #5805]
12510 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12511 (scalbnf): Likewise.
12512 (scalbnl): Likewise.
12513 (scalbln): Likewise.
12514 (scalblnf): Likewise.
12515 (scalblnl): Likewise.
12516 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12517 (vwarnx): Likewise.
12518 (verr): Likewise.
12519 (verrx): Likewise.
12520 * manual/filesys.texi (telldir): Use braces around return type.
12521 * manual/llio.texi (mmap): Add space after comma.
12522 (mmap64): Likewise.
12523 * manual/math.texi (jn): Use @var{} on parameter names.
12524 (jnf): Likewise.
12525 (jnl): Likewise.
12526 (yn): Likewise.
12527 (ynf): Likewise.
12528 (ynl): Likewise.
12529 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12530 line.
12531 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12532 "...".
12533 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12534 (sched_get_priority_max): Likewise.
12535 * manual/signal.texi (sigvec): Add space after comma.
12536 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12537 names.
12538 (if_indextoname): Likewise.
12539 (if_freenameindex): Likewise.
12540 (sendto): Use ',' instead of '.' in prototype.
12541 * manual/startup.texi (syscall): Use @dots{} instead of literal
12542 "...".
12543 * manual/stdio.texi (__fpending): Separate initial words of
12544 paragraph from @deftypefun line.
12545 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12546 "...".
12547 (vsyslog): Use @var{} on parameter names.
12548 * manual/terminal.texi (stty): Use @var{} on parameter names.
12549 * manual/users.texi (getutmp): Use @var{} on parameter names.
12550 (getutmpx): Likewise.
12551
5b23062f
JM
125522012-02-17 Joseph Myers <joseph@codesourcery.com>
12553
12554 [BZ #6884]
12555 * manual/stdio.texi (fopen): Fix typos in description of
12556 ",ccs=STRING".
12557
8dee4833
AJ
125582012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12559
12560 [BZ #4026]
12561 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12562 get clock_id definition.
12563
9078ce93
TS
125642012-02-17 Thomas Schwinge <thomas@schwinge.name>
12565
12566 [BZ #4822]
12567 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12568 (madvise): Cast every argument to void on its own.
12569
3835c55f
JM
125702012-02-17 Joseph Myers <joseph@codesourcery.com>
12571
12572 [BZ #9902]
12573 * manual/startup.texi (Exit Status): Fix typo.
12574
35c47e37
JM
125752012-02-17 Joseph Myers <joseph@codesourcery.com>
12576
12577 [BZ #10140]
12578 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12579 * manual/examples/argp-ex2.c: Likewise.
12580 * manual/examples/argp-ex3.c: Likewise.
12581
e3b69ca7
RH
125822012-02-16 Richard Henderson <rth@redhat.com>
12583
12584 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12585 * sysdeps/s390/s390-32/initfini.c: Remove.
12586 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12587 * sysdeps/s390/s390-64/initfini.c: Remove.
12588
df83af67
KK
125892012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12590
12591 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12592 compiler output for sysdeps/generic/initfini.c.
12593 * sysdeps/sh/elf/initfini.c: Remove file.
12594
f63f3380
DM
125952012-02-16 David S. Miller <davem@davemloft.net>
12596
fb59b3a4
DM
12597 [BZ #11494]
12598 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12599
f63f3380
DM
12600 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12601 * sysdeps/sparc/crti.S: New file.
12602 * sysdeps/sparc/crtn.S: New file.
12603 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12604 * sysdeps/sparc/sparc64/Makefile: Likewise.
12605
df6a4a4a
MF
126062012-02-15 Mike Frysinger <vapier@gentoo.org>
12607
6dd8f3dc 12608 [BZ #3335]
df6a4a4a
MF
12609 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12610
1cac7236
RM
126112012-02-15 Roland McGrath <roland@hack.frob.com>
12612
d2c736f8
RM
12613 [BZ #4822]
12614 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12615
1cac7236
RM
12616 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12617 (write, read, close): Likewise.
12618 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12619
8e475601
JM
126202012-02-15 Joseph Myers <joseph@codesourcery.com>
12621
12622 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12623 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12624 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12625 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12626 <bits/signalfd.h>.
12627 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12629 bits/signalfd.h.
12630
ed656b40
MP
126312012-02-14 Marek Polacek <polacek@redhat.com>
12632
12633 * sysdeps/x86_64/crti.S: New file.
12634 * sysdeps/x86_64/crtn.S: New file.
12635 * sysdeps/x86_64/elf/initfini.c: Remove file.
12636
2a979d3a
JM
126372012-02-13 Joseph Myers <joseph@codesourcery.com>
12638
12639 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12640 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12641 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12642 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12643 <bits/inotify.h>.
12644 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12646 bits/inotify.h.
12647
2a418ac3
JM
126482012-02-13 Joseph Myers <joseph@codesourcery.com>
12649
12650 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12651 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12652 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12653 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12654 <bits/eventfd.h>.
12655 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12657 bits/eventfd.h.
12658
fb779be7
TS
126592012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12660
e19e83c5
RM
12661 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12662 __feraiseexcept instead of feraiseexcept.
7c35ffed 12663
fb779be7
TS
12664 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12665 nanosleep invocations.
12666 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12667 strings, and add error checking for a nanosleep invocations.
12668
59ba27a6
PE
126692012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12670
12671 Replace FSF snail mail address with URLs, as per GNU coding standards.
12672 Most of the snail mail addresses were wrong anyway, and omitting
12673 them makes the source code easier to maintain. Almost all of the
12674 changes are to license notices and to locale LC_IDENTIFICATION
12675 addresses, except for this one:
12676 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12677 not its snail mail address.
12678
57b957eb
RH
126792012-02-09 Richard Henderson <rth@twiddle.net>
12680
af850b1c
RH
12681 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12682 of kernel-features.h.
12683
57b957eb
RH
12684 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12685
6b73181a
MP
126862012-02-08 Marek Polacek <polacek@redhat.com>
12687
12688 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12689 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12690 * sysdeps/gnu/_G_config.h: Likewise.
12691 * sysdeps/generic/_G_config.h: Likewise.
12692
26ecc33a
AS
126932012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12694
6c6dbc63
AS
12695 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12696 tests.
12697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12698
e216c012
AS
12699 * sysdeps/powerpc/powerpc32/crti.S: New file.
12700 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12701 * sysdeps/powerpc/powerpc64/crti.S: New file.
12702 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12703
26ecc33a
AS
12704 * Makeconfig (have-initfini): Don't set.
12705 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12706 * configure.in (nopic_initfini): Don't substitute.
12707 * config.h.in (HAVE_INITFINI): Don't #undef.
12708 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12709 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12710
3add8e13
JM
127112012-02-08 Joseph Myers <joseph@codesourcery.com>
12712
12713 Support crti.S and crtn.S provided directly by architectures.
12714 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12715 [crti.S in sysdirs] (omit-deps): Likewise.
12716 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12717 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12718 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12719 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12720 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12721 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12722 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12723 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12724 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12725 compiler output for sysdeps/generic/initfini.c.
12726 * sysdeps/i386/elf/Makefile: Remove file.
12727 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12728
a22f12b4
MP
127292012-02-07 Marek Polacek <polacek@redhat.com>
12730
12731 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12732 * sysdeps/gnu/_G_config.h: Likewise.
12733 * sysdeps/mach/hurd/_G_config.h: Likewise.
12734
148cf100
MP
127352012-02-07 Marek Polacek <polacek@redhat.com>
12736
12737 * math/Makefile (tests): Add tst-CMPLX2.
12738 * math/tst-CMPLX2.c: New file.
12739
cfdc0dd7
AS
127402012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12741
84ba42c4
AS
12742 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12743
cfdc0dd7
AS
12744 * math/libm-test.inc (jn_test): Add missing L suffix.
12745
622c86f4
MP
127462012-02-06 Marek Polacek <polacek@redhat.com>
12747
12748 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12749 * sysdeps/i386/fpu/e_powf.S: Likewise.
12750 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12751 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12752 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12753 * sysdeps/i386/fpu/e_pow.S: Likewise.
12754 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12755 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12756 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12757 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12758 * sysdeps/i386/fpu/e_log2.S: Likewise.
12759 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12760 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12761 * sysdeps/i386/fpu/e_powl.S: Likewise.
12762 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12763 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12764 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12765 * sysdeps/i386/fpu/e_logl.S: Likewise.
12766 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12767 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12768 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12769 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12770 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12771 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12772 * sysdeps/i386/fpu/e_log.S: Likewise.
12773 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12774 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12775 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12776 * sysdeps/i386/fpu/e_logf.S: Likewise.
12777 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12778 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12779 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12780 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12781 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12782 * sysdeps/i386/fpu/e_log10.S: Likewise.
12783 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12784 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12785 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12786 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12787 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12788 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12789 * sysdeps/i386/asm-syntax.h: Likewise.
12790 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12791 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12792 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12793 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12794 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12795 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12796 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12797 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12798 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12799 * sysdeps/powerpc/sysdep.h: Likewise.
12800 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12801 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12802
d4a54ac6
JM
128032012-02-06 Joseph Myers <joseph@codesourcery.com>
12804
12805 [BZ #411]
12806 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12807
314054ea
JM
128082012-02-06 Joseph Myers <joseph@codesourcery.com>
12809
12810 * sysdeps/i386/sysdep.h: Include <features.h>.
12811 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12812 version.
12813
d8e0ca50
JM
128142012-02-05 Joseph Myers <joseph@codesourcery.com>
12815
12816 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12817 Define.
12818 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12819 LOAD_PIC_REG_STR.
12820
b1da7dd9
JM
128212012-02-03 Joseph Myers <joseph@codesourcery.com>
12822
12823 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12824 (SETUP_PIC_REG): Use GET_PC_THUNK.
12825 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12826 macro.
12827
9a1d9254
JM
128282012-02-03 Joseph Myers <joseph@codesourcery.com>
12829
12830 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12831 for non-PIC compilation.
12832 (SETUP_PIC_REG): Add .p2align directive.
12833 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12834 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12835 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12836 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12837 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12838 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12839 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12840 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12841 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12842 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12843 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12844 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12845 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12846 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12847 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12848 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12849 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12850 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12851 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12852 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12853 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12854 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12855 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12856 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12857 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12859 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12860 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12861 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12862 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12863 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12864 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12865 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12866 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12867 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12868 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12869 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12870 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12871 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12872 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12873 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12874
65dc3b75
JM
128752012-02-03 Joseph Myers <joseph@codesourcery.com>
12876
12877 * math/tst-CMPLX.c: Include <stdio.h>.
12878
d55bf177
JM
128792012-01-31 Joseph Myers <joseph@codesourcery.com>
12880
12881 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12882 float.
12883 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12884 * sysdeps/sparc/bits/mathdef.h: Likewise.
12885
69db4f8f
MP
128862012-01-31 Marek Polacek <polacek@redhat.com>
12887
12888 * libio/libio.h: Don't define _PARAMS.
12889 * locale/programs/config.h: Don't define PARAMS.
12890 * stdlib/strtol_l.c: Likewise.
12891 (__strtol_l): Remove PARAMS from the prototype.
12892
41b81892
UD
128932012-01-31 Ulrich Drepper <drepper@gmail.com>
12894
3b49edc0
UD
12895 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12896 names. Just use the correct names. Remove unnecessary wrapper
12897 functions.
12898 * malloc/arena.c: Likewise.
12899 * malloc/hooks.c: Likewise.
12900
41b81892
UD
12901 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12902 ARENA_TEST says not to. Simplify test for creation of a new arena.
12903 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12904
27a25b6e
UD
129052012-01-30 Ulrich Drepper <drepper@gmail.com>
12906
12907 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12908 into tail calls.
12909 (update_get_addr): New function.
12910 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12911 GET_ADDR_MODULE parameter.
12912
c8a89e7d
JM
129132012-01-30 Joseph Myers <joseph@codesourcery.com>
12914
12915 * crypt/cert.c: Remove __STDC__ conditionals.
12916 * crypt/crypt-entry.c: Likewise.
12917 * crypt/crypt_util.c: Likewise.
12918 * libio/filedoalloc.c: Likewise.
12919 * libio/fileops.c: Likewise.
12920 * libio/genops.c: Likewise.
12921 * libio/iofclose.c: Likewise.
12922 * libio/iofdopen.c: Likewise.
12923 * libio/iofopen.c: Likewise.
12924 * libio/iofopen64.c: Likewise.
12925 * libio/iogetdelim.c: Likewise.
12926 * libio/iopopen.c: Likewise.
12927 * libio/obprintf.c: Likewise.
12928 * libio/oldfileops.c: Likewise.
12929 * libio/oldiofclose.c: Likewise.
12930 * libio/oldiofdopen.c: Likewise.
12931 * libio/oldiofopen.c: Likewise.
12932 * libio/oldiopopen.c: Likewise.
12933 * libio/wfiledoalloc.c: Likewise.
12934 * libio/wgenops.c: Likewise.
12935 * locale/programs/xmalloc.c: Likewise.
12936 * misc/syslog.c: Likewise.
12937 * stdio-common/xbug.c: Likewise.
12938 * string/memchr.c: Likewise.
12939 * string/memcmp.c: Likewise.
12940 * string/memrchr.c: Likewise.
12941 * string/rawmemchr.c: Likewise.
12942 * sysdeps/posix/getcwd.c: Likewise.
12943 * time/strftime_l.c: Likewise.
12944
3b100462
JM
129452012-01-30 Joseph Myers <joseph@codesourcery.com>
12946
12947 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12948 * config.make.in (config-cflags-sse2avx): Define.
12949 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12950 Fix typo.
12951
607998af
CM
129522012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12953
12954 * scripts/config.guess: Update from upstream config git repository.
12955 * scripts/config.sub: Likewise.
12956
3601428f
CM
129572012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12958
3ac8b282
CM
12959 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12960 (EM_NUM): Update.
12961 (R_TILEPRO_*, R_TILEGX_*): New macros.
12962
e034841e
CM
12963 * scripts/firstversions.awk: Fix bug in version range handling.
12964
540d7568
CM
12965 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12966
3601428f
CM
12967 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12968
463de862
CM
12969 * include/sys/epoll.h: New file.
12970 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12971 libc_hidden_def.
12972
73139a76
UD
129732012-01-28 Ulrich Drepper <drepper@gmail.com>
12974
96bc5b45
UD
12975 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12976 Avoid unnecessary __WORDSIZE == 64 test.
12977 (fmaxf): Use VEX format if possible.
12978 (fmax): Likewise.
12979 (fminf): Likewise.
12980 (fmin): Likewise.
12981
56f6f6a2
UD
12982 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12983 * math/math_private.h: Remove libc_fegetround* and
12984 libc_fesetround*.
12985 * sysdeps/i386/configure.in: Check for -msse2avx.
12986 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12987 also if SSE2AVX is defined.
12988 Remove libc_fegetround* and libc_fesetround*.
12989 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12990 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12991 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12992 of HAS_YMM_USABLE.
12993 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12994 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12995 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12996 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12997 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12998
73139a76
UD
12999 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13000
d73f93a4
AZ
130012012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13002
13003 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13004 size is not set.
13005 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13006
6ee65ed6
UD
130072012-01-27 Ulrich Drepper <drepper@gmail.com>
13008
13009 [BZ #13618]
13010 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13011 relocation.
13012 * Makeconfig (libm): Define.
13013 * elf/Makefile: Add rules to build and run tst-relsort1.
13014 * elf/tst-relsort1.c: New file.
13015 * elf/tst-relsort1mod1.c: New file.
13016 * elf/tst-relsort1mod2.c: New file.
13017
8db21882
JM
130182012-01-27 Joseph Myers <joseph@codesourcery.com>
13019
13020 * math/s_ldexp.c: Remove __STDC__ conditionals.
13021 * math/s_ldexpf.c: Likewise.
13022 * math/s_ldexpl.c: Likewise.
13023 * math/s_nextafter.c: Likewise.
13024 * math/s_nexttowardf.c: Likewise.
13025 * math/s_significand.c: Likewise.
13026 * math/s_significandf.c: Likewise.
13027 * math/s_significandl.c: Likewise.
13028 * math/w_jnl.c: Likewise.
13029 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13030 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13031 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13032 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13033 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13034 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13035 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13036 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13037 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13038 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13039 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13040 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13041 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13042 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13043 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13044 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13045 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13046 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13048 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13049 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13050 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13051 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13052 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13053 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13054 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13055 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13056 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13057 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13058 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13059 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13060 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13061 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13062 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13063 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13064 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13065 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13066 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13067 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13068 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13069 * sysdeps/ieee754/k_standard.c: Likewise.
13070 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13071 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13072 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13073 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13074 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13075 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13076 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13077 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13078 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13079 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13080 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13081 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13082 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13083 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13085 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13086 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13088 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13089 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13091 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13092 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13093 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13094 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13095 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13096 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13097 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13098 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13099 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13105 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13107 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13108 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13109 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13112 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13113 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13114 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13115 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13116 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13117 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13118 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13119 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13120 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13121 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13122 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13123 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13124 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13125 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13126 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13127 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13128 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13129 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13130 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13131 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13132 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13133 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13134 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13135 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13136 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13137 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13138 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13139 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13143 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13144 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13145 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13146 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13147 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13148 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13149 * sysdeps/ieee754/s_matherr.c: Likewise.
13150 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13151 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13152 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13153 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13154
965a54a4
JM
131552012-01-26 Joseph Myers <joseph@codesourcery.com>
13156
13157 * crypt/md5.h: Remove __STDC__ conditionals.
13158 * libio/libioP.h: Likewise.
13159 * locale/programs/config.h: Likewise.
13160 * sysdeps/generic/sysdep.h: Likewise.
13161 * sysdeps/i386/asm-syntax.h: Likewise.
13162 * sysdeps/s390/asm-syntax.h: Likewise.
13163 * sysdeps/unix/sysdep.h: Likewise.
13164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13166
7071ad79
JM
131672012-01-26 Joseph Myers <joseph@codesourcery.com>
13168
13169 * libio/libio.h: Remove __STDC__ conditionals.
13170 * malloc/obstack.h: Likewise.
13171 * math/complex.h: Likewise.
13172 * math/math.h: Likewise.
13173 * sysdeps/generic/_G_config.h: Likewise.
13174 * sysdeps/gnu/_G_config.h: Likewise.
13175 * sysdeps/mach/hurd/_G_config.h: Likewise.
13176 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13177 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13178 * sysdeps/sparc/bits/mathdef.h: Likewise.
13179
afc5ed09
UD
131802012-01-26 Ulrich Drepper <drepper@gmail.com>
13181
13182 [BZ #13583]
13183 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13184 Clean up HAS_* macros.
afc5ed09 13185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13186 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13187 possible.
13188 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13189 HAS_AVX.
13190 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13191 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13192 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13193 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13194 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13195
bdb6de1d
JM
131962012-01-25 Joseph Myers <joseph@codesourcery.com>
13197
13198 * elf/tst-unique3.cc (gets): Remove declaration.
13199 * elf/tst-unique3lib.cc (gets): Likewise.
13200 * elf/tst-unique3lib2.cc (gets): Likewise.
13201 * elf/tst-unique4.cc (gets): Likewise.
13202
b15549e6
UD
132032012-01-24 Ulrich Drepper <drepper@gmail.com>
13204
13205 * include/stdio.h: Add C++ protection. Add gets declarations and
13206 definitions.
13207 * debug/tst-chk1.c: Don't declare gets here.
13208 * stdio-common/tst-gets.c: Likewise.
13209
a037381f
JM
132102012-01-24 Joseph Myers <joseph@codesourcery.com>
13211
13212 * posix/glob: Remove directory.
13213
f1d4aa75
JM
132142012-01-24 Joseph Myers <joseph@codesourcery.com>
13215
13216 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13217
81c0c964
PT
132182012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13219
13220 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13221 of the non-standard EPFNOSUPPORT.
13222
0ea698ae
ST
132232011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13224
13225 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13226 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13227 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13228
d220b117
UD
132292012-01-21 Ulrich Drepper <drepper@gmail.com>
13230
13231 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13232
3e1aa84e
UD
132332012-01-20 Ulrich Drepper <drepper@gmail.com>
13234
13235 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13236 transient errors.
13237 * nscd/grpcache.c (cache_addgr): Likewise.
13238 * nscd/hstcache.c (cache_addhst): Likewise.
13239 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13240 * nscd/pwdcache.c (cache_addpw): Likewise.
13241 * nscd/servicescache.c (cache_addserv): Likewise.
13242
400aa020
UD
132432012-01-16 Ulrich Drepper <drepper@gmail.com>
13244
d77e7869
UD
13245 * malloc/malloc.c: Various cleanups.
13246 * malloc/hooks.c: Likewise.
13247
400aa020
UD
13248 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13249 * stdlib/bug-fmtmsg1.c: New file.
13250
13251 * stdlib/fmtmsg.c (init): Add missing unlock.
13252 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13253
e0a309cf
MP
132542012-01-12 Marek Polacek <polacek@redhat.com>
13255
13256 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13257 and _GNU_SOURCE.
13258
929d11c7
WS
132592012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13260
13261 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13262 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13263 macro to ensure uniqueness of label name.
13264 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13265 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13266
41d0e869
UD
132672012-01-11 Ulrich Drepper <drepper@gmail.com>
13268
0cc5ed3b
UD
13269 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13270
41d0e869
UD
13271 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13272 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13273 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13274 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13275
a47a831a
UD
132762012-01-10 Ulrich Drepper <drepper@gmail.com>
13277
daa891c0
UD
13278 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13279
13280 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13281 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13282 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13283
e58ef0f2
UD
13284 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13285
a47a831a 13286 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13287 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13288 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13289 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13290
13291 * math/bits/math-finite.h: Add ldexp support.
13292
a0bfc9c7
MP
132932012-01-10 Marek Polacek <polacek@redhat.com>
13294
13295 * locale/programs/localedef.h (show_archive_content): Add noreturn
13296 attribute.
13297
d6e97a1d
UD
132982012-01-09 Ulrich Drepper <drepper@gmail.com>
13299
13300 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13301
d5835c26
UD
133022012-01-08 Ulrich Drepper <drepper@gmail.com>
13303
e5f484c6
UD
13304 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13305
d5835c26
UD
13306 * io/Makefile (headers): Add bits/poll2.h.
13307
d1f741e9
WS
133082011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13309
13310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13311 typo #include statement.
13312
ec09c1c4
UD
133132012-01-08 Ulrich Drepper <drepper@gmail.com>
13314
13315 * include/sys/cdefs.h: Define __attribute_alloc_size.
13316 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13317 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13318 * elf/pldd.c: Likewise.
13319 * iconv/iconv_charmap.c: Likewise.
13320 * iconv/iconvconfig.c: Likewise.
13321 * iconv/strtab.c: Likewise.
13322 * locale/programs/locale.c: Likewise.
13323 * locale/programs/localedef.h: Likewise.
13324 * locale/programs/simple-hash.c: Likewise.
13325 * nscd/nscd.h: Likewise.
13326 * nss/makedb.c: Likewise.
13327 * sysdeps/generic/ldconfig.h: Likewise.
13328 * locale/programs/localedef.c: Remove xmalloc prototype.
13329 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13330
20b38e03
PP
133312012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13332
13333 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13334 appropriate.
13335
a0da5fe1
UD
133362012-01-08 Ulrich Drepper <drepper@gmail.com>
13337
1d5a644a 13338 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13339 * math/tst-CMPLX.c: New file.
1d5a644a 13340
8784a6db
UD
13341 * math/complex.h (CMPLXL): Fix typo.
13342
d9a216c0
UD
13343 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13344 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13345 GLIBC_2.16.
13346 * debug/tst-chk1.c: Add poll and ppoll tests.
13347 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13348 * include/sys/poll.h: Add hidden proto for ppoll.
13349 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13350 * sysdeps/mach/hurd/ppoll.c: Likewise.
13351 * io/ppoll.c: Likewise.
13352 * debug/poll_chk.c: New file.
13353 * debug/ppoll_chk.c: New file.
13354 * include/bits/poll2.h: New file.
13355 * io/bits/poll2.h: New file.
13356
ac097f5c
UD
13357 [BZ #1350]
13358 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13359
2119dcfa
UD
13360 * configure.in: static is always set to yes. Remove.
13361 * config.make.in: Don't set build-static.
13362 * Makeconfig: Remove use of build-static.
13363 * dlfcn/Makefile: Likewise.
13364 * elf/Makefile: Likewise.
13365 * math/Makefile: Likewise.
13366 * misc/Makefile: Likewise.
13367 * nptl/Makefile: Likewise.
13368 * sysdeps/mach/hurd/Makefile: Likewise.
13369
121766a9
UD
13370 * configure.in: PWD_P is not used anymore.
13371 * config.make.in: Remove PWD_P entry.
13372
51a1d39c 13373 * configure.in: Remove last remnants of RANLIB.
8720d066 13374 No need to check for signed size_t anymore.
215f4bdc
UD
13375 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13376 and IA-64.
3857022a 13377 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13378 * aclocal.m4: Likewise.
13379
d3ed7225
UD
13380 * wcsmbs/mbrtoc16.c: Implement using towc function.
13381 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13382 * wcsmbs/wcsmbsload.c: Likewise.
13383 * iconv/gconv_simple.c: Likewise.
13384 * iconv/gconv_int.h: Likewise.
13385 * iconv/gconv_builtin.h: Likewise.
13386 * iconv/iconv_prog.c: Remove CHAR16 handling.
13387
13388 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13389
13390 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13391
a0da5fe1
UD
13392 * configure.in: Remove --with-elf and --enable-bounded options.
13393 Dont set base_machine for ia64. More non-ELF conditions removed.
13394 Remove testing and setting of leading underscore information.
13395 * config.make.in (build-bounded): Set to no.
13396 * config.h.in: Remove NO_UNDERSCORES entry.
13397 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13398 them.
13399 * csu/start.c: Remove !NO_UNDERSCORE code.
13400 * locale/localeinfo.h: Likewise.
13401 * sysdeps/generic/machine-gmon.h: Likewise.
13402 * sysdeps/generic/sysdep.h: Likewise.
13403 * sysdeps/i386/sysdep.h: Likewise.
13404 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13405 * sysdeps/mach/sysdep.h: Likewise.
13406 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13407 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13408 * sysdeps/sh/sysdep.h: Likewise.
13409 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13410 * sysdeps/unix/i386/sysdep.S: Likewise.
13411 * sysdeps/unix/sparc/start.c: Likewise.
13412 * sysdeps/unix/sparc/sysdep.S: Likewise.
13413 * sysdeps/unix/sparc/sysdep.h: Likewise.
13414 * sysdeps/unix/start.c: Likewise.
13415 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13416 * sysdeps/x86_64/sysdep.h: Likewise.
13417
df78418a
UD
134182012-01-07 Ulrich Drepper <drepper@gmail.com>
13419
a784e502
UD
13420 [BZ #13553]
13421 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13422 for non-gcc.
13423 * argp/argp-fmtstream.h: Use const instead __const.
13424 * argp/argp.h: Likewise.
13425 * assert/assert.h: Likewise.
13426 * bits/fenv.h: Likewise.
13427 * bits/sched.h: Likewise.
13428 * bits/sigset.h: Likewise.
13429 * bits/sigthread.h: Likewise.
13430 * catgets/nl_types.h: Likewise.
13431 * conform/data/pthread.h-data: Likewise.
13432 * crypt/crypt-private.h: Likewise.
13433 * crypt/crypt.h: Likewise.
13434 * crypt/crypt_util.c: Likewise.
13435 * ctype/ctype.h: Likewise.
13436 * debug/execinfo.h: Likewise.
13437 * debug/mbsnrtowcs_chk.c: Likewise.
13438 * debug/mbsrtowcs_chk.c: Likewise.
13439 * debug/wcsnrtombs_chk.c: Likewise.
13440 * debug/wcsrtombs_chk.c: Likewise.
13441 * debug/wcstombs_chk.c: Likewise.
13442 * dirent/dirent.h: Likewise.
13443 * dlfcn/dlfcn.h: Likewise.
13444 * elf/neededtest4.c: Likewise.
13445 * grp/grp.h: Likewise.
13446 * gshadow/gshadow.h: Likewise.
13447 * iconv/gconv.h: Likewise.
13448 * iconv/gconv_int.h: Likewise.
13449 * iconv/gconv_simple.c: Likewise.
13450 * iconv/iconv.h: Likewise.
13451 * iconv/loop.c: Likewise.
13452 * iconv/skeleton.c: Likewise.
13453 * include/aio.h: Likewise.
13454 * include/aliases.h: Likewise.
13455 * include/argz.h: Likewise.
13456 * include/arpa/inet.h: Likewise.
13457 * include/assert.h: Likewise.
13458 * include/dirent.h: Likewise.
13459 * include/dlfcn.h: Likewise.
13460 * include/execinfo.h: Likewise.
13461 * include/fcntl.h: Likewise.
13462 * include/fenv.h: Likewise.
13463 * include/glob.h: Likewise.
13464 * include/grp.h: Likewise.
13465 * include/libintl.h: Likewise.
13466 * include/mntent.h: Likewise.
13467 * include/netdb.h: Likewise.
13468 * include/pwd.h: Likewise.
13469 * include/rpc/netdb.h: Likewise.
13470 * include/sched.h: Likewise.
13471 * include/search.h: Likewise.
13472 * include/shadow.h: Likewise.
13473 * include/signal.h: Likewise.
13474 * include/stdio.h: Likewise.
13475 * include/stdlib.h: Likewise.
13476 * include/string.h: Likewise.
13477 * include/sys/socket.h: Likewise.
13478 * include/sys/stat.h: Likewise.
13479 * include/sys/statfs.h: Likewise.
13480 * include/sys/statvfs.h: Likewise.
13481 * include/sys/syslog.h: Likewise.
13482 * include/sys/time.h: Likewise.
13483 * include/sys/uio.h: Likewise.
13484 * include/time.h: Likewise.
13485 * include/unistd.h: Likewise.
13486 * include/utmp.h: Likewise.
13487 * include/wchar.h: Likewise.
13488 * include/wctype.h: Likewise.
13489 * inet/aliases.h: Likewise.
13490 * inet/arpa/inet.h: Likewise.
13491 * inet/netinet/ether.h: Likewise.
13492 * inet/netinet/in.h: Likewise.
13493 * intl/libintl.h: Likewise.
13494 * io/bits/fcntl2.h: Likewise.
13495 * io/fcntl.h: Likewise.
13496 * io/ftw.h: Likewise.
13497 * io/sys/poll.h: Likewise.
13498 * io/sys/stat.h: Likewise.
13499 * io/sys/statfs.h: Likewise.
13500 * io/sys/statvfs.h: Likewise.
13501 * io/utime.h: Likewise.
13502 * libio/bits/stdio.h: Likewise.
13503 * libio/bits/stdio2.h: Likewise.
13504 * libio/libio.h: Likewise.
13505 * libio/libioP.h: Likewise.
13506 * libio/stdio.h: Likewise.
13507 * locale/lc-ctype.c: Likewise.
13508 * locale/locale.h: Likewise.
13509 * login/utmp.h: Likewise.
13510 * malloc/arena.c: Likewise.
13511 * malloc/malloc.c: Likewise.
13512 * malloc/malloc.h: Likewise.
13513 * malloc/mcheck.c: Likewise.
13514 * malloc/mtrace.c: Likewise.
13515 * math/bits/mathcalls.h: Likewise.
13516 * math/fenv.h: Likewise.
13517 * math/math_private.h: Likewise.
13518 * misc/bits/error.h: Likewise.
13519 * misc/bits/syslog.h: Likewise.
13520 * misc/err.h: Likewise.
13521 * misc/error.h: Likewise.
13522 * misc/fstab.h: Likewise.
13523 * misc/mntent.h: Likewise.
13524 * misc/regexp.h: Likewise.
13525 * misc/search.h: Likewise.
13526 * misc/sgtty.h: Likewise.
13527 * misc/sys/mman.h: Likewise.
13528 * misc/sys/syslog.h: Likewise.
13529 * misc/sys/uio.h: Likewise.
13530 * misc/sys/xattr.h: Likewise.
13531 * misc/ttyent.h: Likewise.
13532 * nis/rpcsvc/ypclnt.h: Likewise.
13533 * nss/nss.h: Likewise.
13534 * posix/bits/unistd.h: Likewise.
13535 * posix/fnmatch.h: Likewise.
13536 * posix/glob.h: Likewise.
13537 * posix/sched.h: Likewise.
13538 * posix/spawn.h: Likewise.
13539 * posix/sys/wait.h: Likewise.
13540 * posix/unistd.h: Likewise.
13541 * posix/wordexp.h: Likewise.
13542 * pwd/pwd.h: Likewise.
13543 * resolv/netdb.h: Likewise.
13544 * resource/sys/resource.h: Likewise.
13545 * rt/aio.h: Likewise.
13546 * rt/bits/mqueue2.h: Likewise.
13547 * rt/mqueue.h: Likewise.
13548 * shadow/shadow.h: Likewise.
13549 * signal/signal.h: Likewise.
13550 * socket/send.c: Likewise.
13551 * socket/sendto.c: Likewise.
13552 * socket/sys/socket.h: Likewise.
13553 * stdio-common/printf.h: Likewise.
13554 * stdlib/bits/stdlib.h: Likewise.
13555 * stdlib/fmtmsg.h: Likewise.
13556 * stdlib/monetary.h: Likewise.
13557 * stdlib/stdlib.h: Likewise.
13558 * stdlib/ucontext.h: Likewise.
13559 * streams/stropts.h: Likewise.
13560 * string/argz.h: Likewise.
13561 * string/bits/string2.h: Likewise.
13562 * string/string.h: Likewise.
13563 * string/strings.h: Likewise.
13564 * sunrpc/rpc/auth.h: Likewise.
13565 * sunrpc/rpc/auth_des.h: Likewise.
13566 * sunrpc/rpc/clnt.h: Likewise.
13567 * sunrpc/rpc/netdb.h: Likewise.
13568 * sunrpc/rpc/pmap_clnt.h: Likewise.
13569 * sunrpc/rpc/xdr.h: Likewise.
13570 * sysdeps/generic/inttypes.h: Likewise.
13571 * sysdeps/generic/net/if.h: Likewise.
13572 * sysdeps/generic/sys/swap.h: Likewise.
13573 * sysdeps/gnu/net/if.h: Likewise.
13574 * sysdeps/gnu/utmpx.h: Likewise.
13575 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13576 * sysdeps/i386/i486/bits/string.h: Likewise.
13577 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13578 * sysdeps/s390/bits/string.h: Likewise.
13579 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13580 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13581 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13582 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13583 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13584 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13585 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13586 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13587 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13588 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13589 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13590 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13591 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13592 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13593 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13594 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13595 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13597 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13598 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13599 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13600 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13601 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13602 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13603 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13604 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13605 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13606 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13607 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13608 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13609 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13610 * sysvipc/sys/ipc.h: Likewise.
13611 * sysvipc/sys/msg.h: Likewise.
13612 * sysvipc/sys/sem.h: Likewise.
13613 * sysvipc/sys/shm.h: Likewise.
13614 * termios/termios.h: Likewise.
13615 * time/sys/time.h: Likewise.
13616 * time/time.h: Likewise.
13617 * wcsmbs/bits/wchar2.h: Likewise.
13618 * wcsmbs/uchar.h: Likewise.
13619 * wcsmbs/wchar.h: Likewise.
13620 * wctype/wctype.h: Likewise.
13621
0269750c
UD
13622 [BZ #13551]
13623 * Makeconfig: Remove all but ELF support including AIX support.
13624 * Makerules: Likewise.
13625 * config.h.in: Likewise.
13626 * config.make.in: Likewise.
13627 * configure: Likewise.
13628 * configure.in: Likewise.
13629 * csu/Makefile: Likewise.
13630 * csu/version.c: Likewise.
13631 * debug/Makefile: Likewise.
13632 * dlfcn/Makefile: Likewise.
13633 * elf/Makefile: Likewise.
13634 * extra-lib.mk: Likewise.
13635 * iconv/Makefile: Likewise.
13636 * include/libc-symbols.h: Likewise.
13637 * include/shlib-compat.h: Likewise.
13638 * resolv/Makefile: Likewise.
13639 * resolv/res_libc.c: Likewise.
13640 * rt/Makefile: Likewise.
13641 * sysdeps/i386/asm-syntax.h: Likewise.
13642 * sysdeps/i386/sysdep.h: Likewise.
13643 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13644 * sysdeps/mach/sysdep.h: Likewise.
13645 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13646 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13647 * sysdeps/s390/asm-syntax.h: Likewise.
13648 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13649 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13650 * sysdeps/sh/sysdep.h: Likewise.
13651 * sysdeps/unix/sparc/sysdep.h: Likewise.
13652 * sysdeps/wordsize-32/divdi3.c: Likewise.
13653 * sysdeps/x86_64/sysdep.h: Likewise.
13654
00bbd29b
UD
13655 * argp/Versions: Remove _argp_unlock_xxx.
13656
13657 [BZ #13559]
13658 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13659 * abilist/libBrokenLocale.abilist: Likewise.
13660 * abilist/libanl.abilist: Likewise.
13661 * abilist/libc.abilist: Likewise.
13662 * abilist/libcrypt.abilist: Likewise.
13663 * abilist/libdl.abilist: Likewise.
13664 * abilist/libm.abilist: Likewise.
13665 * abilist/libnsl.abilist: Likewise.
13666 * abilist/libpthread.abilist: Likewise.
13667 * abilist/libresolv.abilist: Likewise.
13668 * abilist/librt.abilist: Likewise.
13669 * abilist/libthread_db.abilist: Likewise.
13670 * abilist/libutil.abilist: Likewise.
13671 * abilist/libnss_db.abilist: New file.
13672
13673 * scripts/abilist.awk: Add support for indirect functions.
13674
a2693a0e
UD
13675 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13676
3f05895f
UD
13677 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13678
ecb6fb48
UD
13679 * shlib-versions: Remove entries for ports architectures.
13680
664f8cb9
UD
13681 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13682 files in ports.
13683 * elf/stackguard-macros.h: Remove support for IA-64.
13684 * elf/tst-auditmod1.c: Likewise.
13685 * sysdeps/generic/ldsodefs.h: Likewise.
13686
7ae81d88
UD
13687 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13688 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13689 configure files.
13690
bdeba135
UD
13691 [BZ #13552]
13692 * configure.in: Remove --enable-omitfp support.
13693 * FAQ.in: Adjust.
13694 * config.make.in: Likewise.
13695 * Makeconfig: Likewise.
13696 * manual/install.texi: Likewise.
13697
d75a0a62
UD
13698 In case anyone cares, the IA-64 architecture could move to ports.
13699 * sysdeps/ia64/*: Removed.
13700 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13701 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13702
dcc9756b
UD
13703 [BZ #13555]
13704 * configure.in: Remove entries for unsupported architectures.
13705
d3761ebc 13706 [BZ #13533]
9954432e
UD
13707 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13708 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13709 routines.
13710 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13711 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13712 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13713 fall back to using wcrtomb.
13714 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13715 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13716 renaming.
13717 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13718 * wcsmbs/tst-c16c32-1.c: New file.
13719
13720 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13721 local variable.
13722
c3a87236
UD
13723 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13724
28926a1b
UD
13725 * elf/tst-unique3.cc: Add explicit declaration of gets.
13726 * elf/tst-unique3lib.cc: Likewise.
13727 * elf/tst-unique3lib2.cc: Likewise.
13728 * elf/tst-unique4.cc: Likewise.
13729
df78418a
UD
13730 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13731
8ecd6b2a
JM
137322012-01-06 Joseph Myers <joseph@codesourcery.com>
13733
13734 [BZ #13566]
13735 * assert/assert.h (static_assert): Don't define for C++.
13736 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13737 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13738
9f115170
UD
137392012-01-03 Ulrich Drepper <drepper@gmail.com>
13740
5e0d0300
UD
13741 * iconv/loop.c (single loop): Fix assertion in storing of
13742 remaining bytes.
13743
9f115170
UD
13744 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13745
81fb02b0
UD
137462012-01-01 Ulrich Drepper <drepper@gmail.com>
13747
13748 * posix/getconf.c: Update copyright year.
13749 * nss/getent.c: Likewise.
a316c1f6 13750 * nss/makedb.c: Likewise.
81fb02b0
UD
13751 * iconv/iconvconfig.c: Likewise.
13752 * iconv/iconv_prog.c: Likewise.
13753 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13754 * elf/pldd.c: Likewise.
13755 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13756 * catgets/gencat.c: Likewise.
13757 * csu/version.c: Likewise.
13758 * elf/ldd.bash.in: Likewise.
13759 * elf/sprof.c (print_version): Likewise.
13760 * locale/programs/locale.c: Likewise.
13761 * locale/programs/localedef.c: Likewise.
a316c1f6 13762 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13763 * nscd/nscd.c (print_version): Likewise.
13764 * debug/xtrace.sh: Likewise.
13765 * malloc/memusage.sh: Likewise.
13766 * malloc/mtrace.pl: Likewise.
13767 * debug/catchsegv.sh: Likewise.
13768
2ba92745
JJ
137692011-12-30 Jakub Jelinek <jakub@redhat.com>
13770
13771 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13772 pure attribute.
13773
dadebdae
UD
137742011-12-24 Ulrich Drepper <drepper@gmail.com>
13775
d3761ebc 13776 [BZ #13533]
db6af3eb
UD
13777 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13778 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13779 transformations.
13780 * iconv/gconv_int.h: Likewise.
13781 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13782 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13783 from libc for GLIBC_2.16.
13784 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13785 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13786 * wcsmbs/uchar.h: Really define mbstate_t.
13787 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13788 * wcsmbs/c16rtomb.c: New file.
13789 * wcsmbs/mbrtoc16.c: New file.
13790 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13791 for C/POSIX locale.
13792 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13793 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13794
dadebdae
UD
13795 * wcsmbs/wchar.h: Add missing __restrict.
13796
67371b56
UD
137972011-12-23 Ulrich Drepper <drepper@gmail.com>
13798
74033a25
UD
13799 [BZ #13532]
13800 * time/Makefile (routines): Add timespec_get.
13801 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13802 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13803 timespec for ISO C11.
13804 * time/timespec_get.c: New file.
13805 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13806 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13807
380d7e87
UD
13808 [BZ #13531]
13809 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13810 * stdlib/stdlib.h: Declare aligned_alloc.
13811 * Versions.def: Add GLIBC_2.16 for libc.
13812 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13813
4e9e7a35
UD
13814 [BZ 13527]
13815 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13816 ISO C11.
13817
380d7e87 13818 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13819 code.
13820
03a71829
UD
13821 [BZ #13528]
13822 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13823
839e283e
UD
13824 [BZ #13529]
13825 * assert/assert.h (static_assert): Define.
13826
ce5294e2 13827 * version.h: Update for 2.16 development version.
90fa7312 13828
8d44e150 13829 [BZ #13526]
d7809905
UD
13830 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13831 _ISOC11_SOURCE.
13832
c0da14cd
UD
13833 * version.h (RELEASE): Bump for 2.15 release.
13834 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13835
530a3249
MP
13836 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13837 Patch by Marek Polacek <mpolacek@redhat.com>.
13838
67371b56
UD
13839 * bits/byteswap.h: Protect long long constants with __extension__.
13840 * sysdeps/i386/bits/byteswap.h: Likewise.
13841 * sysdeps/ia64/bits/byteswap.h: Likewise.
13842 * sysdeps/s390/bits/byteswap.h: Likewise.
13843 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13844
15db4de1
LD
138452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13846
13847 [BZ #13540]
bbe315ea
LD
13848 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13849 destination buffer.
15db4de1
LD
13850 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13851
2b2596b1
MP
138522011-12-23 Marek Polacek <polacek@redhat.com>
13853
13854 * elf/dl-addr.c (determine_info): Add inline keyword.
13855 * elf/tst-auditmod4b.c (check_avx): Likewise.
13856 * elf/tst-auditmod6b.c (check_avx): Likewise.
13857 * elf/tst-auditmod6c.c (check_avx): Likewise.
13858 * elf/tst-auditmod7b.c (check_avx): Likewise.
13859
70c6c246
UD
138602011-12-23 Ulrich Drepper <drepper@gmail.com>
13861
13862 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13863 !__SSE_MATH__.
13864
c044cf14
LD
138652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13866
15db4de1 13867 [BZ #13540]
c044cf14
LD
13868 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13869 processing for last bytes.
13870
6b13d9d9
BH
138712011-08-06 Bruno Haible <bruno@clisp.org>
13872
d455f537
BH
13873 [BZ #13061]
13874 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13875 U+0385, not to U+1FEE.
13876
6b13d9d9
BH
13877 [BZ #13062]
13878 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13879 entry for U+00A5 U+0301.
13880
db910efd
UD
138812011-12-22 Ulrich Drepper <drepper@gmail.com>
13882
27deeafc
UD
13883 [BZ #13166]
13884 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13885 buffer for the output is too small.
13886
aed9d171
UD
13887 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13888 optimization.
13889
db910efd
UD
13890 [BZ #13185]
13891 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13892 SSE flags if possible.
13893
2bd779ae
LD
138942011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13895
e7f9dac3 13896 [BZ #13540]
2bd779ae
LD
13897 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13898 processing for last bytes.
13899
154bfc16
JM
139002011-12-22 Joseph Myers <joseph@codesourcery.com>
13901
13902 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13903 (syscall-list-default-options, syscall-list-default-condition)
13904 (syscall-list-includes): Define.
13905 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13906 list of ABIs and options and #if conditions for each ABI. Do not
13907 handle common syscalls between ABIs specially.
13908 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13909 Remove.
13910 (syscall-list-variants, syscall-list-32bit-options)
13911 (syscall-list-32bit-condition, syscall-list-64bit-options)
13912 (syscall-list-64bit-condition): Define.
13913 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13914 (syscall-list-variants, syscall-list-32bit-options)
13915 (syscall-list-32bit-condition, syscall-list-64bit-options)
13916 (syscall-list-64bit-condition): Define.
13917 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13918 Remove.
13919 (syscall-list-variants, syscall-list-32bit-options)
13920 (syscall-list-32bit-condition, syscall-list-64bit-options)
13921 (syscall-list-64bit-condition): Define.
13922 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13923 Remove.
13924 (syscall-list-variants, syscall-list-32bit-options)
13925 (syscall-list-32bit-condition, syscall-list-64bit-options)
13926 (syscall-list-64bit-condition): Define.
13927
21eaf3a5
UD
139282011-12-22 Ulrich Drepper <drepper@gmail.com>
13929
16c6f992
UD
13930 * locale/iso-639.def: Add brx entry.
13931
41043168
UD
13932 [BZ #13328]
13933 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13934 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13935
21eaf3a5
UD
13936 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13937 __feraiseexcept_renamed.
13938
e3a851a2
UD
139392011-12-21 Ulrich Drepper <drepper@gmail.com>
13940
4920765e
UD
13941 [BZ #13538]
13942 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13943 EPOLLET with unsigned values.
13944 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13945 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13946
e3a851a2
UD
13947 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13948 to large cancellation.
13949 * math/s_cacoshf.c: Likewise.
13950 * math/s_cacoshl.c: Likewise.
13951
b27e24b8
RK
139522011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13953
13954 [BZ #13305]
aebefeee 13955 [BZ #12786]
b27e24b8
RK
13956 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13957 * math/s_cacoshf.c: Likewise.
13958 * math/s_cacoshl.c: Likewise.
13959
ee190f67
UD
139602011-12-21 Ulrich Drepper <drepper@gmail.com>
13961
13962 [BZ #13439]
13963 * iconv/gconv.h: Define __GCONV_SWAP.
13964 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13965 * iconvdata/utf-16.c: Likewise.
13966 * iconvdata/utf-32.c: Likewise.
13967
707f25df
AS
139682011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13969
13970 [BZ #13524]
13971 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13972 numerator after shifting it by one limb.
13973
d2daaa1e
RÁE
139742011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13975
13976 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13977 under [__USE_EXTERN_INLINES].
13978
a4647e72
UD
139792011-12-17 Ulrich Drepper <drepper@gmail.com>
13980
13981 [BZ #13446]
13982 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13983
f0b264f1
AZ
139842011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13985
13986 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13987 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13988 optimized code.
13989 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13990 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13991 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13992 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13993 for strncasecmp/strncasecmp_l compilation.
13994 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13995 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13996
8ef4f244
MP
139972011-12-08 Marek Polacek <mpolacek@redhat.com>
13998
13999 [BZ #13484]
14000 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14001 of __asm__.
14002
97ac2654
UD
140032011-12-17 Ulrich Drepper <drepper@gmail.com>
14004
14005 [BZ #13506]
14006 * time/tzfile.c (__tzfile_read): Check values from file header.
14007
91d2a845
WS
140082011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14009
14010 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14011 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14012 * powerpc/powerpc32/dl-start.S: Likewise.
14013 * powerpc/powerpc32/elf/start.S: Likewise.
14014 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14015 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14016 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14017 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14018 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14019 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14020 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14021 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14022 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14023 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14024 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14025 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14026 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14027 * powerpc/powerpc32/memset.S: Likewise.
14028 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14029 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14030 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14031 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14032 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14033 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14034 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14035 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14036 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14037 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14038 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14039 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14040 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14041
a1267ba1
AZ
140422011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14043
14044 * math/libm-test.inc: Added more nearbyint tests.
14045 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14046 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14047 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14048 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14049
ad8ac1bd
RL
140502011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14051
14052 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14053 FD_CLOEXEC.
14054
1d3e4b61
UD
140552011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14056
14057 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14058 Add wcscpy-ssse3 wcscpy-c.
14059 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14060 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14061 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14062 * sysdeps/x86_64/wcschr.S: New file.
14063 * sysdeps/x86_64/wcsrchr.S: New file.
14064 * string/test-strcmp.c: Remove checking of wcscmp function for
14065 wrong alignments.
14066 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14067 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14068 wcsrchr-sse2 wcsrchr-c.
14069 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14070 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14071 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14072 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14073 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14074 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14075 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14076 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14077 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14078 * wcsmbc/wcschr.c (WCSCHR): New macro.
14079
5b330a2d
UD
140802011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14081
14082 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14083 * wcsmbs/test-wcsrchr.c: New file.
14084 * string/test-strrchr.c: Add wcsrchr support.
14085 (WIDE): New macro.
14086 * wcsmbs/test-wcscpy.c: New file.
14087 * string/test-strcpy.c: Add wcscpy support.
14088 (WIDE): New macro.
26428b7c 14089
f039c043
UD
140902011-12-10 Ulrich Drepper <drepper@gmail.com>
14091
14092 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14093 the inner loop.
14094
850fb039
AS
140952011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14096
14097 [BZ #13472]
14098 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14099
4efbd5cb
UD
141002011-12-04 Ulrich Drepper <drepper@gmail.com>
14101
52ff5dd0 14102 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14103 Minor optimizations.
52ff5dd0 14104
4efbd5cb
UD
14105 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14106 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14107 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14108
8a426e12
UD
141092011-12-03 Ulrich Drepper <drepper@gmail.com>
14110
aff2453d
UD
14111 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14112 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14113 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14114 for gcc to avoid warnings.
14115 * inet/Makefile (tests): Add tst-checks.
14116 * inet/tst-checks.c: New file.
14117
14118 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14119 warning.
14120
14121 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14122 __wmemcmp_sse2.
14123
14124 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14125 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14126
8a426e12
UD
14127 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14128
9bea3473
UD
141292011-12-02 Ulrich Drepper <drepper@gmail.com>
14130
3a965496
UD
14131 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14132 problem.
14133
9bea3473
UD
14134 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14135
f101631b
UD
141362011-11-29 Joseph Myers <joseph@codesourcery.com>
14137
14138 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14139 conditional on GCC version.
14140 (__arch_compare_and_exchange_val_8_acq)
14141 (__arch_compare_and_exchange_val_16_acq)
14142 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14143 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14144 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14145
a98275aa
UD
141462011-12-02 Joseph Myers <joseph@codesourcery.com>
14147
14148 * sysdeps/sh/backtrace.c: New file.
14149
d4cc29a2
AS
141502011-12-02 Andreas Schwab <schwab@redhat.com>
14151
14152 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14153 parenthesis.
14154
6257af2d
AS
141552011-12-01 Andreas Schwab <schwab@redhat.com>
14156
14157 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14158 falling back to utime.
14159
b5f44c1a
AS
141602011-11-30 Andreas Schwab <schwab@redhat.com>
14161
14162 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14163 expectations for float.
14164
f3a6cc0a
AS
141652011-11-29 Andreas Schwab <schwab@redhat.com>
14166
14167 * locale/weight.h (findidx): Add parameter len.
14168 * locale/weightwc.h (findidx): Likewise.
14169 * posix/fnmatch_loop.c (FCT): Adjust caller.
14170 * posix/regcomp.c (build_equiv_class): Likewise.
14171 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14172 * posix/regexec.c (check_node_accept_bytes): Likewise.
14173 * string/strcoll_l.c (STRCOLL): Likewise.
14174 * string/strxfrm_l.c (STRXFRM): Likewise.
14175
9d65ea3a
UD
141762011-11-17 Ulrich Drepper <drepper@gmail.com>
14177
14178 * Makefile.in: Remove CVSOPT handling.
14179 * configure.in: Remove use of AC_REVISION.
14180 * iconvdata/Makefile (distribute): No need to filter out CVS.
14181 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14182 handling.
14183
5583a086
AS
141842011-11-16 Andreas Schwab <schwab@redhat.com>
14185
14186 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14187 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14188 [USE_AS_STRNCASECMP_L]: Likewise.
14189 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14190 NO_TLS_DIRECT_SEG_REFS.
14191 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14192 Fix argument offsets for non-PIC.
14193 [USE_AS_STRNCASECMP_L]: Likewise.
14194 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14195 NO_TLS_DIRECT_SEG_REFS.
14196
d62a8200
UD
141972011-11-15 Ulrich Drepper <drepper@gmail.com>
14198
9d65ea3a 14199 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14200 O_CLOEXEC.
14201 * locale/loadlocale.c (_nl_load_locale): Likewise.
14202
09f93bd3
AS
142032011-11-15 Andreas Schwab <schwab@redhat.com>
14204
446514f9
AS
14205 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14206 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14207 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14208 (SYSCALL_GETTIME): Set errno on error.
14209
09f93bd3
AS
14210 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14211 count references to noai6ai_cached.
14212
312be3f9
UD
142132011-11-15 Ulrich Drepper <drepper@gmail.com>
14214
14215 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14216
14217 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14218 FD_CLOEXEC for /proc/self/maps.
14219
14220 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14221 FD_CLOEXEC for /proc/meminfo.
14222
14223 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14224 gai.conf.
14225
14226 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14227 FD_CLOEXEC for given file.
14228
14229 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14230
14231 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14232 FD_CLOEXEC for /etc/hosts.
14233 (_gethtent): Likewise.
14234
14235 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14236
14237 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14238 cancellation and set FD_CLOEXEC for /etc/netgroup.
14239
14240 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14241 reading /etc/publickey.
14242
14243 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14244 allow cancellation when reading /etc/group.
14245
14246 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14247 cancellation.
14248 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14249
14250 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14251 when using data file.
14252
14253 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14254
14255 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14256 (write_nis_obj): Use "c" and "e" in fopen.
14257
14258 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14259
14260 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14261
14262 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14263
14264 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14265
14266 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14267 locale.alias.
14268
14269 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14270
14271 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14272
14273 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14274
14275 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14276 file parsing and set FD_CLOEXEC.
14277
82af0fa8
UD
142782011-11-14 Ulrich Drepper <drepper@gmail.com>
14279
14280 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14281
a5fb313c
AS
142822011-11-14 Andreas Schwab <schwab@redhat.com>
14283
14284 * malloc/arena.c (arena_get2): Don't call reused_arena when
14285 _int_new_arena failed.
14286
6abf3465
UD
142872011-11-14 Ulrich Drepper <drepper@gmail.com>
14288
14289 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14290 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14291 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14292 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14293 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14294 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14295 to compile strcasecmp and strncasecmp.
14296 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14297 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14298
14299 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14300
76e3966e
UD
143012011-11-13 Ulrich Drepper <drepper@gmail.com>
14302
14303 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14304 locale-defines.sym to gen-as-const-headers.
14305 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14306 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14307 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14308 to compile strcasecmp and strncasecmp.
14309 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14310 strcasecmp_l and strncasecmp_l.
14311 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14312 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14313 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14314 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14315 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14316 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14317 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14318 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14319 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14320 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14321 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14322
ab26144e
UD
143232011-11-12 Ulrich Drepper <drepper@gmail.com>
14324
7edb22ef
UD
14325 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14326 result of SYSDEP_GETTIME_CPU to retval.
14327 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14328 parameter list to macro. Remove trailing semicolon. Adjust users.
14329
9694fc44
UD
14330 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14331 variable.
14332
8ad89ef8
UD
14333 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14334 mantissa words.
14335 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14336
0c822ef9
UD
14337 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14338 from unused variable.
14339
874e0564
UD
14340 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14341 DWARF definitions.
14342 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14343 for assembling.
14344
3a2edc79
UD
14345 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14346 over namespaces.
14347
f3c2577f
UD
14348 * sunrpc/rpc_prot.c (rejected): Fix case value.
14349
294ce126
UD
14350 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14351 unsigned long long int to avoid warnings in shift.
14352
5e2b63c6
UD
14353 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14354 of use of trans.
14355 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14356 variable tmp.
14357
e7f4b08e
UD
14358 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14359 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14360 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14361
ab26144e
UD
14362 * nis/nis_table.c (nis_list): Use variable of correct type for
14363 result of __follow_path call.
14364
8a6d5255
AZ
143652011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14366
14367 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14368 of math functions ceil, trunc, floor, round, and sqrt, when
14369 avaliable on the platform.
14370 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14371 name clash.
14372 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14373 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14374 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14375
aaddc98c
MP
143762011-10-30 Marek Polacek <mpolacek@redhat.com>
14377
14378 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14379 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14380
95b7042b
RM
143812011-11-11 Roland McGrath <roland@hack.frob.com>
14382
14383 * include/unistd.h: Fix __readlink return type.
14384 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14385
57769839
UD
143862011-11-11 Ulrich Drepper <drepper@gmail.com>
14387
14388 * stdlib/ucontext.h: Undo last change for makecontext.
14389
edc5984d
AS
143902011-11-11 Andreas Schwab <schwab@redhat.com>
14391
98591e58
AS
14392 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14393
edc5984d
AS
14394 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14395 * setjmp/setjmp.h: Mark functions as non-leaf.
14396 * setjmp/bits/setjmp2.h: Likewise.
14397 * stdlib/ucontext.h: Likewise.
14398
77cdc054
AS
143992011-11-10 Andreas Schwab <schwab@redhat.com>
14400
14401 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14402 (reused_arena): Don't check arena limit.
14403 (arena_get2): Atomically check arena limit.
14404
fe72eebd
UD
144052011-11-08 Ulrich Drepper <drepper@gmail.com>
14406
5f078c32
UD
14407 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14408 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14409
fe72eebd
UD
14410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14411 instructions.
14412
ae1bc2fa
AS
144132011-11-07 Andreas Schwab <schwab@redhat.com>
14414
7583a88d
AS
14415 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14416 handler when locking.
14417
ae1bc2fa
AS
14418 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14419 Fix size of allocated buffer.
14420
10fb0bfa
AS
144212011-11-04 Andreas Schwab <schwab@redhat.com>
14422
998832a4
AS
14423 [BZ #10103]
14424 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14425 declarations for long double functions.
14426 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14427
10fb0bfa
AS
14428 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14429
3d7ba52b
AS
144302011-11-03 Andreas Schwab <schwab@redhat.com>
14431
a9ae54a1
AS
14432 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14433 installed.
14434
3d7ba52b
AS
14435 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14436 is disabled.
14437
bc8db248
ST
144382011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14439
14440 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14441
45b96dd6
AS
144422011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14443
647776f6
AS
14444 * include/alloca.h (stackinfo_alloca_round): Define.
14445 (extend_alloca): Use it.
14446 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14447 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14448 here.
14449
d91a8b93
AS
14450 * scripts/check-local-headers.sh: Ignore libaudit.h.
14451
45b96dd6
AS
14452 * nscd/Makefile (extra-objs): Make recursively expanded.
14453
432d41ce
UD
144542011-11-01 Ulrich Drepper <drepper@gmail.com>
14455
34372fc6
UD
14456 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14457 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14458
fadb59f8
UD
14459 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14460 * posix/tst-rfc3484-2.c: Likewise.
14461 * posix/tst-rfc3484-3.c: Likewise.
14462
78239589
UD
14463 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14464 process_vm_writev.
14465 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14466 process_vm_writev.
14467 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14468 process_vm_writev from libc using GLIBC_2.15 version.
14469
432d41ce
UD
14470 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14471
02f9c6cf
PP
144722011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14473
14474 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14475 stack usage.
14476
3a2c0242
UD
144772011-10-31 Ulrich Drepper <drepper@gmail.com>
14478
f4ec4833
UD
14479 [BZ #13367]
14480 * nss/getent.c (initgroups_keys): Show error message in case no group
14481 names are given.
14482
3a2c0242
UD
14483 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14484 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14485 __bump_nl_timestamp.
14486 * nscd/connections (nscd_init): When host database is served open
14487 netlink socket and request notification about configuration changes.
14488 (main_loop_poll): Track netlink file descriptor and bump timestamp
14489 in case data becomes available.
14490 (main_loop_epoll): Likewise.
14491 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14492 (database_pers_head): Add extra_data fileds.
14493 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14494 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14495 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14496 Adjust caller.
14497 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14498 in6ai data, call __free_in6ai.
14499 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14500 Add -DHAVE_NETLINK.
14501 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14502 interface information. Reuse previous data if netlink timestamp
14503 is not changed.
14504 (__bump_nl_timestamp): New function.
14505 (__free_in6ai): New function.
14506
636064eb
UD
145072011-10-30 Ulrich Drepper <drepper@gmail.com>
14508
14509 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14510 close_not_cancel_no_status here.
14511 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14512
9beb2334
UD
145132011-10-29 Ulrich Drepper <drepper@gmail.com>
14514
6ef76f3b
UD
14515 [BZ #13276]
14516 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14517 return value.
14518
0ffc4f3e 14519 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14520 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14521 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14522
cb95113e
UD
145232011-07-03 Andreas Jaeger <aj@suse.de>
14524
14525 [BZ #10709]
14526 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14527 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14528 * math/libm-test.inc (sin_test): Add test case.
14529
a1b560ff
UD
145302011-10-29 Ulrich Drepper <drepper@gmail.com>
14531
c9aaface
UD
14532 [BZ #13337]
14533 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14534 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14535
d272e7f1
UD
14536 * elf/chroot_canon.c (chroot_canon): Cleanups.
14537
1bc33071
UD
14538 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14539
1760874d
TJ
14540 [BZ #13335]
14541 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14542 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14543
51d91b18
UD
14544 * string/test-strchr.c: Make usable for strchrnul testing.
14545 * string/test-strchrnul.c: New file.
14546 * string/Makefile (strop-tests): Add strchrnul.
14547
a1b560ff 14548 * po/it.po: Update from translation team.
b611fb81 14549 * po/es.po: Likewise.
a1b560ff 14550
a5b81e1f
UD
145512011-10-28 Ulrich Drepper <drepper@gmail.com>
14552
fd52bc6d
UD
14553 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14554 the three constants needed as parameters. Drop the others.
14555 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14556 __m128i_strloadu_tolower.
52e4b9eb
UD
14557 Create and initialize variable zero and use it in all the places
14558 where _mm_setzero_si128 was used.
fd52bc6d 14559
a5b81e1f
UD
14560 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14561 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14562 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14563 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14564 anymore.
14565 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14566 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14567 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14568 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14569 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14570 __mpranred, __mptan.
14571 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14572 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14573 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14574 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14575 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14576 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14577 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14578 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14579 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14580
b4343346
AS
145812011-10-28 Andreas Schwab <schwab@redhat.com>
14582
0c92d8a8
AS
14583 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14584 redefine if SHARED.
14585 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14586
b4343346
AS
14587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14588 wide char related routines to wcsmbs subdir.
14589
3871f58f
AS
145902011-10-27 Andreas Schwab <schwab@redhat.com>
14591
14592 [BZ #13344]
14593 * misc/sys/cdefs.h (__THROWNL): Define.
14594 * posix/unistd.h: Use __THREADNL instead of __THREAD
14595 for memory synchronization functions.
14596
94d44d9f
RM
145972011-10-26 Roland McGrath <roland@hack.frob.com>
14598
21b64b15 14599 [BZ #13349]
94d44d9f
RM
14600 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14601 doesn't exist.
14602 * manual/stdio.texi (Obstack Streams): Node removed.
14603
f6ce9294
AS
146042011-10-26 Andreas Schwab <schwab@redhat.com>
14605
80479147
AS
14606 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14607 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14608 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14609
f6ce9294
AS
14610 * math/math_private.h (math_force_eval): Allow non-addressable
14611 arguments.
14612 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14613
618280a1
UD
146142011-10-25 Ulrich Drepper <drepper@gmail.com>
14615
e0016b11
UD
14616 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14617 file is not needed.
14618
14619 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14620 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14621 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14622 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14623 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14624 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14625 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14626 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14627 Add AVX variants.
14628 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14629 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14630 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14631 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14632 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14633 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14634 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14635 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14636 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14637 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14638 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14639 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14640 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14641 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14642 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14643 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14644 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14645 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14646 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14647
14648 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14649 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14650
618280a1
UD
14651 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14652 place. Use VEX encoding when compiling for AVX.
14653
37822576
AS
146542011-10-25 Andreas Schwab <schwab@redhat.com>
14655
1f1e1947
AS
14656 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14657 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14658
37822576
AS
14659 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14660
31ea014d
UD
146612011-10-25 Ulrich Drepper <drepper@gmail.com>
14662
d7826aa1 14663 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14664 useless if() expression.
d7826aa1
UD
14665 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14666 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14667 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14668 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14669 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14670 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14671 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14672 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14673 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14674 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14675 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14676 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14677 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14678 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14679 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14680 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14681 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14683 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14684
31ea014d
UD
14685 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14686
16437fec
AS
146872011-10-25 Andreas Schwab <schwab@redhat.com>
14688
14689 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14690 condition.
14691 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14692
31d3cc00
UD
146932011-10-25 Ulrich Drepper <drepper@gmail.com>
14694
14695 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14696 .text section. Avoid duplicate constants.
14697 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14701 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14705 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14706 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14707 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14708 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14709 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14710 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14711 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14712 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14714 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14715 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14716 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14717 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14718 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14719 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14720 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14721 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14722 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14723 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14724 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14725 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14726 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14727 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14728 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14729 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14730 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14731 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14732 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14733 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14734 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14735 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14736 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14737 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14738 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14739 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14740 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14741 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14742
58985aa9
UD
147432011-10-24 Ulrich Drepper <drepper@gmail.com>
14744
202c9deb
UD
14745 * sysdeps/x86_64/dla.h: Move to ...
14746 * sysdeps/x86_64/fpu/dla.h: ...here.
14747 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14748 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14749
af968f62
UD
14750 * config.make.in: Add have-mfma4 entry.
14751 * configure.in: Substitute libc_cv_cc_fma4.
14752 * math/Makefile (dbl-only-routines): Add sincostab.
14753 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14754 Use __sincostab not sincos.
14755 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14756 name is a macro.
14757 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14758 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14759 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14760 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14761 using __copysign.
14762 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14763 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14764 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14765 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14766 and __inv.
14767 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14768 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14769 __copysign.
14770 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14771 define aliases when function name is a macro.
14772 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14773 sysdeps/ieee754/dbl-64/sincos.tbl.
14774 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14775 fma4-enabled routines.
14776 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14777 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14778 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14779 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14780 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14781 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14782 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14783 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14784 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14785 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14786 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14787 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14788 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14789 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14790 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14791 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14792 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14793 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14794 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14795 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14796 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14797 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14798 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14799 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14800 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14801 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14802 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14803 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14804 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14805 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14806
58985aa9
UD
14807 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14808 rename.
14809 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14817
a201fbcf
AS
148182011-10-24 Andreas Schwab <schwab@redhat.com>
14819
14820 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14821
fc2ee42a
LD
148222011-10-23 Ulrich Drepper <drepper@gmail.com>
14823
bb3129bd
UD
14824 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14825
0275fff8
UD
14826 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14827 prediction.
14828 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14829
2fa2ae85
UD
14830 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14831 Remove unused variable magic_bits.
14832 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14833
fc2ee42a
LD
14834 * string/strnlen.c: Define and use STRNLEN macro.
14835 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14836 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14837 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14838 * wcsmbs/wcslen.c: Define and use WCSLEN.
14839 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14840 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14841 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14842 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14843 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14844 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14845 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14846
ce7dd29f
LD
148472011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14848
14849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14850 strnlen-sse2-no-bsf.
14851 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14852 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14853 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14854 Add strnlen support.
14855 (USE_AS_STRNLEN): New macro.
14856 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14857 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14858 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14859 * sysdeps/x86_64/wcslen.S: New file.
14860
979c70a3
MZ
148612011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14862
14863 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14864 XMM-moves are used for copying on small sizes.
14865
2d09f82f
LD
148662011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14867
14868 * wcsmbs/Makefile (strop-tests): Add wcschr.
14869 * wcsmbs/test-wcschr.c: New file.
14870 * string/test-strchr.c: Update.
14871 Add wcschr support.
14872 (WIDE): New macro.
14873
619fccca
LD
148742011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14875
2d09f82f 14876 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14877 * wcsmbs/test-wcslen.c: New file.
14878 * string/test-strlen.c: Update.
14879 Add wcslen support.
14880 (WIDE): New macro.
14881
09f699ea
UD
148822011-10-23 Ulrich Drepper <drepper@gmail.com>
14883
14884 * po/it.po: Update from translation team.
14885
95584d3b
LD
148862011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14887
14888 * sysdeps/x86_64/wcscmp.S: Update.
14889 Fix wrong comparison semantics.
14890 wcscmp shall use signed comparison not unsigned.
14891 Don't use substraction to avoid overflow bug.
14892 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14893 * wcsmbc/wcscmp.c: Likewise.
14894 * string/test-strcmp.c: Likewise.
14895 Add new tests to check cases with negative values.
14896
c8b3296b
UD
148972011-10-23 Ulrich Drepper <drepper@gmail.com>
14898
14899 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14900 * sysdeps/x86_64/dla.h: ...here. New file.
14901 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14902 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14905 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14906 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14907 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14909 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14910
246ad57a
AS
149112011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14912
14913 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14914 __ynl_finite aliases.
14915
a1a87169
UD
149162011-10-22 Ulrich Drepper <drepper@gmail.com>
14917
0d355eb7
UD
14918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14919
a1a87169
UD
14920 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14921 define DLA_FMA.
14922 [DLA_FMA] (EMULV): Use DLA_FMA.
14923 [DLA_FMA] (MUL12): Use EMULV.
14924 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14925 that are not needed.
14926 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14927 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14928 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14929 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14930 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14931 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14932 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14933
ee2aafe0
AS
149342011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14935
14936 * math/s_nan.c: Undef __nan.
14937 * math/s_nanf.c: Undef __nanf.
14938 * math/s_nanl.c: Undef __nanl.
14939 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14940 "math_private.h".
14941
bc62c2fb
UD
149422011-10-22 Ulrich Drepper <drepper@gmail.com>
14943
77425c63
UD
14944 * math/s_catan.c: Add branch predictions.
14945 * math/s_catanf.c: Likewise.
14946 * math/s_catanh.c: Likewise.
14947 * math/s_catanhf.c: Likewise.
14948 * math/s_catanhl.c: Likewise.
14949 * math/s_catanl.c: Likewise.
14950 * math/s_cexp.c: Likewise.
14951 * math/s_cexpf.c: Likewise.
14952 * math/s_cexpl.c: Likewise.
14953 * math/s_clog.c: Likewise.
14954 * math/s_clog10.c: Likewise.
14955 * math/s_clog10f.c: Likewise.
14956 * math/s_clog10l.c: Likewise.
14957 * math/s_clogf.c: Likewise.
14958 * math/s_clogl.c: Likewise.
14959 * math/s_csqrt.c: Likewise.
14960 * math/s_csqrtf.c: Likewise.
14961 * math/s_csqrtl.c: Likewise.
14962 * math/s_ctanf.c: Likewise.
14963 * math/s_ctanh.c: Likewise.
14964 * math/s_ctanhf.c: Likewise.
14965 * math/s_ctanhl.c: Likewise.
14966 * math/s_ctanl.c: Likewise.
14967
bc62c2fb
UD
14968 * math/math_private.h: Define __nan, __nanf, __nanl.
14969 * math/s_cacosh.c: Include <math_private.h>.
14970 * math/s_cacoshl.c: Likewise.
14971 * math/s_casinh.c: Likewise.
14972 * math/s_casinhf.c: Likewise.
14973 * math/s_casinhl.c: Likewise.
14974 * math/s_ccos.c: Rely entire on ccosh.
14975 * math/s_ccosf.c: Rely entire on ccoshf.
14976 * math/s_ccosl.c: Rely entirely on ccoshl.
14977 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14978 Remove tests for FE_INVALID.
14979 * math/s_ccoshf.c: Likewise.
14980 * math/s_ccoshl.c: Likewise.
14981 * math/s_csin.c: Likewise.
14982 * math/s_csinf.c: Likewise.
14983 * math/s_csinh.c Likewise.
14984 * math/s_csinhf.c: Likewise.
14985 * math/s_csinhl.c: Likewise.
14986 * math/s_csinl.c: Likewise.
14987 * math/s_ctan.c: Likewise.
14988 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14989 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14990 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14991
8ec250a4
UD
149922011-10-21 Ulrich Drepper <drepper@gmail.com>
14993
c196fed8
UD
14994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14995 compilation problems.
14996
8ec250a4
UD
14997 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14998 __builtin_expect.
14999
8d4f46c6
UD
150002011-10-20 Ulrich Drepper <drepper@gmail.com>
15001
ed72b654
UD
15002 * sysdeps/i386/configure.in: Test for -mfma4 option.
15003 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15004 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15005 COMMON_CPUID_INDEX_80000001.
15006 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15007 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15008 use it if FMA3 is not supported.
15009 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15010
8d4f46c6
UD
15011 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15012 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15013
d45c60c2
AS
150142011-10-20 Andreas Schwab <schwab@redhat.com>
15015
15016 [BZ #12892]
15017 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15018 it would create a cycle with a link time dependency.
15019
d9a4d2ab
UD
150202011-10-19 Ulrich Drepper <drepper@gmail.com>
15021
855d1560
UD
15022 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15023 instruction.
15024 * string/Makefile (strop-tests): Add rawmemchr.
15025 * string/test-rawmemchr.c: New file.
15026
d9a4d2ab
UD
15027 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15028 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15029 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15030 when compiling str{,n}casecmp and when AVX is available. Hook up
15031 new optimized code in initializers.
15032
8f3b1ffe
AS
150332011-10-19 Andreas Schwab <schwab@redhat.com>
15034
15035 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15036 __feraiseexcept instead of feraiseexcept.
15037
d38f1dba
UD
150382011-10-18 Ulrich Drepper <drepper@gmail.com>
15039
d9a8d0ab
UD
15040 * math/math_private.h: Define defaults for libc_fetestexcept and
15041 libc_feupdateenv.
15042 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15043 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15044 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15045 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15046 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15047 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15048 libc_fetestexcept and libc_feupdateenv.
15049
4855e3dd
UD
15050 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15051 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15052 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15053 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15054 libc_feholdexcept_setround.
15055
581d30e3
UD
15056 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15057 Add s_nearbyint-c and s_nearbyintf-c.
15058 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15059 nearbyintf inlines.
15060 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15061 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15062 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15063 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15064
d38f1dba
UD
15065 * math/math_private.h: Define defaults for libc_fegetround,
15066 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15067 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15068 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15069 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15070 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15071 standard functions.
15072 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15073 Remove comments and hacks for old compiler versions.
15074 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15075 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15076 libc_feholdexceptl.
15077
caa6c9d8
AS
150782011-10-18 Andreas Schwab <schwab@redhat.com>
15079
15080 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15081 (__feraiseexcept_renamed): Add __NTH.
15082 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15083 namespace violations.
15084
97c066e6
UD
150852011-10-17 Ulrich Drepper <drepper@gmail.com>
15086
99ce7b04
UD
15087 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15088
1004d182
UD
15089 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15090
228a984d
UD
15091 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15092 recently added interfaces.
15093 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15094
c8553a6a
UD
15095 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15096 about macro parameter expansion.
15097
ed22dcf6
UD
15098 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15099 __NO_MATH_INLINES is defined. Cleanups.
15100
15101 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15102 and __floorf is target has SSE4.1.
15103 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15104 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15105 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15106 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15107
b171c137
UD
15108 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15109 name.
15110 (floorf): Likewise.
15111
97c066e6
UD
15112 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15113
629f62ef
AS
151142011-10-17 Andreas Schwab <schwab@redhat.com>
15115
49a43d80
AS
15116 * misc/sys/cdefs.h: Fix last change.
15117
629f62ef
AS
15118 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15119 database lookup.
15120
e453f6cd
UD
151212011-10-16 Ulrich Drepper <drepper@gmail.com>
15122
aa78043a
UD
15123 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15124
ad0f5cad
UD
15125 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15126 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15127 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15128 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15129 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15130 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15131 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15132 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15133 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15134 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15135 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15136 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15137 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15138 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15139 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15140 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15141 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15142 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15143 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15144 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15145 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15146 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15147
15148 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15149 ceil, ceilf, floor, floorf.
15150
15151 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15152 Perform IRELATIVE relocations last.
15153
e453f6cd
UD
15154 * elf/do-rel.h: Add another parameter nrelative, replacing the
15155 local variable with the same name. Change name of the function
15156 to end in Rel or Rela (uppercase).
15157 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15158 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15159 elf_dynamic_do_##reloc function.
15160
fd5bdc09
UD
151612011-10-15 Ulrich Drepper <drepper@gmail.com>
15162
79b195b5
UD
15163 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15164 is sufficient, at least on modern CPUs.
15165
d4a28569
UD
15166 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15167
b61099b5
UD
15168 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15169 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15170
bcf01e6d
UD
15171 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15172 __expl_finite.
15173 * math/bits/math-finite.h: Add entries for exp.
15174 * math/e_expl.c: Add __*_finite alias.
15175 * sysdeps/i386/fpu/e_exp.S: Likewise.
15176 * sysdeps/i386/fpu/e_expf.S: Likewise.
15177 * sysdeps/i386/fpu/e_expl.c: Likewise.
15178 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15179 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15180 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15181 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15182 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15183 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15184 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15185
ba1a0d59
UD
15186 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15187 is sufficient, at least on modern CPUs.
15188
fd5bdc09
UD
15189 * ctype/ctype-info.c (__ctype_init): Define.
15190 * include/ctype.h (__ctype_init): Declare.
15191 (__ctype_b_loc): The variable is always initialized.
15192 (__ctype_toupper_loc): Likewise.
15193 (__ctype_tolower_loc): Likewise.
15194 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15195 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15196
7872cfb0
AS
151972011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15198
b468825a
AS
15199 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15200
7872cfb0
AS
15201 * configure.in: Also look in $cxxmachine/include for C++ system
15202 headers.
15203
be13f7bf
LD
152042011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15205
15206 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15207 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15208 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15209 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15210 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15211 (USE_AS_WMEMCMP): New macro.
15212 Fixing indents.
15213 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15214 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15215 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15216 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15218 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15219 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15220 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15221 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15222 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15223 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15224 (USE_AS_WMEMCMP): New macro.
15225 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15226 * sysdeps/string/test-memcmp.c: Update.
15227 Fix simple_wmemcmp.
15228 Add new tests.
15229 * wcsmbs/wmemcmp.c: Update.
15230 (WMEMCMP): New macro.
15231 Fix overflow bug.
15232
556a2007
AJ
152332011-10-12 Andreas Jaeger <aj@suse.de>
15234
15235 [BZ #13268]
15236 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15237
538faaa7
UD
152382011-10-15 Ulrich Drepper <drepper@gmail.com>
15239
ab6737ff
UD
15240 * libio/iofwide.c (do_length): Avoid warning.
15241
538faaa7
UD
15242 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15243
396a21b1
UD
152442011-10-14 Ulrich Drepper <drepper@gmail.com>
15245
cdf2901f
UD
15246 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15247
38ad40ce
UD
15248 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15249 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15250 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15251 * sysdeps/i386/i686/fpu/e_log.S: New file.
15252 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15253 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15254
396a21b1
UD
15255 * ctype/ctype.h: Add support for inlined isXXX functions when
15256 compiling C++ code.
15257
6b1f68c9
AS
152582011-10-14 Andreas Schwab <schwab@redhat.com>
15259
349290c0
AS
15260 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15261
6b1f68c9
AS
15262 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15263
f2282d42
RM
152642011-10-13 Roland McGrath <roland@hack.frob.com>
15265
15266 [BZ #13291]
15267 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15268
5298ffa8
AS
152692011-10-13 Andreas Schwab <schwab@redhat.com>
15270
714fad23
AS
15271 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15272 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15273 feraiseexcept.
15274
81dcc7fb
AS
15275 * sysdeps/x86_64/memrchr.S: Check for zero size.
15276
5298ffa8
AS
15277 * string/stratcliff.c: Add memrchr tests.
15278
951fbcec
LD
152792011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15280
15281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15282 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15283 rawmemchr-sse2 rawmemchr-sse2-bsf.
15284 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15285 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15286 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15287 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15288 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15289 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15290 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15291 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15292 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15293 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15294 * string/memrchr.c (MEMRCHR): New macro.
15295
0ac5ae23
UD
152962011-10-12 Ulrich Drepper <drepper@gmail.com>
15297
15298 Add integration with gcc's -ffinite-math-only and optimize wrapper
15299 functions in libm.
15300 * Versions.def: Define GLIBC_2.15 version for libm.
15301 * math/Makefile (headers): Add bits/math-finite.h.
15302 * math/bits/math-finite.h: New file.
15303 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15304 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15305 * math/e_acoshl.c: Add __*_finite alias.
15306 * math/e_acosl.c: Likewise.
15307 * math/e_asinl.c: Likewise.
15308 * math/e_atan2l.c: Likewise.
15309 * math/e_atanhl.c: Likewise.
15310 * math/e_coshl.c: Likewise.
15311 * math/e_exp10.c: Likewise.
15312 * math/e_exp10f.c: Likewise.
15313 * math/e_exp10l.c: Likewise.
15314 * math/e_exp2l.c: Likewise.
15315 * math/e_fmodl.c: Likewise.
15316 * math/e_gammal_r.c: Likewise.
15317 * math/e_hypotl.c: Likewise.
15318 * math/e_j0l.c: Likewise.
15319 * math/e_j1l.c: Likewise.
15320 * math/e_jnl.c: Likewise.
15321 * math/e_lgammal_r.c: Likewise.
15322 * math/e_log10l.c: Likewise.
15323 * math/e_log2l.c: Likewise.
15324 * math/e_logl.c: Likewise.
15325 * math/e_powl.c: Likewise.
15326 * math/e_sinhl.c: Likewise.
15327 * math/e_sqrtl.c: Likewise.
15328 * math/e_scalb.c: Completely rewritten and optimized.
15329 * math/e_scalbf.c: Likewise.
15330 * math/e_scalbl.c: Likewise.
15331 * math/w_acos.c: Likewise.
15332 * math/w_acosf.c: Likewise.
15333 * math/w_acosl.c: Likewise.
15334 * math/w_acosh.c: Likewise.
15335 * math/w_acoshf.c: Likewise.
15336 * math/w_acoshl.c: Likewise.
15337 * math/w_asin.c: Likewise.
15338 * math/w_asinf.c: Likewise.
15339 * math/w_asinl.c: Likewise.
15340 * math/w_atan2.c: Likewise.
15341 * math/w_atan2f.c: Likewise.
15342 * math/w_atan2l.c: Likewise.
15343 * math/w_atanh.c: Likewise.
15344 * math/w_atanhf.c: Likewise.
15345 * math/w_atanhl.c: Likewise.
15346 * math/w_exp10.c: Likewise.
15347 * math/w_exp10f.c: Likewise.
15348 * math/w_exp10l.c: Likewise.
15349 * math/w_fmod.c: Likewise.
15350 * math/w_fmodf.c: Likewise.
15351 * math/w_fmodl.c: Likewise.
15352 * math/w_j0.c: Likewise.
15353 * math/w_j0f.c: Likewise.
15354 * math/w_j0l.c: Likewise.
15355 * math/w_j1.c: Likewise.
15356 * math/w_j1f.c: Likewise.
15357 * math/w_j1l.c: Likewise.
15358 * math/w_jn.c: Likewise.
15359 * math/w_jnf.c: Likewise.
15360 * math/w_log.c: Likewise.
15361 * math/w_logf.c: Likewise.
15362 * math/w_logl.c: Likewise.
15363 * math/w_log10.c: Likewise.
15364 * math/w_log10f.c: Likewise.
15365 * math/w_log10l.c: Likewise.
15366 * math/w_log2.c: Likewise.
15367 * math/w_log2f.c: Likewise.
15368 * math/w_log2l.c: Likewise.
15369 * math/w_pow.c: Likewise.
15370 * math/w_powf.c: Likewise.
15371 * math/w_powl.c: Likewise.
15372 * math/w_remainder.c: Likewise.
15373 * math/w_remainderf.c: Likewise.
15374 * math/w_remainderl.c: Likewise.
15375 * math/w_scalb.c: Likewise.
15376 * math/w_scalbf.c: Likewise.
15377 * math/w_scalbl.c: Likewise.
15378 * math/w_sqrt.c: Likewise.
15379 * math/w_sqrtf.c: Likewise.
15380 * math/w_sqrtl.c: Likewise.
15381 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15382 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15383 used.
15384 * math/math_private.h: Declare __kernel_standard_f.
15385 * math/w_cosh.c: Remove cruft and optimize a bit.
15386 * math/w_coshf.c: Likewise.
15387 * math/w_coshl.c: Likewise.
15388 * math/w_exp2.c: Likewise.
15389 * math/w_exp2f.c: Likewise.
15390 * math/w_exp2l.c: Likewise.
15391 * math/w_hypot.c: Likewise.
15392 * math/w_hypotf.c: Likewise.
15393 * math/w_hypotl.c: Likewise.
15394 * math/w_lgamma.c: Likewise.
15395 * math/w_lgamma_r.c: Likewise.
15396 * math/w_lgammaf.c: Likewise.
15397 * math/w_lgammaf_r.c: Likewise.
15398 * math/w_lgammal.c: Likewise.
15399 * math/w_lgammal_r.c: Likewise.
15400 * math/w_sinh.c: Likewise.
15401 * math/w_sinhf.c: Likewise.
15402 * math/w_sinhl.c: Likewise.
15403 * math/w_tgamma.c: Likewise.
15404 * math/w_tgammaf.c: Likewise.
15405 * math/w_tgammal.c: Likewise.
15406 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15407 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15408 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15409 Minor optimizations. Pretty printing. Remove cruft.
15410 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15411 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15412 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15413 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15414 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15415 * sysdeps/i386/fpu/e_asin.S: Likewise.
15416 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15417 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15418 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15419 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15420 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15421 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15422 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15423 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15424 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15425 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15426 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15427 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15428 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15429 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15430 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15431 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15432 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15433 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15434 * sysdeps/i386/fpu/e_log.S: Likewise.
15435 * sysdeps/i386/fpu/e_log10.S: Likewise.
15436 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15437 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15438 * sysdeps/i386/fpu/e_log2.S: Likewise.
15439 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15440 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15441 * sysdeps/i386/fpu/e_logf.S: Likewise.
15442 * sysdeps/i386/fpu/e_logl.S: Likewise.
15443 * sysdeps/i386/fpu/e_pow.S: Likewise.
15444 * sysdeps/i386/fpu/e_powf.S: Likewise.
15445 * sysdeps/i386/fpu/e_powl.S: Likewise.
15446 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15447 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15448 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15449 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15450 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15451 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15452 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15453 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15454 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15455 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15456 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15457 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15458 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15459 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15460 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15461 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15462 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15463 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15464 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15465 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15466 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15467 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15468 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15469 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15470 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15471 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15472 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15473 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15474 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15475 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15476 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15477 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15478 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15479 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15480 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15481 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15482 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15483 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15484 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15485 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15486 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15487 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15488 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15489 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15490 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15491 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15492 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15493 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15494 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15495 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15496 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15497 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15498 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15500 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15501 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15502 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15503 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15512 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15513 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15522 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15531 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15532 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15534 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15535 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15536 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15538 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15539 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15540 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15541 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15543 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15546 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15547 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15548 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15549 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15550 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15551 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15552 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15553 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15554 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15555 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15556 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15557 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15558 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15559 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15560 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15561 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15562 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15563 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15564 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15565 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15566 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15567 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15568 (__isnanf): Likewise.
15569 (__isinf_ns): Likewise.
15570 (__isinf_nsf): Likewise.
15571 (__finite): Likewise.
15572 (__finitef): Likewise.
15573 (__ieee754_sqrt): Define as macro.
15574 (__ieee754_sqrtf): Define as macro.
15575 (__ieee754_sqrtl): Define as macro.
15576 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15577 inlined copy.
15578 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15579 __FINITE_MATH_ONLY__ consistent.
15580 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15581
12cc2fcd
AS
155822011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15583
a843a204
AS
15584 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15585 of rawmemchr.
15586
12cc2fcd
AS
15587 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15588
c853acd5
UD
155892011-10-09 Ulrich Drepper <drepper@gmail.com>
15590
15591 * po/ja.po: Update from translation team.
15592
c658d255
RM
155932011-10-08 Roland McGrath <roland@hack.frob.com>
15594
110946e4
RM
15595 * locale/programs/locarchive.c (prepare_address_space): New function.
15596 (create_archive, enlarge_archive, open_archive): Use it.
15597
50604220
RM
15598 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15599 inside [SHARED], where it is used.
15600
c658d255
RM
15601 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15602
15603 * nss/getent.c (netgroup_keys): Remove unused variable.
15604 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15605
6a621eb7
UD
156062011-10-08 Ulrich Drepper <drepper@gmail.com>
15607
7edb55ce
UD
15608 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15609 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15610 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15611 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15612 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15613 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15614 * math/Makefile (libm-calls): Add s_isinf_ns.
15615 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15616 * math/multc3.c: Likewise.
15617 * math/s_casin.c: Likewise.
15618 * math/s_casinf.c: Likewise.
15619 * math/s_casinl.c: Likewise.
15620 * math/s_ccos.c: Likewise.
15621 * math/s_ccosf.c: Likewise.
15622 * math/s_ccosl.c: Likewise.
15623 * math/s_ctan.c: Likewise.
15624 * math/s_ctanf.c: Likewise.
15625 * math/s_ctanh.c: Likewise.
15626 * math/s_ctanhf.c: Likewise.
15627 * math/s_ctanhl.c: Likewise.
15628 * math/s_ctanl.c: Likewise.
15629 * math/w_fmod.c: Likewise.
15630 * math/w_fmodf.c: Likewise.
15631 * math/w_fmodl.c: Likewise.
15632 * math/w_remainder.c: Likewise.
15633 * math/w_remainderf.c: Likewise.
15634 * math/w_remainderl.c: Likewise.
15635 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15636 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15637 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15639 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15640 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15641 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15642 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15643
187da0ae
UD
15644 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15645 of the number.
15646 * stdio-common/printf_fphex.c: Likewise.
15647 * stdio-common/printf_size.c: Likewise.
15648
9277c064
UD
15649 * math/e_exp10.c: Include math_private.h using <...> not "...".
15650 * math/e_exp10f.c: Likewise.
15651 * math/e_exp10l.c: Likewise.
15652 * math/e_exp2l.c: Likewise.
15653 * math/e_j0l.c: Likewise.
15654 * math/e_j1l.c: Likewise.
15655 * math/e_jnl.c: Likewise.
15656 * math/e_lgammal_r.c: Likewise.
15657 * math/e_rem_pio2l.c: Likewise.
15658 * math/e_scalb.c: Likewise.
15659 * math/e_scalbf.c: Likewise.
15660 * math/e_scalbl.c: Likewise.
15661 * math/k_cosl.c: Likewise.
15662 * math/k_sinl.c: Likewise.
15663 * math/k_tanl.c: Likewise.
15664 * math/s_cacoshf.c: Likewise.
15665 * math/s_catan.c: Likewise.
15666 * math/s_catanf.c: Likewise.
15667 * math/s_catanh.c: Likewise.
15668 * math/s_catanhf.c: Likewise.
15669 * math/s_catanhl.c: Likewise.
15670 * math/s_catanl.c: Likewise.
15671 * math/s_ccosh.c: Likewise.
15672 * math/s_ccoshf.c: Likewise.
15673 * math/s_ccoshl.c: Likewise.
15674 * math/s_cexp.c: Likewise.
15675 * math/s_cexpf.c: Likewise.
15676 * math/s_cexpl.c: Likewise.
15677 * math/s_clog.c: Likewise.
15678 * math/s_clog10.c: Likewise.
15679 * math/s_clog10f.c: Likewise.
15680 * math/s_clog10l.c: Likewise.
15681 * math/s_clogf.c: Likewise.
15682 * math/s_clogl.c: Likewise.
15683 * math/s_csin.c: Likewise.
15684 * math/s_csinf.c: Likewise.
15685 * math/s_csinh.c: Likewise.
15686 * math/s_csinhf.c: Likewise.
15687 * math/s_csinhl.c: Likewise.
15688 * math/s_csinl.c: Likewise.
15689 * math/s_csqrt.c: Likewise.
15690 * math/s_csqrtf.c: Likewise.
15691 * math/s_csqrtl.c: Likewise.
15692 * math/s_ctan.c: Likewise.
15693 * math/s_ctanf.c: Likewise.
15694 * math/s_ctanh.c: Likewise.
15695 * math/s_ctanhf.c: Likewise.
15696 * math/s_ctanhl.c: Likewise.
15697 * math/s_ctanl.c: Likewise.
15698 * math/s_ldexp.c: Likewise.
15699 * math/s_ldexpf.c: Likewise.
15700 * math/s_ldexpl.c: Likewise.
15701 * math/s_significand.c: Likewise.
15702 * math/s_significandf.c: Likewise.
15703 * math/s_significandl.c: Likewise.
15704 * math/w_acos.c: Likewise.
15705 * math/w_acosf.c: Likewise.
15706 * math/w_acosh.c: Likewise.
15707 * math/w_acoshf.c: Likewise.
15708 * math/w_acoshl.c: Likewise.
15709 * math/w_acosl.c: Likewise.
15710 * math/w_asin.c: Likewise.
15711 * math/w_asinf.c: Likewise.
15712 * math/w_asinl.c: Likewise.
15713 * math/w_atan2.c: Likewise.
15714 * math/w_atan2f.c: Likewise.
15715 * math/w_atan2l.c: Likewise.
15716 * math/w_atanh.c: Likewise.
15717 * math/w_atanhf.c: Likewise.
15718 * math/w_atanhl.c: Likewise.
15719 * math/w_cosh.c: Likewise.
15720 * math/w_coshf.c: Likewise.
15721 * math/w_coshl.c: Likewise.
15722 * math/w_dremf.c: Likewise.
15723 * math/w_exp10.c: Likewise.
15724 * math/w_exp10f.c: Likewise.
15725 * math/w_exp10l.c: Likewise.
15726 * math/w_exp2.c: Likewise.
15727 * math/w_exp2f.c: Likewise.
15728 * math/w_fmod.c: Likewise.
15729 * math/w_fmodf.c: Likewise.
15730 * math/w_fmodl.c: Likewise.
15731 * math/w_hypot.c: Likewise.
15732 * math/w_hypotf.c: Likewise.
15733 * math/w_hypotl.c: Likewise.
15734 * math/w_j0.c: Likewise.
15735 * math/w_j0f.c: Likewise.
15736 * math/w_j0l.c: Likewise.
15737 * math/w_j1.c: Likewise.
15738 * math/w_j1f.c: Likewise.
15739 * math/w_j1l.c: Likewise.
15740 * math/w_jn.c: Likewise.
15741 * math/w_jnf.c: Likewise.
15742 * math/w_jnl.c: Likewise.
15743 * math/w_lgamma.c: Likewise.
15744 * math/w_lgamma_r.c: Likewise.
15745 * math/w_lgammaf.c: Likewise.
15746 * math/w_lgammaf_r.c: Likewise.
15747 * math/w_lgammal.c: Likewise.
15748 * math/w_lgammal_r.c: Likewise.
15749 * math/w_log.c: Likewise.
15750 * math/w_log10.c: Likewise.
15751 * math/w_log10f.c: Likewise.
15752 * math/w_log10l.c: Likewise.
15753 * math/w_log2.c: Likewise.
15754 * math/w_log2f.c: Likewise.
15755 * math/w_log2l.c: Likewise.
15756 * math/w_logf.c: Likewise.
15757 * math/w_logl.c: Likewise.
15758 * math/w_pow.c: Likewise.
15759 * math/w_powf.c: Likewise.
15760 * math/w_powl.c: Likewise.
15761 * math/w_remainder.c: Likewise.
15762 * math/w_remainderf.c: Likewise.
15763 * math/w_remainderl.c: Likewise.
15764 * math/w_scalb.c: Likewise.
15765 * math/w_scalbf.c: Likewise.
15766 * math/w_scalbl.c: Likewise.
15767 * math/w_sinh.c: Likewise.
15768 * math/w_sinhf.c: Likewise.
15769 * math/w_sinhl.c: Likewise.
15770 * math/w_sqrt.c: Likewise.
15771 * math/w_sqrtf.c: Likewise.
15772 * math/w_sqrtl.c: Likewise.
15773 * math/w_tgamma.c: Likewise.
15774 * math/w_tgammaf.c: Likewise.
15775 * math/w_tgammal.c: Likewise.
15776
6a621eb7
UD
15777 * po/ja.po: Update from translation team.
15778
bf582445
AJ
157792011-09-29 Andreas Jaeger <aj@suse.de>
15780
f9efbf3a
AJ
15781 [BZ #13179]
15782 * sunrpc/netname.c (netname2host): Fix logic.
15783
bf582445
AJ
15784 [BZ #6779]
15785 [BZ #6783]
15786 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15787 correctly.
15788 * math/w_remainder.c (__remainder): Likewise.
15789 * math/w_remainderf.c (__remainderf): Likewise.
15790 * math/libm-test.inc (remainder_test): Add test cases.
15791
48693bea
AK
157922011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15793
15794 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15795 sdiv_qrnnd.
15796
42622229
LD
157972011-10-07 Ulrich Drepper <drepper@gmail.com>
15798
15799 * string/test-memcmp.c: Avoid unncessary #defines.
15800 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15801
093ecf92
LD
158022011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15803
15804 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15805 Use new sse2 version for core i3 - i7 as it's faster
15806 than sse42 version.
15807 (bit_Prefer_PMINUB_for_stringop): New.
15808 * sysdeps/x86_64/rawmemchr.S: Update.
15809 Replace with faster SSE2 version.
15810 * sysdeps/x86_64/memrchr.S: New file.
15811 * sysdeps/x86_64/memchr.S: Update.
15812 Replace with faster SSE2 version.
15813
fde56e5c
MP
158142011-09-12 Marek Polacek <mpolacek@redhat.com>
15815
15816 * elf/dl-load.c (lose): Add cast to avoid warning.
15817
21fd49a9
UD
158182011-10-07 Ulrich Drepper <drepper@gmail.com>
15819
5a06e643
UD
15820 * po/ca.po: Update from translation team.
15821
684ae515
UD
15822 * inet/getnetgrent_r.c: Hook up nscd.
15823 * nscd/Makefile (routines): Add nscd_netgroup.
15824 (nscd-modules): Add netgroupcache.
15825 (CFLAGS-netgroupcache.c): Define.
15826 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15827 (cache_search): Add const to second parameter.
15828 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15829 INNETGR.
15830 (dbs): Add netgrdb entry.
15831 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15832 (verify_persistent_db): Handle netgrdb.
15833 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15834 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15835 GETFDNETGR.
15836 (netgroup_response_header): Define.
15837 (innetgroup_response_header): Define.
15838 (datahead): Add netgroup_response_header and innetgroup_response_header
15839 elements.
15840 * nscd/nscd.conf: Add entries for netgroup cache.
15841 * nscd/nscd.h (dbtype): Add netgrdb.
15842 (_PATH_NSCD_NETGROUP_DB): Define.
15843 (netgroup_iov_disabled): Declare.
15844 (xmalloc, xcalloc, xrealloc): Move declarations here.
15845 (cache_search): Adjust prototype.
15846 Add netgroup-related prototypes.
15847 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15848 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15849 (__nscd_innetgr): Declare.
15850 * nscd/selinux.c (perms): Use access_vector_t as element type and
15851 add netgroup-related initializers.
15852 * nscd/netgroupcache.c: New file.
15853 * nscd/nscd_netgroup.c: New file.
15854 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15855 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15856 For four parameters use innetgr.
15857 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15858 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15859 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15860 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15861
21fd49a9
UD
15862 * nscd/connections.c (register_traced_file): Don't register file
15863 for disabled databases.
15864
054c0457
UD
158652011-10-06 Ulrich Drepper <drepper@gmail.com>
15866
32b63198
UD
15867 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15868
054c0457
UD
15869 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15870 from tree and freeing node.
15871
64031225
JO
158722011-09-25 Jiri Olsa <jolsa@redhat.com>
15873
15874 * nss/nsswitch.c (__nss_database_lookup): Handle
15875 nss_parse_service_list out of memory case.
15876
0490345c
JO
158772011-09-15 Jiri Olsa <jolsa@redhat.com>
15878
15879 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15880 out of memory case.
15881
3a62d00d
AS
158822011-10-04 Andreas Schwab <schwab@redhat.com>
15883
15884 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15885 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15886 pass it down.
15887 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15888 elf_machine_rela, elf_machine_lazy_rel.
15889 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15890 (ELF_DYNAMIC_DO_REL): Likewise.
15891 (ELF_DYNAMIC_DO_RELA): Likewise.
15892 (ELF_DYNAMIC_RELOCATE): Likewise.
15893 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15894 to ELF_DYNAMIC_DO_REL.
15895 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15896 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15897 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15898 elf_machine_rela.
15899 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15900 skip_ifunc, don't call ifunc function if non-zero.
15901 (elf_machine_rela): Likewise.
15902 (elf_machine_lazy_rel): Likewise.
15903 (elf_machine_lazy_rela): Likewise.
15904 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15905 (elf_machine_lazy_rel): Likewise.
15906 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15907 Likewise.
15908 (elf_machine_lazy_rel): Likewise.
15909 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15910 Likewise.
15911 (elf_machine_lazy_rel): Likewise.
15912 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15913 (elf_machine_lazy_rel): Likewise.
15914 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15915 (elf_machine_lazy_rel): Likewise.
15916 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15917 (elf_machine_lazy_rel): Likewise.
15918 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15919 (elf_machine_lazy_rel): Likewise.
15920 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15921 (elf_machine_lazy_rel): Likewise.
15922 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15923 (elf_machine_lazy_rel): Likewise.
15924
68577918
UD
159252011-09-28 Ulrich Drepper <drepper@gmail.com>
15926
15927 * nss/nss_files/files-init.c (_nss_files_init): Use static
15928 initialization for all the *_traced_file variables.
15929
68822d74
AS
159302011-09-28 Andreas Schwab <schwab@redhat.com>
15931
15932 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15933
2056100b
RM
159342011-09-27 Roland McGrath <roland@hack.frob.com>
15935
15936 [BZ #13226]
15937 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15938
32c76b63
AS
159392011-09-27 Andreas Schwab <schwab@redhat.com>
15940
15941 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15942 Reread the line before reparsing it.
15943
bf972c9d
AS
159442011-09-26 Andreas Schwab <schwab@redhat.com>
15945
15946 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15947
e057a1b5
JM
159482011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15949 Maxim Kuvyrkov <maxim@codesourcery.com>
15950 Joseph Myers <joseph@codesourcery.com>
15951
15952 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15953 if needed for __stack_chk_guard.
15954
bc7e1c36
RM
159552011-09-19 Roland McGrath <roland@hack.frob.com>
15956
ecb1482f
RM
15957 * sysdeps/posix/spawni.c (script_execute): Always define it.
15958 It will be optimized away if unused.
15959 (maybe_script_execute): New function.
15960 (__spawni): Call it.
15961
bc7e1c36
RM
15962 * Makerules: Don't include tls.make.
15963 (config-tls): Always set to thread.
15964 * tls.make.c: File removed.
15965
1c3b002b
MF
159662011-09-19 Mike Frysinger <vapier@gentoo.org>
15967
15968 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15969 * config.make.in (CPPFLAGS-config): New substituted variable.
15970
2840865d
UD
159712011-09-15 Ulrich Drepper <drepper@gmail.com>
15972
88738eb6
UD
15973 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15974
cbf645a6 15975 [BZ #13192]
2840865d
UD
15976 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15977 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15978
b402e91a
RM
159792011-09-15 Roland McGrath <roland@hack.frob.com>
15980
15981 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15982 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15983 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15984 (CALL_FAIL): Likewise.
15985 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15986 (CALL_FAIL): Macro removed.
15987 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15988
4c1a1f71
UD
159892011-09-15 Ulrich Drepper <drepper@gmail.com>
15990
15991 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15992 for __FINITE_MATH_ONLY__ == 1.
15993
edc121be
AS
159942011-09-15 Andreas Schwab <schwab@redhat.com>
15995
15996 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15997 __ieee754_sqrt instead of sqrt.
15998 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15999 __ieee754_sqrtf instead of sqrtf.
16000 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16001 __floorf instead of floorf.
16002 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16003 __floorf, __truncf instead of floorf, truncf.
16004
cd205654
UD
160052011-09-14 Ulrich Drepper <drepper@gmail.com>
16006
ee4d0315
UD
16007 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16008
cd205654
UD
16009 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16010 __extern_always_inline.
16011 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16012 32-bit.
16013
48b67d71
AS
160142011-09-14 Andreas Schwab <schwab@redhat.com>
16015
16016 * elf/rtld.c (dl_main): Also relocate in dependency order when
16017 doing symbol dependency testing.
16018
1ae12c75
AS
160192011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16020
16021 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16022 Always define `refsym'.
16023
995a80df
AS
160242011-09-13 Andreas Schwab <schwab@redhat.com>
16025
e529793b
AS
16026 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16027 (__FD_ELT): Renamed from __FDELT.
16028 * misc/bits/select2.h (__FD_ELT): Likewise.
16029 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16030 __FD_MASK instead of __FDELT, __FDMASK.
16031 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16032 Likewise.
16033 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16034 Likewise.
16035
52d4fef8
AS
16036 * elf/Makefile (gen-ldd): Fix pattern.
16037
995a80df
AS
16038 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16039 (init_tls): Likewise.
16040
8682f8b0
UD
160412011-09-12 Ulrich Drepper <drepper@gmail.com>
16042
16043 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16044
de82006d
AS
160452011-09-12 Andreas Schwab <schwab@redhat.com>
16046
a7c8e6a1
AS
16047 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16048 `struct cmsghdr *' instead of `void *'.
16049 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16050 Likewise.
16051
0f31fe77
AS
160522011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16053
16054 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16055 if non-absolute.
16056 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16057 ldd_rewrite_script.
0f31fe77 16058
32b4c839
UD
160592011-09-11 Ulrich Drepper <drepper@gmail.com>
16060
83cd1420
UD
16061 * configure.in: Remove --with-tls option.
16062 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16063 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16064 out in case it is missing.
16065 * sysdeps/ia64/elf/configure.in: Likewise.
16066 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16067 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16068 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16069 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16070 * sysdeps/sh/elf/configure.in: Likewise.
16071 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16072 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16073 * sysdeps/x86_64/elf/configure.in: Likewise.
16074 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16075 * sysdeps/mach/hurd/tls.h: Likewise.
16076
633f745d
UD
16077 [BZ #13067]
16078 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16079
f318beb8
UD
16080 [BZ #13090]
16081 * configure.in: Fix use of AC_INIT.
16082
32b4c839
UD
16083 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16084
3ce1f295
UD
160852011-09-10 Ulrich Drepper <drepper@gmail.com>
16086
bb016596
UD
16087 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16088 __set_errno.
8e58439c
UD
16089 * malloc/hooks.c: Likewise.
16090
aebae053 16091 [BZ #11929]
02d46fc4
UD
16092 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16093 variables statically.
16094 (narenas): Initialize.
16095 (list_lock): Initialize.
bb016596
UD
16096 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16097 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16098 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16099 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16100 Add initializers to main_arena and mp_.
16101 (malloc_state): Remove pagesize member. Change all users to use
16102 GLRO(dl_pagesize).
16103
16104 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16105 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16106 is always initialized.
16107
22a89187
UD
16108 * malloc/malloc.c: Removed unused configurations and dead code.
16109 * malloc/arena.c: Likewise.
16110 * malloc/hooks.c: Likewise.
02d46fc4 16111 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16112
d063d164
UD
16113 * include/tls.h: Removed. USE___THREAD must always be defined.
16114 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16115 * elf/dl-libc.c: Likewise.
16116 * elf/dl-tsd.c: Likewise.
16117 * include/errno.h: Likewise.
16118 * include/netdb.h: Likewise.
16119 * include/resolv.h: Likewise.
16120 * inet/herrno-loc.c: Likewise.
16121 * inet/herrno.c: Likewise.
16122 * malloc/arena.c: Likewise.
16123 * malloc/hooks.c: Likewise.
16124 * malloc/malloc.c: Likewise.
16125 * resolv/res-state.c: Likewise.
16126 * resolv/res_libc.c: Likewise.
16127 * sysdeps/i386/dl-machine.h: Likewise.
16128 * sysdeps/ia64/dl-machine.h: Likewise.
16129 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16130 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16131 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16132 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16133 * sysdeps/sh/dl-machine.h: Likewise.
16134 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16135 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16136 * sysdeps/unix/i386/sysdep.S: Likewise.
16137 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16138 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16139 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16140 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16141 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16142 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16143 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16144 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16145 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16146 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16147 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16148 * sysdeps/x86_64/dl-machine.h: Likewise.
16149 * tls.make.c: Likewise.
16150
3ce1f295
UD
16151 * configure.in: Remove --with-__thread option. Make tests for
16152 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16153 tls_model attribute fail if no support is available. Remove
16154 USE_IN_LIBIO.
16155 * Makeconfig: Adjust for dropped configure option. All features are
16156 now mandatory.
16157 * Makerules: Likewise.
16158 * Versions.def: Likewise.
16159 * argp/argp-fmtstream.c: Likewise.
16160 * argp/argp-fmtstream.h: Likewise.
16161 * argp/argp-help.c: Likewise.
16162 * assert/assert.c: Likewise.
16163 * config.h.in: Likewise.
16164 * config.make.in: Likewise.
16165 * configure: Likewise.
16166 * configure.in: Likewise.
16167 * csu/Versions: Likewise.
16168 * csu/init.c: Likewise.
16169 * elf/tst-audit2.c: Likewise.
16170 * elf/tst-tls10.c: Likewise.
16171 * elf/tst-tls10.h: Likewise.
16172 * elf/tst-tls11.c: Likewise.
16173 * elf/tst-tls12.c: Likewise.
16174 * elf/tst-tls14.c: Likewise.
16175 * elf/tst-tlsmod11.c: Likewise.
16176 * elf/tst-tlsmod12.c: Likewise.
16177 * elf/tst-tlsmod13.c: Likewise.
16178 * elf/tst-tlsmod13a.c: Likewise.
16179 * elf/tst-tlsmod14a.c: Likewise.
16180 * elf/tst-tlsmod15b.c: Likewise.
16181 * elf/tst-tlsmod16a.c: Likewise.
16182 * elf/tst-tlsmod16b.c: Likewise.
16183 * elf/tst-tlsmod7.c: Likewise.
16184 * elf/tst-tlsmod8.c: Likewise.
16185 * elf/tst-tlsmod9.c: Likewise.
16186 * gmon/gmon.c: Likewise.
16187 * grp/fgetgrent_r.c: Likewise.
16188 * grp/putgrent.c: Likewise.
16189 * hurd/fopenport.c: Likewise.
16190 * include/libc-symbols.h: Likewise.
16191 * include/tls.h: Likewise.
16192 * intl/gettextP.h: Likewise.
16193 * intl/loadinfo.h: Likewise.
16194 * locale/global-locale.c: Likewise.
16195 * locale/localeinfo.h: Likewise.
16196 * mach/devstream.c: Likewise.
16197 * malloc/arena.c: Likewise.
16198 * malloc/set-freeres.c: Likewise.
16199 * misc/err.c: Likewise.
16200 * misc/getttyent.c: Likewise.
16201 * misc/mntent_r.c: Likewise.
16202 * posix/getopt.c: Likewise.
16203 * posix/wordexp.c: Likewise.
16204 * pwd/fgetpwent_r.c: Likewise.
16205 * resolv/Versions: Likewise.
16206 * resolv/res_hconf.c: Likewise.
16207 * shadow/fgetspent_r.c: Likewise.
16208 * shadow/putspent.c: Likewise.
16209 * stdio-common/printf_fphex.c: Likewise.
16210 * stdio-common/tmpfile.c: Likewise.
16211 * stdlib/abort.c: Likewise.
16212 * stdlib/fmtmsg.c: Likewise.
16213 * sunrpc/auth_unix.c: Likewise.
16214 * sunrpc/clnt_perr.c: Likewise.
16215 * sunrpc/clnt_tcp.c: Likewise.
16216 * sunrpc/clnt_udp.c: Likewise.
16217 * sunrpc/clnt_unix.c: Likewise.
16218 * sunrpc/openchild.c: Likewise.
16219 * sunrpc/svc_simple.c: Likewise.
16220 * sunrpc/svc_tcp.c: Likewise.
16221 * sunrpc/svc_udp.c: Likewise.
16222 * sunrpc/svc_unix.c: Likewise.
16223 * sunrpc/xdr.c: Likewise.
16224 * sunrpc/xdr_array.c: Likewise.
16225 * sunrpc/xdr_rec.c: Likewise.
16226 * sunrpc/xdr_ref.c: Likewise.
16227 * sunrpc/xdr_stdio.c: Likewise.
16228
1248c1c4
PB
162292011-09-09 Ulrich Drepper <drepper@gmail.com>
16230
16231 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16232
162332011-07-03 Andreas Jaeger <aj@suse.de>
16234
16235 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16236 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16237 regenerate with gen-libm-tests.pl.
16238
162392010-05-12 Petr Baudis <pasky@suse.cz>
16240
16241 [BZ #11589]
16242 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16243 around j0() zero points by switching to j1().
16244 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16245 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16246 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16247 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16248
f22e1074
UD
162492011-09-09 Ulrich Drepper <drepper@gmail.com>
16250
f19009c1
UD
16251 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16252 instead of 0.
16253 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16254 instead of 0. .
16255 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16256 Patch in part by Pavel Roskin <proski@gnu.org>.
16257
3f8cc204
UD
16258 [BZ #13138]
16259 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16260 realloc.
16261 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16262 Free memory block if necessary.
16263
f22e1074
UD
16264 [BZ #12847]
16265 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16266 be NULL. Don't lock in this case.
16267
0a2349f9
RM
162682011-09-09 Roland McGrath <roland@hack.frob.com>
16269
16270 * elf/elf.h (ELFOSABI_GNU): New macro.
16271 (ELFOSABI_LINUX): Define to that.
16272
f3cdd467
DZ
162732011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16274
16275 * string/strncat.c (strncat): Undef the symbol in case it has been
16276 defined in bits/string.h.
16277
74718d13
UD
162782011-09-09 Ulrich Drepper <drepper@gmail.com>
16279
633e9e0f
UD
16280 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16281
0a2349f9 16282 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16283 link map.
16284
f9924780
AJ
162852011-08-17 Andreas Jaeger <aj@suse.de>
16286
16287 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16288
7f5517aa
PP
162892011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16290 Ian Lance Taylor <iant@google.com>
16291
16292 * math/libm-test.inc (lround_test): New testcase.
16293 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16294
762011fe
UD
162952011-09-08 Ulrich Drepper <drepper@gmail.com>
16296
92963737
UD
16297 * Makefile: Remove support for automatic cvs check-ins.
16298 * Makerules: Likewise.
16299 * config.make.in: Likewise.
16300 * configure.in: Likewise.
16301 * intl/Makefile: Likewise.
16302 * locale/Makefile: Likewise.
16303 * po/Makefile: Likewise.
16304 * posix/Makefile: Likewise.
16305 * sysdeps/gnu/Makefile: Likewise.
16306 * sysdeps/mach/hurd/Makefile: Likewise.
16307 * sysdeps/sparc/sparc32/Makefile: Likewise.
16308
b0727fd8
JS
16309 [BZ #13118]
16310 * posix/Makefile (bug-regex32-ENV): Define.
16311 Patch by John Stanley <jpsinthemix@verizon.net>.
16312
a0f33f99
UD
16313 * misc/Makefile (headers): Add bits/select2.h.
16314 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16315 * misc/bits/select2.h: New file.
16316 * include/bits/select2.h: New file.
16317 * debug/Makefile (routines): Add fdelt_chk.
16318 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16319 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16320 FD_ISSET.
16321 * debug/fdelt_chk.c: New file.
16322
762011fe
UD
16323 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16324 * wcsmbs/test-wmemcmp.c: Likewise.
16325 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16326 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16327
163282011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16329
16330 * string/Makefile (strop-tests): Add memcmp.
16331 * string/test-wmemcmp.c: New file.
16332 * string/test-memcmp.c: Add wmemcmp support.
16333
7f513ec8
RM
163342011-09-08 Roland McGrath <roland@hack.frob.com>
16335
0442afb4
RM
16336 [BZ #13153]
16337 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16338 2011-07-19 change.
16339
7f513ec8
RM
16340 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16341 garbage value in a __mach_port_mod_refs call in the cases of the
16342 task-self and thread-self ports.
16343
a12b2239
ST
163442011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16345
16346 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16347
610f9ab4
AS
163482011-09-08 Andreas Schwab <schwab@redhat.com>
16349
7f513ec8 16350 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16351
48882a1a
LD
163522011-09-07 Ulrich Drepper <drepper@gmail.com>
16353
b49865be
UD
16354 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16355
fdc86bc9
UD
16356 * elf/dl-libc.c (dlerror_run): Pass back error code from
16357 dl_catch_error.
16358
c966526a
UD
16359 [BZ #13123]
16360 * elf/dl-load.c (lose): Free l_origin if it is valid.
16361
48882a1a
LD
16362 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16363 names.
16364 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16365 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16366 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16367 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16368 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16369 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16370
77a2a8b4
AZ
163712011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16372
16373 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16374 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16375 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16376 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16377 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16378 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16379 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16380 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16381 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16382 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16383
24f579d8
AM
163842011-08-15 Alan Modra <amodra@gmail.com>
16385
16386 [BZ #13092]
16387 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16388 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16389 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16390 ppc_mcount to static-only-routines.
16391 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16392 __mcount_internal.
16393 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16394 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16395
3d4837df
UD
163962011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16397
16398 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16399 for finite and infinity parameters.
16400
22700377
WS
164012011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16402
16403 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16404 and add nop instructions for throughput optimization.
16405 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16406
5025581e
WS
164072011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16408
16409 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16410 aligned copy for power7 with vector-scalar instructions.
16411 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16412
08a300c9
L
164132011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16414
16415 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16416 AVX check.
16417
59178ef9
AS
164182011-09-07 Andreas Schwab <schwab@redhat.com>
16419
16420 [BZ #13144]
16421 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16422 last change.
16423
e38ba7ab
UD
164242011-09-07 Ulrich Drepper <drepper@gmail.com>
16425
16426 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16427 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16428 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16429 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16430 clock_gettime.
16431
d53a73ac
UD
164322011-09-06 Ulrich Drepper <drepper@gmail.com>
16433
fc8bffcc
UD
16434 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16435 Forgot to demangle the pointer.
16436
ceaa0c5d
UD
16437 * sysdeps/i386/sysdep.h: Define atom_text_section.
16438 * sysdeps/x86_64/sysdep.h: Likewise.
16439 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16440 section with atom_text_section.
16441 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16442 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16443 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16444 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16445 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16446
a77d3c17
UD
16447 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16448 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16449 already be defined. Change to take two parameters and don't assign
16450 result to variable. Adjust all users.
16451 Define INTERNAL_GETTIME if not already defined.
16452 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16453 call.
16454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16455 HAVE_CLOCK_GETTIME_VSYSCALL.
16456 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16457
d53a73ac
UD
16458 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16459 gettimeofday vsyscall, just use time.
16460
a8f84144
AS
164612011-09-06 Andreas Schwab <schwab@redhat.com>
16462
16463 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16464 <errno.h>.
16465
ef606249
UD
164662011-09-06 Ulrich Drepper <drepper@gmail.com>
16467
16468 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16469 syscall on x86-64.
16470 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16471 syscall.
16472 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16473 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16474 syscall if possible.
16475
6585cb60
UD
164762011-09-05 Ulrich Drepper <drepper@gmail.com>
16477
16478 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16479 e_ident. Don't pass to find_mapsXX.
16480 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16481
a5f524e4
LD
164822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16483
16484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16485 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16486 * sysdeps/x86_64/multiarch/strchr.S: Update.
16487 Check bit_slow_BSF bit.
16488 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16489 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16490 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16491
554881ef
UD
164922011-09-05 Ulrich Drepper <drepper@gmail.com>
16493
d96de963
UD
16494 [BZ #13134]
16495 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16496 before glibc 2.15.
16497 (tryshell): Define.
16498 (__spawni): Change last parameter to be flag. Test
16499 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16500 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16501 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16502 * posix/spawni.c: Likewise.
16503 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16504 * posix/spawnp.c: Likewise. Change normal version to use
16505 SPAWN_XFLAGS_USE_PATH.
16506 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16507 SPAWN_XFLAGS_TRY_SHELL.
16508
d48e5868
UD
16509 [BZ #13150]
16510 * posix/glob.h: Remove gcc 1.x support.
16511
554881ef
UD
16512 [BZ #13068]
16513 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16514
693fb948
LD
165152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16516
16517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16518 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16519 strrchr-sse2-bsf
16520 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16521 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16522 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16523 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16524 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16525 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16526
1b48c537
UD
165272011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16528
49d42c37
UD
16529 * sysdeps/x86_64/wcscmp.S: New file.
16530
1b48c537
UD
16531 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16532 wcscmp-c wcscmp-sse2
16533 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16534 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16535 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16536 * wcsmbs/wcscmp.c: Allow renaming.
16537
15c95c5d
DM
165382011-09-05 David S. Miller <davem@davemloft.net>
16539
16540 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16541 stack slot, rather than the struct return pointer slot.
16542 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16543 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16545 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16546
2f0ad8f3
UD
165472011-09-05 Ulrich Drepper <drepper@gmail.com>
16548
d88ae418
UD
16549 * po/ja.po: Update from translation team.
16550
2f0ad8f3
UD
16551 [BZ #13144]
16552 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16553 kernel in 64-bit binaries.
16554
5f4318d1
DM
165552011-09-01 David S. Miller <davem@davemloft.net>
16556
16557 * elf/elf.h (HWCAP_SPARC_*): Move to..
16558 * sysdeps/sparc/sysdep.h: this new file and add new values.
16559 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16560 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16561 _DL_HWCAP_COUNT to 24.
16562 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16563 entries.
16564 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16565 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16566 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16567 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16568 instead of magic constants.
16569 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16570
3ba57516
DM
165712011-08-31 David S. Miller <davem@davemloft.net>
16572
16573 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16574 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16575 Reimplement to do errno handling inline.
16576 (SYSCALL_ERROR_HANDLER): New macro.
16577 (__SYSCALL_STRING): Do not do errno handling in asm.
16578 (__CLONE_SYSCALL_STRING): Delete.
16579 (__INTERNAL_SYSCALL_STRING): Delete.
16580 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16581 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16582 (PSEUDO): Reimplement to do errno handling inline.
16583 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16584 (SYSCALL_ERROR_HANDLER): New macro.
16585 (__SYSCALL_STRING): Do not do errno handling in asm.
16586 (__CLONE_SYSCALL_STRING): Delete.
16587 (__INTERNAL_SYSCALL_STRING): Delete.
16588 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16589 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16590 i386.
16591 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16592 (inline_syscall*): Add 'err' argument.
16593 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16594 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16595 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16596 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16597
16598 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16599 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16600
2bc17433
AS
166012011-08-30 Andreas Schwab <schwab@redhat.com>
16602
16603 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16604
fbeb5f4d
JO
166052011-08-29 Jiri Olsa <jolsa@redhat.com>
16606
16607 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16608 directive.
16609
ad69cc26
DM
166102011-08-24 David S. Miller <davem@davemloft.net>
16611
16612 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16613
39dd69df
AS
166142011-08-24 Andreas Schwab <schwab@redhat.com>
16615
16616 * elf/Makefile: Add rules to build and run unload8 test.
16617 * elf/unload8.c: New file.
16618 * elf/unload8mod1.c: New file.
16619 * elf/unload8mod1x.c: New file.
16620 * elf/unload8mod2.c: New file.
16621 * elf/unload8mod3.c: New file.
16622
16623 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16624 it wasn't used.
16625
2c0b250a
DM
166262011-08-23 David S. Miller <davem@davemloft.net>
16627
16628 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16629 subtract stack bias.
16630 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16631 %sp not %fp in calculations.
16632 (_JMPBUF_UNWINDS_ADJ): Likewise.
16633
22044b48
DM
16634 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16635 (aio_suspend): Call it to force an exception region around the
16636 AIO_MISC_WAIT() invocation.
16637
2cae4995
AS
166382011-08-23 Andreas Schwab <schwab@redhat.com>
16639
16640 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16641 backslash.
16642
873a772e
AJ
166432011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16644
16645 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16646 protection macro.
16647 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16648 and <dl-machine.h>.
16649 (Elf64_FuncDesc): Remove.
16650
25ad0df1
DM
166512011-08-22 David S. Miller <davem@davemloft.net>
16652
16653 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16654 sigaltstack check, add missing cfi directives.
16655 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16656 missing cfi directives, and sigaltstack handling.
16657
e888bcbe
AS
166582011-08-16 Andreas Schwab <schwab@redhat.com>
16659
16660 [BZ #11724]
16661 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16662 object is seen twice.
16663 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16664
16665 * elf/Makefile (distribute): Add tst-initorder2.c.
16666 (tests): Add tst-initorder2.
16667 (modules-names): Add tst-initorder2a tst-initorder2b
16668 tst-initorder2c tst-initorder2d. Add rules to build them.
16669 ($(objpfx)tst-initorder2.out): New rule.
16670 * elf/tst-initorder2.c: New file.
16671 * elf/tst-initorder2.exp: New file.
16672
87162f46
AS
166732011-08-22 Andreas Schwab <schwab@redhat.com>
16674
70538b7f
AS
16675 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16676
f55ffe58
AS
16677 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16678 dependencies back to end of function.
16679
87162f46
AS
16680 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16681 $(elfobjdir)/ld.so.
16682
91b392a4
UD
166832011-08-21 Ulrich Drepper <drepper@gmail.com>
16684
16685 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16686 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16687 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16688 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16689 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16690 of __vdso_gettimeofday.
16691 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16692 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16693 attribute_hidden.
16694 (_libc_vdso_platform_setup): Remove initialization of
16695 __vdso_gettimeofday and __vdso_time.
16696
5c43483f
UD
166972011-08-20 Ulrich Drepper <drepper@gmail.com>
16698
775a77e7
UD
16699 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16700 and fgetc_unlocked.
16701 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16702 getc_unlocked.
89f447ed 16703
49c74ba9
UD
16704 * elf/dl-open.c (add_to_global): Report additions to the global scope
16705 for LD_DEBUG=scopes.
16706 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16707 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16708
5c43483f
UD
16709 [BZ #13114]
16710 * stdio-common/Makefile (tests): Add bug24.
16711 * stdio-common/bug24.c: New file.
16712
a101b025
AJ
167132011-08-19 Andreas Jaeger <aj@suse.de>
16714
16715 [BZ #13114]
16716 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16717 non-existant file when using close-on-exec mode.
16718
c88f1766
UD
167192011-08-20 Ulrich Drepper <drepper@gmail.com>
16720
0276a718
UD
16721 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16722 the very first instruction.
16723
c88f1766
UD
16724 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16725 the CFI state in the end.
16726 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16727 inclusion of dl-trampoline.h.
16728 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16729
51ccffa0
AS
167302011-08-19 Andreas Schwab <schwab@redhat.com>
16731
94d7165f
AS
16732 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16733 expectations for long double.
16734
51ccffa0
AS
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16736 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16737
fd708658 167382011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16739
16740 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16741 artificual limit depends upon the system page size.
16742
44f0a71e
UD
167432011-08-17 Ulrich Drepper <drepper@gmail.com>
16744
16745 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16746 * resolv/Makefile: Define CFLAGS-libresolv.
16747
8de79a24
AS
167482011-08-17 Andreas Schwab <schwab@redhat.com>
16749
16750 * nss/makedb.c (compute_tables): Make variables used in nested
16751 function static.
16752
27724598
UD
167532011-08-17 Ulrich Drepper <drepper@gmail.com>
16754
c5305d88
UD
16755 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16756 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16757 if buffer was too small.
16758
27724598
UD
16759 * elf/pldd.c (main): Attach to all threads in the process.
16760 Rewrite /proc handling to use *at functions.
16761
076fe015
UD
167622011-08-16 Ulrich Drepper <drepper@gmail.com>
16763
174baab3
UD
16764 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16765 specifies first scope to show.
16766 (dl_open_worker): Update callers. Move printing scope of new
16767 object to before the relocation.
44f0a71e 16768 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16769 * sysdeps/generic/ldsodefs.h: Update declaration.
16770
076fe015
UD
16771 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16772 string for the scope number.
16773
a60df2c3
UD
167742011-08-14 Ulrich Drepper <drepper@gmail.com>
16775
16776 * nscd/servicescache.c (cache_addserv): Make sure written is always
16777 initialized.
16778
5e4287d1
RM
167792011-08-14 Roland McGrath <roland@hack.frob.com>
16780
85ae0589
RM
16781 * sysdeps/i386/i486/bits/atomic.h
16782 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16783 statement expression, so as to suppress "set but not used" warning.
16784 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16785
69f63097
RM
16786 * string/strncat.c (STRNCAT): Use prototype definition.
16787
675456ef
RM
16788 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16789 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16790 -Iprograms here.
16791 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16792 (localedef-modules): Add localedef.
16793 (locale-modules): Add locale.
16794
5e4287d1
RM
16795 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16796 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16797 to avoid a warning.
16798
9c96ff23
DM
167992011-08-14 David S. Miller <davem@davemloft.net>
16800
16801 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16802 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16803
f9ddf089
UD
168042011-08-13 Ulrich Drepper <drepper@gmail.com>
16805
44f0a71e 16806 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16807 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16808 * elf/rtld.c (dl_main): Set l_name of vDSO.
16809 Call _dl_show_scope when DL_DEBUG_SCOPES.
16810 (process_dl_debug): Recognize scopes flag and also set it for all.
16811 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16812 Declare _dl_show_scope.
16813
1dc27704
UD
16814 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16815 (do_dlopen): Pass caller_dlopen to dl_open.
16816 (__libc_dlopen_mode): Initialize caller_dlopen.
16817
f9ddf089
UD
16818 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16819 of libc. Make tolower call locale-independent. Optimize a bit by
16820 using isdigit instead of isalnum.
16821 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16822
9ac533d3
UD
168232011-08-12 Ulrich Drepper <drepper@gmail.com>
16824
16825 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16826 was a dependency or dynamically loaded.
16827
89edf2e9
UD
168282011-08-11 Ulrich Drepper <drepper@gmail.com>
16829
8e999d29
UD
16830 * intl/l10nflist.c: Allow architecture-specific pop function.
16831 * sysdeps/x86_64/l10nflist.c: New file.
16832
89edf2e9
UD
16833 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16834 classification.
16835
14d96785
AS
168362011-08-10 Andreas Schwab <schwab@redhat.com>
16837
16838 * include/dirent.h: Add libc_hidden_proto for scandirat and
16839 scandirat64. Don't declare __scandirat64.
16840 * dirent/scandirat.c: Add libc_hidden_def.
16841 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16842 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16843
6761ac04
DM
168442011-08-10 David S. Miller <davem@davemloft.net>
16845
16846 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16847 enum.
16848 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16849 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16850 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16851
c55fbd1e
UD
168522011-08-09 Ulrich Drepper <drepper@gmail.com>
16853
16854 * Versions.def [libc]: Add GLIBC_2.15.
16855 * dirent/Makefile (routines): Add scandirat and scandirat64.
16856 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16857 GLIBC_2.15.
16858 * dirent/dirent.h: Declare scandirat and scandirat64.
16859 * dirent/scandirat.c: New file.
16860 * dirent/scandirat64.c: New file.
16861 * sysdeps/wordsize-64/scandirat.c: New file.
16862 * sysdeps/wordsize-64/scandirat64.c: New file.
16863 * dirent/opendir.c: Define opendirat.
16864 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16865 using scandirat.
16866 * dirent/scandir64.c: Adjust for scandir.c change.
16867 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16868 __scandirat64, and __scandir_cancel_handler.
16869 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16870 additional parameter and use openat instead of open (outside of ld.so).
16871 Add new __opendir as wrapper around __opendirat.
16872 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16873 here without requiring old scandirat implementation.
16874
879165f2
UD
168752011-08-08 Ulrich Drepper <drepper@gmail.com>
16876
16877 * dirent/scandir.c (cancel_handler): Renamed to
16878 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16879 defined. Adjust users.
16880 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16881 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16882
cb7e923b
UD
168832011-08-04 Ulrich Drepper <drepper@gmail.com>
16884
16292edd
UD
16885 * string/test-string.h (IMPL): Use __STRING to expand name and then
16886 stringify it.
16887
cb7e923b
UD
16888 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16889 of cleanups.
16890
cff82933
LD
168912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16892
16893 * string/Makefile: Update.
16894 (strop-tests): Append strncat.
16895 * string/test-wcscmp.c: New file.
16896 New comprehensive test for wcscmp.
16897 * string/test-strcmp.c: Update.
16898 (WIDE): New define.
16899
9be9bfcc
AS
169002011-07-22 Andreas Schwab <schwab@redhat.com>
16901
16902 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16903 line.
16904
2e96f1c7
AS
169052011-07-26 Andreas Schwab <schwab@redhat.com>
16906
16907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16908 encoding to ACE if AI_IDN.
16909
85188888
JJ
169102011-08-01 Jakub Jelinek <jakub@redhat.com>
16911
16912 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16913 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16914
5fa16e9b
LD
169152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16916
16917 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16918 Fix overflow bug in strncat.
16919 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16920
16921 * string/test-strncat.c: Update.
16922 Add new tests for checking overflow bugs.
16923
169242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16925
16926 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16927 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16928 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16929 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16930 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16931 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16932 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16933 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16934 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16935
16936 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16937 (USE_AS_STRCAT): Define.
16938 Add strcat and strncat support.
16939 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16940
8c1a459f
AS
169412011-07-25 Andreas Schwab <schwab@redhat.com>
16942
16943 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16944 __n bigger than INT_MAX+1.
16945 (__strncmp_g): Likewise.
16946
bba33c28
UD
169472011-07-23 Ulrich Drepper <drepper@gmail.com>
16948
798be72d
UD
16949 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16950 * libio/stido.h: Likewise.
16951
8accd4dc
UD
16952 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16953 (AF_NFC): Define.
16954 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16955 (AF_NFC): Define.
16956
cbff0d96
UD
16957 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16958 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16959 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16960 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16961 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16962
9191c04a
UD
16963 [BZ #13021]
16964 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16965 installed.
16966
bba33c28
UD
16967 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16968 typo.
16969 (_dl_x86_64_save_sse): Likewise.
16970
90f139dd
UD
169712011-07-22 Ulrich Drepper <drepper@gmail.com>
16972
1aae088a
UD
16973 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16974 OSXSAVE.
16975 (_dl_x86_64_save_sse): Likewise.
16976
8e2045f5
UD
16977 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16978
90f139dd
UD
16979 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16980
1d002f25
AS
169812011-07-21 Andreas Schwab <schwab@redhat.com>
16982
16983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16984 change.
16985 (_dl_x86_64_save_sse): Use correct AVX check.
16986
21137f89
UD
169872011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16988
16989 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16990 bug in strncpy/strncat.
16991 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16992
a65c0b7a
UD
169932011-07-21 Ulrich Drepper <drepper@gmail.com>
16994
16995 * string/tester.c (test_strcat): Add tests for different alignments
16996 of source and destination.
16997 (test_strncat): Likewise.
16998
6986b98a
UD
169992011-07-20 Ulrich Drepper <drepper@gmail.com>
17000
90bb2039
UD
17001 [BZ #12852]
17002 * posix/glob.c (glob): Check passed in values before using them in
17003 expressions to avoid some overflows.
17004 (glob_in_dir): Likewise.
17005
5644ef54
UD
17006 [BZ #13007]
17007 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17008 check for AVX enablement so that we don't crash with old kernels and
17009 new hardware.
17010 * elf/tst-audit4.c: Add same checks here.
17011 * elf/tst-audit6.c: Likewise.
17012
17013 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17014
bfc9dc9b
AS
170152011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17016
17017 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17018
702e64bb
UD
170192011-07-20 Ulrich Drepper <drepper@gmail.com>
17020
17021 * po/cs.po: Update from translation team.
17022 * po/bg.po: Likewise.
17023
295e904f
MP
170242011-07-12 Marek Polacek <mpolacek@redhat.com>
17025
17026 * misc/sys/cdefs.h: Add support for const attribute.
17027 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17028 to gnu_dev_{major,minor,makedev} functions.
17029
3ff94596
MP
170302011-07-20 Marek Polacek <mpolacek@redhat.com>
17031
17032 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17033
28b59fca
AS
170342011-07-20 Andreas Schwab <schwab@redhat.com>
17035
17036 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17037 strlen results.
17038
19df733e
AK
170392011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17040
17041 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17042 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17043 register in order to avoid conflicts with the soft frame pointer
17044 being held in r11 when necessary.
17045 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17046 (INTERNAL_VSYSCALL_NCS): Likewise.
17047
c8835729
MP
170482011-07-14 Marek Polacek <mpolacek@redhat.com>
17049
17050 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17051 * elf/dl-fini.c (_dl_fini): Adjust caller.
17052 * elf/dl-close.c (_dl_close_worker): Likewise.
17053 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17054
b902330c
MP
170552011-07-15 Marek Polacek <mpolacek@redhat.com>
17056
8991e135
MP
17057 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17058 "aux_cache->nlibs < 0".
17059
b902330c
MP
17060 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17061 in the reload-count case.
17062
99710781
LD
170632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17064
17065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17066 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17067 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17068 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17069 * sysdeps/x86_64/multiarch/strcat.S: New file.
17070 * sysdeps/x86_64/multiarch/strncat.S: New file.
17071 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17072 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17073 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17074 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17075 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17076 (USE_AS_STRCAT): Define.
17077 Add strcat and strncat support.
17078 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17079 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17080 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17081 * string/strncat.c: Update.
17082 (USE_AS_STRNCAT): Define.
17083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17084 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17085 and i7.
17086 * sysdeps/x86_64/multiarch/init-arch.h
17087 (bit_Prefer_PMINUB_for_stringop): New.
17088 (index_Prefer_PMINUB_for_stringop): Likewise.
17089 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17090 bit_Prefer_PMINUB_for_stringop.
17091
7dc6bd90
UD
170922011-07-19 Ulrich Drepper <drepper@gmail.com>
17093
17094 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17095 buffer64.
17096 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17097 of casting of buffer.
17098 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17099 buffer32 and buffer64.
17100 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17101 writes instead of casting of buffer.
17102 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17103 buffer32.
17104 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17105 casting of buffer.
17106
e0e72284
AS
171072011-07-19 Andreas Schwab <schwab@redhat.com>
17108
17109 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17110
feb1eb0b
UD
171112011-07-19 Ulrich Drepper <drepper@gmail.com>
17112
17113 * nscd/nscd.c (termination_handler): Don't do anything for a database
17114 if it has not yet been initialized.
17115
298711ff
UD
171162011-07-18 Ulrich Drepper <drepper@gmail.com>
17117
17118 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17119
171202011-07-15 Marek Polacek <mpolacek@redhat.com>
17121
17122 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17123
f9d68389
UD
171242011-07-18 Ulrich Drepper <drepper@gmail.com>
17125
17126 * po/nl.po: Update from translation team.
17127 * po/sv.po: Likewise.
17128
db290cf5
RM
171292011-07-16 Roland McGrath <roland@hack.frob.com>
17130
17131 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17132 now disallowed by GCC.
5c550700 17133
fd5e21c7
RM
17134 * configure.in (use-default-link): Default to yes if a test -shared
17135 link meets our qualifications.
17136 * configure: Regenerated.
17137
5c550700
RM
17138 * config.make.in (output-format): New variable.
17139 * configure.in: Check for ld --print-output-format support.
17140 * configure: Regenerated.
17141 * Makerules ($(common-objpfx)format.lds)
17142 [$(output-format) != unknown]: Just use $(output-format),
17143 instead of the linker-script munging.
17144
9fa2c032
RM
171452011-07-14 Roland McGrath <roland@hack.frob.com>
17146
a6928d51
RM
17147 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17148 of $(common-objpfx)shlib.lds.
17149 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17150
661607b3
RM
17151 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17152 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17153
9fa2c032
RM
17154 * configure.in (-z relro check): Adjust test code to add a large
17155 writable data section after it.
17156 * configure: Regenerated.
17157
defe9061
RM
171582011-07-11 Roland McGrath <roland@hack.frob.com>
17159
17160 * configure.in (-z relro check): Fix test code to make the variable
17161 truly const.
17162 * configure: Regenerated.
17163
319b9ad4
UD
171642011-07-11 Ulrich Drepper <drepper@gmail.com>
17165
17166 * nscd/nscd.h (struct traced_file): Define.
17167 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17168 elements. Add traced_files.
17169 (inotify_fd): Declare.
17170 (register_traced_file): Declare.
17171 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17172 (inotify_fd): Export.
17173 (resolv_conf_descr): Remove.
17174 (nscd_init): Move inotify descriptor creation to main.
17175 Don't register files for notification here.
17176 (register_traced_file): New function.
17177 (invalidate_cache): Don't use reset_res to determine whether to call
17178 res_init, go through the list of registered files.
17179 (main_loop_poll): The inotify descriptors are now stored in the
17180 structures for the traced files.
17181 (main_loop_epoll): Likewise
17182 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17183 to __nss_disable_nscd.
17184 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17185 for a database anymore. Check the records for all the registered
17186 files instead.
17187 * nss/Makefile (libnss_files-routines): Add files-init.
17188 (libnss_db-routines): Add db-init.
17189 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17190 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17191 * nss/nss_db/db-init.c: New file.
17192 * nss/nss_files/files-init.c: New file.
17193 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17194 __nss_lookup_function.
17195 (__nss_lookup_function): Call nss_load_library.
17196 (nss_load_all_libraries): New function.
17197 (__nss_disable_nscd): Take parameter with callback function for files
17198 to register. Set is_nscd. Load all the DSOs for the NSS modules
17199 used for the cached services.
17200 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17201 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17202 options for features to all the files in nscd.
17203
17204 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17205
23bee3e8
RM
172062011-07-10 Roland McGrath <roland@hack.frob.com>
17207
17208 * csu/elf-init.c (__libc_csu_init): Comment typo.
17209
46a5b7f0
UD
172102011-07-09 Ulrich Drepper <drepper@gmail.com>
17211
17212 * po/pl.po: Update from translation team.
17213 * po/ja.po: Likewise.
17214 * po/ru.po: Likewise.
17215 * po/ko.po: Likewise.
17216 * po/fr.po: Likewise.
17217
d30cf5bb
RM
172182011-07-09 Roland McGrath <roland@hack.frob.com>
17219
113ddea4
RM
17220 * configure.in (.ctors/.dtors header and trailer check):
17221 Use an empirical test on a built program.
17222 * configure: Regenerated.
17223
574920b4
RM
17224 * configure.in (-z relro check): Use an empirical test on a built DSO.
17225 Detect, but do not require, on ia64.
17226 * configure: Regenerated.
17227
d30cf5bb
RM
17228 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17229 Update tests that use readelf to use $READELF instead.
17230 * configure: Regenerated.
17231
8538fdb3
UD
172322011-07-08 Ulrich Drepper <drepper@gmail.com>
17233
17234 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17235 if the result is not used.
17236
04d08991
AJ
172372011-07-05 Andreas Jaeger <aj@suse.de>
17238
17239 [BZ#9696]
17240 * stdlib/tst-strtod.c: Add testcase.
17241
de283087
AD
172422011-07-07 Ulrich Drepper <drepper@gmail.com>
17243
4e5f31c8 17244 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17245 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17246 The latter has a higher limit. Take additional parameter to pass to
17247 the new function.
17248 (__pathconf): Pass file to __statfs_link_max.
17249 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17250 __statfs_link_max.
17251 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17252 __statfs_link_max.
17253
de283087
AD
17254 [BZ #12868]
17255 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17256 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17257 Handle Lustre.
17258 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17259 (__statfs_filesize_max): Likewise.
17260 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17261
c75fa153
AJ
172622011-07-05 Andreas Jaeger <aj@suse.de>
17263
17264 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17265
1a544854
UD
172662011-07-06 Marek Polacek <mpolacek@redhat.com>
17267
17268 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17269 `status' variable.
17270 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17271 Likewise.
17272
6f0eec67
UD
172732011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17274
17275 * Makefile (strop-tests): Add strncat.
17276 * string/test-strncat.c: New file.
17277
aae30307
UD
172782011-06-30 Marek Polacek <mpolacek@redhat.com>
17279
17280 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17281
c0cfb5eb
UD
172822011-06-21 Andreas Jaeger <aj@suse.de>
17283
17284 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17285 Copy rule from iconvdata/Makefile.
17286
01636b21
UD
172872011-07-06 Ulrich Drepper <drepper@gmail.com>
17288
17289 [BZ #12922]
17290 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17291 but no long options are defined, just return 'W'.
17292
9895c8bc
UD
172932011-06-22 Marek Polacek <mpolacek@redhat.com>
17294
17295 [BZ #9696]
17296 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17297
5d4cf042
UD
172982011-07-06 Ulrich Drepper <drepper@gmail.com>
17299
17300 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17301 netgroups to read.
960e5535 17302 (innetgr): Likewise.
5d4cf042 17303
751eb97e
RM
173042011-07-05 Roland McGrath <roland@hack.frob.com>
17305
17306 * config.make.in (install_root): Default to $(DESTDIR).
17307
f15f1e45
UD
173082011-07-05 Ulrich Drepper <drepper@gmail.com>
17309
17310 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17311
4e34ac6a
RM
173122011-07-02 Roland McGrath <roland@hack.frob.com>
17313
5e9b6af4
RM
17314 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17315
84f9ea0f
RM
17316 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17317 containing directory rather than embedding absolute directory names.
17318
ea5ee9f7
RM
17319 * scripts/check-local-headers.sh: Rewritten using awk.
17320 Match by word, not by line. Print error messages for matches.
17321 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17322
1b74661a
RM
17323 * Makerules [shlib-lds-flags empty]:
17324 ($(common-objpfx)libc_pic.opts): New target.
17325 ($(common-objpfx)libc_pic.os.clean): New target.
17326 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17327
17328 * config.make.in (OBJCOPY): New variable.
17329 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17330 * configure: Regenerated.
17331
f781ef40
RM
17332 * config.make.in (use-default-link): New variable.
17333 * configure.in (use_default_link): Grok --with-default-link to set it.
17334 * configure: Regenerated.
17335 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17336 (shlib-lds, shlib-lds-flags): Define to empty.
17337
2d4fa81e
RM
17338 * Makerules (shlib-lds): New variable.
17339 (shlib-lds-flags): New variable.
17340 (build-shlib, build-moduile, build-module-asneeded): Use it.
17341 ($(common-objpfx)libc.so): Use $(shlib-lds).
17342 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17343 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17344
31fffa6b
RM
17345 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17346 DT_FLAGS/DT_FLAGS_1 with zero flags.
17347
4e34ac6a
RM
17348 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17349 linker script munging.
17350
fcfc776b
UD
173512011-07-02 Ulrich Drepper <drepper@gmail.com>
17352
17353 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17354 as 128-bit value.
17355 * crypt/sha512.c (sha512_process_block): Perform total addition using
17356 128-bit if possible.
17357 (__sha512_finish_ctx): Likewise.
17358 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17359 as 64-bit value.
17360 * crypt/sha256.c (SWAP64): Define.
17361 (sha256_process_block): Perform total addition using 64-bit if
17362 possible.
17363 (__sha256_finish_ctx): Likewise.
17364
99231d9a
UD
173652011-07-01 Ulrich Drepper <drepper@gmail.com>
17366
17367 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17368 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17369 * nscd/hstcache.c (cache_addhst): Likewise.
17370 * nscd/grpcache.c (cache_addgr): Likewise.
17371 * nscd/aicache.c (addhstaiX): Likewise
17372 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17373
445b4a53
TK
173742011-07-01 Thorsten Kukuk <kukuk@suse.de>
17375
17376 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17377 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17378 * nscd/hstcache.c (cache_addhst): Likewise.
17379 * nscd/grpcache.c (cache_addgr): Likewise.
17380 * nscd/aicache.c (addhstaiX): Likewise
17381
6d4d8e8e
AS
173822011-07-01 Andreas Schwab <schwab@redhat.com>
17383
17384 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17385 domain only when needed.
17386
89f654c5
AS
173872011-06-30 Andreas Schwab <schwab@redhat.com>
17388
17389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17390 is always restored.
17391
cf3b23ff
UD
173922011-06-29 Ulrich Drepper <drepper@gmail.com>
17393
17394 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17395 are re-adding the entry.
17396 * nscd/servicescache.c (cache_addserv): Likewise.
17397
751626f9
AJ
173982011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17399
17400 * sysdeps/generic/dl-irel.h: fix protection against multiple
17401 inclusions.
17402 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17403
9113ea1f
UD
174042011-06-28 Ulrich Drepper <drepper@gmail.com>
17405
5c0b8d90
UD
17406 [BZ #12935]
17407 * malloc/memusage.sh: Fix quoting in message.
17408 * debug/xtrace.sh: Likewise.
17409
9113ea1f
UD
17410 * configure.in: Remove support for --experimental-malloc option, make
17411 it the default.
17412 * config.make.in: Likewise.
17413 * malloc/Makefile: Likewise.
17414
a4172181
AS
174152011-06-27 Andreas Schwab <schwab@redhat.com>
17416
17417 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17418 two-byte characters.
17419
78a7eee7
RM
174202011-06-27 Roland McGrath <roland@hack.frob.com>
17421
62bede13
RM
17422 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17423 AC_CACHE_CHECK invocation.
17424 * configure: Regenerated.
17425
78a7eee7
RM
17426 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17427
5ce33a62
UD
174282011-06-27 Ulrich Drepper <drepper@gmail.com>
17429
034807a9
UD
17430 [BZ #12350]
17431 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17432 bit from old_res_options.
17433
4902da17
UD
17434 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17435
5ce33a62
UD
17436 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17437 value type for setfct.
17438
c2344f56
L
174392011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17440
17441 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17442 __gettimeofday instead of gettimeofday.
17443
68468076
UD
174442011-06-26 Ulrich Drepper <drepper@gmail.com>
17445
17446 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17447
acb0d739
L
174482011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17449
17450 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17451
17452 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17453 info.
17454
8912479f
L
174552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17456
17457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17458 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17459 strcpy-sse2-unaligned strncpy-sse2-unaligned
17460 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17461 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17462 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17463 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17464 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17465 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17466 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17467 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17468 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17469 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17470 (STRCPY): Support SSE2 and SSSE3 versions.
17471
d5495a11
UD
174722011-06-24 Ulrich Drepper <drepper@gmail.com>
17473
17474 [BZ #12874]
17475 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17476 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17477 kernels which artificially limit size of requests.
17478
0b1cbaae
L
174792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17480
17481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17482 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17483 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17484 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17485 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17486 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17487 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17488 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17489 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17490 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17491 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17492 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17493 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17494 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17495 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17497 Enable unaligned load optimization for Intel Core i3, i5 and i7
17498 processors.
17499 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17500 Define.
17501 (index_Fast_Unaligned_Load): Define.
17502 (HAS_FAST_UNALIGNED_LOAD): Define.
17503
07f494a0
MP
175042011-06-23 Marek Polacek <mpolacek@redhat.com>
17505
17506 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17507
fa3fc0fe
UD
175082011-06-22 Ulrich Drepper <drepper@gmail.com>
17509
17510 [BZ #12907]
17511 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17512 until it is clear that the information is realy needed.
17513 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17514
e12df166
AS
175152011-06-22 Andreas Schwab <schwab@redhat.com>
17516
17517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17518
852eb34d
UD
175192011-06-22 Ulrich Drepper <drepper@gmail.com>
17520
84e2a551
UD
17521 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17522 /sys/devices/system/cpu/online if it is usable.
17523
852eb34d
UD
17524 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17525 reading the information from the /proc filesystem to once a second.
17526
6e502e19
UD
175272011-06-21 Andreas Jaeger <aj@suse.de>
17528
17529 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17530 NULL after inclusion of kernel headers.
17531
75d39ff2
UD
175322011-06-21 Ulrich Drepper <drepper@gmail.com>
17533
51f9aa6a
UD
17534 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17535 calls to internal_setent.
17536
c0244a9d
UD
17537 [BZ #12885]
17538 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17539 addresses using gethostbyname4_r ignore IPv4 addresses.
17540
c5e3c2ae
UD
17541 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17542 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17543
75d39ff2
UD
17544 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17545
42675c6f
DM
175462011-06-20 David S. Miller <davem@davemloft.net>
17547
17548 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17549 inclusions.
17550 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17551
17552 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17553 (elf_irel): Use it.
17554 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17555 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17556 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17557 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17558 * sysdeps/x86_64/dl-irel.h: Likewise.
17559
17560 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17561 * elf/dl-sym.c: Likewise.
17562
57912a71
UD
175632011-06-15 Ulrich Drepper <drepper@gmail.com>
17564
17565 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17566 need to dereference resplen2.
17567
ee22793d
AS
175682011-06-14 Andreas Schwab <schwab@redhat.com>
17569
17570 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17571
a9e836b0
UD
175722011-06-15 Ulrich Drepper <drepper@gmail.com>
17573
77fb9117
UD
17574 * Makeconfig: Define vardbdir and inst_vardbdir.
17575 * nss/Makefile: Add rules to install db-Makefile.
17576
40c1b22c
UD
17577 * nss/nss_db/db-XXX.c: Cleanup.
17578
9f2da732
UD
17579 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17580 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17581 GLIBC_PRIVATE.
17582 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17583 * nss/makedb.c: Implement -g option to specify that value strings
17584 are generated and should not be added to table iterated over for
17585 get*ent calls.
17586 * nss/nss_db/db-initgroups.c: New file.
17587
82e9a1f7
UD
17588 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17589 interface.
17590
c41af17e
UD
17591 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17592 (internal_getgrouplist): Adjust to name change.
17593 Update use_initgroups_entry if this is not the first call.
17594 * nss/databases.def: Add initgroups entry.
17595
a9e836b0
UD
17596 * nss/makedb.c (compute_tables): Check result of multiple hash table
17597 sizes to minimize maximum chain length.
17598
2666d441
UD
175992011-06-14 Ulrich Drepper <drepper@gmail.com>
17600
17601 * Versions.def: Add entry for libnss_db.
17602 * shlib-versions: Likewise.
17603 * nss/Makefile: Add rules to build libnss_db.
17604 * nss/Versions: Add libnss_db information. Organize libnss_files
17605 entries better.
17606 * nss/db-Makefile: Add gshadow support. Change rules for the new
17607 makedb progra. Some minor improvements to generate smaller files.
17608 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17609 here from...
17610 * nss/makedb.c: ...here.
17611 Improve database format to be smaller and require less memory at
17612 runtime.
17613 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17614 db anymore.
17615 * nss/nss_db/db-netgrp.c: Likewise.
17616 * nss/nss_db/db-open.c: Likewise.
17617 * nss/nss_files/flies-XXX.x: Adjust comments.
17618 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17619 * nss/nss_files/files-grp.c: Likewise.
17620 * nss/nss_files/files-hosts.c: Likewise.
17621 * nss/nss_files/files-network.c: Likewise.
17622 * nss/nss_files/files-proto.c: Likewise.
17623 * nss/nss_files/files-pwd.c: Likewise.
17624 * nss/nss_files/files-rpc.c: Likewise.
17625 * nss/nss_files/files-service.c: Likewise.
17626 * nss/nss_files/files-sgrp.c: Likewise.
17627 * nss/nss_files/files-spwd.c: Likewise.
17628 * nss/nss_db/db-alias.c: Removed.
17629 * nss/nss_db/dummy-db.h: Removed.
17630
9ee76b5a
UD
176312011-06-02 Ulrich Drepper <drepper@gmail.com>
17632
17633 * nss/makedb.c: Rewritten to not use database library.
17634 * nss/Makefile: Update to build new makedb program.
17635
c71ca1f8
AJ
176362011-06-14 Andreas Jaeger <aj@suse.de>
17637
17638 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17639 memset declaration.
17640
3154bfb8
UD
176412011-06-10 Andreas Schwab <schwab@redhat.com>
17642
17643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17644 tmpbuf.
17645
b350afab
RM
176462011-06-10 Roland McGrath <roland@hack.frob.com>
17647
decd4e50
RM
17648 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17649 * elf/Makefile ($(objpfx)ld.so): Likewise.
17650
5615eaf2
RM
17651 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17652 Don't list ld.so twice in dependencies.
17653
17654 * posix/bug-regex31.c: Include <stdlib.h>.
17655
17656 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17657
17658 * nis/nss_compat/compat-spwd.c
17659 (getspent_next_nss_netgr): Remove unused variable.
17660 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17661
17662 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17663 nonmembers" output to use the right array.
17664
17665 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17666
17667 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17668
17669 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17670 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17671 * catgets/gencat.c (read_input_file): Likewise.
17672 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17673
17674 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17675 variable definition inside #if's controlling its use.
17676
17677 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17678
17679 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17680
17681 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17682
17683 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17684 unreachable code.
17685
17686 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17687
b68e08db
RM
17688 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17689 * configure: Regenerated.
17690
b350afab
RM
17691 * Makerules: Revert last change.
17692 * elf/Makefile: Likewise.
17693
28368601
RM
176942011-06-09 Roland McGrath <roland@hack.frob.com>
17695
17696 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17697 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17698 (reloc-link): Likewise.
17699
11988f8f
UD
177002011-06-09 Ulrich Drepper <drepper@gmail.com>
17701
17702 * elf/Makefile: Add rules to build pldd.
17703 * elf/pldd.c: New file.
17704 * elf/pldd-xx.c: New file.
17705
e80fab37
UD
177062011-06-07 Ulrich Drepper <drepper@gmail.com>
17707
17708 * version.h: Update for 2.15 development version.
17709
9b849836
DM
177102011-06-07 David S. Miller <davem@davemloft.net>
17711
17712 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17713 ifuncs.
17714 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17715 elf_machine_lazy_rel): Likewise.
17716 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17717 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17718 elf_machine_lazy_rel): Likewise.
17719 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17720 dl_hwcap via passed in argument.
17721 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17722 Likewise.
17723
5a31b283
AK
177242011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17725
17726 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17727
069e52f8
RM
177282011-06-06 Roland McGrath <roland@hack.frob.com>
17729
17730 [BZ #12849]
17731 * manual/fdl-1.1.texi: New file, verbatim from:
17732 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17733 * manual/lgpl-2.1.texi: New file, verbatim from:
17734 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17735 * manual/Makefile (licenses): New variable, list those new file names.
17736 (texis): Use it.
17737 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17738
17739 * manual/fdl.texi: File removed.
17740 * manual/lesser.texi: File removed.
17741 * manual/libc.texinfo (Copying, Documentation License):
17742 Use new @include file names, put @appendix directive before @include.
17743
f16846a5
JJ
177442011-06-04 Jakub Jelinek <jakub@redhat.com>
17745
17746 [BZ #12841]
17747 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17748 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17749 (mq_open): Add __NTH.
17750
3d29045b
L
177512011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17752
17753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17754 Assume Intel Core i3/i5/i7 processor if AVX is available.
17755
8c297311
UD
177562011-05-31 Ulrich Drepper <drepper@gmail.com>
17757
17758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17759 typo.
17760
c8fc0c91
UD
177612011-05-31 Andreas Schwab <schwab@redhat.com>
17762
17763 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17764 memory. Use alloca_account. Fix memory leak when retrying.
17765
5b27a807
UD
177662011-05-31 Ulrich Drepper <drepper@gmail.com>
17767
356f8bc6
UD
17768 * version.h (RELEASE): Bump for 2.14 release.
17769 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17770
5b27a807
UD
17771 * config.make.in (RANLIB): Remove entry.
17772
01f16ab0
UD
177732011-05-30 Ulrich Drepper <drepper@gmail.com>
17774
41fce8bd
UD
17775 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17776 (libc.pot): Work around missing support for .ksh extension in xgettext.
17777
4769ae77
UD
17778 [BZ #12684]
17779 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17780 if both request failed.
17781 (send_dg): In case of server errors clear resplen or *resplen2.
17782
6b1e7d19
UD
17783 [BZ #12454]
17784 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17785 when there are multiple maps.
17786 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17787 (_dl_fini): Remove test here.
17788
01f16ab0
UD
17789 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17790
b1ebd700
UD
177912011-05-29 Ulrich Drepper <drepper@gmail.com>
17792
7ae22829
UD
17793 [BZ #12350]
17794 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17795 bit from old_res_options.
17796 (gaih_inet): Likewise.
17797
553149f6 17798 [BZ #11099]
18a84741 17799 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17800 as signed.
17801
652ffab1
UD
17802 * resolv/res_init.c (res_setoptions): Make the code more compact.
17803
16985fd0
UD
17804 [BZ #11558]
17805 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17806 set RES_USEVC.
17807
0464f746
UD
17808 [BZ #11634]
17809 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17810
7d17596c
UD
17811 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17812
cf6bbbd7
UD
17813 [BZ #11781]
17814 * malloc/malloc.h: Declare malloc hook variables as volatile.
17815
13f1ab36
UD
17816 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17817 in last patch.
17818
b1ebd700
UD
17819 [BZ #11799]
17820 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17821 raise in the comment.
80e2212d
UD
17822 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17823 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17824 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17825
ce67228d
UD
178262011-05-28 Ulrich Drepper <drepper@gmail.com>
17827
8887a920
UD
17828 [BZ #12811]
17829 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17830 grow the buffers more if it already has to be sufficient.
17831 (build_wcs_upper_buffer): Likewise.
17832 * posix/regexec.c (check_matching): Likewise.
17833 (clean_state_log_if_needed): Likewise.
17834 (extend_buffers): Don't enlarge buffers beyond size of the input
17835 buffer.
17836 Patches mostly by Emil Wojak <emil@wojak.eu>.
17837 * posix/bug-regex32.c: New file.
17838 * posix/Makefile (tests): Add bug-regex32.
17839
4f031072
UD
17840 * locale/findlocale.c (_nl_find_locale): Return right away if
17841 _nl_explode_name failed.
17842 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17843
d0478f0c
UD
17844 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17845
de81b246
UD
17846 * debug/xtrace.sh: Unify messages.
17847 * malloc/memusage.sh: Likewise.
17848
c738465a
UD
17849 [BZ #12813]
17850 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17851 time symbol from vDSO. Substitute with vsyscall if not available.
17852 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17853 __vdso_time.
17854
f1f929d7
UD
17855 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17856 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17857 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17858 Add sendmmsg and internal_sendmmsg.
17859 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17860 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17861 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17862
ce67228d
UD
17863 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17864 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17865 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17866
e57420c6
UD
178672011-05-27 Ulrich Drepper <drepper@gmail.com>
17868
a8509ca5
UD
17869 [BZ #12813]
17870 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17871 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17872 available.
17873 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17874 __vdso_getcpu.
17875
e57420c6
UD
17876 [BZ #12814]
17877 * iconvdata/Makefile (tests): Add bug-iconv9.
17878 * iconvdata/bug-iconv9.c: New file.
17879
4d07db15
AS
178802011-05-27 Andreas Schwab <schwab@redhat.com>
17881
17882 [BZ #12814]
17883 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17884
ea486f69
JJ
178852011-05-25 Jakub Jelinek <jakub@redhat.com>
17886
17887 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17888 (struct user_regs_struct): Change intcs field back to cs.
17889
6f038433
UD
178902011-05-25 Ulrich Drepper <drepper@gmail.com>
17891
17892 * po/ja.po: Update from translation team.
17893
67f86a25
UD
178942011-05-23 Ulrich Drepper <drepper@gmail.com>
17895
17896 [BZ #12795]
17897 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17898 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17899
def7fbd6
AS
179002011-05-20 Andreas Schwab <schwab@redhat.com>
17901
17902 * stdlib/longlong.h: Update from GCC.
17903
f50ef8f1
AS
179042011-05-23 Andreas Schwab <schwab@redhat.com>
17905
17906 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17907 parameter name.
17908 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17909 Add parameter name.
17910 (__sysconf): Pass it down.
17911
de7ce8f1
UD
179122011-05-22 Ulrich Drepper <drepper@gmail.com>
17913
f2962a71
UD
17914 [BZ #12671]
17915 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17916 some situations.
17917 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17918 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17919 add in in __libc_use_alloca calls. Adjust callers.
17920 (glob): Use malloc in some situations.
17921
de7ce8f1
UD
17922 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17923 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17924 pltexit.
17925
aec84f53
UD
179262011-05-21 Ulrich Drepper <drepper@gmail.com>
17927
05bb4a68
UD
17928 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17929 and CLOCK_BOOTTIME_ALARM.
17930
7ea72f99
UD
17931 [BZ #12782]
17932 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17933 is returned.
17934
7e4afad5
UD
17935 * string/_strerror.c (__strerror_r): Print negative errors as signed
17936 numbers.
17937
8e211fec
UD
17938 [BZ #12777]
17939 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17940 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17941 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17942
f7d82dc9
UD
17943 * configure.in: Fix typo in redirection and correct removal of test
17944 files in two cases.
17945
cc9e536d
UD
17946 [BZ #12788]
17947 * locale/setlocale.c (new_composite_name): Fix test to check for
17948 identical name of all categories.
17949
aec84f53
UD
17950 [BZ #12792]
17951 * libio/filedoalloc.c (local_isatty): New function.
17952 (_IO_file_doallocate): Use local_isatty.
17953 * stdio-common/perror.c (perror): In case a new stream is used
17954 forward the stream error.
17955 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17956 error flag.
17957
78e64fdc
RT
179582011-05-20 Ulrich Drepper <drepper@gmail.com>
17959
34a9094f
UD
17960 [BZ #11869]
17961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17962 alloca.
17963 * include/alloca.h (extend_alloca_account): Define.
17964
78e64fdc
RT
17965 [BZ #11857]
17966 * posix/regex.h: Fix comments with documentation of user-accessible
17967 fields after compilation and describe correct free'ing of pattern
17968 after re_compile_pattern.
17969 Patch by Reuben Thomas <rrt@sc3d.org>.
17970
457bddfc
RA
179712011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17972
17973 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17974 and -mno-altivec to prevent the compiler from using Altivec and/or
17975 VSX instructions when the corresponding registers are not available.
17976
a4527b51
AS
179772011-05-19 Andreas Schwab <schwab@redhat.com>
17978
17979 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17980
ed690b2f
UD
179812011-05-19 Ulrich Drepper <drepper@gmail.com>
17982
17983 * libio/freopen.c (freopen): Use __dup2, not dup2.
17984 * libio/freopen64.c (freopen64): Likewise.
17985
8db73634
L
179862011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17987
17988 [BZ #12775]
17989 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17990 * math/Makefile (tests): Add test-powl.
17991 (CFLAGS-test-powl.c): Define.
17992 * math/test-powl.c: New file.
17993
0a197a9d
L
179942011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17995
17996 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17997
ee30c380
UD
179982011-05-17 Ulrich Drepper <drepper@gmail.com>
17999
18000 [BZ #11837]
18001 * iconvdata/gb18030.c: Update to GB18020-2005.
18002
6ce75379
UD
180032011-05-16 Ulrich Drepper <drepper@gmail.com>
18004
a4b89fd8
AR
18005 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18006 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18007 Patch by Aharon Robbins <arnold@skeeve.com>.
18008
ea389b12
UD
18009 [BZ #11892]
18010 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18011 on the stack.
18012
68a3f91f
UD
18013 [BZ #11895]
18014 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18015 through underflows.
18016
15cc7dd1
UD
18017 [BZ #12766]
18018 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18019 point to strings before performing equality test for error_one_per_line
18020 mode.
18021
f3799213
UD
18022 [BZ #11697]
18023 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18024
d79a9c94
UD
18025 [BZ #11820]
18026 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18027 (struct user_fpregs_struct): Avoid __uint*_t types.
18028
56e5eb46
UD
18029 [BZ #6420]
18030 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18031 symbol info. Use it instead of calling _dl_addr locally.
18032 (lock_and_info): New function.
18033 (tr_freehook): Call lock_and_info and pass symbol info as additional
18034 parameter to tr_where.
18035 (tr_mallochook): Likewise.
18036 (tr_reallochook): Likewise.
18037 (tr_memalignhook): Likewise.
18038
6ce75379
UD
18039 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18040 used and couldn't be at all thread-safe.
18041
f8a3b5bf
UD
180422011-05-15 Ulrich Drepper <drepper@gmail.com>
18043
94b7cc37
UD
18044 * libio/freopen.c (freopen): Don't close old file descriptor
18045 before the new one is opened. Instead dup the new file descriptor
18046 to the old one after the new stream is created.
18047 * libio/freopen64.c (freopen64): Likewise.
18048 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18049 * libio/fileops.c (_IO_new_file_close_it): Handle new
18050 _IO_FLAGS2_NOCLOSE flag.
18051 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18052 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18053 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18054 _IO_FLAGS2_NOCLOSE flag.
18055 * include/unistd.h: Add hidden_proto for dup3.
18056 Define __have_dup3.
18057 * io/dup3.c: Define hidden symbol.
18058 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18059
bd25564e
UD
18060 [BZ #7101]
18061 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18062 when an incomplete long option is used.
18063 * posix/tst-getopt_long1.c: New file.
18064 * posix/Makefile (tests): Add tst-getopt_long1.
18065
c84cfef4
UD
18066 [BZ #10138]
18067 * scripts/config.guess: Update from autoconf-2.68.
18068 * scripts/config.sub: Likewise.
18069
3b85df27
UD
18070 [BZ #10157]
18071 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18072 tests into ...
18073 (has_cpuclock): ...this. New function.
18074 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18075 macro here based on has_cpuclock code.
18076
15a856b1
UD
18077 [BZ #10149]
18078 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18079 First byte (not low byte) is now always NUL.
18080 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18081
05f399e6
UD
18082 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18083 Use non-cancelable interfaces.
18084
10a52685 18085 [BZ #9809]
94ecc67d
UD
18086 * locale/iso-639.def: Add entry for Sorani.
18087
f8a3b5bf
UD
18088 [BZ #11901]
18089 * include/stdlib.h: Move include protection to the right place.
18090 Define abort_msg_s. Declare __abort_msg with it.
18091 * stdlib/abort.c (__abort_msg): Adjust type.
18092 * assert/assert.c (__assert_fail_base): New function. Majority
18093 of code from __assert_fail. Allocate memory for __abort_msg with
18094 mmap.
18095 (__assert_fail): Now call __assert_fail_base.
18096 * assert/assert-perr.c: Remove bulk of implementation. Use
18097 __assert_fail_base.
18098 * include/assert.hL Declare __assert_fail_base.
18099 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18100 mmap.
18101 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18102
1af4e298
UD
181032011-05-14 Ulrich Drepper <drepper@gmail.com>
18104
f8a3b5bf 18105 [BZ #11952]
d26dfc60
MG
18106 [BZ #12453]
18107 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18108 until all modules are registered in the DTV.
18109 * elf/Makefile: Add rules to build and run tst-tls19.
18110 * elf/tst-tls19.c: New file.
18111 * elf/tst-tls19mod1.c: New file.
18112 * elf/tst-tls19mod2.c: New file.
18113 * elf/tst-tls19mod3.c: New file.
18114 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18115
2fc54d6f
UD
18116 [BZ #12083]
18117 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18118 correctly.
18119
98d76b46
UD
18120 [BZ #12601]
18121 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18122 two-byte sequence errors.
18123 * iconvdata/Makefile (tests): Add bug-iconv8.
18124 * iconvdata/bug-iconv8.c: New file.
18125
da3c19ef
UD
18126 [BZ #12626]
18127 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18128 buf2 definition.
18129
ca408c15
UD
18130 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18131
d6f67f7d
UD
18132 [BZ #12432]
18133 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18134 (dummy_getcfa): New function.
18135 (init): Get _Unwind_GetCFA address, use dummy if not found.
18136 (backtrace_helper): In recursion check, also check whether CFA changes.
18137 (__backtrace): Completely initialize arg.
18138
1af4e298 18139 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18140 storing incomplete byte sequence in state object. Avoid testing for
18141 guaranteed too small input if we know there is enough data available.
1af4e298 18142
da62f81b
AS
181432011-05-11 Andreas Schwab <schwab@redhat.com>
18144
18145 * Makeconfig (+link-pie): Indent.
18146 * Rules (binaries-pie): Define if $(have-fpie) and
18147 $(build-shared).
18148 (binaries-shared): Also filter out $(binaries-pie).
18149 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18150 * nscd/Makefile (others-pie): Add nscd.
18151 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18152 ($(objpfx)nscd): Remove command override.
18153 * login/Makefile (others-pie): Add pt_chown.
18154 ($(objpfx)pt_chown): Remove command override.
18155 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18156 remove command overrides.
18157
fcabc0f8
UD
181582011-05-13 Ulrich Drepper <drepper@gmail.com>
18159
20030ae6
UD
18160 * libio/tst_putwc.c: Fix error messages.
18161
fcabc0f8
UD
18162 [BZ #12724]
18163 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18164 currently writing and seek to current position when not.
18165 * libio/Makefile (tests): Add bug-fclose1.
18166 * libio/bug-fclose1.c: New file.
18167
320a5dc0
PB
181682011-05-12 Ulrich Drepper <drepper@gmail.com>
18169
18170 [BZ #12511]
18171 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18172 don't set DF_1_NODELETE here.
18173 (do_lookup_x): When entering new entry test for copy relocation
18174 and if necessary set DF_1_NODELETE flag.
18175 * elf/tst-unique4.cc: New file.
18176 * elf/tst-unique4.h: New file.
18177 * elf/tst-unique4lib.cc: New file.
18178 * elf/Makefile: Add rules to build and run tst-unique4.
18179 Patch by Piotr Bury <pbury@goahead.com>.
18180
22836f52
UD
181812011-05-11 Ulrich Drepper <drepper@gmail.com>
18182
f574184a
UD
18183 [BZ #12052]
18184 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18185
e1fb097f
UD
18186 [BZ #12625]
18187 * misc/mntent_r.c (addmntent): Flush the stream after the output
18188
22836f52
UD
18189 [BZ #12393]
18190 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18191 (is_trusted_path_normalize): Skip initial colon. Append slash
18192 to empty buffer. Duplicate is_trusted_path code but allow
18193 constructed patch to be prefix.
18194 (is_dst): Allow $ORIGIN followed by /.
18195 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18196 Correct testing of result of is_trusted_path_normalize
18197 (decompose_rpath): Fix warning.
18198
7b3b0b2a
UD
181992011-05-10 Ulrich Drepper <drepper@gmail.com>
18200
18201 [BZ #11257]
18202 * grp/initgroups.c (internal_getgrouplist): When we found the service
18203 list through the initgroups entry in nsswitch.conf do not always
18204 continue on a successful lookup. Don't always use the
eac80ce2 18205 __nss_group_database value if it is set.
7b3b0b2a
UD
18206 * nss/nsswitch.conf (initgroups): Change action for successful db
18207 lookup to continue for compatibility.
18208
2a81eaa5
UD
182092011-05-09 Ulrich Drepper <drepper@gmail.com>
18210
be97a69e
UD
18211 [BZ #11532]
18212 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18213 and CP774 modules.
18214 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18215 and CP774 modules.
18216 * iconvdata/tst-tables.sh: Likewise.
18217 * iconvdata/cp770.c: New file.
18218 * iconvdata/cp771.c: New file.
18219 * iconvdata/cp772.c: New file.
18220 * iconvdata/cp773.c: New file.
18221 * iconvdata/cp774.c: New file.
18222 * iconvdata/testdata/CP770: New file.
18223 * iconvdata/testdata/CP770..UTF8: New file.
18224 * iconvdata/testdata/CP771: New file.
18225 * iconvdata/testdata/CP771..UTF8: New file.
18226 * iconvdata/testdata/CP772: New file.
18227 * iconvdata/testdata/CP772..UTF8: New file.
18228 * iconvdata/testdata/CP773: New file.
18229 * iconvdata/testdata/CP773..UTF8: New file.
18230 * iconvdata/testdata/CP774: New file.
18231 * iconvdata/testdata/CP774..UTF8: New file.
18232
18233 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18234 END CHARMAP line.
18235 * iconvdata/gen-8bit-gap.sh: Likewise.
18236 * iconvdata/gen-8bit.sh: Likewise.
18237
c1e9e399
UD
18238 * locale/iso-639.def: Add ary entry.
18239
24c55fb3 18240 [BZ #11258]
96b4b1b0
UD
18241 * locale/C-translit.h.in: Add U20A1 transliteration.
18242
bdc2f971
KB
18243 [BZ #12178]
18244 * locale/iso-639.def: Add wae entry.
18245 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18246
2952b117
UD
18247 [BZ #12545]
18248 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18249 for n.
18250
2a81eaa5
UD
18251 [BZ #12711]
18252 * locale/C-translit.h.in: Add entry for U20B9.
18253 Patch by pravin.d.s@gmail.com.
18254
28377d1b
UD
182552011-05-08 Ulrich Drepper <drepper@gmail.com>
18256
7fb90fb8
UD
18257 [BZ #12713]
18258 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18259 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18260 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18261 in rtld. Use *stat64.
7fb90fb8 18262 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18263 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18264 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18265 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18266 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18267 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18268 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18269 __fstatat64 macros.
7fb90fb8
UD
18270 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18271 * dirent/rewinddir.c: Add libc_hidden_def.
18272 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18273 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18274
28377d1b
UD
18275 * include/dirent.h (__alloc_dir): Add flags parameter.
18276 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18277 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18278 __alloc_dir.
18279 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18280 from fdopendir if O_CLOEXEC is already set.
18281
66bdbaa4
AM
182822011-03-15 Alan Modra <amodra@gmail.com>
18283
18284 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18285 l_tls_firstbyte_offset non-zero. Save padding offset in
18286 l_tls_firstbyte_offset for later use.
18287 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18288 freeing static tls block.
18289
95721191
JN
182902011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18291
18292 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18293 where #ifdef was intended. The intent is to prevent ARG_MAX from
18294 being defined by the kernel headers.
18295
f87dfb1f
UD
182962011-05-07 Ulrich Drepper <drepper@gmail.com>
18297
18298 [BZ #12734]
18299 * resolv/resolv.h: Define RES_NOTLDQUERY.
18300 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18301 no-tld-query and set RES_NOTLDQUERY.
18302 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18303 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18304 modern BIND to search name as TLD unless forbidden.
18305
47c3cd7a
UD
183062011-05-07 Petr Baudis <pasky@suse.cz>
18307 Ulrich Drepper <drepper@gmail.com>
18308
18309 [BZ #12393]
18310 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18311 (is_trusted_path): ...to here.
c1e9ea35 18312 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18313 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18314 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18315
8a35c912
PP
183162011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18317
18318 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18319 __BEGIN/__END_DECLS.
18320
acd41f47
UD
183212011-05-06 Ulrich Drepper <drepper@gmail.com>
18322
18323 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18324 NSS_STATUS_NOTFOUND if no record was found.
18325
597df647
AS
183262011-05-05 Andreas Schwab <schwab@redhat.com>
18327
18328 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18329 (headers-not-in-tirpc): Remove rpc/netdb.h
18330 * resolv/netdb.h: Revert last change.
18331
b9af1301
PP
183322011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18333
18334 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18335 circular dependency between libgcc.a and libc.a.
18336
4e34d5f5
AS
183372011-05-05 Andreas Schwab <schwab@redhat.com>
18338
18339 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18340 * nis/Makefile: Don't install rpcsvc/*.
18341 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18342 instead of <rpc/types.h>.
18343 (MAXHOSTNAMELEN): Define.
18344
00ee369c
AS
183452011-05-03 Andreas Schwab <schwab@redhat.com>
18346
18347 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18348
0b592a30
MB
183492011-04-28 Maciej Babinski <mbabinski@google.com>
18350
18351 [BZ #12714]
18352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18353 gethostbyname4_r when IPv6 results are possible.
18354
6e04cbbe
UD
183552011-05-02 Ulrich Drepper <drepper@gmail.com>
18356
18357 [BZ #12723]
18358 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18359 _PC_PIPE_BUF handling.
18360
e4ecafe0
BH
183612011-04-30 Bruno Haible <bruno@clisp.org>
18362
18363 [BZ #12717]
18364 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18365 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18366 to 'int'.
18367 * inet/getnameinfo.c (getnameinfo): Likewise.
18368
125ee683
UD
183692011-04-29 Ulrich Drepper <drepper@gmail.com>
18370
18371 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18372 to groups setting in database lookup.
18373 * nss/nsswitch.conf: Add initgroups entry.
18374
b722481a
EB
183752011-04-22 Ulrich Drepper <drepper@gmail.com>
18376
18377 [BZ #12685]
18378 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18379 mode string.
18380 Patch by Eric Blake <eblake@redhat.com>.
18381
4df46dbd
L
183822011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18383
18384 * sunrpc/Makefile (need-export-routines): Add svc_run.
18385 (routines): Remove svc_run.
18386 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18387 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18388 * sunrpc/svc_run.c (svc_run): Likewise.
18389 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18390
e84142d2
UD
183912011-04-21 Ulrich Drepper <drepper@gmail.com>
18392
18393 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18394 problem in reallocation in last patch.
18395
877175d8
UD
183962011-04-20 Ulrich Drepper <drepper@gmail.com>
18397
18398 * sunrpc/Makefile: Move inclusion of Rules.
18399
ab8eed78
UD
184002011-04-19 Ulrich Drepper <drepper@gmail.com>
18401
18402 * nss/nss_files/files-initgroups.c: New file.
18403 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18404 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18405 _nss_files_initgroups_dyn.
18406
e3d8f584
RS
184072011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18408
18409 * elf/elf.h (R_ARM_IRELATIVE): Define.
18410
af190f45
UD
184112011-04-19 Ulrich Drepper <drepper@gmail.com>
18412
18413 * po/ru.po: Update from translation team.
18414
53cf59ef
UD
184152011-04-17 Ulrich Drepper <drepper@gmail.com>
18416
18417 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18418 dependencies.
18419
4c559bcd
MF
184202011-02-06 Mike Frysinger <vapier@gentoo.org>
18421
18422 [BZ #12653]
18423 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18424 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18425 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18426 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18427 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18428
4420675c
AS
184292011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18430
18431 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18432 differing bytes.
18433 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18434 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18435 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18436
75ea32ab
UD
184372011-04-17 Ulrich Drepper <drepper@gmail.com>
18438
18439 [BZ #12420]
18440 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18441 storing it.
18442 * stdlib/bug-getcontext.c: New file.
18443 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18444
27390476
AK
184452011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18446
18447 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18448 instructions into .machine "z9-109".
18449 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18450 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18451
10442705
AK
184522011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18453
18454 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18455 between environment variables and auxiliary vector.
18456
7b57bfe5
UD
184572011-04-16 Ulrich Drepper <drepper@gmail.com>
18458
18459 * Makefile: Add rules to build linkobj/libc.so.
18460 * include/libc-symbols.h: Define libc_hidden_nolink.
18461 * include/rpc/auth.h: Mark functions which are to be hidden.
18462 * include/rpc/auth_des.h: Likewise.
18463 * include/rpc/auth_unix.h: Likewise.
18464 * include/rpc/clnt.h: Likewise.
18465 * include/rpc/des_crypt.h: Likewise.
18466 * include/rpc/key_prot.h: Likewise.
18467 * include/rpc/pmap_clnt.h: Likewise.
18468 * include/rpc/pmap_prot.h: Likewise.
18469 * include/rpc/pmap_rmt.h: Likewise.
18470 * include/rpc/rpc_msg.h: Likewise.
18471 * include/rpc/svc.h: Likewise.
18472 * include/rpc/svc_auth.h: Likewise.
18473 * include/rpc/xdr.h: Likewise.
18474 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18475 * nss/Makefile: Likewise.
18476 * sunrpc/Makefile: Don't install headers. Build library with normal
18477 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18478 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18479 for the compat linking library. Remove use of INTDEF/INTUSE.
18480 * sunrpc/auth_none.c: Likewise.
18481 * sunrpc/auth_unix.c: Likewise.
18482 * sunrpc/authdes_prot.c: Likewise.
18483 * sunrpc/authuxprot.c: Likewise.
18484 * sunrpc/clnt_gen.c: Likewise.
18485 * sunrpc/clnt_perr.c: Likewise.
18486 * sunrpc/clnt_raw.c: Likewise.
18487 * sunrpc/clnt_simp.c: Likewise.
18488 * sunrpc/clnt_tcp.c: Likewise.
18489 * sunrpc/clnt_udp.c: Likewise.
18490 * sunrpc/clnt_unix.c: Likewise.
18491 * sunrpc/des_crypt.c: Likewise.
18492 * sunrpc/des_soft.c: Likewise.
18493 * sunrpc/get_myaddr.c: Likewise.
18494 * sunrpc/key_call.c: Likewise.
18495 * sunrpc/key_prot.c: Likewise.
18496 * sunrpc/netname.c: Likewise.
18497 * sunrpc/pm_getmaps.c: Likewise.
18498 * sunrpc/pm_getport.c: Likewise.
18499 * sunrpc/pmap_clnt.c: Likewise.
18500 * sunrpc/pmap_prot.c: Likewise.
18501 * sunrpc/pmap_prot2.c: Likewise.
18502 * sunrpc/pmap_rmt.c: Likewise.
18503 * sunrpc/publickey.c: Likewise.
18504 * sunrpc/rpc_cmsg.c: Likewise.
18505 * sunrpc/rpc_common.c: Likewise.
18506 * sunrpc/rpc_dtable.c: Likewise.
18507 * sunrpc/rpc_prot.c: Likewise.
18508 * sunrpc/rpc_thread.c: Likewise.
18509 * sunrpc/rtime.c: Likewise.
18510 * sunrpc/svc.c: Likewise.
18511 * sunrpc/svc_auth.c: Likewise.
18512 * sunrpc/svc_authux.c: Likewise.
18513 * sunrpc/svc_raw.c: Likewise.
18514 * sunrpc/svc_run.c: Likewise.
18515 * sunrpc/svc_simple.c: Likewise.
18516 * sunrpc/svc_tcp.c: Likewise.
18517 * sunrpc/svc_udp.c: Likewise.
18518 * sunrpc/svc_unix.c: Likewise.
18519 * sunrpc/svcauth_des.c: Likewise.
18520 * sunrpc/xcrypt.c: Likewise.
18521 * sunrpc/xdr.c: Likewise.
18522 * sunrpc/xdr_array.c: Likewise.
18523 * sunrpc/xdr_float.c: Likewise.
18524 * sunrpc/xdr_intXX_t.c: Likewise.
18525 * sunrpc/xdr_mem.c: Likewise.
18526 * sunrpc/xdr_rec.c: Likewise.
18527 * sunrpc/xdr_ref.c: Likewise.
18528 * sunrpc/xdr_sizeof.c: Likewise.
18529 * sunrpc/xdr_stdio.c: Likewise.
18530
e6c61494
UD
185312011-04-10 Ulrich Drepper <drepper@gmail.com>
18532
18533 [BZ #12650]
18534 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18535 * sysdeps/ia64/dl-tls.h: Likewise.
18536 * sysdeps/powerpc/dl-tls.h: Likewise.
18537 * sysdeps/s390/dl-tls.h: Likewise.
18538 * sysdeps/sh/dl-tls.h: Likewise.
18539 * sysdeps/sparc/dl-tls.h: Likewise.
18540 * sysdeps/x86_64/dl-tls.h: Likewise.
18541 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18542
34fe483e
AS
185432011-03-14 Andreas Schwab <schwab@redhat.com>
18544
18545 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18546 rpath element also skip the following colon.
18547 (expand_dynamic_string_token): Add is_path parameter and pass
18548 down to DL_DST_REQUIRED and _dl_dst_substitute.
18549 (decompose_rpath): Call expand_dynamic_string_token with
18550 non-zero is_path. Ignore empty rpaths.
18551 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18552 with zero is_path.
18553
f12a32e6
AS
185542011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18555
18556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18557 Make cancelable.
18558
38a7d692
UD
185592011-04-09 Ulrich Drepper <drepper@gmail.com>
18560
18561 [BZ #12655]
18562 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18563 Patch by Filipe David Manana <fdmanana@apache.org>.
18564
e451d22b
AS
185652011-04-07 Andreas Schwab <schwab@redhat.com>
18566
18567 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18568 Maintain aligned stack.
18569 (CHECK_RSP): Remove unused macro.
18570
dedc7c7b
UD
185712011-04-03 Ulrich Drepper <drepper@gmail.com>
18572
18573 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18574 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18575
94521213
UD
185762011-04-02 Ulrich Drepper <drepper@gmail.com>
18577
18578 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18579
8cb700c0 18580 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18581
0354e355
L
185822011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18583
18584 [BZ #12518]
18585 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18586 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18587 * sysdeps/x86_64/memmove.c: New file.
18588 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18589 (memcpy): Renamed to ...
18590 (__new_memcpy): This.
18591 (memcpy): Provide GLIBC_2_14 memcpy.
18592 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18593 (memcpy): Provide GLIBC_2_2_5 memcpy.
18594
8593482f
UD
185952011-04-01 Ulrich Drepper <drepper@gmail.com>
18596
18597 [BZ #12631]
18598 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18599
81a5726b
AS
186002011-03-30 Andreas Schwab <schwab@redhat.com>
18601
18602 * misc/syncfs.c: New file.
18603 * misc/Makefile (routines): Add syncfs.
18604 * posix/unistd.h: Declare syncfs.
18605 * sysdeps/unix/syscalls.list: Add syncfs.
18606
00e5419f
AS
186072011-04-01 Andreas Schwab <schwab@redhat.com>
18608
18609 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18610 open_by_handle_at.
18611 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18612 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18614 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18616 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18617 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18618
748876bf
UD
186192011-04-01 Ulrich Drepper <drepper@gmail.com>
18620
658e451d
UD
18621 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18622 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18623 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18624 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18625 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18627 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18628
748876bf
UD
18629 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18630 sync_file_range.c with -fexceptions.
18631 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18632 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18633 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18634 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18635 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18636 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18637 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18638 sync_file_range as cancellation point
18639 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18640 now a wrapper around __call_sync_file_range with cancellation handling.
18641 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18642 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18643 function name to __call_sync_file_range.
18644 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18645 Add call_sync_file_range.
748876bf 18646
6e63d5e1
AS
186472011-04-01 Andreas Schwab <schwab@redhat.com>
18648
18649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18650 bits/timex.h.
6e63d5e1 18651
46998f74
UD
186522011-04-01 Ulrich Drepper <drepper@gmail.com>
18653
4c1423ed
UD
18654 * iconv/iconv.h: Fix typo in comment.
18655 * io/fcntl.h: Likewise.
18656 * libio/stdio.h: Likewise.
18657 * posix/spawn.h: Likewise.
18658 * posix/unistd.h: Likewise.
18659 * stdlib/stdlib.h: Likewise.
18660 * time/time.h: Likewise.
18661 * wcsmbs/wchar.h: Likewise.
18662
158648c0
UD
18663 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18664 open_by_handle): Add.
18665 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18666 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18667 Augment a few comments.
18668 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18669 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18670 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18672 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18673 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18674 open_by_handle.
18675
46998f74
UD
18676 * io/fcntl.h (AT_EMPTY_PATH): Define.
18677
83fe108b
UD
186782011-03-30 Ulrich Drepper <drepper@gmail.com>
18679
18680 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18681 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18682 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18683 to...
18684 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18685 * Versions.def: Add GLIBC_2.14.
18686 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18687 Export.
83fe108b 18688
bb242059
UD
186892011-03-22 Ulrich Drepper <drepper@gmail.com>
18690
18691 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18692 round counter.
18693 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18694
c97a1282
L
186952011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18696
18697 [BZ #12597]
18698 * string/test-strncmp.c (do_page_test): New function.
18699 (check2): Likewise.
18700 (test_main): Call check2.
18701 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18702
2a115601
UD
187032011-03-20 Ulrich Drepper <drepper@gmail.com>
18704
18705 [BZ #12587]
18706 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18707 Handle cache information in CPU leaf 4.
18708 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18709
8126d904
UD
187102011-03-18 Ulrich Drepper <drepper@gmail.com>
18711
042c49c6 18712 [BZ #12583]
8126d904
UD
18713 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18714 character representation.
18715 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18716
ccfe366e
RA
187172011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18718
18719 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18720 END(__isnan) to END(__isnanf) to match function entry point/label
18721 EALIGN(__isnanf,...).
18722
c6e13027
JJ
187232011-03-10 Jakub Jelinek <jakub@redhat.com>
18724
18725 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18726
33f85a3f
UD
187272011-03-10 Ulrich Drepper <drepper@gmail.com>
18728
028478fa
UD
18729 [BZ #12510]
18730 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18731 copy from the symbol referenced in the relocation to initialize the
18732 used variable.
18733 Patch by Piotr Bury <pbury@goahead.com>.
18734 * elf/Makefile: Add rules to build and tst-unique3.
18735 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18736 * elf/tst-unique3.cc: New file.
18737 * elf/tst-unique3.h: New file.
18738 * elf/tst-unique3lib.cc: New file.
18739 * elf/tst-unique3lib2.cc: New file.
18740
33f85a3f
UD
18741 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18742
03592fc7
MF
187432011-03-10 Mike Frysinger <vapier@gentoo.org>
18744
18745 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18746 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18747 to _start.
03592fc7 18748
6a5ee102
UD
187492011-03-06 Ulrich Drepper <drepper@gmail.com>
18750
18751 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18752 to-be-loaded object along a path to loader is ld.so.
18753
7e4ba49c
HJ
187542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18755 Ulrich Drepper <drepper@gmail.com>
18756
18757 * sysdeps/x86_64/memset.S: After aligning destination, code
18758 branches to different locations depending on the value of
18759 misalignment, when multiarch is enabled. Fix this.
18760
187612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18762
18763 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18764 Set _x86_64_preferred_memory_instruction for AMD processsors.
18765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18766 Set bit_Prefer_SSE_for_memop for AMD processors.
18767
13a804de
UD
187682011-03-04 Ulrich Drepper <drepper@gmail.com>
18769
18770 * libio/fmemopen.c (fmemopen): Optimize a bit.
18771
9d25c392
AS
187722011-03-03 Andreas Schwab <schwab@redhat.com>
18773
18774 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18775
a5543c6a
RM
187762011-03-03 Roland McGrath <roland@redhat.com>
18777
18778 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18779
012d35f7
DM
187802011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18781
7e4ba49c 18782 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18783 __bzero_ultra1 instead of __memset_ultra1.
18784
4bff6e01
AS
187852011-02-23 Andreas Schwab <schwab@redhat.com>
18786 Ulrich Drepper <drepper@gmail.com>
18787
18788 [BZ #12509]
18789 * include/link.h (struct link_map): Add l_orig_initfini.
18790 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18791 returning unsuccessfully.
18792 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18793 close of a file loaded at startup, restore the original l_initfini
18794 list.
18795 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18796 list, store the pointer.
18797 * elf/Makefile ($(objpfx)noload-mem): New rule.
18798 (noload-ENV): Define.
18799 (tests): Add $(objpfx)noload-mem.
18800 * elf/noload.c: Include <memcheck.h>.
18801 (main): Call mtrace. Close all opened handles.
18802
f2092faf
AS
188032011-02-17 Andreas Schwab <schwab@redhat.com>
18804
18805 [BZ #12454]
18806 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18807 dependencies are missing.
18808
6c8a2e88
ST
188092011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18810
f2092faf 18811 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18812 Hurd needs munmap.
18813 * sysdeps/mach/hurd/ifreq.h: New file.
18814
84a42118
PB
188152011-01-27 Petr Baudis <pasky@suse.cz>
18816 Ulrich Drepper <drepper@gmail.com>
18817
071f805e 18818 [BZ 12445]#
84a42118
PB
18819 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18820 to extend_alloca().
18821 * stdio-common/bug23.c: New file.
18822 * stdio-common/Makefile (tests): Add bug23.
18823
e23fe25b
AS
188242010-09-28 Andreas Schwab <schwab@redhat.com>
18825 Ulrich Drepper <drepper@gmail.com>
18826
18827 [BZ #12489]
18828 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18829 before performing relro protection. At old place add assertion
18830 to make sure nothing changed.
18831
d3f02e10
NS
188322011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18833 Glauber de Oliveira Costa <glommer@gmail.com>
18834
18835 * elf/elf.h: Add new ARM TLS relocs.
18836
d55fd7a5
RA
188372011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18838
18839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18840 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18841 cast from r3.
18842 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18843 'tests' variable.
18844 * sysdeps/wordsize-64/tst-writev.c: New file.
18845
2206397e
RA
188462011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18847
18848 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18849 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18850 insns in _dl_start to prevent a TOC reference before relocs are
18851 resolved.
18852
e9433893
UD
188532011-02-15 Ulrich Drepper <drepper@gmail.com>
18854
18855 [BZ #12469]
18856 * Makeconfig: Remove RANLIB definition.
18857 * Makerules: Don't use RANLIB.
18858 * aclocal.m4: Remove ranlib test.
18859 * configure.in: No need to check for ranlib.
18860 * elf/rtld-Rules: Don't use RANLIB.
18861
f75286c6
ST
188622011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18863
8e31c82d
ST
18864 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18865 protection macro.
18866 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18867 inclusion protection macro.
18868
f75286c6
ST
18869 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18870 SIGRTMIN and SIGRTMAX and print information in that case only when
18871 SIGRTMIN is defined.
18872
c1d0e639
JJ
188732011-02-11 Jakub Jelinek <jakub@redhat.com>
18874
18875 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18876 arginfo fn returning -1.
18877
18878 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18879 and thousands string is zero terminated.
18880
edf9294e
AS
188812011-02-03 Andreas Schwab <schwab@redhat.com>
18882
18883 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18884 sysdeps/unix/sysv/linux/bits/socket.h.
18885
2b7e92df
ST
188862011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18887
edf9294e
AS
18888 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18889 (__CPU_COUNT): Remove old macros.
18890 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18891 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18892 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18893 (__sched_cpualloc, __sched_cpufree): Add declarations.
18894
a4c7ea7b
UD
188952011-02-05 Ulrich Drepper <drepper@gmail.com>
18896
18897 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18898 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18899 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18900 (readdhstai): Return value of addhstaiX call.
18901 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18902 (addgrbyX): Return value returned by cache_addgr.
18903 (readdgrbyname): Return value returned by addgrbyX.
18904 (readdgrbygid): Likewise.
18905 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18906 (addpwbyX): Return value returned by cache_addpw.
18907 (readdpwbyname): Return value returned by addhstbyX.
18908 (readdpwbyuid): Likewise.
18909 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18910 (addservbyX): Return value returned by cache_addserv.
18911 (readdservbyname): Return value returned by addservbyX:
18912 (readdservbyport): Likewise.
18913 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18914 (addhstbyX): Return value returned by cache_addhst.
18915 (readdhstbyname): Return value returned by addhstbyX.
18916 (readdhstbyaddr): Likewise.
18917 (readdhstbynamev6): Likewise.
18918 (readdhstbyaddrv6): Likewise.
18919 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18920 (readdinitgroups): Return value returned by addinitgroupsX.
18921 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18922 (prune_cache): Keep track of timeout value of re-added entries.
18923 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18924 * nscd/nscd.h: Adjust prototypes of readd* functions.
18925
a0bf67cc
RM
189262011-02-04 Roland McGrath <roland@redhat.com>
18927
18928 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18929 (nis_stats): Likewise.
18930 * nis/nis_modify.c (nis_modify): Likewise.
18931 * nis/nis_remove.c (nis_remove): Likewise.
18932 * nis/nis_add.c (nis_add): Likewise.
18933
18934 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18935
18936 * posix/fnmatch_loop.c: Add some consts.
18937
18938 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18939
435b95eb
L
189402011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18941
18942 [BZ #12460]
18943 * config.make.in (config-cflags-novzeroupper): Define.
18944 * configure.in: Substitute libc_cv_cc_novzeroupper.
18945 * elf/Makefile (AVX-CFLAGS): Define.
18946 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18947 (CFLAGS-tst-auditmod4a.c): Likewise.
18948 (CFLAGS-tst-auditmod4b.c): Likewise.
18949 (CFLAGS-tst-auditmod6b.c): Likewise.
18950 (CFLAGS-tst-auditmod6c.c): Likewise.
18951 (CFLAGS-tst-auditmod7b.c): Likewise.
18952 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18953
8517b15e
UD
189542011-02-02 Ulrich Drepper <drepper@gmail.com>
18955
18956 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18957 function to the callback.
18958 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18959
10a656fe
AS
189602011-02-02 Andreas Schwab <schwab@redhat.com>
18961
18962 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18963 of errno.
18964
968dad0a
UD
189652011-01-19 Ulrich Drepper <drepper@gmail.com>
18966
9f94d2ea 18967 [BZ #11724]
968dad0a
UD
18968 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18969 of constructors.
18970 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18971 of destructors.
18972 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18973
18974 [BZ #11724]
18975 * elf/Makefile: Add rules to build and run new test.
18976 * elf/tst-initorder.c: New file.
18977 * elf/tst-initorder.exp: New file.
18978 * elf/tst-initordera1.c: New file.
18979 * elf/tst-initordera2.c: New file.
18980 * elf/tst-initordera3.c: New file.
18981 * elf/tst-initordera4.c: New file.
18982 * elf/tst-initorderb1.c: New file.
18983 * elf/tst-initorderb2.c: New file.
18984 * elf/tst-order-a1.c: New file.
18985 * elf/tst-order-a2.c: New file.
18986 * elf/tst-order-a3.c: New file.
18987 * elf/tst-order-a4.c: New file.
18988 * elf/tst-order-b1.c: New file.
18989 * elf/tst-order-b2.c: New file.
18990 * elf/tst-order-main.c: New file.
18991 New test case by George Gensure <werkt0@gmail.com>.
18992
86e92359
UD
189932010-10-01 Andreas Schwab <schwab@redhat.com>
18994
18995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18996 decoding ACE if AI_CANONIDN.
18997
5d5732b0
UD
189982011-01-18 Ulrich Drepper <drepper@gmail.com>
18999
19000 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19001
a77e8cbc
UD
190022011-01-17 Ulrich Drepper <drepper@gmail.com>
19003
6392473f
UD
19004 * version.h (RELEASE): Bump for 2.13 release.
19005 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19006
620a0529
UD
19007 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19008
18ba70a5
UD
19009 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19010 MADV_NOHUGEPAGE.
32465c3e
UD
19011 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19012 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19013 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19014 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19015 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19016 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19017
c0dafcf1
UD
19018 * posix/getconf.c: Update copyright year.
19019 * catgets/gencat.c: Likewise.
19020 * csu/version.c: Likewise.
19021 * debug/catchsegv.sh: Likewise.
19022 * debug/xtrace.sh: Likewise.
19023 * elf/ldconfig.c: Likewise.
19024 * elf/ldd.bash.in: Likewise.
19025 * elf/sprof.c (print_version): Likewise.
19026 * iconv/iconv_prog.c: Likewise.
19027 * iconv/iconvconfig.c: Likewise.
19028 * locale/programs/locale.c: Likewise.
19029 * locale/programs/localedef.c: Likewise.
19030 * malloc/memusage.sh: Likewise.
19031 * malloc/mtrace.pl: Likewise.
19032 * nscd/nscd.c (print_version): Likewise.
19033 * nss/getent.c: Likewise.
19034
a77e8cbc
UD
19035 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19036 PF_CAIF, and PF_ALG.
19037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19038
77e8bddf
AS
190392011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19040
1f20b93a
AS
19041 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19042 (modules-names): Use them.
19043 (ifunc-test-modules, ifunc-pie-tests): Define.
19044 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19045 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19046 (test-extras): Likewise.
19047 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19048 $(compile-command.c).
19049 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19050 (all-built-dso): Define.
19051 (check-textrel.out, check-execstack.out): Depend on it.
19052
77e8bddf
AS
19053 * configure.in: Don't override --enable-multi-arch.
19054
bc425b33
UD
190552011-01-15 Ulrich Drepper <drepper@gmail.com>
19056
19057 [BZ #6812]
19058 * nscd/hstcache.c (tryagain): Define.
19059 (cache_addhst): Return tryagain not notfound for temporary errors.
19060 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19061 failed.
19062
794c3ad3
UD
190632011-01-14 Ulrich Drepper <drepper@gmail.com>
19064
70181fdd
UD
19065 [BZ #10563]
19066 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19067 to make the syscall.
19068 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19069
794c3ad3
UD
19070 [BZ #12378]
19071 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19072 and fall back to matching as normal character if the string ends before
19073 the matching ']' is found. This is what POSIX requires.
19074 * posix/testfnm.c: Adjust test result.
19075 * posix/globtest.sh: Adjust test result. Add new test.
19076 * posix/tst-fnmatch.input: Likewise.
19077 * posix/tst-fnmatch2.c: Add new test.
19078
68dc9497
AS
190792010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19080
19081 * elf/Makefile (check-execstack): Revert last change. Depend on
19082 check-execstack.h.
19083 (check-execstack.h): New target.
19084 (generated): Add check-execstack.h.
19085 * elf/check-execstack.c: Include "check-execstack.h".
19086 (main): Revert last change.
19087 (handle_file): Return zero if GNU_STACK is absent and
19088 DEFAULT_STACK_PERMS doesn't include PF_X.
19089
451f001b
UD
190902011-01-13 Ulrich Drepper <drepper@gmail.com>
19091
cfa28e56
UD
19092 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19093 in child fails because the descriptor is already closed.
8cf8ce17
UD
19094 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19095 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19096 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19097
1086d70d
UD
19098 [BZ #12397]
19099 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19100 syscall.
19101
451f001b
UD
19102 [BZ #10484]
19103 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19104 temporary buffer used to handle multi lookups locally.
a85b5cb4 19105 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19106
08769175
UD
191072011-01-12 Ulrich Drepper <drepper@gmail.com>
19108
19109 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19110 loader is ld.so.
19111
5e49c52e
UD
191122011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19113
19114 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19115 alignment for SSE2.
19116
60522a5f
UD
191172011-01-12 Ulrich Drepper <drepper@gmail.com>
19118
19119 [BZ #12394]
19120 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19121 characters. When rounding increased number of integer digits recompute
19122 number of groups.
19123 * stdio-common/tst-grouping.c: New file.
19124 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19125
f257bbd7
UD
191262011-01-09 Ulrich Drepper <drepper@gmail.com>
19127
19128 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19129 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19130
19131 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19132 void.
19133 * bits/select.h: Likewise.
19134
fa9c15cb
UD
191352011-01-08 Ulrich Drepper <drepper@gmail.com>
19136
19137 * po/ja.po: Update from translation team.
19138
16c2895f
DM
191392011-01-04 David S. Miller <davem@sunset.davemloft.net>
19140
19141 [BZ #11155]
19142 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19143 implementation just like for lxstat, fxstatat, et al.
19144
2543fef2
JM
191452010-12-27 Jim Meyering <meyering@redhat.com>
19146
19147 [BZ #12348]
19148 * posix/regexec.c (build_trtable): Return failure indication upon
19149 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19150
98727dbe
UD
191512010-12-25 Ulrich Drepper <drepper@gmail.com>
19152
5bd6dc5c
UD
19153 [BZ #12201]
19154 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19155 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19156 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19157 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19158
97983464
UD
19159 [BZ #12207]
19160 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19161
98727dbe
UD
19162 [BZ #12204]
19163 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19164 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19165
4a531bb0
L
191662010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19167
19168 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19169 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19170 script has SORT_BY_INIT_PRIORITY.
19171 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19172 NO_CTORS_DTORS_SECTIONS is defined.
19173 * elf/soinit.c: Likewise.
19174 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19175 NO_CTORS_DTORS_SECTIONS is defined.
19176 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19177 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19178 * sysdeps/sh/init-first.c: Likewise.
19179 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19180
07eb4b71
UD
191812010-12-24 Ulrich Drepper <drepper@gmail.com>
19182
19183 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19184 always use the slow path.
19185
30950a5f
RA
191862010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19187
19188 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19189 similar rule which adds the sysdep directories to the header search in
19190 order to pick up the correct platform stackinfo.h.
19191 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19192 perform test if it is, otherwise return successfully without testing.
19193 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19194 DEFAULT_STACK_PERMS define in stackinfo.h.
19195 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19196 defined in stackinfo.h.
19197 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19198 DEFAULT_STACK_PERMS defined in stackinfo.h.
19199 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19200 * sysdeps/ia64/stackinfo.h: Likewise.
19201 * sysdeps/s390/stackinfo.h: Likewise.
19202 * sysdeps/sh/stackinfo.h: Likewise.
19203 * sysdeps/sparc/stackinfo.h: Likewise.
19204 * sysdeps/x86_64/stackinfo.h: Likewise.
19205 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19206 PF_X for powerpc64. Retain PF_X for powerpc32.
19207
db753e2c
UD
192082010-12-19 Ulrich Drepper <drepper@gmail.com>
19209
14b697f7
UD
19210 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19211 accurately.
db753e2c
UD
19212 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19213 GETDENTS_64BIT_ALIGNED.
19214
28300719
UD
192152010-12-14 Ulrich Drepper <dreper@gmail.com>
19216
14b697f7 19217 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19218
4f197237
AS
192192010-12-10 Andreas Schwab <schwab@redhat.com>
19220
dbb0472f
AS
19221 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19222 _GNU_SOURCE.
19223
4f197237
AS
19224 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19225 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19226 Remove __restrict.
19227 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19228 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19229
fb88ac72
UD
192302010-12-09 Ulrich Drepper <drepper@gmail.com>
19231
19232 [BZ #11655]
19233 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19234 are initialized.
19235
42acbb92
JJ
192362010-12-09 Jakub Jelinek <jakub@redhat.com>
19237
19238 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19239
c038d98d
UD
192402010-12-03 Ulrich Drepper <drepper@gmail.com>
19241
19242 * po/it.po: Update from translation team.
19243
3a4a2499
L
192442010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19245
19246 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19247 unused codes.
19248
1e24cf6e
UD
192492010-11-30 Ulrich Drepper <drepper@gmail.com>
19250
19251 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19252
a7690819
AS
192532010-11-24 Andreas Schwab <schwab@redhat.com>
19254
19255 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19256 specially.
19257 (gaih_getanswer_slice): Likewise.
19258
3bf8d1b1
JJ
192592010-10-20 Jakub Jelinek <jakub@redhat.com>
19260
19261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19262
6db52fbb
PB
192632010-05-31 Petr Baudis <pasky@suse.cz>
19264
19265 [BZ #11149]
19266 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19267 silently even in the chroot mode.
19268
eaca7569
UD
192692010-11-22 Ulrich Drepper <drepper@gmail.com>
19270
19271 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19272 last patch a bit. Pretty printing
19273
3056dcdb
UD
192742010-05-31 Petr Baudis <pasky@suse.cz>
19275
19276 [BZ #10085]
19277 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19278 initialization of skip_initgroups_dyn.
19279
cf7c9078
UD
192802010-11-19 Ulrich Drepper <drepper@gmail.com>
19281
19282 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19283 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19284
a1fb5e3e
UD
192852010-11-16 Ulrich Drepper <drepper@gmail.com>
19286
19287 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19288
3540d66b
AS
192892010-11-11 Andreas Schwab <schwab@redhat.com>
19290
19291 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19292 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19293 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19294 ($(objpfx)tst-fnmatch-mem): New rule.
19295 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19296 * posix/tst-fnmatch.c (main): Call mtrace.
19297
13b69574
L
192982010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19299
19300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19301 Support Intel processor model 6 and model 0x2c.
19302
da93d214
LM
193032010-11-10 Luis Machado <luisgpm@br.ibm.com>
19304
19305 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19306 signed comparison.
19307
8ca52c6e
L
193082010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19309
19310 [BZ #12205]
19311 * string/test-strncasecmp.c (check_result): New function.
19312 (do_one_test): Use it.
19313 (check1): New function.
19314 (test_main): Use it.
19315 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19316 Support strcasecmp and strncasecmp.
19317
69da074d
UD
193182010-11-08 Ulrich Drepper <drepper@gmail.com>
19319
19320 [BZ #12194]
19321 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19322 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19323
ff02d528
L
193242010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19325
19326 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19327 IFUNC support.
19328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19329 memset-x86-64.
19330 * sysdeps/x86_64/multiarch/bzero.S: New file.
19331 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19332 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19333 * sysdeps/x86_64/multiarch/memset.S: New file.
19334 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19336 Set bit_Prefer_SSE_for_memop for Intel processors.
19337 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19338 Define.
19339 (index_Prefer_SSE_for_memop): Define.
19340 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19341
344d0b54
LM
193422010-11-04 Luis Machado <luisgpm@br.ibm.com>
19343
19344 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19345 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19346
c0dde15b
UD
193472010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19348
19349 [BZ #12191]
19350 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19351 (__x86_64_raw_data_cache_size_half): Likewise.
19352 (__x86_64_raw_shared_cache_size): Likewise.
19353 (__x86_64_raw_shared_cache_size_half): Likewise.
19354
19355 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19356 (__x86_64_raw_data_cache_size_half): Likewise.
19357 (__x86_64_raw_shared_cache_size): Likewise.
19358 (__x86_64_raw_shared_cache_size_half): Likewise.
19359 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19360 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19361 and __x86_64_raw_shared_cache_size_half. Round
19362 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19363 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19364 to multiple of 256 bytes.
19365
0e516e0e
MS
193662010-11-03 Ulrich Drepper <drepper@gmail.com>
19367
19368 [BZ #12167]
19369 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19370 of inacessible symlinks. Verify result of symlink before returning it.
19371 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19372 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19373
0e012e87
ER
193742010-10-28 Erich Ritz <erichritz@gmail.com>
19375
19376 * math/math.h (isinf): Fix typo in comment.
19377
de0ff7bc
UD
193782010-11-01 Ulrich Drepper <drepper@gmail.com>
19379
19380 * po/da.po: Update from translation team.
19381
fa41c84d
UD
193822010-10-26 Ulrich Drepper <drepper@gmail.com>
19383
19384 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19385 is added to the list.
19386
f0967738
AK
193872010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19388 Ulrich Drepper <drepper@gmail.com>
19389
19390 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19391 the global list here. Move code to...
19392 (_dl_add_to_namespace_list): ...here. New function.
19393 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19394 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19395 * elf/dl-load.c (lose): Don't remove the element from the list.
19396 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19397 (_dl_map_object): Likewise.
19398
193992010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19400
19401 [BZ #12159]
19402 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19403 into all bytes of SSE register.
19404 Patch by Richard Li <richardpku@gmail.com>.
19405
f0967738 194062010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19407
19408 [BZ #12140]
19409 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19410 perturbing.
19411
d0b9e94f
MB
194122010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19413
19414 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19415 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19416 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19417 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19419 submachine.
19420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19421
8e9f92e9
AS
194222010-10-22 Andreas Schwab <schwab@redhat.com>
19423
19424 * include/dlfcn.h (__RTLD_SECURE): Define.
19425 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19426 mode & __RTLD_SECURE instead.
19427 (open_path): Rename preloaded parameter to secure.
19428 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19429 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19430 * elf/dl-deps.c (openaux): Likewise.
19431 * elf/rtld.c (struct map_args): Remove is_preloaded.
19432 (map_doit): Don't use it.
19433 (dl_main): Likewise.
19434 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19435 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19436
bc96fbda
AS
194372010-09-09 Andreas Schwab <schwab@redhat.com>
19438
19439 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19440 (sysd-rules-targets): Remove duplicates.
19441 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19442 rtld-%.$o dependency.
19443
22cd1c9b
AS
194442010-10-18 Andreas Schwab <schwab@redhat.com>
19445
19446 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19447 _dl_map_object do it.
19448
18edac48
UD
194492010-10-19 Ulrich Drepper <drepper@gmail.com>
19450
19451 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19452 fast fma builtins, define the macros in the C99 standard.
19453 (FP_FAST_FMAF): Likewise.
19454 (FP_FAST_FMAL): Likewise.
19455 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19456
19457 * bits/mathdef.h: Update copyright year.
19458 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19459
d2050124
MM
194602010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19461
19462 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19463 builtins, define the macros in the C99 standard.
19464 (FP_FAST_FMAF): Likewise.
19465 (FP_FAST_FMAL): Likewise.
19466 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19467 multiply/add.
19468 (FP_FAST_FMAF): Likewise.
19469
475facd1
JJ
194702010-10-15 Jakub Jelinek <jakub@redhat.com>
19471
19472 [BZ #3268]
19473 * math/libm-test.inc (fma_test): Some new testcases.
19474 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19475 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19476 y and infinite z. Do multiplication by C already in long double.
19477 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19479 y and infinite z. Do bitwise or of inexact bit into u.d.
19480 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19481 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19482 * sysdeps/i386/fpu/s_fma.S: Removed.
19483 * sysdeps/i386/fpu/s_fmal.S: Removed.
19484
7c08a05c
JJ
194852010-10-16 Jakub Jelinek <jakub@redhat.com>
19486
19487 [BZ #3268]
19488 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19489 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19490 computation is not scheduled after fetestexcept. Fix value
19491 of minimum denormal long double.
19492
f3f7372d
JJ
194932010-10-14 Jakub Jelinek <jakub@redhat.com>
19494
19495 [BZ #3268]
19496 * math/libm-test.inc (fma_test): Add some more tests.
19497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19498 correctly.
19499
14d43591
AS
195002010-10-15 Andreas Schwab <schwab@redhat.com>
19501
19502 * scripts/data/localplt-s390-linux-gnu.data: New file.
19503 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19504
5e908464
JJ
195052010-10-13 Jakub Jelinek <jakub@redhat.com>
19506
19507 [BZ #3268]
19508 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19509 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19510 instead of dbl-64.
19511 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19512 inlines.
19513 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19515 if one of x and y is very large and the other is subnormal.
19516 * sysdeps/s390/fpu/s_fmaf.c: New file.
19517 * sysdeps/s390/fpu/s_fma.c: New file.
19518 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19519 * sysdeps/powerpc/fpu/s_fma.S: New file.
19520 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19521 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19522 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19523
195242010-10-12 Jakub Jelinek <jakub@redhat.com>
19525
19526 [BZ #3268]
19527 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19528 fma tests.
19529 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19530 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19531 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19532 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19533 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19534 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19535 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19536
b833d51f
UD
195372010-10-12 Ulrich Drepper <drepper@redhat.com>
19538
19539 [BZ #12078]
19540 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19541 * posix/bug-regex31.input: Add test case.
19542
1751705d
UD
195432010-10-11 Ulrich Drepper <drepper@gmail.com>
19544
e9b9cbf5
UD
19545 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19546 * posix/bug-regex31.input: New file.
19547
19548 [BZ #12078]
19549 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19550 (parse_sub_exp): Fix last change, use postorder.
19551
ef06edbe
UD
19552 * posix/bug-regex31.c: New file.
19553 * posix/Makefile: Add rules to build and run bug-regex31.
19554
a129c80d
UD
19555 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19556
19557 [BZ #12078]
19558 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19559
b76b818e
UD
19560 [BZ #12108]
19561 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19562 to have entries in sys_siglist.
19563
1751705d
UD
19564 [BZ #12093]
19565 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19566 be NULL.
19567
9ff8d36f
JJ
195682010-10-07 Jakub Jelinek <jakub@redhat.com>
19569
19570 [BZ #3268]
19571 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19572 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19573 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19574 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19575 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19576 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19577 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19578 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19579 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19580 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19581 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19582 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19583 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19584 * math/ftestexcept.c (fetestexcept): Likewise.
19585 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19586 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19587 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19588 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19589 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19590 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19591 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19592
af325969
UD
195932010-10-11 Ulrich Drepper <drepper@gmail.com>
19594
c579b202 19595 [BZ #12107]
af325969
UD
19596 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19597 newline.
19598
67a67b95
UD
195992010-10-06 Ulrich Drepper <drepper@gmail.com>
19600
19601 * string/bug-strstr1.c: New file.
19602 * string/Makefile: Add rules to build and run bug-strstr1.
19603
5fb308bc
EB
196042010-10-05 Eric Blake <eblake@redhat.com>
19605
19606 [BZ #12092]
19607 * string/str-two-way.h (two_way_long_needle): Always clear memory
19608 when skipping input due to the shift table.
19609
45db99c7
UD
196102010-10-03 Ulrich Drepper <drepper@gmail.com>
19611
3b111893
UD
19612 [BZ #12005]
19613 * malloc/mcheck.c: Handle large requests.
19614
45db99c7
UD
19615 [BZ #12077]
19616 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19617 for strncmp and strncasecmp.
19618 * string/stratcliff.c: Add tests for strcmp and strncmp.
19619 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19620
cf7a1eb8
NI
196212010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19622
19623 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19624 __set_fpscr.
19625
6484ba5e
AJ
196262010-09-30 Andreas Jaeger <aj@suse.de>
19627
19628 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19629 (CGROUP_SUPER_MAGIC): Define.
19630 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19631 Handle btrfs and cgroup file systems.
19632 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19633 Likewise.
19634
91c42559
LM
196352010-09-27 Luis Machado <luisgpm@br.ibm.com>
19636
19637 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19638 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19639
87a97932
AK
196402010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19641
19642 [BZ #12067]
19643 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19644 trying to locate the ELF header.
19645
c21cc9bc
AS
196462010-09-27 Andreas Schwab <schwab@redhat.com>
19647
19648 [BZ #11611]
19649 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19650 Mask out sign-bit copies when constructing f_fsid.
19651
315970f6
PB
196522010-09-24 Petr Baudis <pasky@suse.cz>
19653
19654 * debug/stack_chk_fail_local.c: Add missing licence exception.
19655 * debug/warning-nop.c: Likewise.
19656
1ac7a2c7
JM
196572010-09-15 Joseph Myers <joseph@codesourcery.com>
19658
19659 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19660 implementing getdents64 using getdents syscall, set d_type if
19661 __ASSUME_GETDENTS32_D_TYPE.
19662
56801c50
AS
196632010-09-16 Andreas Schwab <schwab@redhat.com>
19664
19665 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19666 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19667
dda51327
UD
196682010-09-21 Ulrich Drepper <drepper@redhat.com>
19669
19670 [BZ #12037]
19671 * posix/unistd.h: Undo change of feature selection for ftruncate from
19672 2010-01-11.
19673
8ffcee4a
UD
196742010-09-20 Ulrich Drepper <drepper@redhat.com>
19675
a545ecd9 19676 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19677 detection.
19678
e24f0a8b
AS
196792010-09-20 Andreas Schwab <schwab@redhat.com>
19680
19681 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19682 fanotify_mark.
19683 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19684
7291c56f
AS
196852010-09-14 Andreas Schwab <schwab@redhat.com>
19686
19687 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19688 variables after CHECK_SP call.
19689 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19690
bc5fb037
AS
196912010-09-13 Andreas Schwab <schwab@redhat.com>
19692 Ulrich Drepper <drepper@redhat.com>
19693
19694 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19695 re-relocationg ld.so.
19696 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19697 _dl_init_paths call.
19698 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19699 here anymore.
19700
e66e7419
UD
197012010-09-14 Ulrich Drepper <drepper@redhat.com>
19702
19703 * resolv/res_init.c (__res_vinit): Count the default server we added.
19704
c044aa75
CLT
197052010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19706 Ulrich Drepper <drepper@redhat.com>
19707
19708 [BZ #11968]
19709 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19710 (____longjmp_chk): Use %ebx for saving value across system call.
19711 Add unwind info.
19712
32cf4069
AS
197132010-09-06 Andreas Schwab <schwab@redhat.com>
19714
19715 * manual/Makefile: Don't mix pattern rules with normal rules.
19716
817328ee
AS
197172010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19718
19719 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19720 operation.
19721 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19722 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19723 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19724 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19726 Likewise.
19727
29fddf61
UD
197282010-09-04 Ulrich Drepper <drepper@redhat.com>
19729
19730 [BZ #11979]
19731 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19732 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19733
0959ffc9
UD
197342010-09-02 Ulrich Drepper <drepper@redhat.com>
19735
19736 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19737 * sysdeps/x86_64/addmul_1.S: Likewise.
19738 * sysdeps/x86_64/lshift.S: Likewise.
19739 * sysdeps/x86_64/mul_1.S: Likewise.
19740 * sysdeps/x86_64/rshift.S: Likewise.
19741 * sysdeps/x86_64/sub_n.S: Likewise.
19742 * sysdeps/x86_64/submul_1.S: Likewise.
19743
ece29840
ST
197442010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19745
0959ffc9
UD
19746 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19747 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19748 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19749 * bits/sched.h [__need_schedparam]
ece29840 19750 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19751 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19752 (__defined_schedparam): Define to 1.
ece29840
ST
19753 (__sched_param): New structure, identical to sched_param.
19754 (__need_schedparam): Undefine.
19755
e53a31fe
MF
197562010-08-31 Mike Frysinger <vapier@gentoo.org>
19757
fdc0c10d
MF
19758 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19759 (epoll_create1): Declare.
19760
e53a31fe
MF
19761 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19762
a726d796
AS
197632010-08-31 Andreas Schwab <schwab@redhat.com>
19764
19765 [BZ #7066]
19766 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19767 shifting retval into place.
19768
2f3e3dc7
UD
197692010-09-01 Ulrich Drepper <drepper@redhat.com>
19770
f2933da9
UD
19771 * nis/rpcsvc/nis.h: Update copyright notice.
19772 * nis/rpcsvc/nis.x: Likewise.
19773 * nis/rpcsvc/nis_callback.h: Likewise.
19774 * nis/rpcsvc/nis_callback.x: Likewise.
19775 * nis/rpcsvc/nis_object.x: Likewise.
19776 * nis/rpcsvc/nis_tags.h: Likewise.
19777 * nis/rpcsvc/yp.h: Likewise.
19778 * nis/rpcsvc/yp.x: Likewise.
19779 * nis/rpcsvc/ypupd.h: Likewise.
19780 * nis/yp_xdr.c: Likewise.
19781 * nis/ypupdate_xdr.c: Likewise.
19782
2f3e3dc7
UD
19783 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19784 mainly the body of pmap_getport. Add parameters to specify timeouts.
19785 (pmap_getport): Use __libc_rpc_getport.
19786 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19787 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19788 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19789
f3dcc2f9
AS
197902010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19791
19792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19793 fanotify_mark.
19794
6d34eb5b
RM
197952010-08-27 Roland McGrath <roland@redhat.com>
19796
19797 * sysdeps/i386/i686/multiarch/Makefile
19798 (CFLAGS-varshift.c): New variable.
19799
9ea3de11
UD
198002010-08-27 Ulrich Drepper <drepper@redhat.com>
19801
c96d23fc
UD
19802 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19803 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19804
9ea3de11
UD
19805 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19806
19807 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19808
623aac7f
L
198092010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19810
19811 * sysdeps/x86_64/strlen.S: Unroll the loop.
19812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19813 strlen-sse2 strlen-sse2-bsf.
19814 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19815 __strlen_no_bsf if bit_Slow_BSF is set.
19816 (__strlen_sse42): Removed.
19817 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19818 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19819
8b2b7715
RM
198202010-08-25 Roland McGrath <roland@redhat.com>
19821
19822 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19823 * sysdeps/x86_64/multiarch/varshift.c: New file.
19824 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19825 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19826 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19827 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19828
e73015f2
L
198292010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19830
19831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19832 strlen-sse2 strlen-sse2-bsf.
19833 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19834 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19835 (__strlen_sse2): Removed.
19836 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19837 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19839 bit_Slow_BSF for Atom.
19840 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19841 (index_Slow_BSF): Define.
19842 (HAS_SLOW_BSF): Define.
19843
df24a73e
UD
198442010-08-25 Ulrich Drepper <drepper@redhat.com>
19845
19846 [BZ #10851]
19847 * resolv/res_init.c (__res_vinit): When no server address at all
19848 is given default to loopback.
19849
f2ac4868
RM
198502010-08-24 Roland McGrath <roland@redhat.com>
19851
09055553
RM
19852 * configure.in: Remove config-name.h generation.
19853 * configure: Regenerated.
19854 * config-name.in: File removed.
19855 * scripts/config-uname.sh: New file.
19856 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19857 ($(objdir)config-name.h): New target.
19858
f2ac4868
RM
19859 * sunrpc/rpc_parse.h: Avoid nested comment.
19860
73f27d5e
RH
198612010-08-24 Richard Henderson <rth@redhat.com>
19862 Ulrich Drepper <drepper@redhat.com>
19863 H.J. Lu <hongjiu.lu@intel.com>
19864
19865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19867 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19868 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19869 _mm_alignr_epi8 with _mm_loadu_si128.
19870 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19871 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19872 (__m128i_shift_right): Removed.
19873 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19874 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19875 * sysdeps/x86_64/multiarch/varshift.h: New file.
19876 * sysdeps/x86_64/multiarch/varshift.S: New file.
19877
84b9230c
MF
198782010-08-21 Mike Frysinger <vapier@gentoo.org>
19879
19880 * configure.in: Move assembler checks to before sysdep dir checking.
19881
9bbd0ddc
PB
198822010-08-20 Petr Baudis <pasky@suse.cz>
19883
19884 * LICENSES: Sync the sunrpc license.
19885
9da4bb31
UD
198862010-08-19 Ulrich Drepper <drepper@redhat.com>
19887
a7ab6ec8
UD
19888 * sunrpc/auth_des.c: Update copyright notice once again.
19889 * sunrpc/auth_none.c: Likewise.
19890 * sunrpc/auth_unix.c: Likewise.
19891 * sunrpc/authdes_prot.c: Likewise.
19892 * sunrpc/authuxprot.c: Likewise.
19893 * sunrpc/bindrsvprt.c: Likewise.
19894 * sunrpc/clnt_gen.c: Likewise.
19895 * sunrpc/clnt_perr.c: Likewise.
19896 * sunrpc/clnt_raw.c: Likewise.
19897 * sunrpc/clnt_simp.c: Likewise.
19898 * sunrpc/clnt_tcp.c: Likewise.
19899 * sunrpc/clnt_udp.c: Likewise.
19900 * sunrpc/clnt_unix.c: Likewise.
19901 * sunrpc/des_crypt.c: Likewise.
19902 * sunrpc/des_soft.c: Likewise.
19903 * sunrpc/get_myaddr.c: Likewise.
19904 * sunrpc/getrpcport.c: Likewise.
19905 * sunrpc/key_call.c: Likewise.
19906 * sunrpc/key_prot.c: Likewise.
19907 * sunrpc/openchild.c: Likewise.
19908 * sunrpc/pm_getmaps.c: Likewise.
19909 * sunrpc/pm_getport.c: Likewise.
19910 * sunrpc/pmap_clnt.c: Likewise.
19911 * sunrpc/pmap_prot.c: Likewise.
19912 * sunrpc/pmap_prot2.c: Likewise.
19913 * sunrpc/pmap_rmt.c: Likewise.
19914 * sunrpc/rpc/auth.h: Likewise.
19915 * sunrpc/rpc/auth_unix.h: Likewise.
19916 * sunrpc/rpc/clnt.h: Likewise.
19917 * sunrpc/rpc/des_crypt.h: Likewise.
19918 * sunrpc/rpc/key_prot.h: Likewise.
19919 * sunrpc/rpc/netdb.h: Likewise.
19920 * sunrpc/rpc/pmap_clnt.h: Likewise.
19921 * sunrpc/rpc/pmap_prot.h: Likewise.
19922 * sunrpc/rpc/pmap_rmt.h: Likewise.
19923 * sunrpc/rpc/rpc.h: Likewise.
19924 * sunrpc/rpc/rpc_des.h: Likewise.
19925 * sunrpc/rpc/rpc_msg.h: Likewise.
19926 * sunrpc/rpc/svc.h: Likewise.
19927 * sunrpc/rpc/svc_auth.h: Likewise.
19928 * sunrpc/rpc/types.h: Likewise.
19929 * sunrpc/rpc/xdr.h: Likewise.
19930 * sunrpc/rpc_clntout.c: Likewise.
19931 * sunrpc/rpc_cmsg.c: Likewise.
19932 * sunrpc/rpc_common.c: Likewise.
19933 * sunrpc/rpc_cout.c: Likewise.
19934 * sunrpc/rpc_dtable.c: Likewise.
19935 * sunrpc/rpc_hout.c: Likewise.
19936 * sunrpc/rpc_main.c: Likewise.
19937 * sunrpc/rpc_parse.c: Likewise.
19938 * sunrpc/rpc_parse.h: Likewise.
19939 * sunrpc/rpc_prot.c: Likewise.
19940 * sunrpc/rpc_sample.c: Likewise.
19941 * sunrpc/rpc_scan.c: Likewise.
19942 * sunrpc/rpc_scan.h: Likewise.
19943 * sunrpc/rpc_svcout.c: Likewise.
19944 * sunrpc/rpc_tblout.c: Likewise.
19945 * sunrpc/rpc_util.c: Likewise.
19946 * sunrpc/rpc_util.h: Likewise.
19947 * sunrpc/rpcinfo.c: Likewise.
19948 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19949 * sunrpc/rpcsvc/key_prot.x: Likewise.
19950 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19951 * sunrpc/rpcsvc/mount.x: Likewise.
19952 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19953 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19954 * sunrpc/rpcsvc/rex.x: Likewise.
19955 * sunrpc/rpcsvc/rstat.x: Likewise.
19956 * sunrpc/rpcsvc/rusers.x: Likewise.
19957 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19958 * sunrpc/rpcsvc/spray.x: Likewise.
19959 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19960 * sunrpc/rtime.c: Likewise.
19961 * sunrpc/svc.c: Likewise.
19962 * sunrpc/svc_auth.c: Likewise.
19963 * sunrpc/svc_authux.c: Likewise.
19964 * sunrpc/svc_raw.c: Likewise.
19965 * sunrpc/svc_run.c: Likewise.
19966 * sunrpc/svc_simple.c: Likewise.
19967 * sunrpc/svc_tcp.c: Likewise.
19968 * sunrpc/svc_udp.c: Likewise.
19969 * sunrpc/svc_unix.c: Likewise.
19970 * sunrpc/svcauth_des.c: Likewise.
19971 * sunrpc/xcrypt.c: Likewise.
19972 * sunrpc/xdr.c: Likewise.
19973 * sunrpc/xdr_array.c: Likewise.
19974 * sunrpc/xdr_float.c: Likewise.
19975 * sunrpc/xdr_mem.c: Likewise.
19976 * sunrpc/xdr_rec.c: Likewise.
19977 * sunrpc/xdr_ref.c: Likewise.
19978 * sunrpc/xdr_sizeof.c: Likewise.
19979 * sunrpc/xdr_stdio.c: Likewise.
19980
9da4bb31
UD
19981 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19982 handling.
19983
bdaa77bc
AS
199842010-08-19 Andreas Schwab <schwab@redhat.com>
19985
19986 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19987
fe2f79db
LM
199882010-08-19 Luis Machado <luisgpm@br.ibm.com>
19989
19990 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19991 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19992 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19993 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19994 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19995 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19996 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19997 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19998 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19999 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20000 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20001 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20002 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20003 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20004
b9b42ee0
AB
200052010-07-26 Anton Blanchard <anton@samba.org>
20006
20007 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20008 * malloc/arena.c (heap_trim): Likewise.
20009
1c06ba31
UD
200102010-08-16 Ulrich Drepper <drepper@redhat.com>
20011
20012 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20013 here. Not...
20014 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20015 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20016
f8392f40
L
200172010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20018
20019 * sysdeps/i386/elf/Makefile: New file.
20020
3162f12e
AS
200212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20022
20023 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20024 from fanotify_init.
20025 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20026 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20027
28c90b2c
UD
200282010-08-15 Ulrich Drepper <drepper@redhat.com>
20029
20030 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20031 of strncasecmp_l.
1feccb6c 20032 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20033
ca6bb004
UD
200342010-08-14 Ulrich Drepper <drepper@redhat.com>
20035
e9f82e0d
UD
20036 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20037 strncase_l-nonascii.
20038 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20039 Add strncase_l-ssse3.
20040 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20041 * sysdeps/x86_64/strcmp.S: Likewise.
20042 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20043 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20044 * sysdeps/x86_64/strncase.S: New file.
20045 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20046 * sysdeps/x86_64/strncase_l.S: New file.
20047 * string/Makefile (strop-tests): Add strncasecmp.
20048 * string/test-strncasecmp.c: New file.
20049
20050 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20051 warning.
20052
ca6bb004
UD
20053 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20054 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20055
052fa7b3
AS
200562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20057
20058 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20059
962dba78
UD
200602010-08-12 Ulrich Drepper <drepper@redhat.com>
20061
20062 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20063 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20064 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20065
bebff237
AM
200662010-05-01 Alan Modra <amodra@gmail.com>
20067
20068 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20069 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20070 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20071 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20072 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20073 tidying. Don't tail-call __sigjmp_save for static lib.
20074 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20075 save location.
20076 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20077 (CALL_MCOUNT): Add eh info, and nop after bl.
20078 (TAIL_CALL_SYSCALL_ERROR): New macro.
20079 (PSEUDO_RET): Use it.
20080 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20081 Correct save location of integer regs and cr.
20082 (_dl_profile_resolve): Correct cr save location. Delete nops
20083 after bl when SHARED. Reduce cfi size a little by better
20084 placement of cfi directives.
20085 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20086 make a stack frame. Instead use parm save area as a temp.
20087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20088 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20090 Don't make a stack frame for parent, use parm save area.
20091 Increase child stack frame to 112 bytes. Don't save unused reg,
20092 and adjust reg usage. Set up cfi on error recovery and
20093 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20095 (__makecontext): Add dummy nop after jump to exit.
20096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20097 Use correct parm save area and cr save, reduce stack frame.
20098 Correct cfi for possible PSEUDO_RET frame setup.
20099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20100 Branch to local label emitted by PSEUDO_RET rather than
20101 __syscall_error.
20102
02637374
AS
201032010-08-12 Andreas Schwab <schwab@redhat.com>
20104
20105 [BZ #11904]
20106 * locale/programs/locale.c (print_assignment): New function.
20107 (show_locale_vars): Use it.
20108
c3e2f19b
UD
201092010-08-11 Ulrich Drepper <drepper@redhat.com>
20110
3cdaa6ad
UD
20111 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20112 field.
20113 (struct statfs64): Likewise.
20114 (_STATFS_F_FLAGS): Define.
20115 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20116 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20117 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20118 (ST_VALID): Define locally.
20119 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20120 __statvfs_getflags, use the provided value.
20121 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20122 __ASSUME_STATFS_F_FLAGS.
20123
754f7da3
UD
20124 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20125
10b3bedc
UD
20126 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20127 Add sys/fanotify.h.
20128 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20129 fanotify_mask for GLIBC_2.13.
20130 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20131 fanotify_init and fanotify_mark.
20132 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20133 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20134
c08fb0d7
UD
20135 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20136 Add prlimit.
20137 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20138 prlimit64 for GLIBC_2.13.
20139 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20140 prlimit64.
20141 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20142 syscall.
20143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20144 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20145 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20146 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20147 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20148 add prlimit alias.
20149 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20150
15bac72b
UD
20151 [BZ #11903]
20152 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20153 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20154
c3e2f19b
UD
20155 * nss/Makefile: Add rules to build and run tst-nss-test1.
20156 * shlib-versions: Add entry for libnss_test1.
20157 * nss/nss_test1.c: New file.
20158 * nss/tst-nss-test1.c: New file.
20159
20160 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20161 (__nss_configure_lookup): Set appropriate entry in
20162 __nss_configure_lookup to true.
20163 * nss/nsswitch.h: Define enum with indeces of databases in
20164 databases and __nss_database_custom arrays. Declare
20165 __nss_database_custom.
20166 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20167 to avoid using nscd when custom rules are installed.
20168 * nss/getXXbyYY_r.c: Likewise.
20169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20170
20171 * nss/nss_files/files-parse.c: Whitespace fixes.
20172
f15ce4d8
UD
201732010-08-09 Ulrich Drepper <drepper@redhat.com>
20174
20175 [BZ #11883]
20176 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20177 * posix/fnmatch_loop.c: Likewise.
20178
d22e4cc9
AK
201792010-07-17 Andi Kleen <ak@linux.intel.com>
20180
20181 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20182 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20183 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20184 * Versions.def [GLIBC_2.13]: Add.
20185
805bc17d
UD
201862010-08-06 Ulrich Drepper <drepper@redhat.com>
20187
20188 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20189 Also fail if tpwd after pwuid call is NULL.
20190
5a42321d
ST
201912010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20192
20193 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20194 when converting to ms.
20195
fd3ebeda
ST
201962010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20197
20198 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20199 EOPNOTSUPP errors with ENOTTY.
20200 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20201 EOPNOTSUPP errors with ENOTTY.
20202
73507d3a
UD
202032010-07-31 Ulrich Drepper <drepper@redhat.com>
20204
20205 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20206 Add strcasecmp_l-ssse3.
20207 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20208 strcasecmp.
20209 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20210 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20211 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20212
fe36dd02
UD
202132010-07-30 Ulrich Drepper <drepper@redhat.com>
20214
66f6765a
UD
20215 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20216
42e08a54
UD
20217 * string/Makefile (strop-tests): Add strcasecmp.
20218 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20219 strcasecmp_l-nonascii.
20220 (gen-as-const-headers): Add locale-defines.sym.
20221 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20222 * sysdeps/x86_64/strcasecmp.S: New file.
20223 * sysdeps/x86_64/strcasecmp_l.S: New file.
20224 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20225 * sysdeps/x86_64/locale-defines.sym: New file.
20226 * string/test-strcasecmp.c: New file.
20227
fe36dd02
UD
20228 * string/test-strcasestr.c: Test both ends of the range of characters.
20229 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20230
48cbc0d6
RM
202312010-07-29 Roland McGrath <roland@redhat.com>
20232
76e6d6bc 20233 [BZ #11856]
48cbc0d6
RM
20234 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20235
880113d9
UD
202362010-07-27 Ulrich Drepper <drepper@redhat.com>
20237
20238 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20239 for ld.so.
20240
deb9cabb
AS
202412010-07-27 Andreas Schwab <schwab@redhat.com>
20242
20243 * manual/memory.texi (Malloc Tunable Parameters): Document
20244 M_PERTURB.
20245
1c7570ff
RM
202462010-07-26 Roland McGrath <roland@redhat.com>
20247
20248 [BZ #11840]
20249 * configure.in (-fgnu89-inline check): Set and substitute
20250 gnu89_inline, not libc_cv_gnu89_inline.
20251 * configure: Regenerated.
20252 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20253
24fb0f88
UD
202542010-07-26 Ulrich Drepper <drepper@redhat.com>
20255
20256 * string/test-strnlen.c: New file.
20257 * string/Makefile (strop-tests): Add strnlen.
20258 * string/tester.c (test_strnlen): Add a few more test cases.
20259 * string/tst-strlen.c: Better error reporting.
20260
20261 * sysdeps/x86_64/strnlen.S: New file.
20262
8e96b93a
UD
202632010-07-24 Ulrich Drepper <drepper@redhat.com>
20264
20265 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20266 lower-latency instructions.
20267
dbc676d4
UD
202682010-07-23 Ulrich Drepper <drepper@redhat.com>
20269
20270 * string/test-strcasestr.c: New file.
20271 * string/test-strstr.c: New file.
20272 * string/Makefile (strop-tests): Add strstr and strcasestr.
20273 * string/str-two-way.h: Don't undefine MAX.
20274 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20275
f6a31e0e
AS
202762010-07-21 Andreas Schwab <schwab@redhat.com>
20277
20278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20279 strcasestr-nonascii.
20280 (CFLAGS-strcasestr-nonascii.c): Define.
20281 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20282 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20283 Remove unused attribute.
20284
5dbc3b6c
RM
202852010-07-20 Roland McGrath <roland@redhat.com>
20286
20287 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20288 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20289 ld.so.cache was broken. With it, there is no way to disable dsocaps
20290 like LD_HWCAP_MASK can disable hwcaps.
20291
23d101d8
EPM
202922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20293
20294 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20295
cc9f2e47
UD
202962010-07-16 Ulrich Drepper <drepper@redhat.com>
20297
20298 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20299 call in strcasestr.
20300 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20301 __strcasestr_sse42_nonascii.
20302 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20303 strcasestr-nonascii.c.
20304 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20305
77c1b069
LM
203062010-06-15 Luis Machado <luisgpm@br.ibm.com>
20307
20308 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20309 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20310 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20311 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20312
440566c3
UD
203132010-07-09 Ulrich Drepper <drepper@redhat.com>
20314
20315 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20316 fcntl.
20317
5be9d05d
AS
203182010-07-06 Andreas Schwab <schwab@redhat.com>
20319
c30b7ee2 20320 [BZ #11577]
5be9d05d
AS
20321 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20322 dl_signal_cerror.
20323
8a492a67
UD
203242010-07-06 Ulrich Drepper <drepper@redhat.com>
20325
20326 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20327 _PC_PIPE_BUF using F_GETPIPE_SZ.
20328
713df3d5
RM
203292010-07-05 Roland McGrath <roland@redhat.com>
20330
20331 * manual/arith.texi (Rounding Functions): Fix rint description
20332 implicit in round description.
20333
702e8f14
UD
203342010-07-02 Ulrich Drepper <drepper@redhat.com>
20335
20336 * elf/Makefile: Fix linking for a few tests to make recent linker
20337 happy.
20338
52ed8be9
AS
203392010-06-30 Andreas Schwab <schwab@redhat.com>
20340
20341 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20342 $(common-objpfx)libc_nonshared.a.
20343
f47c9a11
LM
203442010-06-21 Luis Machado <luisgpm@br.ibm.com>
20345
20346 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20347 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20348 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20349 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20350 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20351 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20352 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20353 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20368 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20369 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20370 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20371 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20372 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20373 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20374 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20375 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20376 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20377 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20378 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20379 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20394
6fb8cbcb
L
203952010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20396
20397 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20398 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20399 * string/memmove.c (memmove): Renamed to ...
20400 (MEMMOVE): ...this. Default to memmove.
20401 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20402 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20403 (END_CHK): Define.
20404 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20405 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20406 mempcpy-ssse3-back memmove-ssse3-back.
20407 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20408 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20409 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20410 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20411 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20412 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20413 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20414 * sysdeps/x86_64/multiarch/memmove.c: New file.
20415 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20416 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20417 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20418 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20419 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20420 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20421 Define.
20422 (index_Fast_Copy_Backward): Define.
20423 (HAS_ARCH_FEATURE): Define.
20424 (HAS_FAST_REP_STRING): Define.
20425 (HAS_FAST_COPY_BACKWARD): Define.
20426
4e733bac 204272010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20428
20429 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20430 Restore proper fallback handling.
20431
63c4ed22
UD
204322010-06-19 Ulrich Drepper <drepper@redhat.com>
20433
ac2b484c
UD
20434 [BZ #11701]
20435 * posix/group_member.c (__group_member): Correct checking loop.
20436
63c4ed22
UD
20437 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20438 OOM in getpwuid_r correctly. Return error number when the caller
20439 should return, otherwise -1.
20440 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20441 call returning > 0 value.
20442 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20443
765ade4b
AS
204442010-06-07 Andreas Schwab <schwab@redhat.com>
20445
20446 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20447 libc_nonshared.a from targets in modules-names.
20448
80da2e09
KS
204492010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20450
20451 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20452 requires it.
20453
158db122
LM
204542010-06-10 Luis Machado <luisgpm@br.ibm.com>
20455
20456 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20457 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20458 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20459 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20460
caa78cf8
AS
204612010-06-02 Andreas Schwab <schwab@redhat.com>
20462
20463 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20464
b2ef2c01
UD
204652010-06-14 Ulrich Drepper <drepper@redhat.com>
20466
20467 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20468 and F_GETPIPE_SZ.
20469 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20470 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20472 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20473 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20474 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20475
fbd643b6
RM
204762010-06-14 Roland McGrath <roland@redhat.com>
20477
20478 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20479
f32f2869
JJ
204802010-06-07 Jakub Jelinek <jakub@redhat.com>
20481
20482 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20483 __REDIRECT followed by __THROW.
20484 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20485 * posix/getopt.h (getopt): Likewise.
20486
2a50c078
EPM
204872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20488
20489 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20490 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20491 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20492 in AT_FLAGS.
20493 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20494 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20495
eb5ad2eb
LM
204962010-05-28 Luis Machado <luisgpm@br.ibm.com>
20497
20498 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20499
3c88fe1e
L
205002010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20501
20502 [BZ #11640]
20503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20504 Properly check family and model.
20505
d2f73151
TY
205062010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20507
20508 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20509
ebd2e13d
LM
205102010-05-24 Luis Machado <luisgpm@br.ibm.com>
20511
20512 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20513
b32b8b45
UD
205142010-05-21 Ulrich Drepper <drepper@redhat.com>
20515
20516 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20517 symbol reference.
20518
9acbe24d
AS
205192010-05-19 Andreas Schwab <schwab@redhat.com>
20520
20521 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20522 symbol reference.
20523
f0ccf6ea
AS
205242010-05-21 Andreas Schwab <schwab@redhat.com>
20525
3d04ff3a
AS
20526 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20527 and internal_recvmmsg.
20528 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20529 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20530 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20531 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20532
f0ccf6ea
AS
20533 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20534 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20535 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20536
5b08ac57
AS
205372010-05-20 Andreas Schwab <schwab@redhat.com>
20538
20539 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20540
4828935d
LM
205412010-05-17 Luis Machado <luisgpm@br.ibm.com>
20542
20543 POWER7 optimizations.
20544 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20545 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20546
373d545e
UD
205472010-05-19 Ulrich Drepper <drepper@redhat.com>
20548
20549 * version.h: Update for 2.13 development version.
20550
21a2b1ae
AS
205512010-05-12 Andrew Stubbs <ams@codesourcery.com>
20552
20553 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20554 exceptions. Return 0.
20555
3f7dcb2b
RM
205562010-05-07 Roland McGrath <roland@redhat.com>
20557
20558 * elf/ldconfig.c (main): Add a const.
20559
5f24d53a 205602010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20561
a160f8d8
UD
20562 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20563 (args_options): Add no-idn option.
20564 (ahosts_keys_int): Add idn_flags to ai_flags.
20565 (parse_option): Handle 'i' option to clear idn_flags.
20566
5f24d53a
UD
20567 * malloc/malloc.c (_int_free): Possible race in the most recently
20568 added check. Only act on the data if no current modification
20569 happened.
265bb1ce
UD
20570
20571See ChangeLog.17 for earlier changes.