]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
F_GETLK cleanup for <bits/fcntl.h>
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9fddec1a
AJ
12012-10-24 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6 Likewise.
7 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8 Likewise.
9 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10
11 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13 <bits/fcntl-linux.h>.
14 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15
16 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
20 [__WORDSIZE != 64]: Likewise.
21
ebfd1bbd
JM
222012-10-23 Joseph Myers <joseph@codesourcery.com>
23
03ac099f
JM
24 * Makeconfig (run-built-tests): New variable.
25 * Rules [$(cross-compiling) = yes]: Change condition to
26 [$(run-built-tests) = no].
27 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28 to [$(run-built-tests) = yes].
29 * elf/Makefile [$(cross-compiling) = no]: Likewise
30 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34 * io/Makefile [$(cross-compiling) = no]: Likewise.
35 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37 * misc/Makefile [$(cross-compiling) = no]: Likewise.
38 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42 * string/Makefile [$(cross-compiling) = no]: Likewise.
43
ebfd1bbd
JM
44 * posix/Makefile ($(objpfx)globtest.out): Pass
45 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
46 $(rtld-installed-name).
47 * posix/globtest.sh (elf_objpfx): Remove variable.
48 (rtld_installed_name): Likewise.
49 (library_path): Likewise.
50 (run_program_prefix): New variable. Use for running globtest
51 binary.
52
166bca24
JB
532012-10-23 Jim Blandy <jimb@codesourcery.com>
54 Joseph Myers <joseph@codesourcery.com>
55
56 * Makeconfig (host-built-program-cmd): New variable.
57 * elf/Makefile (tst-stackguard1-ARGS): Use
58 $(host-built-program-cmd).
59 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60 (tst-spawn-ARGS): Likewise.
61 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62
88866099
JM
632012-10-23 Joseph Myers <joseph@codesourcery.com>
64 Jim Blandy <jimb@codesourcery.com>
65
66 * Makeconfig (run-via-rtld-prefix): New variable.
67 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
68 (built-program-cmd): Likewise.
69
b4b4c296
AJ
702012-10-22 Andreas Jaeger <aj@suse.de>
71
72 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
73 __O_RSYNC if it exists, otherwise to O_SYNC.
74
6fb54a22
JB
752012-10-22 Jim Blandy <jimb@codesourcery.com>
76 Joseph Myers <joseph@codesourcery.com>
77
78 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
79 /dev/null.
80 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
81 from /dev/null
82 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
83 /dev/null.
84
481b90b9
AJ
852012-10-22 Andreas Jaeger <aj@suse.de>
86
2a0e2669
AJ
87 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
88 Define always.
89 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
90
76e38f9a
AJ
91 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
92 bits/fcntl-linux.h.
93
7cd37b43
AJ
94 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
95 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
96
481b90b9
AJ
97 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
98 to __O_LARGEFILE.
99 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
100 to __O_LARGEFILE.
101
aba75984
JB
1022012-10-21 Jim Blandy <jimb@codesourcery.com>
103 Joseph Myers <joseph@codesourcery.com>
104
105 * config.make.in (NM): New variable.
106
88d4247f
AJ
1072012-10-21 Andreas Jaeger <aj@suse.de>
108
109 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
110 definitions and declarations that are provided by
111 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
112
f2eed205
L
1132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
114
115 [BZ #14683]
116 * elf/Makefile (tests-static): Add tst-leaks1-static.
117 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
118 ($(objpfx)tst-leaks1-static): New rule.
119 ($(objpfx)tst-leaks1-static-mem): Likewise.
120 (tst-leaks1-static-ENV): New macro.
121 * elf/dl-open.c (dl_open_worker): Check the main application
122 only if SHARED is defined.
123 * elf/tst-leaks1-static.c: New file.
124
335e6931
AJ
1252012-10-20 Andreas Jaeger <aj@suse.de>
126
127 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
128 generic values for Linux.
129 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
130 and declarations that are provided by <bits/fcntl-linux.h> and
131 include <bits/fcntl-linux.h>.
132 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
133 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
134
ac5c94d3
RM
1352012-10-20 Roland McGrath <roland@hack.frob.com>
136
137 * io/fcntl.h: Move include of <bits/types.h> to the top and
138 include it unconditionally.
139
de54b33a
L
1402012-10-20 H.J. Lu <hongjiu.lu@intel.com>
141
228cfb01
L
142 * wcsmbs/Makefile (tests-ifunc): New variable.
143 (tests): Add $(tests-ifunc).
144 * wcsmbs/test-wcschr-ifunc.c: New file.
145 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
146 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
147 * wcsmbs/test-wcslen-ifunc.c: Likewise.
148 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
149 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
150
69f07e5f
L
151 * string/Makefile (tests-ifunc): New variable.
152 (tests): Add $(tests-ifunc).
153 * string/test-memccpy.c (TEST_NAME): New macro.
154 * string/test-memchr.c (TEST_NAME): Likewise.
155 * string/test-memcmp.c (TEST_NAME): Likewise.
156 * string/test-memcpy.c (TEST_NAME): Likewise.
157 * string/test-memmem.c (TEST_NAME): Likewise.
158 * string/test-memmove.c (TEST_NAME): Likewise.
159 * string/test-memset.c (TEST_NAME): Likewise.
160 * string/test-rawmemchr.c (TEST_NAME): Likewise.
161 * string/test-stpcpy.c (TEST_NAME): Likewise.
162 * string/test-stpncpy.c (TEST_NAME): Likewise.
163 * string/test-strcasecmp.c (TEST_NAME): Likewise.
164 * string/test-strcasestr.c (TEST_NAME): Likewise.
165 * string/test-strcat.c (TEST_NAME): Likewise.
166 * string/test-strchr.c (TEST_NAME): Likewise.
167 * string/test-strcmp.c(TEST_NAME): Likewise.
168 * string/test-strcpy.c (TEST_NAME): Likewise.
169 * string/test-strcspn.c (TEST_NAME): Likewise.
170 * string/test-strlen.c (TEST_NAME): Likewise.
171 * string/test-strncasecmp.c (TEST_NAME): Likewise.
172 * string/test-strncmp.c (TEST_NAME): Likewise.
173 * string/test-strncpy.c (TEST_NAME): Likewise.
174 * string/test-strnlen.c (TEST_NAME): Likewise.
175 * string/test-strpbrk.c (TEST_NAME): Likewise.
176 * string/test-strrchr.c (TEST_NAME): Likewise.
177 * string/test-strspn.c (TEST_NAME): Likewise.
178 * string/test-strstr.c (TEST_NAME): Likewise.
179 * string/test-bcopy-ifunc.c: New file.
180 * string/test-bzero-ifunc.c: Likewise.
181 * string/test-memccpy-ifunc.c: Likewise.
182 * string/test-memchr-ifunc.c: Likewise.
183 * string/test-memcmp-ifunc.c: Likewise.
184 * string/test-memcpy-ifunc.c: Likewise.
185 * string/test-memmem-ifunc.c: Likewise.
186 * string/test-memmove-ifunc.c: Likewise.
187 * string/test-mempcpy-ifunc.c: Likewise.
188 * string/test-memset-ifunc.c: Likewise.
189 * string/test-rawmemchr-ifunc.c: Likewise.
190 * string/test-stpcpy-ifunc.c: Likewise.
191 * string/test-stpncpy-ifunc.c: Likewise.
192 * string/test-strcasecmp-ifunc.c: Likewise.
193 * string/test-strcasestr-ifunc.c: Likewise.
194 * string/test-strcat-ifunc.c: Likewise.
195 * string/test-strchr-ifunc.c: Likewise.
196 * string/test-strchrnul-ifunc.c: Likewise.
197 * string/test-strcmp-ifunc.c: Likewise.
198 * string/test-strcpy-ifunc.c: Likewise.
199 * string/test-strcspn-ifunc.c: Likewise.
200 * string/test-strlen-ifunc.c: Likewise.
201 * string/test-strncasecmp-ifunc.c: Likewise.
202 * string/test-strncat-ifunc.c: Likewise.
203 * string/test-strncmp-ifunc.c: Likewise.
204 * string/test-strncpy-ifunc.c: Likewise.
205 * string/test-strnlen-ifunc.c: Likewise.
206 * string/test-strpbrk-ifunc.c: Likewise.
207 * string/test-strrchr-ifunc.c: Likewise.
208 * string/test-strspn-ifunc.c: Likewise.
209 * string/test-strstr-ifunc.c: Likewise.
210
de54b33a
L
211 * debug/Makefile (tests-ifunc): New variable.
212 (tests): Add $(tests-ifunc).
213 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
214 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
215 * debug/test-stpcpy_chk-ifunc.c: New file.
216 * debug/test-strcpy_chk-ifunc.c: Likewise.
217
88481c16
SP
2182012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
219
220 [BZ #13601]
221 * elf/dl-load.c (open_verify): Retry read if the entire ELF
222 header is not read in.
223
135948bd
JM
2242012-10-19 Joseph Myers <joseph@codesourcery.com>
225
89f1c388
JM
226 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
227 script to $(SHELL) as $<. Pass $(common-objpfx) to script
228 directly. Pass built executable to script as
229 $(built-program-cmd).
230 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
231 $testprogram without using LD_LIBRARY_PATH and $ldso.
232
e40a0d21
JM
233 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
234 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
235 $(rtld-installed-name).
236 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
237 (rtld_installed_name): Likewise.
238 (library_path): Likewise.
239 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
240 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
241 $(run-program-prefix) to tst-tables.sh.
242 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
243 it to run tst-table-from and tst-table-to.
244 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
245 Pass it to tst-table.sh.
246 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
247 $(run-program-prefix) to tst-gettext.sh.
248 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
249 tst-translit.sh.
250 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
251 tst-gettext2.sh.
252 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
253 to run tst-gettext.
254 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
255 to run tst-gettext2.
256 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
257 to run tst-translit.
258 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
259 $(run-program-prefix) to tst-mtrace.sh.
260 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
261 to run tst-mtrace.
262 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
263 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
264 $(rtld-installed-name).
265 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
266 (rtld_installed_name): Likewise.
267 (run_program_prefix): New variable. Use it to run wordexp-test.
268
728e272a
JM
269 * Makeconfig (ARCH): Remove all definitions.
270 (machine): Likewise.
271 [ARCH]: Remove conditional code.
272 [!objdir]: Give error.
273 [!objdir] (objpfx): Remove.
274 [!objdir] (common-objpfx): Likewise.
275 [!objdir] (common-objdir): Likewise.
276 * configure.in (config_makefile): Remove. Hardcode Makefile in
277 AC_CONFIG_FILES call.
278 * configure: Regenerated.
279
d528cdcf
JM
280 [BZ #13888]
281 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
282 or TMPDIR.
283 (testout): Likewise.
284
135948bd
JM
285 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
286 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
287 $(rtld-installed-name).
288 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
289 (rtld_installed_name): Likwise.
290 (runit): Remove function.
291 (run_getconf): New variable, Use it for running getconf binary.
292
38c78296
L
2932012-10-18 H.J. Lu <hongjiu.lu@intel.com>
294
295 [BZ #14716]
296 * string/test-memmem.c (check_result): New function.
297 (do_one_test): Use it.
298 (check1): New function.
299 (test_main): Use it.
300
d077f65f
MT
3012012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
302
303 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
304
ced52c71
JM
3052012-10-18 Joseph Myers <joseph@codesourcery.com>
306
307 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
308 (_G_LSEEK64): Likewise.
309 (_G_MMAP64): Likewise.
310 (_G_FSTAT64): Likewise.
311 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
312 (_G_LSEEK64): Likewise.
313 (_G_MMAP64): Likewise.
314 (_G_FSTAT64): Likewise.
315 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
316 unconditional. Call __mmap64 directly.
317 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
318 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
319 __lseek64 directly.
320 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
321 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
322 __mmap64 directly.
323 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
324 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
325 __lseek64 directly.
326 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
327 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
328 __lseek64 directly.
329 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
330 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
331 __lseek64 directly.
332 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
333 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
334 __fxstat64 directly.
335 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
336 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
337 unconditional.
338 (freopen64) [!_G_OPEN64]: Remove conditional code.
339 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
340 unconditional.
341 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
342 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
343 unconditional.
344 (ftello64) [!_G_LSEEK64]: Remove conditional code.
345 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
346 unconditional.
347 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
348 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
349 unconditional.
350 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
351 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
352 unconditional.
353 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
354 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
355 unconditional.
356 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
357 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
358 unconditional.
359 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
360
b741de23
SP
3612012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
362
363 [BZ #12140]
364 * manual/memory.texi (Malloc Tunable Parameters): Add note
365 about free list pointers overwriting some perturb bytes.
366 Wording suggested by Roland McGrath.
367
f9b9d9c9
JM
3682012-10-17 Joseph Myers <joseph@codesourcery.com>
369
370 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
371 (lgamma_test): Likewise.
372 (tgamma_test): Likewise.
373
172a631a
FW
3742012-10-16 Florian Weimer <fweimer@redhat.com>
375
376 [BZ #14700]
377 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
378 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
379
e9f37252
MK
3802012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
381
382 * NEWS: Mention BZ #14716.
383 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
384 when removing AVAILABLE1_USES_J macro.
385
d394eb74
L
3862012-10-12 H.J. Lu <hongjiu.lu@intel.com>
387
388 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
389 (__bswap_64): __uint64_t for unsigned 64-bit int.
390
ca38dc17
AS
3912012-10-12 Andreas Schwab <schwab@linux-m68k.org>
392
393 * include/string.h (memmem): Declare libc hidden alias.
394 * string/memmem.c (memmem): Define libc hidden alias.
395 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
396 __read, __close instead of open, read, close.
397
9a387d1f
L
3982012-10-11 H.J. Lu <hongjiu.lu@intel.com>
399
ac49ecaf
L
400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
401 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
402 global and hidden.
403 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
404 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
405 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
406 Likewise.
407 (__rawmemchr_sse2): Likewise.
408 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
409 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
410 (__strchr_sse2): Likewise.
411 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
412 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
413 (__strcasecmp_sse2): Likewise.
414 (__strncasecmp_sse2): Likewise.
415 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
416 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
417 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
418 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
419 (__strrchr_sse2): Likewise.
420 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
421 ifunc-impl-list.c.
422 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
423 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
424 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
425 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
426 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
427 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
428 * sysdeps/x86_64/multiarch/memset.S: Likewise.
429 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
430 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
431 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
432 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
433 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
434 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
435 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
436 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
437 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
438 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
439 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
440 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
441 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
442 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
443 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
444 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
445 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
446 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
447 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
448 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
449 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
450 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
451 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
452
b090e8ea
L
453 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
454 global and hidden.
455 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
456 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
457 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
458 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
459 Likewise.
460 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
461 Likewise.
462 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
463 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
464 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
465 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
466 ifunc-impl-list.c.
467 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
468 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
469 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
470 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
471 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
472 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
473 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
474 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
475 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
476 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
477 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
478 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
479 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
480 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
481 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
482 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
483 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
484 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
485 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
486 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
487 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
488 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
489 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
490 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
491 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
492 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
493 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
494 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
495 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
496 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
497 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
498 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
499 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
500 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
501 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
502 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
503 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
504 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
505 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
506 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
507 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
508
11dd4af6
L
509 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
510 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
511 * include/ifunc-impl-list.h: New file.
512 * misc/ifunc-impl-list.c: Likewise.
513 * misc/Makefile (routines): Add ifunc-impl-list.
514 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
515 * string/test-string.h: Include <ifunc-impl-list.h>.
516 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
517 impl_array): New variables.
518 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
519 are defined.
520 (test_init): Call __libc_ifunc_impl_list to initialize
521 func_list if TEST_IFUNC and TEST_NAME are defined.
522
9a387d1f
L
523 * string/Makefile (strop-tests): Add bcopy and bzero.
524 * string/test-bcopy.c: New file.
525 * string/test-bzero.c: Likewise.
526 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
527 defined.
528 * string/test-memset.c: Support bzero test if TEST_BZERO is
529 defined.
530 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
531 __libc_memmove.
532 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
533 __libc_memset.
534 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
535 of memset.
536
472371b9
JM
5372012-10-10 Joseph Myers <joseph@codesourcery.com>
538
1e4a9536
JM
539 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
540 * configure: Regenerated.
541
d173d12e
JM
542 * Makeconfig (+link-static-before-libc): Don't include
543 $(link-static-libc).
544
472371b9
JM
545 * libio/libio.h (_IO_pos_t): Remove.
546
89a3ad0b
AO
5472012-10-10 Alexandre Oliva <aoliva@redhat.com>
548
549 * NEWS: Add note about FIPS mode. Wording suggested by Roland
550 McGrath.
551
e7451425
AO
5522012-10-10 Alexandre Oliva <aoliva@redhat.com>
553
554 * crypt/crypt-entry.c: Include fips-private.h.
555 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
556 * crypt/md5c-test.c (main): Tolerate disabled MD5.
557 * sysdeps/unix/sysv/linux/fips-private.h: New file.
558 * sysdeps/generic/fips-private.h: New file, dummy fallback.
559
4ba74a35
AO
5602012-10-10 Alexandre Oliva <aoliva@redhat.com>
561
562 * crypt/crypt-private.h: Include stdbool.h.
563 (_ufc_setup_salt_r): Return bool.
564 * crypt/crypt-entry.c: Include errno.h.
565 (__crypt_r): Return NULL with EINVAL for bad salt.
566 * crypt/crypt_util.c (bad_for_salt): New.
567 (_ufc_setup_salt_r): Check that salt is long enough and within
568 the specified alphabet.
569 * crypt/badsalttest.c: New file.
570 * crypt/Makefile (tests): Add it.
571 ($(objpfx)badsalttest): New.
572
f96f1242
MK
5732012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
574
575 * NEWS: Add entry for BZ #14602.
576
0e8e0c1c
JM
5772012-10-09 Joseph Myers <joseph@codesourcery.com>
578
579 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
580 type-generic.
581 * math/libm-test.inc: Update comment listing what functions and
582 macros are tested.
583 (isgreater_test): New function.
584 (isgreaterequal_test): Likewise.
585 (isless_test): Likewise.
586 (islessequal_test): Likewise.
587 (islessgreater_test): Likewise.
588 (isunordered_test): Likewise.
589 (main): Call the new functions.
590
273edc5e
RM
5912012-10-09 Roland McGrath <roland@hack.frob.com>
592
b8493de0
RM
593 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
594 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
595 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
596 * sysdeps/i386/configure: Regenerated.
597 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
598 * sysdeps/mach/configure: Regenerated.
599 * sysdeps/mach/hurd/configure: Regenerated.
600 * sysdeps/powerpc/configure: Regenerated.
601 * sysdeps/powerpc/powerpc32/configure: Regenerated.
602 * sysdeps/powerpc/powerpc64/configure: Regenerated.
603 * sysdeps/s390/s390-32/configure: Regenerated.
604 * sysdeps/s390/s390-64/configure: Regenerated.
605 * sysdeps/sh/configure: Regenerated.
606 * sysdeps/sparc/configure: Regenerated.
607 * sysdeps/unix/sysv/linux/configure: Regenerated.
608 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
609 * sysdeps/x86_64/configure: Regenerated.
610
273edc5e
RM
611 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
612 defined. Don't check if MAP is NULL.
613
c8450f70
JM
6142012-10-09 Joseph Myers <joseph@codesourcery.com>
615
616 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
617 (_G_stat64): Likewise.
618 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
619 (_G_stat64): Likewise.
620 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
621 instead of struct _G_stat64.
622 * libio/fileops.c (mmap_remap_check): Likewise.
623 (decide_maybe_mmap): Likewise.
624 (_IO_new_file_seekoff): Likewise.
625 (_IO_file_stat): Likewise.
626 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
627 _G_off64_t.
628 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
629 instead of struct _G_stat64.
630 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
631
57e605ba
MK
6322012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
633
634 [BZ #14602]
635 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
636 Replace with ...
637 (CHECK_EOL): New macro.
638 (two_way_short_needle): Check beginning of haystack for EOL. Use
639 CHECK_EOL.
640 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
641 Replace with CHECK_EOL.
642 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
643 Replace with CHECK_EOL.
644
ef1bb361
JM
6452012-10-08 Joseph Myers <joseph@codesourcery.com>
646
647 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
648 type-generic.
649 * math/libm-test.inc: Update comment listing what functions and
650 macros are tested.
651 (finite_test): New function.
652 (isinf_test): Likewise.
653 (isnan_test): Likewise.
654 (fpclassify_test): Test subnormal input.
655 (isfinite_test): Likewise.
656 (isnormal_test): Likewise.
657 (main): Call the new functions.
658
55f11534
JN
6592012-10-08 Jonathan Nieder <jrnieder@gmail.com>
660
661 [BZ #14660]
662 * Makerules (%.dynsym): Force C locale when running
663 $(OBJDUMP) --dynamic-syms.
664
1ab29350
AS
6652012-10-08 Andreas Schwab <schwab@linux-m68k.org>
666
667 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
668 <stdint.h>.
669
f1ecb7ef
DM
6702012-10-06 David S. Miller <davem@davemloft.net>
671
672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
673 upper 32-bits of the length value in %o2 since we use branch-on-register
674 tests which consider the entire 64-bit register.
675
5d41d91a
L
6762012-10-06 H.J. Lu <hongjiu.lu@intel.com>
677
678 * string/test-strstr.c (check2): Add a test for page boundary.
679
3baddb72
DM
6802012-10-05 David S. Miller <davem@davemloft.net>
681
682 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
683 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
684 file.
685 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
686 sysdep_routines.
687 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
688 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
689 and bzero when HWCAP_SPARC_CRYPTO is present.
690
9cee5585
L
6912012-10-05 H.J. Lu <hongjiu.lu@intel.com>
692
d7e0dab9
L
693 [BZ #14602]
694 * string/test-strstr.c (check2): New function.
695 (test_main): Call check2.
696
03759f47
L
697 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
698 and bug-strchr1.
699 * string/bug-strcasestr1.c (do_test): Moved to ...
700 * string/test-strcasestr.c (check1): Here. New function.
701 (do_one_test): Break out result checking code into ...
702 (check_result): This. New function.
703 (do_one_test): Call check_result.
704 (test_main): Call check1.
705 * string/bug-strchr1.c (do_test): Moved to ...
706 * string/test-strchr.c (check1): Here. New function.
707 (do_one_test): Break out result checking code into ...
708 (check_result): This. New function.
709 (do_one_test): Call check_result.
710 (test_main): Call check1.
711 * string/bug-strstr1.c (main): Moved to ...
712 * string/test-strchr.c (check1): Here. New function.
713 (do_one_test): Break out result checking code into ...
714 (check_result): This. New function.
715 (do_one_test): Call check_result.
716 (test_main): Call check1.
717 * string/bug-strcasestr1.c: Removed.
718 * string/bug-strchr1.c: Likewise.
719 * string/bug-strstr1.c: Likewise.
720
53cea63e
L
721 * elf/Makefile (dl-routines): Add hwcaps.
722 * elf/dl-support.c (_dl_important_hwcaps): Removed.
723 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
724 (_dl_important_hwcaps): Moved to ...
725 * elf/dl-hwcaps.c: Here. New file.
726 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
727
9cee5585 728 [BZ #14557]
bb859b06
L
729 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
730 if IS_IN_rtld isn't defined.
731
9cee5585
L
732 * elf/dl-support.c (_dl_sysinfo_map): New.
733 Include "get-dynamic-info.h" and "setup-vdso.h".
734 (_dl_non_dynamic_init): Call setup_vdso.
735 * elf/dynamic-link.h: Don't include <assert.h>.
736 (elf_get_dynamic_info): Moved to ...
737 * elf/get-dynamic-info.h: Here. New file.
738 * elf/dynamic-link.h: Include "get-dynamic-info.h".
739 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
740 * elf/setup-vdso.h: Here. New file.
741 * elf/rtld.c: Include "setup-vdso.h".
742 (dl_main): Call setup_vdso.
743
23c31b76
JM
7442012-10-05 Joseph Myers <joseph@codesourcery.com>
745
28234b07
JM
746 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
747 creal in comment listing functions tested. List finite, isinf,
748 isnan, isless, islessequal, isgreater, isgreaterequal,
749 islessgreater, isunordered, lgamma_r and pow10 as functions and
750 macros not tested. Mention which functions not tested are aliases
751 for other functions. Fix typo. Note that signs of NaNs are not
752 tested.
753
23c31b76
JM
754 * scripts/config.guess: Update from config.git.
755 * scripts/config.sub: Likewise.
756
9043e228
RM
7572012-10-04 Roland McGrath <roland@hack.frob.com>
758
759 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
760 * misc/madvise.c (madvise): Renamed to __madvise.
761 Make madvise a weak alias.
762 * include/sys/mman.h: Declare __madvise.
763 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
764 * sysdeps/unix/syscalls.list
765 (madvise): Make __madvise the strong name, and madvise a weak alias.
766 * sysdeps/unix/sysv/linux/syscalls.list
767 (madvise, mmap): Remove redundant entries.
768 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
769 * malloc/malloc.c (mtrim): Likewise.
770 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
771
f57f8055
RM
7722012-10-03 Roland McGrath <roland@hack.frob.com>
773
774 * sysdeps/mach/hurd/dl-cache.c: File removed.
775 * config.h.in (USE_LDCONFIG): New #undef.
776 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
777 * configure: Regenerated.
778 * elf/Makefile (dl-routines): Add dl-cache only under
779 [$(use-ldconfig) = yes].
780 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
781 cache on [USE_LDCONFIG].
782 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
783 [USE_LDCONFIG].
784 * elf/rtld.c (dl_main): Likewise.
785
5bb0c10a
PT
7862012-10-03 Pino Toscano <toscano.pino@tiscali.it>
787
788 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
789 _SC_LEVEL4_CACHE_LINESIZE.
790
010188c6
RM
7912012-10-03 Roland McGrath <roland@hack.frob.com>
792
793 * sysdeps/unix/bsd/confstr.h: File removed.
794
b6c5ec07
AO
7952012-10-02 Alexandre Oliva <aoliva@redhat.com>
796
797 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
798 sys/sdt-config.h.
799
408223d4
RM
8002012-10-02 Roland McGrath <roland@hack.frob.com>
801
802 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
803 Make 'mapoff' field ElfW(Off) rather than off_t.
804
bb9510dc
DL
8052012-10-02 Dmitry V. Levin <ldv@altlinux.org>
806
fc997c6e
DL
807 * nscd/Makefile: Remove nscd-cflags and all its users.
808 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
809 (CFLAGS-nonlib): Add compiler flags for nscd modules.
810
bb9510dc
DL
811 [BZ #10631]
812 * malloc.c (malloc_printerr): Clarify error message.
813
05699367
L
8142012-10-02 H.J. Lu <hongjiu.lu@intel.com>
815
816 [BZ #14648]
817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
818 Set bit_FMA_Usable if FMA is supported.
819 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
820 macro.
821 (bit_FMA4_Usable): Updated.
822 (index_FMA_Usable): New macro.
823 (CPUID_FMA): Likewise
824 (HAS_FMA): Defined with bit_FMA_Usable.
825
51367701
RM
8262012-10-01 Roland McGrath <roland@hack.frob.com>
827
828 * bits/types.h (__swblk_t): Type removed.
829 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
830 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
831 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
832 (__SWBLK_T_TYPE): Likewise.
833 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
834 (__SWBLK_T_TYPE): Likewise.
835 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
836 (__SWBLK_T_TYPE): Likewise.
837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
838 (__SWBLK_T_TYPE): Likewise.
839
4d57bf63
JL
8402012-10-01 Patsy Franklin <pfrankli@redhat.com>
841 Honza Horak <hhorak@redhat.com>
842
843 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
844 (xdr_mapname): Use YPMAXMAP as maxsize.
845 (xdr_peername): Use YPMAXPEER as maxsize.
846 (xdr_keydat): Use YPAXRECORD as maxsize.
847 (xdr_valdat): Use YPMAXRECORD as maxsize.
848
93c65d43
RM
8492012-10-01 Roland McGrath <roland@hack.frob.com>
850
497a03d6
RM
851 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
852
93c65d43
RM
853 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
854 * csu/init-first.c: ... here.
855 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
856 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
857 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
858 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
859 * sysdeps/i386/init-first.c: File removed.
860 * sysdeps/sh/init-first.c: File removed.
861
bec749fd
JM
8622012-10-01 Joseph Myers <joseph@codesourcery.com>
863
864 [BZ #14645]
865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
866 if x * y might underflow to zero and z is zero.
867 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
868 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
869 * math/libm-test.inc (min_subnorm_value): New variable.
870 (fma_test): Add more tests.
871 (fma_test_towardzero): Likewise.
872 (fma_test_downward): Likewise
873 (fma_test_upward): Likewise.
874 (initialize): Set min_subnorm_value.
875
8ec5b013
JM
8762012-09-29 Joseph Myers <joseph@codesourcery.com>
877
878 [BZ #14638]
879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
880 0 + 0.
881 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
882 mode for addition resulting in exact zero.
883 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
885 exact 0 + 0.
886 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
887 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
888 * math/libm-test.inc (fma_test): Add more tests.
889 (fma_test_towardzero): New function.
890 (fma_test_downward): Likewise.
891 (fma_test_upward): Likewise.
892 (main): Call the new functions.
893
b1fa802e
DM
8942012-09-28 David S. Miller <davem@davemloft.net>
895
896 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
897
d3b9fd9e
RM
8982012-09-28 Roland McGrath <roland@hack.frob.com>
899
ea4d37b3
RM
900 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
901 instead of SIGALRM.
902
ac51c949
RM
903 * sysdeps/gnu/_G_config.h: Moved to ...
904 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
905 * sysdeps/mach/hurd/_G_config.h: Moved to ...
906 * sysdeps/generic/_G_config.h: ... here.
907
28c195f7
RM
908 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
909
848917f9
RM
910 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
911
6bacf05b
RM
912 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
913 Conditionalize target on [libnss_test1.so-version].
914
91363dbb
RM
915 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
916
cc87f7d8
RM
917 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
918 (elfobjdir): Move out of conditionals.
919
b1c608fe
RM
920 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
921 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
922 (__nss_lookup_function): Conditionalize label remove_from_tree on
923 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 924
1d9a6d96
DM
9252012-09-28 David S. Miller <davem@davemloft.net>
926
927 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
928 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
929 file.
930 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
931 sysdep_routines.
932 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
933 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
934 when HWCAP_SPARC_CRYPTO is present.
935
72581615
PT
9362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
937
938 * io/tst-mknodat.c: Create a FIFO instead of a socket.
939
715a900c
JL
9402012-09-28 Andreas Schwab <schwab@linux-m68k.org>
941
942 [BZ #6530]
943 * stdio-common/vfprintf.c (process_string_arg): Revert
944 2000-07-22 change.
945
9462011-09-28 Jonathan Nieder <jrnieder@gmail.com>
947
948 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
949 for testcase.
950 * stdio-common/tst-sprintf.c: Include <locale.h>
951 (main): Test sprintf's handling of incomplete multibyte
952 characters.
953
9bac1d86
L
9542012-09-28 H.J. Lu <hongjiu.lu@intel.com>
955
956 * elf/dl-runtime.c (VERSYMIDX): Removed.
957 * elf/dl-version.c (VERSYMIDX): Likewise.
958 * elf/do-rel.h (VERSYMIDX): Likewise.
959 (VALIDX): Likewise.
960 * elf/dynamic-link.h (VERSYMIDX): Likewise.
961 * elf/rtld.c (VALIDX): Likewise.
962 (ADDRIDX): Likewise.
9bac1d86
L
963 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
964 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
965 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
966 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
967 (VALIDX): Likewise.
968 (ADDRIDX): Likewise.
9bac1d86 969
b31606c0
PT
9702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
971
972 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
973
11541177
JL
9742012-09-28 Dmitry V. Levin <ldv@altlinux.org>
975
976 [BZ #11438]
977 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
978 to global scope.
979 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
980 addresses are in the same scope as 192.0.2/24.
981 * posix/gai.conf: Document new scope table defaults.
982
adb26fae
SP
9832012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
984
985 [BZ #5298]
986 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
987 for ftell. Compute offsets from write pointers instead.
988 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
989
4573c6b0
SP
9902012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
991
992 [BZ #14543]
993 * libio/Makefile (tests): New test case tst-fseek.
994 * libio/tst-fseek.c: New test case to verify that fseek/ftell
995 combination works in wide mode.
996 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
997 state when the external buffer state changes.
998
aa9bbfe6
DM
9992012-09-27 David S. Miller <davem@davemloft.net>
1000
1001 [BZ #14376]
1002 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1003 pass reloc->r_addend in as the 'high' argument to
1004 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1005
784421e7
DM
1006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1007
c39bc8b8
PT
10082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1009
1010 * rt/tst-aio2.c: Include <pthread.h>.
1011 * rt/tst-aio3.c: Likewise.
1012
1ccc2399
SE
10132012-09-27 Steve Ellcey <sellcey@mips.com>
1014
1015 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1016
31ed4153
L
10172012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1018
25f5f885
L
1019 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1020 contents on [SHARED].
31ed4153 1021
b7bfe116
MP
10222012-09-26 Marek Polacek <polacek@redhat.com>
1023
1024 [BZ #14530]
1025 [BZ #13741]
1026 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1027 for C++ and GCC <4.3 as well as for non GCC compilers.
1028
43c4edba
MT
10292012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1030
1031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1032
6a1bf82f
RM
10332012-09-25 Roland McGrath <roland@hack.frob.com>
1034
1035 * Makefile.in (all, install): Declare with .PHONY.
1036 Reported by Michael Hope <michael.hope@linaro.org>.
1037
8ad11b9a
TMQMF
10382012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1039
1040 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1041 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1042 system header.
1043 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1044 Likewise.
1045 (sydep_routines): Add the new and the internal functions.
1046 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1047 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1049 (GLIBC_2.17): Add the new function.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1051 (GLIBC_2.17): Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1053 (GLIBC_2.17): Likewise.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1055 (GLIBC_2.17): Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1057
7e2fca8d
AM
10582012-09-25 Alan Modra <amodra@gmail.com>
1059
1060 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1061 Add release barrier before setting once_control to say
1062 initialisation is done. Add hints on lwarx. Use macro in
1063 place of isync.
1064 (clear_once_control): Add release barrier.
1065
b87c4b24
JM
10662012-09-25 Joseph Myers <joseph@codesourcery.com>
1067
d032e0d2
JM
1068 [BZ #13629]
1069 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1070 specially.
1071 * math/s_clog10.c (__clog10): Likewise.
1072 * math/s_clog10f.c (__clog10f): Likewise.
1073 * math/s_clog10l.c (__clog10l): Likewise.
1074 * math/s_clogf.c (__clogf): Likewise.
1075 * math/s_clogl.c (__clogl): Likewise.
1076 * math/Makefile (libm-calls): Add x2y2m1.
1077 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1078 (__x2y2m1): Likewise.
1079 (__x2y2m1l): Likewise.
1080 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1081 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1082 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1083 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1084 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1085 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1086 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1087 * sysdeps/i386/fpu/libm-test-ulps: Update.
1088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1089
b87c4b24
JM
1090 [BZ #14621]
1091 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1092 int as type of variable DEPTH.
1093 (glob): Use size_t instead of int as type of variables NEWCOUNT
1094 and OLD_PATHC.
1095
6d3bf199
LD
10962012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1097
22bf5c17
LD
1098 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1099 Add s_sincosf-sse2.
1100 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1101 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1102 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1103 macros for using routine as __sincosf_ia32.
1104 Use macro for function declaration and weak_alias.
1105 * sysdeps/i386/fpu/libm-test-ulps: Update.
1106
1107 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1109
1110 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1111 subnormal argument.
1112 * math/s_cexpf.c (__cexpf): Likewise.
1113 * math/s_csinf.c (__csinf): Likewise.
1114 * math/s_csinhf.c (__csinhf): Likewise.
1115 * math/s_ctanf.c (__ctanf): Likewise.
1116 * math/s_ctanhf.c (__ctanhf): Likewise.
1117 * math/s_ccosh.c (__ccoshf): Likewise.
1118 * math/s_cexp.c (__cexpl): Likewise.
1119 * math/s_csin.c (__csin): Likewise.
1120 * math/s_csinh.c (__csinh): Likewise.
1121 * math/s_ctan.c (__ctan): Likewise.
1122 * math/s_ctanh.c (ctanh): Likewise.
1123 * math/s_ccoshl.c (__ccoshl): Likewise.
1124 * math/s_cexpl.c (__cexpl): Likewise.
1125 * math/s_csinl.c (__csinl): Likewise.
1126 * math/s_csinhl.c (__csinhl): Likewise.
1127 * math/s_ctanl.c (__ctanl): Likewise.
1128 * math/s_ctanhl.c (__ctanhl): Likewise.
1129
203e5603
JM
11302012-09-25 Joseph Myers <joseph@codesourcery.com>
1131
1132 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1133 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1134 (_IO_off_t): Define to __off_t, not _G_off_t.
1135 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1136 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1137 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1138 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1139 type of __dummy and __dummy2 fields.
1140 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1141 (_G_ssize_t): Likewise.
1142 (_G_off_t): Likewise.
1143 (_G_pid_t): Likewise.
1144 (_G_uid_t): Likewise.
1145 (_G_wchar_t): Likewise.
1146 (_G_wint_t): Likewise.
1147 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1148 (_G_ssize_t): Likewise.
1149 (_G_off_t): Likewise.
1150 (_G_pid_t): Likewise.
1151 (_G_uid_t): Likewise.
1152 (_G_wchar_t): Likewise.
1153 (_G_wint_t): Likewise.
1154 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1155 (_G_ssize_t): Likewise.
1156 (_G_off_t): Likewise.
1157 (_G_pid_t): Likewise.
1158 (_G_uid_t): Likewise.
1159 (_G_wchar_t): Likewise.
1160 (_G_wint_t): Likewise.
1161
9fab36eb
SP
11622012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1163
1164 * malloc/arena.c: Include malloc-sysdep.h.
1165 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1166 is sufficient to shrink the heap or an unmap is needed.
1167 * sysdeps/generic/malloc-sysdep.h: New file. Define
1168 new function check_may_shrink_heap.
1169 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1170 new function check_may_shrink_heap.
1171
2b4f00d1
SP
11722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1173
1174 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1175 comments.
1176
9a9028b1
DL
11772012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1178
57c69bef
DL
1179 * catgets/test-gencat.sh: Add "set -e".
1180 * elf/tst-pathopt.sh: Likewise.
1181 * grp/tst_fgetgrent.sh: Likewise.
1182 * iconvdata/run-iconv-test.sh: Likewise.
1183 * intl/tst-gettext.sh: Likewise.
1184 * intl/tst-gettext2.sh: Likewise.
1185 * intl/tst-gettext4.sh: Likewise.
1186 * intl/tst-gettext6.sh: Likewise.
1187 * intl/tst-translit.sh: Likewise.
1188 * io/ftwtest-sh: Likewise.
1189 * libio/test-freopen.sh: Likewise.
1190 * malloc/tst-mtrace.sh: Likewise.
1191 * posix/globtest.sh: Likewise.
1192 * posix/tst-getconf.sh: Likewise.
1193 * posix/wordexp-tst.sh: Likewise.
1194 * stdio-common/tst-printf.sh: Likewise.
1195 * stdio-common/tst-unbputc.sh: Likewise.
1196 * stdlib/tst-fmtmsg.sh: Likewise.
1197 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1198 * catgets/Makefile: Do not specify -e option when running
1199 testsuite shell scripts.
1200 * elf/Makefile: Likewise.
1201 * grp/Makefile: Likewise.
1202 * iconvdata/Makefile: Likewise.
1203 * intl/Makefile: Likewise.
1204 * io/Makefile: Likewise.
1205 * libio/Makefile: Likewise.
1206 * malloc/Makefile: Likewise.
1207 * posix/Makefile: Likewise.
1208 * stdio-common/Makefile: Likewise.
1209 * stdlib/Makefile: Likewise.
1210 * sysdeps/x86_64/Makefile: Likewise.
1211
9a9028b1
DL
1212 * io/ftwtest-sh: Add copyright header.
1213 * posix/globtest.sh: Likewise.
1214 * posix/tst-getconf.sh: Likewise.
1215 * posix/wordexp-tst.sh: Likewise.
1216 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1217
ced6f16e
L
12182012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1219
94b32c39
L
1220 [BZ #13679]
1221 * Makeconfig (+link): Defined as $(+link-static) if
1222 $(build-shared) isn't yes.
1223 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1224 isn't yes.
1225 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1226
189e935b
L
1227 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1228
ced6f16e
L
1229 [BZ #14562]
1230 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1231 new chunk size with MALLOC_ALIGN_MASK.
1232
a9f8e53a
JM
12332012-09-24 Joseph Myers <joseph@codesourcery.com>
1234
1235 [BZ #5044]
1236 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1237 <rounding-mode.h>.
1238 (__printf_fphex): Determine rounding using get_rounding_mode and
1239 round_away.
1240 * stdio-common/tst-printf-round.c (struct hex_test): New
1241 structure.
1242 (hex_tests): New variable.
1243 (test_hex_in_one_mode): New function.
1244 (do_test): Also run tests for hex float output.
1245
43153109
JM
12462012-09-21 Joseph Myers <joseph@codesourcery.com>
1247
1248 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1249 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1250 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1251 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1252 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1253 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1254 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1255 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1256
8a26625d
JM
12572012-09-20 Joseph Myers <joseph@codesourcery.com>
1258
1259 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1260 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1261 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1262 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1263
f3fd569c
DL
12642012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1265
1266 [BZ #14579]
1267 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1268 mode only.
1269 * elf/tst-rtld-load-self.sh: New test.
1270 * elf/Makefile: Run it.
1271
63bbedd4
JM
12722012-09-18 Joseph Myers <joseph@codesourcery.com>
1273
1274 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1275 (tst-writev-ENV): Remove.
1276 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1277
626f8b6a
CM
12782012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1279
1280 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1281
b7aaa4d6
JM
12822012-09-17 Joseph Myers <joseph@codesourcery.com>
1283
1284 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1285 unconditional.
1286 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1287 Likewise.
1288 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1289 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1290 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1291 Likewise.
1292
65513990
L
12932012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 [BZ #14587]
1296 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1297 * config.make.in (have-cpp-asm-debuginfo): Removed.
1298 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1299 * configure: Regenerated.
1300
784761be
JM
13012012-09-14 Joseph Myers <joseph@codesourcery.com>
1302
1303 [BZ #5044]
1304 * stdio-common/printf_fp.c: Include <stdbool.h> and
1305 <rounding-mode.h>.
1306 (___printf_fp): Determine rounding using get_rounding_mode and
1307 round_away.
1308 * stdio-common/tst-printf-round.c: New file.
1309 * stdio-common/Makefile (tests): Add tst-printf-round.
1310 (link-libm): New variable.
1311 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1312
9503345f
L
13132012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1314
1315 [BZ #14576]
1316 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1317 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1318 Likewise.
1319 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1320 Likewise.
1321
ad35fc00
JM
13222012-09-13 Joseph Myers <joseph@codesourcery.com>
1323
1324 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1325 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1326 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1327 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1328
6c9b0f68
JM
13292012-09-12 Joseph Myers <joseph@codesourcery.com>
1330
1331 [BZ #14518]
1332 * include/rounding-mode.h: New file.
1333 * sysdeps/generic/get-rounding-mode.h: Likewise.
1334 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1335 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1336 (MAX_VALUE): New macro.
1337 (MIN_VALUE): Likewise.
1338 (overflow_value): New function.
1339 (underflow_value): Likewise.
1340 (round_and_return): Use overflow_value and underflow_value to
1341 determine return values in overflow and underflow cases. Use
1342 round_away to determine rounding depending on rounding mode.
1343 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1344 determine return values in overflow and underflow cases.
1345 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1346 (struct test_results): New structure.
1347 (struct test): Use struct test_results to store expected results
1348 for all rounding modes.
1349 (TEST): Include expected results for all rounding modes.
1350 (test_in_one_mode): New function.
1351 (do_test): Use test_in_one_mode to compute and check results.
1352 Check results for all rounding modes.
1353 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1354 $(link-libm).
1355
19fcedd5
AM
13562012-12-09 Allan McRae <allan@archlinux.org>
1357
1358 * sysdeps/i386/fpu/libm-test-ulps: Update
1359
8bbfd2f1
JM
13602012-09-11 Joseph Myers <joseph@codesourcery.com>
1361
1362 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1363 (_G_int32_t): Likewise.
1364 (_G_uint16_t): Likewise.
1365 (_G_uint32_t): Likewise.
1366 (_G_HAVE_BOOL): Likewise.
1367 (_G_HAVE_ATEXIT): Likewise.
1368 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1369 (_G_HAVE_IO_FILE_OPEN): Likewise.
1370 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1371 (_G_int32_t): Likewise.
1372 (_G_uint16_t): Likewise.
1373 (_G_uint32_t): Likewise.
1374 (_G_HAVE_BOOL): Likewise.
1375 (_G_HAVE_ATEXIT): Likewise.
1376 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1377 (_G_HAVE_IO_FILE_OPEN): Likewise.
1378 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1379 (_G_int32_t): Likewise.
1380 (_G_uint16_t): Likewise.
1381 (_G_uint32_t): Likewise.
1382 (_G_HAVE_BOOL): Likewise.
1383 (_G_HAVE_ATEXIT): Likewise.
1384 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1385 (_G_HAVE_IO_FILE_OPEN): Likewise.
1386
b1dc5912
L
13872012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 * csu/libc-tls.c: Update copyright years.
1390
0e886ef9
JM
13912012-09-10 Joseph Myers <joseph@codesourcery.com>
1392
28361c5e
JM
1393 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1394 [!_G_USING_THUNKS]: Remove conditional code.
1395 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1396 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1397
0e886ef9
JM
1398 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1399 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1400 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1401 (_G_VTABLE_LABEL_PREFIX): Likewise.
1402 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1403 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1404 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1405 (_G_VTABLE_LABEL_PREFIX): Likewise.
1406 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1407 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1408 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1409 (_G_VTABLE_LABEL_PREFIX): Likewise.
1410 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1411
bcba7aa2
L
14122012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1413
1414 * libio/Makefile: Include ../Makeconfig before tests.
1415 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1416 only if $(build-shared) is yes.
1417
06585ee8
L
1418 * iconv/gconv_db.c: Update copyright years.
1419
80ccd52c
LD
14202012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1421
1422 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1423 unwind info if defined PIC. Fix special cases description.
1424 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1425
1426 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1427 DP_HI_MASK entry.
1428 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1429
691bc9c1
L
14302012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1431
3d9b46b3
L
1432 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1433
de2139a9
L
1434 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1435 is NULL.
1436
5ca78dd0
L
1437 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1438 (LDLIBS-tst-chk4): This.
1439 (LDFLAGS-tst-chk5): Renamed to ...
1440 (LDLIBS-tst-chk5): This.
1441 (LDFLAGS-tst-chk6): Renamed to ...
1442 (LDLIBS-tst-chk6): This.
1443 (LDFLAGS-tst-lfschk4): Renamed to ...
1444 (LDLIBS-tst-lfschk4): This.
1445 (LDFLAGS-tst-lfschk5): Renamed to ...
1446 (LDLIBS-tst-lfschk5): This.
1447 (LDFLAGS-tst-lfschk6): Renamed to ...
1448 (LDLIBS-tst-lfschk6): This.
1449
691bc9c1
L
1450 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1451 on $(common-objpfx)soversions.mk.
1452
65cafb1c
JM
14532012-09-07 Joseph Myers <joseph@codesourcery.com>
1454
1455 [BZ #10014]
1456 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1457 example host name.
1458
c78ab094
SP
14592012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1460
1461 * malloc/arena.c (arena_get_retry): New function that gets
1462 another arena for the caller to try its request on.
1463 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1464 current arena cannot fulfill the request.
1465 (__libc_memalign): Likewise.
1466 (__libc_memalign): Likewise.
1467 (__libc_pvalloc): Likewise.
1468 (__libc_calloc): Likewise.
1469
01f49f59
JT
14702012-09-05 John Tobey <john.tobey@gmail.com>
1471
1472 [BZ #13542]
1473 * manual/arith.texi (Operations on Complex): Fix description
1474 of carg branch cut.
1475
4c23fed5
JM
14762012-09-06 Joseph Myers <joseph@codesourcery.com>
1477
1d3c8572
JM
1478 [BZ #10014]
1479 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1480 host name.
1481
4c23fed5
JM
1482 [BZ #10038]
1483 * manual/memory.texi (Memory): Make order of menu items match
1484 order of sections.
1485
04570aaa
L
14862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1487
1488 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1489 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1490 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1491
b80af2f4
L
14922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1493
1494 * csu/libc-tls.c (static_dtv): Renamed to ...
1495 (_dl_static_dtv): This. Make it global.
1496 (_dl_initial_dtv): Removed.
1497 (__libc_setup_tls): Updated.
1498 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1499 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1500 DL_INITIAL_DTV.
1501
2abe9f15
PM
15022012-09-06 Petr Machata <pmachata@redhat.com>
1503
1504 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1505 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1506 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1507 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1508
0948c3af
L
15092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1510
1511 [BZ #14545]
1512 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1513 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1514 freeing dtv[-1].
1515
a5055ad1
L
15162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1517
1518 [BZ #14544]
1519 * Makeconfig (link-static-before-libc): Replace $(+prector)
1520 with $(+prectorT).
1521 (link-static-after-libc): Replace $(+postctor) with
1522 $(+postctorT).
1523 (link-bounded): Replace $(+prector)/$(+postctor) with
1524 $(+prectorT)/$(+postctorT).
1525 (+prectorT): New macro.
1526 (+postctorT): Likewise.
1527
ed8c2ecd
JM
15282012-09-06 Joseph Myers <joseph@codesourcery.com>
1529
1530 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1531 (round_str): Handle values above the maximum for IBM long double
1532 as inexact.
1533 * stdlib/tst-strtod-round.c (tests): Regenerated.
1534
14c996c8
AK
15352012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1536
1537 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1538 assembler flag.
1539 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1540 zarch_nohighgprs around the zarch optimized routines.
1541 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1542 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1543 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1544 for zarch.
1545
430d6ce6
DM
15462012-09-05 David S. Miller <davem@davemloft.net>
1547
1548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1549
ff04dda4
DM
1550 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1551 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1552 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1553 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1554 entries.
1555
24d4e01b
AO
15562012-09-05 Alexandre Oliva <aoliva@redhat.com>
1557
1558 * malloc/arena.c: Fold copyright years.
1559 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1560
61d58174
AO
15612012-09-05 Alexandre Oliva <aoliva@redhat.com>
1562
1563 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1564
20196a5e
AO
15652012-09-05 Alexandre Oliva <aoliva@redhat.com>
1566
1567 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1568
5c447383
AO
15692012-09-05 Alexandre Oliva <aoliva@redhat.com>
1570
1571 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1572 change internal state upon failure.
1573
fad64255
AO
15742012-09-05 Alexandre Oliva <aoliva@redhat.com>
1575
1576 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1577 * malloc/memusage.c (mmap): Likewise.
1578 (mmap64, mremap): Likewise. Adjust name in comment.
1579
1ffb8c90
SP
15802012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1581
1582 * libio/fileops.c: Fix typos in comments.
1583 * libio/oldfileops.c: Likewise.
1584 * libio/wfileops.c: Likewise.
1585
6ef9cc37
SP
15862012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1587
1588 [BZ #1349]
1589 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1590 (tst-malloc-usable-ENV): Set environment for test case.
1591 * malloc/hooks.c (malloc_check_get_size): New function to get
1592 requested size.
1593 * malloc/malloc.c (musable): Use malloc_check_get_size.
1594 * malloc/tst-malloc-usable.c: New test case.
1595
4d038ae3
AS
15962012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1597
1598 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1599
c4e85184
AM
16002012-09-05 Allan McRae <allan@archlinux.org>
1601
b9dafc56 1602 [BZ #13966]
c4e85184
AM
1603 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1604 determine header location.
1605 * configure: Regenerated.
1606
e1343020
AS
16072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1608
1609 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1610 float format.
1611 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1612 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1613 format.
e1343020
AS
1614 (test): Regenerate.
1615
0a9f1987
DM
16162012-09-04 David S. Miller <davem@davemloft.net>
1617
1618 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1619 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1620 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1621
29237804
FW
16222012-09-04 Florian Weimer <fweimer@redhat.com>
1623
1624 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1625 failures.
1626
edb3cb88
FW
1627 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1628
60160d83
JM
16292012-09-04 Joseph Myers <joseph@codesourcery.com>
1630
1631 [BZ #9914]
1632 * libio/iogetdelim.c: Include <limits.h>.
1633 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1634 + len + 1 would overflow.
1635
bcd6c8dc
AJ
16362012-09-03 Andreas Jaeger <aj@suse.de>
1637
1638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1639 * sysdeps/i386/fpu/libm-test-ulps: Update.
1640
4ffffbd2
LD
16412012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1642
1643 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1644 Add s_sinf-sse2, s_conf-sse2.
1645
1646 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1647 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1648 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1649 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1650
1651 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1652 for using routine as __sinf_ia32.
1653 Use macro for function declaration and weak_alias.
1654 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1655 for using routine as __cosf_ia32.
1656 Use macro for function declaration and weak_alias.
1657
1658 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1659 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1660
1661 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1662 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1664
1665 * math/libm-test.inc (cos_test): Add more test cases.
1666 (sin_test): Likewise.
1667 (sincos_test): Likewise.
1668
511fa286
AK
16692012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1670
1671 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1672 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1673 hidden.
1674 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1675
5f30cfec
L
16762012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1677
1678 [BZ #14538]
1679 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1680 first element of the GOT.
1681 (elf_machine_load_address): Return the difference between
1682 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1683
0786794f
AM
16842012-09-01 Allan McRae <allan@archlinux.org>
1685
5f30cfec
L
1686 [BZ #13412]
1687 * configure.in (AWK): Require gawk version 3.0 or later.
1688 * configure: Regenerated.
0786794f 1689
26889eac
JM
16902012-09-01 Joseph Myers <joseph@codesourcery.com>
1691
1692 * sysdeps/unix/sysv/linux/kernel-features.h
1693 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1694 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1695 [__NR_clock_getres]: Make code unconditional.
1696 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1697 (clock_getcpuclockid): Remove code left unreachable by removal of
1698 conditionals.
1699 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1700 code unconditional.
1701 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1702 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1703 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1704 Make code unconditional.
1705 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1706 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1707 * sysdeps/unix/sysv/linux/clock_settime.c
1708 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1709 conditional code.
1710 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1711 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1712
d22e28b0
L
17132012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1714
1715 [BZ #14476]
1716 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1717 scripts/test-installation.pl.
1718
1719 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1720 and $ld_so_version if it is set.
1721
050af9c4
SP
17222012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1723
1724 [BZ #14516]
1725 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1726 failure if reading from procfs failed.
1727 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1728
ad845c0b
JM
17292012-08-27 Joseph Myers <joseph@codesourcery.com>
1730
1731 * sysdeps/unix/sysv/linux/kernel-features.h
1732 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1733 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1734 Remove conditional code.
1735 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1736 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1737 Remove conditional code.
1738 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1739 * sysdeps/unix/sysv/linux/i386/fxstat.c
1740 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1741 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1742 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1743 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1744 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1745 * sysdeps/unix/sysv/linux/i386/lxstat.c
1746 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1747 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1748 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1749 Remove conditional code.
1750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1751 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1752 Remove conditional code.
1753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1754 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1755 <kernel-features.h>.
1756 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1757 Remove.
1758 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1759 Remove conditional code.
1760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1761 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1762 Remove conditional.
1763
5dbf56af
MF
17642012-08-27 Mike Frysinger <vapier@gentoo.org>
1765
1766 [BZ #5400]
1767 * NEWS: Add fixed bug number.
1768
d6e70f43
JM
17692012-08-27 Joseph Myers <joseph@codesourcery.com>
1770
7efb4737
JM
1771 [BZ #14519]
1772 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1773 underflowing exponent in case of negative sign.
1774 * stdlib/tst-strtod-round-data: Add more tests.
1775 * stdlib/tst-strtod-round.c (tests): Regenerated.
1776
af92131a
JM
1777 [BZ #3479]
1778 * stdlib/strtod_l.c (NDIG): Remove.
1779 (HEXNDIG): Likewise.
1780 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1781 smallest representable value.
1782 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1783 lie within an exact representation of 1/2 ulp of the result.
1784 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1785 unconditionally.
1786 (TENS_P9_IDX): Define unconditionally.
1787 (TENS_P9_SIZE): Likewise.
1788 (TENS_P10_IDX): Likewise.
1789 (TENS_P10_SIZE): Likewise.
1790 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1791 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1792 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1793 entries for 10^2^13 and 10^2^14.
1794 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1795 (TENS_P13_IDX): Define.
1796 (TENS_P13_SIZE): Likewise.
1797 (TENS_P14_IDX): Likewise.
1798 (TENS_P14_SIZE): Likewise.
1799 (_fpioconst_pow10): Change array size to
1800 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1801 unconditional.
1802 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1803 1024]: Add entries for 10^2^13 and 10^2^14.
1804 [LAST_POW10 > _LAST_POW10]: Remove #error.
1805 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1806 (_fpioconst_pow10): Change array size to
1807 FPIOCONST_POW10_ARRAY_SIZE.
1808 * stdlib/gen-fpioconst.c: New file.
1809 * stdlib/gen-tst-strtod-round.c: Likewise.
1810 * stdlib/tst-strtod-round-data: Likewise.
1811 * stdlib/tst-strtod-round.c: Likewise.
1812 * stdlib/Makefile (tests): Add tst-strtod-round.
1813
d6e70f43
JM
1814 [BZ #14459]
1815 * stdlib/strtod_l.c: Include <stdint.h>.
1816 (NDEBUG): Do not define.
1817 (round_and_return): Change EXPONENT parameter to type intmax_t.
1818 Rearrange calculations to avoid internal overflow possibilities.
1819 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1820 Rearrange calculations to avoid internal overflow possibilities.
1821 Assert that number fits inside MPNSIZE limbs.
1822 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1823 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1824 calculations and add assertions to avoid internal overflow
1825 possibilities. Add casts to avoid signed/unsigned operations.
1826 * stdlib/tst-strtod-overflow.c: New file.
1827 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1828
1f529f7d
MP
18292012-08-25 Marek Polacek <polacek@redhat.com>
1830
1831 * time/time.h: Fix some typos in comments.
1832
59a629f1
RM
18332012-08-23 Roland McGrath <roland@hack.frob.com>
1834
1835 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1836 * posix/tst-rfc3484-2.c: Likewise.
1837 * posix/tst-rfc3484-3.c: Likewise.
1838
d3bafbc9
SM
18392012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1840
1841 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1842 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1843
4efcc022
JM
18442012-08-23 Joseph Myers <joseph@codesourcery.com>
1845
1846 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1847 #include of fxstatat64.c.
1848
3cc3ef96
RM
18492012-08-22 Roland McGrath <roland@hack.frob.com>
1850
f04e2132
RM
1851 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1852 * shadow/getspent_r.c: Likewise.
1853 * shadow/getspnam.c: Likewise.
1854 * shadow/getspnam_r.c: Likewise.
1855 * gshadow/getsgent.c: Likewise.
1856 * gshadow/getsgent_r.c: Likewise.
1857 * gshadow/getsgnam.c: Likewise.
1858 * gshadow/getsgnam_r.c: Likewise.
1859 * inet/getnetbyad.c: Likewise.
1860 * inet/getnetbyad_r.c: Likewise.
1861 * inet/getnetbynm.c: Likewise.
1862 * inet/getnetbynm_r.c: Likewise.
1863 * inet/getnetent.c: Likewise.
1864 * inet/getnetent_r.c: Likewise.
1865 * inet/getproto.c: Likewise.
1866 * inet/getproto_r.c: Likewise.
1867 * inet/getprtent.c: Likewise.
1868 * inet/getprtent_r.c: Likewise.
1869 * inet/getprtname.c: Likewise.
1870 * inet/getprtname_r.c: Likewise.
1871 * inet/getrpcbyname.c: Likewise.
1872 * inet/getrpcbyname_r.c: Likewise.
1873 * inet/getrpcbynumber.c: Likewise.
1874 * inet/getrpcbynumber_r.c: Likewise.
1875 * inet/getrpcent.c: Likewise.
1876 * inet/getrpcent_r.c: Likewise.
1877 * inet/getaliasent.c: Likewise.
1878 * inet/getaliasent_r.c: Likewise.
1879 * inet/getaliasname.c: Likewise.
1880 * inet/getaliasname_r.c: Likewise.
1881 * nscd/getgrgid_r.c: Likewise.
1882 * nscd/getgrnam_r.c: Likewise.
1883 * nscd/gethstbyad_r.c: Likewise.
1884 * nscd/gethstbynm3_r.c: Likewise.
1885 * nscd/getpwnam_r.c: Likewise.
1886 * nscd/getpwuid_r.c: Likewise.
1887 * nscd/getsrvbynm_r.c: Likewise.
1888 * nscd/getsrvbypt_r.c: Likewise.
1889 * nscd/gai.c: Likewise.
1890
c53d909c
RM
1891 * configure.in (build_nscd): New substituted variable, set
1892 by --disable-build-nscd and defaults to $use_nscd.
1893 * configure: Regenerated.
1894 * config.make.in (build-nscd): New substituted variable.
1895 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1896 Change conditional to require [$(build-nscd) = yes] as well.
1897 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1898
3cc3ef96
RM
1899 [BZ# 13696]
1900 * configure.in (use_nscd): New substituted variable, set by
1901 --disable-nscd. If enabled, define USE_NSCD.
1902 * configure: Regenerated.
1903 * config.h.in: Add USE_NSCD.
1904 * config.make.in (use-nscd): New substituted variable.
1905 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1906 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1907 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1908 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1909 (CFLAGS-getgrnam_r.c): Likewise.
1910 (CFLAGS-initgroups.c): Likewise.
1911 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1912 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1913 Variables removed.
1914 * inet/getnetgrent_r.c
1915 (nscd_setnetgrent): New function, broken out of ...
1916 (setnetgrent): ... here. Call it.
1917 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1918 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1919 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1920 * nscd/Makefile (routines, aux): Move definitions after include of
1921 Makeconfig. Conditionalize on [$(use-nscd) != no].
1922 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1923 Conditionalize on [USE_NSCD].
1924 (is_nscd, nscd_init_cb): Likewise.
1925 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1926 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1927 * nss/nss_db/db-init.c: Likewise.
1928 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1929 [USE_NSCD].
1930 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1931 (make_request): Use it.
1932 (cache_valid_p): New function.
1933 (__check_pf): Use it.
1934 * NEWS: Add item for --disable-nscd.
1935
07e51550
DL
19362012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1937
1938 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1939 to support sed >= 4.2.1-20-ga9bf076.
1940 * configure: Regenerated.
1941
35a5b08b
RM
19422012-08-22 Roland McGrath <roland@hack.frob.com>
1943
1944 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1945 Conditionalize whole body on [IREL].
1946
8479f23a
JL
19472012-08-22 Jeff Law <law@redhat.com>
1948
1949 [BZ #14505]
1950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1951 if the family is PF_UNSPEC.
1952
48da0b21
MF
19532012-08-22 Mike Frysinger <vapier@gentoo.org>
1954
1955 * Makerules (lib-version): Rename from V.
1956 (install-lib-nosubdir): Change V to lib-version.
1957
15d0da8c
WS
19582012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1959
1960 [BZ #14252]
1961 * powerpc32/power6/wcschr.c: New file.
1962 * powerpc32/power6/wcscpy.c: New file.
1963 * powerpc32/power6/wcsrchr.c: New file.
1964 * powerpc64/power6/wcschr.c: New file.
1965 * powerpc64/power6/wcscpy.c: New file.
1966 * powerpc64/power6/wcsrchr.c: New file.
1967
bcca0895
MK
19682012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1969
1970 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1971 (two_way_short_needle): Use it.
5a4aaa33
RM
1972 * string/strstr.c (AVAILABLE1_USES_J): Define.
1973 * string/strcasestr.c: Likewise.
99677e57
MK
1974
1975 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1976 array references.
1977 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1978
400726de
MK
1979 [BZ #11607]
1980 * NEWS: Add an entry.
1981 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1982 define their defaults.
1983 (two_way_short_needle): Detect end-of-string on-the-fly.
1984 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1985 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1986 * string/bug-strcasestr1.c: New test.
1987 * string/Makefile: Run it.
1988
20a71f2c
MK
19892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1990
1991 [BZ #11607]
1992 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1993 the first character.
1994
21ad0558
RM
19952012-08-21 Roland McGrath <roland@hack.frob.com>
1996
1997 * csu/elf-init.c (__libc_csu_irel): Function removed.
1998 * csu/libc-start.c (apply_irel): New function.
1999 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2000
0e1d9911
JM
20012012-08-21 Joseph Myers <joseph@codesourcery.com>
2002
2003 * sysdeps/unix/sysv/linux/kernel-features.h
2004 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2005 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2006 <kernel-features.h>.
2007 [__NR_fadvise64_64]: Make code unconditional.
2008 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2009 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2010 !__NR_fadvise64_64)]: Likewise.
2011 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2012 !__NR_fadvise64_64))]: Likewise.
2013 [__NR_fadvise64]: Make code unconditional.
2014 [!__NR_fadvise64]: Remove conditional code.
2015 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2016 <kernel-features.h>.
2017 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2018 unconditional.
2019 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2020 conditional code.
2021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2022 not include <kernel-features.h>.
2023 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2024 unconditional.
2025 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2026 conditional code.
2027 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2028 include <kernel-features.h>.
2029 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2030 unconditional.
2031 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2032 conditional code.
2033
14a50c9d
WS
20342012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2035
2036 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2037 slight instruction rearrangements per scrollpipe analysis.
2038 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2039
c0f4faf0
RM
20402012-08-20 Roland McGrath <roland@hack.frob.com>
2041
696da859
RM
2042 * manual/syslog.texi (syslog; vsyslog, closelog):
2043 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2044 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2045
c0f4faf0
RM
2046 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2047 DSOCAPS to match condition on defining it.
2048
348363b2
JM
20492012-08-20 Joseph Myers <joseph@codesourcery.com>
2050
a35cbf28
JM
2051 * sysdeps/unix/sysv/linux/kernel-features.h
2052 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2054 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2055 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2057 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2058 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2060 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2061 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2062
445f7ecd
JM
2063 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2064 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2065
348363b2
JM
2066 * sysdeps/unix/sysv/linux/kernel-features.h
2067 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2068 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2069 unconditional.
2070 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2071 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2072 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2073 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2074 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2075 Make code unconditional.
2076 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2077 (__mmap64) [!__NR_mmap2]: Likewise.
2078 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2079 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2080 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2081 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2082 [__NR_mmap2]: Make code unconditional.
2083 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2084 (__mmap64) [!__NR_mmap2]: Likewise.
2085
bc5bc0e5
AK
20862012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2087
2088 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2089
88d506de
AJ
20902012-08-18 Andreas Jaeger <aj@suse.de>
2091
2092 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2093
493387d2
MF
20942012-08-18 Mike Frysinger <vapier@gentoo.org>
2095
2096 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2097 * include/unistd.h (__have_sock_cloexec): Likewise.
2098 (__have_pipe2): Likewise.
2099 (__have_dup3): Likewise.
2100
a277af22
MF
21012012-08-18 Mike Frysinger <vapier@gentoo.org>
2102
2103 [BZ #9685]
2104 * include/unistd.h (__have_pipe2): Change define into an extern int.
2105 (__have_dup3): Likewise.
2106 * socket/have_sock_cloexec.c: Include fcntl.h.
2107 (__have_pipe2): New variable.
2108 (__have_dup3): Likewise.
2109
fdab8fd3
MF
21102012-08-17 Mike Frysinger <vapier@gentoo.org>
2111
2112 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2113
31035e80
MP
21142012-08-17 Marek Polacek <polacek@redhat.com>
2115
2116 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2117 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2118
3bd9e993
RM
21192012-08-17 Roland McGrath <roland@hack.frob.com>
2120
c91c505f
RM
2121 * configure.in: Add AC_SUBST for sysheaders.
2122 * configure: Regenerated.
2123 * config.make.in (sysheaders): New substituted variable.
2124
7c6f9d53
RM
2125 * sysdeps/unix/mkfifo.c: Moved ...
2126 * sysdeps/posix/mkfifo.c: ... here.
2127 * sysdeps/unix/mkfifoat.c: Moved ...
2128 * sysdeps/posix/mkfifoat.c: ... here.
2129
2130 * sysdeps/unix/utime.c: Moved ...
2131 * sysdeps/posix/utime.c: ... here.
2132
2133 * sysdeps/unix/time.c: Moved ...
2134 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2135 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2136 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2137
2138 * sysdeps/unix/nice.c: Moved ...
2139 * sysdeps/posix/nice.c: ... here.
2140
2141 * sysdeps/unix/alarm.c: Moved ...
2142 * sysdeps/posix/alarm.c: ... here.
2143
3bd9e993
RM
2144 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2145
d1f09384
JL
21462012-08-17 Jeff Law <law@redhat.com>
2147
2148 * intl/Makefile (codeset_mo): New variable.
2149 ($(codeset_mo)): New target.
2150 (tst-codeset.out): Depend on that. Remove explicit rule.
2151 (tst-gettext3.out, tst-gettext5.out): Likewise.
2152 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2153 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2154 * intl/tst-codeset.sh: Remove.
2155 * intl/tst-gettext3.sh: Likewise.
2156 * intl/tst-gettext5.sh: Likewise.
2157
2ae1ae5c
RM
21582012-08-17 Roland McGrath <roland@hack.frob.com>
2159
c31fdb83
RM
2160 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2161 * sysdeps/unix/syscalls.list: ... here.
2162
a0844057
RM
2163 * sysdeps/posix/getaddrinfo.c
2164 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2165 (gaiconf_init, gaiconf_reload): Use them.
2166 [!_STATBUF_ST_NSEC]
2167 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2168 Define using time_t rather than struct timespec.
2169
750c1f2a
RM
2170 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2171 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2172 Macros removed.
2173 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2174 [!NO_THREADS].
2175 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2176 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2177 Likewise.
2178
2ae1ae5c
RM
2179 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2180 __libc_cleanup_push argument.
2181
e66a42f5
RM
2182 * bits/param.h: New file.
2183 * misc/sys/param.h: New file.
2184 * include/sys/param.h: New file.
2185 * misc/Makefile (headers): Add bits/param.h.
2186 * sysdeps/generic/sys/param.h: File removed.
2187 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2188 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2189 * sysdeps/mach/hurd/bits/param.h: New file.
2190 * sysdeps/mach/hurd/sys/param.h: New file.
2191
b7c08a66
RM
2192 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2193 last change.
2194
b2e1c562
RM
2195 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2196 [_IO_MTSAFE_IO].
2197 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2198 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2199 New macros.
2200
c75ccd4c
RM
2201 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2202 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2203 rather than -D_IO_MTSAFE_IO conditionally.
2204 * stdio-common/Makefile (CPPFLAGS): Likewise.
2205 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2206 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2207 Use $(libio-mtsafe).
2208 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2209 of -D_IO_MTSAFE_IO.
2210 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2211 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2212 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2213 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2214 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2215 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2216 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2217 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2218 (CFLAGS-fread_u_chk.c): Likewise.
2219 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2220 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2221 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2222 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2223 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2224 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2225 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2226 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2227 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2228
2229 * libio/Makefile: Test [$(libc-reentrant) = yes]
2230 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2231
2232 * Makeconfig
2233 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2234 * sysdeps/pthread/configure: File removed.
2235 * sysdeps/pthread/Makeconfig: New file.
2236 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2237 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2238
d9195db8
GB
22392012-08-16 Gary Benson <gbenson@redhat.com>
2240
2241 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2242 unmapping the first object in a namespace.
2243
86466cd9
RM
22442012-08-16 Roland McGrath <roland@hack.frob.com>
2245
2246 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2247 (__internal_setnetgrent): ... this. Add internal_function to
2248 definition. Add libc_hidden_def.
2249 (setnetgrent): Update caller.
2250 (internal_endnetgrent): Renamed to ...
2251 (__internal_endnetgrent): ... this. Add internal_function to
2252 definition. Add libc_hidden_def.
2253 (endnetgrent): Update caller.
2254 (internal_getnetgrent_r): Renamed to ...
2255 (__internal_getnetgrent_r): ... this. Add internal_function to
2256 definition. Add libc_hidden_def.
2257 (__getnetgrent_r): Update caller.
2258 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2259
c3c8283c
JM
22602012-08-16 Joseph Myers <joseph@codesourcery.com>
2261
2262 * stdlib/longlong.h: Update from GCC.
2263
db1ee0a8
RM
22642012-08-16 Roland McGrath <roland@hack.frob.com>
2265
2266 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2267 on _QL, which is set by umul_ppmm but never used.
2268 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2269 variables, which are set by GMP macros but never used.
2270 * stdio-common/_itowa.c (_itowa): Likewise.
2271 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2272 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2273
30f69637
CD
22742012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2275
2276 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2277 struct La_sh_regs is not constant.
2278 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2279 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2280 and struct La_sparc64_regs are not constant.
2281
93a78ac4
JM
22822012-08-16 Joseph Myers <joseph@codesourcery.com>
2283
2284 * sysdeps/unix/sysv/linux/kernel-features.h
2285 (__ASSUME_POSIX_TIMERS): Remove.
2286 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2287 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2288 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2289 Make code unconditional.
2290 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2291 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2292 Make code unconditional.
2293 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2294 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2295 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2296 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2297 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2298 Make code unconditional.
2299 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2300 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2301 (__libc_missing_posix_timers): Remove.
2302
dd924cd7
RM
23032012-08-15 Roland McGrath <roland@hack.frob.com>
2304
4b4f2771
RM
2305 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2306 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2307
601c888b
RM
2308 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2309
176790a7
RM
2310 * elf/dl-sym.c: Include <stdlib.h>.
2311
329bc018
RM
2312 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2313 constants, which avoids warnings in 32-bit builds.
2314
e04e272d
RM
2315 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2316 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2317
952bf94a
RM
2318 * misc/lseek.c: File moved to ...
2319 * io/lseek.c: ... here.
2320
7c99b50a
RM
2321 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2322
dd924cd7
RM
2323 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2324 shifting LEN more than 31 bits at once.
2325
b3f479a8
LD
23262012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2327
2328 [BZ #14195]
8c4ae0d4
RM
2329 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2330 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2331 * string/test-strncasecmp.c (check1): Renamed to...
2332 (bz12205): ...this.
2333 (bz14195): Add new testcase for two empty input strings and N > 0.
2334 (test_main): Call new testcase, adapt for renamed function.
2335
9c55864e
AJ
23362012-08-15 Andreas Jaeger <aj@suse.de>
2337
2338 [BZ #14090]
2339 * crypt/md5test2.c: New test, based on test supplied by Serge
2340 Belyshev <belyshev@depni.sinp.msu.ru>.
2341 * crypt/Makefile (xtests): Add md5test-giant..
2342 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2343
02dcb6c5
PE
23442012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2345
2346 [BZ #14090]
2347 * crypt/md5.c (md5_process_block): Don't assume the buffer
2348 length is less than 2**32.
2349 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2350 length is less than 2**64.
2351
a3f95dcc
RM
23522012-08-15 Roland McGrath <roland@hack.frob.com>
2353
be75d758
RM
2354 * string/str-two-way.h: Include <sys/param.h>.
2355 (MAX): Macro removed.
2356
7312ca90
RM
2357 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2358 Move #define and #undef of memmove to just before and after
2359 including <string.h>.
2360
9a0a5486
RM
2361 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2362 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2363 and after including <string.h>. Move declarations of
2364 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2365 to before #include "string/memmove.c".
2366
67cc348d
RM
2367 * include/dirent.h: Declare __getdirentries.
2368
a3f95dcc
RM
2369 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2370 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2371
ca98e171
MF
23722012-08-14 Mike Frysinger <vapier@gentoo.org>
2373
2374 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2375 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2376 * sysdeps/i386/configure: Regenerated.
2377 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2378 STABS_CURRENT_FILE, and STABS_FUN.
2379 (END): Remove call to STABS_FUN_END.
2380 (STABS_CURRENT_FILE1): Delete.
2381 (STABS_CURRENT_FILE): Likewise.
2382 (STABS_FUN): Likewise.
2383 (STABS_FUN_END): Likewise.
2384 (STABS_FUN2): Likewise.
2385 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2386 * sysdeps/x86_64/configure: Regenerated.
2387
5908bf46
RM
23882012-08-14 Roland McGrath <roland@hack.frob.com>
2389
2390 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2391 * elf/dl-lookup.c: Likewise.
5908bf46 2392
f2c05b9e
JM
23932012-08-14 Joseph Myers <joseph@codesourcery.com>
2394
2395 * sysdeps/unix/sysv/linux/kernel-features.h
2396 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2397 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2398 unconditionally.
2399 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2400 unconditionally.
2401 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2402 condition on __ASSUME_CLONE_THREAD_FLAGS.
2403
e11f5155
AJ
24042012-08-14 Andreas Jaeger <aj@suse.de>
2405
2406 * sysdeps/i386/fpu/libm-test-ulps: Update.
2407
51a9ba86
MK
24082012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2409
2fdd4f78
AJ
2410 * include/atomic.h (atomic_exchange_and_add): Split into ...
2411 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2412 New atomic macros.
51a9ba86 2413
ba6cba9e
MT
24142012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2415
2416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2417
42443a47
JL
24182012-08-13 Jeff Law <law@redhat.com>
2419
2420 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2421 null byte in the output string.
2422
121dce05
JM
24232012-08-10 Joseph Myers <joseph@codesourcery.com>
2424
2425 * sysdeps/unix/sysv/linux/kernel-features.h
2426 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2427 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2428 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2429 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2430 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2431 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2432 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2433
bf51f568
JL
24342012-08-09 Jeff Law <law@redhat.com>
2435
2436 [BZ #13939]
2437 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2438 When avoid_arena is set, don't retry in the that arena. Pick the
2439 next one, whatever it might be.
2440 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2441 (arena_lock): Pass in new parameter to arena_get2.
2442 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2443 arena_get2.
2444 (__libc_malloc): Unify retrying after main arena failure with
2445 __libc_memalign version.
2446 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2447
f85fa270
L
24482012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2449
2450 [BZ #14166]
2451 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2452 to __redirect_strstr.
2453 (__strstr_sse42): Use typeof __redirect_strstr.
2454 (__strstr_ia32): Likewise.
2455 (__libc_strstr): New prototype.
2456 (strstr): Renamed to ...
2457 (__libc_strstr): This.
2458 (strstr): New strong alias of __libc_strstr.
2459 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2460 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2461 __redirect_time.
2462 Include <time.h>.
2463 (__libc_time): New prototype.
2464 (time_ifunc): Replace time with __libc_time.
2465 (time): New strong alias and hidden definition of __libc_time.
2466 (__GI_time): Remove strong alias.
2467 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2468 Include <stddef.h>.
2469 (memmove): Redefined to __redirect_memmove.
2470 (__memmove_sse2): Use typeof __redirect_memmove.
2471 (__memmove_ssse3): Likewise.
2472 (__memmove_ssse3_back): Likewise.
2473 (__libc_memmove): New prototype.
2474 (memmove): Renamed to ...
2475 (__libc_memmove): This.
2476 (memmove): New strong alias of __libc_memmove.
2477
33b4a91e
MS
24782012-08-08 Mark Salter <msalter@redhat.com>
2479
2480 * elf/elf.h
2481 (R_MN10300_TLS_GD): Define.
2482 (R_MN10300_TLS_LD): Likewise.
2483 (R_MN10300_TLS_LDO): Likewise.
2484 (R_MN10300_TLS_GOTIE): Likewise.
2485 (R_MN10300_TLS_IE): Likewise.
2486 (R_MN10300_TLS_LE): Likewise.
2487 (R_MN10300_TLS_DTPMOD): Likewise.
2488 (R_MN10300_TLS_DTPOFF): Likewise.
2489 (R_MN10300_TLS_TPOFF): Likewise.
2490 (R_MN10300_SYM_DIFF): Likewise.
2491 (R_MN10300_ALIGN): Likewise.
2492 (R_MN10300_NUM): Update.
2493
b36137f1
JM
24942012-08-08 Joseph Myers <joseph@codesourcery.com>
2495
2496 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2497 Remove.
2498
cdd915fd
RM
24992012-08-08 Roland McGrath <roland@hack.frob.com>
2500
a2433aac
RM
2501 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2502
cdd915fd
RM
2503 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2504 sysdeps/unix -> sysdeps/posix move.
2505 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2506
bf9b740a
AM
25072012-08-07 Allan McRae <allan@archlinux.org>
2508
2509 [BZ #14303]
2510 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2511 (SUNOS_CPP): Likewise.
2512 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2513 not found.
2514 (open_input): Call CPP using execvp.
2515
93df14ee
JM
25162012-08-07 Joseph Myers <joseph@codesourcery.com>
2517
2518 * sysdeps/unix/sysv/linux/kernel-features.h
2519 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2520 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2521 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2522 (__ASSUME_WAITID_SYSCALL): Likewise.
2523 * sysdeps/unix/sysv/linux/dl-execstack.c
2524 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2525 code unconditional.
2526 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2527 conditional code.
2528 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2529 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2530 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2531 code.
2532 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2533 unconditional.
2534 [__ASSUME_WAITID_SYSCALL]: Likewise.
2535 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2536
d34689de
RM
25372012-08-07 Roland McGrath <roland@hack.frob.com>
2538
a281decc
RM
2539 * sysdeps/unix/closedir.c: Renamed to ...
2540 * sysdeps/posix/closedir.c: ... here.
2541 * sysdeps/unix/dirfd.c: Renamed to ...
2542 * sysdeps/posix/dirfd.c: ... here.
2543 * sysdeps/unix/dirstream.h: Renamed to ...
2544 * sysdeps/posix/dirstream.h: ... here.
2545 * sysdeps/unix/fdopendir.c: Renamed to ...
2546 * sysdeps/posix/fdopendir.c: ... here.
2547 * sysdeps/unix/opendir.c: Renamed to ...
2548 * sysdeps/posix/opendir.c: ... here.
2549 * sysdeps/unix/readdir.c: Renamed to ...
2550 * sysdeps/posix/readdir.c: ... here.
2551 * sysdeps/unix/readdir_r.c: Renamed to ...
2552 * sysdeps/posix/readdir_r.c: ... here.
2553 * sysdeps/unix/rewinddir.c: Renamed to ...
2554 * sysdeps/posix/rewinddir.c: ... here.
2555 * sysdeps/unix/seekdir.c: Renamed to ...
2556 * sysdeps/posix/seekdir.c: ... here.
2557 * sysdeps/unix/telldir.c: Renamed to ...
2558 * sysdeps/posix/telldir.c: ... here.
2559 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2560 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2561 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2562 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2563
22895b47
RM
2564 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2565 * bits/fcntl.h: ... here.
2566
707a53b6
RM
2567 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2568 not 0.
2569 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2570 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2571 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2572 (struct flock): Move l_start, l_len to the beginning.
2573 Use __pid_t for l_pid.
2574 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2575 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2576 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2577 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2578 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2579 [__USE_LARGEFILE64] (struct flock64): New type.
2580 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2581
f0bd3e25
RM
2582 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2583 * bits/dirent.h: ... here.
2584
d34689de
RM
2585 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2586 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2587
6dad2c06
JM
25882012-08-07 Joseph Myers <joseph@codesourcery.com>
2589
2590 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2591 Change from 2.6.0 to 2.6.16.
2592 * sysdeps/unix/sysv/linux/configure: Regenerated.
2593 * sysdeps/unix/sysv/linux/kernel-features.h
2594 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2595 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2596 version.
2597 (__ASSUME_UTIMES): Likewise.
2598 (__ASSUME_CLONE_STOPPED): Remove.
2599 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2600 architectures, not kernel version.
2601 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2602 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2603 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2604 (__ASSUME_WAITID_SYSCALL): Likewise.
2605 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2606 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2607 * README: State 2.6.16 as minimum Linux kernel version. Do not
2608 refer to older versions.
2609
03af9520
RM
26102012-08-06 Roland McGrath <roland@hack.frob.com>
2611
8e49df1d
RM
2612 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2613 Define alphasort64 as an alias.
2614 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2615 Define versionsort64 as an alias.
2616 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2617 Define scandir64 as an alias.
2618 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2619 Define scandirat64 as an alias.
2620 * dirent/alphasort64.c (alphasort64):
2621 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2622 * dirent/versionsort64.c: Likewise.
2623 * dirent/scandir64.c: Likewise.
2624 * dirent/scandirat64.c: Likewise.
2625 * sysdeps/wordsize-64/alphasort.c: File removed.
2626 * sysdeps/wordsize-64/alphasort64.c: File removed.
2627 * sysdeps/wordsize-64/scandir.c: File removed.
2628 * sysdeps/wordsize-64/scandir64.c: File removed.
2629 * sysdeps/wordsize-64/scandirat.c: File removed.
2630 * sysdeps/wordsize-64/scandirat64.c: File removed.
2631 * sysdeps/wordsize-64/versionsort.c: File removed.
2632 * sysdeps/wordsize-64/versionsort64.c: File removed.
2633 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2634 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2635 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2636 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2637 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2638 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2640 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2641
2642 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2644 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2646 [defined __arch64__ || defined __sparcv9]
2647 (__INO_T_MATCHES_INO64_T): New macro.
2648 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2649 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2650 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2651 * sysdeps/unix/sysv/linux/bits/dirent.h
2652 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2653 (_DIRENT_MATCHES_DIRENT64): New macro.
2654
03af9520
RM
2655 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2656 Define lockf64 as an alias.
2657 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2658 Define fseeko64 as an alias.
2659 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2660 Define ftello64 as an alias.
2661 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2662 Define _IO_fgetpos64 and fgetpos64 as aliases.
2663 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2664 Define _IO_fsetpos64 and fsetpos64 as aliases.
2665 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2666 Conditionalize body on this.
2667 * libio/fseeko64.c: Likewise.
2668 * libio/ftello64.c: Likewise.
2669 * libio/iofgetpos64.c: Likewise.
2670 * libio/iofsetpos64.c: Likewise.
2671 * sysdeps/wordsize-64/lockf.c: File removed.
2672 * sysdeps/wordsize-64/lockf64.c: File removed.
2673 * sysdeps/wordsize-64/fseeko.c: File removed.
2674 * sysdeps/wordsize-64/fseeko64.c: File removed.
2675 * sysdeps/wordsize-64/ftello.c: File removed.
2676 * sysdeps/wordsize-64/ftello64.c: File removed.
2677 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2678 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2679 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2680 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2681 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2682 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2684 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2686 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2687 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2688 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2689 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2690 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2691
2692 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2694 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2696 [defined __arch64__ || defined __sparcv9]
2697 (__OFF_T_MATCHES_OFF64_T): New macro.
2698 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2699 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2701 (__OFF_T_MATCHES_OFF64_T): New macro.
2702
c5757acd
L
27032012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2704
2705 * stdlib/secure-getenv.c (__secure_getenv): Replace
2706 GLIBC_2_16 with GLIBC_2_17.
2707
3a31811e
L
27082012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2709
2710 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2711 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2712
faa2bccb
DM
27132012-08-03 David S. Miller <davem@davemloft.net>
2714
2715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2716
85fe1997
JM
27172012-08-03 Joseph Myers <joseph@codesourcery.com>
2718
2719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2720 Remove.
2721 (__ASSUME_CORRECT_SI_PID): Likewise.
2722 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2723 (__ASSUME_TMPFS_NAME): Likewise.
2724 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2725 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2726 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2727 (HAVE_AUX_SECURE): Make definition unconditional.
2728 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2729 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2730
4f75b7a0
RM
27312012-08-03 Roland McGrath <roland@hack.frob.com>
2732
2733 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2734 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2735 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2736 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2737 __eloop_threshold instead of SYMLOOP_MAX.
2738
2739 * sysdeps/generic/eloop-threshold.h: New file.
2740 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2741 of MAXSYMLINKS.
2742 * elf/chroot_canon.c (chroot_canon): Likewise.
2743
7aab07e4
JM
27442012-08-03 Joseph Myers <joseph@codesourcery.com>
2745
2746 [BZ #13717]
2747 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2748 Change to 2.6.0 everywhere.
2749 * sysdeps/unix/sysv/linux/configure: Regenerated.
2750 * sysdeps/unix/sysv/linux/kernel-features.h
2751 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2752 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2753 kernel versions.
2754 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2755 (__ASSUME_FUTEX_REQUEUE): Remove.
2756 (__ASSUME_STATFS64): Define unconditionally.
2757 (__ASSUME_AT_SECURE): Likewise.
2758 (__ASSUME_CORRECT_SI_PID): Likewise.
2759 (__ASSUME_TGKILL): Define without depending on kernel version for
2760 i386.
2761 (__ASSUME_UTIMES): Likewise.
2762 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2763 kernel version.
2764 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2765 (__ASSUME_TMPFS_NAME): Likewise.
2766 * README: Update reference to Linux kernel versions.
2767
b67e9372
MP
27682012-08-02 Marek Polacek <polacek@redhat.com>
2769
1f529f7d 2770 [BZ# 14150]
b67e9372
MP
2771 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2772 libc_cv_asm_type_prefix with %.
2773 * configure: Regenerated.
d2441631
RM
2774 * include/libc-symbols.h: Remove comment about
2775 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2776 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2777 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2778 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2779 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2780 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2781 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2782 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2783 * elf/tst-unique2mod1.c: Likewise.
2784 * elf/tst-unique1mod2.c: Likewise.
2785 * elf/tst-unique1mod1.c: Likewise.
2786 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2787 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2788 Replace ASM_TYPE_DIRECTIVE with .type.
2789 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2790 * sysdeps/i386/sysdep.h: Likewise.
2791 * sysdeps/x86_64/sysdep.h: Likewise.
2792 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2794 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2795 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2796 * sysdeps/powerpc/powerpc32/sysdep.h:
2797 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2798 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2799 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2800 * sysdeps/i386/fpu/e_powf.S: Likewise.
2801 * sysdeps/i386/fpu/e_expl.S: Likewise.
2802 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2803 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2804 * sysdeps/i386/fpu/e_pow.S: Likewise.
2805 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2806 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2807 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2808 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2809 * sysdeps/i386/fpu/e_log2.S: Likewise.
2810 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2811 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2812 * sysdeps/i386/fpu/e_powl.S: Likewise.
2813 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2814 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2815 * sysdeps/i386/fpu/e_logl.S: Likewise.
2816 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2817 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2818 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2819 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2820 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2821 * sysdeps/i386/fpu/e_log.S: Likewise.
2822 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2823 * sysdeps/i386/fpu/e_logf.S: Likewise.
2824 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2825 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2826 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2827 * sysdeps/i386/fpu/e_log10.S: Likewise.
2828 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2829 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2830 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2831 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2832 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2833 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2834 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2835 * sysdeps/i386/i686/strtok.S: Likewise.
2836 * sysdeps/i386/i386-mcount.S: Likewise.
2837 * sysdeps/i386/strtok.S: Likewise.
2838 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2839 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2840 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2841 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2842 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2843 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2844 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2845 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2846 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2847 * sysdeps/x86_64/_mcount.S: Likewise.
2848 * sysdeps/x86_64/strtok.S: Likewise.
2849 * sysdeps/sh/_mcount.S: Likewise.
2850
2747bf9a
RM
28512012-08-01 Roland McGrath <roland@hack.frob.com>
2852
2853 * libio/iofopen.c: Include <fcntl.h>.
2854 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2855 (_IO_fopen64, fopen64): Define as aliases.
2856 * libio/iofopen64.c: Include <fcntl.h>.
2857 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2858 Conditionalize body on this.
2859 * sysdeps/wordsize-64/iofopen.c: File removed.
2860 * sysdeps/wordsize-64/iofopen64.c: File removed.
2861
3fb791b8
MP
28622012-08-01 Marek Polacek <polacek@redhat.com>
2863
2864 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2865 Use dlfcn directly instead of a variable.
2866 (binfmt-subdir): Do not define.
2867 (dlfcn): Likewise.
2868
a9f1039f
JM
28692012-08-01 Joseph Myers <joseph@codesourcery.com>
2870
23bddc06
JM
2871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2872 Remove all definitions.
2873 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2874 <kernel-features.h>.
2875 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2876 (miss_F_GETOWN_EX): Remove all definitions.
2877 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2878 macro definition.
2879 [!__ASSUME_FCNTL64]: Remove conditional code.
2880 [__ASSUME_FCNTL64]: Make code unconditional.
2881 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2882 <kernel-features.h>.
2883 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2884 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2885 (lockf64) [__NR_fcntl64]: Make code unconditional.
2886 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2887
a9f1039f
JM
2888 * sysdeps/unix/sysv/linux/kernel-features.h
2889 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2890 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2891 Make code unconditional.
2892 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2893 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2895 [__NR_vfork]: Make code unconditional.
2896 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2897 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2899 [__NR_vfork]: Make code unconditional.
2900 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2901 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2902
09c0ee5f
RM
29032012-08-01 Roland McGrath <roland@hack.frob.com>
2904
48aec5b9
RM
2905 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2906 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2907
cd97c966
RM
2908 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2909 Define mkstemp64 as an alias.
3f55550c
RM
2910 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2911 Define mkstemps64 as an alias.
cd97c966
RM
2912 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2913 Define mkostemp64 as an alias.
b8625cfc
RM
2914 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2915 Define mkostemps64 as an alias.
cd97c966
RM
2916 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2917 Conditionalize body on this.
2918 * misc/mkostemp64.c: Likewise.
b8625cfc 2919 * misc/mkostemps64.c: Likewise.
3f55550c 2920 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2921 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2922 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2923 * sysdeps/wordsize-64/mkostemp.c: File removed.
2924 * sysdeps/wordsize-64/mkstemp.c: File removed.
2925 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2926 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2927 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2928 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2929
09c0ee5f
RM
2930 [BZ #14138]
2931 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2932 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2933 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2934 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2935
2936 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2937 compat_symbol macros from <shlib-compat.h> rather than the underlying
2938 default_symbol_version and symbol_version macros, so that DEFAULT
2939 lines in shlib-versions are respected.
2940 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2941
7e66ee51
FW
29422012-08-01 Florian Weimer <fweimer@redhat.com>
2943
2944 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2945 Declare with warn_unused_result.
2946 (setgid, setregid, setegid, setresgid): Likewise.
2947 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2948 Likewise.
2949 * WUR-REPORT: Remove set*id functions.
2950
d2a54255
PT
29512012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2952
2953 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2954
7ecdb005
RM
29552012-07-31 Roland McGrath <roland@hack.frob.com>
2956
789bd351
RM
2957 * include/sys/socket.h (__libc_accept, __libc_accept4):
2958 Add attribute_hidden.
2959 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2960
40ce302d
RM
2961 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2962 use of PTR_MANGLE.
2963 * inet/getnetgrent_r.c (setup): Likewise.
2964
7ecdb005
RM
2965 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2966
e2eabb2c
DM
29672012-07-31 David S. Miller <davem@davemloft.net>
2968
2969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2970
d0419dbf
JM
29712012-07-31 Joseph Myers <joseph@codesourcery.com>
2972
2973 [BZ #13629]
2974 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2975 value between 1.0 and 2.0 and smaller part has absolute value less
2976 than 1.0.
2977 * math/s_clog10.c (__clog10): Likewise.
2978 * math/s_clog10f.c (__clog10f): Likewise.
2979 * math/s_clog10l.c (__clog10l): Likewise.
2980 * math/s_clogf.c (__clogf): Likewise.
2981 * math/s_clogl.c (__clogl): Likewise.
2982 * math/libm-test.inc (clog_test): Add more tests.
2983 (clog10_test): Likewise.
2984 * sysdeps/i386/fpu/libm-test-ulps: Update.
2985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2986
2bc13872
FW
29872012-07-31 Florian Weimer <fweimer@redhat.com>
2988
2989 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2990 Exit with zero in case no suitable GID is found, and write a
2991 message to standard error.
2992
bea9b193
RM
29932012-07-30 Roland McGrath <roland@hack.frob.com>
2994
2995 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2996 rather than to 1.
2997 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2998 (MAXPATHLEN): Removed.
2999 (NOGROUP, NODEV): New macros.
3000 (setbit, clrbit, isset, isclr): New macros.
3001 (howmany, roundup, powerof2): New macros.
3002 (DEV_BSIZE): New macro.
3003
3004 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3005 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3006
3007 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3008 definition on [!__NO_LONG_DOUBLE_MATH].
3009
3010 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3011 PTR_MANGLE and PTR_DEMANGLE.
3012
3013 * socket/accept4.c (accept4): Rename to __libc_accept4.
3014 Define accept4 as a weak alias.
3015
3016 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3017 on [_DIRENT_HAVE_D_TYPE].
3018 * io/ftw.c (ftw_dir): Likewise.
3019
3020 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3021
3022 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3023
3024 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3025 Use the BSD numbers rather than the arbitrary ones we had.
3026 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3027 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3028 (SIGXCPU, SIGXFSZ): New macros.
3029 (_NSIG): Now 32.
3030
3031 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3032 initializer on [_LIBC_REENTRANT].
3033
3034 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3035 definitions inside [_POSIX_MAPPED_FILES].
3036
3037 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3038
3039 * dirent/opendir.c: Include <fcntl.h>.
3040
3041 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3042 (__libc_getspecific): Likewise.
3043 (__libc_key_create): Likewise.
3044
3045 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3046 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3047 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3048 (tmpfile64): Define as alias.
3049 * sysdeps/wordsize-64/tmpfile.c: File removed.
3050 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3051 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3053
3054 * stdio-common/vfscanf.c: Include <stdbool.h>.
3055 * nss/makedb.c: Likewise.
3056 * stdio-common/_i18n_number.h: Likewise.
3057 * argp/argp-help.c: Likewise.
3058 * posix/wordexp.c: Likewise.
3059 * sysdeps/posix/spawni.c: Likewise.
3060 * nss/nss_files/files-initgroups.c: Likewise.
3061 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3062 * nss/nss_files/files-initgroups.c: Likewise.
3063 * nss/nss_db/db-netgrp.c: Likewise.
3064 * nss/nss_db/db-initgroups.c: Likewise.
3065 * io/fchmodat.c: Include <sys/stat.h>.
3066
3067 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3068 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3069
3070 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3071 [HAVE_MMAP].
3072
3073 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3074 Add multiple inclusion protection.
3075
e5abc686
DM
30762012-07-27 David S. Miller <davem@davemloft.net>
3077
3078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3079
815e6fa3
GB
30802012-07-27 Gary Benson <gbenson@redhat.com>
3081
3082 [BZ #14298]
3083 * elf/rtld.c: Include <stap-probe.h>.
3084 (dl_main): Added static probes "init_start" and "init_complete".
3085 * elf/dl-load.c: Include <stap-probe.h>.
3086 (lose): Take new parameter "nsid".
3087 Added static probe "map_failed".
3088 (_dl_map_object_from_fd): Pass namespace id to lose.
3089 Added static probe "map_start".
3090 (open_verify): Pass namespace id to lose.
3091 * elf/dl-open.c: Include <stap-probe.h>.
3092 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3093 and "reloc_complete".
3094 * elf/dl-close.c: Include <stap-probe.h>.
3095 (_dl_close_worker): Added static probes "unmap_start" and
3096 "unmap_complete".
3097 * elf/rtld-debugger-interface.txt: New file documenting the above.
3098
9f98c16c
RM
30992012-07-26 Roland McGrath <roland@hack.frob.com>
3100
3101 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3102 rather than a string variable.
3103 * sunrpc/rpc_main.c (h_output): Likewise.
3104 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3105
f3c22df3
PT
31062012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3107
3108 * inet/check_native.c: New file.
3109
3129cfc6
JM
31102012-07-26 Joseph Myers <joseph@codesourcery.com>
3111
da865e95
JM
3112 [BZ #13629]
3113 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3114 if larger part has absolute value 1.0.
3115 * math/s_clog10.c (__clog10): Likewise.
3116 * math/s_clog10f.c (__clog10f): Likewise.
3117 * math/s_clog10l.c (__clog10l): Likewise.
3118 * math/s_clogf.c (__clogf): Likewise.
3119 * math/s_clogl.c (__clogl): Likewise.
3120 * math/libm-test.inc (clog_test): Add more tests.
3121 (clog10_test): Likewise.
3122 * sysdeps/i386/fpu/libm-test-ulps: Update.
3123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3124
3129cfc6
JM
3125 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3126 (pltexit): Likewise.
3127 (La_regs): Likewise.
3128 (La_retval): Likewise.
3129 (int_retval): Likewise.
3130 Update #error for removed macros to refer only to definitions in
3131 tst-audit.h.
3132 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3133 macro.
3134 (pltexit): Likewise.
3135 (La_regs): Likewise.
3136 (La_retval): Likewise.
3137 (int_retval): Likewise.
3138 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3139 macro.
3140 (pltexit): Likewise.
3141 (La_regs): Likewise.
3142 (La_retval): Likewise.
3143 (int_retval): Likewise.
3144 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3145 macro.
3146 (pltexit): Likewise.
3147 (La_regs): Likewise.
3148 (La_retval): Likewise.
3149 (int_retval): Likewise.
3150 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3151 macro.
3152 (pltexit): Likewise.
3153 (La_regs): Likewise.
3154 (La_retval): Likewise.
3155 (int_retval): Likewise.
3156 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3157 macro.
3158 (pltexit): Likewise.
3159 (La_regs): Likewise.
3160 (La_retval): Likewise.
3161 (int_retval): Likewise.
3162 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3163 macro.
3164 (pltexit): Likewise.
3165 (La_regs): Likewise.
3166 (La_retval): Likewise.
3167 (int_retval): Likewise.
3168 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3169 macro definitions in tst-audit.h.
3170 * sysdeps/i386/tst-audit.h: New file.
3171 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3172 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3173 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3174 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3175 * sysdeps/sh/tst-audit.h: Likewise.
3176 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3177 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3178 * sysdeps/x86_64/tst-audit.h: Likewise.
3179
bfc07087
AJ
31802012-07-26 Andreas Jaeger <aj@suse.de>
3181
b1b2aaf8
AJ
3182 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3183 ptrace.
3184
3185 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3186 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3187 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3188 PTRACE_O_MASK.
3189 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3190 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3191 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3192
bfc07087
AJ
3193 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3194 value.
3195
3196 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3197 _sigsys.
3198 (si_call_addr, si_syscall, si_arch): Define new macro.
3199 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3200 _sigsys.
3201 (si_call_addr, si_syscall, si_arch): Define new marcro.
3202 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3203 _sigsys.
3204 (si_call_addr, si_syscall, si_arch): Define new macro.
3205 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3206 _sigsys.
3207 (si_call_addr, si_syscall, si_arch): Define new macro.
3208
89b4b02f
JM
32092012-07-25 Joseph Myers <joseph@codesourcery.com>
3210
3211 [BZ #13717]
3212 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3213 Change to 2.4.21 where previously 2.4.1.
3214 * sysdeps/unix/sysv/linux/configure: Regenerated.
3215 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3216 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3217 Linux kernel version.
3218 (__ASSUME_STD_AUXV): Remove.
3219 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3220 kernel version.
3221 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3222 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3223 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3224 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3225 (__ASSUME_NETLINK_SUPPORT): Likewise.
3226 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3227 (__no_netlink_support): Remove conditional definition.
3228 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3229 Remove.
3230 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3231 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3232 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3233 (if_nameindex_ioctl): Remove.
3234 (if_nameindex_netlink): Do not handle __no_netlink_support.
3235 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3236 code.
3237 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3238 Remove conditional code.
3239 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3240 code.
3241 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3242 unconditional.
3243 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3244 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3245 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3246 Remove.
3247 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3248 [!__ASSUME_STD_AUXV]: Remove conditional code.
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3250 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3251 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3253 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3254 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3255 code.
3256 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3258 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3259 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3260 conditional code.
3261 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3263 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3264 code.
3265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3266 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3267 conditional code.
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3269 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3270 code unconditional.
3271 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3272 conditional code.
3273 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3274 unconditional.
3275 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3276 conditional code.
3277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3278 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3279 unconditional.
3280 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3281 conditional code.
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3283 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3284 code unconditional.
3285 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3286 conditional code.
3287 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3288 unconditional.
3289 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3290 conditional code.
3291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3292 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3293 code unconditional.
3294 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3295 conditional code.
3296 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3297 unconditional.
3298 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3299 conditional code.
3300
842a39cd
AS
33012012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3302
3303 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3304 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3305 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3306 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3307 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3308 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3309 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3310 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3311 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3312 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3313 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3314 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3315 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3316 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3317 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3318 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3319 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3320 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3321 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3323 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3324 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3325 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3326
84b3fd84
FW
33272012-07-25 Florian Weimer <fweimer@redhat.com>
3328
3329 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3330 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3331 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3332 Introduce __libc_secure_getenv.
0c7936d5
FW
3333 * stdlib/Versions (2.17): Add secure_getenv
3334 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3335 * stdlib/secure-getenv.c: Rename __secure_getenv to
3336 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3337 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3338 * stdlib/tst-secure-getenv.c: New.
3339 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3340 * manual/startup.texi (Environment Access): Document
3341 secure_getenv.
84b3fd84
FW
3342 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3343 __libc_secure_getenv.
3344 * inet/ruserpass.c (ruserpass): Likewise.
3345 * malloc/mtrace.c (mtrace): Likewise.
3346 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3347 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3348 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3349 * sysdeps/posix/tempname.c: Likewise. Evaluate
3350 HAVE_SECURE_GETENV.
3351 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3352 __secure_getenv to __libc_secure_getenv.
84b3fd84 3353 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3355 Likewise.
3356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3357 Likewise.
3358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3365
56e49b71
JM
33662012-07-25 Joseph Myers <joseph@codesourcery.com>
3367
3368 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3369 (struct La_i86_retval): Likewise.
3370 (struct La_x86_64_regs): Likewise.
3371 (struct La_x86_64_retval): Likewise.
3372 (struct La_x32_regs): Likewise.
3373 (struct La_x32_retval): Likewise.
3374 (struct La_ppc32_regs): Likewise.
3375 (struct La_ppc32_retval): Likewise.
3376 (struct La_ppc64_regs): Likewise.
3377 (struct La_ppc64_retval): Likewise.
3378 (struct La_sh_regs): Likewise.
3379 (struct La_sh_retval): Likewise.
3380 (struct La_s390_32_regs): Likewise.
3381 (struct La_s390_32_retval): Likewise.
3382 (struct La_s390_64_regs): Likewise.
3383 (struct La_s390_64_retval): Likewise.
3384 (struct La_sparc32_regs): Likewise.
3385 (struct La_sparc32_retval): Likewise.
3386 (struct La_sparc64_regs): Likewise.
3387 (struct La_sparc64_retval): Likewise.
3388 (struct audit_ifaces): Remove architecture-specific pltenter and
3389 pltexit members.
3390 * sysdeps/i386/ldsodefs.h: New file.
3391 * sysdeps/powerpc/ldsodefs.h: Likewise.
3392 * sysdeps/s390/ldsodefs.h: Likewise.
3393 * sysdeps/sh/ldsodefs.h: Likewise.
3394 * sysdeps/sparc/ldsodefs.h: Likewise.
3395 * sysdeps/x86_64/ldsodefs.h: Likewise.
3396
354691b7
MP
33972012-07-25 Marek Polacek <polacek@redhat.com>
3398
3399 [BZ #6808]
3400 * math/libm-test.inc (yn_test): Add another test.
3401 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3402 to ERANGE when the result is +-Inf.
3403 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3404 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3405 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3406 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3407
bf9e2071
JM
34082012-07-24 Joseph Myers <joseph@codesourcery.com>
3409
3410 * conform/data/time.h-data (NULL): Use macro-constant. Require
3411 equal to 0.
3412 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3413 clock_t.
3414 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3415
57633811
TS
34162012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3417
3418 * configure.in <sysdeps resolving>: Correct printing
3419 Implies_before.
3420 * configure: Regenerate.
3421
c23c33b0
TS
34222012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3423
3424 * math/w_ilogb.c: Include <limits.h>.
3425 * math/w_ilogbl.c: Likewise.
3426
b5982523
JM
34272012-07-20 Joseph Myers <joseph@codesourcery.com>
3428
3429 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3430 va_copy. Document allowing for unavailable va_copy only as
3431 pre-C99 compatibility.
3432 * manual/string.texi (Copying and Concatenation): Use va_copy
3433 instead of __va_copy in concat example.
3434
ac4ea442
PT
34352012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3436
3437 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3438 (__sendto): Use create_address_port. Initialize APORT and deallocate
3439 it if not null.
3440
f98eafbd
PT
3441 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3442 with O_NOLINK passed to __file_name_lookup.
3443
898c7aab
PT
3444 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3445 with O_NOLINK passed to __file_name_lookup.
3446
0ced335a
PT
3447 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3448 negative N or less than NGIDS.
3449
b3404dbd
PT
3450 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3451 type to string_t. Set ERANGE as errno and return it if NAME is not big
3452 enough. Use memcpy instead of strncpy.
3453
0f48659e
JM
34542012-07-20 Joseph Myers <joseph@codesourcery.com>
3455
3456 * elf/Makefile (check-data): Remove.
3457 (localplt.data): New vpath directive.
3458 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3459 instead of $(check-data).
3460 * scripts/data/localplt-generic.data: Move to ...
3461 * sysdeps/generic/localplt.data: ... here.
3462 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3463 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3464 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3466 ... here.
3467 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3469 ... here.
3470 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3472 ... here.
3473 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3475 ... here.
3476 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3478 ... here.
3479 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3481 ... here.
3482
d37cbdaa
AZ
34832012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3484
3485 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3486 PPC32 and PPC64 files.
3487 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3488 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3489
46f85fc2
AK
34902012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3491
3492 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3493 __makecontext_ret to ...
3494 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3495 ... here and call exit if uc_link is NULL. New file.
3496 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3497 __makecontext_ret.S.
3498 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3499 __makecontext_ret to ...
3500 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3501 ... here and call exit if uc_link is NULL. New file.
3502 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3503 __makecontext_ret.S.
3504
08f43f9b
AK
35052012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3506
3507 * elf/elf.h (R_390_IRELATIVE): New definition.
3508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3509 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3510 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3511 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3512 (elf_machine_lazy_rel): Likewise.
3513 * sysdeps/s390/dl-irel.h: New file.
3514 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3515 * sysdeps/s390/s390-64/memset.S: New asm code.
3516 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3517 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3518 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3519 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3520 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3521 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3522 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3523 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3524 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3525 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3526 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3527 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3528 * sysdeps/s390/s390-32/memset.S: New asm code.
3529 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3530
3b05db33
MP
35312012-07-17 Marek Polacek <polacek@redhat.com>
3532
3533 [BZ #14349]
3534 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3535 * sysdeps/s390/s390-64/configure.in: Likewise.
3536 * sysdeps/sparc/configure.in: Likewise.
3537 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3538 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3539 * sysdeps/i386/configure.in: Likewise.
3540 * sysdeps/x86_64/configure.in: Likewise.
3541 * sysdeps/sh/configure.in: Likewise.
3542 * sysdeps/s390/s390-32/configure: Regenerated.
3543 * sysdeps/s390/s390-64/configure: Likewise.
3544 * sysdeps/x86_64/configure: Likewise.
3545 * sysdeps/sh/configure: Likewise.
3546 * sysdeps/powerpc/powerpc64/configure: Likewise.
3547 * sysdeps/powerpc/powerpc32/configure: Likewise.
3548 * sysdeps/sparc/configure: Likwise.
3549 * sysdeps/i386/configure: Likewise.
3550
a66877c6
MP
3551 * elf/dl-open.c: Comment fixes.
3552
cfc82fd8
JM
35532012-07-17 Joseph Myers <joseph@codesourcery.com>
3554
bd29910a
JM
3555 * Makefile [CXX] (check-data): Remove.
3556 [CXX] (c++-types.data): New vpath directive.
3557 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3558 vpath. Do not allow for C++ type data being missing.
3559 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3560 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3561 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3562 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3563 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3564 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3565 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3567 ... here.
3568 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3570 ... here.
3571 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3573 ... here.
3574 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3576 ... here.
3577 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3579 ... here.
3580 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3582 ... here.
3583 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3585 ... here.
3586 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3588
cfc82fd8
JM
3589 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3590 definitions to architecture-specific files.
3591 (TLS_IE): Likewise.
3592 (TLS_LD): Likewise.
3593 (TLS_GD): Likewise.
3594 * sysdeps/i386/tls-macros.h: New file.
3595 * sysdeps/powerpc/tls-macros.h: Likewise.
3596 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3597 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3598 * sysdeps/sh/tls-macros.h: Likewise.
3599 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3600 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3601 * sysdeps/x86_64/tls-macros.h: Likewise.
3602
f7db3170
TS
36032012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3604
07cbfc23
TS
3605 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3606 zero value for regular exit case.
3607
f7db3170
TS
3608 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3609 (__start_context): Preserve zero value for regular exit case.
3610
dc97c227
TS
36112012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3612 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3613
3614 * manual/setjmp.texi (setcontext): Clarify normal process
3615 termination when uc_link is the null pointer.
3616 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3617 exit call.
3618
d0cd7d02
AS
36192012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3620
3621 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3622 preprocessor. Test for each exception mask separately.
3623
dd318934
AJ
36242012-07-16 Andreas Jaeger <aj@suse.de>
3625
3626 * po/ru.po: Update from translation team.
3627
8048311a
JM
36282012-07-15 Joseph Myers <joseph@codesourcery.com>
3629
3630 * conform/data/string.h-data (NULL): Use macro-constant. Require
3631 equal to 0.
3632 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3633 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3634 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3635 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3637
b637d46e
AJ
36382012-07-13 Andreas Jaeger <aj@suse.de>
3639
3640 * po/fr.po: Update from translation team.
3641
541428fe
MP
36422012-07-12 Marek Polacek <polacek@redhat.com>
3643
3644 [BZ #14173]
3645 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3646 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3647 loop condition.
3648
ec332e94
JM
36492012-07-12 Joseph Myers <joseph@codesourcery.com>
3650
3651 [BZ #13717]
3652 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3653 Change to 2.4.1 where previously 2.4.0.
3654 * sysdeps/unix/sysv/linux/configure: Regenerated.
3655 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3656 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3657 version.
3658 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3659 (__ASSUME_AT_CLKTCK): Remove.
3660 (__ASSUME_AT_PAGESIZE): Likewise.
3661 (__ASSUME_AT_XID): Likewise.
3662 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3663 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3664 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3665 unconditionally.
3666 (HAVE_AUX_PAGESIZE): Likewise.
3667 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3668 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3669 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3670
7b6e99be
JB
36712012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3672
3673 [BZ #14307]
3674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3675 the temporary buffer used to invoke __gethostbyname2_r,
3676 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3677 host_data / struct gaih_addrtuple.
3678 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3679 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3680 header file nss/nsswitch.h.
3681 * nss/nsswitch.h (global scope): Add definition of implementation
3682 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3683 resolv/nss_dns/dns-host.c).
3684
608404eb
AJ
36852012-07-11 Andreas Jaeger <aj@suse.de>
3686
3687 * po/fr.po: Update from translation team.
3688
71220aca
AJ
3689 * po/sv.po: Update from translation team
3690 * po/fr.po: Another update from translation team.
3691
28cfe843
AZ
36922012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3693
3694 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3695 for subnormals or multiply small sinh result by itself.
3696 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3698
6b90f981
DM
36992012-07-11 David S. Miller <davem@davemloft.net>
3700
3701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3702
c6825772
AS
37032012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3704
3705 [BZ #14347]
3706 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3707 (INTERNAL_MARK): Shift it here.
3708
7b8e0d49
MP
37092012-07-10 Marek Polacek <polacek@redhat.com>
3710
3711 [BZ #14151]
3712 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3713 libc_cv_asm_global_directive with .globl.
3714 * configure: Regenerated.
3715 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3716 with .globl.
3717 * sysdeps/i386/configure: Regenerated.
3718 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3719 with .globl.
3720 * sysdeps/x86_64/configure: Regenerated.
3721 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3722 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3723 * elf/tst-unique2mod2.c: Likewise.
3724 * elf/tst-unique2mod1.c: Likewise.
3725 * elf/tst-unique1mod2.c: Likewise.
3726 * elf/tst-unique1mod1.c: Likewise.
3727 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3728 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3729 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3730 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3731 * sysdeps/mach/sysdep.h: Likewise.
3732 * sysdeps/i386/sysdep.h: Likewise.
3733 * sysdeps/i386/i386-mcount.S: Likewise.
3734 * sysdeps/x86_64/_mcount.S: Likewise.
3735 * sysdeps/x86_64/sysdep.h: Likewise.
3736 * sysdeps/sh/_mcount.S: Likewise.
3737 * sysdeps/sh/sysdep.h: Likewise.
3738 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3739 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3740 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3741 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3742 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3743 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3744 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3745 * locale/localeinfo.h: Likewise.
3746 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3747 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3748
6c55cda3
RM
37492012-07-09 Roland McGrath <roland@hack.frob.com>
3750
3751 [BZ #14336]
3752 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3753 system".
3754 * manual/message.texi (The Uniforum approach): Likewise.
3755 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3756 (glibc iconv Implementation): Likewise.
3757
638a572e
JM
37582012-07-09 Joseph Myers <joseph@codesourcery.com>
3759
3760 [BZ #14337]
3761 * math/s_clog.c (__clog): Avoid scaling a value down where that
3762 could result in underflow.
3763 * math/s_clog10.c (__clog10): Likewise.
3764 * math/s_clog10f.c (__clog10f): Likewise.
3765 * math/s_clog10l.c (__clog10l): Likewise.
3766 * math/s_clogf.c (__clogf): Likewise.
3767 * math/s_clogl.c (__clogl): Likewise.
3768 * math/libm-test.inc (clog_test): Add more tests.
3769 (clog10_test): Likewise.
3770 * sysdeps/i386/fpu/libm-test-ulps: Update.
3771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3772
261f4859
AS
37732012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3774
0abaf3e4
AS
3775 [BZ #14283]
3776 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3777 by 7 not 8 to examine high bit of fractional part.
3778
261f4859
AS
3779 [BZ #14042]
3780 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3781 for call to __mcount_internal.
3782 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3783 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3784 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3785
f17ac40d
JM
37862012-07-06 Joseph Myers <joseph@codesourcery.com>
3787
9ad63c23
JM
3788 [BZ #14154]
3789 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3790 approximation for values within 0x1p-13f of an odd multiple of
3791 pi/4.
3792 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3793 exception. Add more tests.
3794 * sysdeps/i386/fpu/libm-test-ulps: Update.
3795
f17ac40d
JM
3796 [BZ #6778]
3797 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3798 inputs and return -1 for them. Do not check for +Inf in case not
3799 reachable for +Inf.
3800 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3801 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3802 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3803 and return -1 for them. Do not check for +Inf in case not
3804 reachable for +Inf.
3805 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3806 define.
3807 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3808 and return -1 for them. Do not check for +Inf in case not
3809 reachable for +Inf.
3810 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3811 spurious underflow.
3812 * sysdeps/i386/fpu/libm-test-ulps: Update.
3813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3814
fb21f89b
MF
38152012-07-06 Mike Frysinger <vapier@gentoo.org>
3816
3817 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3818
cdfe2c5e
JM
38192012-07-05 Joseph Myers <joseph@codesourcery.com>
3820
3821 [BZ #14157]
3822 [BZ #14331]
3823 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3824 could result in spurious underflow. Scale down values above
3825 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3826 * math/s_csqrtf.c (__csqrtf): Likewise.
3827 * math/s_csqrtl.c (__csqrtl): Likewise.
3828 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3829 spurious underflow.
3830 * sysdeps/i386/fpu/libm-test-ulps: Update.
3831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3832
70d35b67
AS
38332012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3834
704bc459
AS
3835 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3836 xopen-msg.sed.
3837 * catgets/xopen-msg.awk: New file.
3838 * catgets/xopen-msg.sed: Removed.
3839
70d35b67
AS
3840 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3841 po2text.sed.
3842 * intl/po2test.awk: New file.
3843 * intl/po2test.sed: Removed.
3844
ca61cf32
JM
38452012-07-04 Joseph Myers <joseph@codesourcery.com>
3846
3847 [BZ #14328]
3848 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3849 or multiply small sinh result by itself.
3850 * math/s_ctanf.c (__ctanf): Likewise.
3851 * math/s_ctanh.c (__ctanh): Likewise.
3852 * math/s_ctanhf.c (__ctanhf): Likewise.
3853 * math/s_ctanhl.c (__ctanhl): Likewise.
3854 * math/s_ctanl.c (__ctanl): Likewise.
3855 * math/libm-test.inc (ctan_test_tonearest): New function.
3856 (ctan_test_towardzero): Likewise.
3857 (ctan_test_downward): Likewise.
3858 (ctan_test_upward): Likewise.
3859 (ctanh_test_tonearest): Likewise.
3860 (ctanh_test_towardzero): Likewise.
3861 (ctanh_test_downward): Likewise.
3862 (ctanh_test_upward): Likewise.
3863 (main): Call these new functions.
3864 * sysdeps/i386/fpu/libm-test-ulps: Update.
3865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3866
ca48a46a
MF
38672012-07-03 Mike Frysinger <vapier@gentoo.org>
3868
3869 * .gitignore: Delete /ports entry.
3870
9d63d37d
AJ
38712012-07-03 Andreas Jaeger <aj@suse.de>
3872
3873 * po/bg.po: Update from translation team.
3874 * po/cs.po: Likewise.
3875 * po/de.po: Likewise.
3876 * po/hr.po: Likewise.
3877 * po/nl.pl: Likewise.
3878 * po/pl.po: Likewise.
3879 * po/vi.po: Likewise.
3880
370ca3d2
JM
38812012-07-03 Joseph Myers <joseph@codesourcery.com>
3882
95f5a9a8
JM
3883 * Makeconfig [!+link] (+link-before-libc): New variable.
3884 [!+link] (+link-after-libc): Likewise.
3885 [!+link] (+link-tests): Likewise.
3886 [!+link] (+link): Define in terms of $(+link-before-libc) and
3887 $(+link-after-libc).
3888 [!+link-static] (+link-static-before-libc): New variable.
3889 [!+link-static] (+link-static-after-libc): Likewise.
3890 [!+link-static] (+link-static-tests): Likewise.
3891 [!+link-static] (+link-static): Define in terms of
3892 $(+link-static-before-libc) and $(+link-static-after-libc).
3893 [build-shared] (link-libc-before-gnulib): New variable.
3894 [build-shared] (link-libc-tests): Likewise.
3895 [build-shared] (link-libc): Define in terms of
3896 $(link-libc-before-gnulib).
3897 [!build-shared] (link-libc-tests): New variable.
3898 (link-libc-static-tests): New variable.
3899 [!gnulib] (gnulib-arch): New variable.
3900 [!gnulib] (gnulib-tests): Likewise.
3901 [!gnulib] (static-gnulib-arch): Likewise.
3902 [!gnulib] (static-gnulib-tests): Likewise.
3903 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3904 Define with "=" instead of ":=".
3905 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3906 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3907 * Rules (binaries-all-notests): New variable.
3908 (binaries-all-tests): Likewise.
3909 (binaries-static-notests): Likewise.
3910 (binaries-static-tests): Likewise.
3911 (binaries-all): Define using $(binaries-all-notests) and
3912 $(binaries-all-tests).
3913 (binaries-static): Define using $(binaries-static-notests) and
3914 $(binaries-static-tests).
3915 (binaries-shared-tests): New variable.
3916 (binaries-shared-notests): Likewise.
3917 (binaries-shared): Remove variable.
3918 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3919 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3920 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3921 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3922 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3923 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3924 * elf/Makefile (sln-modules): New variable.
3925 (extra-objs): Add $(sln-modules:=.o).
3926 (ldconfig-modules): Add static-stubs.
3927 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3928 * elf/static-stubs.c: New file.
3929
7a845b2c
JM
3930 [BZ #14283]
3931 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3932 by 7 not 8 to examine high bit of fractional part. Use volatile
3933 variables when splitting into final array of floats if
3934 __FLT_EVAL_METHOD__ != 0.
3935 * math/libm-test.inc (cos_test): Add another test.
3936 (sin_test): Likewise.
3937 * sysdeps/i386/fpu/libm-test-ulps: Update.
3938
e2283f38
JM
3939 [BZ #14273]
3940 * math/libm-test.inc (cosh_test): Add more tests.
3941
370ca3d2
JM
3942 * version.h (RELEASE): Set to "development".
3943 (VERSION): Set to "2.16.90".
3944
ee9247c3
CD
39452012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3946
3947 * NEWS: Update copyright. Remove last-updated date.
3948 Mention math library bug fixes and timezone data changes.
3949 * README: Mention GNU/Hurd, x32, and HPPA support status.
3950
4648c381
TS
39512012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3952
3953 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3954
aac78a43
AJ
39552012-06-27 Andreas Jaeger <aj@suse.de>
3956
3957 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3958
ed3dbfad
AJ
39592012-06-25 Andreas Jaeger <aj@suse.de>
3960
3961 * sysdeps/s390/fpu/libm-test-ulps: Update.
3962
4d0ee855
AS
39632012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3964 Thomas Schwinge <thomas@codesourcery.com>
3965
3966 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3967 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3969 fanotify_mark.
3970
af1bce34
TS
39712012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3972
a9fa33ba
TS
3973 * sysdeps/mach/start.c: Remove file.
3974 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3975 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3976 * sysdeps/sh/init-first.c: Likewise.
3977
58f902b8
TS
3978 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3979 registers for frame unwinding purposes, add CFI directives.
3980 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3981 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3982 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3983 Likewise.
3984
1518f58b
TS
3985 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3986 __fortify_fail returning.
3987 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3988
db9b5059
TS
3989 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3990 sysdeps/sh/____longjmp_chk.S.
3991 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3992 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3993 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3994 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3995
967705fe
TS
3996 * sysdeps/sh/abort-instr.h: New file.
3997 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3998 process in case exit returns.
3999
a9def8c4
TS
4000 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4001 initialize the GOT register before use.
4002
2a649725
TS
4003 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4004 calculation of ARGC > 4.
4005
af1bce34
TS
4006 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4007 meaningful names to some local labels.
4008
d230f50a
KK
40092012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4010 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4011
4012 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4013 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4014 (__arch_compare_and_exchange_val_16_acq): Likewise.
4015 (__arch_compare_and_exchange_val_32_acq): Likewise.
4016 (atomic_exchange_and_add): Fix gUSA sequence.
4017 (atomic_add): Likewise.
4018 (atomic_add_negative): Likewise.
4019 (atomic_add_zero): Likewise.
4020 (atomic_bit_test_set): Likewise.
4021
0479b305
AS
40222012-06-22 Andreas Schwab <schwab@redhat.com>
4023
4024 [BZ #13579]
4025 * include/link.h (struct link_map): Add l_free_initfini.
4026 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4027 l_initfini.
4028 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4029 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4030 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4031 set.
4032
0e3933b9
CD
40332012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4034
4035 * configure.in: Use AC_LANG_SOURCE.
4036 * configure: Regenerate.
4037
4248b1b1
RM
40382012-06-22 Roland McGrath <roland@hack.frob.com>
4039
4040 * configure.in (libc_cv_localstatedir): New substituted variable.
4041 * configure: Regenerated.
4042 * config.make.in (localstatedir): New variable, substituted from
4043 libc_cv_localstatedir.
4044 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4045 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4046 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4047 * sysdeps/gnu/configure: Regenerated.
4048
006dd861
JL
40492012-06-21 Jeff Law <law@redhat.com>
4050
4051 [BZ #14277]
4052 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4053 free. Simplify list management for _LIBC case.
4054
79662d42
JM
40552012-06-21 Joseph Myers <joseph@codesourcery.com>
4056
b7abb4bf
JM
4057 [BZ #14273]
4058 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4059 Clear sign bit of 64-bit integer value before comparing against
4060 overflow value.
4061
79662d42
JM
4062 * sysdeps/mach/configure: Regenerated.
4063
1f150908
L
40642012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4065
4066 [BZ #14278]
4067 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4068
28363bbf
JL
40692012-06-21 Jeff Law <law@redhat.com>
4070
4071 [BZ #13882]
4072 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4073 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4074 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4075 * elf/dl-open.c (dl_open_worker): Likewise.
4076
09615db4
CD
40772012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4078
4079 * scripts/list-sources.sh: Scan PORTS for translations.
4080 * po/libc.pot: Regenerated.
4081
2174c6dd
AJ
40822012-06-21 Andreas Jaeger <aj@suse.de>
4083
4084 [BZ #12194]
4085 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4086 warning.
4087 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4088 * bits/byteswap-16.h (__bswap_16): Likewise.
4089 * bits/byteswap.h (__bswap_constant_16): Likewise.
4090
3ee947b1
L
40912012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4092
4093 [BZ #14117]
a2f34833
L
4094 * sysdeps/i386/fpu_control.h: Removed.
4095 * sysdeps/x86_64/fpu_control.h: Moved to ...
4096 * sysdeps/x86/fpu_control.h: Here.
4097
3ee947b1
L
4098 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4099 (_FPU_SETCW): Likewise.
4100
ed1825f8
L
41012012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4102
25f1282a
L
4103 [BZ #14117]
4104 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4105 * sysdeps/x86/fpu/bits/mathinline.h: This.
4106 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4107
ed1825f8
L
4108 [BZ #14050]
4109 [BZ #14117]
4110 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4111 functions if __x86_64__ is defined.
4112
36d54b74
CLT
41132012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4114
4115 * string/endian.h: Add !__ASSEMBLER__ condition for including
4116 conversion interfaces.
4117
10285c21
JM
41182012-06-15 Joseph Myers <joseph@codesourcery.com>
4119
4120 [BZ #14241]
4121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4122 of ABS(x) in calculating zero to negative powers other than odd
4123 integers.
4124 * math/libm-test.inc (pow_test): Add more tests.
4125
06c5abbd
AJ
41262012-06-15 Andreas Jaeger <aj@suse.de>
4127
4128 * manual/contrib.texi (Contributors): Update entry of Liubov
4129 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4130 Machado Filho.
4131
a3aeac40
CH
41322012-06-15 Cyril Hrubis <metan@ucw.cz>
4133
4134 * string/string.h: Add __wur to GNU version of strerror_r.
4135
49bdf4c1
L
41362012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4137
4138 [BZ #14229]
4139 * string/Makefile (tests): Add tst-strtok_r.
4140 * string/tst-strtok_r.c: New file.
4141 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4142 RAX_LP/RDX_LP on SAVE_PTR.
4143
834f9b8d
RM
41442012-06-14 Roland McGrath <roland@hack.frob.com>
4145
4146 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4147
75fa1921
JM
41482012-06-14 Joseph Myers <joseph@codesourcery.com>
4149
4150 * libm_test.inc (csqrt_test): Allow more spurious underflow
4151 exceptions.
4152 (j0_test): Likewise.
4153 (j1_test): Likewise.
4154 (y0_test): Likewise.
4155 (y1_test): Likewise.
4156
771766df
CD
41572012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4158
4159 * po/Makefile (libc.pot): Use UTF-8 charset.
4160
ceb9e56b
PP
41612012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4162
4163 [BZ #14210]
4164 Suppress sign-conversion warning from FD_SET.
4165 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4166 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4167 not unsigned long int.
4168 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4169
ddb28975
L
41702012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4171
4172 [BZ #14050]
4173 [BZ #14117]
4174 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4175 __extern_always_inline instead of __extern_inline.
4176 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4177 (__signbit): Likewise.
4178 (__signbitl): Support C++ namespace.
4179 (lrintf): New inline function.
4180 (lrint): Likewise.
4181 (llrintf): Likewise.
4182 (llrint): Likewise.
4183 (fmaxf): Likewise.
4184 (fmax): Likewise.
4185 (fminf): Likewise.
4186 (fmin): Likewise.
4187 (rint): Likewise.
4188 (rintf): Likewise.
4189 (ceil): Likewise.
4190 (ceilf): Likewise.
4191 (floor): Likewise.
4192 (floorf): Likewise.
4193 (nearbyint): Likewise.
4194 (nearbyintf): Likewise.
4195
d7b4fb26
TS
41962012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4197
4198 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4199 non-default versions.
4200
eb55f5c2
RM
42012012-06-11 Roland McGrath <roland@hack.frob.com>
4202
4203 [BZ #14218]
4204 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4205
366af02c
TS
42062012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4207
99ff6e5c
TS
4208 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4209 (FE_UPWARD, FE_DOWNWARD): Don't define.
4210 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4211 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4212
366af02c
TS
4213 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4214 reading it.
4215 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4216 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4217
793ea851
KK
42182012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4219
4220 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4221 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4222 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4223 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4224
a728a38f
L
42252012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4226
4227 [BZ #14117]
c08010c7
L
4228 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4229 * sysdeps/i386/fpu/Implies: New file.
4230 * sysdeps/x86_64/fpu/Implies: Likewise.
4231 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4232 * sysdeps/x86/fpu/bits/fenv.h: This.
4233
a728a38f
L
4234 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4235 __SSE_MATH__.
4236
6e230d11
SP
42372012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4238
4239 [BZ #14134]
4240 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4241 character 0xffff that matches the last element of the
4242 conversion table.
4243
1b671feb
AZ
42442012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4245
4246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4247 fmodl commit.
4248
6043738b
AZ
42492012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4250
4251 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4252 values higher than 25.6283.
4253
34ae0b32
AZ
42542012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4255
4256 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4257 subnormal exponent extraction and add some __builtin_expect.
4258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4259 Fix for subnormal mantissa calculation.
4260
1214ec8f
MF
42612012-06-04 Mike Frysinger <vapier@gentoo.org>
4262
4263 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4264 cpu2 is -1 and errno is not ENOSYS.
4265
f3d1f93c
L
42662012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4267
4268 [BZ #14117]
0e4a3cd7
L
4269 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4270 * sysdeps/x86/bits/string.h: This.
4271 * sysdeps/x86_64/bits/string.h: Removed.
4272
6704c645
L
4273 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4274 if not compiling for x86-64, but compiling for >= i486.
4275
48495318
L
4276 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4277 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4278
14adcbfc
L
4279 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4280 New macro from Linux kernel 3.4.0.
4281 (FP_XSTATE_MAGIC2): Likewise.
4282 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4283 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4284 (struct _fpx_sw_bytes): New struct.
4285 (struct _xsave_hdr): Likewise.
4286 (struct _ymmh_state): Likewise.
4287 (struct _xstate): Likewise.
4288
68e408ab
L
4289 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4290 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4291 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4292 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4293 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4294 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4295
f3d1f93c
L
4296 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4297 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4298 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4299 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4300 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4301 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4302
d9dc34cd
TMQMF
43032012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4304
4305 [BZ #13743]
4306 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4307 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4308 (sysdep_headers): Include sys/platform/ppc.h.
4309 * sysdeps/powerpc/test-gettimebase.c: Test for
4310 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4311 * manual/Makefile (appendices): Include platform.texi.
4312 * manual/contrib.texi (Contributors): Update @node pointers.
4313 * manual/maint.texi (Maintenance): Likewise.
4314 (Platform): New node.
4315 * manual/platform.texi: New file. Document the new features.
4316
4af3879c
SP
43172012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4318 Jakub Jelinek <jakub@redhat.com>
4319
4320 [BZ #14188]
4321 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4322 where __builtin_expect is unavailable.
4323
2fd6ff13
DM
43242012-06-03 David S. Miller <davem@davemloft.net>
4325
4326 * stdlib/longlong.h: Updated from GCC.
4327
173f7220
AS
43282012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4329
4330 [BZ #14042]
4331 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4332 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4333 __mcount_internal.
4334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4335 (GLIBC_2.16): Likewise.
4336
f34a1c6f
L
43372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4338
4339 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4340
88a4576f
JM
43412012-06-01 Joseph Myers <joseph@codesourcery.com>
4342
ea32bcdd
JM
4343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4344 (default-abi): New variable.
4345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4346 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4347 variable.
4348 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4349 Likewise.
4350 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4351 Likewise.
4352 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4353 Likewise.
4354
88a4576f
JM
4355 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4356 definition. Document in comment.
4357
402fe938
DM
43582012-06-01 David S. Miller <davem@davemloft.net>
4359
4360 * stdlib/longlong.h: Updated from GCC.
4361
3553723f
L
43622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4363
4364 [BZ #14117]
3bd872c4
L
4365 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4366 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4367 sys/debugreg.h sys/io.h here.
4368 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4369 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4370 sys/io.h.
4371 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4372 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4373 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4374 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4375 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4376 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4377
3553723f
L
4378 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4379 Define only if __x86_64__ is defined.
4380
4842e4fe
JM
43812012-06-01 Joseph Myers <joseph@codesourcery.com>
4382
c5bfe3d5
JM
4383 [BZ #14048]
4384 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4385 Use int64_t for variable i.
4386 * math/libm-test.inc (fmod_test): Add more tests.
4387
4842e4fe
JM
4388 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4389 z computation is not scheduled after fetestexcept.
4390 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4391 Use math_force_eval instead of asm to ensure calculation scheduled
4392 before exception test.
4393 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4394 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4395
efb73488
AJ
43962012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4397
4398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4399 computation is not scheduled after fetestexcept.
4400
29bcce7c
L
44012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4402
4403 [BZ #14117]
4404 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4405 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4406
73a68f94
AZ
44072012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4408
4409 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4410 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4411
67b6df78
L
44122012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4413
edf2933a 4414 [BZ #14117]
ebc64a18
L
4415 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4416 <bits/wordsize.h>.
4417 (__WCHAR_MIN): Support __WORDSIZE == 64.
4418 (__WCHAR_MAX): Likewise.
4419
edf2933a
L
4420 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4421 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4422
57c6cf40
L
4423 [BZ #14183]
4424 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4425 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4426
67b6df78 4427 [BZ #14117]
8eb6281e
L
4428 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4429 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4430
aac639f4
L
4431 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4432 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4433
67b6df78
L
4434 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4435 Defined to 1 if __x86_64__ isn't defined.
4436 (_STAT_VER_LINUX_OLD): New.
4437 (st_atime): Remove duplicate.
4438 (st_mtime): Likewise.
4439 (st_ctime): Likewise.
4440
1c2cfe81
DM
44412012-05-31 David S. Miller <davem@davemloft.net>
4442
4443 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4444 entries.
4445
5be8418c
AS
44462012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4447
e7725326
AS
4448 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4449 gen-libm-test.pl.
4450
5be8418c
AS
4451 [BZ #14132]
4452 * elf/dl-reloc.c: Include <_itoa.h>.
4453 (_dl_reloc_bad_type): Remove use of INTUSE.
4454 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4455 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4456 * stdio-common/psiginfo.c (psiginfo): Likewise.
4457 * stdio-common/psignal.c (psignal): Likewise.
4458 * string/strsignal.c (strsignal): Likewise.
4459 * include/signal.h (_sys_siglist): Declare hidden proto.
4460 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4461 INTVARDEF with libc_hidden_data_def.
4462 * stdio-common/itoa-udigits.c: Likewise.
4463 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4464 (_itoa_lower_digits_internal): Remove declaration.
4465 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4466 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4467 (_sys_sigabbrev_internal): Remove aliases.
4468 (_sys_siglist): Define hidden alias.
4469
507352f1
MT
44702012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4471
4472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4473 bits/sysctl.h.
4474
42bbb1c3
L
44752012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4476
4477 [BZ #14117]
6bd784b6
L
4478 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4479 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4480
8bca20f0
L
4481 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4482 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4483 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4484 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4485 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4486 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4487
f9e890a9
L
4488 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4489 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4490 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4491
471101a1
L
4492 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4493 with __addr.
4494 (insw): Likewise.
4495 (insl): Likewise.
4496 (outsb): Likewise.
4497 (outsw): Likewise.
4498 (outsl): Likewise.
4499
6451c862
L
4500 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4501 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4502 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4503
a254b8c9
L
4504 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4505 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4506 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4507 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4508 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4509 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4510
b8dfdd92
L
4511 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4512 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4513
578cd270
L
4514 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4515 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4516
de662f5f
L
4517 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4518 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4519 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4520
25653439
L
4521 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4522 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4523 to ...
4524 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4525
6bad24a0
L
4526 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4527 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4528 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4529
42bbb1c3
L
4530 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4531 for x86-64.
4532 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4533
2d10d547
JM
45342012-05-31 Joseph Myers <joseph@codesourcery.com>
4535
4536 * math/math.h (M_El): Use two more decimal places.
4537 (M_LOG2El): Likewise.
4538 (M_LOG10El): Likewise.
4539 (M_LN2l): Likewise.
4540 (M_LN10l): Likewise.
4541 (M_PIl): Likewise.
4542 (M_PI_2l): Likewise.
4543 (M_PI_4l): Likewise.
4544 (M_1_PIl): Likewise.
4545 (M_2_PIl): Likewise.
4546 (M_2_SQRTPIl): Likewise.
4547 (M_SQRT2l): Likewise.
4548 (M_SQRT1_2l): Likewise.
4549
f230c29b
DM
45502012-05-31 David S. Miller <davem@davemloft.net>
4551
4552 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4553 values between float registers.
4554 * sysdeps/sparc/sparc64/memset.S: Likewise.
4555 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4556
fed806c3
MF
45572012-05-31 Mike Frysinger <vapier@gentoo.org>
4558
4559 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4560 -D_FORTIFY_SOURCE=1.
4561 (CPPFLAGS-tst-longjmp_chk.c): Define.
4562 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4563 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4564 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4565 CFLAGS-tst-wchar-h.c.
4566
30917259
MP
45672012-05-31 Marek Polacek <polacek@redhat.com>
4568
4569 [BZ #14132]
4570 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4571 __endmntent_internal): Remove declaration.
4572 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4573 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4574 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4575
1c58d5dc
DM
45762012-05-30 David S. Miller <davem@davemloft.net>
4577
4578 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4579 (___Q_simulate_exceptions): Use real FP ops rather than writing
4580 into the %fsr.
4581 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4582 Likewise.
4583
7dc00e0d
L
45842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4585
4586 [BZ #14117]
0bd53985
L
4587 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4588 * sysdeps/x86/bits/xtitypes.h: This.
4589
3a257e66
L
4590 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4591 * sysdeps/x86/bits/wordsize.h: This.
4592
62f62904
L
4593 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4594 * sysdeps/x86/bits/huge_vall.h: This.
4595
404fe9d9
L
4596 * sysdeps/i386/bits/select.h: Removed.
4597 * sysdeps/x86_64/bits/select.h: Renamed to ...
4598 * sysdeps/x86/bits/select.h: This.
4599
d48d0446
L
4600 * sysdeps/i386/bits/setjmp.h: Removed.
4601 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4602 * sysdeps/x86/bits/setjmp.h: This.
4603
7dc00e0d
L
4604 * sysdeps/i386/bits/mathdef.h: Removed.
4605 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4606 * sysdeps/x86/bits/mathdef.h: This.
4607
03277f8f
AS
46082012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4609
4610 [BZ #14132]
4611 * include/sys/socket.h (__connect_internal)
4612 (__libc_sa_len_internal): Remove declaration.
4613 (__connect, __libc_sa_len): Declare hidden_proto.
4614 (SA_LEN): Remove use of INTUSE.
4615 * socket/connect.c: Add libc_hidden_def.
4616 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4617 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4618 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4619 alias.
4620 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4621 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4622 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4623 of adding _internal alias.
4624
13764867
L
46252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4626
4627 [BZ #14117]
6bd97696
L
4628 * sysdeps/i386/bits/link.h: Removed.
4629 * sysdeps/i386/bits/linkmap.h: Likewise.
4630 * sysdeps/x86_64/bits/link.h: Renamed to ...
4631 * sysdeps/x86/bits/link.h: This.
4632 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4633 * sysdeps/x86/bits/linkmap.h: This.
4634
f726f0bb
L
4635 * sysdeps/i386/bits/endian.h: Removed.
4636 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4637 * sysdeps/x86/bits/endian.h: This.
4638
13764867
L
4639 * sysdeps/i386/bits/byteswap.h: Removed.
4640 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4641 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4642 * sysdeps/x86/bits/byteswap.h: This.
4643 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4644 * sysdeps/x86/bits/byteswap-16.h: This.
4645 * sysdeps/i386/Implies: Add x86.
4646 * sysdeps/x86_64/Implies: Likewise.
4647
ae251b0b
DM
46482012-05-30 David S. Miller <davem@davemloft.net>
4649
4650 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4651 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4652 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4653 (FP_TRAPPING_EXCEPTIONS): Define.
4654 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4655 (FP_TRAPPING_EXCEPTIONS): Define.
4656 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4657 subnormals only when inexact has been signalled or underflow
4658 exceptions are enabled.
4659 (_FP_PACK_CANONICAL): Likewise.
4660
d5c90867
L
46612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4662
4663 [BZ #14183]
4664 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4665 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4666
63f1549e
RH
46672012-05-30 Richard Henderson <rth@twiddle.net>
4668
8d8f2279
RH
4669 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4670 with #ifndef NOT_IN_libc.
4671
63f1549e
RH
4672 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4673 marked to avoid plt entry.
4674
0ab0291b
L
46752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4676
4677 [BZ #14112]
4678 * Makeconfig (default-abi): New macro.
4679 (abi-includes): Likewise.
4680 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4681 $(abi-$(default-abi)-lib-soname) for soname if defined.
4682 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4683 abi-variants.
4684 * Makefile (installed-stubs): Likewise.
4685 * include/stubs-biarch.h: Removed.
4686 * scripts/lib-names.awk: Only handle one library at a time.
4687 * scripts/soversions.awk: Remove WORDSIZE support.
4688 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4689 entries.
4690 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4691 Removed.
4692 (syscall-list-default-condition): Likewise.
4693 (syscall-list-default-condition): Likewise.
4694 (syscall-list-includes): Likewise.
4695 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4696 syscall-list-* with abi-*. Handle undefined abi-variants.
4697 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4698 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4699 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4700 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4701 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4702 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4703 Removed.
4704 (syscall-list-32-options): Likewise.
4705 (syscall-list-32-condition): Likewise.
4706 (syscall-list-64-options): Likewise.
4707 (syscall-list-64-condition): Likewise.
4708 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4709 macro.
4710 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4711 Renamed to ...
4712 (abi-*): This.
4713 (abi-64-ld-soname): New macro.
4714 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4715 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4716 Renamed to ...
4717 (abi-*): This.
4718 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4719 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4720
4da0431d
JM
47212012-05-30 Joseph Myers <joseph@codesourcery.com>
4722
3a85279c
JM
4723 * sysdeps/unix/sysv/linux/kernel-features.h
4724 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4725 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4726 include <kernel-features.h>.
4727 [!__NR_ftruncate64]: Remove conditional code.
4728 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4729 [__NR_ftruncate64]: Make code unconditional.
4730 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4731 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4732 include <kernel-features.h>.
4733 [!__NR_ftruncate64]: Remove conditional code.
4734 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4735 [__NR_ftruncate64]: Make code unconditional.
4736 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4738 include <kernel-features.h>.
4739 [!__NR_ftruncate64]: Remove conditional code.
4740 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4741 [__NR_ftruncate64]: Make code unconditional.
4742 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4744 include <kernel-features.h>.
4745 [!__NR_ftruncate64]: Remove conditional code.
4746 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4747 [__NR_ftruncate64]: Make code unconditional.
4748 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4749
4da0431d
JM
4750 * configure.in (libc_cv_fpie): Weaken to a compile test using
4751 LIBC_TRY_CC_OPTION.
4752 * configure: Regenerated.
4753
11ef492c
AK
47542012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4755
4756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4760 Refreshed.
4761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4767 Refreshed.
4768
d66ef399
DM
47692012-05-27 David S. Miller <davem@davemloft.net>
4770
4771 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4772 (___Q_zero): New.
4773 (__Q_simulate_exceptions): Return void. Change to simulate
4774 exceptions by writing into the %fsr.
4775 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4776 (__Qp_handle_exceptions): Likewise.
4777 (numbers): Delete.
4778 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4779 __Qp_handle_exceptions.
4780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4781 __Qp_handle_exceptions.
4782 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4783 as unused and give dummy FP_RND_NEAREST initializer.
4784 (FP_INHIBIT_RESULTS): Define.
4785 (___Q_simulate_exceptions): Update declaration.
4786 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4787 formatting.
4788 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4789 as unused and give dummy FP_RND_NEAREST initializer.
4790 (__Qp_handle_exceptions): Update declaration.
4791 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4792 formatting.
4793
04fb54b5
TS
47942012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4795
4796 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4797 the temporary FPU control word.
4798 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4799 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4800 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4801 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4802 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4803 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4804 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4805 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4806 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4807 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4808 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4809
3f99608f
KK
48102012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4811
4812 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4813 fields.
4814
65a4de4e
CLT
48152012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4816
4817 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4818 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4819 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4820 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4821 Likewise.
4822 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4823 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4824 Likewise.
4825
15749d40
UD
48262012-05-27 Ulrich Drepper <drepper@gmail.com>
4827
4828 * po/h.po: Update from translation team.
4829
25dbcb27
AS
48302012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4831
3d3f8e55
AS
4832 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4833
25dbcb27
AS
4834 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4835 handling of denormals.
4836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4837 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4838 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4839 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4840 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4843 Likewise.
4844
7ad47a80 48452012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4846
4847 [BZ #14152]
4848 * math/libm-test.inc (fma_test): Don't always expect underflow
4849 exception.
4850
9c6ea9fa
SP
48512012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4852
4853 [BZ #12416]
4854 * elf/tst-execstack.c: Include stackinfo.h.
4855 (do_test): Adjust test case to ensure that pthread_getattr_np
4856 behaviour remains the same after marking stack executable.
4857
a8239222
JM
48582012-05-25 Joseph Myers <joseph@codesourcery.com>
4859
4860 * sysdeps/unix/sysv/linux/kernel-features.h
4861 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4862 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4863 kernel-features.h.
4864 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4865 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4866 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4867 kernel-features.h.
4868 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4869 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4870
918b5606
L
48712012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4872
4873 * configure.in: Define the default includes to being none.
4874 * configure: Regenerated.
4875
3a097cc7
RM
48762012-05-25 Roland McGrath <roland@hack.frob.com>
4877
8422c9a5
RM
4878 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4879 * sysdeps/x86_64/setjmp.S: Likewise.
4880 * sysdeps/i386/bsd-setjmp.S: Likewise.
4881 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4882 * sysdeps/i386/setjmp.S: Likewise.
4883 * sysdeps/i386/__longjmp.S: Likewise.
4884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4885 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4886
3a097cc7
RM
4887 * include/stap-probe.h: New file.
4888 * configure.in: Handle --enable-systemtap.
4889 * configure: Regenerated.
4890 * config.h.in (USE_STAP_PROBE): New #undef.
4891 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4892 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4893 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4894
21708942
JM
48952012-05-25 Joseph Myers <joseph@codesourcery.com>
4896
4897 [BZ #13717]
4898 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4899 to 2.4.0 where earlier.
4900 * sysdeps/unix/sysv/linux/configure: Regenerated.
4901 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
4910 [__ASSUME_32BITUIDS]: Make code unconditional.
4911 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4912 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4913 <kernel-features.h>.
4914 [__ASSUME_32BITUIDS]: Make code unconditional.
4915 [!__ASSUME_32BITUIDS]: Remove conditional code.
4916 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4917 <kernel-features.h>.
4918 [__ASSUME_32BITUIDS]: Make code unconditional.
4919 [!__ASSUME_32BITUIDS]: Remove conditional code.
4920 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4921 <kernel-features.h>.
4922 [__ASSUME_32BITUIDS]: Make code unconditional.
4923 [!__ASSUME_32BITUIDS]: Remove conditional code.
4924 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4925 <kernel-features.h>.
4926 [__ASSUME_32BITUIDS]: Make code unconditional.
4927 [!__ASSUME_32BITUIDS]: Remove conditional code.
4928 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4929 <kernel-features.h>.
4930 [__ASSUME_32BITUIDS]: Make code unconditional.
4931 [!__ASSUME_32BITUIDS]: Remove conditional code.
4932 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4933 <kernel-features.h>.
4934 [__ASSUME_32BITUIDS]: Make code unconditional.
4935 [!__ASSUME_32BITUIDS]: Remove conditional code.
4936 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4937 <kernel-features.h>.
4938 [__ASSUME_32BITUIDS]: Make code unconditional.
4939 [!__ASSUME_32BITUIDS]: Remove conditional code.
4940 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4941 <kernel-features.h>.
4942 [__ASSUME_32BITUIDS]: Make code unconditional.
4943 [!__ASSUME_32BITUIDS]: Remove conditional code.
4944 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4945 <kernel-features.h>.
4946 [__ASSUME_32BITUIDS]: Make code unconditional.
4947 [!__ASSUME_32BITUIDS]: Remove conditional code.
4948 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4949 <kernel-features.h>.
4950 [__ASSUME_32BITUIDS]: Make code unconditional.
4951 [!__ASSUME_32BITUIDS]: Remove conditional code.
4952 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4953 <kernel-features.h>.
4954 [__NR_setresgid] (__setresgid): Do not declare.
4955 [__ASSUME_32BITUIDS]: Make code unconditional.
4956 [!__ASSUME_32BITUIDS]: Remove conditional code.
4957 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4958 <kernel-features.h>.
4959 [__NR_setresuid] (__setresuid): Do not declare.
4960 [__ASSUME_32BITUIDS]: Make code unconditional.
4961 [!__ASSUME_32BITUIDS]: Remove conditional code.
4962 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4963 <kernel-features.h>.
4964 [__ASSUME_32BITUIDS]: Make code unconditional.
4965 [!__ASSUME_32BITUIDS]: Remove conditional code.
4966 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4967 <kernel-features.h>.
4968 [__ASSUME_32BITUIDS]: Make code unconditional.
4969 [!__ASSUME_32BITUIDS]: Remove conditional code.
4970 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4971 <kernel-features.h>.
4972 [__ASSUME_32BITUIDS]: Make code unconditional.
4973 [!__ASSUME_32BITUIDS]: Remove conditional code.
4974 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4975 <kernel-features.h>.
4976 [__ASSUME_32BITUIDS]: Make code unconditional.
4977 [!__ASSUME_32BITUIDS]: Remove conditional code.
4978 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4979 <kernel-features.h>.
4980 [__ASSUME_32BITUIDS]: Make code unconditional.
4981 [!__ASSUME_32BITUIDS]: Remove conditional code.
4982 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4983 <kernel-features.h>.
4984 [__ASSUME_32BITUIDS]: Make code unconditional.
4985 [!__ASSUME_32BITUIDS]: Remove conditional code.
4986 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4987 <kernel-features.h>.
4988 [__ASSUME_32BITUIDS]: Make code unconditional.
4989 [!__ASSUME_32BITUIDS]: Remove conditional code.
4990 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4991 <kernel-features.h>.
4992 [__ASSUME_32BITUIDS]: Make code unconditional.
4993 [!__ASSUME_32BITUIDS]: Remove conditional code.
4994 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4995 <kernel-features.h>.
4996 [__ASSUME_32BITUIDS]: Make code unconditional.
4997 [!__ASSUME_32BITUIDS]: Remove conditional code.
4998 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4999 <kernel-features.h>.
5000 [__ASSUME_32BITUIDS]: Make code unconditional.
5001 [!__ASSUME_32BITUIDS]: Remove conditional code.
5002 * sysdeps/unix/sysv/linux/kernel-features.h
5003 (__ASSUME_SETRESUID_SYSCALL): Remove.
5004 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5005 (__ASSUME_32BITUIDS): Likewise.
5006 (__ASSUME_LDT_WORKS): Likewise.
5007 (__ASSUME_O_DIRECTORY): Likewise.
5008 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5009 architecture but not kernel version.
5010 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5011 (__ASSUME_MMAP2_SYSCALL): Likewise.
5012 (__ASSUME_STAT64_SYSCALL): Likewise.
5013 (__ASSUME_IPC64): Likewise.
5014 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5015 <kernel-features.h>.
5016 [__ASSUME_32BITUIDS]: Make code unconditional.
5017 [!__ASSUME_32BITUIDS]: Remove conditional code.
5018 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5019 <kernel-features.h>.
5020 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5021 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5022 132096]: Remove conditional code.
5023 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5024 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5025 <kernel-features.h>.
5026 [__ASSUME_32BITUIDS]: Make code unconditional.
5027 [!__ASSUME_32BITUIDS]: Remove conditional code.
5028 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5029 <kernel-features.h>.
5030 [__ASSUME_32BITUIDS]: Make code unconditional.
5031 [!__ASSUME_32BITUIDS]: Remove conditional code.
5032 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5033 <kernel-features.h>.
5034 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5035 unconditional.
5036 (__setresgid): Do not declare.
5037 [__ASSUME_32BITUIDS]: Make code unconditional.
5038 [!__ASSUME_32BITUIDS]: Remove conditional code.
5039 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5040 <kernel-features.h>.
5041 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5042 unconditional.
5043 (__setresuid): Do not declare.
5044 [__ASSUME_32BITUIDS]: Make code unconditional.
5045 [!__ASSUME_32BITUIDS]: Remove conditional code.
5046 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5047 <kernel-features.h>.
5048 [__ASSUME_32BITUIDS]: Make code unconditional.
5049 [!__ASSUME_32BITUIDS]: Remove conditional code.
5050 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5051 <kernel-features.h>.
5052 [__ASSUME_32BITUIDS]: Make code unconditional.
5053 [!__ASSUME_32BITUIDS]: Remove conditional code.
5054
a386f1cc
RH
50552012-05-25 Richard Henderson <rth@twiddle.net>
5056
5057 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5058 dl_hwcap to ifunc resolver.
5059 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5060 elf_ifunc_invoke.
5061 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5062 dl_hwcap to ifunc resolver.
5063 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5064
b6550497
JM
50652012-05-24 Joseph Myers <joseph@codesourcery.com>
5066
5067 [BZ #14153]
5068 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5069 for |x| <= 2**-26, not 2**-57.
5070 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5071 exception.
5072
b0bc23a1
JL
50732012-05-24 Jeff Law <law@redhat.com>
5074
5075 * stdio-common/Makefile (tests): Add bug25.
5076 * stdio-common/bug25.c: New test.
5077
347c92e9
L
50782012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5079
5080 [BZ #13576]
5081 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5082 multiple of MALLOC_ALIGNMENT in size.
5083 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5084
6bcc8b3f
JM
50852012-05-24 Joseph Myers <joseph@codesourcery.com>
5086
5087 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5088 Require >= 256.
5089 (FILENAME_MAX): Use macro-int-constant.
5090 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5091 (_IOFBF): Use macro-int-constant.
5092 (_IOLBF): Likewise.
5093 (_IONBF): Likewise.
5094 (SEEK_CUR): Likewise.
5095 (SEEK_END): Likewise.
5096 (SEEK_SET): Likewise.
5097 (TMP_MAX): Likewise.
5098 (EOF): Use macro-int-constant. Require < 0.
5099 (NULL): Use macro-constant. Require == 0.
5100 (stdin): Require type to be FILE *.
5101 (stdout): Likewise.
5102 (stderr): Likewise.
5103 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5104 macro-int-constant.
5105 (EXIT_SUCCESS): Likewise.
5106 (NULL): Use macro-constant. Require == 0.
5107 (RAND_MAX): Use macro-int-constant.
5108 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5109 [C99-based standards] (strtof): Require function.
5110 [C99-based standards] (strtold): Likewise.
5111 [C99-based standards] (strtoll): Likewise.
5112 [C99-based standards] (strtoull): Likewise.
5113 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5114 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5115 [ISO || ISO99 || ISO11] (math.h): Likewise.
5116 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5117 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5119
d18ea0c5
AS
51202012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5121
5122 [BZ #14132]
56d25bb8
AS
5123 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5124 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5125 * intl/dgettext.c (DCGETTEXT): Likewise.
5126 * intl/gettext.c (DCGETTEXT): Likewise.
5127 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5128 * posix/regex_internal.h (gettext): Likewise.
5129 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5130 Remove declaration.
5131 * include/argz.h (__argz_count_internal)
5132 (__argz_stringify_internal): Remove declaration.
5133 (__argz_count, __argz_stringify): Declare hidden proto.
5134 * intl/dcgettext.c: Remove use of INTDEF.
5135 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5136 * string/argz-stringify.c: Likewise.
5137 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5138 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5139 Declare hidden proto.
d18ea0c5
AS
5140 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5141 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5142 Declare hidden proto.
5143 * include/stdio.h (__asprintf_internal): Don't declare.
5144 (__asprintf): Don't define as macro. Declare hidden proto.
5145 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5146 (__fsetlocking): Declare hidden proto.
5147 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5148 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5149 hidden proto.
5150 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5151 (_IO_setlinebuf): Remove use of INTUSE.
5152 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5153 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5154 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5155 Remove declaration.
5156 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5157 (_IO_do_flush): Remove use of INTUSE.
5158 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5159 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5160 (_IO_adjust_column, _IO_least_wmarker)
5161 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5162 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5163 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5164 (_IO_default_doallocate, _IO_wdefault_doallocate)
5165 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5166 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5167 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5168 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5169 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5170 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5171 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5172 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5173 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5174 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5175 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5176 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5177 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5178 proto.
5179 (_IO_flush_all_internal, _IO_adjust_column_internal)
5180 (_IO_default_uflow_internal, _IO_default_finish_internal)
5181 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5182 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5183 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5184 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5185 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5186 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5187 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5188 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5189 (_IO_file_close_internal, _IO_file_close_it_internal)
5190 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5191 (_IO_file_init_internal, _IO_file_attach_internal)
5192 (_IO_file_fopen_internal, _IO_file_read_internal)
5193 (_IO_file_sync_internal, _IO_file_seek_internal)
5194 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5195 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5196 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5197 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5198 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5199 (_IO_list_all_internal, _IO_link_in_internal)
5200 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5201 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5202 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5203 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5204 (_IO_do_write_internal, _IO_padn_internal)
5205 (_IO_getline_info_internal, _IO_getline_internal)
5206 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5207 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5208 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5209 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5210 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5211 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5212 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5213 with libc_hidden_ver, remove use of INTUSE.
5214 * libio/genops.c: Likewise.
5215 * libio/freopen.c: Likewise.
5216 * libio/freopen64.c: Likewise.
5217 * libio/iofclose.c: Likewise.
5218 * libio/iofdopen.c: Likewise.
5219 * libio/iofflush.c: Likewise.
5220 * libio/iofflush_u.c: Likewise.
5221 * libio/iofgets.c: Likewise.
5222 * libio/iofgets_u.c: Likewise.
5223 * libio/iofopen.c: Likewise.
5224 * libio/iofopncook.c: Likewise.
5225 * libio/iofread.c: Likewise.
5226 * libio/iofread_u.c: Likewise.
5227 * libio/ioftell.c: Likewise.
5228 * libio/iofwrite.c: Likewise.
5229 * libio/iogetline.c: Likewise.
5230 * libio/iogets.c: Likewise.
5231 * libio/iogetwline.c: Likewise.
5232 * libio/iopadn.c: Likewise.
5233 * libio/iopopen.c: Likewise.
5234 * libio/ioseekoff.c: Likewise.
5235 * libio/ioseekpos.c: Likewise.
5236 * libio/iosetbuffer.c: Likewise.
5237 * libio/iosetvbuf.c: Likewise.
5238 * libio/ioungetc.c: Likewise.
5239 * libio/ioungetwc.c: Likewise.
5240 * libio/iovdprintf.c: Likewise.
5241 * libio/iovsprintf.c: Likewise.
5242 * libio/iovsscanf.c: Likewise.
5243 * libio/memstream.c: Likewise.
5244 * libio/obprintf.c: Likewise.
5245 * libio/oldfileops.c: Likewise.
5246 * libio/oldiofclose.c: Likewise.
5247 * libio/oldiofdopen.c: Likewise.
5248 * libio/oldiofopen.c: Likewise.
5249 * libio/oldiopopen.c: Likewise.
5250 * libio/oldstdfiles.c: Likewise.
5251 * libio/putc.c: Likewise.
5252 * libio/setbuf.c: Likewise.
5253 * libio/setlinebuf.c: Likewise.
5254 * libio/stdfiles.c: Likewise.
5255 * libio/strops.c: Likewise.
5256 * libio/vasprintf.c: Likewise.
5257 * libio/vscanf.c: Likewise.
5258 * libio/vsnprintf.c: Likewise.
5259 * libio/vswprintf.c: Likewise.
5260 * libio/wfiledoalloc.c: Likewise.
5261 * libio/wfileops.c: Likewise.
5262 * libio/wgenops.c: Likewise.
5263 * libio/wmemstream.c: Likewise.
5264 * libio/wstrops.c: Likewise.
5265 * libio/__fpurge.c: Likewise.
5266 * libio/__fsetlocking.c: Likewise.
5267 * assert/assert.c: Likewise.
5268 * debug/fgets_chk.c: Likewise.
5269 * debug/fgets_u_chk.c: Likewise.
5270 * debug/fread_chk.c: Likewise.
5271 * debug/fread_u_chk.c: Likewise.
5272 * debug/gets_chk.c: Likewise.
5273 * debug/obprintf_chk.c: Likewise.
5274 * debug/vasprintf_chk.c: Likewise.
5275 * debug/vdprintf_chk.c: Likewise.
5276 * debug/vsnprintf_chk.c: Likewise.
5277 * debug/vsprintf_chk.c: Likewise.
5278 * malloc/mtrace.c: Likewise.
5279 * misc/error.c: Likewise.
5280 * misc/syslog.c: Likewise.
5281 * stdio-common/asprintf.c: Likewise.
5282 * stdio-common/fxprintf.c: Likewise.
5283 * stdio-common/getw.c: Likewise.
5284 * stdio-common/isoc99_fscanf.c: Likewise.
5285 * stdio-common/isoc99_scanf.c: Likewise.
5286 * stdio-common/isoc99_vfscanf.c: Likewise.
5287 * stdio-common/isoc99_vscanf.c: Likewise.
5288 * stdio-common/isoc99_vsscanf.c: Likewise.
5289 * stdio-common/printf-prs.c: Likewise.
5290 * stdio-common/printf_fp.c: Likewise.
5291 * stdio-common/printf_fphex.c: Likewise.
5292 * stdio-common/printf_size.c: Likewise.
5293 * stdio-common/putw.c: Likewise.
5294 * stdio-common/scanf.c: Likewise.
5295 * stdio-common/sprintf.c: Likewise.
5296 * stdio-common/tmpfile.c: Likewise.
5297 * stdio-common/vfprintf.c: Likewise.
5298 * stdio-common/vfscanf.c: Likewise.
5299 * stdlib/strfmon_l.c: Likewise.
5300 * sunrpc/openchild.c: Likewise.
5301 * sunrpc/xdr_stdio.c: Likewise.
5302 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5303 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5304
d6c33fda
RM
53052012-05-24 Roland McGrath <roland@hack.frob.com>
5306
c1487492
RM
5307 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5308
5309 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5310 in the third column, to generate for the shared library an IFUNC
5311 that uses _dl_vdso_vsym.
5312 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5313 * Makeconfig (object-suffixes-noshared): New variable.
5314
5315 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5316 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5317 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5318 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5319
d6c33fda
RM
5320 [BZ #14132]
5321 * include/sys/time.h (__gettimeofday): Remove macro.
5322 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5323 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5324 Remove INTDEF.
5325 (__gettimeofday): Add libc_hidden_def.
5326 (gettimeofday): Add libc_hidden_weak.
5327 * sysdeps/mach/gettimeofday.c: Likewise.
5328 * sysdeps/posix/gettimeofday.c: Likewise.
5329 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5330 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5331 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5332 (__gettimeofday_internal): Remove strong_alias.
5333 (__gettimeofday): Add libc_hidden_def.
5334 (gettimeofday): Add libc_hidden_weak.
5335 * sysdeps/unix/syscalls.list (gettimeofday):
5336 Remove __gettimeofday_internal alias.
5337
b5a2bbe6
L
53382012-05-24 Daniel Jacobowitz <drow@false.org>
5339 H.J. Lu <hongjiu.lu@intel.com>
5340
5341 [BZ #12495]
5342 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5343 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5344 (largebin_index_32_big): New.
5345 (largebin_index): Use it for 16-byte alignment.
5346 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5347 correction with front_misalign.
5348
cfba4fda
L
53492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5350
7f907421
L
5351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5353 Likewise.
5354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5355 Likewise.
5356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5357 Likewise.
5358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5359 Likewise.
5360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5361 Likewise.
5362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5363 Likewise.
5364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5365 Likewise.
5366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5367 Likewise.
5368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5369 Likewise.
5370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5371 Likewise.
5372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5373 Likewise.
5374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5375 Likewise.
5376
cfba4fda
L
5377 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5378 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5379
80bad0cc
JM
53802012-05-24 Joseph Myers <joseph@codesourcery.com>
5381
7a25eb06
JM
5382 [BZ #10846]
5383 [BZ #14036]
5384 * math/libm-test.inc (exp_test): Add test from bug 14036.
5385 (pow_test): Add test from bug 10846.
5386
795405f9
JM
5387 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5388 and other flags.
5389 (special_function): Do not include flags in test name.
5390 (parse_args): Likewise.
5391 * sysdeps/i386/fpu/libm-test-ulps: Update.
5392 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5393 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5394 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5396
80bad0cc
JM
5397 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5398 exceptions.
5399 * math/libm-test.inc ("Philosophy"): Update comment about
5400 exception testing.
5401 (UNDERFLOW_EXCEPTION): New macro.
5402 (UNDERFLOW_EXCEPTION_OK): Likewise.
5403 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5404 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5405 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5406 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5407 (INVALID_EXCEPTION_OK): Update value.
5408 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5409 (OVERFLOW_EXCEPTION_OK): Likewise.
5410 (IGNORE_ZERO_INF_SIGN): Likewise.
5411 (test_exceptions): Handle underflow exceptions.
5412 (acos_test): Update for underflow exception expectations.
5413 (cexp_test): Likewise.
5414 (clog_test): Likewise.
5415 (clog10_test): Likewise.
5416 (csqrt_test): Likewise.
5417 (ctan_test): Likewise.
5418 (ctanh_test): Likewise.
5419 (exp_test): Likewise.
5420 (exp10_test): Likewise.
5421 (exp2_test): Likewise.
5422 (expm1_test): Likewise.
5423 (fma_test): Likewise.
5424 (j0_test): Likewise.
5425 (jn_test): Likewise.
5426 (nexttoward_test): Likewise.
5427 (pow_test): Likewise.
5428 (scalbn_test): Likewise.
5429 (scalbln_test): Likewise.
5430 (tan_test): Likewise.
5431 (y1_test): Likewise.
5432 * sysdeps/i386/fpu/libm-test-ulps: Update.
5433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5434
9e0e3d0b
DM
54352012-05-23 David S. Miller <davem@davemloft.net>
5436
5437 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5438 (__libc_sigaction): Remove unused local variables.
5439
ccd0a08f
L
54402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5441
5442 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5443
62bdf9a6
PE
54442012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5445
f8591f80
PE
5446 mktime: avoid signed integer overflow
5447 * time/mktime.c (__mktime_internal): Do not mishandle the case
5448 where diff == INT_MIN.
5449
94c7d826
PE
5450 mktime: simplify computation of average
5451 * time/mktime.c (ranged_convert): Use new time_t_avg function
5452 instead of rolling our own (probably-slower) code.
5453
ce73d683
PE
5454 mktime: do not assume signed right shift propagates sign bit
5455 * time/mktime.c (isdst_differ): New static function.
5456 (__mktime_internal): No need to normalize tm_isdst now.
5457 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5458 tm_isdst values.
5459
72a22e59
PE
5460 mktime: merge another wrapv change from gnulib
5461 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5462 from some compilers.
5463
68605433
PE
5464 mktime: remove incorrect attempt at unusual arithmetics
5465 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5466 The code didn't really work on such machines anyway.
5467 (TYPE_MINIMUM): Assume two's complement.
5468 (twos_complement_arithmetic): Verify that long_int and time_t
5469 are two's complement (or unsigned, in the latter case).
5470
03cf7fe3
PE
5471 mktime: check signed shifts on long_int and time_t, too
5472 * time/mktime.c (SHR): Check that shifts work as desired
5473 on the types long_int and time_t too, as SHR is used on
5474 such types.
5475
f04dfbc2
PE
5476 mktime: do not assume 'long' is wide enough
5477 * time/mktime.c (verify): Move decl up.
5478 (long_int): New type.
5479 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5480 to remove assumption in the code that 'long' is wide enough to
5481 store year values. This assumption is not true on x32 and on
5482 some non-glibc platforms.
5483
62bdf9a6
PE
5484 mktime: merge wrapv change from gnulib
5485 * time/mktime.c (WRAPV): New macro.
5486 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5487 (guess_time_tm, __mktime_internal): Do not assume that signed
5488 integer overflow wraps around; modern compilers generate code
5489 where this assumption is no longer valid.
5490
5e292e4f
L
54912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5492
5493 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5494 Replace "jmp L(pseudo_end)" with "ret".
5495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5496 Likewise.
5497
8caf8c87
AJ
54982012-05-23 Andreas Jaeger <aj@suse.de>
5499
5500 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5501 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5502
1a09dc56
AJ
55032012-05-23 Andreas Jaeger <aj@suse.de>
5504 Maximilian Attems <max@stro.at>
5505
5506 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5507 New macros.
5508
1c87aba0
L
55092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5510
5511 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5512 code so that pseudo_end is just ret and the stack pointer is
5513 correct also for static library in error case.
5514
40e45bd5
JM
55152012-05-23 Joseph Myers <joseph@codesourcery.com>
5516
c2670533
JM
5517 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5518 move to syscalls.list.
5519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5523
40e45bd5
JM
5524 * manual/install.texi (Running make install): Do not mention Linux
5525 kernel version for which pt_chown is not needed.
5526 (Linux): Do not mention problems with nscd with 2.0 kernels.
5527 * INSTALL: Regenerated.
5528
be08eda5
AJ
55292012-05-23 Andreas Jaeger <aj@suse.de>
5530
5531 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5532 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5533 macro.
5534 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5535 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5536 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5537 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5538 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5539 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5540 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5541 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5542 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5543 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5544 * sysdeps/unix/sysv/linux/bits/in.h
5545 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5546
a6a056bb
RM
55472012-05-22 Roland McGrath <roland@hack.frob.com>
5548
5549 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5550 (PREPARE_VERSION): Just use assert instead, it will be elided
5551 under [NDEBUG] anyway.
5552
c9009328
L
55532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5554
5555 * sysdeps/unix/sysv/linux/Makefile: Include
5556 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5557 (sysdep_routines): Remove sysctl.
c9009328
L
5558 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5559 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5560 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5561 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5562 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5563
73338355
AJ
55642012-05-22 Andreas Jaeger <aj@suse.de>
5565
5566 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5567 that pseudo_end is just ret and the stack pointer is correct also
5568 for static library in error case.
5569
d44638b0
PP
55702012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5571
5572 [BZ #14122]
5573 * nss/nsswitch.c (defconfig_entries): New variable.
5574 (__nss_database_lookup): Don't leak defconfig entries.
5575 (nss_parse_service_list): Don't leak on error paths.
5576 (free_database_entries): New function.
5577 (free_defconfig): New function.
5578 (free_mem): Move common code to free_database_entries.
5579
31a39bd8
L
55802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5581
da0331a8
L
5582 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5583 Add arch_prctl.
5584 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5585
31a39bd8
L
5586 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5587 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5589 New macro.
5590 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5591 (INTERNAL_SYSCALL_TYPES): Likewise.
5592 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5593 (LOAD_REGS_TYPES_[1-6]): Likewise.
5594 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5595 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5596
45470df3
AZ
55972012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5598
5599 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5600 copysignl for GLIBC_2_0.
5601 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5602 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5604 logbl for GLIBC_2_0.
5605 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5606 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5607
98a61bcb
L
56082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5609
a4f6e481
L
5610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5611 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5612
f63d5db6
L
5613 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5614 Use "neg %eax".
5615
98a61bcb
L
5616 * time/mktime.c: Update copyright years.
5617
95770f14
PE
56182012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5619
6226efbd
PE
5620 mktime: merge comment-quoting-style change from gnulib
5621 * time/mktime.c: Quote 'like this' in comments.
5622 The GNU coding standards suggest that we no longer quote `like this',
5623 as "`" and "'" are typically rendered asymmetrically nowadays.
5624 The typical gnulib style is to quote 'like this' when quoting
5625 code, and "like this" when quoting English.
5626
b99e4f78
PE
5627 * time/mktime.c (compile-command): Add "-I.".
5628
643e01e6
PE
5629 mktime: merge mktime-internal.h change from gnulib
5630 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5631
2554247d
PE
5632 mktime: merge time_r change from gnulib
5633 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5634
826dd0ab
PE
5635 mktime: merge DEBUG change from gnulib
5636 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5637 case system <time.h> has a #define.
5638
bd83aabe
PE
5639 mktime: merge <sys/types.h> change from gnulib
5640 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5641 since <time.t> is now guaranteed to define time_t.
5642
95770f14
PE
5643 mktime: merge HAVE_CONFIG_H change from gnulib
5644 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5645
5e1a27a9
L
56462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5647
0e44a77e
L
5648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5649 Use "neg %eax".
5650
5e1a27a9
L
5651 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5652 __rlim_t cast.
5653 (struct rusage): Use anonymous union to pad each field to
5654 __syscall_slong_t.
5655
46259bec
DM
56562012-05-21 David S. Miller <davem@davemloft.net>
5657
5658 * Makefules (o-iterator): Remove .s cases.
5659 (compile-command.s): Delete.
5660 (COMPILE.s): Delete.
5661 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5662
59f0c22e
JM
56632012-05-21 Joseph Myers <joseph@codesourcery.com>
5664
5665 * configure.in (libc_cv_predef_stack_protector): Only consider
5666 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5667 * configure: Regenerated.
5668
20c07380
L
56692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5670
bbb3154b
L
5671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5672 New macro. Use R*LP on int and pointer.
5673 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5674 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5675 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5676 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5677
20c07380
L
5678 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5679 [__WORDSIZE_TIME64_COMPAT32] instead of
5680 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5681 (struct utmp): Likewise.
5682 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5683 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5684 Renamed to ...
5685 (__WORDSIZE_TIME64_COMPAT32): This.
5686 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5687 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5688 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5689 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5690 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5691 (__WORDSIZE_TIME64_COMPAT32): New macro.
5692
d8d1017e
AJ
56932012-05-21 Andreas Jaeger <aj@suse.de>
5694
5695 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5696 only if [SHARED]. Add prototype for __wcschr_ia32.
5697
6c7fb145
RM
56982012-05-21 Roland McGrath <roland@hack.frob.com>
5699
5700 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5701 of %rbp unmolested in the jmp_buf while mangling the low bits.
5702 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5703 unmolested high bits of %rbp while demangling the low bits.
5704 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5705
66274218
AJ
57062012-05-21 Andreas Jaeger <aj@suse.de>
5707
07c58f8f
AJ
5708 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5709 * sunrpc/svc_simple.c: Use it for registerrpc.
5710 * sunrpc/xcrypt.c: Use it for passwd2des.
5711
66274218
AJ
5712 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5713
61f65140
L
57142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5715
5716 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5717 Don't define if [__SYSCALL_WORDSIZE != 32].
5718 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5719 New macro.
5720
5fefb436
AJ
57212012-05-21 Bruno Haible <bruno@clisp.org>
5722 Andreas Jaeger <aj@suse.de>
5723
5724 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5725 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5726 inptr and inend for must_buffer_ch.
5727 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5728 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5729 * stdio-common/Makefile (tests): Remove bug15.
5730 (bug15-ENV): Remove macro.
5731 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5732 anymore.
5733
d8e272ab
AJ
57342012-05-19 Andreas Jaeger <aj@suse.de>
5735 Roland McGrath <roland@hack.frob.com>
5736
5737 * manual/contrib.texi: Completely rewritten. It contains now an
5738 alphabetical list of contributors and their contributions.
5739
4a56a162
RH
57402012-05-21 Richard Henderson <rth@twiddle.net>
5741
5742 * misc/getauxval.c (__getauxval): Use unsigned long int.
5743 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5744 (getauxval): Use unsigned long int.
5745
d024d23c
L
57462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5747
5748 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5749
cbc00a03
RM
57502012-05-21 Roland McGrath <roland@hack.frob.com>
5751
5752 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5753 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5754 __alignof__ (long double).
5755
478143fa
AZ
57562012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5757
5758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5759
c7683a6d
RH
57602012-05-20 Richard Henderson <rth@twiddle.net>
5761
5762 * misc/getauxval.c: New file.
5763 * misc/sys/auxv.h: New file.
5764 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5765 (routines): Add getauxval.
5766 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5767 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5768 * elf/dl-sysdep.c (_dl_auxv): Remove.
5769 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5770 * elf/dl-support.c (_dl_auxv): New variable.
5771 (_dl_aux_init): Initialize it.
5772 * manual/startup.texi (Auxiliary Vector): New node.
5773 * sysdeps/generic/bits/hwcap.h: New file.
5774 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5775 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5776 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5777 * sysdeps/sparc/sysdep.h: ... here. Include it.
5778 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5779 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5781 Update.
c7683a6d
RH
5782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5785 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5790
a6f1845d
AZ
57912012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5792
5793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5794
cbcbe830
DM
57952012-05-19 David S. Miller <davem@davemloft.net>
5796
5797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5798
e0b16cc2
JM
57992012-05-19 Joseph Myers <joseph@codesourcery.com>
5800
5801 [BZ #14123]
5802 * math/s_ccosh.c: Include <float.h>
5803 (__ccosh): Avoid internal overflow calculating sinh and cosh
5804 values before multiplying by sin and cos values.
5805 * math/s_ccoshf.c: Likewise.
5806 * math/s_ccoshl.c: Likewise.
5807 * math/s_csin.c: Likewise.
5808 * math/s_csinf.c: Likewise.
5809 * math/s_csinl.c: Likewise.
5810 * math/s_csinh.c: Likewise.
5811 * math/s_csinhf.c: Likewise.
5812 * math/s_csinhl.c: Likewise.
5813 * math/libm-test.inc (ccos_test): Add more tests.
5814 (ccosh_test): Likewise.
5815 (csin_test): Likewise.
5816 (csinh_test): Likewise.
5817 * sysdeps/i386/fpu/libm-test-ulps: Update.
5818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5819
6ad13e08
L
58202012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5821
f66f0ce8
L
5822 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5823 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5824
6ad13e08
L
5825 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5826
b1d072a7
JM
58272012-05-19 Joseph Myers <joseph@codesourcery.com>
5828
5829 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5830 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5831 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5832 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5833 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5834 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5835 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5836 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5837 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5838 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5839 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5840 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5841 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5842 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5843 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5844 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5845 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5846 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5847 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5848 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5849 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5850 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5851 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5852 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5853 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5854 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5855 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5856 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5857 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5858 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5859 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5860
9eae47cb
AJ
58612012-05-18 Andreas Jaeger <aj@suse.de>
5862
5863 * csu/.gitignore: Delete.
5864
bb07f69f
L
58652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5866
5867 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5868 (timex): Use __syscall_slong_t.
5869
e6bdb741
AJ
58702012-05-18 Andreas Jaeger <aj@suse.de>
5871 Carlos O'Donell <carlos_odonell@mentor.com>
5872
5873 * manual/install.texi (Configuring and compiling): Update
5874 description about files modified in the source directory.
d6c33fda 5875 * INSTALL: Regenerated.
e6bdb741 5876
1b74487e
L
58772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5878
5879 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5880 value. Use "or" to set return value to -1.
5881 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5882 negate return value.
5883
a88b64b9
TMQMF
58842012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5885
5886 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5887 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5888 failure if the compiler has Graphite support disabled.
5889 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5890 Likewise.
5891 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5892 CFLAGS-memmove.c): Likewise.
5893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5894 Likewise.
5895
3707636e
L
58962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5897
610b8622
L
5898 * sysdeps/x86_64/x32/_itoa.h: New file.
5899
7cd195df
L
5900 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5901 getdents system call only if kernel and user dirents have the
5902 same d_ino and d_off.
5903
94b07d20
L
5904 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5905 LLONG_MAX != LONG_MAX.
5906 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5907 (_fitoa_word): Likewise.
5908
18298070
L
5909 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5910 years.
5911 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5912 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5913 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5914
553c7ea4
L
5915 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5916 include <bits/wordsize.h>. Check __x86_64__ instead of
5917 __WORDSIZE.
5918 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5919 if __x86_64__ is defined. Use anonymous union on fpstate.
5920
3707636e
L
5921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5922 anonymous union.
5923
b53ef01a
AS
59242012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5925
37fb1dc0
AS
5926 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5927 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5928 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5929 Refer to _rtld_local_ro instead of _rtld_global_ro.
5930 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5931 Likewise.
5932 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5933 Likewise.
5934 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5935 Likewise.
5936 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5937 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5938 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5939
b53ef01a
AS
5940 * sysdeps/powerpc/powerpc32/dl-machine.c
5941 (__elf_machine_runtime_setup) [PROF]: Don't reference
5942 _dl_prof_resolve.
5943
7a185db2
AJ
59442012-05-18 Andreas Jaeger <aj@suse.de>
5945
5946 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5947 function only available for GCCs before 3.4 since GCC 3.4
5948 introduced a builtin.
5949 (lrint): Likewise.
5950 (llrintf): Likewise.
5951 (llrint): Likewise.
5952 (fmaxf): Likewise.
5953 (fmax): Likewise.
5954 (fminf): Likewise.
5955 (fmin): Likewise.
5956 (rint): Likewise.
5957 (rintf): Likewise.
5958 (nearbyint): Likewise.
5959 (nearbyintf): Likewise.
5960 (ceil): Likewise.
5961 (ceilf): Likewise.
5962 (floor): Likewise.
5963 (floorf): Likewise.
5964
3e5aef87
L
59652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5966
428bd707
L
5967 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5968 on both fields and cast pointer to __syscall_ulong_t.
5969
3e5aef87
L
5970 * bits/types.h (__fsword_t): New type.
5971 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5972 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5974 (__FSWORD_T_TYPE): Likewise.
5975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5976 (__FSWORD_T_TYPE): Likewise.
5977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5978 (__FSWORD_T_TYPE): Likewise.
5979 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5980 (__FSWORD_T_TYPE): Likewise.
5981 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5982 __SWORD_TYPE with __fsword_t.
5983 (statfs64): Likewise.
5984
1ba7c3dc
DM
59852012-05-17 David S. Miller <davem@davemloft.net>
5986
5987 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5988
59910343
AJ
59892012-05-17 Andreas Jaeger <aj@suse.de>
5990
5991 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5992 warning.
5993
2e4c1e9e
L
59942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5995
5996 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5997
de7f5ce7
AJ
59982012-05-17 Andreas Jaeger <aj@suse.de>
5999
6000 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6001 when it is used.
6002
286abc3d
CM
60032012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6004
6005 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6006
477cc68e
L
60072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6008
6009 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6010 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6011
1a0994f5
CD
60122012-05-17 Andreas Jaeger <aj@suse.de>
6013 Carlos O'Donell <carlos_odonell@mentor.com>
6014
6015 [BZ #14059]
6016 * sysdeps/x86_64/multiarch/init-arch.h
6017 (bit_YMM_Usable): Rename to...
6018 (bit_AVX_Usable): ... this.
6019 (bit_FMA4_Usable): New macro.
6020 (bit_XMM_state): New macro.
6021 (bit_YMM_state): New macro.
6022 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6023 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6024 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6025 (CPUID_OSXSAVE): New macro.
6026 (CPUID_AVX): New macro.
6027 (CPUID_FMA4): New macro.
6028 (index_YMM_Usable): Rename to...
6029 (index_AVX_Usable): ... this.
6030 (HAS_AVX): Use HAS_ARCH_FEATURE.
6031 (HAS_FMA4): Likewise.
6032 (HAS_YMM_USABLE): Remove.
6033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6034 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6035 are present.
6036 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6037 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6038 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6039 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6040 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6041
0af797de
CM
60422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6043
6044 * math/libm-test.c: Support platforms without multiple rounding modes.
6045 * math/bug-nextafter.c: Support platforms without FP exceptions.
6046 * math/bug-nexttoward.c: Likewise.
6047 * math/test-fenv.c: Likewise.
6048 * math/test-misc.c: Likewise.
6049 * stdlib/bug-getcontext.c: Likewise.
6050
e39745ff
AJ
60512012-05-17 Andreas Jaeger <aj@suse.de>
6052
6053 * manual/examples/search.c (critter_cmp): Change signature to
6054 avoid warnings.
6055 * manual/string.texi (Collation Functions): Likewise.
6056
48970aba
L
60572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6058
6059 * bits/types.h: Fold copyright years.
6060 * bits/typesizes.h: Likewise.
6061 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6064 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6065 * time/time.h: Likewise.
6066
bedee953
PP
60672012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6068
6069 [BZ #208]
6070 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6071 in instead of returning them. Return void.
6072 (__libc_mallinfo): Accumulate over all arenas.
6073 (__malloc_stats): Adjust for change in int_mallinfo interface.
6074
61653dfb
RM
60752012-05-16 Roland McGrath <roland@hack.frob.com>
6076
30b99d79
RM
6077 [BZ #10375]
6078 * configure.in (NM): Add AC_CHECK_TOOL for it.
6079 (libc_extra_cflags): New substituted variable.
6080 Check for -fstack-protector being used implicitly.
6081 * configure: Regenerated.
6082 * config.make.in (config-extra-cflags): New variable,
6083 gets @libc_extra_cflags@.
6084 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6085
61653dfb
RM
6086 [BZ #10375]
6087 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6088 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6089 * configure: Regenerated.
6090 * config.make.in (CPPUNDEFS): New substituted variable.
6091 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6092 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6093 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6094
661768bb
L
60952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6096
6097 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6098 (mq_attr): Use __syscall_slong_t.
6099
d4261567
L
61002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6101
6102 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6103 Check __x86_64__ instead of __WORDSIZE.
6104 (_STAT_VER_LINUX): Likewise.
6105 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6106 __syscall_ulong_t and __syscall_slong_t.
6107 (stat64): Likewise.
6108
cf3ff365
L
61092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6110
6111 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6112
76cf3e4d
L
61132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6114
6115 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6116
a637753a
L
61172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6118
6119 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6120 __syscall_ulong_t.
6121
d5e05119
L
6122 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6123 include <bits/wordsize.h>. Check __x86_64__ instead of
6124 __WORDSIZE.
6125 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6126 defined.
6127 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6128
f62ee380
L
6129 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6130 include <bits/wordsize.h>. Check __x86_64__ instead of
6131 __WORDSIZE.
6132 (user_regs_struct): Use "__extension__ unsigned long long"
6133 instead of "unsigned long" if __x86_64__ is defined.
6134 (user): Likewise. Pad after pointer field if __ILP32__ is
6135 defined.
6136
4e124ced
JM
61372012-05-16 Joseph Myers <joseph@codesourcery.com>
6138
6a3951a0
JM
6139 * configure.in (makeinfo): Require version 4.5 or later. Allow
6140 versions 5 to 9.
6141 * configure: Regenerated.
6142 * manual/install.texi (texinfo): Increase version requirement to
6143 4.5 or later.
6144 * INSTALL: Regenerated.
6145
4e124ced
JM
6146 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6147
953ca31a
L
61482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6149
6150 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6151
617aca05
L
6152 * sysdeps/x86_64/x32/ffs.c: New file.
6153
5762f7ae
L
6154 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6155 __syscall_ulong_t.
6156 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6157 defined. Use __syscall_ulong_t.
6158 (shminfo): Use __syscall_ulong_t.
6159 (shm_info): Likewise.
6160
a26b6856
L
6161 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6162 __syscall_ulong_t.
6163
cb2b9ef7
L
6164 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6165 <bits/wordsize.h>.
6166 (msgqnum_t): Use __syscall_ulong_t.
6167 (msglen_t): Likewise.
6168 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6169 __syscall_ulong_t.
6170
34683bb0
L
6171 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6172 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6173
84a68786
L
6174 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6175
48baa5f1
L
6176 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6177 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6178
180be88b
L
6179 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6180 __syscall_slong_t.
6181
5e90c8ad
L
6182 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6183 include <bits/wordsize.h>. Check __x86_64__ instead of
6184 __WORDSIZE.
6185
23dfb58b
L
6186 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6187 "unsigned long long int" if __x86_64__ is defined.
6188 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6189
ce5d54b0
L
6190 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6191 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6192 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6193
13dc9eac
L
6194 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6195 <stdint.h>.
6196 (GET_PC): Cast to uintptr_t first.
6197 (GET_FRAME): Likewise.
6198 (GET_STACK): Likewise.
6199
a7895d15
L
6200 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6202 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6203 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6204 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6205 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6206 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6207 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6208 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6209 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6210 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6211 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6212 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6213 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6214 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6215 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6216 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6217 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6218 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6219 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6220 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6221 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6222 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6223 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6224 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6225 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6226 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6227 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6229
656416c9
AS
62302012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6231
5bd66283
AS
6232 * Makerules (+depfiles): Also collect depfiles from .oS in
6233 $(extra-objs).
6234 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6235 .oS, $(libnldbl-routines)).
6236
656416c9
AS
6237 * Makerules (native-compile-mkdep-flags): Define.
6238 * sunrpc/Makefile (extra-objs): Add $(addprefix
6239 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6240 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6241 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6242 calling $(make-target-directory).
6243
a46f2169
L
62442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6245
6246 * bits/types.h (__snseconds_t): Removed.
6247 * time/time.h (struct timespec): Replace __snseconds_t with
6248 __syscall_slong_t.
6249 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6250 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6251 Likewise.
6252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6253 (__SNSECONDS_T_TYPE): Likewise.
6254 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6255 (__SNSECONDS_T_TYPE): Likewise.
6256 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6257 (__SNSECONDS_T_TYPE): Likewise.
6258
6af6528b
L
62592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6260
6261 * sysdeps/mach/hurd/bits/typesizes.h
6262 (__SYSCALL_SLONG_TYPE): New macro.
6263 (__SYSCALL_ULONG_TYPE): Likewise.
6264
de986b56
L
62652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6266
6267 * bits/types.h (__syscall_slong_t): New type.
6268 (__syscall_ulong_t): Likewise.
6269
6270 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6271 (__SYSCALL_ULONG_TYPE): Likewise.
6272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6273 (__SYSCALL_SLONG_TYPE): Likewise.
6274 (__SYSCALL_ULONG_TYPE): Likewise.
6275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6276 (__SYSCALL_SLONG_TYPE): Likewise.
6277 (__SYSCALL_ULONG_TYPE): Likewise.
6278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6279 (__SYSCALL_SLONG_TYPE): Likewise.
6280 (__SYSCALL_ULONG_TYPE): Likewise.
6281
85736dc7
L
62822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6283
6284 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6285 Add sigaltstack-offsets.sym.
6286 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6287 <sigaltstack-offsets.h>.
6288 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6289 longjmp_msg pointer.
6290 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6291 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6292 signal stack.
6293 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6294
cc03b296
JM
62952012-05-15 Joseph Myers <joseph@codesourcery.com>
6296
a9538892
JM
6297 * elf/stackguard-macros.h: Remove file.
6298 * sysdeps/generic/stackguard-macros.h: New file.
6299 * sysdeps/i386/stackguard-macros.h: Likewise.
6300 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6301 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6302 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6303 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6304 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6305 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6306 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6307 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6308 <elf/stackguard-macros.h>.
6309
cc03b296
JM
6310 [BZ #14109]
6311 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6312 __aligned__ in attribute.
6313 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6314 (gregset_t): Likewise.
6315
93171016
L
63162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6317
6318 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6319 * sysdeps/x86_64/64/Implies-after: Here. New file.
6320 * sysdeps/x86_64/x32/Implies-after: New file.
6321
d86813a0
L
63222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6323
6324 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6325 and access return value for _dl_profile_fixup. Use R10_LP to
6326 load frame size.
6327
2953ec75
L
63282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6329
6330 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6331
3b550e9e
L
63322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6333
6334 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6335 * sysdeps/x86_64/x32/sysdep.h: New file.
6336
eda41706
L
63372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6338
6339 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6340 * sysdeps/x86_64/setjmp.S: Likewise.
6341
9ea01d93
AZ
63422012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6343
6344 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6345 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6346 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6347 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6348 remove unused global constant.
6349
02a91938
CM
63502012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6351
6352 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6353 include of <not-cancel.h>.
6354
6540185f
RM
63552012-05-15 Roland McGrath <roland@hack.frob.com>
6356
6357 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6358
509072a0
AJ
63592012-05-15 Jeff Law <law@redhat.com>
6360 Andreas Jaeger <aj@suse.de>
6361
6362 [BZ #13594]
6363 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6364 out from...
6365 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6366 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6367 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6368 code changing __hst_map_handle.map.
6369
ba75122d
RM
63702012-05-15 Roland McGrath <roland@hack.frob.com>
6371
6372 * configure.in (sysnames): Look for Implies-before and Implies-after
6373 files.
6374 * configure: Regenerated.
6375
890d8bd8
L
63762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6377
6378 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6379 8-byte data alignment with LP_SIZE alignment.
6380
f6ee6623
L
63812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6382
6383 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6384 into R10_LP.
6385
ea2626f6
L
63862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6387
6388 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6389
085f715e
L
63902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6391
6392 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6393 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6394 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6395 Likewise.
6396 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6397
be8498fc
L
63982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6399
6400 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6401 (stackinfo_sub_sp): Likewise.
6402
70bc83b9
L
64032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6404
6405 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6406 RAX_LP.
6407
9bc0b730
L
64082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6409
6410 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6411 into R*_LP.
6412
6d2850e7
L
64132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6414
6415 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6416 sizes into R*_LP.
6417
3cb84561
L
64182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6419
6420 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6421
54e2ed81
L
64222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6423
6424 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6425 into R11_LP and load __x86_64_shared_cache_size_half into
6426 R8_LP.
6427
8a17f349
L
64282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6429
6430 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6431 R8_LP.
6432
777b1eea
AZ
64332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6434
6435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6436 logb for POWER7.
6437 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6438 logbf for POWER7.
6439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6440 logbl for POWER7.
6441 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6442 powerpc32/power7/fpu/s_logb.c via #include.
6443 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6444 powerpc32/power7/fpu/s_logbf.c via #include.
6445 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6446 powerpc32/power7/fpu/s_logbl.c via #include.
6447
d20d4ac2
JM
64482012-05-15 Joseph Myers <joseph@codesourcery.com>
6449
6450 * README.libm: Remove file.
6451
6cdef1ab
L
64522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6453
6454 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6455 count for x32. Use R*_LP and omit operand-size suffix.
6456
0b254d8f
L
64572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6458
6459 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6460 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6461 * sysdeps/x86_64/x32/shlib-versions: New file.
6462
ceb809dc
RM
64632012-05-14 Roland McGrath <roland@hack.frob.com>
6464
6465 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6466 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6467 Use _dl_fatal_printf instead.
6468
37f1abd4
JM
64692012-05-14 Joseph Myers <joseph@codesourcery.com>
6470
6471 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6472 set if not set by the user. Do not allow for being unset.
6473 * sysdeps/unix/sysv/linux/configure: Regenerated.
6474
11de3a33
L
64752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6476
6477 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6478 the `q' suffix from lea and replace .quad with ASM_ADDR.
6479
e02f153a
L
64802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6481
6482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6483 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6484 instead of $17.
6485 (PTR_DEMANGLE): Likewise.
6486
520ae0fd
L
64872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6488
6489 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6490 (LP_OP): Likewise.
6491 (ASM_ADDR): Likewise.
6492 (RAX_LP): Likewise.
6493 (RBP_LP): Likewise.
6494 (RBX_LP): Likewise.
6495 (RCX_LP): Likewise.
6496 (RDI_LP): Likewise.
6497 (RSI_LP): Likewise.
6498 (RSP_LP): Likewise.
6499 (R8_LP): Likewise.
6500 (R9_LP): Likewise.
6501 (R10_LP): Likewise.
6502 (R10_LP): Likewise.
6503 (R11_LP): Likewise.
6504 (R12_LP): Likewise.
6505 (R13_LP): Likewise.
6506 (R14_LP): Likewise.
6507 (R15_LP): Likewise.
6508
b985be81
L
65092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6510
6511 * sysdeps/x86_64/x32/dl-machine.h: New file.
6512
6a4888ff
AJ
65132012-05-14 Andreas Jaeger <aj@suse.de>
6514
6515 * manual/Makefile (subdir): Remove export of subdir.
6516 (all): Remove target.
6517 (.PHONY): Remove all from list.
6518 (mkinstalldirs): Remove.
6519 (.PHONY): Remove installdirs from list.
6520 ($(inst_infodir)/libc.info): Use make-target-directory.
6521 (installdirs): Remove.
6522 (subdir_%): Remove.
6523 (glibc-targets): Remove.
6524 (lib): Remove.
6525 (stubs): Remove.
6526 ($(objpfx)stubs ../po/manual.pot): Remove.
6527 ($(objpfx)stamp%): Remove.
6528 (make-target-directory): Remove.
6529 (subdir_install): Remove.
6530 (routines): Remove.
6531 (aux): Remove.
6532 (sources): Remove.
6533 (objects): Remove.
6534 (headers): Remove.
6535
6536 [BZ #13750]
6537 * manual/.gitignore: Remove, it's not needed anymore.
6538 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6539 all files in it.
6540 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6541 directory.
6542 (texis): Renamed to $(objpfx)texis.
6543 (texis-path): New, contains path to generated files.
6544 (chapters.%): Use texis-path for complete path, add extra argument
6545 libc-texinfo.sh.
6546 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6547 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6548 (summary,texi, stamp-summary): Use complete path of
6549 files. Generate files in build dir.
6550 (dir-add.texi): Build in build dir.
6551 (libm-err.texi,stamp-libm-err): Likewise.
6552 (version.texi, stamp-version): Likewise.
6553 (.%c.texi): Likewise.
6554 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6555 (mostlyclean): Remove target.
6556 (realclean): Remove target.
6557 (generated): Add new variable with contents from mostlyclean and
6558 realclean, remove entries duplicated in common-mostlyclean, add
6559 stamp-libm-err and stamp-version.
6560 (generated-dirs): Add libc directory.
6561 ($(inst_infodir)/libc.info): Install files from build dir.
6562
6563 * manual/install.texi (Configuring and compiling): Adjust since
6564 the info files are not part of the tar ball anymore.
6565
7ac77294
AJ
65662012-05-14 Andreas Jaeger <aj@suse.de>
6567
6568 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6569 variable.
6570
ffb7875d
JM
65712012-05-14 Joseph Myers <joseph@codesourcery.com>
6572
6573 [BZ #13717]
6574 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6575 to 2.2.0 where earlier.
6576 * sysdeps/unix/sysv/linux/configure: Regenerated.
6577 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6578 Remove conditional code.
6579 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6580 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6581 Remove conditional code.
6582 [!__NR_lchown]: Likewise.
6583 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6584 [__NR_lchown]: Likewise.
6585 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6586 comment referencing __ASSUME_LCHOWN_SYSCALL.
6587 * sysdeps/unix/sysv/linux/i386/sigaction.c
6588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6590 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6591 Remove conditional code.
6592 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6593 (__protocol_available): Remove #if 0 code.
6594 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6595 conditional code.
6596 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6597 * sysdeps/unix/sysv/linux/kernel-features.h
6598 (__ASSUME_GETCWD_SYSCALL): Don't define.
6599 (__ASSUME_REALTIME_SIGNALS): Likewise.
6600 (__ASSUME_PREAD_SYSCALL): Likewise.
6601 (__ASSUME_PWRITE_SYSCALL): Likewise.
6602 (__ASSUME_POLL_SYSCALL): Likewise.
6603 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6604 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6605 non-SPARC.
6606 (__ASSUME_SIOCGIFNAME): Don't define.
6607 (__ASSUME_MSG_NOSIGNAL): Likewise.
6608 (__ASSUME_SENDFILE): Define unconditionally.
6609 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6610 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6611 conditional code.
6612 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6613 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6614 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6615 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6616 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6617 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6618 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6620 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6623 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6624 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6626 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6627 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6629 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6630 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6632 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6633 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6635 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6638 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6639 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6641 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6643 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6644 Remove conditional code.
6645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6646 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6647 Remove conditional code.
6648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6649 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6650 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6651 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6652 Remove conditional code.
6653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6654 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6655 Remove conditional code.
6656 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6657 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6658 Remove conditional code.
6659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6660 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6661 Remove conditional code.
6662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6663 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6664 Remove conditional code.
6665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6666 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6667 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6669 * sysdeps/unix/sysv/linux/sigaction.c
6670 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6671 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6672 * sysdeps/unix/sysv/linux/sigpending.c
6673 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6674 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6675 * sysdeps/unix/sysv/linux/sigprocmask.c
6676 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6677 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6678 * sysdeps/unix/sysv/linux/sigsuspend.c
6679 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6680 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6681 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6682 (__libc_missing_rt_sigs): Remove.
6683 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6684 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6685 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6686 Remove conditional code.
6687 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6688 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6689 return 1.
6690 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6691 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6692 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6693 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6694
1bfb7291
AJ
66952012-05-14 Andreas Jaeger <aj@suse.de>
6696
caae5a81
AJ
6697 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6698 it's not used in glibc.
6699 (__coshm1): Likewise.
6700 (__acosh1p): Likewise.
6701 (__sgn): Likewise.
6702
1bfb7291
AJ
6703 * manual/string.texi (Copying and Concatenation): Add missing
6704 variable in concat example.
6705 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6706
c044d724
L
67072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6708
144c5467 6709 [BZ #14103]
c044d724
L
6710 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6711 __builtin_clzl with __builtin_clzll.
6712
2523c62b
L
67132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6714
6715 [BZ #14104]
6716 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6717 libc_freeres_ptr.
6718
d7bb4c42
LD
67192012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6720
6721 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6722 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6723 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6724 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6725
9dc4e1fb
MF
67262012-05-14 Mike Frysinger <vapier@gentoo.org>
6727
6728 * NEWS: Update ia64 info.
6729
c7df0112
AS
67302012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6731
6732 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6733 used as bcopy.
6734
dc70356c
TS
67352012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6736
6737 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6738 * sysdeps/unix/syscalls.list (dup3): Likewise.
6739 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6740 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6741
9fb1a21f
L
67422012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6743
6744 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6745 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6746
4822a2a5
L
67472012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6748
6749 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6750 thread pointer.
6751 (TLS_IE): Use mov/add instead of movq/addq to load thread
6752 pointer.
6753 (TLS_GD_PREFIX): New.
6754 (TLS_GD): Use it.
6755
842b81d6
DM
67562012-05-11 David S. Miller <davem@davemloft.net>
6757
6758 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6759 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6760 (_FPU_SETCW): Likewise.
6761
1cf463cd
L
67622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6763
6764 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6765 is 32-byte aligned.
6766
60cc4a18
AS
67672012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6768
6769 [BZ #11837]
6770 * iconvdata/gb18030.c: Update tables.
6771 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6772 characters specially.
6773 (BODY for TO_LOOP): Add encoding of missing ranges.
6774
febb44a4
TS
67752012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6776
6777 [BZ #13673]
6778 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6779 * sysdeps/mach/hurd/dup3.c: Likewise.
6780 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6781 * sysdeps/powerpc/memmove.c:: Likewise.
6782
0a10fb9e
L
67832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6784
6785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6786 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6787
df8a552f
L
67882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6789
6790 * elf/elf.h (R_X86_64_RELATIVE64): New.
6791 (R_X86_64_NUM): Updated.
6792 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6793 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6794 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6795 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6796 tst-quad1pie tst-quad2pie
6797 (modules-names): Add tst-quadmod1 tst-quadmod2.
6798 ($(objpfx)tst-quad1): New dependency.
6799 ($(objpfx)tst-quad2): Likewise.
6800 ($(objpfx)tst-quad1pie): Likewise.
6801 ($(objpfx)tst-quad2pie): Likewise.
6802 * sysdeps/x86_64/tst-quad1.c: New file.
6803 * sysdeps/x86_64/tst-quad1pie.c: New file.
6804 * sysdeps/x86_64/tst-quad2.c: Likewise.
6805 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6806 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6807 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6808 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6809 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6810
f34d6f84
ST
68112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6812
f42d41d1
ST
6813 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6814 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6815 * streams/stropts.h (t_scalar_t): Define type.
6816
3c3571fc
ST
6817 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6818 (_PATH_PRESERVE): Set to "/var/lib".
6819 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6820
61f06bd3
ST
6821 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6822 instead of int.
6823
918d4d71
ST
6824 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6825 if __dir_mkfile succeeded.
6826
f34d6f84
ST
6827 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6828 checking for _hurd_dtablesize. Unlock it right after having
6829 finished _hurd_dtable allocation.
6830
10589b4a
TS
68312012-05-10 Thomas Schwinge <thomas@schwinge.name>
6832
674cdbc7
TS
6833 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6834 * sysdeps/mach/hurd/configure: Regenerated.
6835 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6836 special-casing to...
6837 * sysdeps/gnu/configure.in: ... this new file.
6838 * sysdeps/unix/sysv/linux/configure: Regenerated.
6839 * sysdeps/gnu/configure: New generated file.
6840
8e41b99f
TS
6841 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6842 for Linux: use nsec instead of usec, as well as:
6843 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6844 members of type struct timespec.
6845 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6846 New macros.
6847 (struct stat64): Likewise.
6848 (_STATBUF_ST_NSEC): New macro.
6849 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6850
10589b4a
TS
6851 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6852 __strtoul_internal rather than strtoul.
6853
63643c85
PT
68542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6855
6856 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6857 and reject them.
6858
3faebe6a
ST
68592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6860
6861 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6862 which preserves existing values.
6863 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6864
c6474b07
PT
68652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6866
6867 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6868 TIMEOUT values. Return EINVAL for NFDS values either negative or
6869 greater than FD_SETSIZE.
6870
1043890b
ST
68712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6872
6873 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6874 allocated, call __vm_protect to finish enabling the existing space, and
6875 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6876 allocate the remainder.
6877
37ed8b9b
PT
68782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6879
6880 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6881 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6882
db653660
ST
68832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6884
37ed8b9b
PT
6885 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6886 sysdeps/mach/hurd/readlink.c.
b29d4053 6887
db653660
ST
6888 * posix/tst-sysconf.c (posix_options): Only use
6889 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6890 _POSIX_SYNCHRONIZED_IO when they are defined
6891 * sysdeps/mach/hurd/bits/posix_opt.h:
6892 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6893 (_XOPEN_REALTIME): Undefine macro.
6894 (_XOPEN_REALTIME_THREADS): Undefine macro.
6895 (_XOPEN_SHM): Undefine macro.
6896 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6897 macro to -1.
6898 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6899 macro to -1.
6900 (_POSIX_ASYNC_IO): Undefine macro.
6901 (_POSIX_PRIORITIZED_IO): Undefine macro.
6902 (_POSIX_SPIN_LOCKS): Define macro to -1.
6903
ee16e894
ST
6904 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6905 SA_NODEFER, SA_RESETHAND.
6906 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6907 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6908 F_DUPFD_CLOEXEC.
6909
6103ae3b
TS
69102012-05-10 Thomas Schwinge <thomas@schwinge.name>
6911
6912 * elf/Makefile (pldd-modules): Define unconditionally.
6913
80b4e5f3
TS
69142012-05-10 Thomas Schwinge <thomas@schwinge.name>
6915
6916 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6917
edadcbd6
ST
69182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6919
6920 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6921 Return ENOENT when name is empty.
6922 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6923
80694780
TS
69242012-05-10 Thomas Schwinge <thomas@schwinge.name>
6925
1792c087
TS
6926 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6927
80694780
TS
6928 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6929
6b645f0d
ST
69302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6931
80694780
TS
6932 Fix mlock in all cases except non-readable pages.
6933 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6934 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6935
6b645f0d
ST
6936 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6937 (__mkdir): When path is `/', just fail with EEXIST.
6938 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6939
e468f8a3
TS
69402012-05-10 Thomas Schwinge <thomas@schwinge.name>
6941
6942 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6943 <sys/uio.h> (for writev).
6944 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6945 and <sys/param.h> (for MIN).
6946
a4186cff
PT
69472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6948
6949 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6950 REQUESTED_TIME. Properly set the remaining time and return EINTR
6951 if interrupted.
6952
510bbf14
TS
69532012-05-10 Thomas Schwinge <thomas@schwinge.name>
6954
6955 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6956 Depend on against $(link-rpcuserlibs).
6957
5d5722e8
ST
69582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6959
a4186cff
PT
6960 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6961 (__libc_stack_end): Do not use attribute_relro.
6962 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6963 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6964 to libthread-provided value.
a4186cff
PT
6965 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6966 attribute_relro.
5d5722e8 6967
37233df9
TS
69682012-05-10 Thomas Schwinge <thomas@schwinge.name>
6969
be971a2b
TS
6970 [BZ #3748]
6971 * bits/libc-lock.h (__libc_once_get): New macro.
6972 * sysdeps/mach/bits/libc-lock.h: Likewise.
6973 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6974 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6975 instead of using implementation details.
6976
37233df9
TS
6977 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6978 * libio/freopen.c: Likewise.
6979 * libio/freopen64.c: Likewise.
6980 * misc/syslog.c: Likewise.
6981 * nscd/connections.c: Likewise.
6982 * nscd/netgroupcache.c: Likewise.
6983 * sysdeps/posix/getcwd.c: Likewise.
6984
38de94a5
RM
69852012-05-10 Roland McGrath <roland@hack.frob.com>
6986
6987 * math/w_ilogbf.c: Add #include <limits.h>.
6988
67530489
ST
69892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6990
a4186cff 6991 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6992 path instead of returning without unlocking.
6993
67530489
ST
6994 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6995 immediate-write ioctls.
6996 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6997
5aa3a74a
TS
69982012-05-10 Thomas Schwinge <thomas@schwinge.name>
6999
18bad2ae
TS
7000 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7001 __builtin_frame_address instead of making assumptions about the
7002 location of the return address relative to DATA. Force early load of
7003 the return address.
7004 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7005 __builtin_frame_address.
7006
5aa3a74a
TS
7007 dup3 for GNU Hurd.
7008 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7009 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7010 implement dup3 and do some further code clean-ups.
7011 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7012 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7013
ecd0de9a
ST
70142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7015
cd9fa985
ST
7016 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7017
a4186cff
PT
7018 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7019 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7020 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7021 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7022 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7023 d->port.lock.
802ca5a5 7024
a4186cff
PT
7025 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7026 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7027 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 7028
bcf55240
TS
70292012-05-10 Thomas Schwinge <thomas@schwinge.name>
7030
6960eb42
TS
7031 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7032 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7033 definitions.
7034
eb43375f
TS
7035 accept4 for GNU Hurd.
7036 * include/sys/socket.h (__libc_accept4): New prototype.
7037 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7038 to implement __libc_accept4.
7039 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7040 __libc_accept4.
7041 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7042
bcf55240
TS
7043 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7044 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7045 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7046 signal-defines.sym.
7047
6178c55b
ST
70482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7049
a4186cff 7050 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7051
6f080c2f
TS
70522012-05-10 Thomas Schwinge <thomas@schwinge.name>
7053
7054 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7055 assertion on O_CLOEXEC flag.
7056 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7057 * hurd/intern-fd.c: Likewise.
7058 * hurd/port2fd.c: Likewise.
7059
bcfe3a54
ST
70602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7061
7062 [BZ #3906]
7063 * bits/in.h (IPV6_PKTINFO): Define new macro.
7064 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7065
89c9aa49
AZ
70662012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7067
7068 [BZ #13954]
7069 [BZ #13955]
7070 [BZ #13956]
7071 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7072 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7073 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7074 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7076 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7077 * math/libm-test.inc (logb_test) : Additional logb tests.
7078
021db4be
AJ
70792012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7080 Andreas Jaeger <aj@suse.de>
7081
7082 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7083 * configure: Regenerated.
7084 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7085 * config.make.in (link-obsolete-rpc): New substituted variable.
7086 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7087 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7088 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7089 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7090 so that libc.a contains the symbols.
7091 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7092 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7093 * sunrpc/auth_none.c: Likewise.
7094 * sunrpc/auth_unix.c: Likewise.
7095 * sunrpc/authdes_prot.c: Likewise.
7096 * sunrpc/authuxprot.c: Likewise.
7097 * sunrpc/clnt_gen.c: Likewise.
7098 * sunrpc/clnt_perr.c: Likewise.
7099 * sunrpc/clnt_raw.c: Likewise.
7100 * sunrpc/clnt_simp.c: Likewise.
7101 * sunrpc/clnt_tcp.c: Likewise.
7102 * sunrpc/clnt_udp.c: Likewise.
7103 * sunrpc/clnt_unix.c: Likewise.
7104 * sunrpc/des_crypt.c: Likewise.
7105 * sunrpc/des_soft.c: Likewise.
7106 * sunrpc/get_myaddr.c: Likewise.
7107 * sunrpc/key_call.c: Likewise.
7108 * sunrpc/key_prot.c: Likewise.
7109 * sunrpc/netname.c: Likewise.
7110 * sunrpc/pm_getmaps.c: Likewise.
7111 * sunrpc/pm_getport.c: Likewise.
7112 * sunrpc/pmap_clnt.c: Likewise.
7113 * sunrpc/pmap_prot.c: Likewise.
7114 * sunrpc/pmap_prot2.c: Likewise.
7115 * sunrpc/pmap_rmt.c: Likewise.
7116 * sunrpc/publickey.c: Likewise.
7117 * sunrpc/rpc_cmsg.c: Likewise.
7118 * sunrpc/rpc_common.c: Likewise.
7119 * sunrpc/rpc_dtable.c: Likewise.
7120 * sunrpc/rpc_prot.c: Likewise.
7121 * sunrpc/rpc_thread.c: Likewise.
7122 * sunrpc/rtime.c: Likewise.
7123 * sunrpc/svc.c: Likewise.
7124 * sunrpc/svc_auth.c: Likewise.
7125 * sunrpc/svc_raw.c: Likewise.
7126 * sunrpc/svc_run.c: Likewise.
7127 * sunrpc/svc_tcp.c: Likewise.
7128 * sunrpc/svc_udp.c: Likewise.
7129 * sunrpc/svc_unix.c: Likewise.
7130 * sunrpc/svcauth_des.c: Likewise.
7131 * sunrpc/xcrypt.c: Likewise.
7132 * sunrpc/xdr.c: Likewise.
7133 * sunrpc/xdr_array.c: Likewise.
7134 * sunrpc/xdr_float.c: Likewise.
7135 * sunrpc/xdr_intXX_t.c: Likewise.
7136 * sunrpc/xdr_mem.c: Likewise.
7137 * sunrpc/xdr_rec.c: Likewise.
7138 * sunrpc/xdr_ref.c: Likewise.
7139 * sunrpc/xdr_sizeof.c: Likewise.
7140 * sunrpc/xdr_stdio.c: Likewise.
7141
b5c086a2
RM
71422012-05-10 Roland McGrath <roland@hack.frob.com>
7143
7144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7145 change. Update copyright years.
7146
6d74dd09
JM
71472012-05-10 Joseph Myers <joseph@codesourcery.com>
7148
7149 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7150
28e72501
MK
71512012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7152 Joseph Myers <joseph@codesourcery.com>
7153 Paul Pluzhnikov <ppluzhnikov@google.com>
7154
7155 [BZ #14012]
7156 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7157 requiring rpcgen.
7158 [cross-compiling] (extra-libs): Likewise.
7159 [cross-compiling] (extra-libs-others): Likewise.
7160 [cross-compiling] (librpcsvc-routines): Likewise.
7161 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7162 [cross-compiling] (omit-deps): Likewise.
7163 (sunrpc-CPPFLAGS): New variable.
7164 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7165 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7166 (cross-rpcgen-objs): New variable.
7167 (extra-objs): Append $(cross-rpcgen-objs).
7168 ($(cross-rpcgen-objs)): New rule.
7169 ($(objpfx)cross-rpcgen): Likewise.
7170 (rpcgen-cmd): Define to use $(built-program-file). Expand
7171 comment.
7172 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7173 ($(objpfx)x%.stmp): Likewise.
7174 * sunrpc/proto.h [IS_IN_build] (_): Define.
7175 [IS_IN_build] (_libc_intl_domainname): Likewise.
7176
c8c59454
L
71772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7178
7179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7180 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7181 and R_X86_64_TPOFF64.
7182
6f27cd16
JM
71832012-05-10 Joseph Myers <joseph@codesourcery.com>
7184
7185 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7186 sysdeps/unix/sysv/syscalls.list.
7187 (stime): Likewise.
7188 (utime): Likewise.
7189 * sysdeps/unix/sysv/syscalls.list: Remove file.
7190
02467e1c
PE
71912012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7192
7193 [BZ #3440]
7194 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7195 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7196 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7197 (__LC_IDENTIFICATION): Make these macros useful in #if
7198 expressions, as required by C99.
7199
da392631
AS
72002012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7201
7202 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7203 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7204 after this.
7205
8115f29b
L
72062012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7207
7208 * stdlib/longlong.h: Updated from GCC.
7209
bdd74070
AJ
72102012-05-09 Andreas Jaeger <aj@suse.de>
7211
edfe0dbe
AJ
7212 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7213 default is first entry.
7214 (run_mode): Set type.
7215 (main): Remove informal message about syslog.
7216 (options): Fix typo.
7217
bcfe3a54
ST
7218 [BZ #14053]
7219 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7220 to asm.
bcfe3a54
ST
7221 (lrint): Likewise.
7222 (llrintf): Likewise.
7223 (llrint): Likewise.
7224 (rint): Likewise.
7225 (rintf): Likewise.
7226 (nearbyint): Likewise.
7227 (nearbyintf): Likewise.
bdd74070 7228
91d8d69e
AJ
72292012-05-09 Andreas Jaeger <aj@suse.de>
7230 Pedro Alves <palves@redhat.com>
7231
7232 * nscd/nscd.c (run_mode): Use enum.
7233 (main): Cleanup coding style issue.
7234
bb90b80b
AJ
72352012-05-09 Alexandre Oliva <aoliva@redhat.com>
7236 Andreas Jaeger <aj@suse.de>
7237
bcfe3a54
ST
7238 * nscd/nscd.c (go_background): Replaced with...
7239 (run_mode): ... this.
bb90b80b 7240 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7241 (options): Add -F --foreground.
7242 (main): Implement it.
7243 (parse_opt): Parse it.
bb90b80b 7244
1a4b75a1
AJ
72452012-05-09 Andreas Jaeger <aj@suse.de>
7246
7247 [BZ #14083]
7248 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7249 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7250 -Wconversion warning.
7251 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7252 Likewise.
7253
b1cc2472
JM
72542012-05-09 Joseph Myers <joseph@codesourcery.com>
7255
7256 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7257 == 0.
7258 (LC_ALL): Use macro-int-constant.
7259 (LC_COLLATE): Likewise.
7260 (LC_CTYPE): Likewise.
7261 (LC_MESSAGES): Likewise.
7262 (LC_MONETARY): Likewise.
7263 (LC_NUMERIC): Likewise.
7264 (LC_TIME): Likewise.
7265 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7266 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7268 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7269 Specify type.
7270 [C99-based standards] (float_t): Expect type.
7271 [C99-based standards] (double_t): Expect type.
7272 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7273 type.
7274 [C99-based standards] (HUGE_VALL): Likewise.
7275 [C99-based standards] (INFINITY): Likewise.
7276 [C99-based standards] (NAN): Likewise.
7277 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7278 [C99-based standards] (FP_NAN): Likewise.
7279 [C99-based standards] (FP_NORMAL): Likewise.
7280 [C99-based standards] (FP_SUBNORMAL): Likewise.
7281 [C99-based standards] (FP_ZERO): Likewise.
7282 [C99-based standards] (FP_FAST_FMA): Use
7283 optional-macro-int-constant. Specify type. Require == 1.
7284 [C99-based standards] (FP_FAST_FMAF): Likewise.
7285 [C99-based standards] (FP_FAST_FMAL): Likewise.
7286 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7287 [C99-based standards] (FP_ILOGBNAN): Likewise.
7288 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7289 Specify type.
7290 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7291 [C99-based standards] (math_errhandling): Specify type.
7292 [ISO99 || ISO11] (signgam): Do not allow.
7293 [non-C99-based standards] (copysignf): Do not allow.
7294 [non-C99-based standards] (exp2f): Likewise.
7295 [non-C99-based standards] (log2f): Likewise.
7296 [non-C99-based standards] (modff): Allow.
7297 [non-C99-based standards] (erff): Do not allow.
7298 [non-C99-based standards] (erfcf): Likewise.
7299 [non-C99-based standards] (gammaf): Likewise.
7300 [non-C99-based standards] (hypotf): Likewise.
7301 [non-C99-based standards] (j0f): Likewise.
7302 [non-C99-based standards] (j1f): Likewise.
7303 [non-C99-based standards] (jnf): Likewise.
7304 [non-C99-based standards] (lgammaf): Likewise.
7305 [non-C99-based standards] (tgammaf): Likewise.
7306 [non-C99-based standards] (y0f): Likewise.
7307 [non-C99-based standards] (y1f): Likewise.
7308 [non-C99-based standards] (ynf): Likewise.
7309 [non-C99-based standards] (isnanf): Likewise.
7310 [non-C99-based standards] (acoshf): Likewise.
7311 [non-C99-based standards] (asinhf): Likewise.
7312 [non-C99-based standards] (atanhf): Likewise.
7313 [non-C99-based standards] (cbrtf): Likewise.
7314 [non-C99-based standards] (expm1f): Likewise.
7315 [non-C99-based standards] (ilogbf): Likewise.
7316 [non-C99-based standards] (log1pf): Likewise.
7317 [non-C99-based standards] (logbf): Likewise.
7318 [non-C99-based standards] (nextafterf): Likewise.
7319 [non-C99-based standards] (remainderf): Likewise.
7320 [non-C99-based standards] (rintf): Likewise.
7321 [non-C99-based standards] (scalbf): Likewise.
7322 [non-C99-based standards] (copysignl): Likewise.
7323 [non-C99-based standards] (exp2l): Likewise.
7324 [non-C99-based standards] (log2l): Likewise.
7325 [non-C99-based standards] (modfl): Allow.
7326 [non-C99-based standards] (erfl): Do not allow.
7327 [non-C99-based standards] (erfcl): Likewise.
7328 [non-C99-based standards] (gammal): Likewise.
7329 [non-C99-based standards] (hypotl): Likewise.
7330 [non-C99-based standards] (j0l): Likewise.
7331 [non-C99-based standards] (j1l): Likewise.
7332 [non-C99-based standards] (jnl): Likewise.
7333 [non-C99-based standards] (lgammal): Likewise.
7334 [non-C99-based standards] (tgammal): Likewise.
7335 [non-C99-based standards] (y0l): Likewise.
7336 [non-C99-based standards] (y1l): Likewise.
7337 [non-C99-based standards] (ynl): Likewise.
7338 [non-C99-based standards] (isnanl): Likewise.
7339 [non-C99-based standards] (acoshl): Likewise.
7340 [non-C99-based standards] (asinhl): Likewise.
7341 [non-C99-based standards] (atanhl): Likewise.
7342 [non-C99-based standards] (cbrtl): Likewise.
7343 [non-C99-based standards] (expm1l): Likewise.
7344 [non-C99-based standards] (ilogbl): Likewise.
7345 [non-C99-based standards] (log1pl): Likewise.
7346 [non-C99-based standards] (logbl): Likewise.
7347 [non-C99-based standards] (nextafterl): Likewise.
7348 [non-C99-based standards] (remainderl): Likewise.
7349 [non-C99-based standards] (rintl): Likewise.
7350 [non-C99-based standards] (scalbl): Likewise.
7351 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7352 [non-C99-based standards] (FP_*): Do not allow.
7353 [C99-based standards] (FP_*): Change to
7354 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7355 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7356 allow.
7357 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7358 (SIG_ERR): Likewise.
7359 [X/Open-based standards] (SIG_HOLD): Likewise.
7360 (SIG_IGN): Likewise.
7361 (SIGABRT): Use macro-int-constant. Specify type. Require
7362 positive value.
7363 (SIGFPE): Likewise.
7364 (SIGILL): Likewise.
7365 (SIGINT): Likewise.
7366 (SIGSEGV): Likewise.
7367 (SIGTER): Likewise.
7368 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7369 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7370 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7371 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7372 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7373 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7374 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7375 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7376 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7377 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7378 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7379 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7380 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7381 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7382 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7383 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7384 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7385 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7386 [X/Open-based standards] (SIGTRAP): Likewise.
7387 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7388 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7389 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7390 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7391 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7392 allow.
7393
b9f1922d
IW
73942012-05-08 Ian Wienand <ianw@vmware.com>
7395
7396 [BZ #14080]
7397 * time/tzset.c (__tzset_parse_tz): Update default rules for
7398 daylight time changes in the Energy Policy Act of 2005.
7399
1db86e88
AJ
74002012-05-09 Andreas Jaeger <aj@suse.de>
7401
7402 [BZ #13983]
7403 * elf/ldconfig.c (parse_conf): Change string to make clear that
7404 ldconfig only issued a warning if ld.so.conf does not exist.
7405
dee4a4e3
DM
74062012-05-08 David S. Miller <davem@davemloft.net>
7407
ee0db190
DM
7408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7409 movxtod instead of popping the value on the stack.
7410
dee4a4e3
DM
7411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7412
6a43ec98
CD
74132012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7414
7415 * config.h.in: Add HAVE_ARM_PCS_VFP.
7416
05c2c961
RMG
74172012-05-08 Roland Mc Grath <roland@hack.frob.com>
7418
bcfe3a54
ST
7419 [BZ #13979]
7420 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7421 checking but the checks are disabled for any reason.
05c2c961 7422
4b30f61a
L
74232012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7424
7425 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7426 and ELF64_R_TYPE with ELFW(R_TYPE).
7427
eee2bc67
JM
74282012-05-08 Joseph Myers <joseph@codesourcery.com>
7429
7ea5391a
JM
7430 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7431 (ulimit): Likewise.
7432
eee2bc67
JM
7433 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7434 (settimeofday): Likewise.
7435
abb66a67
MF
74362012-05-08 Mike Frysinger <vapier@gentoo.org>
7437
7438 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7439 a struct th_u2 inside the union, and move tu_block/tu_code into
7440 a new th_u3 union of tu_block/tu_code inside of that. Move
7441 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7442 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7443 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7444 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7445 (th_stuff): Change to th_u1.tu_stuff.
7446 (th_data): Define.
7447 (th_msg): Change to th_u1.th_u2.tu_data.
7448
7f18b530
DM
74492012-05-07 David S. Miller <davem@davemloft.net>
7450
05760585
DM
7451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7452
7f18b530
DM
7453 [BZ #14074]
7454 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7455 (SETUP_PIC_REG): Use it.
7456 (SETUP_PIC_REG_LEAF): Use it.
7457
495fd99f
JM
74582012-05-07 Joseph Myers <joseph@codesourcery.com>
7459
7460 [BZ #13885]
7461 [BZ #13923]
7462 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7463 USE_AS_EXPM1L.
7464 (EXPL_FINITE): Likewise.
7465 (FLDLOG): Likewise.
7466 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7467 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7468 e_expl.S.
7469 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7470 USE_AS_EXPM1L.
7471 (EXPL_FINITE): Likewise.
7472 (FLDLOG): Likewise.
7473 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7474 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7475 e_expl.S.
7476 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7477 test of -max_value argument for long double.
7478 * sysdeps/i386/fpu/libm-test-ulps: Update.
7479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7480
6693d694
DM
74812012-05-06 David S. Miller <davem@davemloft.net>
7482
7483 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7484 quad soft-float symbols whose references which are compiler
7485 generated.
7486 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7487
6c23e11c
JM
74882012-05-06 Joseph Myers <joseph@codesourcery.com>
7489
d8b82cad
JM
7490 [BZ #13884]
7491 [BZ #13914]
7492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7493 USE_AS_EXP10L.
7494 (EXPL_FINITE): Likewise.
7495 (FLDLOG): Likewise.
7496 (c0): Likewise.
7497 (c1): Likewise.
7498 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7499 Adjust comments for base varying.
7500 (__expl_finite): Change alias to EXPL_FINITE.
7501 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7502 e_expl.S.
7503 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7504 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7505 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7506 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7507 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7508 USE_AS_EXP10L.
7509 (EXPL_FINITE): Likewise.
7510 (FLDLOG): Likewise.
7511 (c0): Likewise.
7512 (c1): Likewise.
7513 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7514 Adjust comments for base varying.
7515 (__expl_finite): Change alias to EXPL_FINITE.
7516 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7517 tests for bugs.
7518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7519
6c23e11c
JM
7520 [BZ #14064]
7521 * math/libm-test.inc (check_float_internal): Correct ulp
7522 calculation for subnormal expected results.
7523
29ba805c
AJ
75242012-05-06 Andreas Jaeger <aj@suse.de>
7525
7526 * Makeconfig (+math-flags): New, set to -frounding-math.
7527 (+cflags): Add +math-flags so that all of glibc gets compiled with
7528 it.
7529
7530 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7531
7b17aeda
JM
75322012-05-05 Joseph Myers <joseph@codesourcery.com>
7533
5779f134
JM
7534 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7535 Disable one test.
7536
41498f4d
JM
7537 [BZ #13787]
7538 [BZ #13922]
7539 [BZ #14036]
7540 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7541 (__ieee754_expl): Allow for and saturate large arguments.
7542 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7543 (u_threshold): Likewise.
7544 (__exp): Call __ieee754_exp before checking for overflow and
7545 underflow.
7546 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7547 (u_threshold): Likewise.
7548 (__expf): Call __ieee754_expf before checking for overflow and
7549 underflow.
7550 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7551 (u_threshold): Likewise.
7552 (__expl): Call __ieee754_expl before checking for overflow and
7553 underflow.
7554 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7555 (__ieee754_expl): Allow for and saturate large arguments.
7556 * math/libm-test.inc (exp_test): Add another test. Do not allow
7557 missing overflow exception on overflow.
7558 (expm1_test): Do not allow missing overflow exception on overflow.
7559
6698b8bf
JM
7560 * sysdeps/i386/fpu/e_expl.c: Move to ...
7561 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7562 rather than using inline asm.
7563 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7564 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7565 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7566
7b17aeda
JM
7567 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7568 (nice): Likewise.
7569 (poll): Likewise.
7570 (signal): Likewise.
7571 (time): Likewise.
7572 (times): Likewise.
7573
f7c85819
JM
75742012-05-04 Joseph Myers <joseph@codesourcery.com>
7575
7576 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7577 sysdeps/unix/common/syscalls.list.
7578 (fchmod): Likewise.
7579 (fchown): Likewise.
7580 (ftruncate): Likewise.
7581 (getrusage): Likewise.
7582 (gettimeofday): Likewise.
7583 (setpgid): Likewise.
7584 (setregid): Likewise.
7585 (setreuid): Likewise.
7586 (sigaction): Likewise.
7587 (truncate): Likewise.
7588 (vhangup): Likewise.
7589 * sysdeps/unix/common/syscalls.list: Remove file.
7590 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7591 * sysdeps/unix/sysv/linux/Implies: Likewise.
7592
336270d0
L
75932012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7594
7595 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7597 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7598 Moved to ...
7599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7600 Here.
7601 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7602 to ...
7603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7604 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7605 to ...
7606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7607 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7608 to ...
7609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7610 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7611 to ...
7612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7613 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7614 to ...
7615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7616 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7617 to ...
7618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7619 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7620 to ...
7621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7622 Here.
7623 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7624 to ...
7625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7626 Here.
7627 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7628 to ...
7629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7630 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7631 Moved to ...
7632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7633 Here.
7634 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7635 to ...
7636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7637
d128e450
JM
76382012-05-04 Joseph Myers <joseph@codesourcery.com>
7639
fa8ee516
JM
7640 * sysdeps/unix/common/bits/dirent.h: Remove file.
7641 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7642
d128e450
JM
7643 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7644 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7645 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7646 * sysdeps/unix/bsd/isatty.c: Likewise.
7647 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7648 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7649 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7650
ff8faaf0 76512012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7652
62881be4 7653 [BZ #13563]
31dc8730
AZ
7654 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7655 long double comparison inaccuracies.
7656 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7658
6fef930c
AS
76592012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7660
7661 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7662 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7663
8f203e6c
JM
76642012-05-04 Joseph Myers <joseph@codesourcery.com>
7665
7666 [BZ #14049]
7667 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7668 nonzero digits before rounding a hex value.
7669 * stdlib/tst-strtod.c (tests): Add another test.
7670
5197d9c2
AK
76712012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7672
7673 * sysdeps/s390/fpu/libm-test-ulps: Update.
7674
f0c1dedf
AJ
76752012-05-03 Andreas Jaeger <aj@suse.de>
7676
7677 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7678 does not get optimized out.
7679 (malloc_opt_barrier): New.
7680
a65ef2ae 76812012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7682 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7683
2b942cb7 7684 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7685 intermediate file deletion.
2b942cb7 7686 (generated): Add .symlist files.
a65ef2ae 7687
54b71e02
JM
76882012-05-03 Joseph Myers <joseph@codesourcery.com>
7689
7690 [BZ #13775]
7691 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7692 Redirect under this condition.
7693 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7694 [__USE_GNU] (__dprintf_chk): Not under this condition.
7695 [__USE_GNU] (__vdprintf_chk): Likewise.
7696 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7697 under this condition.
7698 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7699 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7700 [__USE_XOPEN2K8] (vdprintf): Likewise.
7701 [__USE_GNU] (__dprintf_chk): Not under this condition.
7702 [__USE_GNU] (__vdprintf_chk): Likewise.
7703 [__USE_GNU] (dprintf): Likewise.
7704 [__USE_GNU] (vdprintf): Likewise.
7705
d3dfcc41
RM
77062012-05-03 Roland McGrath <roland@hack.frob.com>
7707
7708 * elf/Makefile (common-generated): Set this instead of generated for
7709 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7710 $(all-built-dso)-derived lists.
7711
7ac30cc5
AJ
77122012-05-03 Andreas Jaeger <aj@suse.de>
7713
0c51e550
AJ
7714 * sysdeps/i386/fpu/libm-test-ulps: Update.
7715
7ac30cc5
AJ
7716 * FAQ: Removed.
7717 * FAQ.in: Likewise.
7718 * scripts/gen-FAQ.pl: Likewise.
7719 * manual/install.texi (Installation): Point to online location of
7720 FAQ.
7721 * Makefile (files-for-dist): Remove FAQ.
7722 (FAQ): Remove.
7723
d4c2917f
AM
77242012-05-02 Allan McRae <allan@archlinux.org>
7725
7726 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7727 (LDFLAGS-reldepmod5.so): Likewise.
7728 (LDFLAGS-reldep6mod1.so): Likewise.
7729 (LDFLAGS-reldep6mod4.so): Likewise.
7730 (LDFLAGS-reldep8mod3.so): Likewise.
7731 (LDFLAGS-unload4mod1.so): Likewise.
7732 (LDFLAGS-unload4mod2.so): Likewise.
7733 (LDFLAGS-tst-initorder): Likewise.
7734 (LDFLAGS-tst-initordera2.so): Likewise.
7735 (LDFLAGS-tst-initordera3.so): Likewise.
7736 (LDFLAGS-tst-initordera4.so): Likewise.
7737 (LDFLAGS-tst-initorderb2.so): Likewise.
7738 (LDFLAGS-noload): Likewise.
7739 (LDFLAGS-next): Likewise.
7740 (LDFLAGS-order2mod1.so): Likewise.
7741 (LDFLAGS-order2mod2.so): Likewise.
7742 (LDFLAGS-tst-initorder2): Likewise.
7743 (LDFLAGS-tst-initorder2a.so): Likewise.
7744 (LDFLAGS-tst-initorder2b.so): Likewise.
7745 (LDFLAGS-tst-initorder2c.so): Likewise.
7746 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7747
d77f993f
DM
77482012-05-02 David S. Miller <davem@davemloft.net>
7749
7750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7751
171a70b4
PP
77522012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7753
7754 [BZ #14055]
7755 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7756
0be196ad
AJ
77572012-05-02 Andreas Jaeger <aj@suse.de>
7758
7759 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7760 since we manipulate rounding mode.
7761 (CPPFLAGS-test-idouble.c): Likewise.
7762 (CPPFLAGS-test-ifloat.c): Likewise.
7763 (CFLAGS-test-ldouble.c): Likewise.
7764 (CFLAGS-test-double.c): Likewise.
7765 (CFLAGS-test-float.c): Likewise.
7766 (CFLAGS-test-misc.c): Likewise.
7767 (CFLAGS-test-test-fenv.c): Likewise.
7768
4f9d04aa
AZ
77692012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7770
2b942cb7
RM
7771 [BZ #2550]
7772 [BZ #2570]
7773 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7774 comparisons to determine direction to adjust input.
4f9d04aa 7775
82a79e7d
RM
77762012-05-01 Roland McGrath <roland@hack.frob.com>
7777
f5a01ca9
RM
7778 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7779 output to the target.
7780
90fe4186
RM
7781 * scripts/localplt.awk: New file.
7782 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7783 (check-localplt-CFLAGS): Variable removed.
7784 ($(all-built-dso:=.jmprel)): New static pattern rule.
7785 (generated): Add those targets.
7786 (localplt-built-dso): New variable.
7787 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7788
7789 * elf/check-localplt.c: File removed.
7790
82397ed6
RM
7791 * scripts/check-execstack.awk: New file.
7792 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7793 (check-execstack-CFLAGS): Variable removed.
7794 ($(objpfx)check-execstack.h): Target removed.
7795 ($(objpfx)execstack-default): New target.
7796 (generated): Add that instead of check-execstack.h.
7797 ($(all-built-dso:=.phdr)): New static pattern rule.
7798 (generated): Add those targets.
7799 * elf/check-execstack.c: File removed.
7800
82a79e7d
RM
7801 * scripts/check-textrel.awk: New file.
7802 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7803 (check-textrel-CFLAGS): Variable removed.
7804 (all-built-dso): Use := to define.o
7805 ($(all-built-dso:=.dyn)): New static pattern rule.
7806 (generated): Add those targets.
7807 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7808 * config.make.in (READELF): New substituted variable.
7809 * elf/check-textrel.c: File removed.
7810
62fde54f 78112012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7812
615605c9
JM
7813 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7814 allow.
7815 * conform/data/ctype.h-data [C99-based standards] (isblank):
7816 Expect function.
7817 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7818 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7820 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7821 Specify type. Require positive value.
7822 (EILSEQ): Likewise.
7823 (ERANGE): Likewise.
7824 [ISO || POSIX] (EILSEQ): Do not expect.
7825 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7826 Specify type. Require positive value.
7827 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7828 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7829 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7830 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7831 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7832 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7833 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7834 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7835 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7836 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7837 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7838 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7839 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7840 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7841 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7842 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7843 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7844 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7845 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7846 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7847 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7848 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7849 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7850 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7851 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7852 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7853 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7854 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7855 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7856 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7857 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7858 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7859 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7860 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7861 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7862 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7863 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7864 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7865 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7866 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7867 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7868 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7869 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7870 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7871 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7872 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7873 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7874 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7875 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7876 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7877 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7878 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7879 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7880 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7881 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7882 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7883 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7884 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7885 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7886 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7887 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7888 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7889 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7890 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7891 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7892 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7893 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7894 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7895 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7896 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7897 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7898 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7899 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7900 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7901 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7902 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7903 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7904 Require >= 2.
7905 (FLT_ROUNDS): Expect as macro, not constant.
7906 (FLT_MANT_DIG): Use macro-int-constant.
7907 (DBL_MANT_DIG): Likewise.
7908 (LDBL_MANT_DIG): Likewise.
7909 (FLT_DIG): Likewise.
7910 (DBL_DIG): Likewise.
7911 (LDBL_DIG): Likewise.
7912 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7913 (DBL_MIN_EXP): Likewise.
7914 (LDBL_MIN_EXP): Likewise.
7915 (FLT_MAX_EXP): Use macro-int-constant.
7916 (DBL_MAX_EXP): Likewise.
7917 (LDBL_MAX_EXP): Likewise.
7918 (FLT_MAX_10_EXP): Likewise.
7919 (DBL_MAX_10_EXP): Likewise.
7920 (LDBL_MAX_10_EXP): Likewise.
7921 (FLT_MAX): Use macro-constant.
7922 (DBL_MAX): Likewise.
7923 (LDBL_MAX): Likewise.
7924 (FLT_EPSILON): Use macro-constant. Give upper bound.
7925 (DBL_EPSILON): Likewise.
7926 (LDBL_EPSILON): Likewise.
7927 (FLT_MIN): Likewise.
7928 (DBL_MIN): Likewise.
7929 (LDBL_MIN): Likewise.
7930 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7931 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7932 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7933 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7934 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7935 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7936 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7937 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7938 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7939 [ISO11] (FLT_TRUE_MIN): Likewise.
7940 [ISO11] (LDBL_TRUE_MIN): Likewise.
7941 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7942 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7943 (SCHAR_MIN): Use macro-int-constant. Specify type.
7944 (SCHAR_MAX): Likewise.
7945 (UCHAR_MAX): Likewise.
7946 (CHAR_MIN): Likewise.
7947 (CHAR_MAX): Likewise.
7948 (MB_LEN_MAX): Use macro-int-constant.
7949 (SHRT_MIN): Use macro-int-constant. Specify type.
7950 (SHRT_MAX): Likewise.
7951 (USHRT_MAX): Likewise.
7952 (INT_MAX): Likewise.
7953 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7954 bound negative.
7955 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7956 bound with "U".
7957 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7958 bound with "L".
7959 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7960 bound negative. Suffix upper bound with "L".
7961 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7962 bound with "UL".
7963 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7964 Specify type.
7965 [C99-based standards] (LLONG_MAX): Likewise.
7966 [C99-based standards] (ULLONG_MAX): Likewise.
7967 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7968 == 0.
7969 [ISO11] (max_align_t): Require type.
7970 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7971
c9140a62
JM
7972 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7973 from $CFLAGS, without defining away __attribute__ calls.
7974 (checknamespace): Use $CFLAGS_namespace.
7975
9af0bf29
JM
7976 * conform/conformtest.pl (@keywords): Only include C99 keywords
7977 for standards based on C99 or C11.
7978
343222a2
JM
7979 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7980 Disable tests.
7981 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7982 UNIX98]: Likewise.
7983
661f8cf0
JM
7984 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7985 usability of symbols in #if.
7986
ee74b9cb
JM
7987 * conform/conformtest.pl: If macro or constant types start
7988 "promoted:", expect the symbol to be of the following type
7989 promoted by the integer promotions.
62fde54f 7990
aafc49b3
JM
7991 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7992 in one place. Also handle "macro-constant".
7993
fefdf574
JM
7994 * conform/conformtest.pl: Only accept expected macro values with
7995 "==". Parse all "macro" lines in one place.
7996 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7997
f2d922fe
JM
7998 * conform/conformtest.pl: Handle braced types on "constant" lines
7999 instead of handling "typed-constant".
8000 * conform/data/signal.h-data: Use "constant" instead of
8001 "typed-constant".
8002
d22956c9
JM
8003 * conform/conformtest.pl: Handle "optional-" at start of lines in
8004 one place rather than duplicating several cases. Handle each
8005 format of "macro" line with initial "optional-".
8006
028e2e38
JM
8007 * conform/conformtest.pl: Only accept expected constant or
8008 optional-constant values with "==". Parse all "constant" lines in
8009 one place. Parse all "optional-constant" lines in one place.
8010 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8011 * conform/data/fmtmsg.h-data: Likewise.
8012 * conform/data/netinet/in.h-data: Likewise.
8013 * conform/data/tar.h-data: Likewise.
8014 * conform/data/limits.h-data: Use "==" form on "constant" and
8015 "optional-constant" lines.
8016
1b8f2850
JM
8017 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8018 Use -std=c99 for XOPEN2K.
8019 (@knownproblems): Remove.
8020 (newtoken): Don't check %isknown.
8021
a05a144b
JM
8022 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8023 Do not expect macro.
8024 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8025 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8026 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8027 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8028 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8029 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8030 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8031 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8032 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8033 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8034 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8035 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8036 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8037 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8038 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8039 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8040 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8041 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8042 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8043 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8044 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8045 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8046 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8047 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8048 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8049 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8050 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8051 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8052 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8053 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8054 [XPG3] (acosh): Likewise.
8055 [XPG3] (asinh): Likewise.
8056 [XPG3] (atanh): Likewise.
8057 [XPG3] (cbrt): Likewise.
8058 [XPG3] (expm1): Likewise.
8059 [XPG3] (ilogb): Likewise.
8060 [XPG3] (log1p): Likewise.
8061 [XPG3] (logb): Likewise.
8062 [XPG3] (nextafter): Likewise.
8063 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8064 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8065 [XPG3] (remainder): Likewise.
8066 [XPG3] (rint): Likewise.
8067 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8068 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8069 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8070 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8071 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8072 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8073 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8074 [UNIX98 || XOPEN2K] (scalb): Expect.
8075 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8076 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8077 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8078 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8079 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8080 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8081 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8082 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8083 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8084 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8085 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8086 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8087 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8088 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8089 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8090 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8091 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8092 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8093 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8094 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8095 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8096 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8097 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8098 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8099 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8100 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8101 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8102 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8103 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8104 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8105 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8106 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8107 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8108 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8109 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8110 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8111 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8112 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8113 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8114 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8115 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8116 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8117 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8118 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8119 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8120 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8121 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8122 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8123 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8124 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8125 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8126 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8127 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8128 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8129 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8130 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8131 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8132 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8133 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8134 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8135 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8136 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8137 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8138 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8139 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8140 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8141 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8142 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8143 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8144 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8145 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8146 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8147 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8148 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8149 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8150 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8151 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8152 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8153 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8154 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8155 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8156 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8157 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8158 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8159 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8160 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8161 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8162 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8163 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8164 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8165 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8166 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8167 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8168 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8169 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8170 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8171 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8172 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8173 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8174 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8175 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8176 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8177 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8178 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8179 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8180 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8181 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8182 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8183 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8184 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8185 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8186 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8187 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8188 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8189 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8190 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8191 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8192 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8193 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8194 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8195 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8196 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8197 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8198 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8199 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8200 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8201 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8202 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8203 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8204 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8205 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8206 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8207 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8208 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8209 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8210 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8211 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8212
73c5ebe3
JM
8213 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8214 _XOPEN_SOURCE_EXTENDED for XPG4.
8215
39c33b6c
JM
8216 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8217
62fde54f
JM
8218 * Makeconfig (localtime): Remove variable.
8219 (inst_localtime-file): Likewise.
8220
0741d64c
AS
82212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8222
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8224 Update.
8225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8226 Update.
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8228 Update.
8229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8230 Update.
8231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8232 Update.
8233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8234 Update.
8235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8236 Update.
8237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8238 Update.
8239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8240 Update.
8241
7cb029ee
JM
82422012-05-01 Joseph Myers <joseph@codesourcery.com>
8243
8244 [BZ #2550]
8245 [BZ #2570]
8246 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8247 comparisons to determine direction to adjust input.
8248 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8249 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8250 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8251 Likewise.
8252 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8253 Likewise.
8254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8255 Likewise.
8256 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8257 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8258 Likewise.
8259 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8260 Likewise.
8261 * math/libm-test.inc (nexttoward_test): Add more tests.
8262
412bd966
AS
82632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8264
8265 [BZ #14040]
8266 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8267 in version GLIBC_2.1, not GLIBC_2.0.
8268 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8269 Likewise.
8270
9568c0c2
JM
82712012-04-30 Joseph Myers <joseph@codesourcery.com>
8272
adfbc8ac
JM
8273 [BZ #13942]
8274 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8275 (1 - x) * (1 + x).
8276 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8277 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8278 * math/libm-test.inc (acos_test): Add more tests.
8279 (asin_test): Likewise.
8280 * sysdeps/i386/fpu/libm-test-ulps: Update.
8281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8282
5ba3cc69
JM
8283 [BZ #14034]
8284 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8285 of square root.
8286 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8287 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8288 * math/libm-test.inc (acos_test_tonearest): New function.
8289 (acos_test_towardzero): Likewise.
8290 (acos_test_downward): Likewise.
8291 (acos_test_upward): Likewise.
8292 (asin_test_tonearest): Likewise.
8293 (asin_test_towardzero): Likewise.
8294 (asin_test_downward): Likewise.
8295 (asin_test_upward): Likewise.
8296 (main): Call the new functions.
8297 * sysdeps/i386/fpu/libm-test-ulps: Update.
8298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8299
9568c0c2
JM
8300 [BZ #13884]
8301 [BZ #13924]
8302 * math/e_exp10.c: Include <float.h>.
8303 (__ieee754_exp10): Handle underflow here rather than multiplying
8304 large negative argument by M_LN10.
8305 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8306 of __ieee754_expf.
8307 * math/e_exp10l.c: Include <float.h>.
8308 (__ieee754_exp10l): Handle underflow here rather than multiplying
8309 large negative argument by M_LN10l.
8310 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8311 spurious overflow exception on underflow.
8312
5ac3ea17
MP
83132012-04-29 Marek Polacek <polacek@redhat.com>
8314
8315 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8316 (__fortify_function): New macro.
8317 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8318 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8319 __extern_always_inline.
8320 * libio/bits/stdio2.h: Likewise.
8321 * libio/bits/stdio.h: Likewise.
8322 * string/string.h: Likewise.
8323 * string/bits/string3.h: Likewise.
8324 * include/stdio.h: Likewise.
8325 * stdlib/bits/stdlib.h: Likewise.
8326 * stdlib/stdlib.h: Likewise.
8327 * rt/bits/mqueue2.h: Likewise.
8328 * rt/mqueue.h: Likewise.
8329 * posix/bits/unistd.h: Likewise.
8330 * posix/unistd.h: Likewise.
8331 * io/bits/poll2.h: Likewise.
8332 * io/bits/fcntl2.h: Likewise.
8333 * io/fcntl.h: Likewise.
8334 * io/sys/poll.h: Likewise.
8335 * misc/bits/syslog.h: Likewise.
8336 * misc/bits/syslog-ldbl.h: Likewise.
8337 * misc/sys/syslog.h: Likewise.
8338 * socket/bits/socket2.h: Likewise.
8339 * socket/sys/socket.h: Likewise.
8340 * debug/tst-chk1.c: Likewise.
8341 * wcsmbs/bits/wchar2.h: Likewise.
8342 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8343 * wcsmbs/wchar.h: Likewise.
8344
ecf0ebfb
AJ
83452012-04-29 Andreas Jaeger <aj@suse.de>
8346
8347 * Makerules (tests): Remove enable-check-abi protection.
8348 (check-abi-warn): Remove.
8349 (check-abi-%): Remove check-abi-warn usage.
8350
8351 * configure.in: Remove check-abi configure option.
8352 * configure: Regenerated.
8353 * config.make.in (enable-check-abi): Remove.
8354
6d5c57fa
AS
83552012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8356
24c5d07e 8357 [BZ #14033]
ded5180a
AS
8358 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8359 double functions to double *_finite functions.
8360
7e0d315d
AS
8361 [BZ #13941]
8362 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8363 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8364 LDBL_MIN_EXP.
8365 * stdio-common/Makefile (tests): Add tst-sprintf3.
8366 * stdio-common/tst-sprintf3.c: New file.
8367
6d5c57fa
AS
8368 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8369 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8370
0749ff8b
JM
83712012-04-28 Joseph Myers <joseph@codesourcery.com>
8372
8373 * conform/conformtest.pl: Remove duplicate typed-constant
8374 handling.
8375
8dbd5d7b
DM
83762012-04-28 David S. Miller <davem@davemloft.net>
8377
8378 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8379 (check-abi-%): Remove AWK script prerequisite and explicit
8380 abilist directory.
8381 (check-abi): Rewrite to just diff the symlist with the abilist.
8382 (config-tls, config-abi-config): Delete, no longer used.
8383 (update-abi-%): Remove AWK script and explicit abilist directory.
8384 (update-abi): Rewrite to simply compare and conditionally copy the
8385 symlist and the sysdep abilist file. Remove update-abi-config
8386 checks.
8387 * abilist/ld.abilist: Remove.
8388 * abilist/libBrokenLocale.abilist: Remove.
8389 * abilist/libanl.abilist: Remove.
8390 * abilist/libcrypt.abilist: Remove.
8391 * abilist/libdl.abilist: Remove.
8392 * abilist/librt.abilist: Remove.
8393 * abilist/libthread_db.abilist: Remove.
8394 * abilist/libutil.abilist: Remove.
8395 * scripts/extract-abilist.awk: Remove.
8396 * scripts/merge-abilist.awk: Remove.
8397 * sysdeps/generic/libcidn.abilist: New file.
8398 * sysdeps/generic/libnss_compat.abilist: New file.
8399 * sysdeps/generic/libnss_db.abilist: New file.
8400 * sysdeps/generic/libnss_dns.abilist: New file.
8401 * sysdeps/generic/libnss_files.abilist: New file.
8402 * sysdeps/generic/libnss_hesiod.abilist: New file.
8403 * sysdeps/generic/libnss_nis.abilist: New file.
8404 * sysdeps/generic/libnss_nisplus.abilist: New file.
8405 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8406 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8407 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8408 file.
8409 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8410 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8411 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8412 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8413 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8414 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8415 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8416 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8417 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8418 file.
8419 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8420 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8421 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8422 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8423 file.
8424 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8425 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8426 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8427 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8428 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8429 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8430 file.
8431 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8432 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8433 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8434 file.
8435 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8437 New file.
8438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8439 New file.
8440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8441 New file.
8442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8443 New file.
8444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8445 New file.
8446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8447 New file.
8448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8449 New file.
8450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8451 New file.
8452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8453 New file.
8454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8455 New file.
8456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8457 New file.
8458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8459 New file.
8460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8461 New file.
8462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8463 file.
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8465 New file.
8466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8467 New file.
8468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8469 file.
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8471 New file.
8472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8473 New file.
8474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8475 file.
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8477 New file.
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8479 New file.
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8481 New file.
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8483 New file.
8484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8485 New file.
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8487 New file.
8488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8490 file.
8491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8492 New file.
8493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8494 file.
8495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8496 file.
8497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8498 file.
8499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8500 file.
8501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8502 file.
8503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8504 New file.
8505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8506 file.
8507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8508 file.
8509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8510 New file.
8511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8512 file.
8513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8515 file.
8516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8517 New file.
8518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8519 file.
8520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8521 file.
8522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8523 file.
8524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8525 file.
8526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8527 file.
8528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8529 New file.
8530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8531 file.
8532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8533 file.
8534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8535 New file.
8536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8537 file.
8538 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8539 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8540 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8541 file.
8542 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8543 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8544 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8545 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8546 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8547 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8548 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8549 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8550 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8551 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8554 file.
8555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8556 New file.
8557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8558 file.
8559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8560 file.
8561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8562 file.
8563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8564 file.
8565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8566 file.
8567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8568 New file.
8569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8570 New file.
8571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8572 file.
8573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8574 New file.
8575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8576 file.
8577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8579 file.
8580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8581 New file.
8582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8583 file.
8584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8585 file.
8586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8587 file.
8588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8589 file.
8590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8591 file.
8592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8593 New file.
8594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8595 New file.
8596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8597 file.
8598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8599 New file.
8600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8601 file.
8602
41d73a1b
JM
86032012-04-28 Joseph Myers <joseph@codesourcery.com>
8604
8605 * conform/conformtest.pl: Fix typo in handling typed-constant from
8606 allow-header.
8607
28aeeda4
JM
86082012-04-27 Joseph Myers <joseph@codesourcery.com>
8609
adae8f5e
JM
8610 * README: Cut down references to pre-2.6 Linux kernels and
8611 Linuxthreads. Update lists of configurations in libc and ports
8612 and sort alphabetically. Say "or newer" with Linux kernel version
8613 requirements.
8614
28aeeda4
JM
8615 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8616
a462cb63
RA
86172012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8618
8619 [BZ #887]
8620 * math/libm-test.inc (logb_test_downward): New test to expose
8621 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8622 rounding mode.
8623
6ad3493e
JM
86242012-04-27 Joseph Myers <joseph@codesourcery.com>
8625
8626 [BZ #14027]
8627 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8628 to be done.
8629 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8630 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8631
2ce4f015
JM
86322012-04-26 Joseph Myers <joseph@codesourcery.com>
8633
5aeb141a
JM
8634 * sysdeps/unix/i386/brk.S: Remove file.
8635 * sysdeps/unix/i386/dl-brk.S: Likewise.
8636 * sysdeps/unix/i386/pipe.S: Likewise.
8637 * sysdeps/unix/i386/sigreturn.S: Likewise.
8638 * sysdeps/unix/i386/syscall.S: Likewise.
8639 * sysdeps/unix/i386/vfork.S: Likewise.
8640 * sysdeps/unix/i386/wait.S: Likewise.
8641
7143acae
JM
8642 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8643 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8644
2ce4f015
JM
8645 * configure.in (arm*-none*): Do not allow without
8646 --enable-hacker-mode.
8647 (netbsd*): Remove case setting base_os.
8648 (386bsd*): Likewise.
8649 (freebsd*): Likewise.
8650 (bsdi*): Likewise.
8651 (osf*): Likewise.
8652 (sunos*): Likewise.
8653 (ultrix*): Likewise.
8654 (newsos*): Likewise.
8655 (dynix*): Likewise.
8656 (*bsd*): Likewise.
8657 (sysv*): Likewise.
8658 (isc*): Likewise.
8659 (esix*): Likewise.
8660 (sco*): Likewise.
8661 (minix*): Likewise.
8662 (irix4*): Likewise.
8663 (irix6*): Likewise.
8664 (solaris[2-9]*): Likewise.
8665 (none): Likewise.
8666 * configure: Regenerated.
8667
0ac229c8
AZ
86682012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8669
8670 [BZ #11521]
8671 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8672 overflow or cancellation in calculating denominator.
8673 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8675 down expression to avoid unexpected rounding in newer GCCs.
8676 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8677
33f244f4
DM
86782012-04-26 David S. Miller <davem@davemloft.net>
8679
8680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8681 long-double compat symbols.
8682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8695
cfa1f3e8
DM
86962012-04-25 David S. Miller <davem@davemloft.net>
8697
8698 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8699 HWCAP_* values only after the memory barriers have been defined.
8700 (atomic_full_barrier): Define.
8701 (atomic_read_barrier): Define.
8702 (atomic_write_barrier): Define.
8703
6e236b92
SP
87042012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8705
8706 * shlib-versions: Add libgcc_s version information.
8707 * sysdeps/generic/libgcc_s.h: Remove.
8708 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8709 libgcc_s.h.
8710 * sysdeps/gnu/unwind-resume.c: Likewise.
8711 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8712
aab39a09
DM
87132012-04-25 David S. Miller <davem@davemloft.net>
8714
8715 * sysdeps/unix/sparc/brk.S: Delete.
8716 * sysdeps/unix/sparc/dl-brk.S: Delete.
8717 * sysdeps/unix/sparc/pipe.S: Delete.
8718 * sysdeps/unix/sparc/sysdep.S: Delete.
8719 * sysdeps/unix/sparc/sysdep.h: Delete.
8720 * sysdeps/unix/sparc/vfork.S: Delete.
8721 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8722 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8723 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8724 ret_ERRVAL, r0, r1, MOVE): Define.
8725 (JUMPTARGET): Remove.
8726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8727 sysdeps/unix/sparc/sysdep.h
8728 (ENTRY, END): Remove.
8729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8730
a3cc4f48
JM
87312012-04-25 Joseph Myers <joseph@codesourcery.com>
8732
2ed8cda2
JM
8733 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8734 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8735 -DIS_IN_build.
8736
35d76d59
JM
8737 * timezone/README: Update upstream location and email address for
8738 tzcode and tzdata.
8739 * timezone/zdump.c: Update from tzcode 2012b.
8740 * timezone/zic.c: Likewise.
8741
a3cc4f48
JM
8742 * configure.in (libc_cv_as_needed): Remove test.
8743 * configure: Regenerated.
8744 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8745 conditional definition.
8746 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8747 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8748 * config.make.in (have-as-needed): Remove variable.
8749
ceab42c3
SP
87502012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8751 Paul Pluzhnikov <ppluzhnikov@google.com>
8752
8753 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8754 strings correctly.
8755
3ce2865f
CLT
87562012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8757
8758 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8759 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8760 * sysdeps/sh/strlen.S: Likewise.
8761
f37e0d68
JM
87622012-04-24 Joseph Myers <joseph@codesourcery.com>
8763
ae186e9a
JM
8764 * sysdeps/unix/fork.S: Remove file.
8765 * sysdeps/unix/i386/fork.S: Likewise.
8766 * sysdeps/unix/sparc/fork.S: Likewise.
8767
b96914af
JM
8768 * sysdeps/unix/system.c: Remove file.
8769 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8770
f37e0d68
JM
8771 * sysdeps/unix/getegid.S: Remove file.
8772 * sysdeps/unix/geteuid.S: Likewise.
8773
87ef29ca
RM
87742012-04-24 Roland McGrath <roland@hack.frob.com>
8775
83bcd236
RM
8776 * scripts/check-localplt.awk: New file.
8777 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8778 of diff.
8779 * scripts/data/localplt-generic.data: Add a comment.
8780
87ef29ca
RM
8781 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8782 NODE when __dir_mkfile failed.
8783 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8784 Reported by Ludovic Courtès <ludo@gnu.org>.
8785
e5a6e567
AJ
87862012-04-24 Andreas Jaeger <aj@suse.de>
8787
8788 * Makerules (common-clean): Also remove gen-as-const-headers
8789 files.
8790
c1820385
JM
87912012-04-24 Joseph Myers <joseph@codesourcery.com>
8792
8793 * Makerules (native-compile): Do not change working directory for
8794 build. Use $(OUTPUT_OPTION) in command.
8795 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8796
94e02fc4
AZ
87972012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8798
8799 [BZ #13886]
8800 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8801 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8802 * math/libm-test.inc (floor_test): Add more tests.
8803 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8804
3a533ca3
JM
88052012-04-24 Joseph Myers <joseph@codesourcery.com>
8806
940ab4b3
JM
8807 * sysdeps/unix/getdents.c: Remove file.
8808 * sysdeps/unix/sysv/getdents.c: Likewise.
8809 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8810
90e037bd
JM
8811 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8812 sysdeps/unix/mman/syscalls.list.
8813 (mmap): Likewise.
8814 (mprotect): Likewise.
8815 (msync): Likewise.
8816 (munmap): Likewise.
8817 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8818 * sysdeps/unix/mman/syscalls.list: Remove.
8819 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8820
3a533ca3
JM
8821 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8822 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8823 * configure: Regenerated.
8824 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8825 $(libgcc_s_suffix).
8826 * config.make.in (libgcc_s_suffix): Remove variable.
8827
1ad743de
JM
88282012-04-23 Joseph Myers <joseph@codesourcery.com>
8829
4ad451e2
JM
8830 * sysdeps/unix/sysv/gethostname.c: Move to ...
8831 * sysdeps/posix/gethostname.c: ... here.
8832
5e37ce39
JM
8833 * sysdeps/unix/execve.S: Remove file.
8834
1ad743de
JM
8835 * sysdeps/unix/_exit.S: Remove file.
8836
4e681b5b
AJ
88372012-04-23 Andreas Jaeger <aj@suse.de>
8838
8839 [BZ #13739]
8840 * manual/Makefile: Remove make dist support, there's no
8841 need for a stand-alone documentation tar ball.
8842 (TEXI2DVI): Define always, it's not in Makeconfig.
8843 (dist): Removed.
8844 (tar-it): Removed.
8845 (edition): Removed.
8846 (glibc-doc-$(edition).tar): Removed
8847 (%.Z): Removed.
8848 (%.gz): Removed.
8849 (%.uu): Removed.
8850 (ETAGS): Remove, it's in Makeconfig.
8851 (move-if-change): Remove, it's in Makeconfig.
8852
c0baea34
PE
88532013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8854
8855 [BZ #13970]
8856 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8857 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8858 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8859 (strtod_l, strtof_l, strtold_l): Remove __wur.
8860 It is not necessarily an error to ignore strtol's return value.
8861 One can reliably look at the stored endptr to decide whether
8862 the number had valid syntax.
8863
7c0616fa
AJ
88642012-04-21 Andreas Jaeger <aj@suse.de>
8865
803cb6b7 8866 [BZ #13739]
7c0616fa
AJ
8867 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8868
b0fe253f
JM
88692012-04-21 Joseph Myers <joseph@codesourcery.com>
8870
8871 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8872 * sysdeps/unix/sysv/Versions: Remove file.
8873
8280f22d
MT
88742012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8875
8876 [BZ #13927]
8877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8878
75ce411f 88792012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8880
8881 [BZ #7064]
8882 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8883 version from __vm86.
8884
097d59fa
JM
88852012-04-20 Joseph Myers <joseph@codesourcery.com>
8886
a90f3bcb
JM
8887 * sysdeps/unix/common/lxstat.c: Remove file.
8888 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8889
edc7ea78
JM
8890 * sysdeps/unix/sysv/Makefile: Remove file.
8891
cb78c221
JM
8892 * sysdeps/unix/sysv/direct.h: Remove file.
8893
efa6a45f
JM
8894 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8895 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8896 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8897 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8898 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8899 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8900 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8901
9c9f2d0c
JM
8902 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8903
4541c83b
JM
8904 * sysdeps/unix/xmknod.c: Remove file.
8905 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8906
f5d153a0
JM
8907 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8908
aa746595
JM
8909 * sysdeps/unix/sysv/i386/time.S: Remove file.
8910
cce5905e
JM
8911 * sysdeps/unix/fxstat.c: Remove file.
8912 * sysdeps/unix/xstat.c: Likewise.
8913 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8914
37fa3841
JM
8915 * sysdeps/unix/sysv/sigaction.c: Remove file.
8916
ff1962a3
JM
8917 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8918 (sysdep_headers): Remove variable.
8919 [termio.h not in sysdep_headers] (generated): Likewise.
8920 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8921 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8922 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8923 * sysdeps/unix/sysv/tcflow.c: Likewise.
8924 * sysdeps/unix/sysv/tcflush.c: Likewise.
8925 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8926 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8927 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8928 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8929 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8930
e7740d31
JM
8931 * sysdeps/unix/siglist.c: Remove file.
8932
ee06f18b
JM
8933 * sysdeps/unix/getppid.S: Remove file.
8934
097d59fa
JM
8935 * sysdeps/unix/mkdir.c: Remove file.
8936 * sysdeps/unix/rmdir.c: Likewise.
8937
ff3d51ec
AS
89382012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8939
8940 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8941 ERR_MAX value.
8942 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8943 errlist-compat value.
8944
50f81fd7
DM
89452012-04-18 David S. Miller <davem@davemloft.net>
8946
8947 * sysdeps/generic/memcopy.h (reg_char): Delete.
8948 * debug/strcat_chk.c: Use char, not reg_char.
8949 * debug/strcpy_chk.c: Likewise.
8950 * debug/strncat_chk.c: Likewise.
8951 * debug/strncpy_chk.c: Likewise.
8952 * string/memchr.c: Likewise.
8953 * string/memrchr.c: Likewise.
8954 * string/rawmemchr.c: Likewise.
8955 * string/strcat.c: Likewise.
8956 * string/strchr.c: Likewise.
8957 * string/strchrnul.c: Likewise.
8958 * string/strcmp.c: Likewise.
8959 * string/strcpy.c: Likewise.
8960 * string/strncat.c: Likewise.
8961 * string/strncmp.c: Likewise.
8962 * string/strncpy.c: Likewise.
8963
8ff41c46
WS
89642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8965
8966 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8967 __builtin_memcopy is called when src and dest ranges are known to not
8968 overlap.
8969
6b652f46
WS
89702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8971
8972 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8973 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8974 fwd_align_merge macro call.
8975 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8976 bwd_align_merge macro call.
8977 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8978
b282631e
WS
89792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8980
8981 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8982 bwd_align_merge macros.
8983 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8984 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8985 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8986
95aa737c
DM
89872012-04-18 David S. Miller <davem@davemloft.net>
8988
8989 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8990
7a99a614
AJ
89912012-04-18 Andreas Jaeger <aj@suse.de>
8992
8993 [BZ# 6794]
8994 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8995 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8996 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8997
8998 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8999 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9000 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9001
9002 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9003 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9004 Adjust for changed ldbl-128 files.
9005
9006 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9007 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9008 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9009
e5270c23
DM
90102012-04-17 David S. Miller <davem@davemloft.net>
9011
9012 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9013
fb5e92c9
AS
90142012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9015
9016 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9017 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9018 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9019 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9020 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9021 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9022
76da7265
AZ
90232012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9024
9025 [BZ #6794]
9026 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9027 * math/libm-test.inc: Add ilogb errno and exception tests.
9028 * math/w_ilogb.c: New file: ilogb wrapper.
9029 * math/w_ilogbf.c: New file: ilogbf wrapper.
9030 * math/w_ilogbl.c: New file: ilogbl wrapper.
9031 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9032 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9033 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9034 exception being thrown with 0.0 as argument.
9035 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9036 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9037 exception being thrown with 0.0 as argument.
9038 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9039 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9040 exception being thrown with 0.0 as argument.
9041 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9042 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9043 exception being thrown with 0.0 as argument.
9044 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9045 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9046 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9047 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9048 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9049 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9050 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9051 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9052 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9053
0396e69d
PB
90542012-04-17 Petr Baudis <pasky@ucw.cz>
9055
9056 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9057 with altivec.
9058
750b5926
MP
90592012-04-16 Marek Polacek <polacek@redhat.com>
9060
9061 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9062
751728a1
MP
90632012-04-16 Marek Polacek <polacek@redhat.com>
9064
9065 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9066 operands of fdivp instruction.
9067
34a27407
L
90682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9069
9070 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9071 * elf/tst-auditmod3b.c: Likewise.
9072 * elf/tst-auditmod4b.c: Likewise.
9073 * elf/tst-auditmod5b.c: Likewise.
9074 * elf/tst-auditmod6b.c: Likewise.
9075 * elf/tst-auditmod6c.c: Likewise.
9076 * elf/tst-auditmod7b.c: Likewise.
9077 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9078 * sysdeps/x86_64/preconfigure.in: Likewise.
9079 * sysdeps/x86_64/preconfigure: Regenerated.
9080
7e73e17d
L
90812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9082
9083 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9084 __ILP32__.
9085
c7a6ab72
AB
90862012-04-13 Antoine Balestrat <merkil33@gmail.com>
9087
9088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9089 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9090
a9e8e0e0
CL
90912012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9092
9093 [BZ #13973]
9094 * locale/iso-639.def: Fix gl language name. Spotted by
9095 Yaron Shahrabani.
9096
ec98af7d
RM
90972012-04-12 Roland McGrath <roland@hack.frob.com>
9098
9099 [BZ #2074]
9100 * libio/libio.h (__io_write_fn): Update comment.
9101
247c3ede
PB
91022012-04-12 Petr Baudis <pasky@ucw.cz>
9103
9104 [BZ #2074]
9105 * stdio.texi (Hook Functions): The user provided writer function
9106 is not allowed to return -1.
9107
55939d6d
DM
91082012-04-11 David S. Miller <davem@davemloft.net>
9109
9110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9111
90020f5a
MF
91122012-04-11 Mike Frysinger <vapier@gentoo.org>
9113
9114 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9115 Add a leading slash to rtkaio.
9116
288f9098
JM
91172012-04-11 Jim Meyering <meyering@redhat.com>
9118
90020f5a
MF
9119 [BZ #11959]
9120 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9121 It is not necessarily an error to ignore fwrite's return
9122 value. One can reliably use ferror to test for errors after
9123 the fact.
288f9098 9124
4be2b570
L
91252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9126
9127 * bits/types.h (__snseconds_t): New type.
9128 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9129
9130 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9132 (__SNSECONDS_T_TYPE): Likewise.
9133 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9134 (__SNSECONDS_T_TYPE): Likewise.
9135 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9136 (__SNSECONDS_T_TYPE): Likewise.
9137
288f9098 91382012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9139
9140 [BZ #2636]
9141 * manual/time.texi (Processor Time): Return type of times is
9142 elapsed real time since an arbitrary point in the past.
9143 (CPU Time): Move CLK_TCK from here...
9144 (Processor Time): ...to here. Correct description.
9145 * manual/conf.texi (Constants for Sysconf): Correct description of
9146 _SC_CLK_TCK.
9147
d7dd4413
DM
91482012-04-10 David S. Miller <davem@davemloft.net>
9149
9150 [BZ #13967]
9151 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9152 where the is a gap between DT_REL(A) and DT_JMPREL.
9153
b46068fc
L
91542012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9155
9156 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9157 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9158 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9159
73d65cc3
SP
91602012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9161
9162 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9163 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9164 (dl_main): Handle --inhibit-cache.
9165 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9166 _dl_inhibit_cache.
9167 * elf/dl-load.c (_dl_map_object): Use it.
9168 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9169
bcc8d661
JM
91702012-04-09 Joseph Myers <joseph@codesourcery.com>
9171
8f9a2fae
JM
9172 [BZ #13872]
9173 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9174 (__ieee754_powl): Saturate large exponents rather than testing for
9175 overflow of y*log2(x).
9176 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9177 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9178 exceptions.
9179
bcc8d661
JM
9180 [BZ #11521]
9181 * math/s_ctan.c: Include <float.h>.
9182 (__ctan): Avoid internal overflow or cancellation in calculating
9183 denominator.
9184 * math/s_ctanf.c: Likewise.
9185 * math/s_ctanl.c: Likewise.
9186 * math/s_ctanh.c: Likewise.
9187 * math/s_ctanhf.c: Likewise.
9188 * math/s_ctanhl.c: Likewise.
9189 * math/libm-test.inc (ctan_test): Add more tests.
9190 (ctanh_test): Likewise.
9191 * sysdeps/i386/fpu/libm-test-ulps: Update.
9192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9193
823fbbb4
AJ
91942012-04-09 Andreas Jaeger <aj@suse.de>
9195
03879793
AJ
9196 [BZ #6894]
9197 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9198 is an optional BSD extension.
9199
823fbbb4
AJ
9200 [BZ #10254]
9201 * manual/stdio.texi (Opening Streams): Document additional fopen
9202 parameters.
9203
8de131cb
RM
92042012-04-09 Roland McGrath <roland@hack.frob.com>
9205
9206 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9207 %eax without telling the compiler.
9208
c0ed9d7d
CD
92092012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9210
9211 [BZ # 13963]
9212 * manual/install.texi: Use sourceware.org.
9213
c483f6b4
JM
92142012-04-09 Joseph Myers <joseph@codesourcery.com>
9215
d7dd9453
JM
9216 [BZ #13873]
9217 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9218 (__ieee754_pow): Generate overflow and underflow using huge*huge
9219 and tiny*tiny rather than just returning constant infinity or zero
9220 for large exponents.
9221 * math/libm-test.inc (pow_test): Require overflow exceptions for
9222 applicable cases of large exponents.
9223
c483f6b4
JM
9224 [BZ #706]
9225 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9226 (__ieee754_pow): Use iterative multiplication algorithm only for
9227 integer exponents with absolute value below 1024. Check for odd
9228 integer exponents when using algorithm for real exponents.
9229 * math/libm-test.inc (pow_test): Add more tests.
9230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9231
d2de7579
JM
92322012-04-08 Joseph Myers <joseph@codesourcery.com>
9233
9234 [BZ #13705]
9235 * math/libm-test.inc (exp_test): Do not allow overflow exception
9236 on underflow test.
9237
f77f1232
AJ
92382012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9239
9240 [BZ #13705]
9241 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9242 instead of __kernel_standard_f.
9243
3884932b
MF
92442012-04-08 Mike Frysinger <vapier@gentoo.org>
9245
9246 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9247 * sysdeps/x86_64/memset_chk.S: Likewise.
9248
54472e9c
AJ
92492012-04-08 Andreas Jaeger <aj@suse.de>
9250
6ab0fbfc
AJ
9251 [BZ #10153]
9252 * manual/startup.texi (Environment Access): Describe return value
9253 for putenv and setenv.
9254
61efba8c
AJ
9255 [BZ #6895]
9256 * manual/filesys.texi (Directory Entries): Add description for
9257 DT_LNK.
9258
95c3f29a
AJ
9259 [BZ #6890]
9260 * manual/filesys.texi (Directory Entries): Clarify that it's file
9261 system not operating system in the description of DT_UNKNOWN.
9262
54472e9c
AJ
9263 [BZ #6578]
9264 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9265
624254b1
SC
92662012-04-08 Stephen Compall <s11@member.fsf.org>
9267
9268 [BZ #6649]
9269 * manual/llio.texi (Opening and Closing Files): Add cross
9270 reference to explain mode argument.
9271
1e4920e0
MF
92722012-04-07 Mike Frysinger <vapier@gentoo.org>
9273
9274 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9275 * sysdeps/x86_64/memset_chk.S: Likewise.
9276
5ed848f3
DM
92772012-04-07 David S. Miller <davem@davemloft.net>
9278
9279 * elf/elf.h (R_SPARC_WDISP10): Define.
9280 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9281 R_SPARC_SIZE32.
9282 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9283 R_SPARC_SIZE64 and R_SPARC_H34.
9284
96154cd8
CD
92852012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9286
9287 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9288 conditions and remove no longer applicable assertion.
9289
9904dc47
L
92902012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9291
9292 * bits/byteswap.h: Include <features.h>.
9293 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9294 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9295
f8887d0a
L
92962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9297
9298 * bits/byteswap.h (__bswap_16): Removed.
9299 Include <bits/byteswap-16.h> to get __bswap_16.
9300 * sysdeps/i386/bits/byteswap.h: Likewise.
9301 * sysdeps/s390/bits/byteswap.h: Likewise.
9302 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9303 * bits/byteswap-16.h: New file.
9304 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9305 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9306 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9307 * string/Makefile (headers): Add bits/byteswap-16.h.
9308
62470f60
PP
93092012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9310
9311 [BZ #13895]
9312 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9313 extra indirection.
9314 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9315 * nss/tst-nss-static.c: New.
9316
4dad7bab
RM
93172012-04-06 Robert Millan <rmh@gnu.org>
9318
9319 [BZ #6486]
9320 * manual/llio.texi (File Position Primitive): lseek
9321 refers to WHENCE when it really means OFFSET.
9322
e9142a17
AJ
93232012-04-06 Andreas Jaeger <aj@suse.de>
9324
2c040eff
AJ
9325 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9326 strncmp declarations.
9327
e9142a17
AJ
9328 * abilist/libc.abilist: Add __poll and __ppoll.
9329
ff9f1c5f
DM
93302012-04-05 David S. Miller <davem@davemloft.net>
9331
dcd2ae90
DM
9332 * scripts/check-local-headers.sh: Accept a host triplet in the
9333 path matched by the exclude regexp.
9334
993eb054
DM
9335 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9336 definition.
9337 * sysdeps/powerpc/powerpc32/dl-machine.h
9338 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9339 * sysdeps/s390/s390-32/dl-machine.h
9340 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9341 * sysdeps/sparc/sparc32/dl-machine.h
9342 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9343 * sysdeps/sparc/sparc64/dl-machine.h
9344 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9345
ff9f1c5f
DM
9346 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9347 lazy binding.
48e2e132 9348 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9349 undefined symbol errors.
9350
48e2e132 9351 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9352 DT_NEEDED entries.
9353
e80d6f94
MM
93542012-04-05 Michael Matz <matz@suse.de>
9355
9356 [BZ #13592]
9357 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9358
349fa79f
AJ
93592012-04-05 Andreas Jaeger <aj@suse.de>
9360
9361 [BZ #13908]
9362 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9363 comment.
9364
f402708f
KK
93652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9366
9367 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9368 which ROUND is no valid rounding mode.
9369
2ecccfc9
KK
93702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9371
9372 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9373 read again.
9374 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9375
8a53f50f
KK
93762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9377
9378 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9379 an exception using FPU order intentionally.
9380
93812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9382
9383 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9384 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9385 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9386 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9387
d653abb7
SJ
93882012-04-05 Simon Josefsson <simon@josefsson.org>
9389
9390 [BZ #12340]
9391 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9392 EINVAL when BUFLEN is too smal.
9393
c3b1bf7d
TS
93942012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9395
9396 [BZ #13553]
9397 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9398 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9399
b1aa60f3
AJ
94002012-04-03 Andreas Jaeger <aj@suse.de>
9401
c3b1bf7d 9402 [BZ #13938]
67f60a26
AJ
9403 * manual/setjmp.texi (System V contexts): Fix sentence.
9404
b1aa60f3
AJ
9405 [BZ #13926]
9406 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9407 New macro for this case.
9408 [!__GNUC__] (__bswap_64): New inline function for this case.
9409 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9410 * bits/byteswap.h: Likewise.
9411 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9412 ull, guard with __GLIBC_HAVE_LONG_LONG.
9413
9414 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9415 __GLIBC_HAVE_LONG_LONG.
9416
9417 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9418 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9419
39c59c35
TMQMF
94202012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9421
9422 [BZ #13691]
9423 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9424 inptr and inend, rather than using last_ch.
9425
135ffda8
DM
94262012-04-02 David S. Miller <davem@davemloft.net>
9427
9428 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9429 * stdio-common/printf-parse.h (read_int): Change return type to
9430 'int', return -1 on INT_MAX overflow.
9431 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9432 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9433 overflows INT_MAX. Check for overflow of in-format-string precision
9434 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9435 SIZE_MAX not INT_MAX for integer overflow test.
9436 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9437 skip the construct in the format string but do not record anything.
9438 * stdio-common/bug22.c: Adjust to test both width/prevision
9439 INT_MAX overflow as well as total length INT_MAX overflow. Check
9440 explicitly for proper errno values.
9441
228c019e
TS
94422012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9443
302cadd3
TS
9444 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9445 CHAR_MAX.
9446 * string/test-strcmp.c [! WIDE]: Likewise.
9447 * time/tst-mktime2.c: Likewise for INT_MAX.
9448 * string/test-string.h: #include <sys/param.h> for MIN.
9449
228c019e
TS
9450 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9451 * sysdeps/i386/init-first.c (init): Likewise.
9452 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9453 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9454 * sysdeps/sh/init-first.c (init): Likewise.
9455
cfa633f5
UD
94562012-04-01 Ulrich Drepper <drepper@gmail.com>
9457
9458 * po/ru.po: Update from translation team.
d1635ef8 9459 * po/vi.po: Likewise.
cfa633f5 9460
6cd0a5ea
SP
94612012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9462
9463 * resolv/nss_dns/dns-host.c: Merge copyright years.
9464
4b43400f
LD
94652012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9466
9467 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9468 Optimize memcpy with prefetch if
9469 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9470 src, dst pointers have unequal 16 byte alignments.
9471
48c41d04
SP
94722012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9473
9474 [BZ #13928]
9475 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9476 from a CNAME entry and return the minimum ttl for the query.
9477 (gaih_getanswer_slice): Likewise.
9478
b8dc394d
JL
94792012-03-30 Jeff Law <law@redhat.com>
9480
9481 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9482 due to long keys.
9483 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9484 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9485
2f5a5ed0
JL
9486 * resolv/nss_dns/dns-host.c: Update copyright year.
9487
1d39e359
UD
94882012-03-30 Ulrich Drepper <drepper@gmail.com>
9489
c030f70c 9490 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9491 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9492
1d39e359
UD
9493 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9494 comments for sendmmsg.
9495
94962012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9497
9498 [BZ #13691]
9499 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9500 with only 1 character between 0x0041 and 0x01b0.
9501 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9502 * wcsmbs/tst-mbsnrtowcs.c: New file.
9503
20fde227
DM
95042012-03-29 David S. Miller <davem@davemloft.net>
9505
9506 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9507 small copies by hand.
9508
984a4237
JL
95092012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9510
9511 [BZ #13761]
9512 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9513 _nss_compat_initgroups_dyn): Fall back to malloc/free
9514 for large group memberships.
9515
18c9d62b
DM
95162012-03-28 David S. Miller <davem@davemloft.net>
9517
88d85d4f
DM
9518 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9519 that branches into memcpy.
9520 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9521 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9523 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9524 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9525 bits.
9526 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9527 implementation too.
9528 * sysdeps/sparc/mempcpy.S: New file.
9529
e5aa83e1
DM
9530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9531 the IFUNC routine in the libc case.
9532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9533
88570753
DM
9534 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9535 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9536 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9537 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9538 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9539 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9540 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9541 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9542
249d7567
DM
9543 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9544 loop to 256 bytes instead of 64 bytes and fix test signedness.
9545
18c9d62b
DM
9546 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9547 * sysdeps/sparc/sparc32/Makefile: rather than here...
9548 * sysdeps/sparc/sparc64/Makefile: and here.
9549
05f3d1f6
UD
95502012-03-28 Ulrich Drepper <drepper@gmail.com>
9551
9552 * malloc/mallocbug.c: Avoid warnings about unused variables.
9553
86ae07a8
JL
95542012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9555
9556 [BZ #13760]
9557 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9558 in the right place. Discard and retry query if response is
9559 larger than input buffer size.
9560
41bf21a1
JM
95612012-03-28 Joseph Myers <joseph@codesourcery.com>
9562
d6270972
JM
9563 [BZ #369]
9564 [BZ #2678]
9565 [BZ #3866]
9566 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9567 x for large integer exponent.
9568 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9569 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9570 sign of result as needed afterwards.
9571 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9572 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9573 result for underflowing pow the same as for overflow.
9574 (__kernel_standard_l): Handle powl overflow and underflow here
9575 rather than calling __kernel_standard.
9576 * math/libm-test.inc (pow_test): Add more tests.
9577
414fca03 9578 [BZ #3868]
41bf21a1
JM
9579 [BZ #13879]
9580 [BZ #13910]
9581 [BZ #13911]
9582 [BZ #13912]
9583 [BZ #13913]
9584 [BZ #13915]
9585 [BZ #13916]
9586 [BZ #13917]
9587 [BZ #13918]
9588 [BZ #13919]
9589 [BZ #13920]
9590 [BZ #13921]
9591 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9592 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9593 (__kernel_standard_l): New function.
9594 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9595 __kernel_standard.
9596 * math/w_acosl.c (__acosl): Likewise.
9597 * math/w_asinl.c (__asinl): Likewise.
9598 * math/w_atan2l.c (__atan2l): Likewise.
9599 * math/w_atanhl.c (__atanhl): Likewise.
9600 * math/w_coshl.c (__coshl): Likewise.
9601 * math/w_exp10l.c (__exp10l): Likewise.
9602 * math/w_exp2l.c (__exp2l): Likewise.
9603 * math/w_fmodl.c (__fmodl): Likewise.
9604 * math/w_hypotl.c (__hypotl): Likewise.
9605 * math/w_j0l.c (__j0l, __y0l): Likewise.
9606 * math/w_j1l.c (__j1l, __y1l): Likewise.
9607 * math/w_jnl.c (__jnl, __ynl): Likewise.
9608 * math/w_lgammal.c (__lgammal): Likewise.
9609 * math/w_log10l.c (__log10l): Likewise.
9610 * math/w_log2l.c (__log2l): Likewise.
9611 * math/w_logl.c (__logl): Likewise.
9612 * math/w_powl.c (__powl): Likewise.
9613 * math/w_remainderl.c (__remainderl): Likewise.
9614 * math/w_scalbl.c (sysv_scalbl): Likewise.
9615 * math/w_sinhl.c (__sinhl): Likewise.
9616 * math/w_sqrtl.c (__sqrtl): Likewise.
9617 * math/w_tgammal.c (__tgammal): Likewise.
9618 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9619 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9620 * math/libm-test.inc (acos_test): Add more tests.
9621 (acosh_test): Likewise.
9622 (asin_test): Likewise.
9623 (atanh_test): Likewise.
9624 (exp_test): Likewise.
9625 (exp10_test): Likewise.
9626 (exp2_test): Likewise.
9627 (expm1_test): Likewise.
9628 (lgamma_test): Likewise.
9629 (log_test): Likewise.
9630 (log10_test): Likewise.
9631 (log1p_test): Likewise.
9632 (log2_test): Likewise.
9633 (pow_test): Do not allow some spurious overflow exceptions.
9634 (sqrt_test): Add more tests.
9635 (tgamma_test): Likewise.
9636 (y0_test): Likewise.
9637 (y1_test): Likewise.
9638 (yn_test): Likewise.
9639
dd62fda6
AB
96402012-03-27 Anton Blanchard <anton@samba.org>
9641
9642 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9643 MAP_HUGETLB.
9644 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9645 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9646 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9647
1e3cdfda
AJ
96482012-03-27 David S. Miller <davem@davemloft.net>
9649
b855ab85
DM
9650 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9651
1e3cdfda
AJ
9652 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9653 have-as-vis3 check.
9654
96552012-03-27 Andreas Jaeger <aj@suse.de>
9656
9657 * sysdeps/x86_64/elf/configure.in: Moved to ...
9658 * sysdeps/x86_64/configure.in: ... here.
9659 * sysdeps/x86_64/elf/start.S: Moved to ...
9660 * sysdeps/x86_64/start.S: ... here.
9661 * sysdeps/x86_64/elf/configure: Delete.
9662
9663 * sysdeps/x86_64/configure.in: Merge contents from
9664 sysdeps/i386/configure.in (without i686 check).
9665
9666 * sysdeps/i386/elf/Versions: Merge into ...
9667 * sysdeps/i386/Versions: ... this.
9668 * sysdeps/i386/elf/Versions: Delete file.
9669 * sysdeps/i386/elf/start.S: Moved to ...
9670 * sysdeps/i386/start.S: ...here.
9671 * sysdeps/i386/elf/configure.in: Merge into...
9672 * sysdeps/i386/configure.in: ...here.
9673 * sysdeps/i386/elf/configure.in: Delete file.
9674 * sysdeps/i386/elf/configure: Delete file.
9675
9676 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9677 * debug/backtracesyms.c: ... here.
9678 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9679 * debug/backtracesymsfd.c: ... here.
9680 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9681 * sysdeps/generic/ifunc-sel.h: ... here.
9682
9683 * sysdeps/unix/i386/start.c: Delete file.
9684 * sysdeps/unix/sparc/start.c: Delete file.
9685 * sysdeps/unix/start.c: Delete file.
9686
9687 * sysdeps/sh/elf/configure.in: Moved to ...
9688 * sysdeps/sh/configure.in: ... here.
9689 * sysdeps/sh/elf/start.S: Moved to ...
9690 * sysdeps/sh/start.S: ... here.
9691 * sysdeps/sh/elf/configure: Delete file.
9692
9693 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9694 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9695 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9696 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9697 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9698 * sysdeps/powerpc/powerpc64/start.S: here.
9699 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9700 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9701 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9702 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9703 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9704
9705 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9706 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9707 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9708 * sysdeps/powerpc/powerpc32/start.S: ... here.
9709 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9710 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9711 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9712
9713 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9714 * sysdeps/powerpc/ifunc-sel.h: ... here.
9715 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9716 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9717
9718 * sysdeps/sparc/elf/configure.in: Moved to ...
9719 * sysdeps/sparc/configure.in: ... here.
9720 * sysdeps/sparc/elf/configure: Delete file.
9721 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9722 * sysdeps/sparc/sparc32/start.S: ... here.
9723 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9724 * sysdeps/sparc/sparc64/start.S: ... here.
9725 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9726 * sysdeps/sparc/sparc32/Makefile: ... this.
9727 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9728 * sysdeps/sparc/sparc64/Makefile: ... this.
9729
9730 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9731 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9732 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9733 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9734 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9735 * sysdeps/s390/s390-32/setjmp.S: ... here.
9736 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9737 * sysdeps/s390/s390-32/configure.in: ... here.
9738 * sysdeps/s390/s390-32/elf/configure: Delete file.
9739 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9740 * sysdeps/s390/s390-32/start.S: ... here.
9741
9742 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9743 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9744 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9745 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9746 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9747 * sysdeps/s390/s390-64/setjmp.S: ... here.
9748 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9749 * sysdeps/s390/s390-64/configure.in: ... here
9750 * sysdeps/s390/s390-64/elf/configure: Delete file.
9751 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9752 * sysdeps/s390/s390-64/start.S: ... here.
9753 * sysdeps/s390/s390-64/elf/configure: Delete.
9754
9755 * configure.in: Remove support for elf directories in sysdeps.
9756
9757 * configure: Regenerated.
9758 * sysdeps/i386/configure: Regenerated.
9759 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9760 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9761 * sysdeps/s390/s390-32/configure: Regenerated.
9762 * sysdeps/s390/s390-64/configure: Regenerated.
9763 * sysdeps/sh/configure: Regenerated.
9764 * sysdeps/sparc/configure: Regenerated.
9765 * sysdeps/x86_64/configure: Regenerated.
9766
a3f61311
AS
97672012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9768
c876e002
AS
9769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9770
a3f61311
AS
9771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9772 denormal result into account.
9773
ac4c54f0
RM
97742012-03-25 Roland McGrath <roland@hack.frob.com>
9775
9776 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9777 Reported by Allan McRae <allan@archlinux.org>.
9778
6a9b9c02
JL
97792012-03-23 Jeff Law <law@redhat.com>
9780
9781 * nss/getnssent.c (__nss_getent): Fix typo.
9782
4c42a0c1
DM
97832012-03-23 David S. Miller <davem@davemloft.net>
9784
9785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9786
1532c7ac
L
97872012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9788
9789 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9790 to pad to uint64_t for each field.
9791 (dl_tls_index): Replace unsigned long with uint64_t.
9792
3ff42526
PP
97932012-03-23 Daniel Jacobowitz <dmj@google.com>
9794 Paul Pluzhnikov <ppluzhnikov@google.com>
9795
9796 [BZ #6528]
9797 * grp/Makefile (otherlibs): Don't set it.
9798 * inet/Makefile (otherlibs): Likewise.
9799 * login/Makefile (otherlibs): Likewise.
9800 * nscd/Makefile (otherlibs): Likewise.
9801 * posix/Makefile (otherlibs): Likewise.
9802 * pwd/Makefile (otherlibs): Likewise.
9803 * rt/Makefile (otherlibs): Likewise.
9804 * sunrpc/Makefile (otherlibs): Likewise.
9805 * nss/Makefile (otherlibs): Likewise.
9806 Add libnss_files to routines and static-only-routines.
9807 ($(objpfx)getent): Remove rule.
9808 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9809 static-only-routines.
9810
7c69cd14
JM
98112012-03-22 Joseph Myers <joseph@codesourcery.com>
9812
9813 [BZ #13892]
9814 * math/s_cexp.c: Include <float.h>.
9815 (__cexp): Handle exp result overflowing not necessarily
9816 overflowing both real and imaginary parts of result.
9817 * math/s_cexpf.c: Likewise.
9818 * math/s_cexpl.c: Likewise.
9819 * math/libm-test.inc (cexp_test): Add more tests.
9820 * sysdeps/i386/fpu/libm-test-ulps: Update.
9821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9822
81b035fe
L
98232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9824
9825 * include/link.h (ELFW): New macro.
9826 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9827 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9828
1da7940c
L
98292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9830
9831 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9832 with uint64_t.
9833
b749dbb9
L
98342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9835
9836 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9837 declaration.
9838 (struct La_x32_retval): Likewise.
9839
2ff87f3f
L
98402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9841
9842 * sysdeps/x86_64/preconfigure.in: New file.
9843 * sysdeps/x86_64/preconfigure: New generated file.
9844
c0df8e69
JM
98452012-03-22 Joseph Myers <joseph@codesourcery.com>
9846
48e44791
JM
9847 [BZ #13824]
9848 * math/e_exp2l.c: Include <float.h>.
9849 (__ieee754_exp2l): Handle overflow and underflow cases
9850 separately. Only pass fractional part of argument to
9851 __ieee754_expl.
9852 * math/libm-test.inc (exp2_test): Add more tests.
9853
c0df8e69
JM
9854 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9855 negating x to take absolute value.
9856 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9857 Likewise.
9858 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9860 Likewise.
9861 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9862 computing low part if x was negated.
9863 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9864
c8e43ba7
L
98652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9866
9867 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9868 la_x32_gnu_pltexit.
9869 (pltexit): Cast int_retval to ptrdiff_t.
9870 * elf/tst-auditmod3b.c: Likewise.
9871 * elf/tst-auditmod4b.c: Likewise.
9872 * elf/tst-auditmod5b.c: Likewise.
9873 * elf/tst-auditmod6b.c: Likewise.
9874 * elf/tst-auditmod6c.c: Likewise.
9875 * elf/tst-auditmod7b.c: Likewise.
9876
9877 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9878 and x32_gnu_pltexit.
9879
9880 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9881 __ELF_NATIVE_CLASS.
9882 (La_x32_regs): New macro.
9883 (La_x32_retval): Likewise.
9884 (la_x32_gnu_pltenter): New function prototype.
9885 (la_x32_gnu_pltexit): Likewise.
9886
7998fa78
AS
98872012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9888
dcb33988
AS
9889 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9890 exponent.
9891
233fc563
AS
9892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9893
7998fa78
AS
9894 * configure.in (libc_cv_cc_nofma): Check for option to disable
9895 generation of FMA instructions.
9896 * configure: Regenerate.
9897 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9898 * sysdeps/ieee754/dbl-64/Makefile: New file.
9899 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9900 Remove brandred-fma4.
9901 (CFLAGS-brandred-fma4.c): Remove.
9902 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9903 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9904 define.
9905 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9906 define.
9907
8e95c99a
L
99082012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9909
9910 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9911 LLONG_MAX != LONG_MAX.
9912 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9913 (_fitoa_word): Likewise.
9914 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9915 LLONG_MAX != LONG_MAX.
9916 * stdio-common/_itowa.h: Include <_itoa.h>.
9917 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9918 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9919 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9920 only if not defined.
9921 (_ITOA_WORD_TYPE): Likewise.
9922 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9923 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9924
6f4db457
DM
99252012-03-21 David S. Miller <davem@davemloft.net>
9926
9927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9928
7785fe5a
L
99292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9930
9931 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9932 of x86_64 when setting libc_cv_slibdir, libdir and
9933 libc_cv_localedir.
9934 * sysdeps/unix/sysv/linux/configure: Regenerated.
9935
4535cd55
JM
99362012-03-21 Joseph Myers <joseph@codesourcery.com>
9937
9938 * manual/lang.texi (Old Varargs): Remove section.
9939 (How Variadic): Update menu.
9940 (va_start): Do not mention varargs.h.
9941
17228132
TS
99422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9943 Joseph Myers <joseph@codesourcery.com>
9944
9945 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9946 link test.
9947 * configure: Regenerated.
9948
8149f976
TS
99492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9950
05f3d1f6
UD
9951 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9952 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9953 conformtest.pl
8149f976 9954
1a4ac776
JM
99552012-03-21 Joseph Myers <joseph@codesourcery.com>
9956
be22ce65
JM
9957 * NOTES: Remove.
9958 * Makefile (files-for-dist): Remove NOTES.
9959 (NOTES): Remove rule.
9960 * README: Don't refer to NOTES.
9961 * manual/creature.texi: Don't include macros.texi.
9962 * manual/intro.texi (creature.texi): Remove comment referring to
9963 NOTES.
9964
40b601fb
JM
9965 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9966 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9967 * configure: Regenerated.
9968 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9969 LIBC_TRY_CC_OPTION.
9970 (libc_cv_as_i686): Likewise.
9971 (libc_cv_cc_avx): Likewise.
9972 (libc_cv_cc_sse2avx): Likewise.
9973 (libc_cv_cc_fma4): Likewise.
9974 (libc_cv_cc_novzeroupper): Likewise.
9975 * sysdeps/i386/configure: Regenerated.
9976
1a4ac776
JM
9977 [BZ #13883]
9978 * sysdeps/i386/fpu/s_cexp.S: Remove.
9979 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9980 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9981 * math/libm-test.inc (cexp_test): Add more tests.
9982 * sysdeps/i386/fpu/libm-test-ulps: Update.
9983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9984
a458e7fe
AM
99852012-03-21 Allan McRae <allan@archlinux.org>
9986
9987 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9988
0cb7efc5
JM
99892012-03-21 Joseph Myers <joseph@codesourcery.com>
9990
9991 [BZ #13871]
9992 * math/w_exp2.c: Do not include <float.h>.
9993 (o_threshold, u_threshold): Remove.
9994 (__exp2): Calculate result before checking finiteness and calling
9995 __kernel_standard.
9996 * math/w_exp2f.c: Likewise.
9997 * math/w_exp2l.c: Likewise.
9998 * math/libm-test.inc (exp2_test): Require overflow exception for
9999 1e6 input.
2460d3aa
JM
10000
10001 [BZ #3866]
10002 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10003 range of signed 64-bit integers before using fistpll. Remove
10004 checks for whether integers fit in mantissa bits.
10005 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10006 the range of signed 32-bit integers before using fistpl. Remove
10007 checks for whether integers fit in mantissa bits.
10008 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10009 (__ieee754_powl): Test for y outside the range of signed 64-bit
10010 integers before using fistpll. Reduce 64-bit values to 63-bit
10011 ones as needed.
10012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10013 divide-by-zero is raised for zero to large negative powers.
10014 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10015 (__ieee754_powl): Test for y outside the range of signed 64-bit
10016 integers before using fistpll. Reduce 64-bit values to 63-bit
10017 ones as needed.
10018 * math/libm-test.inc (pow_test): Add more tests.
10019
eb96ffb0
L
100202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10021
10022 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10023 <stdio-common/_itoa.h>.
10024 * debug/segfault.c: Likewise.
10025 * elf/dl-cache.c: Likewise.
10026 * elf/dl-minimal.c: Likewise.
10027 * elf/dl-misc.c: Likewise.
10028 * elf/dl-sysdep.c: Likewise.
10029 * elf/dl-version.c: Likewise.
10030 * elf/rtld.c: Likewise.
10031 * hurd/hurdsock.c: Likewise.
10032 * hurd/lookup-retry.c: Likewise.
10033 * malloc/malloc.c: Likewise.
10034 * malloc/mtrace.c: Likewise.
10035 * nscd/nscd_getgr_r.c: Likewise.
10036 * nscd/nscd_getpw_r.c: Likewise.
10037 * nscd/nscd_getserv_r.c: Likewise.
10038 * posix/getopt_init.c: Likewise.
10039 * posix/wordexp.c: Likewise.
10040 * stdio-common/_itoa.c: Likewise.
10041 * stdio-common/printf_fphex.c: Likewise.
10042 * stdio-common/vfprintf.c: Likewise.
10043 * string/_strerror.c: Likewise.
10044 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10045 * sysdeps/i386/i686/hp-timing.h: Likewise.
10046 * sysdeps/mach/_strerror.c: Likewise.
10047 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10048 * sysdeps/mach/hurd/sethostid.c: Likewise.
10049 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10050 * sysdeps/mach/xpg-strerror.c: Likewise.
10051 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10052 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10053 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10054 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10055 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10056 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10057 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10058 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10059 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10060 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10061 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10062 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10063 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10064 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10065 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10066 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10067 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10068 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10069 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10070 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10071 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10072
10073 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10074
10075 * stdio-common/_itoa.h: Moved to ...
10076 * sysdeps/generic/_itoa.h: Here.
10077
10078 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10079
10080 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10081 instead of "_itoa.h" and "_itowa.h".
10082 * stdio-common/vfprintf.: Likewise.
10083
d1af992d
L
100842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10085
10086 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10087 <bits/wordsize.h>.
10088 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10089 (__signbit): Likwise.
10090 (llrintf): Likwise.
10091 (llrint): Likwise.
10092
114883e0
L
100932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10094
10095 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10096 __WORDSIZE != 64.
10097
c135cc1b
JM
100982012-03-20 Joseph Myers <joseph@codesourcery.com>
10099
10100 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10101 OVERFLOW_EXCEPTION_OK.
10102 * math/libm-test.inc ("Philosophy"): Update comment about
10103 exception testing.
10104 (OVERFLOW_EXCEPTION): Define.
10105 (OVERFLOW_EXCEPTION_OK): Likewise.
10106 (INVALID_EXCEPTION_OK): Renumber.
10107 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10108 (IGNORE_ZERO_INF_SIGN): Likewise.
10109 (test_exceptions): Handle FE_OVERFLOW.
10110 (exp10_test): Expect overflow exceptions.
10111 (exp2_test): Likewise.
10112 (expm1_test): Likewise.
10113 (nextafter_test): Likewise.
10114 (pow_test): Likewise.
10115 (scalbn_test): Likewise.
10116 (scalbln_test): Likewise.
10117
95443d88
L
101182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10119
10120 * sysdeps/x86_64/bits/atomic.h
10121 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10122 64bit integer.
10123 (atomic_exchange_acq): Likewise.
10124 (__arch_exchange_and_add_body): Likewise.
10125 (__arch_add_body): Likewise.
10126 (atomic_add_negative): Likewise.
10127 (atomic_add_zero): Likewise.
10128
490df6c4
L
101292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10130
c2722551 10131 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10132 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10133
5e52b189
L
101342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10135
10136 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10137 Check __x86_64__ instead of __WORDSIZE.
10138
a9879d4c
L
101392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10140
10141 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10142
5df98260
DM
101432012-03-19 David S. Miller <davem@davemloft.net>
10144
e1497744
DM
10145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10146
5df98260
DM
10147 * sysdeps/sparc/fpu/fenv_private.h: New file.
10148 * sysdeps/sparc/fpu/math_private.h: Use it.
10149 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10150 Remove.
10151 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10152 (libc_feholdexcept_setroundl): Remove.
10153 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10154 Remove.
10155 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10156 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10157
b4c35121
L
101582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10159
10160 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10161 int64_t instead of long int.
10162 (INSERT_WORDS64): Likwise.
10163
56965fd7
L
101642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10165
10166 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10167 _Unwind_GetCFA return to _Unwind_Ptr first.
10168
83d1aec8
JM
101692012-03-19 Joseph Myers <joseph@codesourcery.com>
10170
1897ad44
JM
10171 [BZ #13629]
10172 * math/s_clog.c: Include <float.h>.
10173 (__clog): Scale large or subnormal inputs.
10174 * math/s_clogf.c: Likewise.
10175 * math/s_clogl.c: Likewise.
10176 * math/s_clog10.c: Include <float.h>.
10177 (M_LOG10_2): Define.
10178 (__clog10): Scale large or subnormal inputs.
10179 * math/s_clog10f.c: Likewise.
10180 * math/s_clog10l.c: Likewise.
10181 * math/libm-test.inc (clog_test): Add more tests.
10182 (clog10_test): Likewise.
10183 * sysdeps/i386/fpu/libm-test-ulps: Update.
10184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10185
7726d6a9
JM
10186 [BZ #11451]
10187 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10188 x and y.
10189 * math/libm-test.inc (atan2_test): Add another test.
10190
83d1aec8
JM
10191 * Makerules (common-objdir-compile): Remove.
10192 * sysdeps/unix/Makefile (config-generated): Do not add
10193 $(unix-generated) to variable.
10194 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10195 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10196 Remove rule.
10197 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10198 Likewise.
10199 [generic bits/local_lim.h] (before-compile): Do not append to
10200 variable.
10201 [generic bits/local_lim.h] (common-generated): Likewise.
10202 [generic sys/param.h] (before-compile): Do not append to variable.
10203 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10204 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10205 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10206 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10207 include.
10208 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10209 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10210 [generic sys/param.h] ($(addprefix
10211 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10212 [generic sys/param.h] (common-generated): Do not append to
10213 variable.
10214 [generic sys/param.h] (sysdep_headers): Likewise.
10215 [generic bits/errno.h] (before-compile): Do not append to
10216 variable.
10217 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10218 rule.
10219 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10220 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10221 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10222 [generic bits/errno.h] (common-generated): Do not append to
10223 variable.
10224 [generic bits/ioctls.h] (before-compile): Do not append to
10225 variable.
10226 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10227 rule.
10228 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10229 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10230 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10231 rule.
10232 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10233 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10234 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10235 [generic bits/ioctls.h] (common-generated): Do not append to
10236 variable.
10237 [generic sys/syscall.h] (syscall.h): Remove variable.
10238 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10239 rule.
10240 [generic sys/syscall.h] (before-compile): Do not append to
10241 variable.
10242 [generic sys/syscall.h] (common-generated): Likewise.
10243 * sysdeps/unix/errnos-tmpl.c: Remove file.
10244 * sysdeps/unix/errnos.awk: Likewise.
10245 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10246 * sysdeps/unix/ioctls.awk: Likewise.
10247 * sysdeps/unix/mk-local_lim.c: Likewise.
10248 * sysdeps/unix/snarf-ioctls: Likewise.
10249
4851a949
RH
102502012-03-19 Richard Henderson <rth@twiddle.net>
10251
bd37f2ee
RH
10252 * sysdeps/i386/fpu/fenv_private.h: New file.
10253 * sysdeps/i386/fpu/math_private.h: Use it.
10254 (math_opt_barrier, math_force_eval): Remove.
10255 (libc_feholdexcept_setround_53bit): Remove.
10256 (libc_feupdateenv_53bit): Remove.
10257 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10258 (math_opt_barrier, math_force_eval): Remove.
10259 (libc_feholdexcept): Remove.
10260 (libc_feholdexcept_setround): Remove.
10261 (libc_fetestexcept, libc_fesetenv): Remove.
10262 (libc_feupdateenv_test): Remove.
10263 (libc_feupdateenv, libc_feholdsetround): Remove.
10264 (libc_feresetround): Remove.
10265
d0adc922
RH
10266 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10267 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10268
0fe0f1f8
RH
10269 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10270 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10271 (libc_feupdateenv_testl): New.
10272 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10273 (libc_feupdateenv_testf): New.
10274 (libc_feupdateenv): Use libc_feupdateenv_test.
10275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10276 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10277
eb92c487
RH
10278 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10279 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10280 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10281 (libc_feresetround_noex): New.
10282 (libc_feresetround_noexf): New.
10283 (libc_feresetround_noexl): New.
10284 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10285 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10286 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10287 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10288 SET_RESTORE_ROUND.
10289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10291 (__cos): Likewise.
10292 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10293 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10294 SET_RESTORE_ROUND_NOEX.
10295 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10296 SET_RESTORE_ROUND_NOEXF.
10297 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10298 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10299 (libc_feholdsetroundf): New.
10300 (libc_feresetround, libc_feresetroundf): New.
10301
7d2e8012
RH
10302 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10303 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10304 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10305
b4dabbb4
RH
10306 * sysdeps/generic/math_private.h: Include <fenv.h>.
10307 (default_libc_feholdexcept): New.
10308 (default_libc_feholdexcept_setround): New.
10309 (default_libc_fesetenv, default_libc_feupdateenv): New.
10310 (libc_feholdexcept): Only define if undefined.
10311 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10312 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10313 (libc_feholdexcept_setroundl): Likewise.
10314 (libc_feholdexcept_setround_53bit): Likewise.
10315 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10316 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10317 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10318 (libc_feupdateenv_53bit): Likewise.
10319 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10320 (libc_feholdexcept): Convert from macro to inline function.
10321 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10322 (libc_fesetenv, libc_feupdateenv): Likewise.
10323
4851a949
RH
10324 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10325 not previously defined.
10326 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10327 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10328 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10329 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10330 * sysdeps/ieee754/flt-32/math_private.h: New file.
10331 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10332 math_private.h below SET_FLOAT_WORD.
10333 (__isnan, __isinf_ns, __finite): Remove.
10334 (__isnanf, __isinf_nsf, __finitef): Remove.
10335
e79d442e
AS
103362012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10337
10338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10339
90b80344
DM
103402012-03-17 David S. Miller <davem@davemloft.net>
10341
10342 [BZ #6471]
10343 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10344 for 2.16.
10345
edc21804
DM
103462012-03-16 David S. Miller <davem@davemloft.net>
10347
77e927af
DM
10348 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10349 warnings.
10350
374976dd
DM
10351 [BZ #6471]
10352 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10353 properly.
10354 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10355 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10356 sysdep_routines when subdir is sysvipc.
10357 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10358 __getshmlba helper.
10359
edc21804
DM
10360 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10361
473c3ef3
L
103622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10363
10364 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10365 [__LP64__].
10366
eb0f39b6
L
103672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10368
10369 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10370 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10371 (__lround): Renamed to ...
10372 (__llround): This. Replace long int with long long int.
10373 Define lround functions as aliases of llround functions.
10374 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10375
6b6cd74b
L
103762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10377
10378 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10379 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10380 adresses to uintptr_t. Replace "long int" and "unsigned long
10381 int" with "greg_t" on va_arg.
10382
f1a77b01
L
103832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10384
10385 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10386 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10387
10388 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10389 Move e_machine check before EI_CLASS check. Handle x32
10390 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10391 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10392 SKIP_EM_IA_64 and include
10393 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10394
10395 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10396 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10397 (add_system_dir): New macro.
10398
10399 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10400 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10401
11b90b9f
JM
104022012-03-16 Joseph Myers <joseph@codesourcery.com>
10403
c36e1d23
JM
10404 [BZ #2551]
10405 [BZ #2552]
10406 [BZ #2553]
10407 [BZ #2554]
10408 [BZ #2562]
10409 [BZ #2563]
10410 [BZ #2565]
10411 [BZ #2566]
10412 [BZ #2576]
10413 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10414 (y0): Likewise.
10415 * math/w_j0f.c (j0f): Likewise.
10416 (y0f): Likewise.
10417 * math/w_j0l.c (__j0l): Likewise.
10418 (__y0l): Likewise.
10419 * math/w_j1.c (j1): Likewise.
10420 (y1): Likewise.
10421 * math/w_j1f.c (j1f): Likewise.
10422 (y1f): Likewise.
10423 * math/w_j1l.c (__j1l): Likewise.
10424 (__y1l): Likewise.
10425 * math/w_jn.c (jn): Likewise.
10426 (yn): Likewise.
10427 * math/w_jnf.c (jnf): Likewise.
10428 (ynf): Likewise.
10429 * math/w_jnl.c (__jnl): Likewise.
10430 (__ynl): Likewise.
10431 * math/libm-test.inc (j0_test): Add more tests.
10432 (j1_test): Likewise.
10433 (jn_test): Likewise. Add trailing semicolon to existing test.
10434 (y0_test): Likewise.
10435 (y1_test): Likewise.
10436 * sysdeps/i386/fpu/libm-test-ulps: Update.
10437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10438
11b90b9f
JM
10439 [BZ #13851]
10440 [BZ #13854]
10441 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10442 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10443 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10444 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10445 (__tanl): Set errno for infinite argument.
10446 * sysdeps/i386/fpu/mptan.c: Remove.
10447 * sysdeps/i386/fpu/s_tan.S: Likewise.
10448 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10449 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10450 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10451 * math/libm-test.inc (tan_test): Add more tests and enable more
10452 tests for double and long double.
10453 * sysdeps/i386/fpu/libm-test-ulps: Update.
10454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10455
6a1bd2a1
JK
104562012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10457
10458 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10459 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10460
10a803e0
RM
104612012-03-16 Roland McGrath <roland@hack.frob.com>
10462
10463 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10464 * configure.in: Use it for both main tree and add-ons.
10465 * configure: Regenerated.
10466
f196c7f7
L
104672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10468
10469 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10470
8848d99d
JM
104712012-03-16 Joseph Myers <joseph@codesourcery.com>
10472
96cbe7f4
JM
10473 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10474 in comment.
10475
8848d99d
JM
10476 [BZ #13851]
10477 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10478 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10481 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10482 infinite argument.
10483 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10484 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10485 != 0 for prec == 2.
10486 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10487 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10488 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10489 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10490 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10491 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10492 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10493 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10494 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10495 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10496 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10497 * math/libm-test.inc (cos_test): Add more tests and enable more
10498 tests for long double.
10499 (sin_test): Likewise.
10500 (sincos_test): Likewise.
10501 * sysdeps/i386/fpu/libm-test-ulps: Update.
10502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10503
dd7f4703
DM
105042012-03-16 David S. Miller <davem@davemloft.net>
10505
10506 * sysdeps/sparc/fpu/math_private.h: New file.
10507
006f1daa
DM
105082012-03-15 David S. Miller <davem@davemloft.net>
10509
c0c83bc8
DM
10510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10511 file.
e6a62e18 10512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10514 file.
e6a62e18
DM
10515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10521 sysdep routines.
10522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10523
88cb87d9
DM
10524 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10525 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10526
006f1daa 10527 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10529 sparc-ifunc.h
006f1daa 10530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10532 Likewise.
10533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10534 Likewise.
006f1daa
DM
10535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10539 Likewise.
006f1daa
DM
10540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10545 Likewise.
10546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10547 Likewise.
006f1daa
DM
10548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10554 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10566 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10567 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10568 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10572
11e0098e
AS
105732012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10574
10575 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10576 scaling.
10577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10578
e85b09d0
AJ
105792012-03-15 Andreas Jaeger <aj@suse.de>
10580
10581 [BZ #13852]
10582 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10583 ieee754/flt-32 implementation for sin, cos and sincos.
10584 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10585 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10586 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10587 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10588 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10589 ieee754/flt-32 implementation for tan.
10590
10591 * math/libm-test.inc (cos_test): Enable some large input tests for
10592 float as well
10593 (sin_test): Likewise.
10594 (sincos_test): Likewise.
10595 (tan_test): Add tests for large input.
10596
10597 * sysdeps/i386/fpu/libm-test-ulps: Update.
10598
81c64153
AJ
105992012-03-15 Andreas Jaeger <aj@suse.de>
10600
10601 [BZ #13658]
10602 * math/libm-test.inc (cos_test): Add more test cases.
10603 (sin_test): Likewise.
10604 (sincos_test): Likewise.
10605
7bbfa5c6
AJ
106062012-03-15 Andreas Jaeger <aj@suse.de>
10607
10608 [BZ #13837]
10609 * math/libm-test.inc (cos_test): Add a test case for large input
10610 value.
10611 (sin_test): Likewise.
10612 (sincos_test): Likewise.
10613
106142012-03-15 Andreas Jaeger <aj@suse.de>,
10615 Joseph Myers <joseph@codesourcery.com>
10616
10617 [BZ #13658]
0671f479 10618 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10619 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10620 * sysdeps/i386/fpu/branred.c: Likewise.
10621 * sysdeps/i386/fpu/dosincos.c: Likewise.
10622 * sysdeps/i386/fpu/mpa.c: Likewise.
10623 * sysdeps/i386/fpu/s_cos.S: Likewise.
10624 * sysdeps/i386/fpu/s_sin.S: Likewise.
10625 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10626 * sysdeps/i386/fpu/sincos32.c: Likewise.
10627
10628 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10629 Define.
10630 (libc_feupdateenv_53bit): Define.
10631 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10632 Define.
10633 (libc_feupdateenv_53bit): Define.
10634
10635 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10636 53 bit (without extend i386 double precision).
10637
10638 * math/libm-test.inc (sincos_test): Add tests for large input.
10639 (sin): Likewise.
10640 (cos): Likewise.
10641
10642 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10643
9cad04ea
AS
106442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10645
10646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10647
f7062b9a
DM
106482012-03-15 David S. Miller <davem@davemloft.net>
10649
10650 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10651 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10652 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10653 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10666 file.
f7062b9a 10667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10669 file.
f7062b9a 10670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10672 file.
f7062b9a 10673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10675 file.
f7062b9a
DM
10676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10677 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10678 fmin/fmax sysdep routines.
10679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10680
7bd951ff
DM
106812012-03-14 David S. Miller <davem@davemloft.net>
10682
559398ab
DM
10683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10689 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10710 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10712 routines.
10713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10714 file.
559398ab 10715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10717 file.
559398ab 10718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10720 file.
559398ab 10721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10723 file.
559398ab 10724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10726 file.
559398ab 10727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10729 file.
10730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10731 file.
10732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10733 file.
10734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10735 file.
10736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10737 New file.
10738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10739 file.
10740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10741 file.
559398ab 10742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10744 file.
559398ab 10745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10747 file.
559398ab 10748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10750 file.
559398ab 10751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10753 VIS3 routines.
559398ab
DM
10754
10755 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10756 New file.
10757
5a1c1e32
DM
10758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10759
eae47a36
DM
10760 * sysdeps/sparc/configure.in: New file.
10761 * sysdeps/sparc/configure: Generate.
10762 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10763 * configure: Regenerate.
10764 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10765 * config.make.in (have-as-vis3): New.
10766 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10767 available use -Av9d instead of -Av9a.
10768 * sysdeps/sparc/sparc64/Makefile: Likewise.
10769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10771 New file.
10772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10773 file.
10774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10775 New file.
10776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10777 file.
eae47a36
DM
10778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10779 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10781 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10783
c0c83bc8
DM
10784 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10785 fzeros/fnegs to load 0x80000000 into a float register instead of
10786 using the stack.
7bd951ff
DM
10787 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10788
bd951ccb
JM
107892012-03-14 Joseph Myers <joseph@codesourcery.com>
10790
10791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10792 bits/syscall.h.
10793 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10794 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10795 ($(inst_includedir)/bits/syscall.h): Remove rule.
10796 ($(objpfx)bits/syscall.d): Include instead of
10797 $(objpfx)syscall-list.d.
10798 (generated): Change syscall-list.h and syscall-list.d to
10799 bits/syscall.h and bits/syscall.d.
10800
bb4e6db2
RM
108012012-03-14 Roland McGrath <roland@hack.frob.com>
10802
10803 [BZ #13846]
10804 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10805
aa4a2ae1
JM
108062012-03-14 Joseph Myers <joseph@codesourcery.com>
10807
e456826d
JM
10808 [BZ #13841]
10809 * math/s_csqrt.c: Include <float.h>.
10810 (__csqrt): Scale large or subnormal inputs.
10811 * math/s_csqrtf.c: Likewise.
10812 * math/s_csqrtl.c: Likewise.
10813 * math/libm-test.inc (csqrt_test): Add more tests.
10814 * sysdeps/i386/fpu/libm-test-ulps: Update.
10815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10816
aa4a2ae1
JM
10817 [BZ #13840]
10818 * math/libm-test.inc (hypot_test): Add more tests.
10819
7c10fd35
DM
108202012-03-13 David S. Miller <davem@davemloft.net>
10821
10822 [BZ #13840]
10823 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10824 double-precision for the calculation instead of scaling.
10825
f453b98b
JM
108262012-03-13 Joseph Myers <joseph@codesourcery.com>
10827
10828 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10829 manipulate bits before adding and subtracting TWO52[sx].
10830 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10831 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10832 Likewise.
10833 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10834
09a3453f
DM
108352012-03-13 David S. Miller <davem@davemloft.net>
10836
8e59da90
DM
10837 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10838 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10839 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10840 rtld-global-offsets.h
10841 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10842
2a8ab7f2
DM
10843 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10844 large parameters.
10845
10f62770
DM
10846 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10847
5f0bdb18
DM
10848 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10849 'err' in the ifdef scope in which it is actually used.
10850
09a3453f
DM
10851 * nss/nss_db/db-init.c: Include string.h
10852
b4b2eb5e
DM
108532012-03-12 David S. Miller <davem@davemloft.net>
10854
98bb2f1c
DM
10855 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10856 masking out of the most significant byte of random value used.
10857 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10858 Fix coding style in previous change.
10859
b4b2eb5e
DM
10860 * sysdeps/unix/sysv/linux/kernel-features.h
10861 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10862 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10863 expression.
10864 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10865 later.
10866
6e226b09
DM
108672012-03-11 David S. Miller <davem@davemloft.net>
10868
a1bcbd40
DM
10869 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10870 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10871 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10872 for 'resultvar' otherwise things get truncated on 64-bit.
10873
cb9d6174
DM
10874 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10875 Fix masking out of the most significant byte of random value used.
10876
6e226b09
DM
10877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10878
058c132d
AS
108792012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10880
10881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10882
2d2cd515
DM
108832012-03-09 David S. Miller <davem@davemloft.net>
10884
10885 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10886 variables with appropriate CPP guards.
10887 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10888 frame pointer, not the stack pointer. Correct layout comments. Fix test
10889 on resulting framesize and the management of the outregs buffer for pltexit.
10890 Preserve floating point return values across _dl_call_pltexit call.
10891 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10892 framesize and the management of the outregs buffer for pltexit.
10893 Preserve floating point return values across _dl_call_pltexit
10894 call.
10895 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10896 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10897 (print_exit): Fix format string for return register value.
10898
9a07f9d0
JM
108992012-03-10 Joseph Myers <joseph@codesourcery.com>
10900
10901 * sunrpc/Makefile (others): Add rpcgen.
10902 ($(objpfx)rpcgen): Remove special build rule and dependency on
10903 libc.
10904 * sunrpc/rpcgen.c: New file.
10905
547b5e30
PE
109062012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10907
c524201a
PE
10908 [BZ #13673]
10909 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10910 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10911 * sysdeps/i386/crti.S: Likewise.
10912 * sysdeps/i386/crtn.S: Likewise.
10913 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10914 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10915 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10916 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10917 * sysdeps/sh/crti.S: Likewise.
10918 * sysdeps/sh/crtn.S: Likewise.
10919 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10920
7b6235f2
PE
10921 [BZ #13673]
10922 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10923 with URL.
10924 * locale/programs/locfile-kw.gperf: Likewise.
10925 * locale/programs/charmap-kw.h: Regenerated.
10926 * locale/programs/locfile-kw.h: Likewise.
10927
547b5e30
PE
10928 [BZ #13673]
10929 * intl/plural.y: Replace FSF snail mail address with URL.
10930 * intl/plural.c: Regenerated.
10931
5f0a5dae
RH
109322012-03-09 Richard Henderson <rth@twiddle.net>
10933
10934 * include/math_private.h: Remove file.
10935 * math/math_private.h: Move file ...
10936 * sysdeps/generic/math_private.h: ... here.
10937
b8c03620
RH
10938 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10939 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10940 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10941
4e234f5d 10942 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10943 and <math_private.h>.
10944 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10945 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10946 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10947 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10948 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10962 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10965 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10966 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10968 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10969 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10970 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10971 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10973 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10975 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10976 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10977 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10978 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10980 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10981 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10982 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10983 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10984 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10985 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10986 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10987 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10988 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10989 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10990 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10991 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10992 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10993 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10994 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10995 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10996 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10997 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10998 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11000 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11002 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11003 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11004 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11005 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11006 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11007 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11008 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11009 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11010 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11011 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11012 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11013 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11014 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11015 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11016 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11017 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11018 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11019 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11021 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11022 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11023 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11024 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11025 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11026 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11028 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11032 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11033 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11034 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11035 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11036 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11037 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11038 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11039 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11040 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11041 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11042 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11043 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11044 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11045 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11046 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11047 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11048 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11049 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11050 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11051 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11052 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11053 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11054 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11055 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11056 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11057 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11058 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11059 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11060 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11061 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11062 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11063 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11064 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11065 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11066 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11067 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11068 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11069 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11070 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11071 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11072 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11073 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11074 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11075 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11076 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11077 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11078 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11079 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11080 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11081 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11082 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11083 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11084 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11085 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11086 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11087 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11088 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11089 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11090 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11091 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11092 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11093 * sysdeps/ieee754/k_standard.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11167 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11182 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11185 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11187 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11197 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11198 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11201 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11209 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11213 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11214 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11216 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11221 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11226 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11228 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11229 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11234 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11236 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11237 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11242 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11243 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11244 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11254 * sysdeps/ieee754/s_lib_version.c: Likewise.
11255 * sysdeps/ieee754/s_matherr.c: Likewise.
11256 * sysdeps/ieee754/s_signgam.c: Likewise.
11257 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11258 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11259 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11260 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11261 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11262 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11263 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11264 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11265 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11266 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11267 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11268 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11269 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11270 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11271 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11272 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11273 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11274 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11275 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11277 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11278
1991fa03
JM
112792012-03-09 Joseph Myers <joseph@codesourcery.com>
11280
11281 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11282 * sunrpc/rpc_main.c: Likewise.
11283 * sunrpc/rpc_svcout.c: Likewise.
11284
60d6f5a6
DM
112852012-03-09 David S. Miller <davem@davemloft.net>
11286
11287 * include/math_private.h: New file.
11288
4962050e
JM
112892012-03-09 Joseph Myers <joseph@codesourcery.com>
11290
02a6f887
JM
11291 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11292 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11293 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11294 from <bits/socket_type.h>.
11295 (enum __socket_type): Don't define here.
11296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11298 bits/socket_type.h.
11299
c6e013c1
JM
11300 [BZ #13566]
11301 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11302 checking __USE_GNU.
11303
4962050e
JM
11304 * Makerules ($(inst_includedir)/%.h): New rule.
11305 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11306 (install-others): Remove variable setting.
11307 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11308
38842f45
RH
113092012-03-08 Richard Henderson <rth@twiddle.net>
11310
67bb6da6
RH
11311 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11312 from macro to inline function; merge with the
11313 !__LIBC_INTERNAL_MATH_INLINES version.
11314 (__ieee754_sqrtf): Likewise.
11315
15194b4b
RH
11316 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11317 to inline function.
11318 (__rintf, __floor, __floorf): Likewise.
11319
64e21ede
RH
11320 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11321 macro to inline function.
11322 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11323
38842f45
RH
11324 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11325 not <math/math_private.h>.
11326
c64bf5fe
DM
113272012-03-08 David S. Miller <davem@davemloft.net>
11328
11329 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11330 copyright year.
11331 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11332
82d86f28
TS
113332012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11334
11335 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11336 normalization.
11337 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11338 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11339
aea5d727
UD
113402012-03-08 Ulrich Drepper <drepper@gmail.com>
11341
11342 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11343 be defined individually, they must be defined as a block. Define
11344 S for printing a string instead of hidint the different by using a
11345 macro for adding the 'l'.
11346 * stdio-common/tst-fphex-wide.c: Adjust.
11347
70bca0a3
MP
113482012-03-07 Marek Polacek <polacek@redhat.com>
11349
11350 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11351
65b81130
MP
113522012-03-08 Marek Polacek <polacek@redhat.com>
11353
11354 [BZ #13806]
11355 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11356 * stdio-common/tst-fphex.c: Define a few macros to make the
11357 test reusable. Use them.
11358 * stdio-common/tst-fphex-wide.c: New file.
11359
07037eeb
JM
113602012-03-08 Joseph Myers <joseph@codesourcery.com>
11361
a7a93d50
JM
11362 [BZ #6911]
11363 * manual/macros.texi (gnusystems): New macro.
11364 (nongnusystems): Likewise.
11365 (gnulinuxhurdsystems): Likewise.
11366 (gnuhurdsystems): Likewise..
11367 (gnulinuxsystems): Likewise.
11368 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11369 variants of the GNU system, not "GNU system".
11370 * manual/conf.texi: Likewise.
11371 * manual/errno.texi: Likewise. Update example of errno macro
11372 expansion.
11373 * manual/filesys.texi: Likewise.
11374 (getumask): Document as specific to GNU/Hurd.
11375 * manual/install.texi: Likewise. Reword some references to
11376 GNU/Linux.
11377 * manual/intro.texi: Likewise.
11378 * manual/io.texi: Likewise.
11379 (File Name Portability): Detail which constraints are inapplicable
11380 to all GNU systems and which are only inapplicable to GNU/Hurd.
11381 * manual/job.texi: Likewise.
11382 * manual/llio.texi: Likewise.
11383 (O_NOCTTY): Document as present on GNU/Linux.
11384 * manual/maint.texi: Likewise.
11385 * manual/memory.texi: Likewise.
11386 * manual/pattern.texi: Likewise.
11387 * manual/pipe.texi: Likewise.
11388 * manual/process.texi: Likewise.
11389 * manual/resource.texi: Likewise.
11390 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11391 child on GNU/Hurd.
11392 * manual/setjmp.texi: Likewise.
11393 * manual/signal.texi: Likewise.
11394 * manual/startup.texi: Likewise.
11395 * manual/stdio.texi: Likewise.
11396 * manual/terminal.texi: Likewise.
11397 (ONLCR): Document as POSIX.
11398 (OXTABS): Document availability on GNU/Linux as XTABS.
11399 (ONOEOT): Document availability separately from other bits.
11400 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11401 * manual/time.texi: Likewise.
11402 * manual/users.texi: Likewise.
11403 * INSTALL: Regenerated.
11404 * sysdeps/gnu/errlist.c: Regenerated.
11405
07037eeb
JM
11406 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11407 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11408 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11409 puts.
11410 * configure: Regenerated.
11411
d1d3431a
JM
114122012-03-07 Joseph Myers <joseph@codesourcery.com>
11413
af6a1e37
JM
11414 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11415 default includes instead of AC_HEADER_CHECK.
11416 * sysdeps/i386/configure: Regenerated.
11417
d1d3431a
JM
11418 [BZ #10716]
11419 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11420 * math/s_cacoshf.c (__cacoshf): Likewise.
11421 * math/s_cacoshl.c (__cacoshl): Likewise.
11422 * math/s_casinh.c (__casinh): Set signs of result from argument.
11423 * math/s_casinhf.c (__casinhf): Likewise.
11424 * math/s_casinhl.c (__casinhl): Likewise.
11425 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11426 (casinh_test): Add more tests.
11427 * sysdeps/i386/fpu/libm-test-ulps: Update.
11428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11429
482ff4da
UD
114302012-03-07 Ulrich Drepper <drepper@gmail.com>
11431
872fda05
UD
11432 * po/zh_TW.po: Update from translation team.
11433
a4300c7a
UD
11434 * login/Makefile (distribute): Remove variable.
11435 * catgets/Makefile: Likewise.
11436 * mach/Makefile: Likewise.
11437 * malloc/Makefile: Likewise.
11438 * misc/Makefile: Likewise.
11439 * iconv/Makefile: Likewise.
11440 * nscd/Makefile: Likewise.
11441 * hurd/Makefile: Likewise.
11442 * manual/Makefile: Likewise.
11443 * locale/Makefile: Likewise.
11444 * intl/Makefile: Likewise.
11445 * conform/Makefile: Likewise.
11446 * nss/Makefile: Likewise.
11447 * time/Makefile: Likewise.
11448 * soft-fp/Makefile: Likewise.
11449 * dirent/Makefile: Likewise.
11450 * gmon/Makefile: Likewise.
11451 * po/Makefile: Likewise.
11452 * rt/Makefile: Likewise.
11453 * socket/Makefile: Likewise.
11454 * math/Makefile: Likewise.
11455 * signal/Makefile: Likewise.
11456 * debug/Makefile: Likewise.
11457 * elf/Makefile: Likewise.
11458 * timezone/Makefile: Likewise.
11459 * stdlib/Makefile: Likewise.
11460 * iconvdata/Makefile: Likewise.
11461 * sunrpc/Makefile: Likewise.
11462 * io/Makefile: Likewise.
11463 * argp/Makefile: Likewise.
11464 * inet/Makefile: Likewise.
11465 * hesiod/Makefile: Likewise.
11466 * grp/Makefile: Likewise.
11467 * csu/Makefile: Likewise.
11468 * wctype/Makefile: Likewise.
11469 * crypt/Makefile: Likewise.
11470 * libio/Makefile: Likewise.
11471 * string/Makefile: Likewise.
11472 * nis/Makefile: Likewise.
11473 * resolv/Makefile: Likewise.
11474 * stdio-common/Makefile: Likewise.
11475 * wcsmbs/Makefile: Likewise.
11476 * dlfcn/Makefile: Likewise.
11477 * posix/Makefile: Likewise.
11478
3b7c4e74 11479 [BZ #6959]
482ff4da
UD
11480 * timezone/Makefile: Don't install timezone files, just the programs
11481 and scripts.
11482
f72ed77d
UD
114832012-03-06 Ulrich Drepper <drepper@gmail.com>
11484
a000466f
UD
11485 * nss/databases.def: Add missing gshadow entry.
11486
f72ed77d
UD
11487 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11488
a53b7a4e
MP
114892012-03-06 Marek Polacek <polacek@redhat.com>
11490
11491 [BZ #13726]
11492 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11493 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11494 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11495 * stdio-common/tst-long-dbl-fphex.c: New file.
11496
e9258400
DM
114972012-03-06 David S. Miller <davem@davemloft.net>
11498
11499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11500 (set_obp_int): New function.
11501 (get_obp_int): New function.
11502 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11503 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11504 Avoid unused variable warnings on 'val' and use builtin_expect.
11505 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11506 __builtin_expect.
e9258400
DM
11507 (INLINE_CLONE_SYSCALL): Likewise.
11508
3bd2c723
DM
115092012-03-05 David S. Miller <davem@davemloft.net>
11510
11511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11512
bbb78d03
AS
115132012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11514
884c5db4
AS
11515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11516
bbb78d03
AS
11517 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11518 only for |x| >= 40.
11519 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11520
1c9f702a 115212012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11522
11523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11524 Replace gettimeofday with __vdso_gettimeofday.
11525
7be16f82
RM
11526 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11527 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11528 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11529
11530 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11531 time with __vdso_time.
11532
ed58a00f
JM
115332012-03-05 Joseph Myers <joseph@codesourcery.com>
11534
11535 * manual/lang.texi (size_t): Note types to which size_t may be
11536 equivalent with the GNU C Library, but do not describe when
11537 differences between them are significant.
11538
30ee4ced
AJ
115392012-03-05 Andreas Jaeger <aj@suse.de>
11540
11541 * sysdeps/i386/fpu/libm-test-ulps: Update.
11542
b7cd39e8
JM
115432012-03-05 Joseph Myers <joseph@codesourcery.com>
11544
11545 [BZ #3976]
11546 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11547 (__ieee754_pow): Save and restore rounding mode and use
11548 round-to-nearest for main computations.
11549 * math/libm-test.inc (pow_test_tonearest): New function.
11550 (pow_test_towardzero): Likewise.
11551 (pow_test_downward): Likewise.
11552 (pow_test_upward): Likewise.
11553 (main): Call the new functions.
11554 * sysdeps/i386/fpu/libm-test-ulps: Update.
11555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11556
11557 [BZ #3976]
11558 * math/libm-test.inc (cosh_test_tonearest): New function.
11559 (cosh_test_towardzero): Likewise.
11560 (cosh_test_downward): Likewise.
11561 (cosh_test_upward): Likewise.
11562 (sinh_test_tonearest): Likewise.
11563 (sinh_test_towardzero): Likewise.
11564 (sinh_test_downward): Likewise.
11565 (sinh_test_upward): Likewise.
11566 (main): Call the new functions.
11567 * sysdeps/i386/fpu/libm-test-ulps: Update.
11568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11569
6c6a98c9
TV
115702012-03-05 Tom de Vries <tom@codesourcery.com>
11571
11572 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11573 default stack guard is set in last bytes.
11574 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11575
21bb2d2e 115762012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11577
21bb2d2e 11578 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11579
21bb2d2e
AJ
11580 [BZ #13656]
11581 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11582 possibly allocate from heap instead of stack.
11583 * stdio-common/bug-vfprintf-nargs.c: New file.
11584 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11585
c6922934
AS
115862012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11587
11588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11589
bc957d53
MP
115902012-03-03 Marek Polacek <polacek@redhat.com>
11591
11592 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11593 * math/math_private.h: Likewise.
11594 * stdlib/tst-strtod.c: Likewise.
11595 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11596 * sysdeps/x86_64/bits/atomic.h: Likewise.
11597
6358490d
DM
115982012-03-02 David S. Miller <davem@davemloft.net>
11599
11600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11604 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11605 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11606 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11607 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11608
01ae168d
RM
116092012-03-02 Roland McGrath <roland@hack.frob.com>
11610
d9a17c07
RM
11611 [BZ #13792]
11612 * manual/examples/README: New file, says the example source files
11613 can be used under GPL>=2.
11614 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11615 line containing just "*/".
11616 * manual/examples/add.c: Add copyright header (GPL>=2).
11617 * manual/examples/argp-ex1.c: Likewise.
11618 * manual/examples/argp-ex2.c: Likewise.
11619 * manual/examples/argp-ex3.c: Likewise.
11620 * manual/examples/argp-ex4.c: Likewise.
11621 * manual/examples/atexit.c: Likewise.
11622 * manual/examples/db.c: Likewise.
11623 * manual/examples/dir.c: Likewise.
11624 * manual/examples/dir2.c: Likewise.
11625 * manual/examples/execinfo.c: Likewise.
11626 * manual/examples/filecli.c: Likewise.
11627 * manual/examples/filesrv.c: Likewise.
11628 * manual/examples/fmtmsgexpl.c: Likewise.
11629 * manual/examples/genpass.c: Likewise.
11630 * manual/examples/inetcli.c: Likewise.
11631 * manual/examples/inetsrv.c: Likewise.
11632 * manual/examples/isockad.c: Likewise.
11633 * manual/examples/longopt.c: Likewise.
11634 * manual/examples/memopen.c: Likewise.
11635 * manual/examples/memstrm.c: Likewise.
11636 * manual/examples/mkfsock.c: Likewise.
11637 * manual/examples/mkisock.c: Likewise.
11638 * manual/examples/mygetpass.c: Likewise.
11639 * manual/examples/pipe.c: Likewise.
11640 * manual/examples/popen.c: Likewise.
11641 * manual/examples/rprintf.c: Likewise.
11642 * manual/examples/search.c: Likewise.
11643 * manual/examples/select.c: Likewise.
11644 * manual/examples/setjmp.c: Likewise.
11645 * manual/examples/sigh1.c: Likewise.
11646 * manual/examples/sigusr.c: Likewise.
11647 * manual/examples/stpcpy.c: Likewise.
11648 * manual/examples/strdupa.c: Likewise.
11649 * manual/examples/strftim.c: Likewise.
11650 * manual/examples/strncat.c: Likewise.
11651 * manual/examples/subopt.c: Likewise.
11652 * manual/examples/swapcontext.c: Likewise.
11653 * manual/examples/termios.c: Likewise.
11654 * manual/examples/testopt.c: Likewise.
11655 * manual/examples/testpass.c: Likewise.
11656 * manual/examples/timeval_subtract.c: Likewise.
11657
01ae168d
RM
11658 [BZ #13792]
11659 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11660 function to ...
11661 * manual/timeval_subtract.c.texi: ... here, new file.
11662
49efa33d
DM
116632012-03-02 David S. Miller <davem@davemloft.net>
11664
11665 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11666
28afd92d
JM
116672012-03-02 Joseph Myers <joseph@codesourcery.com>
11668
804360ed
JM
11669 [BZ #3976]
11670 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11671 (__sin): Save and restore rounding mode and use round-to-nearest
11672 for all computations.
11673 (__cos): Save and restore rounding mode and use round-to-nearest
11674 for all computations.
11675 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11676 <fenv.h>.
11677 (tan): Save and restore rounding mode and use round-to-nearest for
11678 all computations.
11679 * math/libm-test.inc (cos_test_tonearest): New function.
11680 (cos_test_towardzero): Likewise.
11681 (cos_test_downward): Likewise.
11682 (cos_test_upward): Likewise.
11683 (sin_test_tonearest): Likewise.
11684 (sin_test_towardzero): Likewise.
11685 (sin_test_downward): Likewise.
11686 (sin_test_upward): Likewise.
11687 (tan_test_tonearest): Likewise.
11688 (tan_test_towardzero): Likewise.
11689 (tan_test_downward): Likewise.
11690 (tan_test_upward): Likewise.
11691 (main): Call the new functions.
11692 * sysdeps/i386/fpu/libm-test-ulps: Update.
11693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11694
a6d06d7b
JM
11695 [BZ #10135]
11696 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11697 small n, then large n, before computing and testing k+n.
11698 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11700 Likewise.
11701 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11702 Likewise.
11703 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11704 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11705 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11706 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11707 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11708 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11709 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11710 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11711 * math/libm-test.inc (scalbn_test): Add more tests.
11712 (scalbln_test): Likewise.
11713
07e12bb3
JM
11714 * manual/filesys.texi (mode_t): Describe constraints on size and
11715 signedness, not exact equivalence to a particular type.
11716 (ino_t): Likewise.
11717 (ino64_t): Likewise.
11718 (dev_t): Likewise.
11719 (nlink_t): Likewise.
11720 (blkcnt_t): Likewise.
11721 (blkcnt64_t): Likewise.
11722 * manual/llio.texi (off_t): Likewise.
11723
28afd92d
JM
11724 [BZ #3976]
11725 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11726 (__ieee754_exp): Save and restore rounding mode and use
11727 round-to-nearest for all computations.
11728 * math/libm-test.inc (exp_test_tonearest): New function.
11729 (exp_test_towardzero): Likewise.
11730 (exp_test_downward): Likewise.
11731 (exp_test_upward): Likewise.
11732 (main): Call the new functions.
11733 * sysdeps/i386/fpu/libm-test-ulps: Update.
11734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11735
b1eeb65d
CD
117362012-03-01 Chris Demetriou <cgd@google.com>
11737
11738 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11739 have predictable order.
11740
53362a4b
DM
117412012-03-01 David S. Miller <davem@davemloft.net>
11742
3c969083
DM
11743 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11744
759707de
DM
11745 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11746 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11747 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11748 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11749
dfdb8ff2
DM
11750 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11751 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11752 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11754 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11755 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11756 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11757 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11758 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11759
ead89f96
DM
11760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11761
7f66bd07
DM
11762 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11763 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11764 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11765
53362a4b
DM
11766 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11767 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11768 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11769 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11770 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11772 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11773 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11774 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11775 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11776 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11777 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11779 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11780 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11781 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11782 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11783 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11784 * sysdeps/sparc/elf/configure: Regenerated.
11785
7b1902cb
JM
117862012-03-01 Joseph Myers <joseph@codesourcery.com>
11787
bec039bc
JM
11788 * configure.in (AS, LD): Require binutils 2.20 or later.
11789 * configure: Regenerated.
11790 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11791 as required minimum version.
11792 * INSTALL: Regenerated.
11793
7b1902cb
JM
11794 [BZ #2541]
11795 [BZ #4108]
11796 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11797 before squaring exponent.
11798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11799 bottom long double and 27 bits of top long double before squaring
11800 exponent.
11801 * math/libm-test.inc (erfc_test): Add more tests.
11802 * sysdeps/i386/fpu/libm-test-ulps: Update.
11803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11805
f775c276
KT
118062012-03-01 Kai Tietz <ktietz@redhat.com>
11807
11808 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11809 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11810 containing bit-fields.
11811 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11812 * soft-fp/single.h (_FP_UNION_S): Likewise.
11813 * soft-fp/double.h (_FP_UNION_D): Likewise.
11814
5b8a4d4a
JM
118152012-02-29 Joseph Myers <joseph@codesourcery.com>
11816
0bab47b6
JM
11817 [BZ #13786]
11818 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11819 not include ../strcmp.S.
11820 [USE_AS_STRNCASECMP_L]: Likewise.
11821 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11822 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11823 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11824 (__strncasecmp_l_ia32): Define as alias to
11825 __strncasecmp_l_nonascii.
11826
0fcad3e2
JM
11827 [BZ #5794]
11828 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11829 * sysdeps/i386/fpu/libm-test-ulps: Update.
11830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11831
5b8a4d4a
JM
11832 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11834
8fdceb2e
JL
118352012-02-29 Jeff Law <law@redhat.com>
11836
11837 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11838 out of bounds read.
11839
1f393a11
MP
118402012-02-29 Marek Polacek <polacek@redhat.com>
11841
11842 [BZ #13706]
11843 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11844 * elf/Makefile: Add rules to run tst-unused-dep.out.
11845
8847f037
DM
118462012-02-28 David S. Miller <davem@davemloft.net>
11847
11848 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11849 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11850 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11851 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11852 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11853 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11854
169d7f11
JM
118552012-02-29 Joseph Myers <joseph@codesourcery.com>
11856
11857 * math/libm-test.inc (llround_test): Move one test from
11858 lround_test. Use TEST_f_L in moved test.
11859 (lround_test): Move misplaced test to llround_test. Add testcase
11860 from bug 2561.
11861
39adf059
UD
118622012-02-28 Ulrich Drepper <drepper@gmail.com>
11863
11864 * sysdeps/x86_64/fpu/e_expf.S: New file.
11865 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11866
71b5d1c5
SB
118672012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11868
11869 [BZ #13637]
11870 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11871 of remain_len that may cause incomplete multi-byte character and
11872 false match.
11873 * posix/bug-regex33.c: New file.
11874 * posix/Makefile (tests): Add bug-regex33.
11875
1f77f049
JM
118762012-02-28 Joseph Myers <joseph@codesourcery.com>
11877
11878 * manual/macros.texi: New file.
11879 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11880 * manual/libc.texinfo: Include macros.texi.
11881 * manual/creatute.texi: Likewise.
11882 * manual/install.texi: Likewise.
11883 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11884 @glibcadj{} in references to the GNU C Library.
11885 * manual/charset.texi: Likewise.
11886 * manual/conf.texi: Likewise.
11887 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11888 when not using those macros.
11889 * manual/creature.texi: Likewise.
11890 * manual/crypt.texi: Likewise.
11891 * manual/errno.texi: Likewise.
11892 * manual/filesys.texi: Likewise.
11893 * manual/header.texi: Likewise.
11894 * manual/install.texi: Likewise.
11895 * manual/intro.texi: Likewise.
11896 * manual/io.texi: Likewise.
11897 * manual/job.texi: Likewise.
11898 * manual/lang.texi: Likewise.
11899 * manual/libc.texiinfo: Likewise.
11900 * manual/llio.texi: Likewise.
11901 * manual/locale.texi: Likewise.
11902 * manual/maint.texi: Likewise.
11903 * manual/math.texi: Likewise.
11904 * manual/memory.texi: Likewise.
11905 * manual/message.texi: Likewise.
11906 * manual/nss.texi: Likewise.
11907 * manual/pattern.texi: Likewise.
11908 * manual/process.texi: Likewise.
11909 * manual/resource.texi: Likewise.
11910 * manual/search.texi: Likewise.
11911 * manual/setjmp.texi: Likewise.
11912 * manual/signal.texi: Likewise.
11913 * manual/socket.texi: Likewise.
11914 * manual/startup.texi: Likewise.
11915 * manual/stdio.texi: Likewise.
11916 * manual/string.texi: Likewise.
11917 * manual/sysinfo.texi: Likewise.
11918 * manual/syslog.texi: Likewise.
11919 * manual/terminal.texi: Likewise.
11920 * manual/time.texi: Likewise.
11921 * manual/users.texi: Likewise.
11922 * INSTALL: Regenerated.
11923 * NOTES: Regenerated.
d40c5d54 11924 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11925
450bf206
AS
119262012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11927
11928 * include/dirent.h: Include <dirstream.h> before
11929 <dirent/dirent.h>.
11930
741a235b
DM
119312012-02-28 David S. Miller <davem@davemloft.net>
11932
11933 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11934 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11935 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11936 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11937
d6b5aa58
DM
119382012-02-27 David S. Miller <davem@davemloft.net>
11939
1aff59a3
DM
11940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11942 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11943 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11944
d6b5aa58
DM
11945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11946 frame pointer instead of stack pointer relative arg slot.
11947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11948 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11949 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11950
433f48bf
CD
119512012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11952
11953 [BZ #3992]
11954 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11955
d674b76d
DM
119562012-02-27 David S. Miller <davem@davemloft.net>
11957
11958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11962 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11963 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11964 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11965 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11966
0e7727f7
JM
119672012-02-27 Joseph Myers <joseph@codesourcery.com>
11968
11969 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11970 later. Allow versions 5-9.
43be4ca2 11971 * configure: Regenerated.
0e7727f7
JM
11972 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11973 required minimum version and 4.6 as recommended version. Do not
11974 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11975 * INSTALL: Regenerated.
0e7727f7 11976
a78bc654
DM
119772012-02-27 David S. Miller <davem@davemloft.net>
11978
428d5830
DM
11979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11983 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11984 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11985 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11986 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11987
a78bc654
DM
11988 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11989 manipulate bits before adding and subtracting TWO112[sx].
11990 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11991
4579f81c
RM
119922012-02-27 Roland McGrath <roland@hack.frob.com>
11993
36c8acb4
RM
11994 [BZ #13775]
11995 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11996 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11997 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11998 being in POSIX, because they are in 1003.1-2008.
11999
84ad622b
RM
12000 * rt/tst-aio.c: Include <fcntl.h>.
12001 * rt/tst-aio7.c: Likewise.
12002 * rt/tst-aio64.c: Likewise.
12003
4579f81c
RM
12004 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12005
abd923db
JM
120062012-02-27 Joseph Myers <joseph@codesourcery.com>
12007
12008 * manual/install.texi (--with-headers): Describe headers as
12009 interface headers, not private headers.
12010 (Specific advice for GNU/Linux systems): Describe use of headers
12011 from "make headers_install", not private headers from older
12012 kernels.
43be4ca2 12013 * INSTALL: Regenerated.
abd923db
JM
12014 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12015 Change to 2.6.19.
12016 * sysdeps/unix/sysv/linux/configure: Regenerated.
12017
6664049b
JM
12018 * manual/llio.texi (fclean): Remove documentation.
12019
bb8b6697
JM
12020 * manual/Makefile (libc-texi-generated): New variable. Include
12021 version.texi.
12022 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12023 $(libc-texi-generated), not duplicated list of files.
12024 (version.texi, stamp-version): New rules.
12025 (realclean): Remove $(libc-texi-generated), not individual files
12026 from that list. Do not remove dir-add.texinfo.
12027 * manual/libc.texinfo: Comment out uses of edition numbers and
12028 references to printed manual. Remove last-updated dates.
12029 (EDITION): Comment out.
12030 (ISBN): Likewise.
12031 (VERSION, UPDATED): Remove.
12032 (version.texi): Include.
12033
12e5c3b9
AS
120342012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12035
12036 * sysdeps/posix/spawni.c: Include <signal.h>.
12037 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12038 * sysdeps/pthread/aio_fsync.c: Likewise.
12039
4efeffc1 120402012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12041
ba63ba08
UD
12042 * conform/Makefile (tests): Run only when not cross-compiling and
12043 when fast-check is not defined.
12044
d94a4670
UD
12045 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12046 * conform/data/limits.h-data: Fixes for POSIX2008.
12047 * conform/run-conformtest.sh: Run all tests.
12048 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12049 headers.
12050 * include/bits/dlfcn.h: Likewise.
12051 * include/langinfo.h: Likewise.
12052 * include/monetary.h: Likewise.
12053 * include/sys/poll.h: Likewise.
12054
12055 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12056 for __USE_GNU.
12057 * posix/spawn.h: Define __need_sigset_t.
12058 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12059 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12060 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12061 to get sigevent_t only.
12062 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12063 only for __USE_GNU.
12064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12065 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12066 process_vm_writev only for __USE_GNU.
12067 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12068
12069 * conform/Makefile: For now ignore errors from run-conformtest.
12070 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12071 POSIX to avoid namespace pollution. Don't prepend headers.
12072 * conform/data/aio.h-data: Fixes for POSIX testing.
12073 * conform/data/fcntl.h-data: Likewise.
12074 * conform/data/glob.h-data: Likewise.
12075 * conform/data/grp.h-data: Likewise.
12076 * conform/data/pthread.h-data: Likewise.
12077 * conform/data/pwd.h-data: Likewise.
12078 * conform/data/signal.h-data: Likewise.
12079 * conform/data/spawn.h-data: Likewise.
12080 * conform/data/stdio.h-data: Likewise.
12081 * conform/data/stdlib.h-data: Likewise.
12082 * conform/data/stropts.h-data: Likewise.
12083 * conform/data/sys/mman.h-data: Likewise.
12084 * conform/data/sys/stat.h-data: Likewise.
12085 * conform/data/sys/types.h-data: Likewise.
12086 * conform/data/sys/wait.h-data: Likewise.
12087 * conform/data/time.h-data: Likewise.
12088 * conform/data/unistd.h-data: Likewise.
12089 * conform/data/utime.h-data: Likewise.
12090
12091 * io/sys/stat.h: fchmod was always in POSIX.
12092 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12093 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12094 * rt/aio.h: Define __need_timespec before including <time.h>.
12095 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12096 struct. Add forward declaration of pthread_attr_t and use it in
12097 sigevent.
12098 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12099 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12100 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12101 always remove CLK_TCK definition.
12102
c20105c3
AS
121032012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12104
12105 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12106
7a270350
UD
121072012-02-25 Ulrich Drepper <drepper@gmail.com>
12108
31341567
UD
12109 * conform/run-conformtest.sh: New file.
12110 * conform/Makefile: Run run-conformtest for tests.
12111 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12112 support.
12113
12114 * conform/data/uchar.h-data: New file.
12115 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12116 * conform/data/arpa/inet.h-data: Likewise.
12117 * conform/data/assert.h-data: Likewise.
12118 * conform/data/complex.h-data: Likewise.
12119 * conform/data/cpio.h-data: Likewise.
12120 * conform/data/ctype.h-data: Likewise.
12121 * conform/data/dirent.h-data: Likewise.
12122 * conform/data/dlfcn.h-data: Likewise.
12123 * conform/data/errno.h-data: Likewise.
12124 * conform/data/fcntl.h-data: Likewise.
12125 * conform/data/float.h-data: Likewise.
12126 * conform/data/fmtmsg.h-data: Likewise.
12127 * conform/data/fnmatch.h-data: Likewise.
12128 * conform/data/ftw.h-data: Likewise.
12129 * conform/data/glob.h-data: Likewise.
12130 * conform/data/grp.h-data: Likewise.
12131 * conform/data/iconv.h-data: Likewise.
12132 * conform/data/inttypes.h-data: Likewise.
12133 * conform/data/langinfo.h-data: Likewise.
12134 * conform/data/libgen.h-data: Likewise.
12135 * conform/data/limits.h-data: Likewise.
12136 * conform/data/locale.h-data: Likewise.
12137 * conform/data/math.h-data: Likewise.
12138 * conform/data/monetary.h-data: Likewise.
12139 * conform/data/mqueue.h-data: Likewise.
12140 * conform/data/ndbm.h-data: Likewise.
12141 * conform/data/net/if.h-data: Likewise.
12142 * conform/data/netdb.h-data: Likewise.
12143 * conform/data/netinet/in.h-data: Likewise.
12144 * conform/data/nl_types.h-data: Likewise.
12145 * conform/data/poll.h-data: Likewise.
12146 * conform/data/pthread.h-data: Likewise.
12147 * conform/data/pwd.h-data: Likewise.
12148 * conform/data/regex.h-data: Likewise.
12149 * conform/data/sched.h-data: Likewise.
12150 * conform/data/search.h-data: Likewise.
12151 * conform/data/semaphore.h-data: Likewise.
12152 * conform/data/setjmp.h-data: Likewise.
12153 * conform/data/signal.h-data: Likewise.
12154 * conform/data/spawn.h-data: Likewise.
12155 * conform/data/stdarg.h-data: Likewise.
12156 * conform/data/stdio.h-data: Likewise.
12157 * conform/data/stdlib.h-data: Likewise.
12158 * conform/data/string.h-data: Likewise.
12159 * conform/data/strings.h-data: Likewise.
12160 * conform/data/stropts.h-data: Likewise.
12161 * conform/data/sys/ipc.h-data: Likewise.
12162 * conform/data/sys/mman.h-data: Likewise.
12163 * conform/data/sys/msg.h-data: Likewise.
12164 * conform/data/sys/resource.h-data: Likewise.
12165 * conform/data/sys/select.h-data: Likewise.
12166 * conform/data/sys/sem.h-data: Likewise.
12167 * conform/data/sys/shm.h-data: Likewise.
12168 * conform/data/sys/socket.h-data: Likewise.
12169 * conform/data/sys/stat.h-data: Likewise.
12170 * conform/data/sys/statvfs.h-data: Likewise.
12171 * conform/data/sys/time.h-data: Likewise.
12172 * conform/data/sys/timeb.h-data: Likewise.
12173 * conform/data/sys/times.h-data: Likewise.
12174 * conform/data/sys/types.h-data: Likewise.
12175 * conform/data/sys/uio.h-data: Likewise.
12176 * conform/data/sys/un.h-data: Likewise.
12177 * conform/data/sys/utsname.h-data: Likewise.
12178 * conform/data/sys/wait.h-data: Likewise.
12179 * conform/data/syslog.h-data: Likewise.
12180 * conform/data/tar.h-data: Likewise.
12181 * conform/data/termios.h-data: Likewise.
12182 * conform/data/utime.h-data: Likewise.
12183 * conform/data/utmpx.h-data: Likewise.
12184 * conform/data/varargs.h-data: Likewise.
12185 * conform/data/wchar.h-data: Likewise.
12186 * conform/data/wctype.h-data: Likewise.
12187 * conform/data/wordexp.h-data: Likewise.
12188
12189 * include/stropts.h: New file.
12190 * include/uchar.h: New file.
12191 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12192 * include/assert.h: Likewise.
12193 * include/ctype.h: Likewise.
12194 * include/dirent.h: Likewise.
12195 * include/dlfcn.h: Likewise.
12196 * include/fcntl.h: Likewise.
12197 * include/fnmatch.h: Likewise.
12198 * include/glob.h: Likewise.
12199 * include/grp.h: Likewise.
12200 * include/libio.h: Likewise.
12201 * include/locale.h: Likewise.
12202 * include/math.h: Likewise.
12203 * include/net/if.h: Likewise.
12204 * include/netdb.h: Likewise.
12205 * include/netinet/in.h: Likewise.
12206 * include/pthread.h: Likewise.
12207 * include/pwd.h: Likewise.
12208 * include/regex.h: Likewise.
12209 * include/sched.h: Likewise.
12210 * include/search.h: Likewise.
12211 * include/setjmp.h: Likewise.
12212 * include/signal.h: Likewise.
12213 * include/stdio.h: Likewise.
12214 * include/stdlib.h: Likewise.
12215 * include/string.h: Likewise.
12216 * include/sys/cdefs.h: Likewise.
12217 * include/sys/mman.h: Likewise.
12218 * include/sys/msg.h: Likewise.
12219 * include/sys/resource.h: Likewise.
12220 * include/sys/select.h: Likewise.
12221 * include/sys/socket.h: Likewise.
12222 * include/sys/stat.h: Likewise.
12223 * include/sys/statvfs.h: Likewise.
12224 * include/sys/time.h: Likewise.
12225 * include/sys/times.h: Likewise.
12226 * include/sys/uio.h: Likewise.
12227 * include/sys/utsname.h: Likewise.
12228 * include/sys/wait.h: Likewise.
12229 * include/termios.h: Likewise.
12230 * include/time.h: Likewise.
12231 * include/ulimit.h: Likewise.
12232 * include/unistd.h: Likewise.
12233 * include/utime.h: Likewise.
12234 * include/wchar.h: Likewise.
12235 * include/wctype.h: Likewise.
12236 * include/wordexp.h: Likewise.
12237
12238 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12239
7a270350
UD
12240 * time/time.h: TIME_UTC must be a macro.
12241 Make timespec_get available for ISO C11 only as well.
12242
7724defc
UD
122432012-02-24 Ulrich Drepper <drepper@gmail.com>
12244
12245 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12246 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12247
6b1d1d46
JM
122482012-02-24 Joseph Myers <joseph@codesourcery.com>
12249
12250 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12251
0f8bbd69
JM
122522012-02-24 Joseph Myers <joseph@codesourcery.com>
12253
12254 * manual/texinfo.tex: Update to version 2012-01-19.16.
12255
66ab80bc
JM
122562012-02-24 Joseph Myers <joseph@codesourcery.com>
12257
12258 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12259
74981cc5
RM
122602012-02-24 Roland McGrath <roland@hack.frob.com>
12261
ee968201
RM
12262 [BZ #13738]
12263 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12264 * manual/fdl-1.3.texi: New file.
12265 * manual/fdl-1.1.texi: File removed.
12266
74981cc5
RM
12267 [BZ #13738]
12268 * manual/libc.texinfo (FDL_VERSION): New @set.
12269 Use it for mention of FDL in cover text.
12270 (Documentation License): Use it in @include file name.
12271
7bb764bc
JM
122722012-02-22 Joseph Myers <joseph@codesourcery.com>
12273 Roland McGrath <roland@hack.frob.com>
12274
12275 [BZ #5461]
12276 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12277 not LONG_LONG_MAX and LONG_LONG_MIN.
12278 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12279 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12280 name.
12281 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12282
6cbeae47
JM
122832012-02-22 Joseph Myers <joseph@codesourcery.com>
12284
12285 [BZ #2547]
12286 [BZ #11365]
12287 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12288 manipulate bits before adding and subtracting TWO23[sx].
12289 * math/libm-test.inc (nearbyint_test): Add more tests.
12290
fe45ce09
JM
122912012-02-22 Joseph Myers <joseph@codesourcery.com>
12292
12293 [BZ #2548]
12294 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12295 bits before adding and subtracting TWO23[sx].
12296 * math/libm-test.inc (rint_test): Add more tests.
12297 (rint_test_tonearest): Likewise.
12298 (rint_test_towardzero): Likewise.
12299 (rint_test_downward): Likewise.
12300 (rint_test_upward: Likewise.
12301
ff3b3d82
JM
123022012-02-22 Joseph Myers <joseph@codesourcery.com>
12303
12304 [BZ #10110]
12305 * include/stdc-predef.h: New file. Extracted from features.h.
12306 * include/features.h: Include stdc-predef.h.
12307 * Makefile (headers): Add stdc-predef.h.
12308 * CONFORMANCE (Compiler limitations): Update.
12309
ef0aab35
JM
123102012-02-22 Joseph Myers <joseph@codesourcery.com>
12311
12312 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12313
58639409
DM
123142012-02-21 David S. Miller <davem@davemloft.net>
12315
12316 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12317 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12318
c0e70b25
DM
123192012-02-20 David S. Miller <davem@davemloft.net>
12320
12321 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12322 using a normal save/restore sequence, rather than allocating a
12323 dummy stack frame just to store a frame pointer and restore.
12324 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12325
fb06851d
JM
123262012-02-21 Joseph Myers <joseph@codesourcery.com>
12327
12328 * manual/install.texi: Fix stray word in line-wrapped comment.
12329
7a8b71c3
DM
123302012-02-20 David S. Miller <davem@davemloft.net>
12331
d510c123
DM
12332 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12333 both binutils and gcc support GOTDATA.
12334
0722d7c2
DM
12335 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12336 "rd %pc" in the PIC register setup sequences.
12337
3d2b3019
DM
12338 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12339 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12340 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12341 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12344 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12347 (SYSCALL_ERROR_HANDLER): Likewise.
12348 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12349 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12351 (SYSCALL_ERROR_HANDLER): Likewise.
12352
c80098a9
DM
12353 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12354 (HAVE_GCC_GOTDATA): New.
12355 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12356 relocation support in both binutils and gcc.
12357 * sysdeps/sparc/elf/configure: Regenerate.
12358
3a2545a0
DM
12359 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12360 * sysdeps/sparc/sparc32/elf/configure: Delete.
12361 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12362 * sysdeps/sparc/sparc64/elf/configure: Delete.
12363 * sysdeps/sparc/elf/configure.in: New file.
12364 * sysdeps/sparc/elf/configure: Generate.
12365
7a8b71c3
DM
12366 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12367 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12368 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12369 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12370 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12371
f1e86fca
JM
123722012-02-21 Joseph Myers <joseph@codesourcery.com>
12373
12374 * manual/install.texi: Do not mention specific glibc version
12375 numbers.
12376 * manual/libc.texinfo (VERSION, UPDATED): Update.
12377 (@copying): Use @copyright{} and range of years.
12378
0e7dfaef
JM
123792012-02-21 Joseph Myers <joseph@codesourcery.com>
12380
12381 [BZ #13695]
12382 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12383 [crti.S not in sysdirs] (generated): Do not append.
12384 [crti.S not in sysdirs] (omit-deps): Likewise.
12385 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12386 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12387 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12388 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12389 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12390 Likewise.
12391 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12392 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12393 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12394 * csu/defs.awk: Remove file.
12395 * sysdeps/generic/initfini.c: Likewise.
12396 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12397 variable.
12398 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12399 Likewise.
12400
599af3ca
JM
124012012-02-20 Joseph Myers <joseph@codesourcery.com>
12402
12403 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12404 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12405 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12406 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12407 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12408 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12409 <bits/epoll.h>.
12410 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12411 (__EPOLL_PACKED): Define to empty if not defined by
12412 <bits/epoll.h>.
12413 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12415 bits/epoll.h.
12416
0e499750
JM
124172012-02-20 Joseph Myers <joseph@codesourcery.com>
12418
12419 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12420 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12421 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12422 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12423 <bits/timerfd.h>.
12424 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12426 bits/timerfd.h.
12427
5ad91f6e
JM
124282012-02-20 Joseph Myers <joseph@codesourcery.com>
12429
12430 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12431 in C locale.
12432 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12433 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12434 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12436
06b99b02
AJ
124372012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12438
12439 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12440 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12441
7638c0fd
AS
124422012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12443
12444 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12445 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12446 defined.
12447 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12448 Likewise.
12449 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12450 entry for 2.16.
12451
92221550
AJ
124522012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12453
12454 * math/w_acos.c: Use non-signaling floating-point comparisons.
12455 * math/w_acosf.c: Likewise.
12456 * math/w_acosh.c: Likewise.
12457 * math/w_acoshf.c: Likewise.
12458 * math/w_acoshl.c: Likewise.
12459 * math/w_acosl.c: Likewise.
12460 * math/w_asin.c: Likewise.
12461 * math/w_asinf.c: Likewise.
12462 * math/w_asinl.c: Likewise.
12463 * math/w_atanh.c: Likewise.
12464 * math/w_atanhf.c: Likewise.
12465 * math/w_atanhl.c: Likewise.
12466 * math/w_exp2.c: Likewise.
12467 * math/w_exp2f.c: Likewise.
12468 * math/w_exp2l.c: Likewise.
12469 * math/w_j0.c: Likewise.
12470 * math/w_j0f.c: Likewise.
12471 * math/w_j0l.c: Likewise.
12472 * math/w_j1.c: Likewise.
12473 * math/w_j1f.c: Likewise.
12474 * math/w_j1l.c: Likewise.
12475 * math/w_jn.c: Likewise.
12476 * math/w_jnf.c: Likewise.
12477 * math/w_log.c: Likewise.
12478 * math/w_log10.c: Likewise.
12479 * math/w_log10f.c: Likewise.
12480 * math/w_log10l.c: Likewise.
12481 * math/w_log2.c: Likewise.
12482 * math/w_log2f.c: Likewise.
12483 * math/w_log2l.c: Likewise.
12484 * math/w_logf.c: Likewise.
12485 * math/w_logl.c: Likewise.
12486 * math/w_sqrt.c: Likewise.
12487 * math/w_sqrtf.c: Likewise.
12488 * math/w_sqrtl.c: Likewise.
12489 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12490 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12492 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12493 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12494
ebaf36eb
JM
124952012-02-19 Joseph Myers <joseph@codesourcery.com>
12496
12497 [BZ #9739]
12498 * manual/string.texi (strnlen): Use correct parameter name in
12499 equivalent expression.
12500
71c254a6
JM
125012012-02-19 Joseph Myers <joseph@codesourcery.com>
12502
12503 [BZ #11174]
12504 * manual/users.texi (seteuid): Consistently use neweuid for
12505 argument name.
12506
16d2c631
JM
125072012-02-19 Joseph Myers <joseph@codesourcery.com>
12508
12509 [BZ #13704]
12510 * manual/nss.texi (Services in the NSS configuration): Correct
12511 list of services in example configuration file.
12512
cd837b09
NB
125132012-02-19 Nick Bowler <nbowler@draconx.ca>
12514
12515 [BZ #11322]
12516 * manual/arith.texi: Remove statements about negative zero
12517 behaving identically to zero.
12518
02c4bbad
JM
125192012-02-18 Joseph Myers <joseph@codesourcery.com>
12520
12521 [BZ #5993]
12522 * manual/install.texi: Do not document upgrading from libc5.
12523
366842e7
JM
125242012-02-18 Joseph Myers <joseph@codesourcery.com>
12525
12526 [BZ #4596]
12527 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12528
dd54084d
DM
125292012-02-18 David S. Miller <davem@davemloft.net>
12530
12531 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12532 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12533 %o7 across the call.
12534 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12535 instead.
12536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12537 SETUP_PIC_REG_LEAF.
12538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12539 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12540 * sysdeps/sparc/crtn.S: Likewise.
12541
2bcc53a3
UD
125422012-02-17 Ulrich Drepper <drepper@gmail.com>
12543
12544 * aout/Makefile: Remove.
12545
09c093b5
RK
125462012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12547
12548 [BZ #13058]
12549 * manual/examples/argp-ex1.c (main): Format definition in GNU
12550 style.
12551 * manual/examples/argp-ex2.c (main): Likewise.
12552 * manual/examples/argp-ex3.c (main): Likewise.
12553 * manual/examples/argp-ex4.c (main): Likewise.
12554 * manual/examples/longopt.c (main): Use new-style prototype
12555 definition.
12556 * manual/examples/strncat.c (main): Specify return type and use
12557 (void) for arguments.
12558 * manual/examples/subopt.c (main): Use char **argv argument.
12559
2ee633a2
JM
125602012-02-17 Joseph Myers <joseph@codesourcery.com>
12561
12562 [BZ #5077]
12563 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12564 rounding modes.
12565
0520adde
FB
125662012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12567
12568 [BZ #6907]
12569 * manual/string.texi (strchr): Change when strchrnul is
12570 recommended.
12571
3f4081cd
DGM
125722012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12573
12574 [BZ #174]
12575 * manual/locale.texi (setlocale): Document LOCPATH.
12576
d1b10e78
JM
125772012-02-17 Joseph Myers <joseph@codesourcery.com>
12578
12579 [BZ #10210]
12580 * manual/process.texi (execle): Move @dots{} before last argument.
12581
79c6869c
PB
125822012-02-17 Paul Bolle <pebolle@tiscali.nl>
12583
12584 [BZ #12047]
12585 * manual/charset.texi (Generic Charset Conversion): Fix typo
12586 (LC_TYPE -> LC_CTYPE).
12587
cc6e48bc
NB
125882012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12589
12590 [BZ #5805]
12591 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12592 (scalbnf): Likewise.
12593 (scalbnl): Likewise.
12594 (scalbln): Likewise.
12595 (scalblnf): Likewise.
12596 (scalblnl): Likewise.
12597 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12598 (vwarnx): Likewise.
12599 (verr): Likewise.
12600 (verrx): Likewise.
12601 * manual/filesys.texi (telldir): Use braces around return type.
12602 * manual/llio.texi (mmap): Add space after comma.
12603 (mmap64): Likewise.
12604 * manual/math.texi (jn): Use @var{} on parameter names.
12605 (jnf): Likewise.
12606 (jnl): Likewise.
12607 (yn): Likewise.
12608 (ynf): Likewise.
12609 (ynl): Likewise.
12610 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12611 line.
12612 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12613 "...".
12614 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12615 (sched_get_priority_max): Likewise.
12616 * manual/signal.texi (sigvec): Add space after comma.
12617 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12618 names.
12619 (if_indextoname): Likewise.
12620 (if_freenameindex): Likewise.
12621 (sendto): Use ',' instead of '.' in prototype.
12622 * manual/startup.texi (syscall): Use @dots{} instead of literal
12623 "...".
12624 * manual/stdio.texi (__fpending): Separate initial words of
12625 paragraph from @deftypefun line.
12626 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12627 "...".
12628 (vsyslog): Use @var{} on parameter names.
12629 * manual/terminal.texi (stty): Use @var{} on parameter names.
12630 * manual/users.texi (getutmp): Use @var{} on parameter names.
12631 (getutmpx): Likewise.
12632
5b23062f
JM
126332012-02-17 Joseph Myers <joseph@codesourcery.com>
12634
12635 [BZ #6884]
12636 * manual/stdio.texi (fopen): Fix typos in description of
12637 ",ccs=STRING".
12638
8dee4833
AJ
126392012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12640
12641 [BZ #4026]
12642 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12643 get clock_id definition.
12644
9078ce93
TS
126452012-02-17 Thomas Schwinge <thomas@schwinge.name>
12646
12647 [BZ #4822]
12648 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12649 (madvise): Cast every argument to void on its own.
12650
3835c55f
JM
126512012-02-17 Joseph Myers <joseph@codesourcery.com>
12652
12653 [BZ #9902]
12654 * manual/startup.texi (Exit Status): Fix typo.
12655
35c47e37
JM
126562012-02-17 Joseph Myers <joseph@codesourcery.com>
12657
12658 [BZ #10140]
12659 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12660 * manual/examples/argp-ex2.c: Likewise.
12661 * manual/examples/argp-ex3.c: Likewise.
12662
e3b69ca7
RH
126632012-02-16 Richard Henderson <rth@redhat.com>
12664
12665 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12666 * sysdeps/s390/s390-32/initfini.c: Remove.
12667 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12668 * sysdeps/s390/s390-64/initfini.c: Remove.
12669
df83af67
KK
126702012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12671
12672 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12673 compiler output for sysdeps/generic/initfini.c.
12674 * sysdeps/sh/elf/initfini.c: Remove file.
12675
f63f3380
DM
126762012-02-16 David S. Miller <davem@davemloft.net>
12677
fb59b3a4
DM
12678 [BZ #11494]
12679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12680
f63f3380
DM
12681 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12682 * sysdeps/sparc/crti.S: New file.
12683 * sysdeps/sparc/crtn.S: New file.
12684 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12685 * sysdeps/sparc/sparc64/Makefile: Likewise.
12686
df6a4a4a
MF
126872012-02-15 Mike Frysinger <vapier@gentoo.org>
12688
6dd8f3dc 12689 [BZ #3335]
df6a4a4a
MF
12690 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12691
1cac7236
RM
126922012-02-15 Roland McGrath <roland@hack.frob.com>
12693
d2c736f8
RM
12694 [BZ #4822]
12695 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12696
1cac7236
RM
12697 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12698 (write, read, close): Likewise.
12699 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12700
8e475601
JM
127012012-02-15 Joseph Myers <joseph@codesourcery.com>
12702
12703 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12704 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12705 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12706 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12707 <bits/signalfd.h>.
12708 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12710 bits/signalfd.h.
12711
ed656b40
MP
127122012-02-14 Marek Polacek <polacek@redhat.com>
12713
12714 * sysdeps/x86_64/crti.S: New file.
12715 * sysdeps/x86_64/crtn.S: New file.
12716 * sysdeps/x86_64/elf/initfini.c: Remove file.
12717
2a979d3a
JM
127182012-02-13 Joseph Myers <joseph@codesourcery.com>
12719
12720 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12721 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12722 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12723 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12724 <bits/inotify.h>.
12725 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12727 bits/inotify.h.
12728
2a418ac3
JM
127292012-02-13 Joseph Myers <joseph@codesourcery.com>
12730
12731 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12732 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12733 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12734 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12735 <bits/eventfd.h>.
12736 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12738 bits/eventfd.h.
12739
fb779be7
TS
127402012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12741
e19e83c5
RM
12742 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12743 __feraiseexcept instead of feraiseexcept.
7c35ffed 12744
fb779be7
TS
12745 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12746 nanosleep invocations.
12747 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12748 strings, and add error checking for a nanosleep invocations.
12749
59ba27a6
PE
127502012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12751
12752 Replace FSF snail mail address with URLs, as per GNU coding standards.
12753 Most of the snail mail addresses were wrong anyway, and omitting
12754 them makes the source code easier to maintain. Almost all of the
12755 changes are to license notices and to locale LC_IDENTIFICATION
12756 addresses, except for this one:
12757 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12758 not its snail mail address.
12759
57b957eb
RH
127602012-02-09 Richard Henderson <rth@twiddle.net>
12761
af850b1c
RH
12762 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12763 of kernel-features.h.
12764
57b957eb
RH
12765 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12766
6b73181a
MP
127672012-02-08 Marek Polacek <polacek@redhat.com>
12768
12769 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12770 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12771 * sysdeps/gnu/_G_config.h: Likewise.
12772 * sysdeps/generic/_G_config.h: Likewise.
12773
26ecc33a
AS
127742012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12775
6c6dbc63
AS
12776 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12777 tests.
12778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12779
e216c012
AS
12780 * sysdeps/powerpc/powerpc32/crti.S: New file.
12781 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12782 * sysdeps/powerpc/powerpc64/crti.S: New file.
12783 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12784
26ecc33a
AS
12785 * Makeconfig (have-initfini): Don't set.
12786 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12787 * configure.in (nopic_initfini): Don't substitute.
12788 * config.h.in (HAVE_INITFINI): Don't #undef.
12789 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12790 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12791
3add8e13
JM
127922012-02-08 Joseph Myers <joseph@codesourcery.com>
12793
12794 Support crti.S and crtn.S provided directly by architectures.
12795 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12796 [crti.S in sysdirs] (omit-deps): Likewise.
12797 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12798 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12799 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12800 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12801 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12802 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12803 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12804 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12805 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12806 compiler output for sysdeps/generic/initfini.c.
12807 * sysdeps/i386/elf/Makefile: Remove file.
12808 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12809
a22f12b4
MP
128102012-02-07 Marek Polacek <polacek@redhat.com>
12811
12812 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12813 * sysdeps/gnu/_G_config.h: Likewise.
12814 * sysdeps/mach/hurd/_G_config.h: Likewise.
12815
148cf100
MP
128162012-02-07 Marek Polacek <polacek@redhat.com>
12817
12818 * math/Makefile (tests): Add tst-CMPLX2.
12819 * math/tst-CMPLX2.c: New file.
12820
cfdc0dd7
AS
128212012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12822
84ba42c4
AS
12823 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12824
cfdc0dd7
AS
12825 * math/libm-test.inc (jn_test): Add missing L suffix.
12826
622c86f4
MP
128272012-02-06 Marek Polacek <polacek@redhat.com>
12828
12829 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12830 * sysdeps/i386/fpu/e_powf.S: Likewise.
12831 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12832 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12833 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12834 * sysdeps/i386/fpu/e_pow.S: Likewise.
12835 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12836 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12837 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12838 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12839 * sysdeps/i386/fpu/e_log2.S: Likewise.
12840 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12841 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12842 * sysdeps/i386/fpu/e_powl.S: Likewise.
12843 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12844 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12845 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12846 * sysdeps/i386/fpu/e_logl.S: Likewise.
12847 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12848 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12849 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12850 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12851 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12852 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12853 * sysdeps/i386/fpu/e_log.S: Likewise.
12854 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12855 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12856 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12857 * sysdeps/i386/fpu/e_logf.S: Likewise.
12858 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12859 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12860 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12861 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12862 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12863 * sysdeps/i386/fpu/e_log10.S: Likewise.
12864 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12865 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12866 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12867 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12868 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12869 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12870 * sysdeps/i386/asm-syntax.h: Likewise.
12871 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12872 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12873 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12874 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12875 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12876 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12877 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12878 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12879 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12880 * sysdeps/powerpc/sysdep.h: Likewise.
12881 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12882 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12883
d4a54ac6
JM
128842012-02-06 Joseph Myers <joseph@codesourcery.com>
12885
12886 [BZ #411]
12887 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12888
314054ea
JM
128892012-02-06 Joseph Myers <joseph@codesourcery.com>
12890
12891 * sysdeps/i386/sysdep.h: Include <features.h>.
12892 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12893 version.
12894
d8e0ca50
JM
128952012-02-05 Joseph Myers <joseph@codesourcery.com>
12896
12897 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12898 Define.
12899 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12900 LOAD_PIC_REG_STR.
12901
b1da7dd9
JM
129022012-02-03 Joseph Myers <joseph@codesourcery.com>
12903
12904 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12905 (SETUP_PIC_REG): Use GET_PC_THUNK.
12906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12907 macro.
12908
9a1d9254
JM
129092012-02-03 Joseph Myers <joseph@codesourcery.com>
12910
12911 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12912 for non-PIC compilation.
12913 (SETUP_PIC_REG): Add .p2align directive.
12914 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12915 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12916 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12917 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12918 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12919 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12920 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12922 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12923 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12924 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12925 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12926 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12927 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12928 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12929 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12930 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12931 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12932 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12933 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12934 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12935 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12936 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12937 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12938 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12940 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12942 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12943 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12944 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12945 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12946 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12947 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12948 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12949 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12950 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12951 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12952 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12953 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12954 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12955
65dc3b75
JM
129562012-02-03 Joseph Myers <joseph@codesourcery.com>
12957
12958 * math/tst-CMPLX.c: Include <stdio.h>.
12959
d55bf177
JM
129602012-01-31 Joseph Myers <joseph@codesourcery.com>
12961
12962 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12963 float.
12964 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12965 * sysdeps/sparc/bits/mathdef.h: Likewise.
12966
69db4f8f
MP
129672012-01-31 Marek Polacek <polacek@redhat.com>
12968
12969 * libio/libio.h: Don't define _PARAMS.
12970 * locale/programs/config.h: Don't define PARAMS.
12971 * stdlib/strtol_l.c: Likewise.
12972 (__strtol_l): Remove PARAMS from the prototype.
12973
41b81892
UD
129742012-01-31 Ulrich Drepper <drepper@gmail.com>
12975
3b49edc0
UD
12976 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12977 names. Just use the correct names. Remove unnecessary wrapper
12978 functions.
12979 * malloc/arena.c: Likewise.
12980 * malloc/hooks.c: Likewise.
12981
41b81892
UD
12982 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12983 ARENA_TEST says not to. Simplify test for creation of a new arena.
12984 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12985
27a25b6e
UD
129862012-01-30 Ulrich Drepper <drepper@gmail.com>
12987
12988 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12989 into tail calls.
12990 (update_get_addr): New function.
12991 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12992 GET_ADDR_MODULE parameter.
12993
c8a89e7d
JM
129942012-01-30 Joseph Myers <joseph@codesourcery.com>
12995
12996 * crypt/cert.c: Remove __STDC__ conditionals.
12997 * crypt/crypt-entry.c: Likewise.
12998 * crypt/crypt_util.c: Likewise.
12999 * libio/filedoalloc.c: Likewise.
13000 * libio/fileops.c: Likewise.
13001 * libio/genops.c: Likewise.
13002 * libio/iofclose.c: Likewise.
13003 * libio/iofdopen.c: Likewise.
13004 * libio/iofopen.c: Likewise.
13005 * libio/iofopen64.c: Likewise.
13006 * libio/iogetdelim.c: Likewise.
13007 * libio/iopopen.c: Likewise.
13008 * libio/obprintf.c: Likewise.
13009 * libio/oldfileops.c: Likewise.
13010 * libio/oldiofclose.c: Likewise.
13011 * libio/oldiofdopen.c: Likewise.
13012 * libio/oldiofopen.c: Likewise.
13013 * libio/oldiopopen.c: Likewise.
13014 * libio/wfiledoalloc.c: Likewise.
13015 * libio/wgenops.c: Likewise.
13016 * locale/programs/xmalloc.c: Likewise.
13017 * misc/syslog.c: Likewise.
13018 * stdio-common/xbug.c: Likewise.
13019 * string/memchr.c: Likewise.
13020 * string/memcmp.c: Likewise.
13021 * string/memrchr.c: Likewise.
13022 * string/rawmemchr.c: Likewise.
13023 * sysdeps/posix/getcwd.c: Likewise.
13024 * time/strftime_l.c: Likewise.
13025
3b100462
JM
130262012-01-30 Joseph Myers <joseph@codesourcery.com>
13027
13028 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
13029 * config.make.in (config-cflags-sse2avx): Define.
13030 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13031 Fix typo.
13032
607998af
CM
130332012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13034
13035 * scripts/config.guess: Update from upstream config git repository.
13036 * scripts/config.sub: Likewise.
13037
3601428f
CM
130382012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13039
3ac8b282
CM
13040 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13041 (EM_NUM): Update.
13042 (R_TILEPRO_*, R_TILEGX_*): New macros.
13043
e034841e
CM
13044 * scripts/firstversions.awk: Fix bug in version range handling.
13045
540d7568
CM
13046 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13047
3601428f
CM
13048 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13049
463de862
CM
13050 * include/sys/epoll.h: New file.
13051 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13052 libc_hidden_def.
13053
73139a76
UD
130542012-01-28 Ulrich Drepper <drepper@gmail.com>
13055
96bc5b45
UD
13056 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13057 Avoid unnecessary __WORDSIZE == 64 test.
13058 (fmaxf): Use VEX format if possible.
13059 (fmax): Likewise.
13060 (fminf): Likewise.
13061 (fmin): Likewise.
13062
56f6f6a2
UD
13063 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13064 * math/math_private.h: Remove libc_fegetround* and
13065 libc_fesetround*.
13066 * sysdeps/i386/configure.in: Check for -msse2avx.
13067 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13068 also if SSE2AVX is defined.
13069 Remove libc_fegetround* and libc_fesetround*.
13070 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13071 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13072 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13073 of HAS_YMM_USABLE.
13074 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13075 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13076 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13077 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13078 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13079
73139a76
UD
13080 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13081
d73f93a4
AZ
130822012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13083
13084 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13085 size is not set.
13086 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13087
6ee65ed6
UD
130882012-01-27 Ulrich Drepper <drepper@gmail.com>
13089
13090 [BZ #13618]
13091 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13092 relocation.
13093 * Makeconfig (libm): Define.
13094 * elf/Makefile: Add rules to build and run tst-relsort1.
13095 * elf/tst-relsort1.c: New file.
13096 * elf/tst-relsort1mod1.c: New file.
13097 * elf/tst-relsort1mod2.c: New file.
13098
8db21882
JM
130992012-01-27 Joseph Myers <joseph@codesourcery.com>
13100
13101 * math/s_ldexp.c: Remove __STDC__ conditionals.
13102 * math/s_ldexpf.c: Likewise.
13103 * math/s_ldexpl.c: Likewise.
13104 * math/s_nextafter.c: Likewise.
13105 * math/s_nexttowardf.c: Likewise.
13106 * math/s_significand.c: Likewise.
13107 * math/s_significandf.c: Likewise.
13108 * math/s_significandl.c: Likewise.
13109 * math/w_jnl.c: Likewise.
13110 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13111 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13112 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13113 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13114 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13116 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13117 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13119 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13120 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13122 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13123 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13124 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13126 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13127 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13129 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13130 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13131 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13132 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13133 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13134 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13135 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13136 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13137 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13138 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13139 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13140 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13141 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13142 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13143 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13144 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13145 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13146 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13147 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13148 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13149 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13150 * sysdeps/ieee754/k_standard.c: Likewise.
13151 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13152 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13153 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13154 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13155 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13156 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13169 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13170 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13171 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13172 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13174 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13175 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13181 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13182 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13183 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13184 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13185 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13186 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13189 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13190 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13191 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13192 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13193 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13194 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13195 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13197 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13200 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13201 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13207 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13208 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13209 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13210 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13211 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13212 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13213 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13214 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13215 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13216 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13217 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13218 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13219 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13220 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13221 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13222 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13223 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13224 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13225 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13226 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13227 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13228 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13229 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13230 * sysdeps/ieee754/s_matherr.c: Likewise.
13231 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13232 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13233 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13234 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13235
965a54a4
JM
132362012-01-26 Joseph Myers <joseph@codesourcery.com>
13237
13238 * crypt/md5.h: Remove __STDC__ conditionals.
13239 * libio/libioP.h: Likewise.
13240 * locale/programs/config.h: Likewise.
13241 * sysdeps/generic/sysdep.h: Likewise.
13242 * sysdeps/i386/asm-syntax.h: Likewise.
13243 * sysdeps/s390/asm-syntax.h: Likewise.
13244 * sysdeps/unix/sysdep.h: Likewise.
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13247
7071ad79
JM
132482012-01-26 Joseph Myers <joseph@codesourcery.com>
13249
13250 * libio/libio.h: Remove __STDC__ conditionals.
13251 * malloc/obstack.h: Likewise.
13252 * math/complex.h: Likewise.
13253 * math/math.h: Likewise.
13254 * sysdeps/generic/_G_config.h: Likewise.
13255 * sysdeps/gnu/_G_config.h: Likewise.
13256 * sysdeps/mach/hurd/_G_config.h: Likewise.
13257 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13258 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13259 * sysdeps/sparc/bits/mathdef.h: Likewise.
13260
afc5ed09
UD
132612012-01-26 Ulrich Drepper <drepper@gmail.com>
13262
13263 [BZ #13583]
13264 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13265 Clean up HAS_* macros.
afc5ed09 13266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13267 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13268 possible.
13269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13270 HAS_AVX.
13271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13272 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13276
bdb6de1d
JM
132772012-01-25 Joseph Myers <joseph@codesourcery.com>
13278
13279 * elf/tst-unique3.cc (gets): Remove declaration.
13280 * elf/tst-unique3lib.cc (gets): Likewise.
13281 * elf/tst-unique3lib2.cc (gets): Likewise.
13282 * elf/tst-unique4.cc (gets): Likewise.
13283
b15549e6
UD
132842012-01-24 Ulrich Drepper <drepper@gmail.com>
13285
13286 * include/stdio.h: Add C++ protection. Add gets declarations and
13287 definitions.
13288 * debug/tst-chk1.c: Don't declare gets here.
13289 * stdio-common/tst-gets.c: Likewise.
13290
a037381f
JM
132912012-01-24 Joseph Myers <joseph@codesourcery.com>
13292
13293 * posix/glob: Remove directory.
13294
f1d4aa75
JM
132952012-01-24 Joseph Myers <joseph@codesourcery.com>
13296
13297 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13298
81c0c964
PT
132992012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13300
13301 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13302 of the non-standard EPFNOSUPPORT.
13303
0ea698ae
ST
133042011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13305
13306 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13307 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13308 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13309
d220b117
UD
133102012-01-21 Ulrich Drepper <drepper@gmail.com>
13311
13312 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13313
3e1aa84e
UD
133142012-01-20 Ulrich Drepper <drepper@gmail.com>
13315
13316 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13317 transient errors.
13318 * nscd/grpcache.c (cache_addgr): Likewise.
13319 * nscd/hstcache.c (cache_addhst): Likewise.
13320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13321 * nscd/pwdcache.c (cache_addpw): Likewise.
13322 * nscd/servicescache.c (cache_addserv): Likewise.
13323
400aa020
UD
133242012-01-16 Ulrich Drepper <drepper@gmail.com>
13325
d77e7869
UD
13326 * malloc/malloc.c: Various cleanups.
13327 * malloc/hooks.c: Likewise.
13328
400aa020
UD
13329 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13330 * stdlib/bug-fmtmsg1.c: New file.
13331
13332 * stdlib/fmtmsg.c (init): Add missing unlock.
13333 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13334
e0a309cf
MP
133352012-01-12 Marek Polacek <polacek@redhat.com>
13336
13337 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13338 and _GNU_SOURCE.
13339
929d11c7
WS
133402012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13341
13342 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13343 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13344 macro to ensure uniqueness of label name.
13345 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13346 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13347
41d0e869
UD
133482012-01-11 Ulrich Drepper <drepper@gmail.com>
13349
0cc5ed3b
UD
13350 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13351
41d0e869
UD
13352 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13353 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13354 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13356
a47a831a
UD
133572012-01-10 Ulrich Drepper <drepper@gmail.com>
13358
daa891c0
UD
13359 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13360
13361 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13362 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13363 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13364
e58ef0f2
UD
13365 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13366
a47a831a 13367 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13368 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13369 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13371
13372 * math/bits/math-finite.h: Add ldexp support.
13373
a0bfc9c7
MP
133742012-01-10 Marek Polacek <polacek@redhat.com>
13375
13376 * locale/programs/localedef.h (show_archive_content): Add noreturn
13377 attribute.
13378
d6e97a1d
UD
133792012-01-09 Ulrich Drepper <drepper@gmail.com>
13380
13381 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13382
d5835c26
UD
133832012-01-08 Ulrich Drepper <drepper@gmail.com>
13384
e5f484c6
UD
13385 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13386
d5835c26
UD
13387 * io/Makefile (headers): Add bits/poll2.h.
13388
d1f741e9
WS
133892011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13390
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13392 typo #include statement.
13393
ec09c1c4
UD
133942012-01-08 Ulrich Drepper <drepper@gmail.com>
13395
13396 * include/sys/cdefs.h: Define __attribute_alloc_size.
13397 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13398 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13399 * elf/pldd.c: Likewise.
13400 * iconv/iconv_charmap.c: Likewise.
13401 * iconv/iconvconfig.c: Likewise.
13402 * iconv/strtab.c: Likewise.
13403 * locale/programs/locale.c: Likewise.
13404 * locale/programs/localedef.h: Likewise.
13405 * locale/programs/simple-hash.c: Likewise.
13406 * nscd/nscd.h: Likewise.
13407 * nss/makedb.c: Likewise.
13408 * sysdeps/generic/ldconfig.h: Likewise.
13409 * locale/programs/localedef.c: Remove xmalloc prototype.
13410 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13411
20b38e03
PP
134122012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13413
13414 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13415 appropriate.
13416
a0da5fe1
UD
134172012-01-08 Ulrich Drepper <drepper@gmail.com>
13418
1d5a644a 13419 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13420 * math/tst-CMPLX.c: New file.
1d5a644a 13421
8784a6db
UD
13422 * math/complex.h (CMPLXL): Fix typo.
13423
d9a216c0
UD
13424 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13425 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13426 GLIBC_2.16.
13427 * debug/tst-chk1.c: Add poll and ppoll tests.
13428 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13429 * include/sys/poll.h: Add hidden proto for ppoll.
13430 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13431 * sysdeps/mach/hurd/ppoll.c: Likewise.
13432 * io/ppoll.c: Likewise.
13433 * debug/poll_chk.c: New file.
13434 * debug/ppoll_chk.c: New file.
13435 * include/bits/poll2.h: New file.
13436 * io/bits/poll2.h: New file.
13437
ac097f5c
UD
13438 [BZ #1350]
13439 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13440
2119dcfa
UD
13441 * configure.in: static is always set to yes. Remove.
13442 * config.make.in: Don't set build-static.
13443 * Makeconfig: Remove use of build-static.
13444 * dlfcn/Makefile: Likewise.
13445 * elf/Makefile: Likewise.
13446 * math/Makefile: Likewise.
13447 * misc/Makefile: Likewise.
13448 * nptl/Makefile: Likewise.
13449 * sysdeps/mach/hurd/Makefile: Likewise.
13450
121766a9
UD
13451 * configure.in: PWD_P is not used anymore.
13452 * config.make.in: Remove PWD_P entry.
13453
51a1d39c 13454 * configure.in: Remove last remnants of RANLIB.
8720d066 13455 No need to check for signed size_t anymore.
215f4bdc
UD
13456 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13457 and IA-64.
3857022a 13458 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13459 * aclocal.m4: Likewise.
13460
d3ed7225
UD
13461 * wcsmbs/mbrtoc16.c: Implement using towc function.
13462 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13463 * wcsmbs/wcsmbsload.c: Likewise.
13464 * iconv/gconv_simple.c: Likewise.
13465 * iconv/gconv_int.h: Likewise.
13466 * iconv/gconv_builtin.h: Likewise.
13467 * iconv/iconv_prog.c: Remove CHAR16 handling.
13468
13469 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13470
13471 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13472
a0da5fe1
UD
13473 * configure.in: Remove --with-elf and --enable-bounded options.
13474 Dont set base_machine for ia64. More non-ELF conditions removed.
13475 Remove testing and setting of leading underscore information.
13476 * config.make.in (build-bounded): Set to no.
13477 * config.h.in: Remove NO_UNDERSCORES entry.
13478 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13479 them.
13480 * csu/start.c: Remove !NO_UNDERSCORE code.
13481 * locale/localeinfo.h: Likewise.
13482 * sysdeps/generic/machine-gmon.h: Likewise.
13483 * sysdeps/generic/sysdep.h: Likewise.
13484 * sysdeps/i386/sysdep.h: Likewise.
13485 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13486 * sysdeps/mach/sysdep.h: Likewise.
13487 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13488 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13489 * sysdeps/sh/sysdep.h: Likewise.
13490 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13491 * sysdeps/unix/i386/sysdep.S: Likewise.
13492 * sysdeps/unix/sparc/start.c: Likewise.
13493 * sysdeps/unix/sparc/sysdep.S: Likewise.
13494 * sysdeps/unix/sparc/sysdep.h: Likewise.
13495 * sysdeps/unix/start.c: Likewise.
13496 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13497 * sysdeps/x86_64/sysdep.h: Likewise.
13498
df78418a
UD
134992012-01-07 Ulrich Drepper <drepper@gmail.com>
13500
a784e502
UD
13501 [BZ #13553]
13502 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13503 for non-gcc.
13504 * argp/argp-fmtstream.h: Use const instead __const.
13505 * argp/argp.h: Likewise.
13506 * assert/assert.h: Likewise.
13507 * bits/fenv.h: Likewise.
13508 * bits/sched.h: Likewise.
13509 * bits/sigset.h: Likewise.
13510 * bits/sigthread.h: Likewise.
13511 * catgets/nl_types.h: Likewise.
13512 * conform/data/pthread.h-data: Likewise.
13513 * crypt/crypt-private.h: Likewise.
13514 * crypt/crypt.h: Likewise.
13515 * crypt/crypt_util.c: Likewise.
13516 * ctype/ctype.h: Likewise.
13517 * debug/execinfo.h: Likewise.
13518 * debug/mbsnrtowcs_chk.c: Likewise.
13519 * debug/mbsrtowcs_chk.c: Likewise.
13520 * debug/wcsnrtombs_chk.c: Likewise.
13521 * debug/wcsrtombs_chk.c: Likewise.
13522 * debug/wcstombs_chk.c: Likewise.
13523 * dirent/dirent.h: Likewise.
13524 * dlfcn/dlfcn.h: Likewise.
13525 * elf/neededtest4.c: Likewise.
13526 * grp/grp.h: Likewise.
13527 * gshadow/gshadow.h: Likewise.
13528 * iconv/gconv.h: Likewise.
13529 * iconv/gconv_int.h: Likewise.
13530 * iconv/gconv_simple.c: Likewise.
13531 * iconv/iconv.h: Likewise.
13532 * iconv/loop.c: Likewise.
13533 * iconv/skeleton.c: Likewise.
13534 * include/aio.h: Likewise.
13535 * include/aliases.h: Likewise.
13536 * include/argz.h: Likewise.
13537 * include/arpa/inet.h: Likewise.
13538 * include/assert.h: Likewise.
13539 * include/dirent.h: Likewise.
13540 * include/dlfcn.h: Likewise.
13541 * include/execinfo.h: Likewise.
13542 * include/fcntl.h: Likewise.
13543 * include/fenv.h: Likewise.
13544 * include/glob.h: Likewise.
13545 * include/grp.h: Likewise.
13546 * include/libintl.h: Likewise.
13547 * include/mntent.h: Likewise.
13548 * include/netdb.h: Likewise.
13549 * include/pwd.h: Likewise.
13550 * include/rpc/netdb.h: Likewise.
13551 * include/sched.h: Likewise.
13552 * include/search.h: Likewise.
13553 * include/shadow.h: Likewise.
13554 * include/signal.h: Likewise.
13555 * include/stdio.h: Likewise.
13556 * include/stdlib.h: Likewise.
13557 * include/string.h: Likewise.
13558 * include/sys/socket.h: Likewise.
13559 * include/sys/stat.h: Likewise.
13560 * include/sys/statfs.h: Likewise.
13561 * include/sys/statvfs.h: Likewise.
13562 * include/sys/syslog.h: Likewise.
13563 * include/sys/time.h: Likewise.
13564 * include/sys/uio.h: Likewise.
13565 * include/time.h: Likewise.
13566 * include/unistd.h: Likewise.
13567 * include/utmp.h: Likewise.
13568 * include/wchar.h: Likewise.
13569 * include/wctype.h: Likewise.
13570 * inet/aliases.h: Likewise.
13571 * inet/arpa/inet.h: Likewise.
13572 * inet/netinet/ether.h: Likewise.
13573 * inet/netinet/in.h: Likewise.
13574 * intl/libintl.h: Likewise.
13575 * io/bits/fcntl2.h: Likewise.
13576 * io/fcntl.h: Likewise.
13577 * io/ftw.h: Likewise.
13578 * io/sys/poll.h: Likewise.
13579 * io/sys/stat.h: Likewise.
13580 * io/sys/statfs.h: Likewise.
13581 * io/sys/statvfs.h: Likewise.
13582 * io/utime.h: Likewise.
13583 * libio/bits/stdio.h: Likewise.
13584 * libio/bits/stdio2.h: Likewise.
13585 * libio/libio.h: Likewise.
13586 * libio/libioP.h: Likewise.
13587 * libio/stdio.h: Likewise.
13588 * locale/lc-ctype.c: Likewise.
13589 * locale/locale.h: Likewise.
13590 * login/utmp.h: Likewise.
13591 * malloc/arena.c: Likewise.
13592 * malloc/malloc.c: Likewise.
13593 * malloc/malloc.h: Likewise.
13594 * malloc/mcheck.c: Likewise.
13595 * malloc/mtrace.c: Likewise.
13596 * math/bits/mathcalls.h: Likewise.
13597 * math/fenv.h: Likewise.
13598 * math/math_private.h: Likewise.
13599 * misc/bits/error.h: Likewise.
13600 * misc/bits/syslog.h: Likewise.
13601 * misc/err.h: Likewise.
13602 * misc/error.h: Likewise.
13603 * misc/fstab.h: Likewise.
13604 * misc/mntent.h: Likewise.
13605 * misc/regexp.h: Likewise.
13606 * misc/search.h: Likewise.
13607 * misc/sgtty.h: Likewise.
13608 * misc/sys/mman.h: Likewise.
13609 * misc/sys/syslog.h: Likewise.
13610 * misc/sys/uio.h: Likewise.
13611 * misc/sys/xattr.h: Likewise.
13612 * misc/ttyent.h: Likewise.
13613 * nis/rpcsvc/ypclnt.h: Likewise.
13614 * nss/nss.h: Likewise.
13615 * posix/bits/unistd.h: Likewise.
13616 * posix/fnmatch.h: Likewise.
13617 * posix/glob.h: Likewise.
13618 * posix/sched.h: Likewise.
13619 * posix/spawn.h: Likewise.
13620 * posix/sys/wait.h: Likewise.
13621 * posix/unistd.h: Likewise.
13622 * posix/wordexp.h: Likewise.
13623 * pwd/pwd.h: Likewise.
13624 * resolv/netdb.h: Likewise.
13625 * resource/sys/resource.h: Likewise.
13626 * rt/aio.h: Likewise.
13627 * rt/bits/mqueue2.h: Likewise.
13628 * rt/mqueue.h: Likewise.
13629 * shadow/shadow.h: Likewise.
13630 * signal/signal.h: Likewise.
13631 * socket/send.c: Likewise.
13632 * socket/sendto.c: Likewise.
13633 * socket/sys/socket.h: Likewise.
13634 * stdio-common/printf.h: Likewise.
13635 * stdlib/bits/stdlib.h: Likewise.
13636 * stdlib/fmtmsg.h: Likewise.
13637 * stdlib/monetary.h: Likewise.
13638 * stdlib/stdlib.h: Likewise.
13639 * stdlib/ucontext.h: Likewise.
13640 * streams/stropts.h: Likewise.
13641 * string/argz.h: Likewise.
13642 * string/bits/string2.h: Likewise.
13643 * string/string.h: Likewise.
13644 * string/strings.h: Likewise.
13645 * sunrpc/rpc/auth.h: Likewise.
13646 * sunrpc/rpc/auth_des.h: Likewise.
13647 * sunrpc/rpc/clnt.h: Likewise.
13648 * sunrpc/rpc/netdb.h: Likewise.
13649 * sunrpc/rpc/pmap_clnt.h: Likewise.
13650 * sunrpc/rpc/xdr.h: Likewise.
13651 * sysdeps/generic/inttypes.h: Likewise.
13652 * sysdeps/generic/net/if.h: Likewise.
13653 * sysdeps/generic/sys/swap.h: Likewise.
13654 * sysdeps/gnu/net/if.h: Likewise.
13655 * sysdeps/gnu/utmpx.h: Likewise.
13656 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13657 * sysdeps/i386/i486/bits/string.h: Likewise.
13658 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13659 * sysdeps/s390/bits/string.h: Likewise.
13660 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13661 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13662 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13663 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13664 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13665 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13666 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13667 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13668 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13669 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13670 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13671 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13672 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13673 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13674 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13675 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13676 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13677 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13678 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13679 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13680 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13681 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13682 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13683 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13684 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13685 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13686 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13687 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13688 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13689 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13690 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13691 * sysvipc/sys/ipc.h: Likewise.
13692 * sysvipc/sys/msg.h: Likewise.
13693 * sysvipc/sys/sem.h: Likewise.
13694 * sysvipc/sys/shm.h: Likewise.
13695 * termios/termios.h: Likewise.
13696 * time/sys/time.h: Likewise.
13697 * time/time.h: Likewise.
13698 * wcsmbs/bits/wchar2.h: Likewise.
13699 * wcsmbs/uchar.h: Likewise.
13700 * wcsmbs/wchar.h: Likewise.
13701 * wctype/wctype.h: Likewise.
13702
0269750c
UD
13703 [BZ #13551]
13704 * Makeconfig: Remove all but ELF support including AIX support.
13705 * Makerules: Likewise.
13706 * config.h.in: Likewise.
13707 * config.make.in: Likewise.
13708 * configure: Likewise.
13709 * configure.in: Likewise.
13710 * csu/Makefile: Likewise.
13711 * csu/version.c: Likewise.
13712 * debug/Makefile: Likewise.
13713 * dlfcn/Makefile: Likewise.
13714 * elf/Makefile: Likewise.
13715 * extra-lib.mk: Likewise.
13716 * iconv/Makefile: Likewise.
13717 * include/libc-symbols.h: Likewise.
13718 * include/shlib-compat.h: Likewise.
13719 * resolv/Makefile: Likewise.
13720 * resolv/res_libc.c: Likewise.
13721 * rt/Makefile: Likewise.
13722 * sysdeps/i386/asm-syntax.h: Likewise.
13723 * sysdeps/i386/sysdep.h: Likewise.
13724 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13725 * sysdeps/mach/sysdep.h: Likewise.
13726 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13727 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13728 * sysdeps/s390/asm-syntax.h: Likewise.
13729 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13730 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13731 * sysdeps/sh/sysdep.h: Likewise.
13732 * sysdeps/unix/sparc/sysdep.h: Likewise.
13733 * sysdeps/wordsize-32/divdi3.c: Likewise.
13734 * sysdeps/x86_64/sysdep.h: Likewise.
13735
00bbd29b
UD
13736 * argp/Versions: Remove _argp_unlock_xxx.
13737
13738 [BZ #13559]
13739 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13740 * abilist/libBrokenLocale.abilist: Likewise.
13741 * abilist/libanl.abilist: Likewise.
13742 * abilist/libc.abilist: Likewise.
13743 * abilist/libcrypt.abilist: Likewise.
13744 * abilist/libdl.abilist: Likewise.
13745 * abilist/libm.abilist: Likewise.
13746 * abilist/libnsl.abilist: Likewise.
13747 * abilist/libpthread.abilist: Likewise.
13748 * abilist/libresolv.abilist: Likewise.
13749 * abilist/librt.abilist: Likewise.
13750 * abilist/libthread_db.abilist: Likewise.
13751 * abilist/libutil.abilist: Likewise.
13752 * abilist/libnss_db.abilist: New file.
13753
13754 * scripts/abilist.awk: Add support for indirect functions.
13755
a2693a0e
UD
13756 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13757
3f05895f
UD
13758 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13759
ecb6fb48
UD
13760 * shlib-versions: Remove entries for ports architectures.
13761
664f8cb9
UD
13762 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13763 files in ports.
13764 * elf/stackguard-macros.h: Remove support for IA-64.
13765 * elf/tst-auditmod1.c: Likewise.
13766 * sysdeps/generic/ldsodefs.h: Likewise.
13767
7ae81d88
UD
13768 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13769 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13770 configure files.
13771
bdeba135
UD
13772 [BZ #13552]
13773 * configure.in: Remove --enable-omitfp support.
13774 * FAQ.in: Adjust.
13775 * config.make.in: Likewise.
13776 * Makeconfig: Likewise.
13777 * manual/install.texi: Likewise.
13778
d75a0a62
UD
13779 In case anyone cares, the IA-64 architecture could move to ports.
13780 * sysdeps/ia64/*: Removed.
13781 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13782 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13783
dcc9756b
UD
13784 [BZ #13555]
13785 * configure.in: Remove entries for unsupported architectures.
13786
d3761ebc 13787 [BZ #13533]
9954432e
UD
13788 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13789 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13790 routines.
13791 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13792 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13793 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13794 fall back to using wcrtomb.
13795 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13796 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13797 renaming.
13798 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13799 * wcsmbs/tst-c16c32-1.c: New file.
13800
13801 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13802 local variable.
13803
c3a87236
UD
13804 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13805
28926a1b
UD
13806 * elf/tst-unique3.cc: Add explicit declaration of gets.
13807 * elf/tst-unique3lib.cc: Likewise.
13808 * elf/tst-unique3lib2.cc: Likewise.
13809 * elf/tst-unique4.cc: Likewise.
13810
df78418a
UD
13811 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13812
8ecd6b2a
JM
138132012-01-06 Joseph Myers <joseph@codesourcery.com>
13814
13815 [BZ #13566]
13816 * assert/assert.h (static_assert): Don't define for C++.
13817 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13818 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13819
9f115170
UD
138202012-01-03 Ulrich Drepper <drepper@gmail.com>
13821
5e0d0300
UD
13822 * iconv/loop.c (single loop): Fix assertion in storing of
13823 remaining bytes.
13824
9f115170
UD
13825 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13826
81fb02b0
UD
138272012-01-01 Ulrich Drepper <drepper@gmail.com>
13828
13829 * posix/getconf.c: Update copyright year.
13830 * nss/getent.c: Likewise.
a316c1f6 13831 * nss/makedb.c: Likewise.
81fb02b0
UD
13832 * iconv/iconvconfig.c: Likewise.
13833 * iconv/iconv_prog.c: Likewise.
13834 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13835 * elf/pldd.c: Likewise.
13836 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13837 * catgets/gencat.c: Likewise.
13838 * csu/version.c: Likewise.
13839 * elf/ldd.bash.in: Likewise.
13840 * elf/sprof.c (print_version): Likewise.
13841 * locale/programs/locale.c: Likewise.
13842 * locale/programs/localedef.c: Likewise.
a316c1f6 13843 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13844 * nscd/nscd.c (print_version): Likewise.
13845 * debug/xtrace.sh: Likewise.
13846 * malloc/memusage.sh: Likewise.
13847 * malloc/mtrace.pl: Likewise.
13848 * debug/catchsegv.sh: Likewise.
13849
2ba92745
JJ
138502011-12-30 Jakub Jelinek <jakub@redhat.com>
13851
13852 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13853 pure attribute.
13854
dadebdae
UD
138552011-12-24 Ulrich Drepper <drepper@gmail.com>
13856
d3761ebc 13857 [BZ #13533]
db6af3eb
UD
13858 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13859 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13860 transformations.
13861 * iconv/gconv_int.h: Likewise.
13862 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13863 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13864 from libc for GLIBC_2.16.
13865 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13866 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13867 * wcsmbs/uchar.h: Really define mbstate_t.
13868 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13869 * wcsmbs/c16rtomb.c: New file.
13870 * wcsmbs/mbrtoc16.c: New file.
13871 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13872 for C/POSIX locale.
13873 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13874 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13875
dadebdae
UD
13876 * wcsmbs/wchar.h: Add missing __restrict.
13877
67371b56
UD
138782011-12-23 Ulrich Drepper <drepper@gmail.com>
13879
74033a25
UD
13880 [BZ #13532]
13881 * time/Makefile (routines): Add timespec_get.
13882 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13883 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13884 timespec for ISO C11.
13885 * time/timespec_get.c: New file.
13886 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13887 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13888
380d7e87
UD
13889 [BZ #13531]
13890 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13891 * stdlib/stdlib.h: Declare aligned_alloc.
13892 * Versions.def: Add GLIBC_2.16 for libc.
13893 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13894
4e9e7a35
UD
13895 [BZ 13527]
13896 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13897 ISO C11.
13898
380d7e87 13899 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13900 code.
13901
03a71829
UD
13902 [BZ #13528]
13903 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13904
839e283e
UD
13905 [BZ #13529]
13906 * assert/assert.h (static_assert): Define.
13907
ce5294e2 13908 * version.h: Update for 2.16 development version.
90fa7312 13909
8d44e150 13910 [BZ #13526]
d7809905
UD
13911 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13912 _ISOC11_SOURCE.
13913
c0da14cd
UD
13914 * version.h (RELEASE): Bump for 2.15 release.
13915 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13916
530a3249
MP
13917 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13918 Patch by Marek Polacek <mpolacek@redhat.com>.
13919
67371b56
UD
13920 * bits/byteswap.h: Protect long long constants with __extension__.
13921 * sysdeps/i386/bits/byteswap.h: Likewise.
13922 * sysdeps/ia64/bits/byteswap.h: Likewise.
13923 * sysdeps/s390/bits/byteswap.h: Likewise.
13924 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13925
15db4de1
LD
139262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13927
13928 [BZ #13540]
bbe315ea
LD
13929 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13930 destination buffer.
15db4de1
LD
13931 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13932
2b2596b1
MP
139332011-12-23 Marek Polacek <polacek@redhat.com>
13934
13935 * elf/dl-addr.c (determine_info): Add inline keyword.
13936 * elf/tst-auditmod4b.c (check_avx): Likewise.
13937 * elf/tst-auditmod6b.c (check_avx): Likewise.
13938 * elf/tst-auditmod6c.c (check_avx): Likewise.
13939 * elf/tst-auditmod7b.c (check_avx): Likewise.
13940
70c6c246
UD
139412011-12-23 Ulrich Drepper <drepper@gmail.com>
13942
13943 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13944 !__SSE_MATH__.
13945
c044cf14
LD
139462011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13947
15db4de1 13948 [BZ #13540]
c044cf14
LD
13949 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13950 processing for last bytes.
13951
6b13d9d9
BH
139522011-08-06 Bruno Haible <bruno@clisp.org>
13953
d455f537
BH
13954 [BZ #13061]
13955 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13956 U+0385, not to U+1FEE.
13957
6b13d9d9
BH
13958 [BZ #13062]
13959 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13960 entry for U+00A5 U+0301.
13961
db910efd
UD
139622011-12-22 Ulrich Drepper <drepper@gmail.com>
13963
27deeafc
UD
13964 [BZ #13166]
13965 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13966 buffer for the output is too small.
13967
aed9d171
UD
13968 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13969 optimization.
13970
db910efd
UD
13971 [BZ #13185]
13972 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13973 SSE flags if possible.
13974
2bd779ae
LD
139752011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13976
e7f9dac3 13977 [BZ #13540]
2bd779ae
LD
13978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13979 processing for last bytes.
13980
154bfc16
JM
139812011-12-22 Joseph Myers <joseph@codesourcery.com>
13982
13983 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13984 (syscall-list-default-options, syscall-list-default-condition)
13985 (syscall-list-includes): Define.
13986 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13987 list of ABIs and options and #if conditions for each ABI. Do not
13988 handle common syscalls between ABIs specially.
13989 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13990 Remove.
13991 (syscall-list-variants, syscall-list-32bit-options)
13992 (syscall-list-32bit-condition, syscall-list-64bit-options)
13993 (syscall-list-64bit-condition): Define.
13994 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13995 (syscall-list-variants, syscall-list-32bit-options)
13996 (syscall-list-32bit-condition, syscall-list-64bit-options)
13997 (syscall-list-64bit-condition): Define.
13998 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13999 Remove.
14000 (syscall-list-variants, syscall-list-32bit-options)
14001 (syscall-list-32bit-condition, syscall-list-64bit-options)
14002 (syscall-list-64bit-condition): Define.
14003 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14004 Remove.
14005 (syscall-list-variants, syscall-list-32bit-options)
14006 (syscall-list-32bit-condition, syscall-list-64bit-options)
14007 (syscall-list-64bit-condition): Define.
14008
21eaf3a5
UD
140092011-12-22 Ulrich Drepper <drepper@gmail.com>
14010
16c6f992
UD
14011 * locale/iso-639.def: Add brx entry.
14012
41043168
UD
14013 [BZ #13328]
14014 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14015 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14016
21eaf3a5
UD
14017 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14018 __feraiseexcept_renamed.
14019
e3a851a2
UD
140202011-12-21 Ulrich Drepper <drepper@gmail.com>
14021
4920765e
UD
14022 [BZ #13538]
14023 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14024 EPOLLET with unsigned values.
14025 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14026 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14027
e3a851a2
UD
14028 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14029 to large cancellation.
14030 * math/s_cacoshf.c: Likewise.
14031 * math/s_cacoshl.c: Likewise.
14032
b27e24b8
RK
140332011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14034
14035 [BZ #13305]
aebefeee 14036 [BZ #12786]
b27e24b8
RK
14037 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14038 * math/s_cacoshf.c: Likewise.
14039 * math/s_cacoshl.c: Likewise.
14040
ee190f67
UD
140412011-12-21 Ulrich Drepper <drepper@gmail.com>
14042
14043 [BZ #13439]
14044 * iconv/gconv.h: Define __GCONV_SWAP.
14045 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14046 * iconvdata/utf-16.c: Likewise.
14047 * iconvdata/utf-32.c: Likewise.
14048
707f25df
AS
140492011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14050
14051 [BZ #13524]
14052 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14053 numerator after shifting it by one limb.
14054
d2daaa1e
RÁE
140552011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14056
14057 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14058 under [__USE_EXTERN_INLINES].
14059
a4647e72
UD
140602011-12-17 Ulrich Drepper <drepper@gmail.com>
14061
14062 [BZ #13446]
14063 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14064
f0b264f1
AZ
140652011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14066
14067 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14068 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14069 optimized code.
14070 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14071 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14072 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14073 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14074 for strncasecmp/strncasecmp_l compilation.
14075 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14076 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14077
8ef4f244
MP
140782011-12-08 Marek Polacek <mpolacek@redhat.com>
14079
14080 [BZ #13484]
14081 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14082 of __asm__.
14083
97ac2654
UD
140842011-12-17 Ulrich Drepper <drepper@gmail.com>
14085
14086 [BZ #13506]
14087 * time/tzfile.c (__tzfile_read): Check values from file header.
14088
91d2a845
WS
140892011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14090
14091 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14092 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14093 * powerpc/powerpc32/dl-start.S: Likewise.
14094 * powerpc/powerpc32/elf/start.S: Likewise.
14095 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14096 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14097 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14098 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14099 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14100 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14101 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14102 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14103 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14104 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14105 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14106 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14107 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14108 * powerpc/powerpc32/memset.S: Likewise.
14109 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14110 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14111 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14112 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14113 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14114 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14115 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14116 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14117 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14118 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14119 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14120 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14121 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14122
a1267ba1
AZ
141232011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14124
14125 * math/libm-test.inc: Added more nearbyint tests.
14126 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14127 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14128 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14129 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14130
ad8ac1bd
RL
141312011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14132
14133 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14134 FD_CLOEXEC.
14135
1d3e4b61
UD
141362011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14137
14138 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14139 Add wcscpy-ssse3 wcscpy-c.
14140 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14141 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14142 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14143 * sysdeps/x86_64/wcschr.S: New file.
14144 * sysdeps/x86_64/wcsrchr.S: New file.
14145 * string/test-strcmp.c: Remove checking of wcscmp function for
14146 wrong alignments.
14147 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14148 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14149 wcsrchr-sse2 wcsrchr-c.
14150 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14151 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14152 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14153 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14154 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14155 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14156 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14157 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14158 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14159 * wcsmbc/wcschr.c (WCSCHR): New macro.
14160
5b330a2d
UD
141612011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14162
14163 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14164 * wcsmbs/test-wcsrchr.c: New file.
14165 * string/test-strrchr.c: Add wcsrchr support.
14166 (WIDE): New macro.
14167 * wcsmbs/test-wcscpy.c: New file.
14168 * string/test-strcpy.c: Add wcscpy support.
14169 (WIDE): New macro.
26428b7c 14170
f039c043
UD
141712011-12-10 Ulrich Drepper <drepper@gmail.com>
14172
14173 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14174 the inner loop.
14175
850fb039
AS
141762011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14177
14178 [BZ #13472]
14179 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14180
4efbd5cb
UD
141812011-12-04 Ulrich Drepper <drepper@gmail.com>
14182
52ff5dd0 14183 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14184 Minor optimizations.
52ff5dd0 14185
4efbd5cb
UD
14186 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14187 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14188 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14189
8a426e12
UD
141902011-12-03 Ulrich Drepper <drepper@gmail.com>
14191
aff2453d
UD
14192 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14193 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14194 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14195 for gcc to avoid warnings.
14196 * inet/Makefile (tests): Add tst-checks.
14197 * inet/tst-checks.c: New file.
14198
14199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14200 warning.
14201
14202 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14203 __wmemcmp_sse2.
14204
14205 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14206 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14207
8a426e12
UD
14208 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14209
9bea3473
UD
142102011-12-02 Ulrich Drepper <drepper@gmail.com>
14211
3a965496
UD
14212 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14213 problem.
14214
9bea3473
UD
14215 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14216
f101631b
UD
142172011-11-29 Joseph Myers <joseph@codesourcery.com>
14218
14219 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14220 conditional on GCC version.
14221 (__arch_compare_and_exchange_val_8_acq)
14222 (__arch_compare_and_exchange_val_16_acq)
14223 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14224 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14225 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14226
a98275aa
UD
142272011-12-02 Joseph Myers <joseph@codesourcery.com>
14228
14229 * sysdeps/sh/backtrace.c: New file.
14230
d4cc29a2
AS
142312011-12-02 Andreas Schwab <schwab@redhat.com>
14232
14233 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14234 parenthesis.
14235
6257af2d
AS
142362011-12-01 Andreas Schwab <schwab@redhat.com>
14237
14238 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14239 falling back to utime.
14240
b5f44c1a
AS
142412011-11-30 Andreas Schwab <schwab@redhat.com>
14242
14243 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14244 expectations for float.
14245
f3a6cc0a
AS
142462011-11-29 Andreas Schwab <schwab@redhat.com>
14247
14248 * locale/weight.h (findidx): Add parameter len.
14249 * locale/weightwc.h (findidx): Likewise.
14250 * posix/fnmatch_loop.c (FCT): Adjust caller.
14251 * posix/regcomp.c (build_equiv_class): Likewise.
14252 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14253 * posix/regexec.c (check_node_accept_bytes): Likewise.
14254 * string/strcoll_l.c (STRCOLL): Likewise.
14255 * string/strxfrm_l.c (STRXFRM): Likewise.
14256
9d65ea3a
UD
142572011-11-17 Ulrich Drepper <drepper@gmail.com>
14258
14259 * Makefile.in: Remove CVSOPT handling.
14260 * configure.in: Remove use of AC_REVISION.
14261 * iconvdata/Makefile (distribute): No need to filter out CVS.
14262 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14263 handling.
14264
5583a086
AS
142652011-11-16 Andreas Schwab <schwab@redhat.com>
14266
14267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14268 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14269 [USE_AS_STRNCASECMP_L]: Likewise.
14270 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14271 NO_TLS_DIRECT_SEG_REFS.
14272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14273 Fix argument offsets for non-PIC.
14274 [USE_AS_STRNCASECMP_L]: Likewise.
14275 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14276 NO_TLS_DIRECT_SEG_REFS.
14277
d62a8200
UD
142782011-11-15 Ulrich Drepper <drepper@gmail.com>
14279
9d65ea3a 14280 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14281 O_CLOEXEC.
14282 * locale/loadlocale.c (_nl_load_locale): Likewise.
14283
09f93bd3
AS
142842011-11-15 Andreas Schwab <schwab@redhat.com>
14285
446514f9
AS
14286 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14287 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14288 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14289 (SYSCALL_GETTIME): Set errno on error.
14290
09f93bd3
AS
14291 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14292 count references to noai6ai_cached.
14293
312be3f9
UD
142942011-11-15 Ulrich Drepper <drepper@gmail.com>
14295
14296 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14297
14298 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14299 FD_CLOEXEC for /proc/self/maps.
14300
14301 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14302 FD_CLOEXEC for /proc/meminfo.
14303
14304 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14305 gai.conf.
14306
14307 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14308 FD_CLOEXEC for given file.
14309
14310 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14311
14312 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14313 FD_CLOEXEC for /etc/hosts.
14314 (_gethtent): Likewise.
14315
14316 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14317
14318 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14319 cancellation and set FD_CLOEXEC for /etc/netgroup.
14320
14321 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14322 reading /etc/publickey.
14323
14324 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14325 allow cancellation when reading /etc/group.
14326
14327 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14328 cancellation.
14329 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14330
14331 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14332 when using data file.
14333
14334 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14335
14336 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14337 (write_nis_obj): Use "c" and "e" in fopen.
14338
14339 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14340
14341 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14342
14343 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14344
14345 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14346
14347 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14348 locale.alias.
14349
14350 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14351
14352 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14353
14354 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14355
14356 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14357 file parsing and set FD_CLOEXEC.
14358
82af0fa8
UD
143592011-11-14 Ulrich Drepper <drepper@gmail.com>
14360
14361 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14362
a5fb313c
AS
143632011-11-14 Andreas Schwab <schwab@redhat.com>
14364
14365 * malloc/arena.c (arena_get2): Don't call reused_arena when
14366 _int_new_arena failed.
14367
6abf3465
UD
143682011-11-14 Ulrich Drepper <drepper@gmail.com>
14369
14370 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14371 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14372 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14373 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14374 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14375 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14376 to compile strcasecmp and strncasecmp.
14377 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14378 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14379
14380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14381
76e3966e
UD
143822011-11-13 Ulrich Drepper <drepper@gmail.com>
14383
14384 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14385 locale-defines.sym to gen-as-const-headers.
14386 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14387 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14389 to compile strcasecmp and strncasecmp.
14390 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14391 strcasecmp_l and strncasecmp_l.
14392 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14393 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14394 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14395 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14396 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14397 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14398 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14399 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14400 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14401 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14402 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14403
ab26144e
UD
144042011-11-12 Ulrich Drepper <drepper@gmail.com>
14405
7edb22ef
UD
14406 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14407 result of SYSDEP_GETTIME_CPU to retval.
14408 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14409 parameter list to macro. Remove trailing semicolon. Adjust users.
14410
9694fc44
UD
14411 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14412 variable.
14413
8ad89ef8
UD
14414 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14415 mantissa words.
14416 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14417
0c822ef9
UD
14418 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14419 from unused variable.
14420
874e0564
UD
14421 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14422 DWARF definitions.
14423 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14424 for assembling.
14425
3a2edc79
UD
14426 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14427 over namespaces.
14428
f3c2577f
UD
14429 * sunrpc/rpc_prot.c (rejected): Fix case value.
14430
294ce126
UD
14431 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14432 unsigned long long int to avoid warnings in shift.
14433
5e2b63c6
UD
14434 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14435 of use of trans.
14436 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14437 variable tmp.
14438
e7f4b08e
UD
14439 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14440 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14441 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14442
ab26144e
UD
14443 * nis/nis_table.c (nis_list): Use variable of correct type for
14444 result of __follow_path call.
14445
8a6d5255
AZ
144462011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14447
14448 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14449 of math functions ceil, trunc, floor, round, and sqrt, when
14450 avaliable on the platform.
14451 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14452 name clash.
14453 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14454 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14455 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14456
aaddc98c
MP
144572011-10-30 Marek Polacek <mpolacek@redhat.com>
14458
14459 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14460 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14461
95b7042b
RM
144622011-11-11 Roland McGrath <roland@hack.frob.com>
14463
14464 * include/unistd.h: Fix __readlink return type.
14465 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14466
57769839
UD
144672011-11-11 Ulrich Drepper <drepper@gmail.com>
14468
14469 * stdlib/ucontext.h: Undo last change for makecontext.
14470
edc5984d
AS
144712011-11-11 Andreas Schwab <schwab@redhat.com>
14472
98591e58
AS
14473 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14474
edc5984d
AS
14475 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14476 * setjmp/setjmp.h: Mark functions as non-leaf.
14477 * setjmp/bits/setjmp2.h: Likewise.
14478 * stdlib/ucontext.h: Likewise.
14479
77cdc054
AS
144802011-11-10 Andreas Schwab <schwab@redhat.com>
14481
14482 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14483 (reused_arena): Don't check arena limit.
14484 (arena_get2): Atomically check arena limit.
14485
fe72eebd
UD
144862011-11-08 Ulrich Drepper <drepper@gmail.com>
14487
5f078c32
UD
14488 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14489 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14490
fe72eebd
UD
14491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14492 instructions.
14493
ae1bc2fa
AS
144942011-11-07 Andreas Schwab <schwab@redhat.com>
14495
7583a88d
AS
14496 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14497 handler when locking.
14498
ae1bc2fa
AS
14499 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14500 Fix size of allocated buffer.
14501
10fb0bfa
AS
145022011-11-04 Andreas Schwab <schwab@redhat.com>
14503
998832a4
AS
14504 [BZ #10103]
14505 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14506 declarations for long double functions.
14507 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14508
10fb0bfa
AS
14509 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14510
3d7ba52b
AS
145112011-11-03 Andreas Schwab <schwab@redhat.com>
14512
a9ae54a1
AS
14513 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14514 installed.
14515
3d7ba52b
AS
14516 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14517 is disabled.
14518
bc8db248
ST
145192011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14520
14521 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14522
45b96dd6
AS
145232011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14524
647776f6
AS
14525 * include/alloca.h (stackinfo_alloca_round): Define.
14526 (extend_alloca): Use it.
14527 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14528 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14529 here.
14530
d91a8b93
AS
14531 * scripts/check-local-headers.sh: Ignore libaudit.h.
14532
45b96dd6
AS
14533 * nscd/Makefile (extra-objs): Make recursively expanded.
14534
432d41ce
UD
145352011-11-01 Ulrich Drepper <drepper@gmail.com>
14536
34372fc6
UD
14537 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14538 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14539
fadb59f8
UD
14540 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14541 * posix/tst-rfc3484-2.c: Likewise.
14542 * posix/tst-rfc3484-3.c: Likewise.
14543
78239589
UD
14544 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14545 process_vm_writev.
14546 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14547 process_vm_writev.
14548 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14549 process_vm_writev from libc using GLIBC_2.15 version.
14550
432d41ce
UD
14551 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14552
02f9c6cf
PP
145532011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14554
14555 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14556 stack usage.
14557
3a2c0242
UD
145582011-10-31 Ulrich Drepper <drepper@gmail.com>
14559
f4ec4833
UD
14560 [BZ #13367]
14561 * nss/getent.c (initgroups_keys): Show error message in case no group
14562 names are given.
14563
3a2c0242
UD
14564 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14565 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14566 __bump_nl_timestamp.
14567 * nscd/connections (nscd_init): When host database is served open
14568 netlink socket and request notification about configuration changes.
14569 (main_loop_poll): Track netlink file descriptor and bump timestamp
14570 in case data becomes available.
14571 (main_loop_epoll): Likewise.
14572 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14573 (database_pers_head): Add extra_data fileds.
14574 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14575 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14576 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14577 Adjust caller.
14578 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14579 in6ai data, call __free_in6ai.
14580 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14581 Add -DHAVE_NETLINK.
14582 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14583 interface information. Reuse previous data if netlink timestamp
14584 is not changed.
14585 (__bump_nl_timestamp): New function.
14586 (__free_in6ai): New function.
14587
636064eb
UD
145882011-10-30 Ulrich Drepper <drepper@gmail.com>
14589
14590 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14591 close_not_cancel_no_status here.
14592 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14593
9beb2334
UD
145942011-10-29 Ulrich Drepper <drepper@gmail.com>
14595
6ef76f3b
UD
14596 [BZ #13276]
14597 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14598 return value.
14599
0ffc4f3e 14600 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14601 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14602 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14603
cb95113e
UD
146042011-07-03 Andreas Jaeger <aj@suse.de>
14605
14606 [BZ #10709]
14607 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14608 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14609 * math/libm-test.inc (sin_test): Add test case.
14610
a1b560ff
UD
146112011-10-29 Ulrich Drepper <drepper@gmail.com>
14612
c9aaface
UD
14613 [BZ #13337]
14614 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14615 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14616
d272e7f1
UD
14617 * elf/chroot_canon.c (chroot_canon): Cleanups.
14618
1bc33071
UD
14619 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14620
1760874d
TJ
14621 [BZ #13335]
14622 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14623 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14624
51d91b18
UD
14625 * string/test-strchr.c: Make usable for strchrnul testing.
14626 * string/test-strchrnul.c: New file.
14627 * string/Makefile (strop-tests): Add strchrnul.
14628
a1b560ff 14629 * po/it.po: Update from translation team.
b611fb81 14630 * po/es.po: Likewise.
a1b560ff 14631
a5b81e1f
UD
146322011-10-28 Ulrich Drepper <drepper@gmail.com>
14633
fd52bc6d
UD
14634 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14635 the three constants needed as parameters. Drop the others.
14636 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14637 __m128i_strloadu_tolower.
52e4b9eb
UD
14638 Create and initialize variable zero and use it in all the places
14639 where _mm_setzero_si128 was used.
fd52bc6d 14640
a5b81e1f
UD
14641 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14642 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14643 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14644 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14645 anymore.
14646 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14647 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14648 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14649 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14650 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14651 __mpranred, __mptan.
14652 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14653 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14654 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14655 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14656 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14657 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14658 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14659 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14660 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14661
b4343346
AS
146622011-10-28 Andreas Schwab <schwab@redhat.com>
14663
0c92d8a8
AS
14664 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14665 redefine if SHARED.
14666 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14667
b4343346
AS
14668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14669 wide char related routines to wcsmbs subdir.
14670
3871f58f
AS
146712011-10-27 Andreas Schwab <schwab@redhat.com>
14672
14673 [BZ #13344]
14674 * misc/sys/cdefs.h (__THROWNL): Define.
14675 * posix/unistd.h: Use __THREADNL instead of __THREAD
14676 for memory synchronization functions.
14677
94d44d9f
RM
146782011-10-26 Roland McGrath <roland@hack.frob.com>
14679
21b64b15 14680 [BZ #13349]
94d44d9f
RM
14681 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14682 doesn't exist.
14683 * manual/stdio.texi (Obstack Streams): Node removed.
14684
f6ce9294
AS
146852011-10-26 Andreas Schwab <schwab@redhat.com>
14686
80479147
AS
14687 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14688 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14689 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14690
f6ce9294
AS
14691 * math/math_private.h (math_force_eval): Allow non-addressable
14692 arguments.
14693 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14694
618280a1
UD
146952011-10-25 Ulrich Drepper <drepper@gmail.com>
14696
e0016b11
UD
14697 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14698 file is not needed.
14699
14700 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14701 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14702 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14703 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14704 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14705 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14706 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14707 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14708 Add AVX variants.
14709 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14710 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14711 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14712 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14713 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14714 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14715 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14716 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14717 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14718 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14719 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14720 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14721 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14722 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14723 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14724 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14725 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14726 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14727 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14728
14729 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14730 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14731
618280a1
UD
14732 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14733 place. Use VEX encoding when compiling for AVX.
14734
37822576
AS
147352011-10-25 Andreas Schwab <schwab@redhat.com>
14736
1f1e1947
AS
14737 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14738 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14739
37822576
AS
14740 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14741
31ea014d
UD
147422011-10-25 Ulrich Drepper <drepper@gmail.com>
14743
d7826aa1 14744 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14745 useless if() expression.
d7826aa1
UD
14746 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14747 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14748 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14750 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14751 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14752 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14753 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14754 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14756 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14757 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14758 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14759 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14760 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14761 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14762 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14764 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14765
31ea014d
UD
14766 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14767
16437fec
AS
147682011-10-25 Andreas Schwab <schwab@redhat.com>
14769
14770 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14771 condition.
14772 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14773
31d3cc00
UD
147742011-10-25 Ulrich Drepper <drepper@gmail.com>
14775
14776 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14777 .text section. Avoid duplicate constants.
14778 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14780 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14782 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14786 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14788 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14790 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14792 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14793 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14794 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14795 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14798 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14800 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14801 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14802 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14803 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14804 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14805 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14806 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14807 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14808 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14809 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14810 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14811 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14812 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14813 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14814 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14815 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14816 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14817 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14818 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14819 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14820 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14821 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14822 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14823
58985aa9
UD
148242011-10-24 Ulrich Drepper <drepper@gmail.com>
14825
202c9deb
UD
14826 * sysdeps/x86_64/dla.h: Move to ...
14827 * sysdeps/x86_64/fpu/dla.h: ...here.
14828 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14829 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14830
af968f62
UD
14831 * config.make.in: Add have-mfma4 entry.
14832 * configure.in: Substitute libc_cv_cc_fma4.
14833 * math/Makefile (dbl-only-routines): Add sincostab.
14834 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14835 Use __sincostab not sincos.
14836 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14837 name is a macro.
14838 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14842 using __copysign.
14843 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14844 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14845 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14846 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14847 and __inv.
14848 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14849 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14850 __copysign.
14851 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14852 define aliases when function name is a macro.
14853 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14854 sysdeps/ieee754/dbl-64/sincos.tbl.
14855 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14856 fma4-enabled routines.
14857 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14858 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14859 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14860 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14861 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14862 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14864 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14866 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14867 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14868 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14869 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14870 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14871 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14872 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14873 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14874 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14875 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14877 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14878 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14879 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14880 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14881 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14882 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14883 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14884 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14885 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14886 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14887
58985aa9
UD
14888 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14889 rename.
14890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14897 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14898
a201fbcf
AS
148992011-10-24 Andreas Schwab <schwab@redhat.com>
14900
14901 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14902
fc2ee42a
LD
149032011-10-23 Ulrich Drepper <drepper@gmail.com>
14904
bb3129bd
UD
14905 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14906
0275fff8
UD
14907 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14908 prediction.
14909 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14910
2fa2ae85
UD
14911 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14912 Remove unused variable magic_bits.
14913 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14914
fc2ee42a
LD
14915 * string/strnlen.c: Define and use STRNLEN macro.
14916 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14917 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14918 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14919 * wcsmbs/wcslen.c: Define and use WCSLEN.
14920 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14921 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14922 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14923 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14924 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14925 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14926 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14927
ce7dd29f
LD
149282011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14929
14930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14931 strnlen-sse2-no-bsf.
14932 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14933 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14934 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14935 Add strnlen support.
14936 (USE_AS_STRNLEN): New macro.
14937 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14938 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14939 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14940 * sysdeps/x86_64/wcslen.S: New file.
14941
979c70a3
MZ
149422011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14943
14944 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14945 XMM-moves are used for copying on small sizes.
14946
2d09f82f
LD
149472011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14948
14949 * wcsmbs/Makefile (strop-tests): Add wcschr.
14950 * wcsmbs/test-wcschr.c: New file.
14951 * string/test-strchr.c: Update.
14952 Add wcschr support.
14953 (WIDE): New macro.
14954
619fccca
LD
149552011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14956
2d09f82f 14957 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14958 * wcsmbs/test-wcslen.c: New file.
14959 * string/test-strlen.c: Update.
14960 Add wcslen support.
14961 (WIDE): New macro.
14962
09f699ea
UD
149632011-10-23 Ulrich Drepper <drepper@gmail.com>
14964
14965 * po/it.po: Update from translation team.
14966
95584d3b
LD
149672011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14968
14969 * sysdeps/x86_64/wcscmp.S: Update.
14970 Fix wrong comparison semantics.
14971 wcscmp shall use signed comparison not unsigned.
14972 Don't use substraction to avoid overflow bug.
14973 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14974 * wcsmbc/wcscmp.c: Likewise.
14975 * string/test-strcmp.c: Likewise.
14976 Add new tests to check cases with negative values.
14977
c8b3296b
UD
149782011-10-23 Ulrich Drepper <drepper@gmail.com>
14979
14980 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14981 * sysdeps/x86_64/dla.h: ...here. New file.
14982 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14987 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14991
246ad57a
AS
149922011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14993
14994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14995 __ynl_finite aliases.
14996
a1a87169
UD
149972011-10-22 Ulrich Drepper <drepper@gmail.com>
14998
0d355eb7
UD
14999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15000
a1a87169
UD
15001 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15002 define DLA_FMA.
15003 [DLA_FMA] (EMULV): Use DLA_FMA.
15004 [DLA_FMA] (MUL12): Use EMULV.
15005 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15006 that are not needed.
15007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15012 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15014
ee2aafe0
AS
150152011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15016
15017 * math/s_nan.c: Undef __nan.
15018 * math/s_nanf.c: Undef __nanf.
15019 * math/s_nanl.c: Undef __nanl.
15020 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15021 "math_private.h".
15022
bc62c2fb
UD
150232011-10-22 Ulrich Drepper <drepper@gmail.com>
15024
77425c63
UD
15025 * math/s_catan.c: Add branch predictions.
15026 * math/s_catanf.c: Likewise.
15027 * math/s_catanh.c: Likewise.
15028 * math/s_catanhf.c: Likewise.
15029 * math/s_catanhl.c: Likewise.
15030 * math/s_catanl.c: Likewise.
15031 * math/s_cexp.c: Likewise.
15032 * math/s_cexpf.c: Likewise.
15033 * math/s_cexpl.c: Likewise.
15034 * math/s_clog.c: Likewise.
15035 * math/s_clog10.c: Likewise.
15036 * math/s_clog10f.c: Likewise.
15037 * math/s_clog10l.c: Likewise.
15038 * math/s_clogf.c: Likewise.
15039 * math/s_clogl.c: Likewise.
15040 * math/s_csqrt.c: Likewise.
15041 * math/s_csqrtf.c: Likewise.
15042 * math/s_csqrtl.c: Likewise.
15043 * math/s_ctanf.c: Likewise.
15044 * math/s_ctanh.c: Likewise.
15045 * math/s_ctanhf.c: Likewise.
15046 * math/s_ctanhl.c: Likewise.
15047 * math/s_ctanl.c: Likewise.
15048
bc62c2fb
UD
15049 * math/math_private.h: Define __nan, __nanf, __nanl.
15050 * math/s_cacosh.c: Include <math_private.h>.
15051 * math/s_cacoshl.c: Likewise.
15052 * math/s_casinh.c: Likewise.
15053 * math/s_casinhf.c: Likewise.
15054 * math/s_casinhl.c: Likewise.
15055 * math/s_ccos.c: Rely entire on ccosh.
15056 * math/s_ccosf.c: Rely entire on ccoshf.
15057 * math/s_ccosl.c: Rely entirely on ccoshl.
15058 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15059 Remove tests for FE_INVALID.
15060 * math/s_ccoshf.c: Likewise.
15061 * math/s_ccoshl.c: Likewise.
15062 * math/s_csin.c: Likewise.
15063 * math/s_csinf.c: Likewise.
15064 * math/s_csinh.c Likewise.
15065 * math/s_csinhf.c: Likewise.
15066 * math/s_csinhl.c: Likewise.
15067 * math/s_csinl.c: Likewise.
15068 * math/s_ctan.c: Likewise.
15069 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15070 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15071 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15072
8ec250a4
UD
150732011-10-21 Ulrich Drepper <drepper@gmail.com>
15074
c196fed8
UD
15075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15076 compilation problems.
15077
8ec250a4
UD
15078 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15079 __builtin_expect.
15080
8d4f46c6
UD
150812011-10-20 Ulrich Drepper <drepper@gmail.com>
15082
ed72b654
UD
15083 * sysdeps/i386/configure.in: Test for -mfma4 option.
15084 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15085 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15086 COMMON_CPUID_INDEX_80000001.
15087 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15088 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15089 use it if FMA3 is not supported.
15090 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15091
8d4f46c6
UD
15092 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15093 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15094
d45c60c2
AS
150952011-10-20 Andreas Schwab <schwab@redhat.com>
15096
15097 [BZ #12892]
15098 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15099 it would create a cycle with a link time dependency.
15100
d9a4d2ab
UD
151012011-10-19 Ulrich Drepper <drepper@gmail.com>
15102
855d1560
UD
15103 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15104 instruction.
15105 * string/Makefile (strop-tests): Add rawmemchr.
15106 * string/test-rawmemchr.c: New file.
15107
d9a4d2ab
UD
15108 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15109 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15110 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15111 when compiling str{,n}casecmp and when AVX is available. Hook up
15112 new optimized code in initializers.
15113
8f3b1ffe
AS
151142011-10-19 Andreas Schwab <schwab@redhat.com>
15115
15116 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15117 __feraiseexcept instead of feraiseexcept.
15118
d38f1dba
UD
151192011-10-18 Ulrich Drepper <drepper@gmail.com>
15120
d9a8d0ab
UD
15121 * math/math_private.h: Define defaults for libc_fetestexcept and
15122 libc_feupdateenv.
15123 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15124 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15125 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15126 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15127 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15128 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15129 libc_fetestexcept and libc_feupdateenv.
15130
4855e3dd
UD
15131 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15132 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15133 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15134 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15135 libc_feholdexcept_setround.
15136
581d30e3
UD
15137 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15138 Add s_nearbyint-c and s_nearbyintf-c.
15139 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15140 nearbyintf inlines.
15141 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15142 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15143 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15144 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15145
d38f1dba
UD
15146 * math/math_private.h: Define defaults for libc_fegetround,
15147 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15148 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15149 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15150 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15151 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15152 standard functions.
15153 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15154 Remove comments and hacks for old compiler versions.
15155 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15156 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15157 libc_feholdexceptl.
15158
caa6c9d8
AS
151592011-10-18 Andreas Schwab <schwab@redhat.com>
15160
15161 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15162 (__feraiseexcept_renamed): Add __NTH.
15163 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15164 namespace violations.
15165
97c066e6
UD
151662011-10-17 Ulrich Drepper <drepper@gmail.com>
15167
99ce7b04
UD
15168 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15169
1004d182
UD
15170 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15171
228a984d
UD
15172 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15173 recently added interfaces.
15174 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15175
c8553a6a
UD
15176 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15177 about macro parameter expansion.
15178
ed22dcf6
UD
15179 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15180 __NO_MATH_INLINES is defined. Cleanups.
15181
15182 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15183 and __floorf is target has SSE4.1.
15184 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15185 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15186 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15187 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15188
b171c137
UD
15189 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15190 name.
15191 (floorf): Likewise.
15192
97c066e6
UD
15193 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15194
629f62ef
AS
151952011-10-17 Andreas Schwab <schwab@redhat.com>
15196
49a43d80
AS
15197 * misc/sys/cdefs.h: Fix last change.
15198
629f62ef
AS
15199 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15200 database lookup.
15201
e453f6cd
UD
152022011-10-16 Ulrich Drepper <drepper@gmail.com>
15203
aa78043a
UD
15204 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15205
ad0f5cad
UD
15206 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15207 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15212 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15213 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15214 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15215 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15216 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15217 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15218 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15219 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15220 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15221 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15222 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15223 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15224 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15225 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15226 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15227 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15228
15229 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15230 ceil, ceilf, floor, floorf.
15231
15232 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15233 Perform IRELATIVE relocations last.
15234
e453f6cd
UD
15235 * elf/do-rel.h: Add another parameter nrelative, replacing the
15236 local variable with the same name. Change name of the function
15237 to end in Rel or Rela (uppercase).
15238 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15239 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15240 elf_dynamic_do_##reloc function.
15241
fd5bdc09
UD
152422011-10-15 Ulrich Drepper <drepper@gmail.com>
15243
79b195b5
UD
15244 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15245 is sufficient, at least on modern CPUs.
15246
d4a28569
UD
15247 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15248
b61099b5
UD
15249 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15250 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15251
bcf01e6d
UD
15252 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15253 __expl_finite.
15254 * math/bits/math-finite.h: Add entries for exp.
15255 * math/e_expl.c: Add __*_finite alias.
15256 * sysdeps/i386/fpu/e_exp.S: Likewise.
15257 * sysdeps/i386/fpu/e_expf.S: Likewise.
15258 * sysdeps/i386/fpu/e_expl.c: Likewise.
15259 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15260 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15261 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15262 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15263 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15264 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15265 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15266
ba1a0d59
UD
15267 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15268 is sufficient, at least on modern CPUs.
15269
fd5bdc09
UD
15270 * ctype/ctype-info.c (__ctype_init): Define.
15271 * include/ctype.h (__ctype_init): Declare.
15272 (__ctype_b_loc): The variable is always initialized.
15273 (__ctype_toupper_loc): Likewise.
15274 (__ctype_tolower_loc): Likewise.
15275 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15276 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15277
7872cfb0
AS
152782011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15279
b468825a
AS
15280 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15281
7872cfb0
AS
15282 * configure.in: Also look in $cxxmachine/include for C++ system
15283 headers.
15284
be13f7bf
LD
152852011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15286
15287 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15288 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15289 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15290 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15291 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15292 (USE_AS_WMEMCMP): New macro.
15293 Fixing indents.
15294 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15295 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15296 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15297 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15299 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15300 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15301 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15302 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15303 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15304 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15305 (USE_AS_WMEMCMP): New macro.
15306 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15307 * sysdeps/string/test-memcmp.c: Update.
15308 Fix simple_wmemcmp.
15309 Add new tests.
15310 * wcsmbs/wmemcmp.c: Update.
15311 (WMEMCMP): New macro.
15312 Fix overflow bug.
15313
556a2007
AJ
153142011-10-12 Andreas Jaeger <aj@suse.de>
15315
15316 [BZ #13268]
15317 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15318
538faaa7
UD
153192011-10-15 Ulrich Drepper <drepper@gmail.com>
15320
ab6737ff
UD
15321 * libio/iofwide.c (do_length): Avoid warning.
15322
538faaa7
UD
15323 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15324
396a21b1
UD
153252011-10-14 Ulrich Drepper <drepper@gmail.com>
15326
cdf2901f
UD
15327 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15328
38ad40ce
UD
15329 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15330 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15331 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15332 * sysdeps/i386/i686/fpu/e_log.S: New file.
15333 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15334 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15335
396a21b1
UD
15336 * ctype/ctype.h: Add support for inlined isXXX functions when
15337 compiling C++ code.
15338
6b1f68c9
AS
153392011-10-14 Andreas Schwab <schwab@redhat.com>
15340
349290c0
AS
15341 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15342
6b1f68c9
AS
15343 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15344
f2282d42
RM
153452011-10-13 Roland McGrath <roland@hack.frob.com>
15346
15347 [BZ #13291]
15348 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15349
5298ffa8
AS
153502011-10-13 Andreas Schwab <schwab@redhat.com>
15351
714fad23
AS
15352 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15353 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15354 feraiseexcept.
15355
81dcc7fb
AS
15356 * sysdeps/x86_64/memrchr.S: Check for zero size.
15357
5298ffa8
AS
15358 * string/stratcliff.c: Add memrchr tests.
15359
951fbcec
LD
153602011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15361
15362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15363 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15364 rawmemchr-sse2 rawmemchr-sse2-bsf.
15365 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15366 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15367 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15368 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15369 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15370 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15371 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15372 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15373 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15374 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15375 * string/memrchr.c (MEMRCHR): New macro.
15376
0ac5ae23
UD
153772011-10-12 Ulrich Drepper <drepper@gmail.com>
15378
15379 Add integration with gcc's -ffinite-math-only and optimize wrapper
15380 functions in libm.
15381 * Versions.def: Define GLIBC_2.15 version for libm.
15382 * math/Makefile (headers): Add bits/math-finite.h.
15383 * math/bits/math-finite.h: New file.
15384 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15385 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15386 * math/e_acoshl.c: Add __*_finite alias.
15387 * math/e_acosl.c: Likewise.
15388 * math/e_asinl.c: Likewise.
15389 * math/e_atan2l.c: Likewise.
15390 * math/e_atanhl.c: Likewise.
15391 * math/e_coshl.c: Likewise.
15392 * math/e_exp10.c: Likewise.
15393 * math/e_exp10f.c: Likewise.
15394 * math/e_exp10l.c: Likewise.
15395 * math/e_exp2l.c: Likewise.
15396 * math/e_fmodl.c: Likewise.
15397 * math/e_gammal_r.c: Likewise.
15398 * math/e_hypotl.c: Likewise.
15399 * math/e_j0l.c: Likewise.
15400 * math/e_j1l.c: Likewise.
15401 * math/e_jnl.c: Likewise.
15402 * math/e_lgammal_r.c: Likewise.
15403 * math/e_log10l.c: Likewise.
15404 * math/e_log2l.c: Likewise.
15405 * math/e_logl.c: Likewise.
15406 * math/e_powl.c: Likewise.
15407 * math/e_sinhl.c: Likewise.
15408 * math/e_sqrtl.c: Likewise.
15409 * math/e_scalb.c: Completely rewritten and optimized.
15410 * math/e_scalbf.c: Likewise.
15411 * math/e_scalbl.c: Likewise.
15412 * math/w_acos.c: Likewise.
15413 * math/w_acosf.c: Likewise.
15414 * math/w_acosl.c: Likewise.
15415 * math/w_acosh.c: Likewise.
15416 * math/w_acoshf.c: Likewise.
15417 * math/w_acoshl.c: Likewise.
15418 * math/w_asin.c: Likewise.
15419 * math/w_asinf.c: Likewise.
15420 * math/w_asinl.c: Likewise.
15421 * math/w_atan2.c: Likewise.
15422 * math/w_atan2f.c: Likewise.
15423 * math/w_atan2l.c: Likewise.
15424 * math/w_atanh.c: Likewise.
15425 * math/w_atanhf.c: Likewise.
15426 * math/w_atanhl.c: Likewise.
15427 * math/w_exp10.c: Likewise.
15428 * math/w_exp10f.c: Likewise.
15429 * math/w_exp10l.c: Likewise.
15430 * math/w_fmod.c: Likewise.
15431 * math/w_fmodf.c: Likewise.
15432 * math/w_fmodl.c: Likewise.
15433 * math/w_j0.c: Likewise.
15434 * math/w_j0f.c: Likewise.
15435 * math/w_j0l.c: Likewise.
15436 * math/w_j1.c: Likewise.
15437 * math/w_j1f.c: Likewise.
15438 * math/w_j1l.c: Likewise.
15439 * math/w_jn.c: Likewise.
15440 * math/w_jnf.c: Likewise.
15441 * math/w_log.c: Likewise.
15442 * math/w_logf.c: Likewise.
15443 * math/w_logl.c: Likewise.
15444 * math/w_log10.c: Likewise.
15445 * math/w_log10f.c: Likewise.
15446 * math/w_log10l.c: Likewise.
15447 * math/w_log2.c: Likewise.
15448 * math/w_log2f.c: Likewise.
15449 * math/w_log2l.c: Likewise.
15450 * math/w_pow.c: Likewise.
15451 * math/w_powf.c: Likewise.
15452 * math/w_powl.c: Likewise.
15453 * math/w_remainder.c: Likewise.
15454 * math/w_remainderf.c: Likewise.
15455 * math/w_remainderl.c: Likewise.
15456 * math/w_scalb.c: Likewise.
15457 * math/w_scalbf.c: Likewise.
15458 * math/w_scalbl.c: Likewise.
15459 * math/w_sqrt.c: Likewise.
15460 * math/w_sqrtf.c: Likewise.
15461 * math/w_sqrtl.c: Likewise.
15462 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15463 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15464 used.
15465 * math/math_private.h: Declare __kernel_standard_f.
15466 * math/w_cosh.c: Remove cruft and optimize a bit.
15467 * math/w_coshf.c: Likewise.
15468 * math/w_coshl.c: Likewise.
15469 * math/w_exp2.c: Likewise.
15470 * math/w_exp2f.c: Likewise.
15471 * math/w_exp2l.c: Likewise.
15472 * math/w_hypot.c: Likewise.
15473 * math/w_hypotf.c: Likewise.
15474 * math/w_hypotl.c: Likewise.
15475 * math/w_lgamma.c: Likewise.
15476 * math/w_lgamma_r.c: Likewise.
15477 * math/w_lgammaf.c: Likewise.
15478 * math/w_lgammaf_r.c: Likewise.
15479 * math/w_lgammal.c: Likewise.
15480 * math/w_lgammal_r.c: Likewise.
15481 * math/w_sinh.c: Likewise.
15482 * math/w_sinhf.c: Likewise.
15483 * math/w_sinhl.c: Likewise.
15484 * math/w_tgamma.c: Likewise.
15485 * math/w_tgammaf.c: Likewise.
15486 * math/w_tgammal.c: Likewise.
15487 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15488 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15489 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15490 Minor optimizations. Pretty printing. Remove cruft.
15491 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15492 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15493 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15494 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15495 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15496 * sysdeps/i386/fpu/e_asin.S: Likewise.
15497 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15498 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15499 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15500 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15501 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15502 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15503 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15504 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15505 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15506 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15507 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15508 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15509 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15510 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15511 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15512 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15513 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15514 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15515 * sysdeps/i386/fpu/e_log.S: Likewise.
15516 * sysdeps/i386/fpu/e_log10.S: Likewise.
15517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15518 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15519 * sysdeps/i386/fpu/e_log2.S: Likewise.
15520 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15521 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15522 * sysdeps/i386/fpu/e_logf.S: Likewise.
15523 * sysdeps/i386/fpu/e_logl.S: Likewise.
15524 * sysdeps/i386/fpu/e_pow.S: Likewise.
15525 * sysdeps/i386/fpu/e_powf.S: Likewise.
15526 * sysdeps/i386/fpu/e_powl.S: Likewise.
15527 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15528 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15529 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15530 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15531 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15532 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15533 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15534 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15535 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15536 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15537 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15539 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15540 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15541 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15542 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15543 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15544 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15545 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15546 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15547 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15549 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15550 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15552 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15553 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15556 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15557 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15558 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15559 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15560 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15561 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15562 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15563 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15564 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15565 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15566 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15567 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15568 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15569 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15570 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15571 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15572 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15573 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15574 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15575 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15576 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15577 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15578 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15579 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15580 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15581 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15582 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15583 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15585 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15586 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15589 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15590 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15591 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15596 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15599 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15600 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15601 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15602 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15603 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15604 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15605 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15606 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15607 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15608 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15609 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15610 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15612 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15613 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15614 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15615 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15616 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15617 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15618 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15619 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15620 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15621 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15622 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15623 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15624 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15625 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15626 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15627 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15628 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15629 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15630 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15631 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15632 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15633 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15634 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15635 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15636 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15637 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15638 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15639 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15640 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15641 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15642 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15643 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15644 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15645 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15646 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15647 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15648 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15649 (__isnanf): Likewise.
15650 (__isinf_ns): Likewise.
15651 (__isinf_nsf): Likewise.
15652 (__finite): Likewise.
15653 (__finitef): Likewise.
15654 (__ieee754_sqrt): Define as macro.
15655 (__ieee754_sqrtf): Define as macro.
15656 (__ieee754_sqrtl): Define as macro.
15657 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15658 inlined copy.
15659 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15660 __FINITE_MATH_ONLY__ consistent.
15661 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15662
12cc2fcd
AS
156632011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15664
a843a204
AS
15665 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15666 of rawmemchr.
15667
12cc2fcd
AS
15668 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15669
c853acd5
UD
156702011-10-09 Ulrich Drepper <drepper@gmail.com>
15671
15672 * po/ja.po: Update from translation team.
15673
c658d255
RM
156742011-10-08 Roland McGrath <roland@hack.frob.com>
15675
110946e4
RM
15676 * locale/programs/locarchive.c (prepare_address_space): New function.
15677 (create_archive, enlarge_archive, open_archive): Use it.
15678
50604220
RM
15679 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15680 inside [SHARED], where it is used.
15681
c658d255
RM
15682 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15683
15684 * nss/getent.c (netgroup_keys): Remove unused variable.
15685 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15686
6a621eb7
UD
156872011-10-08 Ulrich Drepper <drepper@gmail.com>
15688
7edb55ce
UD
15689 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15690 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15692 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15693 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15694 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15695 * math/Makefile (libm-calls): Add s_isinf_ns.
15696 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15697 * math/multc3.c: Likewise.
15698 * math/s_casin.c: Likewise.
15699 * math/s_casinf.c: Likewise.
15700 * math/s_casinl.c: Likewise.
15701 * math/s_ccos.c: Likewise.
15702 * math/s_ccosf.c: Likewise.
15703 * math/s_ccosl.c: Likewise.
15704 * math/s_ctan.c: Likewise.
15705 * math/s_ctanf.c: Likewise.
15706 * math/s_ctanh.c: Likewise.
15707 * math/s_ctanhf.c: Likewise.
15708 * math/s_ctanhl.c: Likewise.
15709 * math/s_ctanl.c: Likewise.
15710 * math/w_fmod.c: Likewise.
15711 * math/w_fmodf.c: Likewise.
15712 * math/w_fmodl.c: Likewise.
15713 * math/w_remainder.c: Likewise.
15714 * math/w_remainderf.c: Likewise.
15715 * math/w_remainderl.c: Likewise.
15716 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15717 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15718 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15720 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15721 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15722 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15723 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15724
187da0ae
UD
15725 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15726 of the number.
15727 * stdio-common/printf_fphex.c: Likewise.
15728 * stdio-common/printf_size.c: Likewise.
15729
9277c064
UD
15730 * math/e_exp10.c: Include math_private.h using <...> not "...".
15731 * math/e_exp10f.c: Likewise.
15732 * math/e_exp10l.c: Likewise.
15733 * math/e_exp2l.c: Likewise.
15734 * math/e_j0l.c: Likewise.
15735 * math/e_j1l.c: Likewise.
15736 * math/e_jnl.c: Likewise.
15737 * math/e_lgammal_r.c: Likewise.
15738 * math/e_rem_pio2l.c: Likewise.
15739 * math/e_scalb.c: Likewise.
15740 * math/e_scalbf.c: Likewise.
15741 * math/e_scalbl.c: Likewise.
15742 * math/k_cosl.c: Likewise.
15743 * math/k_sinl.c: Likewise.
15744 * math/k_tanl.c: Likewise.
15745 * math/s_cacoshf.c: Likewise.
15746 * math/s_catan.c: Likewise.
15747 * math/s_catanf.c: Likewise.
15748 * math/s_catanh.c: Likewise.
15749 * math/s_catanhf.c: Likewise.
15750 * math/s_catanhl.c: Likewise.
15751 * math/s_catanl.c: Likewise.
15752 * math/s_ccosh.c: Likewise.
15753 * math/s_ccoshf.c: Likewise.
15754 * math/s_ccoshl.c: Likewise.
15755 * math/s_cexp.c: Likewise.
15756 * math/s_cexpf.c: Likewise.
15757 * math/s_cexpl.c: Likewise.
15758 * math/s_clog.c: Likewise.
15759 * math/s_clog10.c: Likewise.
15760 * math/s_clog10f.c: Likewise.
15761 * math/s_clog10l.c: Likewise.
15762 * math/s_clogf.c: Likewise.
15763 * math/s_clogl.c: Likewise.
15764 * math/s_csin.c: Likewise.
15765 * math/s_csinf.c: Likewise.
15766 * math/s_csinh.c: Likewise.
15767 * math/s_csinhf.c: Likewise.
15768 * math/s_csinhl.c: Likewise.
15769 * math/s_csinl.c: Likewise.
15770 * math/s_csqrt.c: Likewise.
15771 * math/s_csqrtf.c: Likewise.
15772 * math/s_csqrtl.c: Likewise.
15773 * math/s_ctan.c: Likewise.
15774 * math/s_ctanf.c: Likewise.
15775 * math/s_ctanh.c: Likewise.
15776 * math/s_ctanhf.c: Likewise.
15777 * math/s_ctanhl.c: Likewise.
15778 * math/s_ctanl.c: Likewise.
15779 * math/s_ldexp.c: Likewise.
15780 * math/s_ldexpf.c: Likewise.
15781 * math/s_ldexpl.c: Likewise.
15782 * math/s_significand.c: Likewise.
15783 * math/s_significandf.c: Likewise.
15784 * math/s_significandl.c: Likewise.
15785 * math/w_acos.c: Likewise.
15786 * math/w_acosf.c: Likewise.
15787 * math/w_acosh.c: Likewise.
15788 * math/w_acoshf.c: Likewise.
15789 * math/w_acoshl.c: Likewise.
15790 * math/w_acosl.c: Likewise.
15791 * math/w_asin.c: Likewise.
15792 * math/w_asinf.c: Likewise.
15793 * math/w_asinl.c: Likewise.
15794 * math/w_atan2.c: Likewise.
15795 * math/w_atan2f.c: Likewise.
15796 * math/w_atan2l.c: Likewise.
15797 * math/w_atanh.c: Likewise.
15798 * math/w_atanhf.c: Likewise.
15799 * math/w_atanhl.c: Likewise.
15800 * math/w_cosh.c: Likewise.
15801 * math/w_coshf.c: Likewise.
15802 * math/w_coshl.c: Likewise.
15803 * math/w_dremf.c: Likewise.
15804 * math/w_exp10.c: Likewise.
15805 * math/w_exp10f.c: Likewise.
15806 * math/w_exp10l.c: Likewise.
15807 * math/w_exp2.c: Likewise.
15808 * math/w_exp2f.c: Likewise.
15809 * math/w_fmod.c: Likewise.
15810 * math/w_fmodf.c: Likewise.
15811 * math/w_fmodl.c: Likewise.
15812 * math/w_hypot.c: Likewise.
15813 * math/w_hypotf.c: Likewise.
15814 * math/w_hypotl.c: Likewise.
15815 * math/w_j0.c: Likewise.
15816 * math/w_j0f.c: Likewise.
15817 * math/w_j0l.c: Likewise.
15818 * math/w_j1.c: Likewise.
15819 * math/w_j1f.c: Likewise.
15820 * math/w_j1l.c: Likewise.
15821 * math/w_jn.c: Likewise.
15822 * math/w_jnf.c: Likewise.
15823 * math/w_jnl.c: Likewise.
15824 * math/w_lgamma.c: Likewise.
15825 * math/w_lgamma_r.c: Likewise.
15826 * math/w_lgammaf.c: Likewise.
15827 * math/w_lgammaf_r.c: Likewise.
15828 * math/w_lgammal.c: Likewise.
15829 * math/w_lgammal_r.c: Likewise.
15830 * math/w_log.c: Likewise.
15831 * math/w_log10.c: Likewise.
15832 * math/w_log10f.c: Likewise.
15833 * math/w_log10l.c: Likewise.
15834 * math/w_log2.c: Likewise.
15835 * math/w_log2f.c: Likewise.
15836 * math/w_log2l.c: Likewise.
15837 * math/w_logf.c: Likewise.
15838 * math/w_logl.c: Likewise.
15839 * math/w_pow.c: Likewise.
15840 * math/w_powf.c: Likewise.
15841 * math/w_powl.c: Likewise.
15842 * math/w_remainder.c: Likewise.
15843 * math/w_remainderf.c: Likewise.
15844 * math/w_remainderl.c: Likewise.
15845 * math/w_scalb.c: Likewise.
15846 * math/w_scalbf.c: Likewise.
15847 * math/w_scalbl.c: Likewise.
15848 * math/w_sinh.c: Likewise.
15849 * math/w_sinhf.c: Likewise.
15850 * math/w_sinhl.c: Likewise.
15851 * math/w_sqrt.c: Likewise.
15852 * math/w_sqrtf.c: Likewise.
15853 * math/w_sqrtl.c: Likewise.
15854 * math/w_tgamma.c: Likewise.
15855 * math/w_tgammaf.c: Likewise.
15856 * math/w_tgammal.c: Likewise.
15857
6a621eb7
UD
15858 * po/ja.po: Update from translation team.
15859
bf582445
AJ
158602011-09-29 Andreas Jaeger <aj@suse.de>
15861
f9efbf3a
AJ
15862 [BZ #13179]
15863 * sunrpc/netname.c (netname2host): Fix logic.
15864
bf582445
AJ
15865 [BZ #6779]
15866 [BZ #6783]
15867 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15868 correctly.
15869 * math/w_remainder.c (__remainder): Likewise.
15870 * math/w_remainderf.c (__remainderf): Likewise.
15871 * math/libm-test.inc (remainder_test): Add test cases.
15872
48693bea
AK
158732011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15874
15875 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15876 sdiv_qrnnd.
15877
42622229
LD
158782011-10-07 Ulrich Drepper <drepper@gmail.com>
15879
15880 * string/test-memcmp.c: Avoid unncessary #defines.
15881 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15882
093ecf92
LD
158832011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15884
15885 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15886 Use new sse2 version for core i3 - i7 as it's faster
15887 than sse42 version.
15888 (bit_Prefer_PMINUB_for_stringop): New.
15889 * sysdeps/x86_64/rawmemchr.S: Update.
15890 Replace with faster SSE2 version.
15891 * sysdeps/x86_64/memrchr.S: New file.
15892 * sysdeps/x86_64/memchr.S: Update.
15893 Replace with faster SSE2 version.
15894
fde56e5c
MP
158952011-09-12 Marek Polacek <mpolacek@redhat.com>
15896
15897 * elf/dl-load.c (lose): Add cast to avoid warning.
15898
21fd49a9
UD
158992011-10-07 Ulrich Drepper <drepper@gmail.com>
15900
5a06e643
UD
15901 * po/ca.po: Update from translation team.
15902
684ae515
UD
15903 * inet/getnetgrent_r.c: Hook up nscd.
15904 * nscd/Makefile (routines): Add nscd_netgroup.
15905 (nscd-modules): Add netgroupcache.
15906 (CFLAGS-netgroupcache.c): Define.
15907 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15908 (cache_search): Add const to second parameter.
15909 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15910 INNETGR.
15911 (dbs): Add netgrdb entry.
15912 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15913 (verify_persistent_db): Handle netgrdb.
15914 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15915 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15916 GETFDNETGR.
15917 (netgroup_response_header): Define.
15918 (innetgroup_response_header): Define.
15919 (datahead): Add netgroup_response_header and innetgroup_response_header
15920 elements.
15921 * nscd/nscd.conf: Add entries for netgroup cache.
15922 * nscd/nscd.h (dbtype): Add netgrdb.
15923 (_PATH_NSCD_NETGROUP_DB): Define.
15924 (netgroup_iov_disabled): Declare.
15925 (xmalloc, xcalloc, xrealloc): Move declarations here.
15926 (cache_search): Adjust prototype.
15927 Add netgroup-related prototypes.
15928 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15929 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15930 (__nscd_innetgr): Declare.
15931 * nscd/selinux.c (perms): Use access_vector_t as element type and
15932 add netgroup-related initializers.
15933 * nscd/netgroupcache.c: New file.
15934 * nscd/nscd_netgroup.c: New file.
15935 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15936 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15937 For four parameters use innetgr.
15938 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15939 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15940 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15941 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15942
21fd49a9
UD
15943 * nscd/connections.c (register_traced_file): Don't register file
15944 for disabled databases.
15945
054c0457
UD
159462011-10-06 Ulrich Drepper <drepper@gmail.com>
15947
32b63198
UD
15948 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15949
054c0457
UD
15950 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15951 from tree and freeing node.
15952
64031225
JO
159532011-09-25 Jiri Olsa <jolsa@redhat.com>
15954
15955 * nss/nsswitch.c (__nss_database_lookup): Handle
15956 nss_parse_service_list out of memory case.
15957
0490345c
JO
159582011-09-15 Jiri Olsa <jolsa@redhat.com>
15959
15960 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15961 out of memory case.
15962
3a62d00d
AS
159632011-10-04 Andreas Schwab <schwab@redhat.com>
15964
15965 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15966 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15967 pass it down.
15968 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15969 elf_machine_rela, elf_machine_lazy_rel.
15970 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15971 (ELF_DYNAMIC_DO_REL): Likewise.
15972 (ELF_DYNAMIC_DO_RELA): Likewise.
15973 (ELF_DYNAMIC_RELOCATE): Likewise.
15974 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15975 to ELF_DYNAMIC_DO_REL.
15976 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15977 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15978 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15979 elf_machine_rela.
15980 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15981 skip_ifunc, don't call ifunc function if non-zero.
15982 (elf_machine_rela): Likewise.
15983 (elf_machine_lazy_rel): Likewise.
15984 (elf_machine_lazy_rela): Likewise.
15985 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15986 (elf_machine_lazy_rel): Likewise.
15987 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15988 Likewise.
15989 (elf_machine_lazy_rel): Likewise.
15990 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15991 Likewise.
15992 (elf_machine_lazy_rel): Likewise.
15993 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15994 (elf_machine_lazy_rel): Likewise.
15995 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15996 (elf_machine_lazy_rel): Likewise.
15997 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15998 (elf_machine_lazy_rel): Likewise.
15999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16000 (elf_machine_lazy_rel): Likewise.
16001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16002 (elf_machine_lazy_rel): Likewise.
16003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16004 (elf_machine_lazy_rel): Likewise.
16005
68577918
UD
160062011-09-28 Ulrich Drepper <drepper@gmail.com>
16007
16008 * nss/nss_files/files-init.c (_nss_files_init): Use static
16009 initialization for all the *_traced_file variables.
16010
68822d74
AS
160112011-09-28 Andreas Schwab <schwab@redhat.com>
16012
16013 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16014
2056100b
RM
160152011-09-27 Roland McGrath <roland@hack.frob.com>
16016
16017 [BZ #13226]
16018 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16019
32c76b63
AS
160202011-09-27 Andreas Schwab <schwab@redhat.com>
16021
16022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16023 Reread the line before reparsing it.
16024
bf972c9d
AS
160252011-09-26 Andreas Schwab <schwab@redhat.com>
16026
16027 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16028
e057a1b5
JM
160292011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16030 Maxim Kuvyrkov <maxim@codesourcery.com>
16031 Joseph Myers <joseph@codesourcery.com>
16032
16033 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16034 if needed for __stack_chk_guard.
16035
bc7e1c36
RM
160362011-09-19 Roland McGrath <roland@hack.frob.com>
16037
ecb1482f
RM
16038 * sysdeps/posix/spawni.c (script_execute): Always define it.
16039 It will be optimized away if unused.
16040 (maybe_script_execute): New function.
16041 (__spawni): Call it.
16042
bc7e1c36
RM
16043 * Makerules: Don't include tls.make.
16044 (config-tls): Always set to thread.
16045 * tls.make.c: File removed.
16046
1c3b002b
MF
160472011-09-19 Mike Frysinger <vapier@gentoo.org>
16048
16049 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16050 * config.make.in (CPPFLAGS-config): New substituted variable.
16051
2840865d
UD
160522011-09-15 Ulrich Drepper <drepper@gmail.com>
16053
88738eb6
UD
16054 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16055
cbf645a6 16056 [BZ #13192]
2840865d
UD
16057 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16058 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16059
b402e91a
RM
160602011-09-15 Roland McGrath <roland@hack.frob.com>
16061
16062 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16063 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16064 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16065 (CALL_FAIL): Likewise.
16066 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16067 (CALL_FAIL): Macro removed.
16068 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16069
4c1a1f71
UD
160702011-09-15 Ulrich Drepper <drepper@gmail.com>
16071
16072 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16073 for __FINITE_MATH_ONLY__ == 1.
16074
edc121be
AS
160752011-09-15 Andreas Schwab <schwab@redhat.com>
16076
16077 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16078 __ieee754_sqrt instead of sqrt.
16079 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16080 __ieee754_sqrtf instead of sqrtf.
16081 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16082 __floorf instead of floorf.
16083 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16084 __floorf, __truncf instead of floorf, truncf.
16085
cd205654
UD
160862011-09-14 Ulrich Drepper <drepper@gmail.com>
16087
ee4d0315
UD
16088 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16089
cd205654
UD
16090 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16091 __extern_always_inline.
16092 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16093 32-bit.
16094
48b67d71
AS
160952011-09-14 Andreas Schwab <schwab@redhat.com>
16096
16097 * elf/rtld.c (dl_main): Also relocate in dependency order when
16098 doing symbol dependency testing.
16099
1ae12c75
AS
161002011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16101
16102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16103 Always define `refsym'.
16104
995a80df
AS
161052011-09-13 Andreas Schwab <schwab@redhat.com>
16106
e529793b
AS
16107 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16108 (__FD_ELT): Renamed from __FDELT.
16109 * misc/bits/select2.h (__FD_ELT): Likewise.
16110 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16111 __FD_MASK instead of __FDELT, __FDMASK.
16112 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16113 Likewise.
16114 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16115 Likewise.
16116
52d4fef8
AS
16117 * elf/Makefile (gen-ldd): Fix pattern.
16118
995a80df
AS
16119 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16120 (init_tls): Likewise.
16121
8682f8b0
UD
161222011-09-12 Ulrich Drepper <drepper@gmail.com>
16123
16124 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16125
de82006d
AS
161262011-09-12 Andreas Schwab <schwab@redhat.com>
16127
a7c8e6a1
AS
16128 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16129 `struct cmsghdr *' instead of `void *'.
16130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16131 Likewise.
16132
0f31fe77
AS
161332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16134
16135 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16136 if non-absolute.
16137 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16138 ldd_rewrite_script.
0f31fe77 16139
32b4c839
UD
161402011-09-11 Ulrich Drepper <drepper@gmail.com>
16141
83cd1420
UD
16142 * configure.in: Remove --with-tls option.
16143 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16144 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16145 out in case it is missing.
16146 * sysdeps/ia64/elf/configure.in: Likewise.
16147 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16148 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16149 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16150 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16151 * sysdeps/sh/elf/configure.in: Likewise.
16152 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16153 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16154 * sysdeps/x86_64/elf/configure.in: Likewise.
16155 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16156 * sysdeps/mach/hurd/tls.h: Likewise.
16157
633f745d
UD
16158 [BZ #13067]
16159 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16160
f318beb8
UD
16161 [BZ #13090]
16162 * configure.in: Fix use of AC_INIT.
16163
32b4c839
UD
16164 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16165
3ce1f295
UD
161662011-09-10 Ulrich Drepper <drepper@gmail.com>
16167
bb016596
UD
16168 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16169 __set_errno.
8e58439c
UD
16170 * malloc/hooks.c: Likewise.
16171
aebae053 16172 [BZ #11929]
02d46fc4
UD
16173 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16174 variables statically.
16175 (narenas): Initialize.
16176 (list_lock): Initialize.
bb016596
UD
16177 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16178 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16179 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16180 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16181 Add initializers to main_arena and mp_.
16182 (malloc_state): Remove pagesize member. Change all users to use
16183 GLRO(dl_pagesize).
16184
16185 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16186 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16187 is always initialized.
16188
22a89187
UD
16189 * malloc/malloc.c: Removed unused configurations and dead code.
16190 * malloc/arena.c: Likewise.
16191 * malloc/hooks.c: Likewise.
02d46fc4 16192 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16193
d063d164
UD
16194 * include/tls.h: Removed. USE___THREAD must always be defined.
16195 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16196 * elf/dl-libc.c: Likewise.
16197 * elf/dl-tsd.c: Likewise.
16198 * include/errno.h: Likewise.
16199 * include/netdb.h: Likewise.
16200 * include/resolv.h: Likewise.
16201 * inet/herrno-loc.c: Likewise.
16202 * inet/herrno.c: Likewise.
16203 * malloc/arena.c: Likewise.
16204 * malloc/hooks.c: Likewise.
16205 * malloc/malloc.c: Likewise.
16206 * resolv/res-state.c: Likewise.
16207 * resolv/res_libc.c: Likewise.
16208 * sysdeps/i386/dl-machine.h: Likewise.
16209 * sysdeps/ia64/dl-machine.h: Likewise.
16210 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16211 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16212 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16213 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16214 * sysdeps/sh/dl-machine.h: Likewise.
16215 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16216 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16217 * sysdeps/unix/i386/sysdep.S: Likewise.
16218 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16219 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16220 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16221 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16222 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16224 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16228 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16229 * sysdeps/x86_64/dl-machine.h: Likewise.
16230 * tls.make.c: Likewise.
16231
3ce1f295
UD
16232 * configure.in: Remove --with-__thread option. Make tests for
16233 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16234 tls_model attribute fail if no support is available. Remove
16235 USE_IN_LIBIO.
16236 * Makeconfig: Adjust for dropped configure option. All features are
16237 now mandatory.
16238 * Makerules: Likewise.
16239 * Versions.def: Likewise.
16240 * argp/argp-fmtstream.c: Likewise.
16241 * argp/argp-fmtstream.h: Likewise.
16242 * argp/argp-help.c: Likewise.
16243 * assert/assert.c: Likewise.
16244 * config.h.in: Likewise.
16245 * config.make.in: Likewise.
16246 * configure: Likewise.
16247 * configure.in: Likewise.
16248 * csu/Versions: Likewise.
16249 * csu/init.c: Likewise.
16250 * elf/tst-audit2.c: Likewise.
16251 * elf/tst-tls10.c: Likewise.
16252 * elf/tst-tls10.h: Likewise.
16253 * elf/tst-tls11.c: Likewise.
16254 * elf/tst-tls12.c: Likewise.
16255 * elf/tst-tls14.c: Likewise.
16256 * elf/tst-tlsmod11.c: Likewise.
16257 * elf/tst-tlsmod12.c: Likewise.
16258 * elf/tst-tlsmod13.c: Likewise.
16259 * elf/tst-tlsmod13a.c: Likewise.
16260 * elf/tst-tlsmod14a.c: Likewise.
16261 * elf/tst-tlsmod15b.c: Likewise.
16262 * elf/tst-tlsmod16a.c: Likewise.
16263 * elf/tst-tlsmod16b.c: Likewise.
16264 * elf/tst-tlsmod7.c: Likewise.
16265 * elf/tst-tlsmod8.c: Likewise.
16266 * elf/tst-tlsmod9.c: Likewise.
16267 * gmon/gmon.c: Likewise.
16268 * grp/fgetgrent_r.c: Likewise.
16269 * grp/putgrent.c: Likewise.
16270 * hurd/fopenport.c: Likewise.
16271 * include/libc-symbols.h: Likewise.
16272 * include/tls.h: Likewise.
16273 * intl/gettextP.h: Likewise.
16274 * intl/loadinfo.h: Likewise.
16275 * locale/global-locale.c: Likewise.
16276 * locale/localeinfo.h: Likewise.
16277 * mach/devstream.c: Likewise.
16278 * malloc/arena.c: Likewise.
16279 * malloc/set-freeres.c: Likewise.
16280 * misc/err.c: Likewise.
16281 * misc/getttyent.c: Likewise.
16282 * misc/mntent_r.c: Likewise.
16283 * posix/getopt.c: Likewise.
16284 * posix/wordexp.c: Likewise.
16285 * pwd/fgetpwent_r.c: Likewise.
16286 * resolv/Versions: Likewise.
16287 * resolv/res_hconf.c: Likewise.
16288 * shadow/fgetspent_r.c: Likewise.
16289 * shadow/putspent.c: Likewise.
16290 * stdio-common/printf_fphex.c: Likewise.
16291 * stdio-common/tmpfile.c: Likewise.
16292 * stdlib/abort.c: Likewise.
16293 * stdlib/fmtmsg.c: Likewise.
16294 * sunrpc/auth_unix.c: Likewise.
16295 * sunrpc/clnt_perr.c: Likewise.
16296 * sunrpc/clnt_tcp.c: Likewise.
16297 * sunrpc/clnt_udp.c: Likewise.
16298 * sunrpc/clnt_unix.c: Likewise.
16299 * sunrpc/openchild.c: Likewise.
16300 * sunrpc/svc_simple.c: Likewise.
16301 * sunrpc/svc_tcp.c: Likewise.
16302 * sunrpc/svc_udp.c: Likewise.
16303 * sunrpc/svc_unix.c: Likewise.
16304 * sunrpc/xdr.c: Likewise.
16305 * sunrpc/xdr_array.c: Likewise.
16306 * sunrpc/xdr_rec.c: Likewise.
16307 * sunrpc/xdr_ref.c: Likewise.
16308 * sunrpc/xdr_stdio.c: Likewise.
16309
1248c1c4
PB
163102011-09-09 Ulrich Drepper <drepper@gmail.com>
16311
16312 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16313
163142011-07-03 Andreas Jaeger <aj@suse.de>
16315
16316 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16317 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16318 regenerate with gen-libm-tests.pl.
16319
163202010-05-12 Petr Baudis <pasky@suse.cz>
16321
16322 [BZ #11589]
16323 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16324 around j0() zero points by switching to j1().
16325 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16326 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16329
f22e1074
UD
163302011-09-09 Ulrich Drepper <drepper@gmail.com>
16331
f19009c1
UD
16332 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16333 instead of 0.
16334 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16335 instead of 0. .
16336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16337 Patch in part by Pavel Roskin <proski@gnu.org>.
16338
3f8cc204
UD
16339 [BZ #13138]
16340 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16341 realloc.
16342 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16343 Free memory block if necessary.
16344
f22e1074
UD
16345 [BZ #12847]
16346 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16347 be NULL. Don't lock in this case.
16348
0a2349f9
RM
163492011-09-09 Roland McGrath <roland@hack.frob.com>
16350
16351 * elf/elf.h (ELFOSABI_GNU): New macro.
16352 (ELFOSABI_LINUX): Define to that.
16353
f3cdd467
DZ
163542011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16355
16356 * string/strncat.c (strncat): Undef the symbol in case it has been
16357 defined in bits/string.h.
16358
74718d13
UD
163592011-09-09 Ulrich Drepper <drepper@gmail.com>
16360
633e9e0f
UD
16361 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16362
0a2349f9 16363 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16364 link map.
16365
f9924780
AJ
163662011-08-17 Andreas Jaeger <aj@suse.de>
16367
16368 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16369
7f5517aa
PP
163702011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16371 Ian Lance Taylor <iant@google.com>
16372
16373 * math/libm-test.inc (lround_test): New testcase.
16374 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16375
762011fe
UD
163762011-09-08 Ulrich Drepper <drepper@gmail.com>
16377
92963737
UD
16378 * Makefile: Remove support for automatic cvs check-ins.
16379 * Makerules: Likewise.
16380 * config.make.in: Likewise.
16381 * configure.in: Likewise.
16382 * intl/Makefile: Likewise.
16383 * locale/Makefile: Likewise.
16384 * po/Makefile: Likewise.
16385 * posix/Makefile: Likewise.
16386 * sysdeps/gnu/Makefile: Likewise.
16387 * sysdeps/mach/hurd/Makefile: Likewise.
16388 * sysdeps/sparc/sparc32/Makefile: Likewise.
16389
b0727fd8
JS
16390 [BZ #13118]
16391 * posix/Makefile (bug-regex32-ENV): Define.
16392 Patch by John Stanley <jpsinthemix@verizon.net>.
16393
a0f33f99
UD
16394 * misc/Makefile (headers): Add bits/select2.h.
16395 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16396 * misc/bits/select2.h: New file.
16397 * include/bits/select2.h: New file.
16398 * debug/Makefile (routines): Add fdelt_chk.
16399 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16400 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16401 FD_ISSET.
16402 * debug/fdelt_chk.c: New file.
16403
762011fe
UD
16404 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16405 * wcsmbs/test-wmemcmp.c: Likewise.
16406 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16407 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16408
164092011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16410
16411 * string/Makefile (strop-tests): Add memcmp.
16412 * string/test-wmemcmp.c: New file.
16413 * string/test-memcmp.c: Add wmemcmp support.
16414
7f513ec8
RM
164152011-09-08 Roland McGrath <roland@hack.frob.com>
16416
0442afb4
RM
16417 [BZ #13153]
16418 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16419 2011-07-19 change.
16420
7f513ec8
RM
16421 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16422 garbage value in a __mach_port_mod_refs call in the cases of the
16423 task-self and thread-self ports.
16424
a12b2239
ST
164252011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16426
16427 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16428
610f9ab4
AS
164292011-09-08 Andreas Schwab <schwab@redhat.com>
16430
7f513ec8 16431 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16432
48882a1a
LD
164332011-09-07 Ulrich Drepper <drepper@gmail.com>
16434
b49865be
UD
16435 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16436
fdc86bc9
UD
16437 * elf/dl-libc.c (dlerror_run): Pass back error code from
16438 dl_catch_error.
16439
c966526a
UD
16440 [BZ #13123]
16441 * elf/dl-load.c (lose): Free l_origin if it is valid.
16442
48882a1a
LD
16443 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16444 names.
16445 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16446 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16447 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16448 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16449 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16450 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16451
77a2a8b4
AZ
164522011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16453
16454 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16455 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16456 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16457 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16458 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16459 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16460 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16461 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16462 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16463 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16464
24f579d8
AM
164652011-08-15 Alan Modra <amodra@gmail.com>
16466
16467 [BZ #13092]
16468 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16469 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16470 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16471 ppc_mcount to static-only-routines.
16472 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16473 __mcount_internal.
16474 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16475 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16476
3d4837df
UD
164772011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16478
16479 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16480 for finite and infinity parameters.
16481
22700377
WS
164822011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16483
16484 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16485 and add nop instructions for throughput optimization.
16486 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16487
5025581e
WS
164882011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16489
16490 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16491 aligned copy for power7 with vector-scalar instructions.
16492 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16493
08a300c9
L
164942011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16495
16496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16497 AVX check.
16498
59178ef9
AS
164992011-09-07 Andreas Schwab <schwab@redhat.com>
16500
16501 [BZ #13144]
16502 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16503 last change.
16504
e38ba7ab
UD
165052011-09-07 Ulrich Drepper <drepper@gmail.com>
16506
16507 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16508 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16509 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16510 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16511 clock_gettime.
16512
d53a73ac
UD
165132011-09-06 Ulrich Drepper <drepper@gmail.com>
16514
fc8bffcc
UD
16515 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16516 Forgot to demangle the pointer.
16517
ceaa0c5d
UD
16518 * sysdeps/i386/sysdep.h: Define atom_text_section.
16519 * sysdeps/x86_64/sysdep.h: Likewise.
16520 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16521 section with atom_text_section.
16522 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16523 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16524 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16525 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16526 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16527
a77d3c17
UD
16528 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16529 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16530 already be defined. Change to take two parameters and don't assign
16531 result to variable. Adjust all users.
16532 Define INTERNAL_GETTIME if not already defined.
16533 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16534 call.
16535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16536 HAVE_CLOCK_GETTIME_VSYSCALL.
16537 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16538
d53a73ac
UD
16539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16540 gettimeofday vsyscall, just use time.
16541
a8f84144
AS
165422011-09-06 Andreas Schwab <schwab@redhat.com>
16543
16544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16545 <errno.h>.
16546
ef606249
UD
165472011-09-06 Ulrich Drepper <drepper@gmail.com>
16548
16549 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16550 syscall on x86-64.
16551 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16552 syscall.
16553 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16554 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16555 syscall if possible.
16556
6585cb60
UD
165572011-09-05 Ulrich Drepper <drepper@gmail.com>
16558
16559 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16560 e_ident. Don't pass to find_mapsXX.
16561 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16562
a5f524e4
LD
165632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16564
16565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16566 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16567 * sysdeps/x86_64/multiarch/strchr.S: Update.
16568 Check bit_slow_BSF bit.
16569 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16570 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16571 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16572
554881ef
UD
165732011-09-05 Ulrich Drepper <drepper@gmail.com>
16574
d96de963
UD
16575 [BZ #13134]
16576 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16577 before glibc 2.15.
16578 (tryshell): Define.
16579 (__spawni): Change last parameter to be flag. Test
16580 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16581 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16582 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16583 * posix/spawni.c: Likewise.
16584 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16585 * posix/spawnp.c: Likewise. Change normal version to use
16586 SPAWN_XFLAGS_USE_PATH.
16587 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16588 SPAWN_XFLAGS_TRY_SHELL.
16589
d48e5868
UD
16590 [BZ #13150]
16591 * posix/glob.h: Remove gcc 1.x support.
16592
554881ef
UD
16593 [BZ #13068]
16594 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16595
693fb948
LD
165962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16597
16598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16599 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16600 strrchr-sse2-bsf
16601 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16602 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16603 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16604 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16605 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16606 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16607
1b48c537
UD
166082011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16609
49d42c37
UD
16610 * sysdeps/x86_64/wcscmp.S: New file.
16611
1b48c537
UD
16612 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16613 wcscmp-c wcscmp-sse2
16614 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16615 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16616 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16617 * wcsmbs/wcscmp.c: Allow renaming.
16618
15c95c5d
DM
166192011-09-05 David S. Miller <davem@davemloft.net>
16620
16621 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16622 stack slot, rather than the struct return pointer slot.
16623 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16624 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16626 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16627
2f0ad8f3
UD
166282011-09-05 Ulrich Drepper <drepper@gmail.com>
16629
d88ae418
UD
16630 * po/ja.po: Update from translation team.
16631
2f0ad8f3
UD
16632 [BZ #13144]
16633 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16634 kernel in 64-bit binaries.
16635
5f4318d1
DM
166362011-09-01 David S. Miller <davem@davemloft.net>
16637
16638 * elf/elf.h (HWCAP_SPARC_*): Move to..
16639 * sysdeps/sparc/sysdep.h: this new file and add new values.
16640 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16641 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16642 _DL_HWCAP_COUNT to 24.
16643 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16644 entries.
16645 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16646 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16647 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16649 instead of magic constants.
16650 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16651
3ba57516
DM
166522011-08-31 David S. Miller <davem@davemloft.net>
16653
16654 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16655 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16656 Reimplement to do errno handling inline.
16657 (SYSCALL_ERROR_HANDLER): New macro.
16658 (__SYSCALL_STRING): Do not do errno handling in asm.
16659 (__CLONE_SYSCALL_STRING): Delete.
16660 (__INTERNAL_SYSCALL_STRING): Delete.
16661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16662 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16663 (PSEUDO): Reimplement to do errno handling inline.
16664 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16665 (SYSCALL_ERROR_HANDLER): New macro.
16666 (__SYSCALL_STRING): Do not do errno handling in asm.
16667 (__CLONE_SYSCALL_STRING): Delete.
16668 (__INTERNAL_SYSCALL_STRING): Delete.
16669 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16670 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16671 i386.
16672 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16673 (inline_syscall*): Add 'err' argument.
16674 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16675 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16676 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16677 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16678
16679 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16680 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16681
2bc17433
AS
166822011-08-30 Andreas Schwab <schwab@redhat.com>
16683
16684 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16685
fbeb5f4d
JO
166862011-08-29 Jiri Olsa <jolsa@redhat.com>
16687
16688 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16689 directive.
16690
ad69cc26
DM
166912011-08-24 David S. Miller <davem@davemloft.net>
16692
16693 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16694
39dd69df
AS
166952011-08-24 Andreas Schwab <schwab@redhat.com>
16696
16697 * elf/Makefile: Add rules to build and run unload8 test.
16698 * elf/unload8.c: New file.
16699 * elf/unload8mod1.c: New file.
16700 * elf/unload8mod1x.c: New file.
16701 * elf/unload8mod2.c: New file.
16702 * elf/unload8mod3.c: New file.
16703
16704 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16705 it wasn't used.
16706
2c0b250a
DM
167072011-08-23 David S. Miller <davem@davemloft.net>
16708
16709 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16710 subtract stack bias.
16711 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16712 %sp not %fp in calculations.
16713 (_JMPBUF_UNWINDS_ADJ): Likewise.
16714
22044b48
DM
16715 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16716 (aio_suspend): Call it to force an exception region around the
16717 AIO_MISC_WAIT() invocation.
16718
2cae4995
AS
167192011-08-23 Andreas Schwab <schwab@redhat.com>
16720
16721 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16722 backslash.
16723
873a772e
AJ
167242011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16725
16726 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16727 protection macro.
16728 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16729 and <dl-machine.h>.
16730 (Elf64_FuncDesc): Remove.
16731
25ad0df1
DM
167322011-08-22 David S. Miller <davem@davemloft.net>
16733
16734 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16735 sigaltstack check, add missing cfi directives.
16736 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16737 missing cfi directives, and sigaltstack handling.
16738
e888bcbe
AS
167392011-08-16 Andreas Schwab <schwab@redhat.com>
16740
16741 [BZ #11724]
16742 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16743 object is seen twice.
16744 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16745
16746 * elf/Makefile (distribute): Add tst-initorder2.c.
16747 (tests): Add tst-initorder2.
16748 (modules-names): Add tst-initorder2a tst-initorder2b
16749 tst-initorder2c tst-initorder2d. Add rules to build them.
16750 ($(objpfx)tst-initorder2.out): New rule.
16751 * elf/tst-initorder2.c: New file.
16752 * elf/tst-initorder2.exp: New file.
16753
87162f46
AS
167542011-08-22 Andreas Schwab <schwab@redhat.com>
16755
70538b7f
AS
16756 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16757
f55ffe58
AS
16758 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16759 dependencies back to end of function.
16760
87162f46
AS
16761 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16762 $(elfobjdir)/ld.so.
16763
91b392a4
UD
167642011-08-21 Ulrich Drepper <drepper@gmail.com>
16765
16766 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16767 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16768 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16769 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16770 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16771 of __vdso_gettimeofday.
16772 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16773 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16774 attribute_hidden.
16775 (_libc_vdso_platform_setup): Remove initialization of
16776 __vdso_gettimeofday and __vdso_time.
16777
5c43483f
UD
167782011-08-20 Ulrich Drepper <drepper@gmail.com>
16779
775a77e7
UD
16780 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16781 and fgetc_unlocked.
16782 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16783 getc_unlocked.
89f447ed 16784
49c74ba9
UD
16785 * elf/dl-open.c (add_to_global): Report additions to the global scope
16786 for LD_DEBUG=scopes.
16787 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16788 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16789
5c43483f
UD
16790 [BZ #13114]
16791 * stdio-common/Makefile (tests): Add bug24.
16792 * stdio-common/bug24.c: New file.
16793
a101b025
AJ
167942011-08-19 Andreas Jaeger <aj@suse.de>
16795
16796 [BZ #13114]
16797 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16798 non-existant file when using close-on-exec mode.
16799
c88f1766
UD
168002011-08-20 Ulrich Drepper <drepper@gmail.com>
16801
0276a718
UD
16802 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16803 the very first instruction.
16804
c88f1766
UD
16805 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16806 the CFI state in the end.
16807 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16808 inclusion of dl-trampoline.h.
16809 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16810
51ccffa0
AS
168112011-08-19 Andreas Schwab <schwab@redhat.com>
16812
94d7165f
AS
16813 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16814 expectations for long double.
16815
51ccffa0
AS
16816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16817 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16818
fd708658 168192011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16820
16821 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16822 artificual limit depends upon the system page size.
16823
44f0a71e
UD
168242011-08-17 Ulrich Drepper <drepper@gmail.com>
16825
16826 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16827 * resolv/Makefile: Define CFLAGS-libresolv.
16828
8de79a24
AS
168292011-08-17 Andreas Schwab <schwab@redhat.com>
16830
16831 * nss/makedb.c (compute_tables): Make variables used in nested
16832 function static.
16833
27724598
UD
168342011-08-17 Ulrich Drepper <drepper@gmail.com>
16835
c5305d88
UD
16836 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16837 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16838 if buffer was too small.
16839
27724598
UD
16840 * elf/pldd.c (main): Attach to all threads in the process.
16841 Rewrite /proc handling to use *at functions.
16842
076fe015
UD
168432011-08-16 Ulrich Drepper <drepper@gmail.com>
16844
174baab3
UD
16845 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16846 specifies first scope to show.
16847 (dl_open_worker): Update callers. Move printing scope of new
16848 object to before the relocation.
44f0a71e 16849 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16850 * sysdeps/generic/ldsodefs.h: Update declaration.
16851
076fe015
UD
16852 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16853 string for the scope number.
16854
a60df2c3
UD
168552011-08-14 Ulrich Drepper <drepper@gmail.com>
16856
16857 * nscd/servicescache.c (cache_addserv): Make sure written is always
16858 initialized.
16859
5e4287d1
RM
168602011-08-14 Roland McGrath <roland@hack.frob.com>
16861
85ae0589
RM
16862 * sysdeps/i386/i486/bits/atomic.h
16863 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16864 statement expression, so as to suppress "set but not used" warning.
16865 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16866
69f63097
RM
16867 * string/strncat.c (STRNCAT): Use prototype definition.
16868
675456ef
RM
16869 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16870 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16871 -Iprograms here.
16872 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16873 (localedef-modules): Add localedef.
16874 (locale-modules): Add locale.
16875
5e4287d1
RM
16876 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16877 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16878 to avoid a warning.
16879
9c96ff23
DM
168802011-08-14 David S. Miller <davem@davemloft.net>
16881
16882 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16883 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16884
f9ddf089
UD
168852011-08-13 Ulrich Drepper <drepper@gmail.com>
16886
44f0a71e 16887 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16888 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16889 * elf/rtld.c (dl_main): Set l_name of vDSO.
16890 Call _dl_show_scope when DL_DEBUG_SCOPES.
16891 (process_dl_debug): Recognize scopes flag and also set it for all.
16892 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16893 Declare _dl_show_scope.
16894
1dc27704
UD
16895 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16896 (do_dlopen): Pass caller_dlopen to dl_open.
16897 (__libc_dlopen_mode): Initialize caller_dlopen.
16898
f9ddf089
UD
16899 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16900 of libc. Make tolower call locale-independent. Optimize a bit by
16901 using isdigit instead of isalnum.
16902 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16903
9ac533d3
UD
169042011-08-12 Ulrich Drepper <drepper@gmail.com>
16905
16906 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16907 was a dependency or dynamically loaded.
16908
89edf2e9
UD
169092011-08-11 Ulrich Drepper <drepper@gmail.com>
16910
8e999d29
UD
16911 * intl/l10nflist.c: Allow architecture-specific pop function.
16912 * sysdeps/x86_64/l10nflist.c: New file.
16913
89edf2e9
UD
16914 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16915 classification.
16916
14d96785
AS
169172011-08-10 Andreas Schwab <schwab@redhat.com>
16918
16919 * include/dirent.h: Add libc_hidden_proto for scandirat and
16920 scandirat64. Don't declare __scandirat64.
16921 * dirent/scandirat.c: Add libc_hidden_def.
16922 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16923 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16924
6761ac04
DM
169252011-08-10 David S. Miller <davem@davemloft.net>
16926
16927 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16928 enum.
16929 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16930 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16931 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16932
c55fbd1e
UD
169332011-08-09 Ulrich Drepper <drepper@gmail.com>
16934
16935 * Versions.def [libc]: Add GLIBC_2.15.
16936 * dirent/Makefile (routines): Add scandirat and scandirat64.
16937 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16938 GLIBC_2.15.
16939 * dirent/dirent.h: Declare scandirat and scandirat64.
16940 * dirent/scandirat.c: New file.
16941 * dirent/scandirat64.c: New file.
16942 * sysdeps/wordsize-64/scandirat.c: New file.
16943 * sysdeps/wordsize-64/scandirat64.c: New file.
16944 * dirent/opendir.c: Define opendirat.
16945 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16946 using scandirat.
16947 * dirent/scandir64.c: Adjust for scandir.c change.
16948 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16949 __scandirat64, and __scandir_cancel_handler.
16950 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16951 additional parameter and use openat instead of open (outside of ld.so).
16952 Add new __opendir as wrapper around __opendirat.
16953 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16954 here without requiring old scandirat implementation.
16955
879165f2
UD
169562011-08-08 Ulrich Drepper <drepper@gmail.com>
16957
16958 * dirent/scandir.c (cancel_handler): Renamed to
16959 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16960 defined. Adjust users.
16961 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16962 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16963
cb7e923b
UD
169642011-08-04 Ulrich Drepper <drepper@gmail.com>
16965
16292edd
UD
16966 * string/test-string.h (IMPL): Use __STRING to expand name and then
16967 stringify it.
16968
cb7e923b
UD
16969 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16970 of cleanups.
16971
cff82933
LD
169722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16973
16974 * string/Makefile: Update.
16975 (strop-tests): Append strncat.
16976 * string/test-wcscmp.c: New file.
16977 New comprehensive test for wcscmp.
16978 * string/test-strcmp.c: Update.
16979 (WIDE): New define.
16980
9be9bfcc
AS
169812011-07-22 Andreas Schwab <schwab@redhat.com>
16982
16983 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16984 line.
16985
2e96f1c7
AS
169862011-07-26 Andreas Schwab <schwab@redhat.com>
16987
16988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16989 encoding to ACE if AI_IDN.
16990
85188888
JJ
169912011-08-01 Jakub Jelinek <jakub@redhat.com>
16992
16993 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16994 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16995
5fa16e9b
LD
169962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16997
16998 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16999 Fix overflow bug in strncat.
17000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17001
17002 * string/test-strncat.c: Update.
17003 Add new tests for checking overflow bugs.
17004
170052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17006
17007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17008 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17009 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17010 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17011 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17012 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17013 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17014 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17015 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17016
17017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17018 (USE_AS_STRCAT): Define.
17019 Add strcat and strncat support.
17020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17021
8c1a459f
AS
170222011-07-25 Andreas Schwab <schwab@redhat.com>
17023
17024 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17025 __n bigger than INT_MAX+1.
17026 (__strncmp_g): Likewise.
17027
bba33c28
UD
170282011-07-23 Ulrich Drepper <drepper@gmail.com>
17029
798be72d
UD
17030 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17031 * libio/stido.h: Likewise.
17032
8accd4dc
UD
17033 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17034 (AF_NFC): Define.
17035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17036 (AF_NFC): Define.
17037
cbff0d96
UD
17038 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17040 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17041 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17042 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17043
9191c04a
UD
17044 [BZ #13021]
17045 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17046 installed.
17047
bba33c28
UD
17048 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17049 typo.
17050 (_dl_x86_64_save_sse): Likewise.
17051
90f139dd
UD
170522011-07-22 Ulrich Drepper <drepper@gmail.com>
17053
1aae088a
UD
17054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17055 OSXSAVE.
17056 (_dl_x86_64_save_sse): Likewise.
17057
8e2045f5
UD
17058 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17059
90f139dd
UD
17060 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17061
1d002f25
AS
170622011-07-21 Andreas Schwab <schwab@redhat.com>
17063
17064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17065 change.
17066 (_dl_x86_64_save_sse): Use correct AVX check.
17067
21137f89
UD
170682011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17069
17070 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17071 bug in strncpy/strncat.
17072 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17073
a65c0b7a
UD
170742011-07-21 Ulrich Drepper <drepper@gmail.com>
17075
17076 * string/tester.c (test_strcat): Add tests for different alignments
17077 of source and destination.
17078 (test_strncat): Likewise.
17079
6986b98a
UD
170802011-07-20 Ulrich Drepper <drepper@gmail.com>
17081
90bb2039
UD
17082 [BZ #12852]
17083 * posix/glob.c (glob): Check passed in values before using them in
17084 expressions to avoid some overflows.
17085 (glob_in_dir): Likewise.
17086
5644ef54
UD
17087 [BZ #13007]
17088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17089 check for AVX enablement so that we don't crash with old kernels and
17090 new hardware.
17091 * elf/tst-audit4.c: Add same checks here.
17092 * elf/tst-audit6.c: Likewise.
17093
17094 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17095
bfc9dc9b
AS
170962011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17097
17098 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17099
702e64bb
UD
171002011-07-20 Ulrich Drepper <drepper@gmail.com>
17101
17102 * po/cs.po: Update from translation team.
17103 * po/bg.po: Likewise.
17104
295e904f
MP
171052011-07-12 Marek Polacek <mpolacek@redhat.com>
17106
17107 * misc/sys/cdefs.h: Add support for const attribute.
17108 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17109 to gnu_dev_{major,minor,makedev} functions.
17110
3ff94596
MP
171112011-07-20 Marek Polacek <mpolacek@redhat.com>
17112
17113 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17114
28b59fca
AS
171152011-07-20 Andreas Schwab <schwab@redhat.com>
17116
17117 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17118 strlen results.
17119
19df733e
AK
171202011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17121
17122 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17123 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17124 register in order to avoid conflicts with the soft frame pointer
17125 being held in r11 when necessary.
17126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17127 (INTERNAL_VSYSCALL_NCS): Likewise.
17128
c8835729
MP
171292011-07-14 Marek Polacek <mpolacek@redhat.com>
17130
17131 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17132 * elf/dl-fini.c (_dl_fini): Adjust caller.
17133 * elf/dl-close.c (_dl_close_worker): Likewise.
17134 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17135
b902330c
MP
171362011-07-15 Marek Polacek <mpolacek@redhat.com>
17137
8991e135
MP
17138 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17139 "aux_cache->nlibs < 0".
17140
b902330c
MP
17141 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17142 in the reload-count case.
17143
99710781
LD
171442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17145
17146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17147 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17148 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17149 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17150 * sysdeps/x86_64/multiarch/strcat.S: New file.
17151 * sysdeps/x86_64/multiarch/strncat.S: New file.
17152 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17153 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17154 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17155 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17156 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17157 (USE_AS_STRCAT): Define.
17158 Add strcat and strncat support.
17159 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17160 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17161 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17162 * string/strncat.c: Update.
17163 (USE_AS_STRNCAT): Define.
17164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17165 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17166 and i7.
17167 * sysdeps/x86_64/multiarch/init-arch.h
17168 (bit_Prefer_PMINUB_for_stringop): New.
17169 (index_Prefer_PMINUB_for_stringop): Likewise.
17170 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17171 bit_Prefer_PMINUB_for_stringop.
17172
7dc6bd90
UD
171732011-07-19 Ulrich Drepper <drepper@gmail.com>
17174
17175 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17176 buffer64.
17177 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17178 of casting of buffer.
17179 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17180 buffer32 and buffer64.
17181 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17182 writes instead of casting of buffer.
17183 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17184 buffer32.
17185 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17186 casting of buffer.
17187
e0e72284
AS
171882011-07-19 Andreas Schwab <schwab@redhat.com>
17189
17190 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17191
feb1eb0b
UD
171922011-07-19 Ulrich Drepper <drepper@gmail.com>
17193
17194 * nscd/nscd.c (termination_handler): Don't do anything for a database
17195 if it has not yet been initialized.
17196
298711ff
UD
171972011-07-18 Ulrich Drepper <drepper@gmail.com>
17198
17199 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17200
172012011-07-15 Marek Polacek <mpolacek@redhat.com>
17202
17203 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17204
f9d68389
UD
172052011-07-18 Ulrich Drepper <drepper@gmail.com>
17206
17207 * po/nl.po: Update from translation team.
17208 * po/sv.po: Likewise.
17209
db290cf5
RM
172102011-07-16 Roland McGrath <roland@hack.frob.com>
17211
17212 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17213 now disallowed by GCC.
5c550700 17214
fd5e21c7
RM
17215 * configure.in (use-default-link): Default to yes if a test -shared
17216 link meets our qualifications.
17217 * configure: Regenerated.
17218
5c550700
RM
17219 * config.make.in (output-format): New variable.
17220 * configure.in: Check for ld --print-output-format support.
17221 * configure: Regenerated.
17222 * Makerules ($(common-objpfx)format.lds)
17223 [$(output-format) != unknown]: Just use $(output-format),
17224 instead of the linker-script munging.
17225
9fa2c032
RM
172262011-07-14 Roland McGrath <roland@hack.frob.com>
17227
a6928d51
RM
17228 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17229 of $(common-objpfx)shlib.lds.
17230 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17231
661607b3
RM
17232 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17233 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17234
9fa2c032
RM
17235 * configure.in (-z relro check): Adjust test code to add a large
17236 writable data section after it.
17237 * configure: Regenerated.
17238
defe9061
RM
172392011-07-11 Roland McGrath <roland@hack.frob.com>
17240
17241 * configure.in (-z relro check): Fix test code to make the variable
17242 truly const.
17243 * configure: Regenerated.
17244
319b9ad4
UD
172452011-07-11 Ulrich Drepper <drepper@gmail.com>
17246
17247 * nscd/nscd.h (struct traced_file): Define.
17248 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17249 elements. Add traced_files.
17250 (inotify_fd): Declare.
17251 (register_traced_file): Declare.
17252 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17253 (inotify_fd): Export.
17254 (resolv_conf_descr): Remove.
17255 (nscd_init): Move inotify descriptor creation to main.
17256 Don't register files for notification here.
17257 (register_traced_file): New function.
17258 (invalidate_cache): Don't use reset_res to determine whether to call
17259 res_init, go through the list of registered files.
17260 (main_loop_poll): The inotify descriptors are now stored in the
17261 structures for the traced files.
17262 (main_loop_epoll): Likewise
17263 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17264 to __nss_disable_nscd.
17265 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17266 for a database anymore. Check the records for all the registered
17267 files instead.
17268 * nss/Makefile (libnss_files-routines): Add files-init.
17269 (libnss_db-routines): Add db-init.
17270 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17271 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17272 * nss/nss_db/db-init.c: New file.
17273 * nss/nss_files/files-init.c: New file.
17274 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17275 __nss_lookup_function.
17276 (__nss_lookup_function): Call nss_load_library.
17277 (nss_load_all_libraries): New function.
17278 (__nss_disable_nscd): Take parameter with callback function for files
17279 to register. Set is_nscd. Load all the DSOs for the NSS modules
17280 used for the cached services.
17281 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17282 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17283 options for features to all the files in nscd.
17284
17285 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17286
23bee3e8
RM
172872011-07-10 Roland McGrath <roland@hack.frob.com>
17288
17289 * csu/elf-init.c (__libc_csu_init): Comment typo.
17290
46a5b7f0
UD
172912011-07-09 Ulrich Drepper <drepper@gmail.com>
17292
17293 * po/pl.po: Update from translation team.
17294 * po/ja.po: Likewise.
17295 * po/ru.po: Likewise.
17296 * po/ko.po: Likewise.
17297 * po/fr.po: Likewise.
17298
d30cf5bb
RM
172992011-07-09 Roland McGrath <roland@hack.frob.com>
17300
113ddea4
RM
17301 * configure.in (.ctors/.dtors header and trailer check):
17302 Use an empirical test on a built program.
17303 * configure: Regenerated.
17304
574920b4
RM
17305 * configure.in (-z relro check): Use an empirical test on a built DSO.
17306 Detect, but do not require, on ia64.
17307 * configure: Regenerated.
17308
d30cf5bb
RM
17309 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17310 Update tests that use readelf to use $READELF instead.
17311 * configure: Regenerated.
17312
8538fdb3
UD
173132011-07-08 Ulrich Drepper <drepper@gmail.com>
17314
17315 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17316 if the result is not used.
17317
04d08991
AJ
173182011-07-05 Andreas Jaeger <aj@suse.de>
17319
17320 [BZ#9696]
17321 * stdlib/tst-strtod.c: Add testcase.
17322
de283087
AD
173232011-07-07 Ulrich Drepper <drepper@gmail.com>
17324
4e5f31c8 17325 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17326 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17327 The latter has a higher limit. Take additional parameter to pass to
17328 the new function.
17329 (__pathconf): Pass file to __statfs_link_max.
17330 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17331 __statfs_link_max.
17332 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17333 __statfs_link_max.
17334
de283087
AD
17335 [BZ #12868]
17336 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17337 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17338 Handle Lustre.
17339 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17340 (__statfs_filesize_max): Likewise.
17341 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17342
c75fa153
AJ
173432011-07-05 Andreas Jaeger <aj@suse.de>
17344
17345 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17346
1a544854
UD
173472011-07-06 Marek Polacek <mpolacek@redhat.com>
17348
17349 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17350 `status' variable.
17351 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17352 Likewise.
17353
6f0eec67
UD
173542011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17355
17356 * Makefile (strop-tests): Add strncat.
17357 * string/test-strncat.c: New file.
17358
aae30307
UD
173592011-06-30 Marek Polacek <mpolacek@redhat.com>
17360
17361 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17362
c0cfb5eb
UD
173632011-06-21 Andreas Jaeger <aj@suse.de>
17364
17365 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17366 Copy rule from iconvdata/Makefile.
17367
01636b21
UD
173682011-07-06 Ulrich Drepper <drepper@gmail.com>
17369
17370 [BZ #12922]
17371 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17372 but no long options are defined, just return 'W'.
17373
9895c8bc
UD
173742011-06-22 Marek Polacek <mpolacek@redhat.com>
17375
17376 [BZ #9696]
17377 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17378
5d4cf042
UD
173792011-07-06 Ulrich Drepper <drepper@gmail.com>
17380
17381 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17382 netgroups to read.
960e5535 17383 (innetgr): Likewise.
5d4cf042 17384
751eb97e
RM
173852011-07-05 Roland McGrath <roland@hack.frob.com>
17386
17387 * config.make.in (install_root): Default to $(DESTDIR).
17388
f15f1e45
UD
173892011-07-05 Ulrich Drepper <drepper@gmail.com>
17390
17391 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17392
4e34ac6a
RM
173932011-07-02 Roland McGrath <roland@hack.frob.com>
17394
5e9b6af4
RM
17395 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17396
84f9ea0f
RM
17397 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17398 containing directory rather than embedding absolute directory names.
17399
ea5ee9f7
RM
17400 * scripts/check-local-headers.sh: Rewritten using awk.
17401 Match by word, not by line. Print error messages for matches.
17402 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17403
1b74661a
RM
17404 * Makerules [shlib-lds-flags empty]:
17405 ($(common-objpfx)libc_pic.opts): New target.
17406 ($(common-objpfx)libc_pic.os.clean): New target.
17407 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17408
17409 * config.make.in (OBJCOPY): New variable.
17410 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17411 * configure: Regenerated.
17412
f781ef40
RM
17413 * config.make.in (use-default-link): New variable.
17414 * configure.in (use_default_link): Grok --with-default-link to set it.
17415 * configure: Regenerated.
17416 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17417 (shlib-lds, shlib-lds-flags): Define to empty.
17418
2d4fa81e
RM
17419 * Makerules (shlib-lds): New variable.
17420 (shlib-lds-flags): New variable.
17421 (build-shlib, build-moduile, build-module-asneeded): Use it.
17422 ($(common-objpfx)libc.so): Use $(shlib-lds).
17423 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17424 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17425
31fffa6b
RM
17426 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17427 DT_FLAGS/DT_FLAGS_1 with zero flags.
17428
4e34ac6a
RM
17429 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17430 linker script munging.
17431
fcfc776b
UD
174322011-07-02 Ulrich Drepper <drepper@gmail.com>
17433
17434 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17435 as 128-bit value.
17436 * crypt/sha512.c (sha512_process_block): Perform total addition using
17437 128-bit if possible.
17438 (__sha512_finish_ctx): Likewise.
17439 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17440 as 64-bit value.
17441 * crypt/sha256.c (SWAP64): Define.
17442 (sha256_process_block): Perform total addition using 64-bit if
17443 possible.
17444 (__sha256_finish_ctx): Likewise.
17445
99231d9a
UD
174462011-07-01 Ulrich Drepper <drepper@gmail.com>
17447
17448 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17449 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17450 * nscd/hstcache.c (cache_addhst): Likewise.
17451 * nscd/grpcache.c (cache_addgr): Likewise.
17452 * nscd/aicache.c (addhstaiX): Likewise
17453 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17454
445b4a53
TK
174552011-07-01 Thorsten Kukuk <kukuk@suse.de>
17456
17457 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17459 * nscd/hstcache.c (cache_addhst): Likewise.
17460 * nscd/grpcache.c (cache_addgr): Likewise.
17461 * nscd/aicache.c (addhstaiX): Likewise
17462
6d4d8e8e
AS
174632011-07-01 Andreas Schwab <schwab@redhat.com>
17464
17465 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17466 domain only when needed.
17467
89f654c5
AS
174682011-06-30 Andreas Schwab <schwab@redhat.com>
17469
17470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17471 is always restored.
17472
cf3b23ff
UD
174732011-06-29 Ulrich Drepper <drepper@gmail.com>
17474
17475 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17476 are re-adding the entry.
17477 * nscd/servicescache.c (cache_addserv): Likewise.
17478
751626f9
AJ
174792011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17480
17481 * sysdeps/generic/dl-irel.h: fix protection against multiple
17482 inclusions.
17483 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17484
9113ea1f
UD
174852011-06-28 Ulrich Drepper <drepper@gmail.com>
17486
5c0b8d90
UD
17487 [BZ #12935]
17488 * malloc/memusage.sh: Fix quoting in message.
17489 * debug/xtrace.sh: Likewise.
17490
9113ea1f
UD
17491 * configure.in: Remove support for --experimental-malloc option, make
17492 it the default.
17493 * config.make.in: Likewise.
17494 * malloc/Makefile: Likewise.
17495
a4172181
AS
174962011-06-27 Andreas Schwab <schwab@redhat.com>
17497
17498 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17499 two-byte characters.
17500
78a7eee7
RM
175012011-06-27 Roland McGrath <roland@hack.frob.com>
17502
62bede13
RM
17503 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17504 AC_CACHE_CHECK invocation.
17505 * configure: Regenerated.
17506
78a7eee7
RM
17507 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17508
5ce33a62
UD
175092011-06-27 Ulrich Drepper <drepper@gmail.com>
17510
034807a9
UD
17511 [BZ #12350]
17512 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17513 bit from old_res_options.
17514
4902da17
UD
17515 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17516
5ce33a62
UD
17517 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17518 value type for setfct.
17519
c2344f56
L
175202011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17521
17522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17523 __gettimeofday instead of gettimeofday.
17524
68468076
UD
175252011-06-26 Ulrich Drepper <drepper@gmail.com>
17526
17527 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17528
acb0d739
L
175292011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17530
17531 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17532
17533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17534 info.
17535
8912479f
L
175362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17537
17538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17539 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17540 strcpy-sse2-unaligned strncpy-sse2-unaligned
17541 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17542 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17543 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17544 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17545 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17546 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17547 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17548 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17549 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17550 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17551 (STRCPY): Support SSE2 and SSSE3 versions.
17552
d5495a11
UD
175532011-06-24 Ulrich Drepper <drepper@gmail.com>
17554
17555 [BZ #12874]
17556 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17557 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17558 kernels which artificially limit size of requests.
17559
0b1cbaae
L
175602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17561
17562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17563 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17564 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17565 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17566 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17567 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17568 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17569 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17570 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17571 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17572 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17573 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17574 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17575 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17576 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17578 Enable unaligned load optimization for Intel Core i3, i5 and i7
17579 processors.
17580 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17581 Define.
17582 (index_Fast_Unaligned_Load): Define.
17583 (HAS_FAST_UNALIGNED_LOAD): Define.
17584
07f494a0
MP
175852011-06-23 Marek Polacek <mpolacek@redhat.com>
17586
17587 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17588
fa3fc0fe
UD
175892011-06-22 Ulrich Drepper <drepper@gmail.com>
17590
17591 [BZ #12907]
17592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17593 until it is clear that the information is realy needed.
17594 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17595
e12df166
AS
175962011-06-22 Andreas Schwab <schwab@redhat.com>
17597
17598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17599
852eb34d
UD
176002011-06-22 Ulrich Drepper <drepper@gmail.com>
17601
84e2a551
UD
17602 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17603 /sys/devices/system/cpu/online if it is usable.
17604
852eb34d
UD
17605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17606 reading the information from the /proc filesystem to once a second.
17607
6e502e19
UD
176082011-06-21 Andreas Jaeger <aj@suse.de>
17609
17610 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17611 NULL after inclusion of kernel headers.
17612
75d39ff2
UD
176132011-06-21 Ulrich Drepper <drepper@gmail.com>
17614
51f9aa6a
UD
17615 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17616 calls to internal_setent.
17617
c0244a9d
UD
17618 [BZ #12885]
17619 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17620 addresses using gethostbyname4_r ignore IPv4 addresses.
17621
c5e3c2ae
UD
17622 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17623 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17624
75d39ff2
UD
17625 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17626
42675c6f
DM
176272011-06-20 David S. Miller <davem@davemloft.net>
17628
17629 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17630 inclusions.
17631 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17632
17633 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17634 (elf_irel): Use it.
17635 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17636 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17637 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17638 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17639 * sysdeps/x86_64/dl-irel.h: Likewise.
17640
17641 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17642 * elf/dl-sym.c: Likewise.
17643
57912a71
UD
176442011-06-15 Ulrich Drepper <drepper@gmail.com>
17645
17646 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17647 need to dereference resplen2.
17648
ee22793d
AS
176492011-06-14 Andreas Schwab <schwab@redhat.com>
17650
17651 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17652
a9e836b0
UD
176532011-06-15 Ulrich Drepper <drepper@gmail.com>
17654
77fb9117
UD
17655 * Makeconfig: Define vardbdir and inst_vardbdir.
17656 * nss/Makefile: Add rules to install db-Makefile.
17657
40c1b22c
UD
17658 * nss/nss_db/db-XXX.c: Cleanup.
17659
9f2da732
UD
17660 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17661 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17662 GLIBC_PRIVATE.
17663 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17664 * nss/makedb.c: Implement -g option to specify that value strings
17665 are generated and should not be added to table iterated over for
17666 get*ent calls.
17667 * nss/nss_db/db-initgroups.c: New file.
17668
82e9a1f7
UD
17669 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17670 interface.
17671
c41af17e
UD
17672 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17673 (internal_getgrouplist): Adjust to name change.
17674 Update use_initgroups_entry if this is not the first call.
17675 * nss/databases.def: Add initgroups entry.
17676
a9e836b0
UD
17677 * nss/makedb.c (compute_tables): Check result of multiple hash table
17678 sizes to minimize maximum chain length.
17679
2666d441
UD
176802011-06-14 Ulrich Drepper <drepper@gmail.com>
17681
17682 * Versions.def: Add entry for libnss_db.
17683 * shlib-versions: Likewise.
17684 * nss/Makefile: Add rules to build libnss_db.
17685 * nss/Versions: Add libnss_db information. Organize libnss_files
17686 entries better.
17687 * nss/db-Makefile: Add gshadow support. Change rules for the new
17688 makedb progra. Some minor improvements to generate smaller files.
17689 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17690 here from...
17691 * nss/makedb.c: ...here.
17692 Improve database format to be smaller and require less memory at
17693 runtime.
17694 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17695 db anymore.
17696 * nss/nss_db/db-netgrp.c: Likewise.
17697 * nss/nss_db/db-open.c: Likewise.
17698 * nss/nss_files/flies-XXX.x: Adjust comments.
17699 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17700 * nss/nss_files/files-grp.c: Likewise.
17701 * nss/nss_files/files-hosts.c: Likewise.
17702 * nss/nss_files/files-network.c: Likewise.
17703 * nss/nss_files/files-proto.c: Likewise.
17704 * nss/nss_files/files-pwd.c: Likewise.
17705 * nss/nss_files/files-rpc.c: Likewise.
17706 * nss/nss_files/files-service.c: Likewise.
17707 * nss/nss_files/files-sgrp.c: Likewise.
17708 * nss/nss_files/files-spwd.c: Likewise.
17709 * nss/nss_db/db-alias.c: Removed.
17710 * nss/nss_db/dummy-db.h: Removed.
17711
9ee76b5a
UD
177122011-06-02 Ulrich Drepper <drepper@gmail.com>
17713
17714 * nss/makedb.c: Rewritten to not use database library.
17715 * nss/Makefile: Update to build new makedb program.
17716
c71ca1f8
AJ
177172011-06-14 Andreas Jaeger <aj@suse.de>
17718
17719 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17720 memset declaration.
17721
3154bfb8
UD
177222011-06-10 Andreas Schwab <schwab@redhat.com>
17723
17724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17725 tmpbuf.
17726
b350afab
RM
177272011-06-10 Roland McGrath <roland@hack.frob.com>
17728
decd4e50
RM
17729 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17730 * elf/Makefile ($(objpfx)ld.so): Likewise.
17731
5615eaf2
RM
17732 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17733 Don't list ld.so twice in dependencies.
17734
17735 * posix/bug-regex31.c: Include <stdlib.h>.
17736
17737 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17738
17739 * nis/nss_compat/compat-spwd.c
17740 (getspent_next_nss_netgr): Remove unused variable.
17741 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17742
17743 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17744 nonmembers" output to use the right array.
17745
17746 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17747
17748 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17749
17750 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17751 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17752 * catgets/gencat.c (read_input_file): Likewise.
17753 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17754
17755 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17756 variable definition inside #if's controlling its use.
17757
17758 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17759
17760 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17761
17762 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17763
17764 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17765 unreachable code.
17766
17767 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17768
b68e08db
RM
17769 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17770 * configure: Regenerated.
17771
b350afab
RM
17772 * Makerules: Revert last change.
17773 * elf/Makefile: Likewise.
17774
28368601
RM
177752011-06-09 Roland McGrath <roland@hack.frob.com>
17776
17777 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17778 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17779 (reloc-link): Likewise.
17780
11988f8f
UD
177812011-06-09 Ulrich Drepper <drepper@gmail.com>
17782
17783 * elf/Makefile: Add rules to build pldd.
17784 * elf/pldd.c: New file.
17785 * elf/pldd-xx.c: New file.
17786
e80fab37
UD
177872011-06-07 Ulrich Drepper <drepper@gmail.com>
17788
17789 * version.h: Update for 2.15 development version.
17790
9b849836
DM
177912011-06-07 David S. Miller <davem@davemloft.net>
17792
17793 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17794 ifuncs.
17795 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17796 elf_machine_lazy_rel): Likewise.
17797 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17798 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17799 elf_machine_lazy_rel): Likewise.
17800 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17801 dl_hwcap via passed in argument.
17802 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17803 Likewise.
17804
5a31b283
AK
178052011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17806
17807 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17808
069e52f8
RM
178092011-06-06 Roland McGrath <roland@hack.frob.com>
17810
17811 [BZ #12849]
17812 * manual/fdl-1.1.texi: New file, verbatim from:
17813 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17814 * manual/lgpl-2.1.texi: New file, verbatim from:
17815 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17816 * manual/Makefile (licenses): New variable, list those new file names.
17817 (texis): Use it.
17818 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17819
17820 * manual/fdl.texi: File removed.
17821 * manual/lesser.texi: File removed.
17822 * manual/libc.texinfo (Copying, Documentation License):
17823 Use new @include file names, put @appendix directive before @include.
17824
f16846a5
JJ
178252011-06-04 Jakub Jelinek <jakub@redhat.com>
17826
17827 [BZ #12841]
17828 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17829 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17830 (mq_open): Add __NTH.
17831
3d29045b
L
178322011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17833
17834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17835 Assume Intel Core i3/i5/i7 processor if AVX is available.
17836
8c297311
UD
178372011-05-31 Ulrich Drepper <drepper@gmail.com>
17838
17839 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17840 typo.
17841
c8fc0c91
UD
178422011-05-31 Andreas Schwab <schwab@redhat.com>
17843
17844 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17845 memory. Use alloca_account. Fix memory leak when retrying.
17846
5b27a807
UD
178472011-05-31 Ulrich Drepper <drepper@gmail.com>
17848
356f8bc6
UD
17849 * version.h (RELEASE): Bump for 2.14 release.
17850 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17851
5b27a807
UD
17852 * config.make.in (RANLIB): Remove entry.
17853
01f16ab0
UD
178542011-05-30 Ulrich Drepper <drepper@gmail.com>
17855
41fce8bd
UD
17856 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17857 (libc.pot): Work around missing support for .ksh extension in xgettext.
17858
4769ae77
UD
17859 [BZ #12684]
17860 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17861 if both request failed.
17862 (send_dg): In case of server errors clear resplen or *resplen2.
17863
6b1e7d19
UD
17864 [BZ #12454]
17865 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17866 when there are multiple maps.
17867 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17868 (_dl_fini): Remove test here.
17869
01f16ab0
UD
17870 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17871
b1ebd700
UD
178722011-05-29 Ulrich Drepper <drepper@gmail.com>
17873
7ae22829
UD
17874 [BZ #12350]
17875 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17876 bit from old_res_options.
17877 (gaih_inet): Likewise.
17878
553149f6 17879 [BZ #11099]
18a84741 17880 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17881 as signed.
17882
652ffab1
UD
17883 * resolv/res_init.c (res_setoptions): Make the code more compact.
17884
16985fd0
UD
17885 [BZ #11558]
17886 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17887 set RES_USEVC.
17888
0464f746
UD
17889 [BZ #11634]
17890 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17891
7d17596c
UD
17892 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17893
cf6bbbd7
UD
17894 [BZ #11781]
17895 * malloc/malloc.h: Declare malloc hook variables as volatile.
17896
13f1ab36
UD
17897 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17898 in last patch.
17899
b1ebd700
UD
17900 [BZ #11799]
17901 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17902 raise in the comment.
80e2212d
UD
17903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17904 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17905 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17906
ce67228d
UD
179072011-05-28 Ulrich Drepper <drepper@gmail.com>
17908
8887a920
UD
17909 [BZ #12811]
17910 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17911 grow the buffers more if it already has to be sufficient.
17912 (build_wcs_upper_buffer): Likewise.
17913 * posix/regexec.c (check_matching): Likewise.
17914 (clean_state_log_if_needed): Likewise.
17915 (extend_buffers): Don't enlarge buffers beyond size of the input
17916 buffer.
17917 Patches mostly by Emil Wojak <emil@wojak.eu>.
17918 * posix/bug-regex32.c: New file.
17919 * posix/Makefile (tests): Add bug-regex32.
17920
4f031072
UD
17921 * locale/findlocale.c (_nl_find_locale): Return right away if
17922 _nl_explode_name failed.
17923 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17924
d0478f0c
UD
17925 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17926
de81b246
UD
17927 * debug/xtrace.sh: Unify messages.
17928 * malloc/memusage.sh: Likewise.
17929
c738465a
UD
17930 [BZ #12813]
17931 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17932 time symbol from vDSO. Substitute with vsyscall if not available.
17933 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17934 __vdso_time.
17935
f1f929d7
UD
17936 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17937 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17938 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17939 Add sendmmsg and internal_sendmmsg.
17940 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17941 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17942 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17943
ce67228d
UD
17944 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17945 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17946 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17947
e57420c6
UD
179482011-05-27 Ulrich Drepper <drepper@gmail.com>
17949
a8509ca5
UD
17950 [BZ #12813]
17951 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17952 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17953 available.
17954 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17955 __vdso_getcpu.
17956
e57420c6
UD
17957 [BZ #12814]
17958 * iconvdata/Makefile (tests): Add bug-iconv9.
17959 * iconvdata/bug-iconv9.c: New file.
17960
4d07db15
AS
179612011-05-27 Andreas Schwab <schwab@redhat.com>
17962
17963 [BZ #12814]
17964 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17965
ea486f69
JJ
179662011-05-25 Jakub Jelinek <jakub@redhat.com>
17967
17968 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17969 (struct user_regs_struct): Change intcs field back to cs.
17970
6f038433
UD
179712011-05-25 Ulrich Drepper <drepper@gmail.com>
17972
17973 * po/ja.po: Update from translation team.
17974
67f86a25
UD
179752011-05-23 Ulrich Drepper <drepper@gmail.com>
17976
17977 [BZ #12795]
17978 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17979 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17980
def7fbd6
AS
179812011-05-20 Andreas Schwab <schwab@redhat.com>
17982
17983 * stdlib/longlong.h: Update from GCC.
17984
f50ef8f1
AS
179852011-05-23 Andreas Schwab <schwab@redhat.com>
17986
17987 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17988 parameter name.
17989 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17990 Add parameter name.
17991 (__sysconf): Pass it down.
17992
de7ce8f1
UD
179932011-05-22 Ulrich Drepper <drepper@gmail.com>
17994
f2962a71
UD
17995 [BZ #12671]
17996 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17997 some situations.
17998 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17999 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18000 add in in __libc_use_alloca calls. Adjust callers.
18001 (glob): Use malloc in some situations.
18002
de7ce8f1
UD
18003 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18004 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18005 pltexit.
18006
aec84f53
UD
180072011-05-21 Ulrich Drepper <drepper@gmail.com>
18008
05bb4a68
UD
18009 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18010 and CLOCK_BOOTTIME_ALARM.
18011
7ea72f99
UD
18012 [BZ #12782]
18013 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18014 is returned.
18015
7e4afad5
UD
18016 * string/_strerror.c (__strerror_r): Print negative errors as signed
18017 numbers.
18018
8e211fec
UD
18019 [BZ #12777]
18020 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18021 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18022 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18023
f7d82dc9
UD
18024 * configure.in: Fix typo in redirection and correct removal of test
18025 files in two cases.
18026
cc9e536d
UD
18027 [BZ #12788]
18028 * locale/setlocale.c (new_composite_name): Fix test to check for
18029 identical name of all categories.
18030
aec84f53
UD
18031 [BZ #12792]
18032 * libio/filedoalloc.c (local_isatty): New function.
18033 (_IO_file_doallocate): Use local_isatty.
18034 * stdio-common/perror.c (perror): In case a new stream is used
18035 forward the stream error.
18036 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18037 error flag.
18038
78e64fdc
RT
180392011-05-20 Ulrich Drepper <drepper@gmail.com>
18040
34a9094f
UD
18041 [BZ #11869]
18042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18043 alloca.
18044 * include/alloca.h (extend_alloca_account): Define.
18045
78e64fdc
RT
18046 [BZ #11857]
18047 * posix/regex.h: Fix comments with documentation of user-accessible
18048 fields after compilation and describe correct free'ing of pattern
18049 after re_compile_pattern.
18050 Patch by Reuben Thomas <rrt@sc3d.org>.
18051
457bddfc
RA
180522011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18053
18054 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18055 and -mno-altivec to prevent the compiler from using Altivec and/or
18056 VSX instructions when the corresponding registers are not available.
18057
a4527b51
AS
180582011-05-19 Andreas Schwab <schwab@redhat.com>
18059
18060 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18061
ed690b2f
UD
180622011-05-19 Ulrich Drepper <drepper@gmail.com>
18063
18064 * libio/freopen.c (freopen): Use __dup2, not dup2.
18065 * libio/freopen64.c (freopen64): Likewise.
18066
8db73634
L
180672011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18068
18069 [BZ #12775]
18070 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18071 * math/Makefile (tests): Add test-powl.
18072 (CFLAGS-test-powl.c): Define.
18073 * math/test-powl.c: New file.
18074
0a197a9d
L
180752011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18076
18077 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18078
ee30c380
UD
180792011-05-17 Ulrich Drepper <drepper@gmail.com>
18080
18081 [BZ #11837]
18082 * iconvdata/gb18030.c: Update to GB18020-2005.
18083
6ce75379
UD
180842011-05-16 Ulrich Drepper <drepper@gmail.com>
18085
a4b89fd8
AR
18086 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18087 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18088 Patch by Aharon Robbins <arnold@skeeve.com>.
18089
ea389b12
UD
18090 [BZ #11892]
18091 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18092 on the stack.
18093
68a3f91f
UD
18094 [BZ #11895]
18095 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18096 through underflows.
18097
15cc7dd1
UD
18098 [BZ #12766]
18099 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18100 point to strings before performing equality test for error_one_per_line
18101 mode.
18102
f3799213
UD
18103 [BZ #11697]
18104 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18105
d79a9c94
UD
18106 [BZ #11820]
18107 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18108 (struct user_fpregs_struct): Avoid __uint*_t types.
18109
56e5eb46
UD
18110 [BZ #6420]
18111 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18112 symbol info. Use it instead of calling _dl_addr locally.
18113 (lock_and_info): New function.
18114 (tr_freehook): Call lock_and_info and pass symbol info as additional
18115 parameter to tr_where.
18116 (tr_mallochook): Likewise.
18117 (tr_reallochook): Likewise.
18118 (tr_memalignhook): Likewise.
18119
6ce75379
UD
18120 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18121 used and couldn't be at all thread-safe.
18122
f8a3b5bf
UD
181232011-05-15 Ulrich Drepper <drepper@gmail.com>
18124
94b7cc37
UD
18125 * libio/freopen.c (freopen): Don't close old file descriptor
18126 before the new one is opened. Instead dup the new file descriptor
18127 to the old one after the new stream is created.
18128 * libio/freopen64.c (freopen64): Likewise.
18129 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18130 * libio/fileops.c (_IO_new_file_close_it): Handle new
18131 _IO_FLAGS2_NOCLOSE flag.
18132 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18133 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18134 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18135 _IO_FLAGS2_NOCLOSE flag.
18136 * include/unistd.h: Add hidden_proto for dup3.
18137 Define __have_dup3.
18138 * io/dup3.c: Define hidden symbol.
18139 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18140
bd25564e
UD
18141 [BZ #7101]
18142 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18143 when an incomplete long option is used.
18144 * posix/tst-getopt_long1.c: New file.
18145 * posix/Makefile (tests): Add tst-getopt_long1.
18146
c84cfef4
UD
18147 [BZ #10138]
18148 * scripts/config.guess: Update from autoconf-2.68.
18149 * scripts/config.sub: Likewise.
18150
3b85df27
UD
18151 [BZ #10157]
18152 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18153 tests into ...
18154 (has_cpuclock): ...this. New function.
18155 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18156 macro here based on has_cpuclock code.
18157
15a856b1
UD
18158 [BZ #10149]
18159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18160 First byte (not low byte) is now always NUL.
18161 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18162
05f399e6
UD
18163 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18164 Use non-cancelable interfaces.
18165
10a52685 18166 [BZ #9809]
94ecc67d
UD
18167 * locale/iso-639.def: Add entry for Sorani.
18168
f8a3b5bf
UD
18169 [BZ #11901]
18170 * include/stdlib.h: Move include protection to the right place.
18171 Define abort_msg_s. Declare __abort_msg with it.
18172 * stdlib/abort.c (__abort_msg): Adjust type.
18173 * assert/assert.c (__assert_fail_base): New function. Majority
18174 of code from __assert_fail. Allocate memory for __abort_msg with
18175 mmap.
18176 (__assert_fail): Now call __assert_fail_base.
18177 * assert/assert-perr.c: Remove bulk of implementation. Use
18178 __assert_fail_base.
18179 * include/assert.hL Declare __assert_fail_base.
18180 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18181 mmap.
18182 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18183
1af4e298
UD
181842011-05-14 Ulrich Drepper <drepper@gmail.com>
18185
f8a3b5bf 18186 [BZ #11952]
d26dfc60
MG
18187 [BZ #12453]
18188 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18189 until all modules are registered in the DTV.
18190 * elf/Makefile: Add rules to build and run tst-tls19.
18191 * elf/tst-tls19.c: New file.
18192 * elf/tst-tls19mod1.c: New file.
18193 * elf/tst-tls19mod2.c: New file.
18194 * elf/tst-tls19mod3.c: New file.
18195 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18196
2fc54d6f
UD
18197 [BZ #12083]
18198 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18199 correctly.
18200
98d76b46
UD
18201 [BZ #12601]
18202 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18203 two-byte sequence errors.
18204 * iconvdata/Makefile (tests): Add bug-iconv8.
18205 * iconvdata/bug-iconv8.c: New file.
18206
da3c19ef
UD
18207 [BZ #12626]
18208 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18209 buf2 definition.
18210
ca408c15
UD
18211 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18212
d6f67f7d
UD
18213 [BZ #12432]
18214 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18215 (dummy_getcfa): New function.
18216 (init): Get _Unwind_GetCFA address, use dummy if not found.
18217 (backtrace_helper): In recursion check, also check whether CFA changes.
18218 (__backtrace): Completely initialize arg.
18219
1af4e298 18220 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18221 storing incomplete byte sequence in state object. Avoid testing for
18222 guaranteed too small input if we know there is enough data available.
1af4e298 18223
da62f81b
AS
182242011-05-11 Andreas Schwab <schwab@redhat.com>
18225
18226 * Makeconfig (+link-pie): Indent.
18227 * Rules (binaries-pie): Define if $(have-fpie) and
18228 $(build-shared).
18229 (binaries-shared): Also filter out $(binaries-pie).
18230 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18231 * nscd/Makefile (others-pie): Add nscd.
18232 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18233 ($(objpfx)nscd): Remove command override.
18234 * login/Makefile (others-pie): Add pt_chown.
18235 ($(objpfx)pt_chown): Remove command override.
18236 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18237 remove command overrides.
18238
fcabc0f8
UD
182392011-05-13 Ulrich Drepper <drepper@gmail.com>
18240
20030ae6
UD
18241 * libio/tst_putwc.c: Fix error messages.
18242
fcabc0f8
UD
18243 [BZ #12724]
18244 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18245 currently writing and seek to current position when not.
18246 * libio/Makefile (tests): Add bug-fclose1.
18247 * libio/bug-fclose1.c: New file.
18248
320a5dc0
PB
182492011-05-12 Ulrich Drepper <drepper@gmail.com>
18250
18251 [BZ #12511]
18252 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18253 don't set DF_1_NODELETE here.
18254 (do_lookup_x): When entering new entry test for copy relocation
18255 and if necessary set DF_1_NODELETE flag.
18256 * elf/tst-unique4.cc: New file.
18257 * elf/tst-unique4.h: New file.
18258 * elf/tst-unique4lib.cc: New file.
18259 * elf/Makefile: Add rules to build and run tst-unique4.
18260 Patch by Piotr Bury <pbury@goahead.com>.
18261
22836f52
UD
182622011-05-11 Ulrich Drepper <drepper@gmail.com>
18263
f574184a
UD
18264 [BZ #12052]
18265 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18266
e1fb097f
UD
18267 [BZ #12625]
18268 * misc/mntent_r.c (addmntent): Flush the stream after the output
18269
22836f52
UD
18270 [BZ #12393]
18271 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18272 (is_trusted_path_normalize): Skip initial colon. Append slash
18273 to empty buffer. Duplicate is_trusted_path code but allow
18274 constructed patch to be prefix.
18275 (is_dst): Allow $ORIGIN followed by /.
18276 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18277 Correct testing of result of is_trusted_path_normalize
18278 (decompose_rpath): Fix warning.
18279
7b3b0b2a
UD
182802011-05-10 Ulrich Drepper <drepper@gmail.com>
18281
18282 [BZ #11257]
18283 * grp/initgroups.c (internal_getgrouplist): When we found the service
18284 list through the initgroups entry in nsswitch.conf do not always
18285 continue on a successful lookup. Don't always use the
eac80ce2 18286 __nss_group_database value if it is set.
7b3b0b2a
UD
18287 * nss/nsswitch.conf (initgroups): Change action for successful db
18288 lookup to continue for compatibility.
18289
2a81eaa5
UD
182902011-05-09 Ulrich Drepper <drepper@gmail.com>
18291
be97a69e
UD
18292 [BZ #11532]
18293 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18294 and CP774 modules.
18295 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18296 and CP774 modules.
18297 * iconvdata/tst-tables.sh: Likewise.
18298 * iconvdata/cp770.c: New file.
18299 * iconvdata/cp771.c: New file.
18300 * iconvdata/cp772.c: New file.
18301 * iconvdata/cp773.c: New file.
18302 * iconvdata/cp774.c: New file.
18303 * iconvdata/testdata/CP770: New file.
18304 * iconvdata/testdata/CP770..UTF8: New file.
18305 * iconvdata/testdata/CP771: New file.
18306 * iconvdata/testdata/CP771..UTF8: New file.
18307 * iconvdata/testdata/CP772: New file.
18308 * iconvdata/testdata/CP772..UTF8: New file.
18309 * iconvdata/testdata/CP773: New file.
18310 * iconvdata/testdata/CP773..UTF8: New file.
18311 * iconvdata/testdata/CP774: New file.
18312 * iconvdata/testdata/CP774..UTF8: New file.
18313
18314 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18315 END CHARMAP line.
18316 * iconvdata/gen-8bit-gap.sh: Likewise.
18317 * iconvdata/gen-8bit.sh: Likewise.
18318
c1e9e399
UD
18319 * locale/iso-639.def: Add ary entry.
18320
24c55fb3 18321 [BZ #11258]
96b4b1b0
UD
18322 * locale/C-translit.h.in: Add U20A1 transliteration.
18323
bdc2f971
KB
18324 [BZ #12178]
18325 * locale/iso-639.def: Add wae entry.
18326 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18327
2952b117
UD
18328 [BZ #12545]
18329 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18330 for n.
18331
2a81eaa5
UD
18332 [BZ #12711]
18333 * locale/C-translit.h.in: Add entry for U20B9.
18334 Patch by pravin.d.s@gmail.com.
18335
28377d1b
UD
183362011-05-08 Ulrich Drepper <drepper@gmail.com>
18337
7fb90fb8
UD
18338 [BZ #12713]
18339 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18340 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18341 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18342 in rtld. Use *stat64.
7fb90fb8 18343 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18344 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18345 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18346 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18347 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18348 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18349 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18350 __fstatat64 macros.
7fb90fb8
UD
18351 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18352 * dirent/rewinddir.c: Add libc_hidden_def.
18353 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18354 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18355
28377d1b
UD
18356 * include/dirent.h (__alloc_dir): Add flags parameter.
18357 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18358 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18359 __alloc_dir.
18360 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18361 from fdopendir if O_CLOEXEC is already set.
18362
66bdbaa4
AM
183632011-03-15 Alan Modra <amodra@gmail.com>
18364
18365 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18366 l_tls_firstbyte_offset non-zero. Save padding offset in
18367 l_tls_firstbyte_offset for later use.
18368 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18369 freeing static tls block.
18370
95721191
JN
183712011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18372
18373 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18374 where #ifdef was intended. The intent is to prevent ARG_MAX from
18375 being defined by the kernel headers.
18376
f87dfb1f
UD
183772011-05-07 Ulrich Drepper <drepper@gmail.com>
18378
18379 [BZ #12734]
18380 * resolv/resolv.h: Define RES_NOTLDQUERY.
18381 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18382 no-tld-query and set RES_NOTLDQUERY.
18383 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18384 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18385 modern BIND to search name as TLD unless forbidden.
18386
47c3cd7a
UD
183872011-05-07 Petr Baudis <pasky@suse.cz>
18388 Ulrich Drepper <drepper@gmail.com>
18389
18390 [BZ #12393]
18391 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18392 (is_trusted_path): ...to here.
c1e9ea35 18393 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18394 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18395 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18396
8a35c912
PP
183972011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18398
18399 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18400 __BEGIN/__END_DECLS.
18401
acd41f47
UD
184022011-05-06 Ulrich Drepper <drepper@gmail.com>
18403
18404 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18405 NSS_STATUS_NOTFOUND if no record was found.
18406
597df647
AS
184072011-05-05 Andreas Schwab <schwab@redhat.com>
18408
18409 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18410 (headers-not-in-tirpc): Remove rpc/netdb.h
18411 * resolv/netdb.h: Revert last change.
18412
b9af1301
PP
184132011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18414
18415 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18416 circular dependency between libgcc.a and libc.a.
18417
4e34d5f5
AS
184182011-05-05 Andreas Schwab <schwab@redhat.com>
18419
18420 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18421 * nis/Makefile: Don't install rpcsvc/*.
18422 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18423 instead of <rpc/types.h>.
18424 (MAXHOSTNAMELEN): Define.
18425
00ee369c
AS
184262011-05-03 Andreas Schwab <schwab@redhat.com>
18427
18428 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18429
0b592a30
MB
184302011-04-28 Maciej Babinski <mbabinski@google.com>
18431
18432 [BZ #12714]
18433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18434 gethostbyname4_r when IPv6 results are possible.
18435
6e04cbbe
UD
184362011-05-02 Ulrich Drepper <drepper@gmail.com>
18437
18438 [BZ #12723]
18439 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18440 _PC_PIPE_BUF handling.
18441
e4ecafe0
BH
184422011-04-30 Bruno Haible <bruno@clisp.org>
18443
18444 [BZ #12717]
18445 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18446 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18447 to 'int'.
18448 * inet/getnameinfo.c (getnameinfo): Likewise.
18449
125ee683
UD
184502011-04-29 Ulrich Drepper <drepper@gmail.com>
18451
18452 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18453 to groups setting in database lookup.
18454 * nss/nsswitch.conf: Add initgroups entry.
18455
b722481a
EB
184562011-04-22 Ulrich Drepper <drepper@gmail.com>
18457
18458 [BZ #12685]
18459 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18460 mode string.
18461 Patch by Eric Blake <eblake@redhat.com>.
18462
4df46dbd
L
184632011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18464
18465 * sunrpc/Makefile (need-export-routines): Add svc_run.
18466 (routines): Remove svc_run.
18467 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18468 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18469 * sunrpc/svc_run.c (svc_run): Likewise.
18470 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18471
e84142d2
UD
184722011-04-21 Ulrich Drepper <drepper@gmail.com>
18473
18474 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18475 problem in reallocation in last patch.
18476
877175d8
UD
184772011-04-20 Ulrich Drepper <drepper@gmail.com>
18478
18479 * sunrpc/Makefile: Move inclusion of Rules.
18480
ab8eed78
UD
184812011-04-19 Ulrich Drepper <drepper@gmail.com>
18482
18483 * nss/nss_files/files-initgroups.c: New file.
18484 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18485 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18486 _nss_files_initgroups_dyn.
18487
e3d8f584
RS
184882011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18489
18490 * elf/elf.h (R_ARM_IRELATIVE): Define.
18491
af190f45
UD
184922011-04-19 Ulrich Drepper <drepper@gmail.com>
18493
18494 * po/ru.po: Update from translation team.
18495
53cf59ef
UD
184962011-04-17 Ulrich Drepper <drepper@gmail.com>
18497
18498 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18499 dependencies.
18500
4c559bcd
MF
185012011-02-06 Mike Frysinger <vapier@gentoo.org>
18502
18503 [BZ #12653]
18504 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18505 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18506 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18508 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18509
4420675c
AS
185102011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18511
18512 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18513 differing bytes.
18514 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18517
75ea32ab
UD
185182011-04-17 Ulrich Drepper <drepper@gmail.com>
18519
18520 [BZ #12420]
18521 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18522 storing it.
18523 * stdlib/bug-getcontext.c: New file.
18524 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18525
27390476
AK
185262011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18527
18528 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18529 instructions into .machine "z9-109".
18530 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18531 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18532
10442705
AK
185332011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18534
18535 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18536 between environment variables and auxiliary vector.
18537
7b57bfe5
UD
185382011-04-16 Ulrich Drepper <drepper@gmail.com>
18539
18540 * Makefile: Add rules to build linkobj/libc.so.
18541 * include/libc-symbols.h: Define libc_hidden_nolink.
18542 * include/rpc/auth.h: Mark functions which are to be hidden.
18543 * include/rpc/auth_des.h: Likewise.
18544 * include/rpc/auth_unix.h: Likewise.
18545 * include/rpc/clnt.h: Likewise.
18546 * include/rpc/des_crypt.h: Likewise.
18547 * include/rpc/key_prot.h: Likewise.
18548 * include/rpc/pmap_clnt.h: Likewise.
18549 * include/rpc/pmap_prot.h: Likewise.
18550 * include/rpc/pmap_rmt.h: Likewise.
18551 * include/rpc/rpc_msg.h: Likewise.
18552 * include/rpc/svc.h: Likewise.
18553 * include/rpc/svc_auth.h: Likewise.
18554 * include/rpc/xdr.h: Likewise.
18555 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18556 * nss/Makefile: Likewise.
18557 * sunrpc/Makefile: Don't install headers. Build library with normal
18558 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18559 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18560 for the compat linking library. Remove use of INTDEF/INTUSE.
18561 * sunrpc/auth_none.c: Likewise.
18562 * sunrpc/auth_unix.c: Likewise.
18563 * sunrpc/authdes_prot.c: Likewise.
18564 * sunrpc/authuxprot.c: Likewise.
18565 * sunrpc/clnt_gen.c: Likewise.
18566 * sunrpc/clnt_perr.c: Likewise.
18567 * sunrpc/clnt_raw.c: Likewise.
18568 * sunrpc/clnt_simp.c: Likewise.
18569 * sunrpc/clnt_tcp.c: Likewise.
18570 * sunrpc/clnt_udp.c: Likewise.
18571 * sunrpc/clnt_unix.c: Likewise.
18572 * sunrpc/des_crypt.c: Likewise.
18573 * sunrpc/des_soft.c: Likewise.
18574 * sunrpc/get_myaddr.c: Likewise.
18575 * sunrpc/key_call.c: Likewise.
18576 * sunrpc/key_prot.c: Likewise.
18577 * sunrpc/netname.c: Likewise.
18578 * sunrpc/pm_getmaps.c: Likewise.
18579 * sunrpc/pm_getport.c: Likewise.
18580 * sunrpc/pmap_clnt.c: Likewise.
18581 * sunrpc/pmap_prot.c: Likewise.
18582 * sunrpc/pmap_prot2.c: Likewise.
18583 * sunrpc/pmap_rmt.c: Likewise.
18584 * sunrpc/publickey.c: Likewise.
18585 * sunrpc/rpc_cmsg.c: Likewise.
18586 * sunrpc/rpc_common.c: Likewise.
18587 * sunrpc/rpc_dtable.c: Likewise.
18588 * sunrpc/rpc_prot.c: Likewise.
18589 * sunrpc/rpc_thread.c: Likewise.
18590 * sunrpc/rtime.c: Likewise.
18591 * sunrpc/svc.c: Likewise.
18592 * sunrpc/svc_auth.c: Likewise.
18593 * sunrpc/svc_authux.c: Likewise.
18594 * sunrpc/svc_raw.c: Likewise.
18595 * sunrpc/svc_run.c: Likewise.
18596 * sunrpc/svc_simple.c: Likewise.
18597 * sunrpc/svc_tcp.c: Likewise.
18598 * sunrpc/svc_udp.c: Likewise.
18599 * sunrpc/svc_unix.c: Likewise.
18600 * sunrpc/svcauth_des.c: Likewise.
18601 * sunrpc/xcrypt.c: Likewise.
18602 * sunrpc/xdr.c: Likewise.
18603 * sunrpc/xdr_array.c: Likewise.
18604 * sunrpc/xdr_float.c: Likewise.
18605 * sunrpc/xdr_intXX_t.c: Likewise.
18606 * sunrpc/xdr_mem.c: Likewise.
18607 * sunrpc/xdr_rec.c: Likewise.
18608 * sunrpc/xdr_ref.c: Likewise.
18609 * sunrpc/xdr_sizeof.c: Likewise.
18610 * sunrpc/xdr_stdio.c: Likewise.
18611
e6c61494
UD
186122011-04-10 Ulrich Drepper <drepper@gmail.com>
18613
18614 [BZ #12650]
18615 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18616 * sysdeps/ia64/dl-tls.h: Likewise.
18617 * sysdeps/powerpc/dl-tls.h: Likewise.
18618 * sysdeps/s390/dl-tls.h: Likewise.
18619 * sysdeps/sh/dl-tls.h: Likewise.
18620 * sysdeps/sparc/dl-tls.h: Likewise.
18621 * sysdeps/x86_64/dl-tls.h: Likewise.
18622 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18623
34fe483e
AS
186242011-03-14 Andreas Schwab <schwab@redhat.com>
18625
18626 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18627 rpath element also skip the following colon.
18628 (expand_dynamic_string_token): Add is_path parameter and pass
18629 down to DL_DST_REQUIRED and _dl_dst_substitute.
18630 (decompose_rpath): Call expand_dynamic_string_token with
18631 non-zero is_path. Ignore empty rpaths.
18632 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18633 with zero is_path.
18634
f12a32e6
AS
186352011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18636
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18638 Make cancelable.
18639
38a7d692
UD
186402011-04-09 Ulrich Drepper <drepper@gmail.com>
18641
18642 [BZ #12655]
18643 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18644 Patch by Filipe David Manana <fdmanana@apache.org>.
18645
e451d22b
AS
186462011-04-07 Andreas Schwab <schwab@redhat.com>
18647
18648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18649 Maintain aligned stack.
18650 (CHECK_RSP): Remove unused macro.
18651
dedc7c7b
UD
186522011-04-03 Ulrich Drepper <drepper@gmail.com>
18653
18654 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18656
94521213
UD
186572011-04-02 Ulrich Drepper <drepper@gmail.com>
18658
18659 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18660
8cb700c0 18661 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18662
0354e355
L
186632011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18664
18665 [BZ #12518]
18666 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18667 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18668 * sysdeps/x86_64/memmove.c: New file.
18669 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18670 (memcpy): Renamed to ...
18671 (__new_memcpy): This.
18672 (memcpy): Provide GLIBC_2_14 memcpy.
18673 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18674 (memcpy): Provide GLIBC_2_2_5 memcpy.
18675
8593482f
UD
186762011-04-01 Ulrich Drepper <drepper@gmail.com>
18677
18678 [BZ #12631]
18679 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18680
81a5726b
AS
186812011-03-30 Andreas Schwab <schwab@redhat.com>
18682
18683 * misc/syncfs.c: New file.
18684 * misc/Makefile (routines): Add syncfs.
18685 * posix/unistd.h: Declare syncfs.
18686 * sysdeps/unix/syscalls.list: Add syncfs.
18687
00e5419f
AS
186882011-04-01 Andreas Schwab <schwab@redhat.com>
18689
18690 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18691 open_by_handle_at.
18692 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18693 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18695 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18697 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18698 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18699
748876bf
UD
187002011-04-01 Ulrich Drepper <drepper@gmail.com>
18701
658e451d
UD
18702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18703 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18704 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18708 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18709
748876bf
UD
18710 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18711 sync_file_range.c with -fexceptions.
18712 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18713 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18714 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18715 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18716 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18717 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18719 sync_file_range as cancellation point
18720 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18721 now a wrapper around __call_sync_file_range with cancellation handling.
18722 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18723 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18724 function name to __call_sync_file_range.
18725 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18726 Add call_sync_file_range.
748876bf 18727
6e63d5e1
AS
187282011-04-01 Andreas Schwab <schwab@redhat.com>
18729
18730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18731 bits/timex.h.
6e63d5e1 18732
46998f74
UD
187332011-04-01 Ulrich Drepper <drepper@gmail.com>
18734
4c1423ed
UD
18735 * iconv/iconv.h: Fix typo in comment.
18736 * io/fcntl.h: Likewise.
18737 * libio/stdio.h: Likewise.
18738 * posix/spawn.h: Likewise.
18739 * posix/unistd.h: Likewise.
18740 * stdlib/stdlib.h: Likewise.
18741 * time/time.h: Likewise.
18742 * wcsmbs/wchar.h: Likewise.
18743
158648c0
UD
18744 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18745 open_by_handle): Add.
18746 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18747 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18748 Augment a few comments.
18749 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18751 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18754 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18755 open_by_handle.
18756
46998f74
UD
18757 * io/fcntl.h (AT_EMPTY_PATH): Define.
18758
83fe108b
UD
187592011-03-30 Ulrich Drepper <drepper@gmail.com>
18760
18761 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18762 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18763 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18764 to...
18765 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18766 * Versions.def: Add GLIBC_2.14.
18767 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18768 Export.
83fe108b 18769
bb242059
UD
187702011-03-22 Ulrich Drepper <drepper@gmail.com>
18771
18772 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18773 round counter.
18774 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18775
c97a1282
L
187762011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18777
18778 [BZ #12597]
18779 * string/test-strncmp.c (do_page_test): New function.
18780 (check2): Likewise.
18781 (test_main): Call check2.
18782 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18783
2a115601
UD
187842011-03-20 Ulrich Drepper <drepper@gmail.com>
18785
18786 [BZ #12587]
18787 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18788 Handle cache information in CPU leaf 4.
18789 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18790
8126d904
UD
187912011-03-18 Ulrich Drepper <drepper@gmail.com>
18792
042c49c6 18793 [BZ #12583]
8126d904
UD
18794 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18795 character representation.
18796 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18797
ccfe366e
RA
187982011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18799
18800 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18801 END(__isnan) to END(__isnanf) to match function entry point/label
18802 EALIGN(__isnanf,...).
18803
c6e13027
JJ
188042011-03-10 Jakub Jelinek <jakub@redhat.com>
18805
18806 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18807
33f85a3f
UD
188082011-03-10 Ulrich Drepper <drepper@gmail.com>
18809
028478fa
UD
18810 [BZ #12510]
18811 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18812 copy from the symbol referenced in the relocation to initialize the
18813 used variable.
18814 Patch by Piotr Bury <pbury@goahead.com>.
18815 * elf/Makefile: Add rules to build and tst-unique3.
18816 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18817 * elf/tst-unique3.cc: New file.
18818 * elf/tst-unique3.h: New file.
18819 * elf/tst-unique3lib.cc: New file.
18820 * elf/tst-unique3lib2.cc: New file.
18821
33f85a3f
UD
18822 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18823
03592fc7
MF
188242011-03-10 Mike Frysinger <vapier@gentoo.org>
18825
18826 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18827 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18828 to _start.
03592fc7 18829
6a5ee102
UD
188302011-03-06 Ulrich Drepper <drepper@gmail.com>
18831
18832 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18833 to-be-loaded object along a path to loader is ld.so.
18834
7e4ba49c
HJ
188352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18836 Ulrich Drepper <drepper@gmail.com>
18837
18838 * sysdeps/x86_64/memset.S: After aligning destination, code
18839 branches to different locations depending on the value of
18840 misalignment, when multiarch is enabled. Fix this.
18841
188422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18843
18844 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18845 Set _x86_64_preferred_memory_instruction for AMD processsors.
18846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18847 Set bit_Prefer_SSE_for_memop for AMD processors.
18848
13a804de
UD
188492011-03-04 Ulrich Drepper <drepper@gmail.com>
18850
18851 * libio/fmemopen.c (fmemopen): Optimize a bit.
18852
9d25c392
AS
188532011-03-03 Andreas Schwab <schwab@redhat.com>
18854
18855 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18856
a5543c6a
RM
188572011-03-03 Roland McGrath <roland@redhat.com>
18858
18859 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18860
012d35f7
DM
188612011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18862
7e4ba49c 18863 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18864 __bzero_ultra1 instead of __memset_ultra1.
18865
4bff6e01
AS
188662011-02-23 Andreas Schwab <schwab@redhat.com>
18867 Ulrich Drepper <drepper@gmail.com>
18868
18869 [BZ #12509]
18870 * include/link.h (struct link_map): Add l_orig_initfini.
18871 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18872 returning unsuccessfully.
18873 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18874 close of a file loaded at startup, restore the original l_initfini
18875 list.
18876 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18877 list, store the pointer.
18878 * elf/Makefile ($(objpfx)noload-mem): New rule.
18879 (noload-ENV): Define.
18880 (tests): Add $(objpfx)noload-mem.
18881 * elf/noload.c: Include <memcheck.h>.
18882 (main): Call mtrace. Close all opened handles.
18883
f2092faf
AS
188842011-02-17 Andreas Schwab <schwab@redhat.com>
18885
18886 [BZ #12454]
18887 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18888 dependencies are missing.
18889
6c8a2e88
ST
188902011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18891
f2092faf 18892 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18893 Hurd needs munmap.
18894 * sysdeps/mach/hurd/ifreq.h: New file.
18895
84a42118
PB
188962011-01-27 Petr Baudis <pasky@suse.cz>
18897 Ulrich Drepper <drepper@gmail.com>
18898
071f805e 18899 [BZ 12445]#
84a42118
PB
18900 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18901 to extend_alloca().
18902 * stdio-common/bug23.c: New file.
18903 * stdio-common/Makefile (tests): Add bug23.
18904
e23fe25b
AS
189052010-09-28 Andreas Schwab <schwab@redhat.com>
18906 Ulrich Drepper <drepper@gmail.com>
18907
18908 [BZ #12489]
18909 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18910 before performing relro protection. At old place add assertion
18911 to make sure nothing changed.
18912
d3f02e10
NS
189132011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18914 Glauber de Oliveira Costa <glommer@gmail.com>
18915
18916 * elf/elf.h: Add new ARM TLS relocs.
18917
d55fd7a5
RA
189182011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18919
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18921 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18922 cast from r3.
18923 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18924 'tests' variable.
18925 * sysdeps/wordsize-64/tst-writev.c: New file.
18926
2206397e
RA
189272011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18928
18929 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18930 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18931 insns in _dl_start to prevent a TOC reference before relocs are
18932 resolved.
18933
e9433893
UD
189342011-02-15 Ulrich Drepper <drepper@gmail.com>
18935
18936 [BZ #12469]
18937 * Makeconfig: Remove RANLIB definition.
18938 * Makerules: Don't use RANLIB.
18939 * aclocal.m4: Remove ranlib test.
18940 * configure.in: No need to check for ranlib.
18941 * elf/rtld-Rules: Don't use RANLIB.
18942
f75286c6
ST
189432011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18944
8e31c82d
ST
18945 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18946 protection macro.
18947 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18948 inclusion protection macro.
18949
f75286c6
ST
18950 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18951 SIGRTMIN and SIGRTMAX and print information in that case only when
18952 SIGRTMIN is defined.
18953
c1d0e639
JJ
189542011-02-11 Jakub Jelinek <jakub@redhat.com>
18955
18956 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18957 arginfo fn returning -1.
18958
18959 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18960 and thousands string is zero terminated.
18961
edf9294e
AS
189622011-02-03 Andreas Schwab <schwab@redhat.com>
18963
18964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18965 sysdeps/unix/sysv/linux/bits/socket.h.
18966
2b7e92df
ST
189672011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18968
edf9294e
AS
18969 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18970 (__CPU_COUNT): Remove old macros.
18971 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18972 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18973 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18974 (__sched_cpualloc, __sched_cpufree): Add declarations.
18975
a4c7ea7b
UD
189762011-02-05 Ulrich Drepper <drepper@gmail.com>
18977
18978 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18979 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18980 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18981 (readdhstai): Return value of addhstaiX call.
18982 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18983 (addgrbyX): Return value returned by cache_addgr.
18984 (readdgrbyname): Return value returned by addgrbyX.
18985 (readdgrbygid): Likewise.
18986 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18987 (addpwbyX): Return value returned by cache_addpw.
18988 (readdpwbyname): Return value returned by addhstbyX.
18989 (readdpwbyuid): Likewise.
18990 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18991 (addservbyX): Return value returned by cache_addserv.
18992 (readdservbyname): Return value returned by addservbyX:
18993 (readdservbyport): Likewise.
18994 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18995 (addhstbyX): Return value returned by cache_addhst.
18996 (readdhstbyname): Return value returned by addhstbyX.
18997 (readdhstbyaddr): Likewise.
18998 (readdhstbynamev6): Likewise.
18999 (readdhstbyaddrv6): Likewise.
19000 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19001 (readdinitgroups): Return value returned by addinitgroupsX.
19002 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19003 (prune_cache): Keep track of timeout value of re-added entries.
19004 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19005 * nscd/nscd.h: Adjust prototypes of readd* functions.
19006
a0bf67cc
RM
190072011-02-04 Roland McGrath <roland@redhat.com>
19008
19009 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19010 (nis_stats): Likewise.
19011 * nis/nis_modify.c (nis_modify): Likewise.
19012 * nis/nis_remove.c (nis_remove): Likewise.
19013 * nis/nis_add.c (nis_add): Likewise.
19014
19015 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19016
19017 * posix/fnmatch_loop.c: Add some consts.
19018
19019 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19020
435b95eb
L
190212011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19022
19023 [BZ #12460]
19024 * config.make.in (config-cflags-novzeroupper): Define.
19025 * configure.in: Substitute libc_cv_cc_novzeroupper.
19026 * elf/Makefile (AVX-CFLAGS): Define.
19027 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19028 (CFLAGS-tst-auditmod4a.c): Likewise.
19029 (CFLAGS-tst-auditmod4b.c): Likewise.
19030 (CFLAGS-tst-auditmod6b.c): Likewise.
19031 (CFLAGS-tst-auditmod6c.c): Likewise.
19032 (CFLAGS-tst-auditmod7b.c): Likewise.
19033 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19034
8517b15e
UD
190352011-02-02 Ulrich Drepper <drepper@gmail.com>
19036
19037 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19038 function to the callback.
19039 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19040
10a656fe
AS
190412011-02-02 Andreas Schwab <schwab@redhat.com>
19042
19043 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19044 of errno.
19045
968dad0a
UD
190462011-01-19 Ulrich Drepper <drepper@gmail.com>
19047
9f94d2ea 19048 [BZ #11724]
968dad0a
UD
19049 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19050 of constructors.
19051 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19052 of destructors.
19053 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19054
19055 [BZ #11724]
19056 * elf/Makefile: Add rules to build and run new test.
19057 * elf/tst-initorder.c: New file.
19058 * elf/tst-initorder.exp: New file.
19059 * elf/tst-initordera1.c: New file.
19060 * elf/tst-initordera2.c: New file.
19061 * elf/tst-initordera3.c: New file.
19062 * elf/tst-initordera4.c: New file.
19063 * elf/tst-initorderb1.c: New file.
19064 * elf/tst-initorderb2.c: New file.
19065 * elf/tst-order-a1.c: New file.
19066 * elf/tst-order-a2.c: New file.
19067 * elf/tst-order-a3.c: New file.
19068 * elf/tst-order-a4.c: New file.
19069 * elf/tst-order-b1.c: New file.
19070 * elf/tst-order-b2.c: New file.
19071 * elf/tst-order-main.c: New file.
19072 New test case by George Gensure <werkt0@gmail.com>.
19073
86e92359
UD
190742010-10-01 Andreas Schwab <schwab@redhat.com>
19075
19076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19077 decoding ACE if AI_CANONIDN.
19078
5d5732b0
UD
190792011-01-18 Ulrich Drepper <drepper@gmail.com>
19080
19081 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19082
a77e8cbc
UD
190832011-01-17 Ulrich Drepper <drepper@gmail.com>
19084
6392473f
UD
19085 * version.h (RELEASE): Bump for 2.13 release.
19086 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19087
620a0529
UD
19088 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19089
18ba70a5
UD
19090 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19091 MADV_NOHUGEPAGE.
32465c3e
UD
19092 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19093 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19094 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19095 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19096 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19097 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19098
c0dafcf1
UD
19099 * posix/getconf.c: Update copyright year.
19100 * catgets/gencat.c: Likewise.
19101 * csu/version.c: Likewise.
19102 * debug/catchsegv.sh: Likewise.
19103 * debug/xtrace.sh: Likewise.
19104 * elf/ldconfig.c: Likewise.
19105 * elf/ldd.bash.in: Likewise.
19106 * elf/sprof.c (print_version): Likewise.
19107 * iconv/iconv_prog.c: Likewise.
19108 * iconv/iconvconfig.c: Likewise.
19109 * locale/programs/locale.c: Likewise.
19110 * locale/programs/localedef.c: Likewise.
19111 * malloc/memusage.sh: Likewise.
19112 * malloc/mtrace.pl: Likewise.
19113 * nscd/nscd.c (print_version): Likewise.
19114 * nss/getent.c: Likewise.
19115
a77e8cbc
UD
19116 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19117 PF_CAIF, and PF_ALG.
19118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19119
77e8bddf
AS
191202011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19121
1f20b93a
AS
19122 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19123 (modules-names): Use them.
19124 (ifunc-test-modules, ifunc-pie-tests): Define.
19125 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19126 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19127 (test-extras): Likewise.
19128 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19129 $(compile-command.c).
19130 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19131 (all-built-dso): Define.
19132 (check-textrel.out, check-execstack.out): Depend on it.
19133
77e8bddf
AS
19134 * configure.in: Don't override --enable-multi-arch.
19135
bc425b33
UD
191362011-01-15 Ulrich Drepper <drepper@gmail.com>
19137
19138 [BZ #6812]
19139 * nscd/hstcache.c (tryagain): Define.
19140 (cache_addhst): Return tryagain not notfound for temporary errors.
19141 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19142 failed.
19143
794c3ad3
UD
191442011-01-14 Ulrich Drepper <drepper@gmail.com>
19145
70181fdd
UD
19146 [BZ #10563]
19147 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19148 to make the syscall.
19149 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19150
794c3ad3
UD
19151 [BZ #12378]
19152 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19153 and fall back to matching as normal character if the string ends before
19154 the matching ']' is found. This is what POSIX requires.
19155 * posix/testfnm.c: Adjust test result.
19156 * posix/globtest.sh: Adjust test result. Add new test.
19157 * posix/tst-fnmatch.input: Likewise.
19158 * posix/tst-fnmatch2.c: Add new test.
19159
68dc9497
AS
191602010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19161
19162 * elf/Makefile (check-execstack): Revert last change. Depend on
19163 check-execstack.h.
19164 (check-execstack.h): New target.
19165 (generated): Add check-execstack.h.
19166 * elf/check-execstack.c: Include "check-execstack.h".
19167 (main): Revert last change.
19168 (handle_file): Return zero if GNU_STACK is absent and
19169 DEFAULT_STACK_PERMS doesn't include PF_X.
19170
451f001b
UD
191712011-01-13 Ulrich Drepper <drepper@gmail.com>
19172
cfa28e56
UD
19173 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19174 in child fails because the descriptor is already closed.
8cf8ce17
UD
19175 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19176 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19177 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19178
1086d70d
UD
19179 [BZ #12397]
19180 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19181 syscall.
19182
451f001b
UD
19183 [BZ #10484]
19184 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19185 temporary buffer used to handle multi lookups locally.
a85b5cb4 19186 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19187
08769175
UD
191882011-01-12 Ulrich Drepper <drepper@gmail.com>
19189
19190 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19191 loader is ld.so.
19192
5e49c52e
UD
191932011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19194
19195 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19196 alignment for SSE2.
19197
60522a5f
UD
191982011-01-12 Ulrich Drepper <drepper@gmail.com>
19199
19200 [BZ #12394]
19201 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19202 characters. When rounding increased number of integer digits recompute
19203 number of groups.
19204 * stdio-common/tst-grouping.c: New file.
19205 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19206
f257bbd7
UD
192072011-01-09 Ulrich Drepper <drepper@gmail.com>
19208
19209 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19210 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19211
19212 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19213 void.
19214 * bits/select.h: Likewise.
19215
fa9c15cb
UD
192162011-01-08 Ulrich Drepper <drepper@gmail.com>
19217
19218 * po/ja.po: Update from translation team.
19219
16c2895f
DM
192202011-01-04 David S. Miller <davem@sunset.davemloft.net>
19221
19222 [BZ #11155]
19223 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19224 implementation just like for lxstat, fxstatat, et al.
19225
2543fef2
JM
192262010-12-27 Jim Meyering <meyering@redhat.com>
19227
19228 [BZ #12348]
19229 * posix/regexec.c (build_trtable): Return failure indication upon
19230 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19231
98727dbe
UD
192322010-12-25 Ulrich Drepper <drepper@gmail.com>
19233
5bd6dc5c
UD
19234 [BZ #12201]
19235 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19236 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19237 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19238 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19239
97983464
UD
19240 [BZ #12207]
19241 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19242
98727dbe
UD
19243 [BZ #12204]
19244 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19245 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19246
4a531bb0
L
192472010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19248
19249 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19250 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19251 script has SORT_BY_INIT_PRIORITY.
19252 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19253 NO_CTORS_DTORS_SECTIONS is defined.
19254 * elf/soinit.c: Likewise.
19255 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19256 NO_CTORS_DTORS_SECTIONS is defined.
19257 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19258 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19259 * sysdeps/sh/init-first.c: Likewise.
19260 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19261
07eb4b71
UD
192622010-12-24 Ulrich Drepper <drepper@gmail.com>
19263
19264 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19265 always use the slow path.
19266
30950a5f
RA
192672010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19268
19269 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19270 similar rule which adds the sysdep directories to the header search in
19271 order to pick up the correct platform stackinfo.h.
19272 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19273 perform test if it is, otherwise return successfully without testing.
19274 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19275 DEFAULT_STACK_PERMS define in stackinfo.h.
19276 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19277 defined in stackinfo.h.
19278 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19279 DEFAULT_STACK_PERMS defined in stackinfo.h.
19280 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19281 * sysdeps/ia64/stackinfo.h: Likewise.
19282 * sysdeps/s390/stackinfo.h: Likewise.
19283 * sysdeps/sh/stackinfo.h: Likewise.
19284 * sysdeps/sparc/stackinfo.h: Likewise.
19285 * sysdeps/x86_64/stackinfo.h: Likewise.
19286 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19287 PF_X for powerpc64. Retain PF_X for powerpc32.
19288
db753e2c
UD
192892010-12-19 Ulrich Drepper <drepper@gmail.com>
19290
14b697f7
UD
19291 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19292 accurately.
db753e2c
UD
19293 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19294 GETDENTS_64BIT_ALIGNED.
19295
28300719
UD
192962010-12-14 Ulrich Drepper <dreper@gmail.com>
19297
14b697f7 19298 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19299
4f197237
AS
193002010-12-10 Andreas Schwab <schwab@redhat.com>
19301
dbb0472f
AS
19302 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19303 _GNU_SOURCE.
19304
4f197237
AS
19305 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19306 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19307 Remove __restrict.
19308 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19309 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19310
fb88ac72
UD
193112010-12-09 Ulrich Drepper <drepper@gmail.com>
19312
19313 [BZ #11655]
19314 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19315 are initialized.
19316
42acbb92
JJ
193172010-12-09 Jakub Jelinek <jakub@redhat.com>
19318
19319 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19320
c038d98d
UD
193212010-12-03 Ulrich Drepper <drepper@gmail.com>
19322
19323 * po/it.po: Update from translation team.
19324
3a4a2499
L
193252010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19326
19327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19328 unused codes.
19329
1e24cf6e
UD
193302010-11-30 Ulrich Drepper <drepper@gmail.com>
19331
19332 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19333
a7690819
AS
193342010-11-24 Andreas Schwab <schwab@redhat.com>
19335
19336 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19337 specially.
19338 (gaih_getanswer_slice): Likewise.
19339
3bf8d1b1
JJ
193402010-10-20 Jakub Jelinek <jakub@redhat.com>
19341
19342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19343
6db52fbb
PB
193442010-05-31 Petr Baudis <pasky@suse.cz>
19345
19346 [BZ #11149]
19347 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19348 silently even in the chroot mode.
19349
eaca7569
UD
193502010-11-22 Ulrich Drepper <drepper@gmail.com>
19351
19352 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19353 last patch a bit. Pretty printing
19354
3056dcdb
UD
193552010-05-31 Petr Baudis <pasky@suse.cz>
19356
19357 [BZ #10085]
19358 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19359 initialization of skip_initgroups_dyn.
19360
cf7c9078
UD
193612010-11-19 Ulrich Drepper <drepper@gmail.com>
19362
19363 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19364 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19365
a1fb5e3e
UD
193662010-11-16 Ulrich Drepper <drepper@gmail.com>
19367
19368 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19369
3540d66b
AS
193702010-11-11 Andreas Schwab <schwab@redhat.com>
19371
19372 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19373 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19374 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19375 ($(objpfx)tst-fnmatch-mem): New rule.
19376 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19377 * posix/tst-fnmatch.c (main): Call mtrace.
19378
13b69574
L
193792010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19380
19381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19382 Support Intel processor model 6 and model 0x2c.
19383
da93d214
LM
193842010-11-10 Luis Machado <luisgpm@br.ibm.com>
19385
19386 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19387 signed comparison.
19388
8ca52c6e
L
193892010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19390
19391 [BZ #12205]
19392 * string/test-strncasecmp.c (check_result): New function.
19393 (do_one_test): Use it.
19394 (check1): New function.
19395 (test_main): Use it.
19396 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19397 Support strcasecmp and strncasecmp.
19398
69da074d
UD
193992010-11-08 Ulrich Drepper <drepper@gmail.com>
19400
19401 [BZ #12194]
19402 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19403 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19404
ff02d528
L
194052010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19406
19407 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19408 IFUNC support.
19409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19410 memset-x86-64.
19411 * sysdeps/x86_64/multiarch/bzero.S: New file.
19412 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19413 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19414 * sysdeps/x86_64/multiarch/memset.S: New file.
19415 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19417 Set bit_Prefer_SSE_for_memop for Intel processors.
19418 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19419 Define.
19420 (index_Prefer_SSE_for_memop): Define.
19421 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19422
344d0b54
LM
194232010-11-04 Luis Machado <luisgpm@br.ibm.com>
19424
19425 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19426 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19427
c0dde15b
UD
194282010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19429
19430 [BZ #12191]
19431 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19432 (__x86_64_raw_data_cache_size_half): Likewise.
19433 (__x86_64_raw_shared_cache_size): Likewise.
19434 (__x86_64_raw_shared_cache_size_half): Likewise.
19435
19436 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19437 (__x86_64_raw_data_cache_size_half): Likewise.
19438 (__x86_64_raw_shared_cache_size): Likewise.
19439 (__x86_64_raw_shared_cache_size_half): Likewise.
19440 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19441 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19442 and __x86_64_raw_shared_cache_size_half. Round
19443 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19444 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19445 to multiple of 256 bytes.
19446
0e516e0e
MS
194472010-11-03 Ulrich Drepper <drepper@gmail.com>
19448
19449 [BZ #12167]
19450 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19451 of inacessible symlinks. Verify result of symlink before returning it.
19452 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19453 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19454
0e012e87
ER
194552010-10-28 Erich Ritz <erichritz@gmail.com>
19456
19457 * math/math.h (isinf): Fix typo in comment.
19458
de0ff7bc
UD
194592010-11-01 Ulrich Drepper <drepper@gmail.com>
19460
19461 * po/da.po: Update from translation team.
19462
fa41c84d
UD
194632010-10-26 Ulrich Drepper <drepper@gmail.com>
19464
19465 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19466 is added to the list.
19467
f0967738
AK
194682010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19469 Ulrich Drepper <drepper@gmail.com>
19470
19471 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19472 the global list here. Move code to...
19473 (_dl_add_to_namespace_list): ...here. New function.
19474 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19475 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19476 * elf/dl-load.c (lose): Don't remove the element from the list.
19477 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19478 (_dl_map_object): Likewise.
19479
194802010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19481
19482 [BZ #12159]
19483 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19484 into all bytes of SSE register.
19485 Patch by Richard Li <richardpku@gmail.com>.
19486
f0967738 194872010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19488
19489 [BZ #12140]
19490 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19491 perturbing.
19492
d0b9e94f
MB
194932010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19494
19495 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19496 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19497 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19498 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19500 submachine.
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19502
8e9f92e9
AS
195032010-10-22 Andreas Schwab <schwab@redhat.com>
19504
19505 * include/dlfcn.h (__RTLD_SECURE): Define.
19506 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19507 mode & __RTLD_SECURE instead.
19508 (open_path): Rename preloaded parameter to secure.
19509 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19510 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19511 * elf/dl-deps.c (openaux): Likewise.
19512 * elf/rtld.c (struct map_args): Remove is_preloaded.
19513 (map_doit): Don't use it.
19514 (dl_main): Likewise.
19515 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19516 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19517
bc96fbda
AS
195182010-09-09 Andreas Schwab <schwab@redhat.com>
19519
19520 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19521 (sysd-rules-targets): Remove duplicates.
19522 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19523 rtld-%.$o dependency.
19524
22cd1c9b
AS
195252010-10-18 Andreas Schwab <schwab@redhat.com>
19526
19527 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19528 _dl_map_object do it.
19529
18edac48
UD
195302010-10-19 Ulrich Drepper <drepper@gmail.com>
19531
19532 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19533 fast fma builtins, define the macros in the C99 standard.
19534 (FP_FAST_FMAF): Likewise.
19535 (FP_FAST_FMAL): Likewise.
19536 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19537
19538 * bits/mathdef.h: Update copyright year.
19539 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19540
d2050124
MM
195412010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19542
19543 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19544 builtins, define the macros in the C99 standard.
19545 (FP_FAST_FMAF): Likewise.
19546 (FP_FAST_FMAL): Likewise.
19547 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19548 multiply/add.
19549 (FP_FAST_FMAF): Likewise.
19550
475facd1
JJ
195512010-10-15 Jakub Jelinek <jakub@redhat.com>
19552
19553 [BZ #3268]
19554 * math/libm-test.inc (fma_test): Some new testcases.
19555 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19556 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19557 y and infinite z. Do multiplication by C already in long double.
19558 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19560 y and infinite z. Do bitwise or of inexact bit into u.d.
19561 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19562 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19563 * sysdeps/i386/fpu/s_fma.S: Removed.
19564 * sysdeps/i386/fpu/s_fmal.S: Removed.
19565
7c08a05c
JJ
195662010-10-16 Jakub Jelinek <jakub@redhat.com>
19567
19568 [BZ #3268]
19569 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19571 computation is not scheduled after fetestexcept. Fix value
19572 of minimum denormal long double.
19573
f3f7372d
JJ
195742010-10-14 Jakub Jelinek <jakub@redhat.com>
19575
19576 [BZ #3268]
19577 * math/libm-test.inc (fma_test): Add some more tests.
19578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19579 correctly.
19580
14d43591
AS
195812010-10-15 Andreas Schwab <schwab@redhat.com>
19582
19583 * scripts/data/localplt-s390-linux-gnu.data: New file.
19584 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19585
5e908464
JJ
195862010-10-13 Jakub Jelinek <jakub@redhat.com>
19587
19588 [BZ #3268]
19589 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19590 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19591 instead of dbl-64.
19592 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19593 inlines.
19594 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19596 if one of x and y is very large and the other is subnormal.
19597 * sysdeps/s390/fpu/s_fmaf.c: New file.
19598 * sysdeps/s390/fpu/s_fma.c: New file.
19599 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19600 * sysdeps/powerpc/fpu/s_fma.S: New file.
19601 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19602 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19603 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19604
196052010-10-12 Jakub Jelinek <jakub@redhat.com>
19606
19607 [BZ #3268]
19608 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19609 fma tests.
19610 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19611 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19612 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19613 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19614 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19615 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19616 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19617
b833d51f
UD
196182010-10-12 Ulrich Drepper <drepper@redhat.com>
19619
19620 [BZ #12078]
19621 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19622 * posix/bug-regex31.input: Add test case.
19623
1751705d
UD
196242010-10-11 Ulrich Drepper <drepper@gmail.com>
19625
e9b9cbf5
UD
19626 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19627 * posix/bug-regex31.input: New file.
19628
19629 [BZ #12078]
19630 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19631 (parse_sub_exp): Fix last change, use postorder.
19632
ef06edbe
UD
19633 * posix/bug-regex31.c: New file.
19634 * posix/Makefile: Add rules to build and run bug-regex31.
19635
a129c80d
UD
19636 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19637
19638 [BZ #12078]
19639 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19640
b76b818e
UD
19641 [BZ #12108]
19642 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19643 to have entries in sys_siglist.
19644
1751705d
UD
19645 [BZ #12093]
19646 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19647 be NULL.
19648
9ff8d36f
JJ
196492010-10-07 Jakub Jelinek <jakub@redhat.com>
19650
19651 [BZ #3268]
19652 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19653 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19654 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19655 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19656 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19657 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19658 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19659 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19660 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19661 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19662 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19663 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19664 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19665 * math/ftestexcept.c (fetestexcept): Likewise.
19666 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19667 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19668 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19669 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19670 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19671 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19672 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19673
af325969
UD
196742010-10-11 Ulrich Drepper <drepper@gmail.com>
19675
c579b202 19676 [BZ #12107]
af325969
UD
19677 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19678 newline.
19679
67a67b95
UD
196802010-10-06 Ulrich Drepper <drepper@gmail.com>
19681
19682 * string/bug-strstr1.c: New file.
19683 * string/Makefile: Add rules to build and run bug-strstr1.
19684
5fb308bc
EB
196852010-10-05 Eric Blake <eblake@redhat.com>
19686
19687 [BZ #12092]
19688 * string/str-two-way.h (two_way_long_needle): Always clear memory
19689 when skipping input due to the shift table.
19690
45db99c7
UD
196912010-10-03 Ulrich Drepper <drepper@gmail.com>
19692
3b111893
UD
19693 [BZ #12005]
19694 * malloc/mcheck.c: Handle large requests.
19695
45db99c7
UD
19696 [BZ #12077]
19697 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19698 for strncmp and strncasecmp.
19699 * string/stratcliff.c: Add tests for strcmp and strncmp.
19700 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19701
cf7a1eb8
NI
197022010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19703
19704 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19705 __set_fpscr.
19706
6484ba5e
AJ
197072010-09-30 Andreas Jaeger <aj@suse.de>
19708
19709 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19710 (CGROUP_SUPER_MAGIC): Define.
19711 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19712 Handle btrfs and cgroup file systems.
19713 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19714 Likewise.
19715
91c42559
LM
197162010-09-27 Luis Machado <luisgpm@br.ibm.com>
19717
19718 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19719 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19720
87a97932
AK
197212010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19722
19723 [BZ #12067]
19724 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19725 trying to locate the ELF header.
19726
c21cc9bc
AS
197272010-09-27 Andreas Schwab <schwab@redhat.com>
19728
19729 [BZ #11611]
19730 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19731 Mask out sign-bit copies when constructing f_fsid.
19732
315970f6
PB
197332010-09-24 Petr Baudis <pasky@suse.cz>
19734
19735 * debug/stack_chk_fail_local.c: Add missing licence exception.
19736 * debug/warning-nop.c: Likewise.
19737
1ac7a2c7
JM
197382010-09-15 Joseph Myers <joseph@codesourcery.com>
19739
19740 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19741 implementing getdents64 using getdents syscall, set d_type if
19742 __ASSUME_GETDENTS32_D_TYPE.
19743
56801c50
AS
197442010-09-16 Andreas Schwab <schwab@redhat.com>
19745
19746 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19747 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19748
dda51327
UD
197492010-09-21 Ulrich Drepper <drepper@redhat.com>
19750
19751 [BZ #12037]
19752 * posix/unistd.h: Undo change of feature selection for ftruncate from
19753 2010-01-11.
19754
8ffcee4a
UD
197552010-09-20 Ulrich Drepper <drepper@redhat.com>
19756
a545ecd9 19757 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19758 detection.
19759
e24f0a8b
AS
197602010-09-20 Andreas Schwab <schwab@redhat.com>
19761
19762 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19763 fanotify_mark.
19764 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19765
7291c56f
AS
197662010-09-14 Andreas Schwab <schwab@redhat.com>
19767
19768 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19769 variables after CHECK_SP call.
19770 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19771
bc5fb037
AS
197722010-09-13 Andreas Schwab <schwab@redhat.com>
19773 Ulrich Drepper <drepper@redhat.com>
19774
19775 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19776 re-relocationg ld.so.
19777 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19778 _dl_init_paths call.
19779 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19780 here anymore.
19781
e66e7419
UD
197822010-09-14 Ulrich Drepper <drepper@redhat.com>
19783
19784 * resolv/res_init.c (__res_vinit): Count the default server we added.
19785
c044aa75
CLT
197862010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19787 Ulrich Drepper <drepper@redhat.com>
19788
19789 [BZ #11968]
19790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19791 (____longjmp_chk): Use %ebx for saving value across system call.
19792 Add unwind info.
19793
32cf4069
AS
197942010-09-06 Andreas Schwab <schwab@redhat.com>
19795
19796 * manual/Makefile: Don't mix pattern rules with normal rules.
19797
817328ee
AS
197982010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19799
19800 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19801 operation.
19802 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19803 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19804 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19805 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19807 Likewise.
19808
29fddf61
UD
198092010-09-04 Ulrich Drepper <drepper@redhat.com>
19810
19811 [BZ #11979]
19812 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19813 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19814
0959ffc9
UD
198152010-09-02 Ulrich Drepper <drepper@redhat.com>
19816
19817 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19818 * sysdeps/x86_64/addmul_1.S: Likewise.
19819 * sysdeps/x86_64/lshift.S: Likewise.
19820 * sysdeps/x86_64/mul_1.S: Likewise.
19821 * sysdeps/x86_64/rshift.S: Likewise.
19822 * sysdeps/x86_64/sub_n.S: Likewise.
19823 * sysdeps/x86_64/submul_1.S: Likewise.
19824
ece29840
ST
198252010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19826
0959ffc9
UD
19827 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19828 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19829 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19830 * bits/sched.h [__need_schedparam]
ece29840 19831 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19832 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19833 (__defined_schedparam): Define to 1.
ece29840
ST
19834 (__sched_param): New structure, identical to sched_param.
19835 (__need_schedparam): Undefine.
19836
e53a31fe
MF
198372010-08-31 Mike Frysinger <vapier@gentoo.org>
19838
fdc0c10d
MF
19839 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19840 (epoll_create1): Declare.
19841
e53a31fe
MF
19842 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19843
a726d796
AS
198442010-08-31 Andreas Schwab <schwab@redhat.com>
19845
19846 [BZ #7066]
19847 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19848 shifting retval into place.
19849
2f3e3dc7
UD
198502010-09-01 Ulrich Drepper <drepper@redhat.com>
19851
f2933da9
UD
19852 * nis/rpcsvc/nis.h: Update copyright notice.
19853 * nis/rpcsvc/nis.x: Likewise.
19854 * nis/rpcsvc/nis_callback.h: Likewise.
19855 * nis/rpcsvc/nis_callback.x: Likewise.
19856 * nis/rpcsvc/nis_object.x: Likewise.
19857 * nis/rpcsvc/nis_tags.h: Likewise.
19858 * nis/rpcsvc/yp.h: Likewise.
19859 * nis/rpcsvc/yp.x: Likewise.
19860 * nis/rpcsvc/ypupd.h: Likewise.
19861 * nis/yp_xdr.c: Likewise.
19862 * nis/ypupdate_xdr.c: Likewise.
19863
2f3e3dc7
UD
19864 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19865 mainly the body of pmap_getport. Add parameters to specify timeouts.
19866 (pmap_getport): Use __libc_rpc_getport.
19867 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19868 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19869 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19870
f3dcc2f9
AS
198712010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19872
19873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19874 fanotify_mark.
19875
6d34eb5b
RM
198762010-08-27 Roland McGrath <roland@redhat.com>
19877
19878 * sysdeps/i386/i686/multiarch/Makefile
19879 (CFLAGS-varshift.c): New variable.
19880
9ea3de11
UD
198812010-08-27 Ulrich Drepper <drepper@redhat.com>
19882
c96d23fc
UD
19883 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19884 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19885
9ea3de11
UD
19886 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19887
19888 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19889
623aac7f
L
198902010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19891
19892 * sysdeps/x86_64/strlen.S: Unroll the loop.
19893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19894 strlen-sse2 strlen-sse2-bsf.
19895 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19896 __strlen_no_bsf if bit_Slow_BSF is set.
19897 (__strlen_sse42): Removed.
19898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19899 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19900
8b2b7715
RM
199012010-08-25 Roland McGrath <roland@redhat.com>
19902
19903 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19904 * sysdeps/x86_64/multiarch/varshift.c: New file.
19905 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19906 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19907 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19908 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19909
e73015f2
L
199102010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19911
19912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19913 strlen-sse2 strlen-sse2-bsf.
19914 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19915 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19916 (__strlen_sse2): Removed.
19917 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19918 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19920 bit_Slow_BSF for Atom.
19921 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19922 (index_Slow_BSF): Define.
19923 (HAS_SLOW_BSF): Define.
19924
df24a73e
UD
199252010-08-25 Ulrich Drepper <drepper@redhat.com>
19926
19927 [BZ #10851]
19928 * resolv/res_init.c (__res_vinit): When no server address at all
19929 is given default to loopback.
19930
f2ac4868
RM
199312010-08-24 Roland McGrath <roland@redhat.com>
19932
09055553
RM
19933 * configure.in: Remove config-name.h generation.
19934 * configure: Regenerated.
19935 * config-name.in: File removed.
19936 * scripts/config-uname.sh: New file.
19937 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19938 ($(objdir)config-name.h): New target.
19939
f2ac4868
RM
19940 * sunrpc/rpc_parse.h: Avoid nested comment.
19941
73f27d5e
RH
199422010-08-24 Richard Henderson <rth@redhat.com>
19943 Ulrich Drepper <drepper@redhat.com>
19944 H.J. Lu <hongjiu.lu@intel.com>
19945
19946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19948 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19949 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19950 _mm_alignr_epi8 with _mm_loadu_si128.
19951 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19952 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19953 (__m128i_shift_right): Removed.
19954 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19955 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19956 * sysdeps/x86_64/multiarch/varshift.h: New file.
19957 * sysdeps/x86_64/multiarch/varshift.S: New file.
19958
84b9230c
MF
199592010-08-21 Mike Frysinger <vapier@gentoo.org>
19960
19961 * configure.in: Move assembler checks to before sysdep dir checking.
19962
9bbd0ddc
PB
199632010-08-20 Petr Baudis <pasky@suse.cz>
19964
19965 * LICENSES: Sync the sunrpc license.
19966
9da4bb31
UD
199672010-08-19 Ulrich Drepper <drepper@redhat.com>
19968
a7ab6ec8
UD
19969 * sunrpc/auth_des.c: Update copyright notice once again.
19970 * sunrpc/auth_none.c: Likewise.
19971 * sunrpc/auth_unix.c: Likewise.
19972 * sunrpc/authdes_prot.c: Likewise.
19973 * sunrpc/authuxprot.c: Likewise.
19974 * sunrpc/bindrsvprt.c: Likewise.
19975 * sunrpc/clnt_gen.c: Likewise.
19976 * sunrpc/clnt_perr.c: Likewise.
19977 * sunrpc/clnt_raw.c: Likewise.
19978 * sunrpc/clnt_simp.c: Likewise.
19979 * sunrpc/clnt_tcp.c: Likewise.
19980 * sunrpc/clnt_udp.c: Likewise.
19981 * sunrpc/clnt_unix.c: Likewise.
19982 * sunrpc/des_crypt.c: Likewise.
19983 * sunrpc/des_soft.c: Likewise.
19984 * sunrpc/get_myaddr.c: Likewise.
19985 * sunrpc/getrpcport.c: Likewise.
19986 * sunrpc/key_call.c: Likewise.
19987 * sunrpc/key_prot.c: Likewise.
19988 * sunrpc/openchild.c: Likewise.
19989 * sunrpc/pm_getmaps.c: Likewise.
19990 * sunrpc/pm_getport.c: Likewise.
19991 * sunrpc/pmap_clnt.c: Likewise.
19992 * sunrpc/pmap_prot.c: Likewise.
19993 * sunrpc/pmap_prot2.c: Likewise.
19994 * sunrpc/pmap_rmt.c: Likewise.
19995 * sunrpc/rpc/auth.h: Likewise.
19996 * sunrpc/rpc/auth_unix.h: Likewise.
19997 * sunrpc/rpc/clnt.h: Likewise.
19998 * sunrpc/rpc/des_crypt.h: Likewise.
19999 * sunrpc/rpc/key_prot.h: Likewise.
20000 * sunrpc/rpc/netdb.h: Likewise.
20001 * sunrpc/rpc/pmap_clnt.h: Likewise.
20002 * sunrpc/rpc/pmap_prot.h: Likewise.
20003 * sunrpc/rpc/pmap_rmt.h: Likewise.
20004 * sunrpc/rpc/rpc.h: Likewise.
20005 * sunrpc/rpc/rpc_des.h: Likewise.
20006 * sunrpc/rpc/rpc_msg.h: Likewise.
20007 * sunrpc/rpc/svc.h: Likewise.
20008 * sunrpc/rpc/svc_auth.h: Likewise.
20009 * sunrpc/rpc/types.h: Likewise.
20010 * sunrpc/rpc/xdr.h: Likewise.
20011 * sunrpc/rpc_clntout.c: Likewise.
20012 * sunrpc/rpc_cmsg.c: Likewise.
20013 * sunrpc/rpc_common.c: Likewise.
20014 * sunrpc/rpc_cout.c: Likewise.
20015 * sunrpc/rpc_dtable.c: Likewise.
20016 * sunrpc/rpc_hout.c: Likewise.
20017 * sunrpc/rpc_main.c: Likewise.
20018 * sunrpc/rpc_parse.c: Likewise.
20019 * sunrpc/rpc_parse.h: Likewise.
20020 * sunrpc/rpc_prot.c: Likewise.
20021 * sunrpc/rpc_sample.c: Likewise.
20022 * sunrpc/rpc_scan.c: Likewise.
20023 * sunrpc/rpc_scan.h: Likewise.
20024 * sunrpc/rpc_svcout.c: Likewise.
20025 * sunrpc/rpc_tblout.c: Likewise.
20026 * sunrpc/rpc_util.c: Likewise.
20027 * sunrpc/rpc_util.h: Likewise.
20028 * sunrpc/rpcinfo.c: Likewise.
20029 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20030 * sunrpc/rpcsvc/key_prot.x: Likewise.
20031 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20032 * sunrpc/rpcsvc/mount.x: Likewise.
20033 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20034 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20035 * sunrpc/rpcsvc/rex.x: Likewise.
20036 * sunrpc/rpcsvc/rstat.x: Likewise.
20037 * sunrpc/rpcsvc/rusers.x: Likewise.
20038 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20039 * sunrpc/rpcsvc/spray.x: Likewise.
20040 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20041 * sunrpc/rtime.c: Likewise.
20042 * sunrpc/svc.c: Likewise.
20043 * sunrpc/svc_auth.c: Likewise.
20044 * sunrpc/svc_authux.c: Likewise.
20045 * sunrpc/svc_raw.c: Likewise.
20046 * sunrpc/svc_run.c: Likewise.
20047 * sunrpc/svc_simple.c: Likewise.
20048 * sunrpc/svc_tcp.c: Likewise.
20049 * sunrpc/svc_udp.c: Likewise.
20050 * sunrpc/svc_unix.c: Likewise.
20051 * sunrpc/svcauth_des.c: Likewise.
20052 * sunrpc/xcrypt.c: Likewise.
20053 * sunrpc/xdr.c: Likewise.
20054 * sunrpc/xdr_array.c: Likewise.
20055 * sunrpc/xdr_float.c: Likewise.
20056 * sunrpc/xdr_mem.c: Likewise.
20057 * sunrpc/xdr_rec.c: Likewise.
20058 * sunrpc/xdr_ref.c: Likewise.
20059 * sunrpc/xdr_sizeof.c: Likewise.
20060 * sunrpc/xdr_stdio.c: Likewise.
20061
9da4bb31
UD
20062 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20063 handling.
20064
bdaa77bc
AS
200652010-08-19 Andreas Schwab <schwab@redhat.com>
20066
20067 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20068
fe2f79db
LM
200692010-08-19 Luis Machado <luisgpm@br.ibm.com>
20070
20071 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20072 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20073 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20074 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20075 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20076 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20077 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20078 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20079 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20080 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20081 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20082 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20083 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20084 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20085
b9b42ee0
AB
200862010-07-26 Anton Blanchard <anton@samba.org>
20087
20088 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20089 * malloc/arena.c (heap_trim): Likewise.
20090
1c06ba31
UD
200912010-08-16 Ulrich Drepper <drepper@redhat.com>
20092
20093 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20094 here. Not...
20095 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20096 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20097
f8392f40
L
200982010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20099
20100 * sysdeps/i386/elf/Makefile: New file.
20101
3162f12e
AS
201022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20103
20104 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20105 from fanotify_init.
20106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20108
28c90b2c
UD
201092010-08-15 Ulrich Drepper <drepper@redhat.com>
20110
20111 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20112 of strncasecmp_l.
1feccb6c 20113 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20114
ca6bb004
UD
201152010-08-14 Ulrich Drepper <drepper@redhat.com>
20116
e9f82e0d
UD
20117 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20118 strncase_l-nonascii.
20119 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20120 Add strncase_l-ssse3.
20121 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20122 * sysdeps/x86_64/strcmp.S: Likewise.
20123 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20124 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20125 * sysdeps/x86_64/strncase.S: New file.
20126 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20127 * sysdeps/x86_64/strncase_l.S: New file.
20128 * string/Makefile (strop-tests): Add strncasecmp.
20129 * string/test-strncasecmp.c: New file.
20130
20131 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20132 warning.
20133
ca6bb004
UD
20134 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20135 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20136
052fa7b3
AS
201372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20138
20139 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20140
962dba78
UD
201412010-08-12 Ulrich Drepper <drepper@redhat.com>
20142
20143 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20144 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20145 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20146
bebff237
AM
201472010-05-01 Alan Modra <amodra@gmail.com>
20148
20149 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20150 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20151 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20152 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20153 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20154 tidying. Don't tail-call __sigjmp_save for static lib.
20155 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20156 save location.
20157 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20158 (CALL_MCOUNT): Add eh info, and nop after bl.
20159 (TAIL_CALL_SYSCALL_ERROR): New macro.
20160 (PSEUDO_RET): Use it.
20161 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20162 Correct save location of integer regs and cr.
20163 (_dl_profile_resolve): Correct cr save location. Delete nops
20164 after bl when SHARED. Reduce cfi size a little by better
20165 placement of cfi directives.
20166 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20167 make a stack frame. Instead use parm save area as a temp.
20168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20169 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20171 Don't make a stack frame for parent, use parm save area.
20172 Increase child stack frame to 112 bytes. Don't save unused reg,
20173 and adjust reg usage. Set up cfi on error recovery and
20174 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20176 (__makecontext): Add dummy nop after jump to exit.
20177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20178 Use correct parm save area and cr save, reduce stack frame.
20179 Correct cfi for possible PSEUDO_RET frame setup.
20180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20181 Branch to local label emitted by PSEUDO_RET rather than
20182 __syscall_error.
20183
02637374
AS
201842010-08-12 Andreas Schwab <schwab@redhat.com>
20185
20186 [BZ #11904]
20187 * locale/programs/locale.c (print_assignment): New function.
20188 (show_locale_vars): Use it.
20189
c3e2f19b
UD
201902010-08-11 Ulrich Drepper <drepper@redhat.com>
20191
3cdaa6ad
UD
20192 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20193 field.
20194 (struct statfs64): Likewise.
20195 (_STATFS_F_FLAGS): Define.
20196 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20197 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20198 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20199 (ST_VALID): Define locally.
20200 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20201 __statvfs_getflags, use the provided value.
20202 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20203 __ASSUME_STATFS_F_FLAGS.
20204
754f7da3
UD
20205 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20206
10b3bedc
UD
20207 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20208 Add sys/fanotify.h.
20209 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20210 fanotify_mask for GLIBC_2.13.
20211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20212 fanotify_init and fanotify_mark.
20213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20214 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20215
c08fb0d7
UD
20216 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20217 Add prlimit.
20218 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20219 prlimit64 for GLIBC_2.13.
20220 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20221 prlimit64.
20222 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20223 syscall.
20224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20225 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20226 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20227 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20229 add prlimit alias.
20230 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20231
15bac72b
UD
20232 [BZ #11903]
20233 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20234 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20235
c3e2f19b
UD
20236 * nss/Makefile: Add rules to build and run tst-nss-test1.
20237 * shlib-versions: Add entry for libnss_test1.
20238 * nss/nss_test1.c: New file.
20239 * nss/tst-nss-test1.c: New file.
20240
20241 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20242 (__nss_configure_lookup): Set appropriate entry in
20243 __nss_configure_lookup to true.
20244 * nss/nsswitch.h: Define enum with indeces of databases in
20245 databases and __nss_database_custom arrays. Declare
20246 __nss_database_custom.
20247 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20248 to avoid using nscd when custom rules are installed.
20249 * nss/getXXbyYY_r.c: Likewise.
20250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20251
20252 * nss/nss_files/files-parse.c: Whitespace fixes.
20253
f15ce4d8
UD
202542010-08-09 Ulrich Drepper <drepper@redhat.com>
20255
20256 [BZ #11883]
20257 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20258 * posix/fnmatch_loop.c: Likewise.
20259
d22e4cc9
AK
202602010-07-17 Andi Kleen <ak@linux.intel.com>
20261
20262 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20263 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20264 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20265 * Versions.def [GLIBC_2.13]: Add.
20266
805bc17d
UD
202672010-08-06 Ulrich Drepper <drepper@redhat.com>
20268
20269 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20270 Also fail if tpwd after pwuid call is NULL.
20271
5a42321d
ST
202722010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20273
20274 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20275 when converting to ms.
20276
fd3ebeda
ST
202772010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20278
20279 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20280 EOPNOTSUPP errors with ENOTTY.
20281 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20282 EOPNOTSUPP errors with ENOTTY.
20283
73507d3a
UD
202842010-07-31 Ulrich Drepper <drepper@redhat.com>
20285
20286 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20287 Add strcasecmp_l-ssse3.
20288 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20289 strcasecmp.
20290 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20291 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20292 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20293
fe36dd02
UD
202942010-07-30 Ulrich Drepper <drepper@redhat.com>
20295
66f6765a
UD
20296 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20297
42e08a54
UD
20298 * string/Makefile (strop-tests): Add strcasecmp.
20299 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20300 strcasecmp_l-nonascii.
20301 (gen-as-const-headers): Add locale-defines.sym.
20302 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20303 * sysdeps/x86_64/strcasecmp.S: New file.
20304 * sysdeps/x86_64/strcasecmp_l.S: New file.
20305 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20306 * sysdeps/x86_64/locale-defines.sym: New file.
20307 * string/test-strcasecmp.c: New file.
20308
fe36dd02
UD
20309 * string/test-strcasestr.c: Test both ends of the range of characters.
20310 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20311
48cbc0d6
RM
203122010-07-29 Roland McGrath <roland@redhat.com>
20313
76e6d6bc 20314 [BZ #11856]
48cbc0d6
RM
20315 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20316
880113d9
UD
203172010-07-27 Ulrich Drepper <drepper@redhat.com>
20318
20319 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20320 for ld.so.
20321
deb9cabb
AS
203222010-07-27 Andreas Schwab <schwab@redhat.com>
20323
20324 * manual/memory.texi (Malloc Tunable Parameters): Document
20325 M_PERTURB.
20326
1c7570ff
RM
203272010-07-26 Roland McGrath <roland@redhat.com>
20328
20329 [BZ #11840]
20330 * configure.in (-fgnu89-inline check): Set and substitute
20331 gnu89_inline, not libc_cv_gnu89_inline.
20332 * configure: Regenerated.
20333 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20334
24fb0f88
UD
203352010-07-26 Ulrich Drepper <drepper@redhat.com>
20336
20337 * string/test-strnlen.c: New file.
20338 * string/Makefile (strop-tests): Add strnlen.
20339 * string/tester.c (test_strnlen): Add a few more test cases.
20340 * string/tst-strlen.c: Better error reporting.
20341
20342 * sysdeps/x86_64/strnlen.S: New file.
20343
8e96b93a
UD
203442010-07-24 Ulrich Drepper <drepper@redhat.com>
20345
20346 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20347 lower-latency instructions.
20348
dbc676d4
UD
203492010-07-23 Ulrich Drepper <drepper@redhat.com>
20350
20351 * string/test-strcasestr.c: New file.
20352 * string/test-strstr.c: New file.
20353 * string/Makefile (strop-tests): Add strstr and strcasestr.
20354 * string/str-two-way.h: Don't undefine MAX.
20355 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20356
f6a31e0e
AS
203572010-07-21 Andreas Schwab <schwab@redhat.com>
20358
20359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20360 strcasestr-nonascii.
20361 (CFLAGS-strcasestr-nonascii.c): Define.
20362 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20364 Remove unused attribute.
20365
5dbc3b6c
RM
203662010-07-20 Roland McGrath <roland@redhat.com>
20367
20368 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20369 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20370 ld.so.cache was broken. With it, there is no way to disable dsocaps
20371 like LD_HWCAP_MASK can disable hwcaps.
20372
23d101d8
EPM
203732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20374
20375 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20376
cc9f2e47
UD
203772010-07-16 Ulrich Drepper <drepper@redhat.com>
20378
20379 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20380 call in strcasestr.
20381 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20382 __strcasestr_sse42_nonascii.
20383 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20384 strcasestr-nonascii.c.
20385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20386
77c1b069
LM
203872010-06-15 Luis Machado <luisgpm@br.ibm.com>
20388
20389 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20390 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20391 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20392 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20393
440566c3
UD
203942010-07-09 Ulrich Drepper <drepper@redhat.com>
20395
20396 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20397 fcntl.
20398
5be9d05d
AS
203992010-07-06 Andreas Schwab <schwab@redhat.com>
20400
c30b7ee2 20401 [BZ #11577]
5be9d05d
AS
20402 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20403 dl_signal_cerror.
20404
8a492a67
UD
204052010-07-06 Ulrich Drepper <drepper@redhat.com>
20406
20407 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20408 _PC_PIPE_BUF using F_GETPIPE_SZ.
20409
713df3d5
RM
204102010-07-05 Roland McGrath <roland@redhat.com>
20411
20412 * manual/arith.texi (Rounding Functions): Fix rint description
20413 implicit in round description.
20414
702e8f14
UD
204152010-07-02 Ulrich Drepper <drepper@redhat.com>
20416
20417 * elf/Makefile: Fix linking for a few tests to make recent linker
20418 happy.
20419
52ed8be9
AS
204202010-06-30 Andreas Schwab <schwab@redhat.com>
20421
20422 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20423 $(common-objpfx)libc_nonshared.a.
20424
f47c9a11
LM
204252010-06-21 Luis Machado <luisgpm@br.ibm.com>
20426
20427 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20428 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20429 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20430 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20431 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20432 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20433 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20434 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20449 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20450 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20451 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20452 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20453 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20454 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20455 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20456 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20457 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20458 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20459 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20460 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20475
6fb8cbcb
L
204762010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20477
20478 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20479 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20480 * string/memmove.c (memmove): Renamed to ...
20481 (MEMMOVE): ...this. Default to memmove.
20482 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20483 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20484 (END_CHK): Define.
20485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20486 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20487 mempcpy-ssse3-back memmove-ssse3-back.
20488 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20489 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20490 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20491 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20492 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20493 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20494 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20495 * sysdeps/x86_64/multiarch/memmove.c: New file.
20496 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20497 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20498 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20499 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20500 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20501 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20502 Define.
20503 (index_Fast_Copy_Backward): Define.
20504 (HAS_ARCH_FEATURE): Define.
20505 (HAS_FAST_REP_STRING): Define.
20506 (HAS_FAST_COPY_BACKWARD): Define.
20507
4e733bac 205082010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20509
20510 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20511 Restore proper fallback handling.
20512
63c4ed22
UD
205132010-06-19 Ulrich Drepper <drepper@redhat.com>
20514
ac2b484c
UD
20515 [BZ #11701]
20516 * posix/group_member.c (__group_member): Correct checking loop.
20517
63c4ed22
UD
20518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20519 OOM in getpwuid_r correctly. Return error number when the caller
20520 should return, otherwise -1.
20521 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20522 call returning > 0 value.
20523 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20524
765ade4b
AS
205252010-06-07 Andreas Schwab <schwab@redhat.com>
20526
20527 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20528 libc_nonshared.a from targets in modules-names.
20529
80da2e09
KS
205302010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20531
20532 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20533 requires it.
20534
158db122
LM
205352010-06-10 Luis Machado <luisgpm@br.ibm.com>
20536
20537 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20538 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20540 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20541
caa78cf8
AS
205422010-06-02 Andreas Schwab <schwab@redhat.com>
20543
20544 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20545
b2ef2c01
UD
205462010-06-14 Ulrich Drepper <drepper@redhat.com>
20547
20548 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20549 and F_GETPIPE_SZ.
20550 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20551 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20552 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20554 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20556
fbd643b6
RM
205572010-06-14 Roland McGrath <roland@redhat.com>
20558
20559 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20560
f32f2869
JJ
205612010-06-07 Jakub Jelinek <jakub@redhat.com>
20562
20563 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20564 __REDIRECT followed by __THROW.
20565 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20566 * posix/getopt.h (getopt): Likewise.
20567
2a50c078
EPM
205682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20569
20570 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20571 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20572 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20573 in AT_FLAGS.
20574 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20575 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20576
eb5ad2eb
LM
205772010-05-28 Luis Machado <luisgpm@br.ibm.com>
20578
20579 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20580
3c88fe1e
L
205812010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20582
20583 [BZ #11640]
20584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20585 Properly check family and model.
20586
d2f73151
TY
205872010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20588
20589 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20590
ebd2e13d
LM
205912010-05-24 Luis Machado <luisgpm@br.ibm.com>
20592
20593 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20594
b32b8b45
UD
205952010-05-21 Ulrich Drepper <drepper@redhat.com>
20596
20597 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20598 symbol reference.
20599
9acbe24d
AS
206002010-05-19 Andreas Schwab <schwab@redhat.com>
20601
20602 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20603 symbol reference.
20604
f0ccf6ea
AS
206052010-05-21 Andreas Schwab <schwab@redhat.com>
20606
3d04ff3a
AS
20607 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20608 and internal_recvmmsg.
20609 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20610 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20611 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20612 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20613
f0ccf6ea
AS
20614 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20615 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20616 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20617
5b08ac57
AS
206182010-05-20 Andreas Schwab <schwab@redhat.com>
20619
20620 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20621
4828935d
LM
206222010-05-17 Luis Machado <luisgpm@br.ibm.com>
20623
20624 POWER7 optimizations.
20625 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20626 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20627
373d545e
UD
206282010-05-19 Ulrich Drepper <drepper@redhat.com>
20629
20630 * version.h: Update for 2.13 development version.
20631
21a2b1ae
AS
206322010-05-12 Andrew Stubbs <ams@codesourcery.com>
20633
20634 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20635 exceptions. Return 0.
20636
3f7dcb2b
RM
206372010-05-07 Roland McGrath <roland@redhat.com>
20638
20639 * elf/ldconfig.c (main): Add a const.
20640
5f24d53a 206412010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20642
a160f8d8
UD
20643 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20644 (args_options): Add no-idn option.
20645 (ahosts_keys_int): Add idn_flags to ai_flags.
20646 (parse_option): Handle 'i' option to clear idn_flags.
20647
5f24d53a
UD
20648 * malloc/malloc.c (_int_free): Possible race in the most recently
20649 added check. Only act on the data if no current modification
20650 happened.
265bb1ce
UD
20651
20652See ChangeLog.17 for earlier changes.