]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use $(run-program-prefix) in posix/globtest.sh.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ebfd1bbd
JM
12012-10-23 Joseph Myers <joseph@codesourcery.com>
2
3 * posix/Makefile ($(objpfx)globtest.out): Pass
4 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5 $(rtld-installed-name).
6 * posix/globtest.sh (elf_objpfx): Remove variable.
7 (rtld_installed_name): Likewise.
8 (library_path): Likewise.
9 (run_program_prefix): New variable. Use for running globtest
10 binary.
11
166bca24
JB
122012-10-23 Jim Blandy <jimb@codesourcery.com>
13 Joseph Myers <joseph@codesourcery.com>
14
15 * Makeconfig (host-built-program-cmd): New variable.
16 * elf/Makefile (tst-stackguard1-ARGS): Use
17 $(host-built-program-cmd).
18 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19 (tst-spawn-ARGS): Likewise.
20 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21
88866099
JM
222012-10-23 Joseph Myers <joseph@codesourcery.com>
23 Jim Blandy <jimb@codesourcery.com>
24
25 * Makeconfig (run-via-rtld-prefix): New variable.
26 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27 (built-program-cmd): Likewise.
28
b4b4c296
AJ
292012-10-22 Andreas Jaeger <aj@suse.de>
30
31 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32 __O_RSYNC if it exists, otherwise to O_SYNC.
33
6fb54a22
JB
342012-10-22 Jim Blandy <jimb@codesourcery.com>
35 Joseph Myers <joseph@codesourcery.com>
36
37 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
38 /dev/null.
39 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40 from /dev/null
41 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42 /dev/null.
43
481b90b9
AJ
442012-10-22 Andreas Jaeger <aj@suse.de>
45
2a0e2669
AJ
46 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
47 Define always.
48 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
49
76e38f9a
AJ
50 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51 bits/fcntl-linux.h.
52
7cd37b43
AJ
53 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
54 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55
481b90b9
AJ
56 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57 to __O_LARGEFILE.
58 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59 to __O_LARGEFILE.
60
aba75984
JB
612012-10-21 Jim Blandy <jimb@codesourcery.com>
62 Joseph Myers <joseph@codesourcery.com>
63
64 * config.make.in (NM): New variable.
65
88d4247f
AJ
662012-10-21 Andreas Jaeger <aj@suse.de>
67
68 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
69 definitions and declarations that are provided by
70 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71
f2eed205
L
722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
73
74 [BZ #14683]
75 * elf/Makefile (tests-static): Add tst-leaks1-static.
76 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
77 ($(objpfx)tst-leaks1-static): New rule.
78 ($(objpfx)tst-leaks1-static-mem): Likewise.
79 (tst-leaks1-static-ENV): New macro.
80 * elf/dl-open.c (dl_open_worker): Check the main application
81 only if SHARED is defined.
82 * elf/tst-leaks1-static.c: New file.
83
335e6931
AJ
842012-10-20 Andreas Jaeger <aj@suse.de>
85
86 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
87 generic values for Linux.
88 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
89 and declarations that are provided by <bits/fcntl-linux.h> and
90 include <bits/fcntl-linux.h>.
91 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93
ac5c94d3
RM
942012-10-20 Roland McGrath <roland@hack.frob.com>
95
96 * io/fcntl.h: Move include of <bits/types.h> to the top and
97 include it unconditionally.
98
de54b33a
L
992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
100
228cfb01
L
101 * wcsmbs/Makefile (tests-ifunc): New variable.
102 (tests): Add $(tests-ifunc).
103 * wcsmbs/test-wcschr-ifunc.c: New file.
104 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
105 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
106 * wcsmbs/test-wcslen-ifunc.c: Likewise.
107 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
108 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
109
69f07e5f
L
110 * string/Makefile (tests-ifunc): New variable.
111 (tests): Add $(tests-ifunc).
112 * string/test-memccpy.c (TEST_NAME): New macro.
113 * string/test-memchr.c (TEST_NAME): Likewise.
114 * string/test-memcmp.c (TEST_NAME): Likewise.
115 * string/test-memcpy.c (TEST_NAME): Likewise.
116 * string/test-memmem.c (TEST_NAME): Likewise.
117 * string/test-memmove.c (TEST_NAME): Likewise.
118 * string/test-memset.c (TEST_NAME): Likewise.
119 * string/test-rawmemchr.c (TEST_NAME): Likewise.
120 * string/test-stpcpy.c (TEST_NAME): Likewise.
121 * string/test-stpncpy.c (TEST_NAME): Likewise.
122 * string/test-strcasecmp.c (TEST_NAME): Likewise.
123 * string/test-strcasestr.c (TEST_NAME): Likewise.
124 * string/test-strcat.c (TEST_NAME): Likewise.
125 * string/test-strchr.c (TEST_NAME): Likewise.
126 * string/test-strcmp.c(TEST_NAME): Likewise.
127 * string/test-strcpy.c (TEST_NAME): Likewise.
128 * string/test-strcspn.c (TEST_NAME): Likewise.
129 * string/test-strlen.c (TEST_NAME): Likewise.
130 * string/test-strncasecmp.c (TEST_NAME): Likewise.
131 * string/test-strncmp.c (TEST_NAME): Likewise.
132 * string/test-strncpy.c (TEST_NAME): Likewise.
133 * string/test-strnlen.c (TEST_NAME): Likewise.
134 * string/test-strpbrk.c (TEST_NAME): Likewise.
135 * string/test-strrchr.c (TEST_NAME): Likewise.
136 * string/test-strspn.c (TEST_NAME): Likewise.
137 * string/test-strstr.c (TEST_NAME): Likewise.
138 * string/test-bcopy-ifunc.c: New file.
139 * string/test-bzero-ifunc.c: Likewise.
140 * string/test-memccpy-ifunc.c: Likewise.
141 * string/test-memchr-ifunc.c: Likewise.
142 * string/test-memcmp-ifunc.c: Likewise.
143 * string/test-memcpy-ifunc.c: Likewise.
144 * string/test-memmem-ifunc.c: Likewise.
145 * string/test-memmove-ifunc.c: Likewise.
146 * string/test-mempcpy-ifunc.c: Likewise.
147 * string/test-memset-ifunc.c: Likewise.
148 * string/test-rawmemchr-ifunc.c: Likewise.
149 * string/test-stpcpy-ifunc.c: Likewise.
150 * string/test-stpncpy-ifunc.c: Likewise.
151 * string/test-strcasecmp-ifunc.c: Likewise.
152 * string/test-strcasestr-ifunc.c: Likewise.
153 * string/test-strcat-ifunc.c: Likewise.
154 * string/test-strchr-ifunc.c: Likewise.
155 * string/test-strchrnul-ifunc.c: Likewise.
156 * string/test-strcmp-ifunc.c: Likewise.
157 * string/test-strcpy-ifunc.c: Likewise.
158 * string/test-strcspn-ifunc.c: Likewise.
159 * string/test-strlen-ifunc.c: Likewise.
160 * string/test-strncasecmp-ifunc.c: Likewise.
161 * string/test-strncat-ifunc.c: Likewise.
162 * string/test-strncmp-ifunc.c: Likewise.
163 * string/test-strncpy-ifunc.c: Likewise.
164 * string/test-strnlen-ifunc.c: Likewise.
165 * string/test-strpbrk-ifunc.c: Likewise.
166 * string/test-strrchr-ifunc.c: Likewise.
167 * string/test-strspn-ifunc.c: Likewise.
168 * string/test-strstr-ifunc.c: Likewise.
169
de54b33a
L
170 * debug/Makefile (tests-ifunc): New variable.
171 (tests): Add $(tests-ifunc).
172 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
173 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
174 * debug/test-stpcpy_chk-ifunc.c: New file.
175 * debug/test-strcpy_chk-ifunc.c: Likewise.
176
88481c16
SP
1772012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
178
179 [BZ #13601]
180 * elf/dl-load.c (open_verify): Retry read if the entire ELF
181 header is not read in.
182
135948bd
JM
1832012-10-19 Joseph Myers <joseph@codesourcery.com>
184
89f1c388
JM
185 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
186 script to $(SHELL) as $<. Pass $(common-objpfx) to script
187 directly. Pass built executable to script as
188 $(built-program-cmd).
189 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
190 $testprogram without using LD_LIBRARY_PATH and $ldso.
191
e40a0d21
JM
192 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
193 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
194 $(rtld-installed-name).
195 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
196 (rtld_installed_name): Likewise.
197 (library_path): Likewise.
198 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
199 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
200 $(run-program-prefix) to tst-tables.sh.
201 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
202 it to run tst-table-from and tst-table-to.
203 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
204 Pass it to tst-table.sh.
205 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
206 $(run-program-prefix) to tst-gettext.sh.
207 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
208 tst-translit.sh.
209 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
210 tst-gettext2.sh.
211 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
212 to run tst-gettext.
213 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
214 to run tst-gettext2.
215 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
216 to run tst-translit.
217 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
218 $(run-program-prefix) to tst-mtrace.sh.
219 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
220 to run tst-mtrace.
221 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
222 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
223 $(rtld-installed-name).
224 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
225 (rtld_installed_name): Likewise.
226 (run_program_prefix): New variable. Use it to run wordexp-test.
227
728e272a
JM
228 * Makeconfig (ARCH): Remove all definitions.
229 (machine): Likewise.
230 [ARCH]: Remove conditional code.
231 [!objdir]: Give error.
232 [!objdir] (objpfx): Remove.
233 [!objdir] (common-objpfx): Likewise.
234 [!objdir] (common-objdir): Likewise.
235 * configure.in (config_makefile): Remove. Hardcode Makefile in
236 AC_CONFIG_FILES call.
237 * configure: Regenerated.
238
d528cdcf
JM
239 [BZ #13888]
240 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
241 or TMPDIR.
242 (testout): Likewise.
243
135948bd
JM
244 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
245 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
246 $(rtld-installed-name).
247 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
248 (rtld_installed_name): Likwise.
249 (runit): Remove function.
250 (run_getconf): New variable, Use it for running getconf binary.
251
38c78296
L
2522012-10-18 H.J. Lu <hongjiu.lu@intel.com>
253
254 [BZ #14716]
255 * string/test-memmem.c (check_result): New function.
256 (do_one_test): Use it.
257 (check1): New function.
258 (test_main): Use it.
259
d077f65f
MT
2602012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
261
262 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
263
ced52c71
JM
2642012-10-18 Joseph Myers <joseph@codesourcery.com>
265
266 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
267 (_G_LSEEK64): Likewise.
268 (_G_MMAP64): Likewise.
269 (_G_FSTAT64): Likewise.
270 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
271 (_G_LSEEK64): Likewise.
272 (_G_MMAP64): Likewise.
273 (_G_FSTAT64): Likewise.
274 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
275 unconditional. Call __mmap64 directly.
276 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
277 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
278 __lseek64 directly.
279 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
280 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
281 __mmap64 directly.
282 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
283 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
284 __lseek64 directly.
285 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
286 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
287 __lseek64 directly.
288 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
289 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
290 __lseek64 directly.
291 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
292 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
293 __fxstat64 directly.
294 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
295 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
296 unconditional.
297 (freopen64) [!_G_OPEN64]: Remove conditional code.
298 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
299 unconditional.
300 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
301 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
302 unconditional.
303 (ftello64) [!_G_LSEEK64]: Remove conditional code.
304 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
305 unconditional.
306 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
307 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
308 unconditional.
309 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
310 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
311 unconditional.
312 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
313 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
314 unconditional.
315 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
316 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
317 unconditional.
318 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
319
b741de23
SP
3202012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
321
322 [BZ #12140]
323 * manual/memory.texi (Malloc Tunable Parameters): Add note
324 about free list pointers overwriting some perturb bytes.
325 Wording suggested by Roland McGrath.
326
f9b9d9c9
JM
3272012-10-17 Joseph Myers <joseph@codesourcery.com>
328
329 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
330 (lgamma_test): Likewise.
331 (tgamma_test): Likewise.
332
172a631a
FW
3332012-10-16 Florian Weimer <fweimer@redhat.com>
334
335 [BZ #14700]
336 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
337 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
338
e9f37252
MK
3392012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
340
341 * NEWS: Mention BZ #14716.
342 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
343 when removing AVAILABLE1_USES_J macro.
344
d394eb74
L
3452012-10-12 H.J. Lu <hongjiu.lu@intel.com>
346
347 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
348 (__bswap_64): __uint64_t for unsigned 64-bit int.
349
ca38dc17
AS
3502012-10-12 Andreas Schwab <schwab@linux-m68k.org>
351
352 * include/string.h (memmem): Declare libc hidden alias.
353 * string/memmem.c (memmem): Define libc hidden alias.
354 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
355 __read, __close instead of open, read, close.
356
9a387d1f
L
3572012-10-11 H.J. Lu <hongjiu.lu@intel.com>
358
ac49ecaf
L
359 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
360 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
361 global and hidden.
362 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
363 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
364 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
365 Likewise.
366 (__rawmemchr_sse2): Likewise.
367 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
368 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
369 (__strchr_sse2): Likewise.
370 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
371 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
372 (__strcasecmp_sse2): Likewise.
373 (__strncasecmp_sse2): Likewise.
374 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
375 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
376 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
377 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
378 (__strrchr_sse2): Likewise.
379 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
380 ifunc-impl-list.c.
381 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
382 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
383 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
384 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
385 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
386 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
387 * sysdeps/x86_64/multiarch/memset.S: Likewise.
388 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
389 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
390 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
391 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
392 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
393 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
394 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
395 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
396 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
397 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
398 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
399 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
400 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
401 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
402 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
403 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
404 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
405 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
406 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
407 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
408 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
409 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
410 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
411
b090e8ea
L
412 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
413 global and hidden.
414 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
415 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
416 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
417 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
418 Likewise.
419 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
420 Likewise.
421 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
422 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
423 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
424 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
425 ifunc-impl-list.c.
426 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
427 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
428 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
429 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
430 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
431 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
432 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
433 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
434 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
435 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
436 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
437 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
438 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
439 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
440 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
441 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
442 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
443 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
444 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
445 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
446 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
447 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
448 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
449 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
450 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
451 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
452 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
453 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
454 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
455 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
456 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
457 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
458 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
459 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
460 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
461 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
462 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
463 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
464 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
465 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
466 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
467
11dd4af6
L
468 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
469 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
470 * include/ifunc-impl-list.h: New file.
471 * misc/ifunc-impl-list.c: Likewise.
472 * misc/Makefile (routines): Add ifunc-impl-list.
473 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
474 * string/test-string.h: Include <ifunc-impl-list.h>.
475 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
476 impl_array): New variables.
477 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
478 are defined.
479 (test_init): Call __libc_ifunc_impl_list to initialize
480 func_list if TEST_IFUNC and TEST_NAME are defined.
481
9a387d1f
L
482 * string/Makefile (strop-tests): Add bcopy and bzero.
483 * string/test-bcopy.c: New file.
484 * string/test-bzero.c: Likewise.
485 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
486 defined.
487 * string/test-memset.c: Support bzero test if TEST_BZERO is
488 defined.
489 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
490 __libc_memmove.
491 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
492 __libc_memset.
493 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
494 of memset.
495
472371b9
JM
4962012-10-10 Joseph Myers <joseph@codesourcery.com>
497
1e4a9536
JM
498 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
499 * configure: Regenerated.
500
d173d12e
JM
501 * Makeconfig (+link-static-before-libc): Don't include
502 $(link-static-libc).
503
472371b9
JM
504 * libio/libio.h (_IO_pos_t): Remove.
505
89a3ad0b
AO
5062012-10-10 Alexandre Oliva <aoliva@redhat.com>
507
508 * NEWS: Add note about FIPS mode. Wording suggested by Roland
509 McGrath.
510
e7451425
AO
5112012-10-10 Alexandre Oliva <aoliva@redhat.com>
512
513 * crypt/crypt-entry.c: Include fips-private.h.
514 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
515 * crypt/md5c-test.c (main): Tolerate disabled MD5.
516 * sysdeps/unix/sysv/linux/fips-private.h: New file.
517 * sysdeps/generic/fips-private.h: New file, dummy fallback.
518
4ba74a35
AO
5192012-10-10 Alexandre Oliva <aoliva@redhat.com>
520
521 * crypt/crypt-private.h: Include stdbool.h.
522 (_ufc_setup_salt_r): Return bool.
523 * crypt/crypt-entry.c: Include errno.h.
524 (__crypt_r): Return NULL with EINVAL for bad salt.
525 * crypt/crypt_util.c (bad_for_salt): New.
526 (_ufc_setup_salt_r): Check that salt is long enough and within
527 the specified alphabet.
528 * crypt/badsalttest.c: New file.
529 * crypt/Makefile (tests): Add it.
530 ($(objpfx)badsalttest): New.
531
f96f1242
MK
5322012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
533
534 * NEWS: Add entry for BZ #14602.
535
0e8e0c1c
JM
5362012-10-09 Joseph Myers <joseph@codesourcery.com>
537
538 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
539 type-generic.
540 * math/libm-test.inc: Update comment listing what functions and
541 macros are tested.
542 (isgreater_test): New function.
543 (isgreaterequal_test): Likewise.
544 (isless_test): Likewise.
545 (islessequal_test): Likewise.
546 (islessgreater_test): Likewise.
547 (isunordered_test): Likewise.
548 (main): Call the new functions.
549
273edc5e
RM
5502012-10-09 Roland McGrath <roland@hack.frob.com>
551
b8493de0
RM
552 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
553 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
554 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
555 * sysdeps/i386/configure: Regenerated.
556 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
557 * sysdeps/mach/configure: Regenerated.
558 * sysdeps/mach/hurd/configure: Regenerated.
559 * sysdeps/powerpc/configure: Regenerated.
560 * sysdeps/powerpc/powerpc32/configure: Regenerated.
561 * sysdeps/powerpc/powerpc64/configure: Regenerated.
562 * sysdeps/s390/s390-32/configure: Regenerated.
563 * sysdeps/s390/s390-64/configure: Regenerated.
564 * sysdeps/sh/configure: Regenerated.
565 * sysdeps/sparc/configure: Regenerated.
566 * sysdeps/unix/sysv/linux/configure: Regenerated.
567 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
568 * sysdeps/x86_64/configure: Regenerated.
569
273edc5e
RM
570 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
571 defined. Don't check if MAP is NULL.
572
c8450f70
JM
5732012-10-09 Joseph Myers <joseph@codesourcery.com>
574
575 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
576 (_G_stat64): Likewise.
577 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
578 (_G_stat64): Likewise.
579 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
580 instead of struct _G_stat64.
581 * libio/fileops.c (mmap_remap_check): Likewise.
582 (decide_maybe_mmap): Likewise.
583 (_IO_new_file_seekoff): Likewise.
584 (_IO_file_stat): Likewise.
585 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
586 _G_off64_t.
587 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
588 instead of struct _G_stat64.
589 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
590
57e605ba
MK
5912012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
592
593 [BZ #14602]
594 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
595 Replace with ...
596 (CHECK_EOL): New macro.
597 (two_way_short_needle): Check beginning of haystack for EOL. Use
598 CHECK_EOL.
599 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
600 Replace with CHECK_EOL.
601 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
602 Replace with CHECK_EOL.
603
ef1bb361
JM
6042012-10-08 Joseph Myers <joseph@codesourcery.com>
605
606 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
607 type-generic.
608 * math/libm-test.inc: Update comment listing what functions and
609 macros are tested.
610 (finite_test): New function.
611 (isinf_test): Likewise.
612 (isnan_test): Likewise.
613 (fpclassify_test): Test subnormal input.
614 (isfinite_test): Likewise.
615 (isnormal_test): Likewise.
616 (main): Call the new functions.
617
55f11534
JN
6182012-10-08 Jonathan Nieder <jrnieder@gmail.com>
619
620 [BZ #14660]
621 * Makerules (%.dynsym): Force C locale when running
622 $(OBJDUMP) --dynamic-syms.
623
1ab29350
AS
6242012-10-08 Andreas Schwab <schwab@linux-m68k.org>
625
626 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
627 <stdint.h>.
628
f1ecb7ef
DM
6292012-10-06 David S. Miller <davem@davemloft.net>
630
631 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
632 upper 32-bits of the length value in %o2 since we use branch-on-register
633 tests which consider the entire 64-bit register.
634
5d41d91a
L
6352012-10-06 H.J. Lu <hongjiu.lu@intel.com>
636
637 * string/test-strstr.c (check2): Add a test for page boundary.
638
3baddb72
DM
6392012-10-05 David S. Miller <davem@davemloft.net>
640
641 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
642 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
643 file.
644 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
645 sysdep_routines.
646 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
647 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
648 and bzero when HWCAP_SPARC_CRYPTO is present.
649
9cee5585
L
6502012-10-05 H.J. Lu <hongjiu.lu@intel.com>
651
d7e0dab9
L
652 [BZ #14602]
653 * string/test-strstr.c (check2): New function.
654 (test_main): Call check2.
655
03759f47
L
656 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
657 and bug-strchr1.
658 * string/bug-strcasestr1.c (do_test): Moved to ...
659 * string/test-strcasestr.c (check1): Here. New function.
660 (do_one_test): Break out result checking code into ...
661 (check_result): This. New function.
662 (do_one_test): Call check_result.
663 (test_main): Call check1.
664 * string/bug-strchr1.c (do_test): Moved to ...
665 * string/test-strchr.c (check1): Here. New function.
666 (do_one_test): Break out result checking code into ...
667 (check_result): This. New function.
668 (do_one_test): Call check_result.
669 (test_main): Call check1.
670 * string/bug-strstr1.c (main): Moved to ...
671 * string/test-strchr.c (check1): Here. New function.
672 (do_one_test): Break out result checking code into ...
673 (check_result): This. New function.
674 (do_one_test): Call check_result.
675 (test_main): Call check1.
676 * string/bug-strcasestr1.c: Removed.
677 * string/bug-strchr1.c: Likewise.
678 * string/bug-strstr1.c: Likewise.
679
53cea63e
L
680 * elf/Makefile (dl-routines): Add hwcaps.
681 * elf/dl-support.c (_dl_important_hwcaps): Removed.
682 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
683 (_dl_important_hwcaps): Moved to ...
684 * elf/dl-hwcaps.c: Here. New file.
685 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
686
9cee5585 687 [BZ #14557]
bb859b06
L
688 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
689 if IS_IN_rtld isn't defined.
690
9cee5585
L
691 * elf/dl-support.c (_dl_sysinfo_map): New.
692 Include "get-dynamic-info.h" and "setup-vdso.h".
693 (_dl_non_dynamic_init): Call setup_vdso.
694 * elf/dynamic-link.h: Don't include <assert.h>.
695 (elf_get_dynamic_info): Moved to ...
696 * elf/get-dynamic-info.h: Here. New file.
697 * elf/dynamic-link.h: Include "get-dynamic-info.h".
698 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
699 * elf/setup-vdso.h: Here. New file.
700 * elf/rtld.c: Include "setup-vdso.h".
701 (dl_main): Call setup_vdso.
702
23c31b76
JM
7032012-10-05 Joseph Myers <joseph@codesourcery.com>
704
28234b07
JM
705 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
706 creal in comment listing functions tested. List finite, isinf,
707 isnan, isless, islessequal, isgreater, isgreaterequal,
708 islessgreater, isunordered, lgamma_r and pow10 as functions and
709 macros not tested. Mention which functions not tested are aliases
710 for other functions. Fix typo. Note that signs of NaNs are not
711 tested.
712
23c31b76
JM
713 * scripts/config.guess: Update from config.git.
714 * scripts/config.sub: Likewise.
715
9043e228
RM
7162012-10-04 Roland McGrath <roland@hack.frob.com>
717
718 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
719 * misc/madvise.c (madvise): Renamed to __madvise.
720 Make madvise a weak alias.
721 * include/sys/mman.h: Declare __madvise.
722 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
723 * sysdeps/unix/syscalls.list
724 (madvise): Make __madvise the strong name, and madvise a weak alias.
725 * sysdeps/unix/sysv/linux/syscalls.list
726 (madvise, mmap): Remove redundant entries.
727 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
728 * malloc/malloc.c (mtrim): Likewise.
729 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
730
f57f8055
RM
7312012-10-03 Roland McGrath <roland@hack.frob.com>
732
733 * sysdeps/mach/hurd/dl-cache.c: File removed.
734 * config.h.in (USE_LDCONFIG): New #undef.
735 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
736 * configure: Regenerated.
737 * elf/Makefile (dl-routines): Add dl-cache only under
738 [$(use-ldconfig) = yes].
739 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
740 cache on [USE_LDCONFIG].
741 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
742 [USE_LDCONFIG].
743 * elf/rtld.c (dl_main): Likewise.
744
5bb0c10a
PT
7452012-10-03 Pino Toscano <toscano.pino@tiscali.it>
746
747 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
748 _SC_LEVEL4_CACHE_LINESIZE.
749
010188c6
RM
7502012-10-03 Roland McGrath <roland@hack.frob.com>
751
752 * sysdeps/unix/bsd/confstr.h: File removed.
753
b6c5ec07
AO
7542012-10-02 Alexandre Oliva <aoliva@redhat.com>
755
756 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
757 sys/sdt-config.h.
758
408223d4
RM
7592012-10-02 Roland McGrath <roland@hack.frob.com>
760
761 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
762 Make 'mapoff' field ElfW(Off) rather than off_t.
763
bb9510dc
DL
7642012-10-02 Dmitry V. Levin <ldv@altlinux.org>
765
fc997c6e
DL
766 * nscd/Makefile: Remove nscd-cflags and all its users.
767 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
768 (CFLAGS-nonlib): Add compiler flags for nscd modules.
769
bb9510dc
DL
770 [BZ #10631]
771 * malloc.c (malloc_printerr): Clarify error message.
772
05699367
L
7732012-10-02 H.J. Lu <hongjiu.lu@intel.com>
774
775 [BZ #14648]
776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
777 Set bit_FMA_Usable if FMA is supported.
778 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
779 macro.
780 (bit_FMA4_Usable): Updated.
781 (index_FMA_Usable): New macro.
782 (CPUID_FMA): Likewise
783 (HAS_FMA): Defined with bit_FMA_Usable.
784
51367701
RM
7852012-10-01 Roland McGrath <roland@hack.frob.com>
786
787 * bits/types.h (__swblk_t): Type removed.
788 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
789 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
790 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
791 (__SWBLK_T_TYPE): Likewise.
792 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
793 (__SWBLK_T_TYPE): Likewise.
794 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
795 (__SWBLK_T_TYPE): Likewise.
796 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
797 (__SWBLK_T_TYPE): Likewise.
798
4d57bf63
JL
7992012-10-01 Patsy Franklin <pfrankli@redhat.com>
800 Honza Horak <hhorak@redhat.com>
801
802 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
803 (xdr_mapname): Use YPMAXMAP as maxsize.
804 (xdr_peername): Use YPMAXPEER as maxsize.
805 (xdr_keydat): Use YPAXRECORD as maxsize.
806 (xdr_valdat): Use YPMAXRECORD as maxsize.
807
93c65d43
RM
8082012-10-01 Roland McGrath <roland@hack.frob.com>
809
497a03d6
RM
810 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
811
93c65d43
RM
812 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
813 * csu/init-first.c: ... here.
814 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
815 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
816 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
817 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
818 * sysdeps/i386/init-first.c: File removed.
819 * sysdeps/sh/init-first.c: File removed.
820
bec749fd
JM
8212012-10-01 Joseph Myers <joseph@codesourcery.com>
822
823 [BZ #14645]
824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
825 if x * y might underflow to zero and z is zero.
826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
828 * math/libm-test.inc (min_subnorm_value): New variable.
829 (fma_test): Add more tests.
830 (fma_test_towardzero): Likewise.
831 (fma_test_downward): Likewise
832 (fma_test_upward): Likewise.
833 (initialize): Set min_subnorm_value.
834
8ec5b013
JM
8352012-09-29 Joseph Myers <joseph@codesourcery.com>
836
837 [BZ #14638]
838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
839 0 + 0.
840 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
841 mode for addition resulting in exact zero.
842 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
844 exact 0 + 0.
845 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
846 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
847 * math/libm-test.inc (fma_test): Add more tests.
848 (fma_test_towardzero): New function.
849 (fma_test_downward): Likewise.
850 (fma_test_upward): Likewise.
851 (main): Call the new functions.
852
b1fa802e
DM
8532012-09-28 David S. Miller <davem@davemloft.net>
854
855 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
856
d3b9fd9e
RM
8572012-09-28 Roland McGrath <roland@hack.frob.com>
858
ea4d37b3
RM
859 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
860 instead of SIGALRM.
861
ac51c949
RM
862 * sysdeps/gnu/_G_config.h: Moved to ...
863 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
864 * sysdeps/mach/hurd/_G_config.h: Moved to ...
865 * sysdeps/generic/_G_config.h: ... here.
866
28c195f7
RM
867 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
868
848917f9
RM
869 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
870
6bacf05b
RM
871 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
872 Conditionalize target on [libnss_test1.so-version].
873
91363dbb
RM
874 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
875
cc87f7d8
RM
876 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
877 (elfobjdir): Move out of conditionals.
878
b1c608fe
RM
879 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
880 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
881 (__nss_lookup_function): Conditionalize label remove_from_tree on
882 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 883
1d9a6d96
DM
8842012-09-28 David S. Miller <davem@davemloft.net>
885
886 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
887 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
888 file.
889 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
890 sysdep_routines.
891 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
893 when HWCAP_SPARC_CRYPTO is present.
894
72581615
PT
8952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
896
897 * io/tst-mknodat.c: Create a FIFO instead of a socket.
898
715a900c
JL
8992012-09-28 Andreas Schwab <schwab@linux-m68k.org>
900
901 [BZ #6530]
902 * stdio-common/vfprintf.c (process_string_arg): Revert
903 2000-07-22 change.
904
9052011-09-28 Jonathan Nieder <jrnieder@gmail.com>
906
907 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
908 for testcase.
909 * stdio-common/tst-sprintf.c: Include <locale.h>
910 (main): Test sprintf's handling of incomplete multibyte
911 characters.
912
9bac1d86
L
9132012-09-28 H.J. Lu <hongjiu.lu@intel.com>
914
915 * elf/dl-runtime.c (VERSYMIDX): Removed.
916 * elf/dl-version.c (VERSYMIDX): Likewise.
917 * elf/do-rel.h (VERSYMIDX): Likewise.
918 (VALIDX): Likewise.
919 * elf/dynamic-link.h (VERSYMIDX): Likewise.
920 * elf/rtld.c (VALIDX): Likewise.
921 (ADDRIDX): Likewise.
9bac1d86
L
922 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
923 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
924 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
925 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
926 (VALIDX): Likewise.
927 (ADDRIDX): Likewise.
9bac1d86 928
b31606c0
PT
9292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
930
931 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
932
11541177
JL
9332012-09-28 Dmitry V. Levin <ldv@altlinux.org>
934
935 [BZ #11438]
936 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
937 to global scope.
938 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
939 addresses are in the same scope as 192.0.2/24.
940 * posix/gai.conf: Document new scope table defaults.
941
adb26fae
SP
9422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
943
944 [BZ #5298]
945 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
946 for ftell. Compute offsets from write pointers instead.
947 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
948
4573c6b0
SP
9492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
950
951 [BZ #14543]
952 * libio/Makefile (tests): New test case tst-fseek.
953 * libio/tst-fseek.c: New test case to verify that fseek/ftell
954 combination works in wide mode.
955 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
956 state when the external buffer state changes.
957
aa9bbfe6
DM
9582012-09-27 David S. Miller <davem@davemloft.net>
959
960 [BZ #14376]
961 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
962 pass reloc->r_addend in as the 'high' argument to
963 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
964
784421e7
DM
965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
966
c39bc8b8
PT
9672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
968
969 * rt/tst-aio2.c: Include <pthread.h>.
970 * rt/tst-aio3.c: Likewise.
971
1ccc2399
SE
9722012-09-27 Steve Ellcey <sellcey@mips.com>
973
974 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
975
31ed4153
L
9762012-09-27 H.J. Lu <hongjiu.lu@intel.com>
977
25f5f885
L
978 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
979 contents on [SHARED].
31ed4153 980
b7bfe116
MP
9812012-09-26 Marek Polacek <polacek@redhat.com>
982
983 [BZ #14530]
984 [BZ #13741]
985 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
986 for C++ and GCC <4.3 as well as for non GCC compilers.
987
43c4edba
MT
9882012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
989
990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
991
6a1bf82f
RM
9922012-09-25 Roland McGrath <roland@hack.frob.com>
993
994 * Makefile.in (all, install): Declare with .PHONY.
995 Reported by Michael Hope <michael.hope@linaro.org>.
996
8ad11b9a
TMQMF
9972012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
998
999 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1000 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1001 system header.
1002 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1003 Likewise.
1004 (sydep_routines): Add the new and the internal functions.
1005 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1006 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1008 (GLIBC_2.17): Add the new function.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1010 (GLIBC_2.17): Likewise.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1012 (GLIBC_2.17): Likewise.
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1014 (GLIBC_2.17): Likewise.
1015 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1016
7e2fca8d
AM
10172012-09-25 Alan Modra <amodra@gmail.com>
1018
1019 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1020 Add release barrier before setting once_control to say
1021 initialisation is done. Add hints on lwarx. Use macro in
1022 place of isync.
1023 (clear_once_control): Add release barrier.
1024
b87c4b24
JM
10252012-09-25 Joseph Myers <joseph@codesourcery.com>
1026
d032e0d2
JM
1027 [BZ #13629]
1028 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1029 specially.
1030 * math/s_clog10.c (__clog10): Likewise.
1031 * math/s_clog10f.c (__clog10f): Likewise.
1032 * math/s_clog10l.c (__clog10l): Likewise.
1033 * math/s_clogf.c (__clogf): Likewise.
1034 * math/s_clogl.c (__clogl): Likewise.
1035 * math/Makefile (libm-calls): Add x2y2m1.
1036 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1037 (__x2y2m1): Likewise.
1038 (__x2y2m1l): Likewise.
1039 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1040 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1041 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1042 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1043 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1044 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1045 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1046 * sysdeps/i386/fpu/libm-test-ulps: Update.
1047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1048
b87c4b24
JM
1049 [BZ #14621]
1050 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1051 int as type of variable DEPTH.
1052 (glob): Use size_t instead of int as type of variables NEWCOUNT
1053 and OLD_PATHC.
1054
6d3bf199
LD
10552012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1056
22bf5c17
LD
1057 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1058 Add s_sincosf-sse2.
1059 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1060 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1061 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1062 macros for using routine as __sincosf_ia32.
1063 Use macro for function declaration and weak_alias.
1064 * sysdeps/i386/fpu/libm-test-ulps: Update.
1065
1066 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1068
1069 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1070 subnormal argument.
1071 * math/s_cexpf.c (__cexpf): Likewise.
1072 * math/s_csinf.c (__csinf): Likewise.
1073 * math/s_csinhf.c (__csinhf): Likewise.
1074 * math/s_ctanf.c (__ctanf): Likewise.
1075 * math/s_ctanhf.c (__ctanhf): Likewise.
1076 * math/s_ccosh.c (__ccoshf): Likewise.
1077 * math/s_cexp.c (__cexpl): Likewise.
1078 * math/s_csin.c (__csin): Likewise.
1079 * math/s_csinh.c (__csinh): Likewise.
1080 * math/s_ctan.c (__ctan): Likewise.
1081 * math/s_ctanh.c (ctanh): Likewise.
1082 * math/s_ccoshl.c (__ccoshl): Likewise.
1083 * math/s_cexpl.c (__cexpl): Likewise.
1084 * math/s_csinl.c (__csinl): Likewise.
1085 * math/s_csinhl.c (__csinhl): Likewise.
1086 * math/s_ctanl.c (__ctanl): Likewise.
1087 * math/s_ctanhl.c (__ctanhl): Likewise.
1088
203e5603
JM
10892012-09-25 Joseph Myers <joseph@codesourcery.com>
1090
1091 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1092 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1093 (_IO_off_t): Define to __off_t, not _G_off_t.
1094 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1095 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1096 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1097 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1098 type of __dummy and __dummy2 fields.
1099 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1100 (_G_ssize_t): Likewise.
1101 (_G_off_t): Likewise.
1102 (_G_pid_t): Likewise.
1103 (_G_uid_t): Likewise.
1104 (_G_wchar_t): Likewise.
1105 (_G_wint_t): Likewise.
1106 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1107 (_G_ssize_t): Likewise.
1108 (_G_off_t): Likewise.
1109 (_G_pid_t): Likewise.
1110 (_G_uid_t): Likewise.
1111 (_G_wchar_t): Likewise.
1112 (_G_wint_t): Likewise.
1113 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1114 (_G_ssize_t): Likewise.
1115 (_G_off_t): Likewise.
1116 (_G_pid_t): Likewise.
1117 (_G_uid_t): Likewise.
1118 (_G_wchar_t): Likewise.
1119 (_G_wint_t): Likewise.
1120
9fab36eb
SP
11212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1122
1123 * malloc/arena.c: Include malloc-sysdep.h.
1124 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1125 is sufficient to shrink the heap or an unmap is needed.
1126 * sysdeps/generic/malloc-sysdep.h: New file. Define
1127 new function check_may_shrink_heap.
1128 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1129 new function check_may_shrink_heap.
1130
2b4f00d1
SP
11312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1132
1133 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1134 comments.
1135
9a9028b1
DL
11362012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1137
57c69bef
DL
1138 * catgets/test-gencat.sh: Add "set -e".
1139 * elf/tst-pathopt.sh: Likewise.
1140 * grp/tst_fgetgrent.sh: Likewise.
1141 * iconvdata/run-iconv-test.sh: Likewise.
1142 * intl/tst-gettext.sh: Likewise.
1143 * intl/tst-gettext2.sh: Likewise.
1144 * intl/tst-gettext4.sh: Likewise.
1145 * intl/tst-gettext6.sh: Likewise.
1146 * intl/tst-translit.sh: Likewise.
1147 * io/ftwtest-sh: Likewise.
1148 * libio/test-freopen.sh: Likewise.
1149 * malloc/tst-mtrace.sh: Likewise.
1150 * posix/globtest.sh: Likewise.
1151 * posix/tst-getconf.sh: Likewise.
1152 * posix/wordexp-tst.sh: Likewise.
1153 * stdio-common/tst-printf.sh: Likewise.
1154 * stdio-common/tst-unbputc.sh: Likewise.
1155 * stdlib/tst-fmtmsg.sh: Likewise.
1156 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1157 * catgets/Makefile: Do not specify -e option when running
1158 testsuite shell scripts.
1159 * elf/Makefile: Likewise.
1160 * grp/Makefile: Likewise.
1161 * iconvdata/Makefile: Likewise.
1162 * intl/Makefile: Likewise.
1163 * io/Makefile: Likewise.
1164 * libio/Makefile: Likewise.
1165 * malloc/Makefile: Likewise.
1166 * posix/Makefile: Likewise.
1167 * stdio-common/Makefile: Likewise.
1168 * stdlib/Makefile: Likewise.
1169 * sysdeps/x86_64/Makefile: Likewise.
1170
9a9028b1
DL
1171 * io/ftwtest-sh: Add copyright header.
1172 * posix/globtest.sh: Likewise.
1173 * posix/tst-getconf.sh: Likewise.
1174 * posix/wordexp-tst.sh: Likewise.
1175 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1176
ced6f16e
L
11772012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1178
94b32c39
L
1179 [BZ #13679]
1180 * Makeconfig (+link): Defined as $(+link-static) if
1181 $(build-shared) isn't yes.
1182 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1183 isn't yes.
1184 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1185
189e935b
L
1186 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1187
ced6f16e
L
1188 [BZ #14562]
1189 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1190 new chunk size with MALLOC_ALIGN_MASK.
1191
a9f8e53a
JM
11922012-09-24 Joseph Myers <joseph@codesourcery.com>
1193
1194 [BZ #5044]
1195 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1196 <rounding-mode.h>.
1197 (__printf_fphex): Determine rounding using get_rounding_mode and
1198 round_away.
1199 * stdio-common/tst-printf-round.c (struct hex_test): New
1200 structure.
1201 (hex_tests): New variable.
1202 (test_hex_in_one_mode): New function.
1203 (do_test): Also run tests for hex float output.
1204
43153109
JM
12052012-09-21 Joseph Myers <joseph@codesourcery.com>
1206
1207 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1208 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1209 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1210 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1211 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1212 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1213 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1214 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1215
8a26625d
JM
12162012-09-20 Joseph Myers <joseph@codesourcery.com>
1217
1218 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1219 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1220 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1221 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1222
f3fd569c
DL
12232012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1224
1225 [BZ #14579]
1226 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1227 mode only.
1228 * elf/tst-rtld-load-self.sh: New test.
1229 * elf/Makefile: Run it.
1230
63bbedd4
JM
12312012-09-18 Joseph Myers <joseph@codesourcery.com>
1232
1233 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1234 (tst-writev-ENV): Remove.
1235 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1236
626f8b6a
CM
12372012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1238
1239 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1240
b7aaa4d6
JM
12412012-09-17 Joseph Myers <joseph@codesourcery.com>
1242
1243 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1244 unconditional.
1245 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1246 Likewise.
1247 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1248 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1249 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1250 Likewise.
1251
65513990
L
12522012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1253
1254 [BZ #14587]
1255 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1256 * config.make.in (have-cpp-asm-debuginfo): Removed.
1257 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1258 * configure: Regenerated.
1259
784761be
JM
12602012-09-14 Joseph Myers <joseph@codesourcery.com>
1261
1262 [BZ #5044]
1263 * stdio-common/printf_fp.c: Include <stdbool.h> and
1264 <rounding-mode.h>.
1265 (___printf_fp): Determine rounding using get_rounding_mode and
1266 round_away.
1267 * stdio-common/tst-printf-round.c: New file.
1268 * stdio-common/Makefile (tests): Add tst-printf-round.
1269 (link-libm): New variable.
1270 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1271
9503345f
L
12722012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1273
1274 [BZ #14576]
1275 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1276 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1277 Likewise.
1278 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1279 Likewise.
1280
ad35fc00
JM
12812012-09-13 Joseph Myers <joseph@codesourcery.com>
1282
1283 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1284 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1285 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1286 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1287
6c9b0f68
JM
12882012-09-12 Joseph Myers <joseph@codesourcery.com>
1289
1290 [BZ #14518]
1291 * include/rounding-mode.h: New file.
1292 * sysdeps/generic/get-rounding-mode.h: Likewise.
1293 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1294 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1295 (MAX_VALUE): New macro.
1296 (MIN_VALUE): Likewise.
1297 (overflow_value): New function.
1298 (underflow_value): Likewise.
1299 (round_and_return): Use overflow_value and underflow_value to
1300 determine return values in overflow and underflow cases. Use
1301 round_away to determine rounding depending on rounding mode.
1302 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1303 determine return values in overflow and underflow cases.
1304 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1305 (struct test_results): New structure.
1306 (struct test): Use struct test_results to store expected results
1307 for all rounding modes.
1308 (TEST): Include expected results for all rounding modes.
1309 (test_in_one_mode): New function.
1310 (do_test): Use test_in_one_mode to compute and check results.
1311 Check results for all rounding modes.
1312 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1313 $(link-libm).
1314
19fcedd5
AM
13152012-12-09 Allan McRae <allan@archlinux.org>
1316
1317 * sysdeps/i386/fpu/libm-test-ulps: Update
1318
8bbfd2f1
JM
13192012-09-11 Joseph Myers <joseph@codesourcery.com>
1320
1321 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1322 (_G_int32_t): Likewise.
1323 (_G_uint16_t): Likewise.
1324 (_G_uint32_t): Likewise.
1325 (_G_HAVE_BOOL): Likewise.
1326 (_G_HAVE_ATEXIT): Likewise.
1327 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1328 (_G_HAVE_IO_FILE_OPEN): Likewise.
1329 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1330 (_G_int32_t): Likewise.
1331 (_G_uint16_t): Likewise.
1332 (_G_uint32_t): Likewise.
1333 (_G_HAVE_BOOL): Likewise.
1334 (_G_HAVE_ATEXIT): Likewise.
1335 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1336 (_G_HAVE_IO_FILE_OPEN): Likewise.
1337 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1338 (_G_int32_t): Likewise.
1339 (_G_uint16_t): Likewise.
1340 (_G_uint32_t): Likewise.
1341 (_G_HAVE_BOOL): Likewise.
1342 (_G_HAVE_ATEXIT): Likewise.
1343 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1344 (_G_HAVE_IO_FILE_OPEN): Likewise.
1345
b1dc5912
L
13462012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1347
1348 * csu/libc-tls.c: Update copyright years.
1349
0e886ef9
JM
13502012-09-10 Joseph Myers <joseph@codesourcery.com>
1351
28361c5e
JM
1352 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1353 [!_G_USING_THUNKS]: Remove conditional code.
1354 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1355 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1356
0e886ef9
JM
1357 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1358 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1359 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1360 (_G_VTABLE_LABEL_PREFIX): Likewise.
1361 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1362 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1363 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1364 (_G_VTABLE_LABEL_PREFIX): Likewise.
1365 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1366 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1367 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1368 (_G_VTABLE_LABEL_PREFIX): Likewise.
1369 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1370
bcba7aa2
L
13712012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1372
1373 * libio/Makefile: Include ../Makeconfig before tests.
1374 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1375 only if $(build-shared) is yes.
1376
06585ee8
L
1377 * iconv/gconv_db.c: Update copyright years.
1378
80ccd52c
LD
13792012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1380
1381 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1382 unwind info if defined PIC. Fix special cases description.
1383 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1384
1385 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1386 DP_HI_MASK entry.
1387 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1388
691bc9c1
L
13892012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1390
3d9b46b3
L
1391 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1392
de2139a9
L
1393 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1394 is NULL.
1395
5ca78dd0
L
1396 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1397 (LDLIBS-tst-chk4): This.
1398 (LDFLAGS-tst-chk5): Renamed to ...
1399 (LDLIBS-tst-chk5): This.
1400 (LDFLAGS-tst-chk6): Renamed to ...
1401 (LDLIBS-tst-chk6): This.
1402 (LDFLAGS-tst-lfschk4): Renamed to ...
1403 (LDLIBS-tst-lfschk4): This.
1404 (LDFLAGS-tst-lfschk5): Renamed to ...
1405 (LDLIBS-tst-lfschk5): This.
1406 (LDFLAGS-tst-lfschk6): Renamed to ...
1407 (LDLIBS-tst-lfschk6): This.
1408
691bc9c1
L
1409 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1410 on $(common-objpfx)soversions.mk.
1411
65cafb1c
JM
14122012-09-07 Joseph Myers <joseph@codesourcery.com>
1413
1414 [BZ #10014]
1415 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1416 example host name.
1417
c78ab094
SP
14182012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1419
1420 * malloc/arena.c (arena_get_retry): New function that gets
1421 another arena for the caller to try its request on.
1422 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1423 current arena cannot fulfill the request.
1424 (__libc_memalign): Likewise.
1425 (__libc_memalign): Likewise.
1426 (__libc_pvalloc): Likewise.
1427 (__libc_calloc): Likewise.
1428
01f49f59
JT
14292012-09-05 John Tobey <john.tobey@gmail.com>
1430
1431 [BZ #13542]
1432 * manual/arith.texi (Operations on Complex): Fix description
1433 of carg branch cut.
1434
4c23fed5
JM
14352012-09-06 Joseph Myers <joseph@codesourcery.com>
1436
1d3c8572
JM
1437 [BZ #10014]
1438 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1439 host name.
1440
4c23fed5
JM
1441 [BZ #10038]
1442 * manual/memory.texi (Memory): Make order of menu items match
1443 order of sections.
1444
04570aaa
L
14452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1448 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1449 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1450
b80af2f4
L
14512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1452
1453 * csu/libc-tls.c (static_dtv): Renamed to ...
1454 (_dl_static_dtv): This. Make it global.
1455 (_dl_initial_dtv): Removed.
1456 (__libc_setup_tls): Updated.
1457 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1458 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1459 DL_INITIAL_DTV.
1460
2abe9f15
PM
14612012-09-06 Petr Machata <pmachata@redhat.com>
1462
1463 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1464 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1465 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1466 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1467
0948c3af
L
14682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1469
1470 [BZ #14545]
1471 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1472 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1473 freeing dtv[-1].
1474
a5055ad1
L
14752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1476
1477 [BZ #14544]
1478 * Makeconfig (link-static-before-libc): Replace $(+prector)
1479 with $(+prectorT).
1480 (link-static-after-libc): Replace $(+postctor) with
1481 $(+postctorT).
1482 (link-bounded): Replace $(+prector)/$(+postctor) with
1483 $(+prectorT)/$(+postctorT).
1484 (+prectorT): New macro.
1485 (+postctorT): Likewise.
1486
ed8c2ecd
JM
14872012-09-06 Joseph Myers <joseph@codesourcery.com>
1488
1489 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1490 (round_str): Handle values above the maximum for IBM long double
1491 as inexact.
1492 * stdlib/tst-strtod-round.c (tests): Regenerated.
1493
14c996c8
AK
14942012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1495
1496 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1497 assembler flag.
1498 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1499 zarch_nohighgprs around the zarch optimized routines.
1500 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1501 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1502 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1503 for zarch.
1504
430d6ce6
DM
15052012-09-05 David S. Miller <davem@davemloft.net>
1506
1507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1508
ff04dda4
DM
1509 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1510 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1511 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1512 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1513 entries.
1514
24d4e01b
AO
15152012-09-05 Alexandre Oliva <aoliva@redhat.com>
1516
1517 * malloc/arena.c: Fold copyright years.
1518 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1519
61d58174
AO
15202012-09-05 Alexandre Oliva <aoliva@redhat.com>
1521
1522 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1523
20196a5e
AO
15242012-09-05 Alexandre Oliva <aoliva@redhat.com>
1525
1526 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1527
5c447383
AO
15282012-09-05 Alexandre Oliva <aoliva@redhat.com>
1529
1530 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1531 change internal state upon failure.
1532
fad64255
AO
15332012-09-05 Alexandre Oliva <aoliva@redhat.com>
1534
1535 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1536 * malloc/memusage.c (mmap): Likewise.
1537 (mmap64, mremap): Likewise. Adjust name in comment.
1538
1ffb8c90
SP
15392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1540
1541 * libio/fileops.c: Fix typos in comments.
1542 * libio/oldfileops.c: Likewise.
1543 * libio/wfileops.c: Likewise.
1544
6ef9cc37
SP
15452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1546
1547 [BZ #1349]
1548 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1549 (tst-malloc-usable-ENV): Set environment for test case.
1550 * malloc/hooks.c (malloc_check_get_size): New function to get
1551 requested size.
1552 * malloc/malloc.c (musable): Use malloc_check_get_size.
1553 * malloc/tst-malloc-usable.c: New test case.
1554
4d038ae3
AS
15552012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1556
1557 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1558
c4e85184
AM
15592012-09-05 Allan McRae <allan@archlinux.org>
1560
b9dafc56 1561 [BZ #13966]
c4e85184
AM
1562 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1563 determine header location.
1564 * configure: Regenerated.
1565
e1343020
AS
15662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1567
1568 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1569 float format.
1570 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1571 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1572 format.
e1343020
AS
1573 (test): Regenerate.
1574
0a9f1987
DM
15752012-09-04 David S. Miller <davem@davemloft.net>
1576
1577 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1578 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1579 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1580
29237804
FW
15812012-09-04 Florian Weimer <fweimer@redhat.com>
1582
1583 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1584 failures.
1585
edb3cb88
FW
1586 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1587
60160d83
JM
15882012-09-04 Joseph Myers <joseph@codesourcery.com>
1589
1590 [BZ #9914]
1591 * libio/iogetdelim.c: Include <limits.h>.
1592 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1593 + len + 1 would overflow.
1594
bcd6c8dc
AJ
15952012-09-03 Andreas Jaeger <aj@suse.de>
1596
1597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1598 * sysdeps/i386/fpu/libm-test-ulps: Update.
1599
4ffffbd2
LD
16002012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1601
1602 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1603 Add s_sinf-sse2, s_conf-sse2.
1604
1605 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1606 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1607 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1608 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1609
1610 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1611 for using routine as __sinf_ia32.
1612 Use macro for function declaration and weak_alias.
1613 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1614 for using routine as __cosf_ia32.
1615 Use macro for function declaration and weak_alias.
1616
1617 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1618 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1619
1620 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1621 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1623
1624 * math/libm-test.inc (cos_test): Add more test cases.
1625 (sin_test): Likewise.
1626 (sincos_test): Likewise.
1627
511fa286
AK
16282012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1629
1630 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1631 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1632 hidden.
1633 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1634
5f30cfec
L
16352012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1636
1637 [BZ #14538]
1638 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1639 first element of the GOT.
1640 (elf_machine_load_address): Return the difference between
1641 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1642
0786794f
AM
16432012-09-01 Allan McRae <allan@archlinux.org>
1644
5f30cfec
L
1645 [BZ #13412]
1646 * configure.in (AWK): Require gawk version 3.0 or later.
1647 * configure: Regenerated.
0786794f 1648
26889eac
JM
16492012-09-01 Joseph Myers <joseph@codesourcery.com>
1650
1651 * sysdeps/unix/sysv/linux/kernel-features.h
1652 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1653 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1654 [__NR_clock_getres]: Make code unconditional.
1655 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1656 (clock_getcpuclockid): Remove code left unreachable by removal of
1657 conditionals.
1658 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1659 code unconditional.
1660 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1661 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1662 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1663 Make code unconditional.
1664 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1665 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1666 * sysdeps/unix/sysv/linux/clock_settime.c
1667 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1668 conditional code.
1669 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1670 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1671
d22e28b0
L
16722012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1673
1674 [BZ #14476]
1675 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1676 scripts/test-installation.pl.
1677
1678 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1679 and $ld_so_version if it is set.
1680
050af9c4
SP
16812012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1682
1683 [BZ #14516]
1684 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1685 failure if reading from procfs failed.
1686 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1687
ad845c0b
JM
16882012-08-27 Joseph Myers <joseph@codesourcery.com>
1689
1690 * sysdeps/unix/sysv/linux/kernel-features.h
1691 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1692 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1693 Remove conditional code.
1694 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1695 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1696 Remove conditional code.
1697 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1698 * sysdeps/unix/sysv/linux/i386/fxstat.c
1699 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1700 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1701 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1702 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1703 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1704 * sysdeps/unix/sysv/linux/i386/lxstat.c
1705 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1706 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1707 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1708 Remove conditional code.
1709 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1710 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1711 Remove conditional code.
1712 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1713 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1714 <kernel-features.h>.
1715 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1716 Remove.
1717 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1718 Remove conditional code.
1719 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1720 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1721 Remove conditional.
1722
5dbf56af
MF
17232012-08-27 Mike Frysinger <vapier@gentoo.org>
1724
1725 [BZ #5400]
1726 * NEWS: Add fixed bug number.
1727
d6e70f43
JM
17282012-08-27 Joseph Myers <joseph@codesourcery.com>
1729
7efb4737
JM
1730 [BZ #14519]
1731 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1732 underflowing exponent in case of negative sign.
1733 * stdlib/tst-strtod-round-data: Add more tests.
1734 * stdlib/tst-strtod-round.c (tests): Regenerated.
1735
af92131a
JM
1736 [BZ #3479]
1737 * stdlib/strtod_l.c (NDIG): Remove.
1738 (HEXNDIG): Likewise.
1739 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1740 smallest representable value.
1741 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1742 lie within an exact representation of 1/2 ulp of the result.
1743 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1744 unconditionally.
1745 (TENS_P9_IDX): Define unconditionally.
1746 (TENS_P9_SIZE): Likewise.
1747 (TENS_P10_IDX): Likewise.
1748 (TENS_P10_SIZE): Likewise.
1749 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1750 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1751 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1752 entries for 10^2^13 and 10^2^14.
1753 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1754 (TENS_P13_IDX): Define.
1755 (TENS_P13_SIZE): Likewise.
1756 (TENS_P14_IDX): Likewise.
1757 (TENS_P14_SIZE): Likewise.
1758 (_fpioconst_pow10): Change array size to
1759 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1760 unconditional.
1761 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1762 1024]: Add entries for 10^2^13 and 10^2^14.
1763 [LAST_POW10 > _LAST_POW10]: Remove #error.
1764 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1765 (_fpioconst_pow10): Change array size to
1766 FPIOCONST_POW10_ARRAY_SIZE.
1767 * stdlib/gen-fpioconst.c: New file.
1768 * stdlib/gen-tst-strtod-round.c: Likewise.
1769 * stdlib/tst-strtod-round-data: Likewise.
1770 * stdlib/tst-strtod-round.c: Likewise.
1771 * stdlib/Makefile (tests): Add tst-strtod-round.
1772
d6e70f43
JM
1773 [BZ #14459]
1774 * stdlib/strtod_l.c: Include <stdint.h>.
1775 (NDEBUG): Do not define.
1776 (round_and_return): Change EXPONENT parameter to type intmax_t.
1777 Rearrange calculations to avoid internal overflow possibilities.
1778 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1779 Rearrange calculations to avoid internal overflow possibilities.
1780 Assert that number fits inside MPNSIZE limbs.
1781 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1782 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1783 calculations and add assertions to avoid internal overflow
1784 possibilities. Add casts to avoid signed/unsigned operations.
1785 * stdlib/tst-strtod-overflow.c: New file.
1786 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1787
1f529f7d
MP
17882012-08-25 Marek Polacek <polacek@redhat.com>
1789
1790 * time/time.h: Fix some typos in comments.
1791
59a629f1
RM
17922012-08-23 Roland McGrath <roland@hack.frob.com>
1793
1794 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1795 * posix/tst-rfc3484-2.c: Likewise.
1796 * posix/tst-rfc3484-3.c: Likewise.
1797
d3bafbc9
SM
17982012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1799
1800 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1801 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1802
4efcc022
JM
18032012-08-23 Joseph Myers <joseph@codesourcery.com>
1804
1805 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1806 #include of fxstatat64.c.
1807
3cc3ef96
RM
18082012-08-22 Roland McGrath <roland@hack.frob.com>
1809
f04e2132
RM
1810 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1811 * shadow/getspent_r.c: Likewise.
1812 * shadow/getspnam.c: Likewise.
1813 * shadow/getspnam_r.c: Likewise.
1814 * gshadow/getsgent.c: Likewise.
1815 * gshadow/getsgent_r.c: Likewise.
1816 * gshadow/getsgnam.c: Likewise.
1817 * gshadow/getsgnam_r.c: Likewise.
1818 * inet/getnetbyad.c: Likewise.
1819 * inet/getnetbyad_r.c: Likewise.
1820 * inet/getnetbynm.c: Likewise.
1821 * inet/getnetbynm_r.c: Likewise.
1822 * inet/getnetent.c: Likewise.
1823 * inet/getnetent_r.c: Likewise.
1824 * inet/getproto.c: Likewise.
1825 * inet/getproto_r.c: Likewise.
1826 * inet/getprtent.c: Likewise.
1827 * inet/getprtent_r.c: Likewise.
1828 * inet/getprtname.c: Likewise.
1829 * inet/getprtname_r.c: Likewise.
1830 * inet/getrpcbyname.c: Likewise.
1831 * inet/getrpcbyname_r.c: Likewise.
1832 * inet/getrpcbynumber.c: Likewise.
1833 * inet/getrpcbynumber_r.c: Likewise.
1834 * inet/getrpcent.c: Likewise.
1835 * inet/getrpcent_r.c: Likewise.
1836 * inet/getaliasent.c: Likewise.
1837 * inet/getaliasent_r.c: Likewise.
1838 * inet/getaliasname.c: Likewise.
1839 * inet/getaliasname_r.c: Likewise.
1840 * nscd/getgrgid_r.c: Likewise.
1841 * nscd/getgrnam_r.c: Likewise.
1842 * nscd/gethstbyad_r.c: Likewise.
1843 * nscd/gethstbynm3_r.c: Likewise.
1844 * nscd/getpwnam_r.c: Likewise.
1845 * nscd/getpwuid_r.c: Likewise.
1846 * nscd/getsrvbynm_r.c: Likewise.
1847 * nscd/getsrvbypt_r.c: Likewise.
1848 * nscd/gai.c: Likewise.
1849
c53d909c
RM
1850 * configure.in (build_nscd): New substituted variable, set
1851 by --disable-build-nscd and defaults to $use_nscd.
1852 * configure: Regenerated.
1853 * config.make.in (build-nscd): New substituted variable.
1854 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1855 Change conditional to require [$(build-nscd) = yes] as well.
1856 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1857
3cc3ef96
RM
1858 [BZ# 13696]
1859 * configure.in (use_nscd): New substituted variable, set by
1860 --disable-nscd. If enabled, define USE_NSCD.
1861 * configure: Regenerated.
1862 * config.h.in: Add USE_NSCD.
1863 * config.make.in (use-nscd): New substituted variable.
1864 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1865 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1866 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1867 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1868 (CFLAGS-getgrnam_r.c): Likewise.
1869 (CFLAGS-initgroups.c): Likewise.
1870 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1871 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1872 Variables removed.
1873 * inet/getnetgrent_r.c
1874 (nscd_setnetgrent): New function, broken out of ...
1875 (setnetgrent): ... here. Call it.
1876 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1877 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1878 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1879 * nscd/Makefile (routines, aux): Move definitions after include of
1880 Makeconfig. Conditionalize on [$(use-nscd) != no].
1881 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1882 Conditionalize on [USE_NSCD].
1883 (is_nscd, nscd_init_cb): Likewise.
1884 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1885 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1886 * nss/nss_db/db-init.c: Likewise.
1887 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1888 [USE_NSCD].
1889 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1890 (make_request): Use it.
1891 (cache_valid_p): New function.
1892 (__check_pf): Use it.
1893 * NEWS: Add item for --disable-nscd.
1894
07e51550
DL
18952012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1896
1897 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1898 to support sed >= 4.2.1-20-ga9bf076.
1899 * configure: Regenerated.
1900
35a5b08b
RM
19012012-08-22 Roland McGrath <roland@hack.frob.com>
1902
1903 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1904 Conditionalize whole body on [IREL].
1905
8479f23a
JL
19062012-08-22 Jeff Law <law@redhat.com>
1907
1908 [BZ #14505]
1909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1910 if the family is PF_UNSPEC.
1911
48da0b21
MF
19122012-08-22 Mike Frysinger <vapier@gentoo.org>
1913
1914 * Makerules (lib-version): Rename from V.
1915 (install-lib-nosubdir): Change V to lib-version.
1916
15d0da8c
WS
19172012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1918
1919 [BZ #14252]
1920 * powerpc32/power6/wcschr.c: New file.
1921 * powerpc32/power6/wcscpy.c: New file.
1922 * powerpc32/power6/wcsrchr.c: New file.
1923 * powerpc64/power6/wcschr.c: New file.
1924 * powerpc64/power6/wcscpy.c: New file.
1925 * powerpc64/power6/wcsrchr.c: New file.
1926
bcca0895
MK
19272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1928
1929 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1930 (two_way_short_needle): Use it.
5a4aaa33
RM
1931 * string/strstr.c (AVAILABLE1_USES_J): Define.
1932 * string/strcasestr.c: Likewise.
99677e57
MK
1933
1934 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1935 array references.
1936 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1937
400726de
MK
1938 [BZ #11607]
1939 * NEWS: Add an entry.
1940 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1941 define their defaults.
1942 (two_way_short_needle): Detect end-of-string on-the-fly.
1943 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1944 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1945 * string/bug-strcasestr1.c: New test.
1946 * string/Makefile: Run it.
1947
20a71f2c
MK
19482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1949
1950 [BZ #11607]
1951 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1952 the first character.
1953
21ad0558
RM
19542012-08-21 Roland McGrath <roland@hack.frob.com>
1955
1956 * csu/elf-init.c (__libc_csu_irel): Function removed.
1957 * csu/libc-start.c (apply_irel): New function.
1958 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1959
0e1d9911
JM
19602012-08-21 Joseph Myers <joseph@codesourcery.com>
1961
1962 * sysdeps/unix/sysv/linux/kernel-features.h
1963 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1964 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1965 <kernel-features.h>.
1966 [__NR_fadvise64_64]: Make code unconditional.
1967 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1968 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1969 !__NR_fadvise64_64)]: Likewise.
1970 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1971 !__NR_fadvise64_64))]: Likewise.
1972 [__NR_fadvise64]: Make code unconditional.
1973 [!__NR_fadvise64]: Remove conditional code.
1974 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1975 <kernel-features.h>.
1976 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1977 unconditional.
1978 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1979 conditional code.
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1981 not include <kernel-features.h>.
1982 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1983 unconditional.
1984 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1985 conditional code.
1986 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1987 include <kernel-features.h>.
1988 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1989 unconditional.
1990 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1991 conditional code.
1992
14a50c9d
WS
19932012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1994
1995 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1996 slight instruction rearrangements per scrollpipe analysis.
1997 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1998
c0f4faf0
RM
19992012-08-20 Roland McGrath <roland@hack.frob.com>
2000
696da859
RM
2001 * manual/syslog.texi (syslog; vsyslog, closelog):
2002 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2003 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2004
c0f4faf0
RM
2005 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2006 DSOCAPS to match condition on defining it.
2007
348363b2
JM
20082012-08-20 Joseph Myers <joseph@codesourcery.com>
2009
a35cbf28
JM
2010 * sysdeps/unix/sysv/linux/kernel-features.h
2011 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2013 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2014 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2016 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2017 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2019 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2020 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2021
445f7ecd
JM
2022 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2023 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2024
348363b2
JM
2025 * sysdeps/unix/sysv/linux/kernel-features.h
2026 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2027 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2028 unconditional.
2029 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2030 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2031 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2032 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2033 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2034 Make code unconditional.
2035 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2036 (__mmap64) [!__NR_mmap2]: Likewise.
2037 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2038 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2039 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2040 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2041 [__NR_mmap2]: Make code unconditional.
2042 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2043 (__mmap64) [!__NR_mmap2]: Likewise.
2044
bc5bc0e5
AK
20452012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2046
2047 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2048
88d506de
AJ
20492012-08-18 Andreas Jaeger <aj@suse.de>
2050
2051 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2052
493387d2
MF
20532012-08-18 Mike Frysinger <vapier@gentoo.org>
2054
2055 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2056 * include/unistd.h (__have_sock_cloexec): Likewise.
2057 (__have_pipe2): Likewise.
2058 (__have_dup3): Likewise.
2059
a277af22
MF
20602012-08-18 Mike Frysinger <vapier@gentoo.org>
2061
2062 [BZ #9685]
2063 * include/unistd.h (__have_pipe2): Change define into an extern int.
2064 (__have_dup3): Likewise.
2065 * socket/have_sock_cloexec.c: Include fcntl.h.
2066 (__have_pipe2): New variable.
2067 (__have_dup3): Likewise.
2068
fdab8fd3
MF
20692012-08-17 Mike Frysinger <vapier@gentoo.org>
2070
2071 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2072
31035e80
MP
20732012-08-17 Marek Polacek <polacek@redhat.com>
2074
2075 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2076 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2077
3bd9e993
RM
20782012-08-17 Roland McGrath <roland@hack.frob.com>
2079
c91c505f
RM
2080 * configure.in: Add AC_SUBST for sysheaders.
2081 * configure: Regenerated.
2082 * config.make.in (sysheaders): New substituted variable.
2083
7c6f9d53
RM
2084 * sysdeps/unix/mkfifo.c: Moved ...
2085 * sysdeps/posix/mkfifo.c: ... here.
2086 * sysdeps/unix/mkfifoat.c: Moved ...
2087 * sysdeps/posix/mkfifoat.c: ... here.
2088
2089 * sysdeps/unix/utime.c: Moved ...
2090 * sysdeps/posix/utime.c: ... here.
2091
2092 * sysdeps/unix/time.c: Moved ...
2093 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2094 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2095 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2096
2097 * sysdeps/unix/nice.c: Moved ...
2098 * sysdeps/posix/nice.c: ... here.
2099
2100 * sysdeps/unix/alarm.c: Moved ...
2101 * sysdeps/posix/alarm.c: ... here.
2102
3bd9e993
RM
2103 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2104
d1f09384
JL
21052012-08-17 Jeff Law <law@redhat.com>
2106
2107 * intl/Makefile (codeset_mo): New variable.
2108 ($(codeset_mo)): New target.
2109 (tst-codeset.out): Depend on that. Remove explicit rule.
2110 (tst-gettext3.out, tst-gettext5.out): Likewise.
2111 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2112 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2113 * intl/tst-codeset.sh: Remove.
2114 * intl/tst-gettext3.sh: Likewise.
2115 * intl/tst-gettext5.sh: Likewise.
2116
2ae1ae5c
RM
21172012-08-17 Roland McGrath <roland@hack.frob.com>
2118
c31fdb83
RM
2119 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2120 * sysdeps/unix/syscalls.list: ... here.
2121
a0844057
RM
2122 * sysdeps/posix/getaddrinfo.c
2123 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2124 (gaiconf_init, gaiconf_reload): Use them.
2125 [!_STATBUF_ST_NSEC]
2126 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2127 Define using time_t rather than struct timespec.
2128
750c1f2a
RM
2129 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2130 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2131 Macros removed.
2132 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2133 [!NO_THREADS].
2134 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2135 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2136 Likewise.
2137
2ae1ae5c
RM
2138 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2139 __libc_cleanup_push argument.
2140
e66a42f5
RM
2141 * bits/param.h: New file.
2142 * misc/sys/param.h: New file.
2143 * include/sys/param.h: New file.
2144 * misc/Makefile (headers): Add bits/param.h.
2145 * sysdeps/generic/sys/param.h: File removed.
2146 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2147 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2148 * sysdeps/mach/hurd/bits/param.h: New file.
2149 * sysdeps/mach/hurd/sys/param.h: New file.
2150
b7c08a66
RM
2151 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2152 last change.
2153
b2e1c562
RM
2154 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2155 [_IO_MTSAFE_IO].
2156 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2157 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2158 New macros.
2159
c75ccd4c
RM
2160 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2161 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2162 rather than -D_IO_MTSAFE_IO conditionally.
2163 * stdio-common/Makefile (CPPFLAGS): Likewise.
2164 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2165 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2166 Use $(libio-mtsafe).
2167 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2168 of -D_IO_MTSAFE_IO.
2169 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2170 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2171 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2172 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2173 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2174 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2175 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2176 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2177 (CFLAGS-fread_u_chk.c): Likewise.
2178 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2179 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2180 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2181 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2182 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2183 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2184 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2185 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2186 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2187
2188 * libio/Makefile: Test [$(libc-reentrant) = yes]
2189 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2190
2191 * Makeconfig
2192 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2193 * sysdeps/pthread/configure: File removed.
2194 * sysdeps/pthread/Makeconfig: New file.
2195 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2196 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2197
d9195db8
GB
21982012-08-16 Gary Benson <gbenson@redhat.com>
2199
2200 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2201 unmapping the first object in a namespace.
2202
86466cd9
RM
22032012-08-16 Roland McGrath <roland@hack.frob.com>
2204
2205 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2206 (__internal_setnetgrent): ... this. Add internal_function to
2207 definition. Add libc_hidden_def.
2208 (setnetgrent): Update caller.
2209 (internal_endnetgrent): Renamed to ...
2210 (__internal_endnetgrent): ... this. Add internal_function to
2211 definition. Add libc_hidden_def.
2212 (endnetgrent): Update caller.
2213 (internal_getnetgrent_r): Renamed to ...
2214 (__internal_getnetgrent_r): ... this. Add internal_function to
2215 definition. Add libc_hidden_def.
2216 (__getnetgrent_r): Update caller.
2217 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2218
c3c8283c
JM
22192012-08-16 Joseph Myers <joseph@codesourcery.com>
2220
2221 * stdlib/longlong.h: Update from GCC.
2222
db1ee0a8
RM
22232012-08-16 Roland McGrath <roland@hack.frob.com>
2224
2225 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2226 on _QL, which is set by umul_ppmm but never used.
2227 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2228 variables, which are set by GMP macros but never used.
2229 * stdio-common/_itowa.c (_itowa): Likewise.
2230 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2231 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2232
30f69637
CD
22332012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2234
2235 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2236 struct La_sh_regs is not constant.
2237 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2238 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2239 and struct La_sparc64_regs are not constant.
2240
93a78ac4
JM
22412012-08-16 Joseph Myers <joseph@codesourcery.com>
2242
2243 * sysdeps/unix/sysv/linux/kernel-features.h
2244 (__ASSUME_POSIX_TIMERS): Remove.
2245 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2246 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2247 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2248 Make code unconditional.
2249 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2250 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2251 Make code unconditional.
2252 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2253 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2254 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2255 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2256 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2257 Make code unconditional.
2258 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2259 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2260 (__libc_missing_posix_timers): Remove.
2261
dd924cd7
RM
22622012-08-15 Roland McGrath <roland@hack.frob.com>
2263
4b4f2771
RM
2264 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2265 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2266
601c888b
RM
2267 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2268
176790a7
RM
2269 * elf/dl-sym.c: Include <stdlib.h>.
2270
329bc018
RM
2271 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2272 constants, which avoids warnings in 32-bit builds.
2273
e04e272d
RM
2274 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2275 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2276
952bf94a
RM
2277 * misc/lseek.c: File moved to ...
2278 * io/lseek.c: ... here.
2279
7c99b50a
RM
2280 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2281
dd924cd7
RM
2282 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2283 shifting LEN more than 31 bits at once.
2284
b3f479a8
LD
22852012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2286
2287 [BZ #14195]
8c4ae0d4
RM
2288 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2289 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2290 * string/test-strncasecmp.c (check1): Renamed to...
2291 (bz12205): ...this.
2292 (bz14195): Add new testcase for two empty input strings and N > 0.
2293 (test_main): Call new testcase, adapt for renamed function.
2294
9c55864e
AJ
22952012-08-15 Andreas Jaeger <aj@suse.de>
2296
2297 [BZ #14090]
2298 * crypt/md5test2.c: New test, based on test supplied by Serge
2299 Belyshev <belyshev@depni.sinp.msu.ru>.
2300 * crypt/Makefile (xtests): Add md5test-giant..
2301 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2302
02dcb6c5
PE
23032012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2304
2305 [BZ #14090]
2306 * crypt/md5.c (md5_process_block): Don't assume the buffer
2307 length is less than 2**32.
2308 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2309 length is less than 2**64.
2310
a3f95dcc
RM
23112012-08-15 Roland McGrath <roland@hack.frob.com>
2312
be75d758
RM
2313 * string/str-two-way.h: Include <sys/param.h>.
2314 (MAX): Macro removed.
2315
7312ca90
RM
2316 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2317 Move #define and #undef of memmove to just before and after
2318 including <string.h>.
2319
9a0a5486
RM
2320 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2321 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2322 and after including <string.h>. Move declarations of
2323 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2324 to before #include "string/memmove.c".
2325
67cc348d
RM
2326 * include/dirent.h: Declare __getdirentries.
2327
a3f95dcc
RM
2328 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2329 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2330
ca98e171
MF
23312012-08-14 Mike Frysinger <vapier@gentoo.org>
2332
2333 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2334 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2335 * sysdeps/i386/configure: Regenerated.
2336 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2337 STABS_CURRENT_FILE, and STABS_FUN.
2338 (END): Remove call to STABS_FUN_END.
2339 (STABS_CURRENT_FILE1): Delete.
2340 (STABS_CURRENT_FILE): Likewise.
2341 (STABS_FUN): Likewise.
2342 (STABS_FUN_END): Likewise.
2343 (STABS_FUN2): Likewise.
2344 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2345 * sysdeps/x86_64/configure: Regenerated.
2346
5908bf46
RM
23472012-08-14 Roland McGrath <roland@hack.frob.com>
2348
2349 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2350 * elf/dl-lookup.c: Likewise.
5908bf46 2351
f2c05b9e
JM
23522012-08-14 Joseph Myers <joseph@codesourcery.com>
2353
2354 * sysdeps/unix/sysv/linux/kernel-features.h
2355 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2356 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2357 unconditionally.
2358 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2359 unconditionally.
2360 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2361 condition on __ASSUME_CLONE_THREAD_FLAGS.
2362
e11f5155
AJ
23632012-08-14 Andreas Jaeger <aj@suse.de>
2364
2365 * sysdeps/i386/fpu/libm-test-ulps: Update.
2366
51a9ba86
MK
23672012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2368
2fdd4f78
AJ
2369 * include/atomic.h (atomic_exchange_and_add): Split into ...
2370 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2371 New atomic macros.
51a9ba86 2372
ba6cba9e
MT
23732012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2374
2375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2376
42443a47
JL
23772012-08-13 Jeff Law <law@redhat.com>
2378
2379 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2380 null byte in the output string.
2381
121dce05
JM
23822012-08-10 Joseph Myers <joseph@codesourcery.com>
2383
2384 * sysdeps/unix/sysv/linux/kernel-features.h
2385 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2386 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2387 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2388 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2389 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2390 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2391 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2392
bf51f568
JL
23932012-08-09 Jeff Law <law@redhat.com>
2394
2395 [BZ #13939]
2396 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2397 When avoid_arena is set, don't retry in the that arena. Pick the
2398 next one, whatever it might be.
2399 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2400 (arena_lock): Pass in new parameter to arena_get2.
2401 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2402 arena_get2.
2403 (__libc_malloc): Unify retrying after main arena failure with
2404 __libc_memalign version.
2405 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2406
f85fa270
L
24072012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2408
2409 [BZ #14166]
2410 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2411 to __redirect_strstr.
2412 (__strstr_sse42): Use typeof __redirect_strstr.
2413 (__strstr_ia32): Likewise.
2414 (__libc_strstr): New prototype.
2415 (strstr): Renamed to ...
2416 (__libc_strstr): This.
2417 (strstr): New strong alias of __libc_strstr.
2418 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2419 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2420 __redirect_time.
2421 Include <time.h>.
2422 (__libc_time): New prototype.
2423 (time_ifunc): Replace time with __libc_time.
2424 (time): New strong alias and hidden definition of __libc_time.
2425 (__GI_time): Remove strong alias.
2426 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2427 Include <stddef.h>.
2428 (memmove): Redefined to __redirect_memmove.
2429 (__memmove_sse2): Use typeof __redirect_memmove.
2430 (__memmove_ssse3): Likewise.
2431 (__memmove_ssse3_back): Likewise.
2432 (__libc_memmove): New prototype.
2433 (memmove): Renamed to ...
2434 (__libc_memmove): This.
2435 (memmove): New strong alias of __libc_memmove.
2436
33b4a91e
MS
24372012-08-08 Mark Salter <msalter@redhat.com>
2438
2439 * elf/elf.h
2440 (R_MN10300_TLS_GD): Define.
2441 (R_MN10300_TLS_LD): Likewise.
2442 (R_MN10300_TLS_LDO): Likewise.
2443 (R_MN10300_TLS_GOTIE): Likewise.
2444 (R_MN10300_TLS_IE): Likewise.
2445 (R_MN10300_TLS_LE): Likewise.
2446 (R_MN10300_TLS_DTPMOD): Likewise.
2447 (R_MN10300_TLS_DTPOFF): Likewise.
2448 (R_MN10300_TLS_TPOFF): Likewise.
2449 (R_MN10300_SYM_DIFF): Likewise.
2450 (R_MN10300_ALIGN): Likewise.
2451 (R_MN10300_NUM): Update.
2452
b36137f1
JM
24532012-08-08 Joseph Myers <joseph@codesourcery.com>
2454
2455 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2456 Remove.
2457
cdd915fd
RM
24582012-08-08 Roland McGrath <roland@hack.frob.com>
2459
a2433aac
RM
2460 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2461
cdd915fd
RM
2462 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2463 sysdeps/unix -> sysdeps/posix move.
2464 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2465
bf9b740a
AM
24662012-08-07 Allan McRae <allan@archlinux.org>
2467
2468 [BZ #14303]
2469 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2470 (SUNOS_CPP): Likewise.
2471 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2472 not found.
2473 (open_input): Call CPP using execvp.
2474
93df14ee
JM
24752012-08-07 Joseph Myers <joseph@codesourcery.com>
2476
2477 * sysdeps/unix/sysv/linux/kernel-features.h
2478 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2479 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2480 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2481 (__ASSUME_WAITID_SYSCALL): Likewise.
2482 * sysdeps/unix/sysv/linux/dl-execstack.c
2483 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2484 code unconditional.
2485 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2486 conditional code.
2487 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2488 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2489 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2490 code.
2491 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2492 unconditional.
2493 [__ASSUME_WAITID_SYSCALL]: Likewise.
2494 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2495
d34689de
RM
24962012-08-07 Roland McGrath <roland@hack.frob.com>
2497
a281decc
RM
2498 * sysdeps/unix/closedir.c: Renamed to ...
2499 * sysdeps/posix/closedir.c: ... here.
2500 * sysdeps/unix/dirfd.c: Renamed to ...
2501 * sysdeps/posix/dirfd.c: ... here.
2502 * sysdeps/unix/dirstream.h: Renamed to ...
2503 * sysdeps/posix/dirstream.h: ... here.
2504 * sysdeps/unix/fdopendir.c: Renamed to ...
2505 * sysdeps/posix/fdopendir.c: ... here.
2506 * sysdeps/unix/opendir.c: Renamed to ...
2507 * sysdeps/posix/opendir.c: ... here.
2508 * sysdeps/unix/readdir.c: Renamed to ...
2509 * sysdeps/posix/readdir.c: ... here.
2510 * sysdeps/unix/readdir_r.c: Renamed to ...
2511 * sysdeps/posix/readdir_r.c: ... here.
2512 * sysdeps/unix/rewinddir.c: Renamed to ...
2513 * sysdeps/posix/rewinddir.c: ... here.
2514 * sysdeps/unix/seekdir.c: Renamed to ...
2515 * sysdeps/posix/seekdir.c: ... here.
2516 * sysdeps/unix/telldir.c: Renamed to ...
2517 * sysdeps/posix/telldir.c: ... here.
2518 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2519 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2520 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2521 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2522
22895b47
RM
2523 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2524 * bits/fcntl.h: ... here.
2525
707a53b6
RM
2526 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2527 not 0.
2528 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2529 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2530 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2531 (struct flock): Move l_start, l_len to the beginning.
2532 Use __pid_t for l_pid.
2533 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2534 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2535 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2536 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2537 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2538 [__USE_LARGEFILE64] (struct flock64): New type.
2539 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2540
f0bd3e25
RM
2541 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2542 * bits/dirent.h: ... here.
2543
d34689de
RM
2544 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2545 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2546
6dad2c06
JM
25472012-08-07 Joseph Myers <joseph@codesourcery.com>
2548
2549 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2550 Change from 2.6.0 to 2.6.16.
2551 * sysdeps/unix/sysv/linux/configure: Regenerated.
2552 * sysdeps/unix/sysv/linux/kernel-features.h
2553 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2554 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2555 version.
2556 (__ASSUME_UTIMES): Likewise.
2557 (__ASSUME_CLONE_STOPPED): Remove.
2558 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2559 architectures, not kernel version.
2560 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2561 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2562 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2563 (__ASSUME_WAITID_SYSCALL): Likewise.
2564 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2565 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2566 * README: State 2.6.16 as minimum Linux kernel version. Do not
2567 refer to older versions.
2568
03af9520
RM
25692012-08-06 Roland McGrath <roland@hack.frob.com>
2570
8e49df1d
RM
2571 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2572 Define alphasort64 as an alias.
2573 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2574 Define versionsort64 as an alias.
2575 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2576 Define scandir64 as an alias.
2577 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2578 Define scandirat64 as an alias.
2579 * dirent/alphasort64.c (alphasort64):
2580 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2581 * dirent/versionsort64.c: Likewise.
2582 * dirent/scandir64.c: Likewise.
2583 * dirent/scandirat64.c: Likewise.
2584 * sysdeps/wordsize-64/alphasort.c: File removed.
2585 * sysdeps/wordsize-64/alphasort64.c: File removed.
2586 * sysdeps/wordsize-64/scandir.c: File removed.
2587 * sysdeps/wordsize-64/scandir64.c: File removed.
2588 * sysdeps/wordsize-64/scandirat.c: File removed.
2589 * sysdeps/wordsize-64/scandirat64.c: File removed.
2590 * sysdeps/wordsize-64/versionsort.c: File removed.
2591 * sysdeps/wordsize-64/versionsort64.c: File removed.
2592 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2593 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2594 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2595 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2596 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2597 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2598 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2599 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2600
2601 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2603 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2604 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2605 [defined __arch64__ || defined __sparcv9]
2606 (__INO_T_MATCHES_INO64_T): New macro.
2607 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2608 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2609 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2610 * sysdeps/unix/sysv/linux/bits/dirent.h
2611 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2612 (_DIRENT_MATCHES_DIRENT64): New macro.
2613
03af9520
RM
2614 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2615 Define lockf64 as an alias.
2616 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2617 Define fseeko64 as an alias.
2618 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2619 Define ftello64 as an alias.
2620 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2621 Define _IO_fgetpos64 and fgetpos64 as aliases.
2622 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2623 Define _IO_fsetpos64 and fsetpos64 as aliases.
2624 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2625 Conditionalize body on this.
2626 * libio/fseeko64.c: Likewise.
2627 * libio/ftello64.c: Likewise.
2628 * libio/iofgetpos64.c: Likewise.
2629 * libio/iofsetpos64.c: Likewise.
2630 * sysdeps/wordsize-64/lockf.c: File removed.
2631 * sysdeps/wordsize-64/lockf64.c: File removed.
2632 * sysdeps/wordsize-64/fseeko.c: File removed.
2633 * sysdeps/wordsize-64/fseeko64.c: File removed.
2634 * sysdeps/wordsize-64/ftello.c: File removed.
2635 * sysdeps/wordsize-64/ftello64.c: File removed.
2636 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2637 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2638 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2639 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2640 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2641 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2642 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2643 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2644 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2645 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2646 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2647 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2648 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2649 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2650
2651 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2653 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2655 [defined __arch64__ || defined __sparcv9]
2656 (__OFF_T_MATCHES_OFF64_T): New macro.
2657 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2658 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2659 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2660 (__OFF_T_MATCHES_OFF64_T): New macro.
2661
c5757acd
L
26622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2663
2664 * stdlib/secure-getenv.c (__secure_getenv): Replace
2665 GLIBC_2_16 with GLIBC_2_17.
2666
3a31811e
L
26672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2668
2669 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2670 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2671
faa2bccb
DM
26722012-08-03 David S. Miller <davem@davemloft.net>
2673
2674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2675
85fe1997
JM
26762012-08-03 Joseph Myers <joseph@codesourcery.com>
2677
2678 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2679 Remove.
2680 (__ASSUME_CORRECT_SI_PID): Likewise.
2681 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2682 (__ASSUME_TMPFS_NAME): Likewise.
2683 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2684 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2685 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2686 (HAVE_AUX_SECURE): Make definition unconditional.
2687 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2688 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2689
4f75b7a0
RM
26902012-08-03 Roland McGrath <roland@hack.frob.com>
2691
2692 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2693 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2694 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2695 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2696 __eloop_threshold instead of SYMLOOP_MAX.
2697
2698 * sysdeps/generic/eloop-threshold.h: New file.
2699 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2700 of MAXSYMLINKS.
2701 * elf/chroot_canon.c (chroot_canon): Likewise.
2702
7aab07e4
JM
27032012-08-03 Joseph Myers <joseph@codesourcery.com>
2704
2705 [BZ #13717]
2706 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2707 Change to 2.6.0 everywhere.
2708 * sysdeps/unix/sysv/linux/configure: Regenerated.
2709 * sysdeps/unix/sysv/linux/kernel-features.h
2710 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2711 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2712 kernel versions.
2713 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2714 (__ASSUME_FUTEX_REQUEUE): Remove.
2715 (__ASSUME_STATFS64): Define unconditionally.
2716 (__ASSUME_AT_SECURE): Likewise.
2717 (__ASSUME_CORRECT_SI_PID): Likewise.
2718 (__ASSUME_TGKILL): Define without depending on kernel version for
2719 i386.
2720 (__ASSUME_UTIMES): Likewise.
2721 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2722 kernel version.
2723 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2724 (__ASSUME_TMPFS_NAME): Likewise.
2725 * README: Update reference to Linux kernel versions.
2726
b67e9372
MP
27272012-08-02 Marek Polacek <polacek@redhat.com>
2728
1f529f7d 2729 [BZ# 14150]
b67e9372
MP
2730 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2731 libc_cv_asm_type_prefix with %.
2732 * configure: Regenerated.
d2441631
RM
2733 * include/libc-symbols.h: Remove comment about
2734 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2735 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2736 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2737 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2738 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2739 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2740 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2741 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2742 * elf/tst-unique2mod1.c: Likewise.
2743 * elf/tst-unique1mod2.c: Likewise.
2744 * elf/tst-unique1mod1.c: Likewise.
2745 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2746 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2747 Replace ASM_TYPE_DIRECTIVE with .type.
2748 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2749 * sysdeps/i386/sysdep.h: Likewise.
2750 * sysdeps/x86_64/sysdep.h: Likewise.
2751 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2753 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2754 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2755 * sysdeps/powerpc/powerpc32/sysdep.h:
2756 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2757 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2758 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2759 * sysdeps/i386/fpu/e_powf.S: Likewise.
2760 * sysdeps/i386/fpu/e_expl.S: Likewise.
2761 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2762 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2763 * sysdeps/i386/fpu/e_pow.S: Likewise.
2764 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2765 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2766 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2767 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2768 * sysdeps/i386/fpu/e_log2.S: Likewise.
2769 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2770 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2771 * sysdeps/i386/fpu/e_powl.S: Likewise.
2772 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2773 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2774 * sysdeps/i386/fpu/e_logl.S: Likewise.
2775 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2776 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2777 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2778 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2779 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2780 * sysdeps/i386/fpu/e_log.S: Likewise.
2781 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2782 * sysdeps/i386/fpu/e_logf.S: Likewise.
2783 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2784 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2785 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2786 * sysdeps/i386/fpu/e_log10.S: Likewise.
2787 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2788 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2789 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2790 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2791 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2792 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2793 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2794 * sysdeps/i386/i686/strtok.S: Likewise.
2795 * sysdeps/i386/i386-mcount.S: Likewise.
2796 * sysdeps/i386/strtok.S: Likewise.
2797 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2798 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2799 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2800 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2801 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2802 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2803 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2804 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2805 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2806 * sysdeps/x86_64/_mcount.S: Likewise.
2807 * sysdeps/x86_64/strtok.S: Likewise.
2808 * sysdeps/sh/_mcount.S: Likewise.
2809
2747bf9a
RM
28102012-08-01 Roland McGrath <roland@hack.frob.com>
2811
2812 * libio/iofopen.c: Include <fcntl.h>.
2813 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2814 (_IO_fopen64, fopen64): Define as aliases.
2815 * libio/iofopen64.c: Include <fcntl.h>.
2816 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2817 Conditionalize body on this.
2818 * sysdeps/wordsize-64/iofopen.c: File removed.
2819 * sysdeps/wordsize-64/iofopen64.c: File removed.
2820
3fb791b8
MP
28212012-08-01 Marek Polacek <polacek@redhat.com>
2822
2823 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2824 Use dlfcn directly instead of a variable.
2825 (binfmt-subdir): Do not define.
2826 (dlfcn): Likewise.
2827
a9f1039f
JM
28282012-08-01 Joseph Myers <joseph@codesourcery.com>
2829
23bddc06
JM
2830 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2831 Remove all definitions.
2832 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2833 <kernel-features.h>.
2834 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2835 (miss_F_GETOWN_EX): Remove all definitions.
2836 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2837 macro definition.
2838 [!__ASSUME_FCNTL64]: Remove conditional code.
2839 [__ASSUME_FCNTL64]: Make code unconditional.
2840 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2841 <kernel-features.h>.
2842 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2843 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2844 (lockf64) [__NR_fcntl64]: Make code unconditional.
2845 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2846
a9f1039f
JM
2847 * sysdeps/unix/sysv/linux/kernel-features.h
2848 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2849 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2850 Make code unconditional.
2851 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2852 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2854 [__NR_vfork]: Make code unconditional.
2855 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2856 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2858 [__NR_vfork]: Make code unconditional.
2859 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2860 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2861
09c0ee5f
RM
28622012-08-01 Roland McGrath <roland@hack.frob.com>
2863
48aec5b9
RM
2864 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2865 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2866
cd97c966
RM
2867 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2868 Define mkstemp64 as an alias.
3f55550c
RM
2869 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2870 Define mkstemps64 as an alias.
cd97c966
RM
2871 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2872 Define mkostemp64 as an alias.
b8625cfc
RM
2873 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2874 Define mkostemps64 as an alias.
cd97c966
RM
2875 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2876 Conditionalize body on this.
2877 * misc/mkostemp64.c: Likewise.
b8625cfc 2878 * misc/mkostemps64.c: Likewise.
3f55550c 2879 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2880 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2881 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2882 * sysdeps/wordsize-64/mkostemp.c: File removed.
2883 * sysdeps/wordsize-64/mkstemp.c: File removed.
2884 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2885 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2886 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2887 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2888
09c0ee5f
RM
2889 [BZ #14138]
2890 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2891 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2892 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2893 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2894
2895 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2896 compat_symbol macros from <shlib-compat.h> rather than the underlying
2897 default_symbol_version and symbol_version macros, so that DEFAULT
2898 lines in shlib-versions are respected.
2899 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2900
7e66ee51
FW
29012012-08-01 Florian Weimer <fweimer@redhat.com>
2902
2903 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2904 Declare with warn_unused_result.
2905 (setgid, setregid, setegid, setresgid): Likewise.
2906 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2907 Likewise.
2908 * WUR-REPORT: Remove set*id functions.
2909
d2a54255
PT
29102012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2911
2912 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2913
7ecdb005
RM
29142012-07-31 Roland McGrath <roland@hack.frob.com>
2915
789bd351
RM
2916 * include/sys/socket.h (__libc_accept, __libc_accept4):
2917 Add attribute_hidden.
2918 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2919
40ce302d
RM
2920 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2921 use of PTR_MANGLE.
2922 * inet/getnetgrent_r.c (setup): Likewise.
2923
7ecdb005
RM
2924 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2925
e2eabb2c
DM
29262012-07-31 David S. Miller <davem@davemloft.net>
2927
2928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2929
d0419dbf
JM
29302012-07-31 Joseph Myers <joseph@codesourcery.com>
2931
2932 [BZ #13629]
2933 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2934 value between 1.0 and 2.0 and smaller part has absolute value less
2935 than 1.0.
2936 * math/s_clog10.c (__clog10): Likewise.
2937 * math/s_clog10f.c (__clog10f): Likewise.
2938 * math/s_clog10l.c (__clog10l): Likewise.
2939 * math/s_clogf.c (__clogf): Likewise.
2940 * math/s_clogl.c (__clogl): Likewise.
2941 * math/libm-test.inc (clog_test): Add more tests.
2942 (clog10_test): Likewise.
2943 * sysdeps/i386/fpu/libm-test-ulps: Update.
2944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2945
2bc13872
FW
29462012-07-31 Florian Weimer <fweimer@redhat.com>
2947
2948 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2949 Exit with zero in case no suitable GID is found, and write a
2950 message to standard error.
2951
bea9b193
RM
29522012-07-30 Roland McGrath <roland@hack.frob.com>
2953
2954 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2955 rather than to 1.
2956 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2957 (MAXPATHLEN): Removed.
2958 (NOGROUP, NODEV): New macros.
2959 (setbit, clrbit, isset, isclr): New macros.
2960 (howmany, roundup, powerof2): New macros.
2961 (DEV_BSIZE): New macro.
2962
2963 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2964 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2965
2966 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2967 definition on [!__NO_LONG_DOUBLE_MATH].
2968
2969 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2970 PTR_MANGLE and PTR_DEMANGLE.
2971
2972 * socket/accept4.c (accept4): Rename to __libc_accept4.
2973 Define accept4 as a weak alias.
2974
2975 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2976 on [_DIRENT_HAVE_D_TYPE].
2977 * io/ftw.c (ftw_dir): Likewise.
2978
2979 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2980
2981 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2982
2983 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2984 Use the BSD numbers rather than the arbitrary ones we had.
2985 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2986 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2987 (SIGXCPU, SIGXFSZ): New macros.
2988 (_NSIG): Now 32.
2989
2990 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2991 initializer on [_LIBC_REENTRANT].
2992
2993 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2994 definitions inside [_POSIX_MAPPED_FILES].
2995
2996 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2997
2998 * dirent/opendir.c: Include <fcntl.h>.
2999
3000 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3001 (__libc_getspecific): Likewise.
3002 (__libc_key_create): Likewise.
3003
3004 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3005 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3006 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3007 (tmpfile64): Define as alias.
3008 * sysdeps/wordsize-64/tmpfile.c: File removed.
3009 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3010 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3011 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3012
3013 * stdio-common/vfscanf.c: Include <stdbool.h>.
3014 * nss/makedb.c: Likewise.
3015 * stdio-common/_i18n_number.h: Likewise.
3016 * argp/argp-help.c: Likewise.
3017 * posix/wordexp.c: Likewise.
3018 * sysdeps/posix/spawni.c: Likewise.
3019 * nss/nss_files/files-initgroups.c: Likewise.
3020 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3021 * nss/nss_files/files-initgroups.c: Likewise.
3022 * nss/nss_db/db-netgrp.c: Likewise.
3023 * nss/nss_db/db-initgroups.c: Likewise.
3024 * io/fchmodat.c: Include <sys/stat.h>.
3025
3026 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3027 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3028
3029 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3030 [HAVE_MMAP].
3031
3032 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3033 Add multiple inclusion protection.
3034
e5abc686
DM
30352012-07-27 David S. Miller <davem@davemloft.net>
3036
3037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3038
815e6fa3
GB
30392012-07-27 Gary Benson <gbenson@redhat.com>
3040
3041 [BZ #14298]
3042 * elf/rtld.c: Include <stap-probe.h>.
3043 (dl_main): Added static probes "init_start" and "init_complete".
3044 * elf/dl-load.c: Include <stap-probe.h>.
3045 (lose): Take new parameter "nsid".
3046 Added static probe "map_failed".
3047 (_dl_map_object_from_fd): Pass namespace id to lose.
3048 Added static probe "map_start".
3049 (open_verify): Pass namespace id to lose.
3050 * elf/dl-open.c: Include <stap-probe.h>.
3051 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3052 and "reloc_complete".
3053 * elf/dl-close.c: Include <stap-probe.h>.
3054 (_dl_close_worker): Added static probes "unmap_start" and
3055 "unmap_complete".
3056 * elf/rtld-debugger-interface.txt: New file documenting the above.
3057
9f98c16c
RM
30582012-07-26 Roland McGrath <roland@hack.frob.com>
3059
3060 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3061 rather than a string variable.
3062 * sunrpc/rpc_main.c (h_output): Likewise.
3063 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3064
f3c22df3
PT
30652012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3066
3067 * inet/check_native.c: New file.
3068
3129cfc6
JM
30692012-07-26 Joseph Myers <joseph@codesourcery.com>
3070
da865e95
JM
3071 [BZ #13629]
3072 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3073 if larger part has absolute value 1.0.
3074 * math/s_clog10.c (__clog10): Likewise.
3075 * math/s_clog10f.c (__clog10f): Likewise.
3076 * math/s_clog10l.c (__clog10l): Likewise.
3077 * math/s_clogf.c (__clogf): Likewise.
3078 * math/s_clogl.c (__clogl): Likewise.
3079 * math/libm-test.inc (clog_test): Add more tests.
3080 (clog10_test): Likewise.
3081 * sysdeps/i386/fpu/libm-test-ulps: Update.
3082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3083
3129cfc6
JM
3084 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3085 (pltexit): Likewise.
3086 (La_regs): Likewise.
3087 (La_retval): Likewise.
3088 (int_retval): Likewise.
3089 Update #error for removed macros to refer only to definitions in
3090 tst-audit.h.
3091 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3092 macro.
3093 (pltexit): Likewise.
3094 (La_regs): Likewise.
3095 (La_retval): Likewise.
3096 (int_retval): Likewise.
3097 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3098 macro.
3099 (pltexit): Likewise.
3100 (La_regs): Likewise.
3101 (La_retval): Likewise.
3102 (int_retval): Likewise.
3103 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3104 macro.
3105 (pltexit): Likewise.
3106 (La_regs): Likewise.
3107 (La_retval): Likewise.
3108 (int_retval): Likewise.
3109 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3110 macro.
3111 (pltexit): Likewise.
3112 (La_regs): Likewise.
3113 (La_retval): Likewise.
3114 (int_retval): Likewise.
3115 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3116 macro.
3117 (pltexit): Likewise.
3118 (La_regs): Likewise.
3119 (La_retval): Likewise.
3120 (int_retval): Likewise.
3121 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3122 macro.
3123 (pltexit): Likewise.
3124 (La_regs): Likewise.
3125 (La_retval): Likewise.
3126 (int_retval): Likewise.
3127 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3128 macro definitions in tst-audit.h.
3129 * sysdeps/i386/tst-audit.h: New file.
3130 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3131 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3132 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3133 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3134 * sysdeps/sh/tst-audit.h: Likewise.
3135 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3136 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3137 * sysdeps/x86_64/tst-audit.h: Likewise.
3138
bfc07087
AJ
31392012-07-26 Andreas Jaeger <aj@suse.de>
3140
b1b2aaf8
AJ
3141 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3142 ptrace.
3143
3144 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3145 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3146 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3147 PTRACE_O_MASK.
3148 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3149 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3150 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3151
bfc07087
AJ
3152 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3153 value.
3154
3155 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3156 _sigsys.
3157 (si_call_addr, si_syscall, si_arch): Define new macro.
3158 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3159 _sigsys.
3160 (si_call_addr, si_syscall, si_arch): Define new marcro.
3161 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3162 _sigsys.
3163 (si_call_addr, si_syscall, si_arch): Define new macro.
3164 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3165 _sigsys.
3166 (si_call_addr, si_syscall, si_arch): Define new macro.
3167
89b4b02f
JM
31682012-07-25 Joseph Myers <joseph@codesourcery.com>
3169
3170 [BZ #13717]
3171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3172 Change to 2.4.21 where previously 2.4.1.
3173 * sysdeps/unix/sysv/linux/configure: Regenerated.
3174 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3175 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3176 Linux kernel version.
3177 (__ASSUME_STD_AUXV): Remove.
3178 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3179 kernel version.
3180 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3181 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3182 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3183 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3184 (__ASSUME_NETLINK_SUPPORT): Likewise.
3185 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3186 (__no_netlink_support): Remove conditional definition.
3187 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3188 Remove.
3189 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3190 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3191 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3192 (if_nameindex_ioctl): Remove.
3193 (if_nameindex_netlink): Do not handle __no_netlink_support.
3194 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3195 code.
3196 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3197 Remove conditional code.
3198 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3199 code.
3200 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3201 unconditional.
3202 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3203 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3204 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3205 Remove.
3206 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3207 [!__ASSUME_STD_AUXV]: Remove conditional code.
3208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3209 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3210 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3212 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3213 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3214 code.
3215 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3217 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3218 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3219 conditional code.
3220 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3222 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3223 code.
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3225 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3226 conditional code.
3227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3228 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3229 code unconditional.
3230 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3231 conditional code.
3232 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3233 unconditional.
3234 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3235 conditional code.
3236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3237 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3238 unconditional.
3239 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3240 conditional code.
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3242 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3243 code unconditional.
3244 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3245 conditional code.
3246 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3247 unconditional.
3248 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3249 conditional code.
3250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3251 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3252 code unconditional.
3253 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3254 conditional code.
3255 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3256 unconditional.
3257 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3258 conditional code.
3259
842a39cd
AS
32602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3261
3262 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3263 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3264 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3265 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3266 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3267 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3268 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3269 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3270 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3271 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3272 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3273 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3274 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3275 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3276 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3277 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3278 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3279 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3280 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3282 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3283 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3284 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3285
84b3fd84
FW
32862012-07-25 Florian Weimer <fweimer@redhat.com>
3287
3288 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3289 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3290 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3291 Introduce __libc_secure_getenv.
0c7936d5
FW
3292 * stdlib/Versions (2.17): Add secure_getenv
3293 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3294 * stdlib/secure-getenv.c: Rename __secure_getenv to
3295 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3296 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3297 * stdlib/tst-secure-getenv.c: New.
3298 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3299 * manual/startup.texi (Environment Access): Document
3300 secure_getenv.
84b3fd84
FW
3301 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3302 __libc_secure_getenv.
3303 * inet/ruserpass.c (ruserpass): Likewise.
3304 * malloc/mtrace.c (mtrace): Likewise.
3305 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3306 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3307 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3308 * sysdeps/posix/tempname.c: Likewise. Evaluate
3309 HAVE_SECURE_GETENV.
3310 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3311 __secure_getenv to __libc_secure_getenv.
84b3fd84 3312 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3314 Likewise.
3315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3316 Likewise.
3317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3319 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3324
56e49b71
JM
33252012-07-25 Joseph Myers <joseph@codesourcery.com>
3326
3327 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3328 (struct La_i86_retval): Likewise.
3329 (struct La_x86_64_regs): Likewise.
3330 (struct La_x86_64_retval): Likewise.
3331 (struct La_x32_regs): Likewise.
3332 (struct La_x32_retval): Likewise.
3333 (struct La_ppc32_regs): Likewise.
3334 (struct La_ppc32_retval): Likewise.
3335 (struct La_ppc64_regs): Likewise.
3336 (struct La_ppc64_retval): Likewise.
3337 (struct La_sh_regs): Likewise.
3338 (struct La_sh_retval): Likewise.
3339 (struct La_s390_32_regs): Likewise.
3340 (struct La_s390_32_retval): Likewise.
3341 (struct La_s390_64_regs): Likewise.
3342 (struct La_s390_64_retval): Likewise.
3343 (struct La_sparc32_regs): Likewise.
3344 (struct La_sparc32_retval): Likewise.
3345 (struct La_sparc64_regs): Likewise.
3346 (struct La_sparc64_retval): Likewise.
3347 (struct audit_ifaces): Remove architecture-specific pltenter and
3348 pltexit members.
3349 * sysdeps/i386/ldsodefs.h: New file.
3350 * sysdeps/powerpc/ldsodefs.h: Likewise.
3351 * sysdeps/s390/ldsodefs.h: Likewise.
3352 * sysdeps/sh/ldsodefs.h: Likewise.
3353 * sysdeps/sparc/ldsodefs.h: Likewise.
3354 * sysdeps/x86_64/ldsodefs.h: Likewise.
3355
354691b7
MP
33562012-07-25 Marek Polacek <polacek@redhat.com>
3357
3358 [BZ #6808]
3359 * math/libm-test.inc (yn_test): Add another test.
3360 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3361 to ERANGE when the result is +-Inf.
3362 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3363 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3364 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3365 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3366
bf9e2071
JM
33672012-07-24 Joseph Myers <joseph@codesourcery.com>
3368
3369 * conform/data/time.h-data (NULL): Use macro-constant. Require
3370 equal to 0.
3371 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3372 clock_t.
3373 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3374
57633811
TS
33752012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3376
3377 * configure.in <sysdeps resolving>: Correct printing
3378 Implies_before.
3379 * configure: Regenerate.
3380
c23c33b0
TS
33812012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3382
3383 * math/w_ilogb.c: Include <limits.h>.
3384 * math/w_ilogbl.c: Likewise.
3385
b5982523
JM
33862012-07-20 Joseph Myers <joseph@codesourcery.com>
3387
3388 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3389 va_copy. Document allowing for unavailable va_copy only as
3390 pre-C99 compatibility.
3391 * manual/string.texi (Copying and Concatenation): Use va_copy
3392 instead of __va_copy in concat example.
3393
ac4ea442
PT
33942012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3395
3396 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3397 (__sendto): Use create_address_port. Initialize APORT and deallocate
3398 it if not null.
3399
f98eafbd
PT
3400 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3401 with O_NOLINK passed to __file_name_lookup.
3402
898c7aab
PT
3403 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3404 with O_NOLINK passed to __file_name_lookup.
3405
0ced335a
PT
3406 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3407 negative N or less than NGIDS.
3408
b3404dbd
PT
3409 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3410 type to string_t. Set ERANGE as errno and return it if NAME is not big
3411 enough. Use memcpy instead of strncpy.
3412
0f48659e
JM
34132012-07-20 Joseph Myers <joseph@codesourcery.com>
3414
3415 * elf/Makefile (check-data): Remove.
3416 (localplt.data): New vpath directive.
3417 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3418 instead of $(check-data).
3419 * scripts/data/localplt-generic.data: Move to ...
3420 * sysdeps/generic/localplt.data: ... here.
3421 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3422 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3423 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3425 ... here.
3426 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3428 ... here.
3429 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3431 ... here.
3432 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3434 ... here.
3435 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3437 ... here.
3438 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3440 ... here.
3441
d37cbdaa
AZ
34422012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3443
3444 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3445 PPC32 and PPC64 files.
3446 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3447 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3448
46f85fc2
AK
34492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3450
3451 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3452 __makecontext_ret to ...
3453 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3454 ... here and call exit if uc_link is NULL. New file.
3455 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3456 __makecontext_ret.S.
3457 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3458 __makecontext_ret to ...
3459 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3460 ... here and call exit if uc_link is NULL. New file.
3461 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3462 __makecontext_ret.S.
3463
08f43f9b
AK
34642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3465
3466 * elf/elf.h (R_390_IRELATIVE): New definition.
3467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3468 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3469 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3470 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3471 (elf_machine_lazy_rel): Likewise.
3472 * sysdeps/s390/dl-irel.h: New file.
3473 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3474 * sysdeps/s390/s390-64/memset.S: New asm code.
3475 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3476 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3477 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3478 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3479 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3480 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3481 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3482 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3483 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3484 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3485 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3486 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3487 * sysdeps/s390/s390-32/memset.S: New asm code.
3488 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3489
3b05db33
MP
34902012-07-17 Marek Polacek <polacek@redhat.com>
3491
3492 [BZ #14349]
3493 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3494 * sysdeps/s390/s390-64/configure.in: Likewise.
3495 * sysdeps/sparc/configure.in: Likewise.
3496 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3497 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3498 * sysdeps/i386/configure.in: Likewise.
3499 * sysdeps/x86_64/configure.in: Likewise.
3500 * sysdeps/sh/configure.in: Likewise.
3501 * sysdeps/s390/s390-32/configure: Regenerated.
3502 * sysdeps/s390/s390-64/configure: Likewise.
3503 * sysdeps/x86_64/configure: Likewise.
3504 * sysdeps/sh/configure: Likewise.
3505 * sysdeps/powerpc/powerpc64/configure: Likewise.
3506 * sysdeps/powerpc/powerpc32/configure: Likewise.
3507 * sysdeps/sparc/configure: Likwise.
3508 * sysdeps/i386/configure: Likewise.
3509
a66877c6
MP
3510 * elf/dl-open.c: Comment fixes.
3511
cfc82fd8
JM
35122012-07-17 Joseph Myers <joseph@codesourcery.com>
3513
bd29910a
JM
3514 * Makefile [CXX] (check-data): Remove.
3515 [CXX] (c++-types.data): New vpath directive.
3516 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3517 vpath. Do not allow for C++ type data being missing.
3518 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3519 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3520 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3521 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3522 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3523 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3524 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3526 ... here.
3527 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3529 ... here.
3530 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3532 ... here.
3533 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3535 ... here.
3536 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3538 ... here.
3539 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3541 ... here.
3542 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3544 ... here.
3545 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3547
cfc82fd8
JM
3548 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3549 definitions to architecture-specific files.
3550 (TLS_IE): Likewise.
3551 (TLS_LD): Likewise.
3552 (TLS_GD): Likewise.
3553 * sysdeps/i386/tls-macros.h: New file.
3554 * sysdeps/powerpc/tls-macros.h: Likewise.
3555 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3556 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3557 * sysdeps/sh/tls-macros.h: Likewise.
3558 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3559 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3560 * sysdeps/x86_64/tls-macros.h: Likewise.
3561
f7db3170
TS
35622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3563
07cbfc23
TS
3564 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3565 zero value for regular exit case.
3566
f7db3170
TS
3567 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3568 (__start_context): Preserve zero value for regular exit case.
3569
dc97c227
TS
35702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3571 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3572
3573 * manual/setjmp.texi (setcontext): Clarify normal process
3574 termination when uc_link is the null pointer.
3575 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3576 exit call.
3577
d0cd7d02
AS
35782012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3579
3580 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3581 preprocessor. Test for each exception mask separately.
3582
dd318934
AJ
35832012-07-16 Andreas Jaeger <aj@suse.de>
3584
3585 * po/ru.po: Update from translation team.
3586
8048311a
JM
35872012-07-15 Joseph Myers <joseph@codesourcery.com>
3588
3589 * conform/data/string.h-data (NULL): Use macro-constant. Require
3590 equal to 0.
3591 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3592 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3593 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3594 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3595 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3596
b637d46e
AJ
35972012-07-13 Andreas Jaeger <aj@suse.de>
3598
3599 * po/fr.po: Update from translation team.
3600
541428fe
MP
36012012-07-12 Marek Polacek <polacek@redhat.com>
3602
3603 [BZ #14173]
3604 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3605 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3606 loop condition.
3607
ec332e94
JM
36082012-07-12 Joseph Myers <joseph@codesourcery.com>
3609
3610 [BZ #13717]
3611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3612 Change to 2.4.1 where previously 2.4.0.
3613 * sysdeps/unix/sysv/linux/configure: Regenerated.
3614 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3615 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3616 version.
3617 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3618 (__ASSUME_AT_CLKTCK): Remove.
3619 (__ASSUME_AT_PAGESIZE): Likewise.
3620 (__ASSUME_AT_XID): Likewise.
3621 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3622 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3623 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3624 unconditionally.
3625 (HAVE_AUX_PAGESIZE): Likewise.
3626 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3627 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3628 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3629
7b6e99be
JB
36302012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3631
3632 [BZ #14307]
3633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3634 the temporary buffer used to invoke __gethostbyname2_r,
3635 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3636 host_data / struct gaih_addrtuple.
3637 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3638 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3639 header file nss/nsswitch.h.
3640 * nss/nsswitch.h (global scope): Add definition of implementation
3641 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3642 resolv/nss_dns/dns-host.c).
3643
608404eb
AJ
36442012-07-11 Andreas Jaeger <aj@suse.de>
3645
3646 * po/fr.po: Update from translation team.
3647
71220aca
AJ
3648 * po/sv.po: Update from translation team
3649 * po/fr.po: Another update from translation team.
3650
28cfe843
AZ
36512012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3652
3653 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3654 for subnormals or multiply small sinh result by itself.
3655 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3657
6b90f981
DM
36582012-07-11 David S. Miller <davem@davemloft.net>
3659
3660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3661
c6825772
AS
36622012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3663
3664 [BZ #14347]
3665 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3666 (INTERNAL_MARK): Shift it here.
3667
7b8e0d49
MP
36682012-07-10 Marek Polacek <polacek@redhat.com>
3669
3670 [BZ #14151]
3671 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3672 libc_cv_asm_global_directive with .globl.
3673 * configure: Regenerated.
3674 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3675 with .globl.
3676 * sysdeps/i386/configure: Regenerated.
3677 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3678 with .globl.
3679 * sysdeps/x86_64/configure: Regenerated.
3680 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3681 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3682 * elf/tst-unique2mod2.c: Likewise.
3683 * elf/tst-unique2mod1.c: Likewise.
3684 * elf/tst-unique1mod2.c: Likewise.
3685 * elf/tst-unique1mod1.c: Likewise.
3686 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3687 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3688 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3689 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3690 * sysdeps/mach/sysdep.h: Likewise.
3691 * sysdeps/i386/sysdep.h: Likewise.
3692 * sysdeps/i386/i386-mcount.S: Likewise.
3693 * sysdeps/x86_64/_mcount.S: Likewise.
3694 * sysdeps/x86_64/sysdep.h: Likewise.
3695 * sysdeps/sh/_mcount.S: Likewise.
3696 * sysdeps/sh/sysdep.h: Likewise.
3697 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3698 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3699 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3700 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3701 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3702 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3703 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3704 * locale/localeinfo.h: Likewise.
3705 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3706 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3707
6c55cda3
RM
37082012-07-09 Roland McGrath <roland@hack.frob.com>
3709
3710 [BZ #14336]
3711 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3712 system".
3713 * manual/message.texi (The Uniforum approach): Likewise.
3714 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3715 (glibc iconv Implementation): Likewise.
3716
638a572e
JM
37172012-07-09 Joseph Myers <joseph@codesourcery.com>
3718
3719 [BZ #14337]
3720 * math/s_clog.c (__clog): Avoid scaling a value down where that
3721 could result in underflow.
3722 * math/s_clog10.c (__clog10): Likewise.
3723 * math/s_clog10f.c (__clog10f): Likewise.
3724 * math/s_clog10l.c (__clog10l): Likewise.
3725 * math/s_clogf.c (__clogf): Likewise.
3726 * math/s_clogl.c (__clogl): Likewise.
3727 * math/libm-test.inc (clog_test): Add more tests.
3728 (clog10_test): Likewise.
3729 * sysdeps/i386/fpu/libm-test-ulps: Update.
3730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3731
261f4859
AS
37322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3733
0abaf3e4
AS
3734 [BZ #14283]
3735 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3736 by 7 not 8 to examine high bit of fractional part.
3737
261f4859
AS
3738 [BZ #14042]
3739 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3740 for call to __mcount_internal.
3741 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3742 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3743 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3744
f17ac40d
JM
37452012-07-06 Joseph Myers <joseph@codesourcery.com>
3746
9ad63c23
JM
3747 [BZ #14154]
3748 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3749 approximation for values within 0x1p-13f of an odd multiple of
3750 pi/4.
3751 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3752 exception. Add more tests.
3753 * sysdeps/i386/fpu/libm-test-ulps: Update.
3754
f17ac40d
JM
3755 [BZ #6778]
3756 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3757 inputs and return -1 for them. Do not check for +Inf in case not
3758 reachable for +Inf.
3759 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3760 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3761 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3762 and return -1 for them. Do not check for +Inf in case not
3763 reachable for +Inf.
3764 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3765 define.
3766 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3767 and return -1 for them. Do not check for +Inf in case not
3768 reachable for +Inf.
3769 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3770 spurious underflow.
3771 * sysdeps/i386/fpu/libm-test-ulps: Update.
3772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3773
fb21f89b
MF
37742012-07-06 Mike Frysinger <vapier@gentoo.org>
3775
3776 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3777
cdfe2c5e
JM
37782012-07-05 Joseph Myers <joseph@codesourcery.com>
3779
3780 [BZ #14157]
3781 [BZ #14331]
3782 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3783 could result in spurious underflow. Scale down values above
3784 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3785 * math/s_csqrtf.c (__csqrtf): Likewise.
3786 * math/s_csqrtl.c (__csqrtl): Likewise.
3787 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3788 spurious underflow.
3789 * sysdeps/i386/fpu/libm-test-ulps: Update.
3790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3791
70d35b67
AS
37922012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3793
704bc459
AS
3794 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3795 xopen-msg.sed.
3796 * catgets/xopen-msg.awk: New file.
3797 * catgets/xopen-msg.sed: Removed.
3798
70d35b67
AS
3799 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3800 po2text.sed.
3801 * intl/po2test.awk: New file.
3802 * intl/po2test.sed: Removed.
3803
ca61cf32
JM
38042012-07-04 Joseph Myers <joseph@codesourcery.com>
3805
3806 [BZ #14328]
3807 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3808 or multiply small sinh result by itself.
3809 * math/s_ctanf.c (__ctanf): Likewise.
3810 * math/s_ctanh.c (__ctanh): Likewise.
3811 * math/s_ctanhf.c (__ctanhf): Likewise.
3812 * math/s_ctanhl.c (__ctanhl): Likewise.
3813 * math/s_ctanl.c (__ctanl): Likewise.
3814 * math/libm-test.inc (ctan_test_tonearest): New function.
3815 (ctan_test_towardzero): Likewise.
3816 (ctan_test_downward): Likewise.
3817 (ctan_test_upward): Likewise.
3818 (ctanh_test_tonearest): Likewise.
3819 (ctanh_test_towardzero): Likewise.
3820 (ctanh_test_downward): Likewise.
3821 (ctanh_test_upward): Likewise.
3822 (main): Call these new functions.
3823 * sysdeps/i386/fpu/libm-test-ulps: Update.
3824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3825
ca48a46a
MF
38262012-07-03 Mike Frysinger <vapier@gentoo.org>
3827
3828 * .gitignore: Delete /ports entry.
3829
9d63d37d
AJ
38302012-07-03 Andreas Jaeger <aj@suse.de>
3831
3832 * po/bg.po: Update from translation team.
3833 * po/cs.po: Likewise.
3834 * po/de.po: Likewise.
3835 * po/hr.po: Likewise.
3836 * po/nl.pl: Likewise.
3837 * po/pl.po: Likewise.
3838 * po/vi.po: Likewise.
3839
370ca3d2
JM
38402012-07-03 Joseph Myers <joseph@codesourcery.com>
3841
95f5a9a8
JM
3842 * Makeconfig [!+link] (+link-before-libc): New variable.
3843 [!+link] (+link-after-libc): Likewise.
3844 [!+link] (+link-tests): Likewise.
3845 [!+link] (+link): Define in terms of $(+link-before-libc) and
3846 $(+link-after-libc).
3847 [!+link-static] (+link-static-before-libc): New variable.
3848 [!+link-static] (+link-static-after-libc): Likewise.
3849 [!+link-static] (+link-static-tests): Likewise.
3850 [!+link-static] (+link-static): Define in terms of
3851 $(+link-static-before-libc) and $(+link-static-after-libc).
3852 [build-shared] (link-libc-before-gnulib): New variable.
3853 [build-shared] (link-libc-tests): Likewise.
3854 [build-shared] (link-libc): Define in terms of
3855 $(link-libc-before-gnulib).
3856 [!build-shared] (link-libc-tests): New variable.
3857 (link-libc-static-tests): New variable.
3858 [!gnulib] (gnulib-arch): New variable.
3859 [!gnulib] (gnulib-tests): Likewise.
3860 [!gnulib] (static-gnulib-arch): Likewise.
3861 [!gnulib] (static-gnulib-tests): Likewise.
3862 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3863 Define with "=" instead of ":=".
3864 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3865 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3866 * Rules (binaries-all-notests): New variable.
3867 (binaries-all-tests): Likewise.
3868 (binaries-static-notests): Likewise.
3869 (binaries-static-tests): Likewise.
3870 (binaries-all): Define using $(binaries-all-notests) and
3871 $(binaries-all-tests).
3872 (binaries-static): Define using $(binaries-static-notests) and
3873 $(binaries-static-tests).
3874 (binaries-shared-tests): New variable.
3875 (binaries-shared-notests): Likewise.
3876 (binaries-shared): Remove variable.
3877 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3878 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3879 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3880 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3881 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3882 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3883 * elf/Makefile (sln-modules): New variable.
3884 (extra-objs): Add $(sln-modules:=.o).
3885 (ldconfig-modules): Add static-stubs.
3886 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3887 * elf/static-stubs.c: New file.
3888
7a845b2c
JM
3889 [BZ #14283]
3890 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3891 by 7 not 8 to examine high bit of fractional part. Use volatile
3892 variables when splitting into final array of floats if
3893 __FLT_EVAL_METHOD__ != 0.
3894 * math/libm-test.inc (cos_test): Add another test.
3895 (sin_test): Likewise.
3896 * sysdeps/i386/fpu/libm-test-ulps: Update.
3897
e2283f38
JM
3898 [BZ #14273]
3899 * math/libm-test.inc (cosh_test): Add more tests.
3900
370ca3d2
JM
3901 * version.h (RELEASE): Set to "development".
3902 (VERSION): Set to "2.16.90".
3903
ee9247c3
CD
39042012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3905
3906 * NEWS: Update copyright. Remove last-updated date.
3907 Mention math library bug fixes and timezone data changes.
3908 * README: Mention GNU/Hurd, x32, and HPPA support status.
3909
4648c381
TS
39102012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3911
3912 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3913
aac78a43
AJ
39142012-06-27 Andreas Jaeger <aj@suse.de>
3915
3916 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3917
ed3dbfad
AJ
39182012-06-25 Andreas Jaeger <aj@suse.de>
3919
3920 * sysdeps/s390/fpu/libm-test-ulps: Update.
3921
4d0ee855
AS
39222012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3923 Thomas Schwinge <thomas@codesourcery.com>
3924
3925 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3926 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3928 fanotify_mark.
3929
af1bce34
TS
39302012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3931
a9fa33ba
TS
3932 * sysdeps/mach/start.c: Remove file.
3933 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3934 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3935 * sysdeps/sh/init-first.c: Likewise.
3936
58f902b8
TS
3937 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3938 registers for frame unwinding purposes, add CFI directives.
3939 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3940 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3941 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3942 Likewise.
3943
1518f58b
TS
3944 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3945 __fortify_fail returning.
3946 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3947
db9b5059
TS
3948 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3949 sysdeps/sh/____longjmp_chk.S.
3950 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3951 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3952 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3953 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3954
967705fe
TS
3955 * sysdeps/sh/abort-instr.h: New file.
3956 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3957 process in case exit returns.
3958
a9def8c4
TS
3959 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3960 initialize the GOT register before use.
3961
2a649725
TS
3962 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3963 calculation of ARGC > 4.
3964
af1bce34
TS
3965 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3966 meaningful names to some local labels.
3967
d230f50a
KK
39682012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3969 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3970
3971 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3972 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3973 (__arch_compare_and_exchange_val_16_acq): Likewise.
3974 (__arch_compare_and_exchange_val_32_acq): Likewise.
3975 (atomic_exchange_and_add): Fix gUSA sequence.
3976 (atomic_add): Likewise.
3977 (atomic_add_negative): Likewise.
3978 (atomic_add_zero): Likewise.
3979 (atomic_bit_test_set): Likewise.
3980
0479b305
AS
39812012-06-22 Andreas Schwab <schwab@redhat.com>
3982
3983 [BZ #13579]
3984 * include/link.h (struct link_map): Add l_free_initfini.
3985 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3986 l_initfini.
3987 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3988 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3989 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3990 set.
3991
0e3933b9
CD
39922012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3993
3994 * configure.in: Use AC_LANG_SOURCE.
3995 * configure: Regenerate.
3996
4248b1b1
RM
39972012-06-22 Roland McGrath <roland@hack.frob.com>
3998
3999 * configure.in (libc_cv_localstatedir): New substituted variable.
4000 * configure: Regenerated.
4001 * config.make.in (localstatedir): New variable, substituted from
4002 libc_cv_localstatedir.
4003 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4004 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4005 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4006 * sysdeps/gnu/configure: Regenerated.
4007
006dd861
JL
40082012-06-21 Jeff Law <law@redhat.com>
4009
4010 [BZ #14277]
4011 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4012 free. Simplify list management for _LIBC case.
4013
79662d42
JM
40142012-06-21 Joseph Myers <joseph@codesourcery.com>
4015
b7abb4bf
JM
4016 [BZ #14273]
4017 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4018 Clear sign bit of 64-bit integer value before comparing against
4019 overflow value.
4020
79662d42
JM
4021 * sysdeps/mach/configure: Regenerated.
4022
1f150908
L
40232012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4024
4025 [BZ #14278]
4026 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4027
28363bbf
JL
40282012-06-21 Jeff Law <law@redhat.com>
4029
4030 [BZ #13882]
4031 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4032 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4033 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4034 * elf/dl-open.c (dl_open_worker): Likewise.
4035
09615db4
CD
40362012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4037
4038 * scripts/list-sources.sh: Scan PORTS for translations.
4039 * po/libc.pot: Regenerated.
4040
2174c6dd
AJ
40412012-06-21 Andreas Jaeger <aj@suse.de>
4042
4043 [BZ #12194]
4044 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4045 warning.
4046 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4047 * bits/byteswap-16.h (__bswap_16): Likewise.
4048 * bits/byteswap.h (__bswap_constant_16): Likewise.
4049
3ee947b1
L
40502012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4051
4052 [BZ #14117]
a2f34833
L
4053 * sysdeps/i386/fpu_control.h: Removed.
4054 * sysdeps/x86_64/fpu_control.h: Moved to ...
4055 * sysdeps/x86/fpu_control.h: Here.
4056
3ee947b1
L
4057 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4058 (_FPU_SETCW): Likewise.
4059
ed1825f8
L
40602012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4061
25f1282a
L
4062 [BZ #14117]
4063 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4064 * sysdeps/x86/fpu/bits/mathinline.h: This.
4065 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4066
ed1825f8
L
4067 [BZ #14050]
4068 [BZ #14117]
4069 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4070 functions if __x86_64__ is defined.
4071
36d54b74
CLT
40722012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4073
4074 * string/endian.h: Add !__ASSEMBLER__ condition for including
4075 conversion interfaces.
4076
10285c21
JM
40772012-06-15 Joseph Myers <joseph@codesourcery.com>
4078
4079 [BZ #14241]
4080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4081 of ABS(x) in calculating zero to negative powers other than odd
4082 integers.
4083 * math/libm-test.inc (pow_test): Add more tests.
4084
06c5abbd
AJ
40852012-06-15 Andreas Jaeger <aj@suse.de>
4086
4087 * manual/contrib.texi (Contributors): Update entry of Liubov
4088 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4089 Machado Filho.
4090
a3aeac40
CH
40912012-06-15 Cyril Hrubis <metan@ucw.cz>
4092
4093 * string/string.h: Add __wur to GNU version of strerror_r.
4094
49bdf4c1
L
40952012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4096
4097 [BZ #14229]
4098 * string/Makefile (tests): Add tst-strtok_r.
4099 * string/tst-strtok_r.c: New file.
4100 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4101 RAX_LP/RDX_LP on SAVE_PTR.
4102
834f9b8d
RM
41032012-06-14 Roland McGrath <roland@hack.frob.com>
4104
4105 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4106
75fa1921
JM
41072012-06-14 Joseph Myers <joseph@codesourcery.com>
4108
4109 * libm_test.inc (csqrt_test): Allow more spurious underflow
4110 exceptions.
4111 (j0_test): Likewise.
4112 (j1_test): Likewise.
4113 (y0_test): Likewise.
4114 (y1_test): Likewise.
4115
771766df
CD
41162012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4117
4118 * po/Makefile (libc.pot): Use UTF-8 charset.
4119
ceb9e56b
PP
41202012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4121
4122 [BZ #14210]
4123 Suppress sign-conversion warning from FD_SET.
4124 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4125 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4126 not unsigned long int.
4127 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4128
ddb28975
L
41292012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4130
4131 [BZ #14050]
4132 [BZ #14117]
4133 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4134 __extern_always_inline instead of __extern_inline.
4135 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4136 (__signbit): Likewise.
4137 (__signbitl): Support C++ namespace.
4138 (lrintf): New inline function.
4139 (lrint): Likewise.
4140 (llrintf): Likewise.
4141 (llrint): Likewise.
4142 (fmaxf): Likewise.
4143 (fmax): Likewise.
4144 (fminf): Likewise.
4145 (fmin): Likewise.
4146 (rint): Likewise.
4147 (rintf): Likewise.
4148 (ceil): Likewise.
4149 (ceilf): Likewise.
4150 (floor): Likewise.
4151 (floorf): Likewise.
4152 (nearbyint): Likewise.
4153 (nearbyintf): Likewise.
4154
d7b4fb26
TS
41552012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4156
4157 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4158 non-default versions.
4159
eb55f5c2
RM
41602012-06-11 Roland McGrath <roland@hack.frob.com>
4161
4162 [BZ #14218]
4163 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4164
366af02c
TS
41652012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4166
99ff6e5c
TS
4167 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4168 (FE_UPWARD, FE_DOWNWARD): Don't define.
4169 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4170 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4171
366af02c
TS
4172 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4173 reading it.
4174 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4175 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4176
793ea851
KK
41772012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4178
4179 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4181 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4182 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4183
a728a38f
L
41842012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4185
4186 [BZ #14117]
c08010c7
L
4187 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4188 * sysdeps/i386/fpu/Implies: New file.
4189 * sysdeps/x86_64/fpu/Implies: Likewise.
4190 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4191 * sysdeps/x86/fpu/bits/fenv.h: This.
4192
a728a38f
L
4193 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4194 __SSE_MATH__.
4195
6e230d11
SP
41962012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4197
4198 [BZ #14134]
4199 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4200 character 0xffff that matches the last element of the
4201 conversion table.
4202
1b671feb
AZ
42032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4204
4205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4206 fmodl commit.
4207
6043738b
AZ
42082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4209
4210 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4211 values higher than 25.6283.
4212
34ae0b32
AZ
42132012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4214
4215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4216 subnormal exponent extraction and add some __builtin_expect.
4217 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4218 Fix for subnormal mantissa calculation.
4219
1214ec8f
MF
42202012-06-04 Mike Frysinger <vapier@gentoo.org>
4221
4222 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4223 cpu2 is -1 and errno is not ENOSYS.
4224
f3d1f93c
L
42252012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4226
4227 [BZ #14117]
0e4a3cd7
L
4228 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4229 * sysdeps/x86/bits/string.h: This.
4230 * sysdeps/x86_64/bits/string.h: Removed.
4231
6704c645
L
4232 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4233 if not compiling for x86-64, but compiling for >= i486.
4234
48495318
L
4235 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4236 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4237
14adcbfc
L
4238 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4239 New macro from Linux kernel 3.4.0.
4240 (FP_XSTATE_MAGIC2): Likewise.
4241 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4242 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4243 (struct _fpx_sw_bytes): New struct.
4244 (struct _xsave_hdr): Likewise.
4245 (struct _ymmh_state): Likewise.
4246 (struct _xstate): Likewise.
4247
68e408ab
L
4248 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4249 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4250 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4251 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4252 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4253 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4254
f3d1f93c
L
4255 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4256 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4257 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4258 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4259 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4260 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4261
d9dc34cd
TMQMF
42622012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4263
4264 [BZ #13743]
4265 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4266 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4267 (sysdep_headers): Include sys/platform/ppc.h.
4268 * sysdeps/powerpc/test-gettimebase.c: Test for
4269 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4270 * manual/Makefile (appendices): Include platform.texi.
4271 * manual/contrib.texi (Contributors): Update @node pointers.
4272 * manual/maint.texi (Maintenance): Likewise.
4273 (Platform): New node.
4274 * manual/platform.texi: New file. Document the new features.
4275
4af3879c
SP
42762012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4277 Jakub Jelinek <jakub@redhat.com>
4278
4279 [BZ #14188]
4280 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4281 where __builtin_expect is unavailable.
4282
2fd6ff13
DM
42832012-06-03 David S. Miller <davem@davemloft.net>
4284
4285 * stdlib/longlong.h: Updated from GCC.
4286
173f7220
AS
42872012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4288
4289 [BZ #14042]
4290 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4291 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4292 __mcount_internal.
4293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4294 (GLIBC_2.16): Likewise.
4295
f34a1c6f
L
42962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4297
4298 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4299
88a4576f
JM
43002012-06-01 Joseph Myers <joseph@codesourcery.com>
4301
ea32bcdd
JM
4302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4303 (default-abi): New variable.
4304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4305 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4306 variable.
4307 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4308 Likewise.
4309 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4310 Likewise.
4311 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4312 Likewise.
4313
88a4576f
JM
4314 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4315 definition. Document in comment.
4316
402fe938
DM
43172012-06-01 David S. Miller <davem@davemloft.net>
4318
4319 * stdlib/longlong.h: Updated from GCC.
4320
3553723f
L
43212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4322
4323 [BZ #14117]
3bd872c4
L
4324 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4325 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4326 sys/debugreg.h sys/io.h here.
4327 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4328 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4329 sys/io.h.
4330 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4331 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4332 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4333 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4334 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4335 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4336
3553723f
L
4337 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4338 Define only if __x86_64__ is defined.
4339
4842e4fe
JM
43402012-06-01 Joseph Myers <joseph@codesourcery.com>
4341
c5bfe3d5
JM
4342 [BZ #14048]
4343 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4344 Use int64_t for variable i.
4345 * math/libm-test.inc (fmod_test): Add more tests.
4346
4842e4fe
JM
4347 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4348 z computation is not scheduled after fetestexcept.
4349 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4350 Use math_force_eval instead of asm to ensure calculation scheduled
4351 before exception test.
4352 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4353 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4354
efb73488
AJ
43552012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4356
4357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4358 computation is not scheduled after fetestexcept.
4359
29bcce7c
L
43602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4361
4362 [BZ #14117]
4363 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4364 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4365
73a68f94
AZ
43662012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4367
4368 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4369 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4370
67b6df78
L
43712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4372
edf2933a 4373 [BZ #14117]
ebc64a18
L
4374 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4375 <bits/wordsize.h>.
4376 (__WCHAR_MIN): Support __WORDSIZE == 64.
4377 (__WCHAR_MAX): Likewise.
4378
edf2933a
L
4379 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4380 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4381
57c6cf40
L
4382 [BZ #14183]
4383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4384 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4385
67b6df78 4386 [BZ #14117]
8eb6281e
L
4387 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4388 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4389
aac639f4
L
4390 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4391 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4392
67b6df78
L
4393 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4394 Defined to 1 if __x86_64__ isn't defined.
4395 (_STAT_VER_LINUX_OLD): New.
4396 (st_atime): Remove duplicate.
4397 (st_mtime): Likewise.
4398 (st_ctime): Likewise.
4399
1c2cfe81
DM
44002012-05-31 David S. Miller <davem@davemloft.net>
4401
4402 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4403 entries.
4404
5be8418c
AS
44052012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4406
e7725326
AS
4407 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4408 gen-libm-test.pl.
4409
5be8418c
AS
4410 [BZ #14132]
4411 * elf/dl-reloc.c: Include <_itoa.h>.
4412 (_dl_reloc_bad_type): Remove use of INTUSE.
4413 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4414 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4415 * stdio-common/psiginfo.c (psiginfo): Likewise.
4416 * stdio-common/psignal.c (psignal): Likewise.
4417 * string/strsignal.c (strsignal): Likewise.
4418 * include/signal.h (_sys_siglist): Declare hidden proto.
4419 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4420 INTVARDEF with libc_hidden_data_def.
4421 * stdio-common/itoa-udigits.c: Likewise.
4422 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4423 (_itoa_lower_digits_internal): Remove declaration.
4424 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4425 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4426 (_sys_sigabbrev_internal): Remove aliases.
4427 (_sys_siglist): Define hidden alias.
4428
507352f1
MT
44292012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4430
4431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4432 bits/sysctl.h.
4433
42bbb1c3
L
44342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4435
4436 [BZ #14117]
6bd784b6
L
4437 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4438 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4439
8bca20f0
L
4440 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4441 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4442 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4443 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4444 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4445 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4446
f9e890a9
L
4447 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4448 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4449 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4450
471101a1
L
4451 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4452 with __addr.
4453 (insw): Likewise.
4454 (insl): Likewise.
4455 (outsb): Likewise.
4456 (outsw): Likewise.
4457 (outsl): Likewise.
4458
6451c862
L
4459 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4460 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4461 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4462
a254b8c9
L
4463 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4464 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4465 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4466 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4467 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4468 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4469
b8dfdd92
L
4470 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4471 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4472
578cd270
L
4473 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4474 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4475
de662f5f
L
4476 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4477 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4478 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4479
25653439
L
4480 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4481 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4482 to ...
4483 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4484
6bad24a0
L
4485 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4486 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4487 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4488
42bbb1c3
L
4489 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4490 for x86-64.
4491 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4492
2d10d547
JM
44932012-05-31 Joseph Myers <joseph@codesourcery.com>
4494
4495 * math/math.h (M_El): Use two more decimal places.
4496 (M_LOG2El): Likewise.
4497 (M_LOG10El): Likewise.
4498 (M_LN2l): Likewise.
4499 (M_LN10l): Likewise.
4500 (M_PIl): Likewise.
4501 (M_PI_2l): Likewise.
4502 (M_PI_4l): Likewise.
4503 (M_1_PIl): Likewise.
4504 (M_2_PIl): Likewise.
4505 (M_2_SQRTPIl): Likewise.
4506 (M_SQRT2l): Likewise.
4507 (M_SQRT1_2l): Likewise.
4508
f230c29b
DM
45092012-05-31 David S. Miller <davem@davemloft.net>
4510
4511 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4512 values between float registers.
4513 * sysdeps/sparc/sparc64/memset.S: Likewise.
4514 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4515
fed806c3
MF
45162012-05-31 Mike Frysinger <vapier@gentoo.org>
4517
4518 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4519 -D_FORTIFY_SOURCE=1.
4520 (CPPFLAGS-tst-longjmp_chk.c): Define.
4521 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4522 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4523 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4524 CFLAGS-tst-wchar-h.c.
4525
30917259
MP
45262012-05-31 Marek Polacek <polacek@redhat.com>
4527
4528 [BZ #14132]
4529 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4530 __endmntent_internal): Remove declaration.
4531 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4532 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4533 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4534
1c58d5dc
DM
45352012-05-30 David S. Miller <davem@davemloft.net>
4536
4537 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4538 (___Q_simulate_exceptions): Use real FP ops rather than writing
4539 into the %fsr.
4540 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4541 Likewise.
4542
7dc00e0d
L
45432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4544
4545 [BZ #14117]
0bd53985
L
4546 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4547 * sysdeps/x86/bits/xtitypes.h: This.
4548
3a257e66
L
4549 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4550 * sysdeps/x86/bits/wordsize.h: This.
4551
62f62904
L
4552 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4553 * sysdeps/x86/bits/huge_vall.h: This.
4554
404fe9d9
L
4555 * sysdeps/i386/bits/select.h: Removed.
4556 * sysdeps/x86_64/bits/select.h: Renamed to ...
4557 * sysdeps/x86/bits/select.h: This.
4558
d48d0446
L
4559 * sysdeps/i386/bits/setjmp.h: Removed.
4560 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4561 * sysdeps/x86/bits/setjmp.h: This.
4562
7dc00e0d
L
4563 * sysdeps/i386/bits/mathdef.h: Removed.
4564 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4565 * sysdeps/x86/bits/mathdef.h: This.
4566
03277f8f
AS
45672012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4568
4569 [BZ #14132]
4570 * include/sys/socket.h (__connect_internal)
4571 (__libc_sa_len_internal): Remove declaration.
4572 (__connect, __libc_sa_len): Declare hidden_proto.
4573 (SA_LEN): Remove use of INTUSE.
4574 * socket/connect.c: Add libc_hidden_def.
4575 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4576 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4577 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4578 alias.
4579 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4580 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4581 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4582 of adding _internal alias.
4583
13764867
L
45842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4585
4586 [BZ #14117]
6bd97696
L
4587 * sysdeps/i386/bits/link.h: Removed.
4588 * sysdeps/i386/bits/linkmap.h: Likewise.
4589 * sysdeps/x86_64/bits/link.h: Renamed to ...
4590 * sysdeps/x86/bits/link.h: This.
4591 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4592 * sysdeps/x86/bits/linkmap.h: This.
4593
f726f0bb
L
4594 * sysdeps/i386/bits/endian.h: Removed.
4595 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4596 * sysdeps/x86/bits/endian.h: This.
4597
13764867
L
4598 * sysdeps/i386/bits/byteswap.h: Removed.
4599 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4600 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4601 * sysdeps/x86/bits/byteswap.h: This.
4602 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4603 * sysdeps/x86/bits/byteswap-16.h: This.
4604 * sysdeps/i386/Implies: Add x86.
4605 * sysdeps/x86_64/Implies: Likewise.
4606
ae251b0b
DM
46072012-05-30 David S. Miller <davem@davemloft.net>
4608
4609 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4610 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4611 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4612 (FP_TRAPPING_EXCEPTIONS): Define.
4613 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4614 (FP_TRAPPING_EXCEPTIONS): Define.
4615 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4616 subnormals only when inexact has been signalled or underflow
4617 exceptions are enabled.
4618 (_FP_PACK_CANONICAL): Likewise.
4619
d5c90867
L
46202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4621
4622 [BZ #14183]
4623 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4624 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4625
63f1549e
RH
46262012-05-30 Richard Henderson <rth@twiddle.net>
4627
8d8f2279
RH
4628 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4629 with #ifndef NOT_IN_libc.
4630
63f1549e
RH
4631 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4632 marked to avoid plt entry.
4633
0ab0291b
L
46342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4635
4636 [BZ #14112]
4637 * Makeconfig (default-abi): New macro.
4638 (abi-includes): Likewise.
4639 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4640 $(abi-$(default-abi)-lib-soname) for soname if defined.
4641 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4642 abi-variants.
4643 * Makefile (installed-stubs): Likewise.
4644 * include/stubs-biarch.h: Removed.
4645 * scripts/lib-names.awk: Only handle one library at a time.
4646 * scripts/soversions.awk: Remove WORDSIZE support.
4647 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4648 entries.
4649 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4650 Removed.
4651 (syscall-list-default-condition): Likewise.
4652 (syscall-list-default-condition): Likewise.
4653 (syscall-list-includes): Likewise.
4654 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4655 syscall-list-* with abi-*. Handle undefined abi-variants.
4656 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4657 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4658 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4659 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4660 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4661 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4662 Removed.
4663 (syscall-list-32-options): Likewise.
4664 (syscall-list-32-condition): Likewise.
4665 (syscall-list-64-options): Likewise.
4666 (syscall-list-64-condition): Likewise.
4667 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4668 macro.
4669 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4670 Renamed to ...
4671 (abi-*): This.
4672 (abi-64-ld-soname): New macro.
4673 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4674 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4675 Renamed to ...
4676 (abi-*): This.
4677 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4678 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4679
4da0431d
JM
46802012-05-30 Joseph Myers <joseph@codesourcery.com>
4681
3a85279c
JM
4682 * sysdeps/unix/sysv/linux/kernel-features.h
4683 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4684 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4685 include <kernel-features.h>.
4686 [!__NR_ftruncate64]: Remove conditional code.
4687 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4688 [__NR_ftruncate64]: Make code unconditional.
4689 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4690 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4691 include <kernel-features.h>.
4692 [!__NR_ftruncate64]: Remove conditional code.
4693 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4694 [__NR_ftruncate64]: Make code unconditional.
4695 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4697 include <kernel-features.h>.
4698 [!__NR_ftruncate64]: Remove conditional code.
4699 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4700 [__NR_ftruncate64]: Make code unconditional.
4701 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4703 include <kernel-features.h>.
4704 [!__NR_ftruncate64]: Remove conditional code.
4705 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4706 [__NR_ftruncate64]: Make code unconditional.
4707 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4708
4da0431d
JM
4709 * configure.in (libc_cv_fpie): Weaken to a compile test using
4710 LIBC_TRY_CC_OPTION.
4711 * configure: Regenerated.
4712
11ef492c
AK
47132012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4714
4715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4719 Refreshed.
4720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4726 Refreshed.
4727
d66ef399
DM
47282012-05-27 David S. Miller <davem@davemloft.net>
4729
4730 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4731 (___Q_zero): New.
4732 (__Q_simulate_exceptions): Return void. Change to simulate
4733 exceptions by writing into the %fsr.
4734 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4735 (__Qp_handle_exceptions): Likewise.
4736 (numbers): Delete.
4737 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4738 __Qp_handle_exceptions.
4739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4740 __Qp_handle_exceptions.
4741 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4742 as unused and give dummy FP_RND_NEAREST initializer.
4743 (FP_INHIBIT_RESULTS): Define.
4744 (___Q_simulate_exceptions): Update declaration.
4745 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4746 formatting.
4747 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4748 as unused and give dummy FP_RND_NEAREST initializer.
4749 (__Qp_handle_exceptions): Update declaration.
4750 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4751 formatting.
4752
04fb54b5
TS
47532012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4754
4755 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4756 the temporary FPU control word.
4757 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4758 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4759 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4760 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4761 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4762 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4763 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4764 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4765 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4766 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4767 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4768
3f99608f
KK
47692012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4770
4771 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4772 fields.
4773
65a4de4e
CLT
47742012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4775
4776 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4777 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4778 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4779 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4780 Likewise.
4781 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4782 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4783 Likewise.
4784
15749d40
UD
47852012-05-27 Ulrich Drepper <drepper@gmail.com>
4786
4787 * po/h.po: Update from translation team.
4788
25dbcb27
AS
47892012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4790
3d3f8e55
AS
4791 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4792
25dbcb27
AS
4793 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4794 handling of denormals.
4795 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4796 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4797 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4798 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4799 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4802 Likewise.
4803
7ad47a80 48042012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4805
4806 [BZ #14152]
4807 * math/libm-test.inc (fma_test): Don't always expect underflow
4808 exception.
4809
9c6ea9fa
SP
48102012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4811
4812 [BZ #12416]
4813 * elf/tst-execstack.c: Include stackinfo.h.
4814 (do_test): Adjust test case to ensure that pthread_getattr_np
4815 behaviour remains the same after marking stack executable.
4816
a8239222
JM
48172012-05-25 Joseph Myers <joseph@codesourcery.com>
4818
4819 * sysdeps/unix/sysv/linux/kernel-features.h
4820 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4821 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4822 kernel-features.h.
4823 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4824 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4825 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4826 kernel-features.h.
4827 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4828 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4829
918b5606
L
48302012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4831
4832 * configure.in: Define the default includes to being none.
4833 * configure: Regenerated.
4834
3a097cc7
RM
48352012-05-25 Roland McGrath <roland@hack.frob.com>
4836
8422c9a5
RM
4837 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4838 * sysdeps/x86_64/setjmp.S: Likewise.
4839 * sysdeps/i386/bsd-setjmp.S: Likewise.
4840 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4841 * sysdeps/i386/setjmp.S: Likewise.
4842 * sysdeps/i386/__longjmp.S: Likewise.
4843 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4844 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4845
3a097cc7
RM
4846 * include/stap-probe.h: New file.
4847 * configure.in: Handle --enable-systemtap.
4848 * configure: Regenerated.
4849 * config.h.in (USE_STAP_PROBE): New #undef.
4850 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4851 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4852 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4853
21708942
JM
48542012-05-25 Joseph Myers <joseph@codesourcery.com>
4855
4856 [BZ #13717]
4857 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4858 to 2.4.0 where earlier.
4859 * sysdeps/unix/sysv/linux/configure: Regenerated.
4860 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4861 <kernel-features.h>.
4862 [__ASSUME_32BITUIDS]: Make code unconditional.
4863 [!__ASSUME_32BITUIDS]: Remove conditional code.
4864 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4865 <kernel-features.h>.
4866 [__ASSUME_32BITUIDS]: Make code unconditional.
4867 [!__ASSUME_32BITUIDS]: Remove conditional code.
4868 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4869 [__ASSUME_32BITUIDS]: Make code unconditional.
4870 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4871 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4872 <kernel-features.h>.
4873 [__ASSUME_32BITUIDS]: Make code unconditional.
4874 [!__ASSUME_32BITUIDS]: Remove conditional code.
4875 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4876 <kernel-features.h>.
4877 [__ASSUME_32BITUIDS]: Make code unconditional.
4878 [!__ASSUME_32BITUIDS]: Remove conditional code.
4879 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4880 <kernel-features.h>.
4881 [__ASSUME_32BITUIDS]: Make code unconditional.
4882 [!__ASSUME_32BITUIDS]: Remove conditional code.
4883 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4884 <kernel-features.h>.
4885 [__ASSUME_32BITUIDS]: Make code unconditional.
4886 [!__ASSUME_32BITUIDS]: Remove conditional code.
4887 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4888 <kernel-features.h>.
4889 [__ASSUME_32BITUIDS]: Make code unconditional.
4890 [!__ASSUME_32BITUIDS]: Remove conditional code.
4891 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4892 <kernel-features.h>.
4893 [__ASSUME_32BITUIDS]: Make code unconditional.
4894 [!__ASSUME_32BITUIDS]: Remove conditional code.
4895 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4896 <kernel-features.h>.
4897 [__ASSUME_32BITUIDS]: Make code unconditional.
4898 [!__ASSUME_32BITUIDS]: Remove conditional code.
4899 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4900 <kernel-features.h>.
4901 [__ASSUME_32BITUIDS]: Make code unconditional.
4902 [!__ASSUME_32BITUIDS]: Remove conditional code.
4903 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4904 <kernel-features.h>.
4905 [__ASSUME_32BITUIDS]: Make code unconditional.
4906 [!__ASSUME_32BITUIDS]: Remove conditional code.
4907 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4908 <kernel-features.h>.
4909 [__ASSUME_32BITUIDS]: Make code unconditional.
4910 [!__ASSUME_32BITUIDS]: Remove conditional code.
4911 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4912 <kernel-features.h>.
4913 [__NR_setresgid] (__setresgid): Do not declare.
4914 [__ASSUME_32BITUIDS]: Make code unconditional.
4915 [!__ASSUME_32BITUIDS]: Remove conditional code.
4916 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4917 <kernel-features.h>.
4918 [__NR_setresuid] (__setresuid): Do not declare.
4919 [__ASSUME_32BITUIDS]: Make code unconditional.
4920 [!__ASSUME_32BITUIDS]: Remove conditional code.
4921 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4922 <kernel-features.h>.
4923 [__ASSUME_32BITUIDS]: Make code unconditional.
4924 [!__ASSUME_32BITUIDS]: Remove conditional code.
4925 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4926 <kernel-features.h>.
4927 [__ASSUME_32BITUIDS]: Make code unconditional.
4928 [!__ASSUME_32BITUIDS]: Remove conditional code.
4929 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4930 <kernel-features.h>.
4931 [__ASSUME_32BITUIDS]: Make code unconditional.
4932 [!__ASSUME_32BITUIDS]: Remove conditional code.
4933 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4934 <kernel-features.h>.
4935 [__ASSUME_32BITUIDS]: Make code unconditional.
4936 [!__ASSUME_32BITUIDS]: Remove conditional code.
4937 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4938 <kernel-features.h>.
4939 [__ASSUME_32BITUIDS]: Make code unconditional.
4940 [!__ASSUME_32BITUIDS]: Remove conditional code.
4941 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4942 <kernel-features.h>.
4943 [__ASSUME_32BITUIDS]: Make code unconditional.
4944 [!__ASSUME_32BITUIDS]: Remove conditional code.
4945 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4946 <kernel-features.h>.
4947 [__ASSUME_32BITUIDS]: Make code unconditional.
4948 [!__ASSUME_32BITUIDS]: Remove conditional code.
4949 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4950 <kernel-features.h>.
4951 [__ASSUME_32BITUIDS]: Make code unconditional.
4952 [!__ASSUME_32BITUIDS]: Remove conditional code.
4953 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4954 <kernel-features.h>.
4955 [__ASSUME_32BITUIDS]: Make code unconditional.
4956 [!__ASSUME_32BITUIDS]: Remove conditional code.
4957 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4958 <kernel-features.h>.
4959 [__ASSUME_32BITUIDS]: Make code unconditional.
4960 [!__ASSUME_32BITUIDS]: Remove conditional code.
4961 * sysdeps/unix/sysv/linux/kernel-features.h
4962 (__ASSUME_SETRESUID_SYSCALL): Remove.
4963 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4964 (__ASSUME_32BITUIDS): Likewise.
4965 (__ASSUME_LDT_WORKS): Likewise.
4966 (__ASSUME_O_DIRECTORY): Likewise.
4967 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4968 architecture but not kernel version.
4969 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4970 (__ASSUME_MMAP2_SYSCALL): Likewise.
4971 (__ASSUME_STAT64_SYSCALL): Likewise.
4972 (__ASSUME_IPC64): Likewise.
4973 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4974 <kernel-features.h>.
4975 [__ASSUME_32BITUIDS]: Make code unconditional.
4976 [!__ASSUME_32BITUIDS]: Remove conditional code.
4977 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4978 <kernel-features.h>.
4979 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4980 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4981 132096]: Remove conditional code.
4982 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4983 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4984 <kernel-features.h>.
4985 [__ASSUME_32BITUIDS]: Make code unconditional.
4986 [!__ASSUME_32BITUIDS]: Remove conditional code.
4987 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4988 <kernel-features.h>.
4989 [__ASSUME_32BITUIDS]: Make code unconditional.
4990 [!__ASSUME_32BITUIDS]: Remove conditional code.
4991 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4992 <kernel-features.h>.
4993 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4994 unconditional.
4995 (__setresgid): Do not declare.
4996 [__ASSUME_32BITUIDS]: Make code unconditional.
4997 [!__ASSUME_32BITUIDS]: Remove conditional code.
4998 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4999 <kernel-features.h>.
5000 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5001 unconditional.
5002 (__setresuid): Do not declare.
5003 [__ASSUME_32BITUIDS]: Make code unconditional.
5004 [!__ASSUME_32BITUIDS]: Remove conditional code.
5005 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5006 <kernel-features.h>.
5007 [__ASSUME_32BITUIDS]: Make code unconditional.
5008 [!__ASSUME_32BITUIDS]: Remove conditional code.
5009 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5010 <kernel-features.h>.
5011 [__ASSUME_32BITUIDS]: Make code unconditional.
5012 [!__ASSUME_32BITUIDS]: Remove conditional code.
5013
a386f1cc
RH
50142012-05-25 Richard Henderson <rth@twiddle.net>
5015
5016 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5017 dl_hwcap to ifunc resolver.
5018 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5019 elf_ifunc_invoke.
5020 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5021 dl_hwcap to ifunc resolver.
5022 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5023
b6550497
JM
50242012-05-24 Joseph Myers <joseph@codesourcery.com>
5025
5026 [BZ #14153]
5027 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5028 for |x| <= 2**-26, not 2**-57.
5029 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5030 exception.
5031
b0bc23a1
JL
50322012-05-24 Jeff Law <law@redhat.com>
5033
5034 * stdio-common/Makefile (tests): Add bug25.
5035 * stdio-common/bug25.c: New test.
5036
347c92e9
L
50372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5038
5039 [BZ #13576]
5040 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5041 multiple of MALLOC_ALIGNMENT in size.
5042 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5043
6bcc8b3f
JM
50442012-05-24 Joseph Myers <joseph@codesourcery.com>
5045
5046 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5047 Require >= 256.
5048 (FILENAME_MAX): Use macro-int-constant.
5049 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5050 (_IOFBF): Use macro-int-constant.
5051 (_IOLBF): Likewise.
5052 (_IONBF): Likewise.
5053 (SEEK_CUR): Likewise.
5054 (SEEK_END): Likewise.
5055 (SEEK_SET): Likewise.
5056 (TMP_MAX): Likewise.
5057 (EOF): Use macro-int-constant. Require < 0.
5058 (NULL): Use macro-constant. Require == 0.
5059 (stdin): Require type to be FILE *.
5060 (stdout): Likewise.
5061 (stderr): Likewise.
5062 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5063 macro-int-constant.
5064 (EXIT_SUCCESS): Likewise.
5065 (NULL): Use macro-constant. Require == 0.
5066 (RAND_MAX): Use macro-int-constant.
5067 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5068 [C99-based standards] (strtof): Require function.
5069 [C99-based standards] (strtold): Likewise.
5070 [C99-based standards] (strtoll): Likewise.
5071 [C99-based standards] (strtoull): Likewise.
5072 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5073 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5074 [ISO || ISO99 || ISO11] (math.h): Likewise.
5075 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5076 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5077 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5078
d18ea0c5
AS
50792012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5080
5081 [BZ #14132]
56d25bb8
AS
5082 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5083 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5084 * intl/dgettext.c (DCGETTEXT): Likewise.
5085 * intl/gettext.c (DCGETTEXT): Likewise.
5086 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5087 * posix/regex_internal.h (gettext): Likewise.
5088 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5089 Remove declaration.
5090 * include/argz.h (__argz_count_internal)
5091 (__argz_stringify_internal): Remove declaration.
5092 (__argz_count, __argz_stringify): Declare hidden proto.
5093 * intl/dcgettext.c: Remove use of INTDEF.
5094 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5095 * string/argz-stringify.c: Likewise.
5096 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5097 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5098 Declare hidden proto.
d18ea0c5
AS
5099 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5100 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5101 Declare hidden proto.
5102 * include/stdio.h (__asprintf_internal): Don't declare.
5103 (__asprintf): Don't define as macro. Declare hidden proto.
5104 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5105 (__fsetlocking): Declare hidden proto.
5106 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5107 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5108 hidden proto.
5109 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5110 (_IO_setlinebuf): Remove use of INTUSE.
5111 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5112 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5113 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5114 Remove declaration.
5115 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5116 (_IO_do_flush): Remove use of INTUSE.
5117 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5118 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5119 (_IO_adjust_column, _IO_least_wmarker)
5120 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5121 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5122 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5123 (_IO_default_doallocate, _IO_wdefault_doallocate)
5124 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5125 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5126 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5127 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5128 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5129 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5130 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5131 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5132 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5133 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5134 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5135 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5136 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5137 proto.
5138 (_IO_flush_all_internal, _IO_adjust_column_internal)
5139 (_IO_default_uflow_internal, _IO_default_finish_internal)
5140 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5141 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5142 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5143 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5144 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5145 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5146 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5147 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5148 (_IO_file_close_internal, _IO_file_close_it_internal)
5149 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5150 (_IO_file_init_internal, _IO_file_attach_internal)
5151 (_IO_file_fopen_internal, _IO_file_read_internal)
5152 (_IO_file_sync_internal, _IO_file_seek_internal)
5153 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5154 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5155 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5156 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5157 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5158 (_IO_list_all_internal, _IO_link_in_internal)
5159 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5160 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5161 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5162 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5163 (_IO_do_write_internal, _IO_padn_internal)
5164 (_IO_getline_info_internal, _IO_getline_internal)
5165 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5166 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5167 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5168 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5169 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5170 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5171 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5172 with libc_hidden_ver, remove use of INTUSE.
5173 * libio/genops.c: Likewise.
5174 * libio/freopen.c: Likewise.
5175 * libio/freopen64.c: Likewise.
5176 * libio/iofclose.c: Likewise.
5177 * libio/iofdopen.c: Likewise.
5178 * libio/iofflush.c: Likewise.
5179 * libio/iofflush_u.c: Likewise.
5180 * libio/iofgets.c: Likewise.
5181 * libio/iofgets_u.c: Likewise.
5182 * libio/iofopen.c: Likewise.
5183 * libio/iofopncook.c: Likewise.
5184 * libio/iofread.c: Likewise.
5185 * libio/iofread_u.c: Likewise.
5186 * libio/ioftell.c: Likewise.
5187 * libio/iofwrite.c: Likewise.
5188 * libio/iogetline.c: Likewise.
5189 * libio/iogets.c: Likewise.
5190 * libio/iogetwline.c: Likewise.
5191 * libio/iopadn.c: Likewise.
5192 * libio/iopopen.c: Likewise.
5193 * libio/ioseekoff.c: Likewise.
5194 * libio/ioseekpos.c: Likewise.
5195 * libio/iosetbuffer.c: Likewise.
5196 * libio/iosetvbuf.c: Likewise.
5197 * libio/ioungetc.c: Likewise.
5198 * libio/ioungetwc.c: Likewise.
5199 * libio/iovdprintf.c: Likewise.
5200 * libio/iovsprintf.c: Likewise.
5201 * libio/iovsscanf.c: Likewise.
5202 * libio/memstream.c: Likewise.
5203 * libio/obprintf.c: Likewise.
5204 * libio/oldfileops.c: Likewise.
5205 * libio/oldiofclose.c: Likewise.
5206 * libio/oldiofdopen.c: Likewise.
5207 * libio/oldiofopen.c: Likewise.
5208 * libio/oldiopopen.c: Likewise.
5209 * libio/oldstdfiles.c: Likewise.
5210 * libio/putc.c: Likewise.
5211 * libio/setbuf.c: Likewise.
5212 * libio/setlinebuf.c: Likewise.
5213 * libio/stdfiles.c: Likewise.
5214 * libio/strops.c: Likewise.
5215 * libio/vasprintf.c: Likewise.
5216 * libio/vscanf.c: Likewise.
5217 * libio/vsnprintf.c: Likewise.
5218 * libio/vswprintf.c: Likewise.
5219 * libio/wfiledoalloc.c: Likewise.
5220 * libio/wfileops.c: Likewise.
5221 * libio/wgenops.c: Likewise.
5222 * libio/wmemstream.c: Likewise.
5223 * libio/wstrops.c: Likewise.
5224 * libio/__fpurge.c: Likewise.
5225 * libio/__fsetlocking.c: Likewise.
5226 * assert/assert.c: Likewise.
5227 * debug/fgets_chk.c: Likewise.
5228 * debug/fgets_u_chk.c: Likewise.
5229 * debug/fread_chk.c: Likewise.
5230 * debug/fread_u_chk.c: Likewise.
5231 * debug/gets_chk.c: Likewise.
5232 * debug/obprintf_chk.c: Likewise.
5233 * debug/vasprintf_chk.c: Likewise.
5234 * debug/vdprintf_chk.c: Likewise.
5235 * debug/vsnprintf_chk.c: Likewise.
5236 * debug/vsprintf_chk.c: Likewise.
5237 * malloc/mtrace.c: Likewise.
5238 * misc/error.c: Likewise.
5239 * misc/syslog.c: Likewise.
5240 * stdio-common/asprintf.c: Likewise.
5241 * stdio-common/fxprintf.c: Likewise.
5242 * stdio-common/getw.c: Likewise.
5243 * stdio-common/isoc99_fscanf.c: Likewise.
5244 * stdio-common/isoc99_scanf.c: Likewise.
5245 * stdio-common/isoc99_vfscanf.c: Likewise.
5246 * stdio-common/isoc99_vscanf.c: Likewise.
5247 * stdio-common/isoc99_vsscanf.c: Likewise.
5248 * stdio-common/printf-prs.c: Likewise.
5249 * stdio-common/printf_fp.c: Likewise.
5250 * stdio-common/printf_fphex.c: Likewise.
5251 * stdio-common/printf_size.c: Likewise.
5252 * stdio-common/putw.c: Likewise.
5253 * stdio-common/scanf.c: Likewise.
5254 * stdio-common/sprintf.c: Likewise.
5255 * stdio-common/tmpfile.c: Likewise.
5256 * stdio-common/vfprintf.c: Likewise.
5257 * stdio-common/vfscanf.c: Likewise.
5258 * stdlib/strfmon_l.c: Likewise.
5259 * sunrpc/openchild.c: Likewise.
5260 * sunrpc/xdr_stdio.c: Likewise.
5261 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5262 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5263
d6c33fda
RM
52642012-05-24 Roland McGrath <roland@hack.frob.com>
5265
c1487492
RM
5266 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5267
5268 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5269 in the third column, to generate for the shared library an IFUNC
5270 that uses _dl_vdso_vsym.
5271 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5272 * Makeconfig (object-suffixes-noshared): New variable.
5273
5274 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5275 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5276 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5277 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5278
d6c33fda
RM
5279 [BZ #14132]
5280 * include/sys/time.h (__gettimeofday): Remove macro.
5281 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5282 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5283 Remove INTDEF.
5284 (__gettimeofday): Add libc_hidden_def.
5285 (gettimeofday): Add libc_hidden_weak.
5286 * sysdeps/mach/gettimeofday.c: Likewise.
5287 * sysdeps/posix/gettimeofday.c: Likewise.
5288 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5289 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5290 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5291 (__gettimeofday_internal): Remove strong_alias.
5292 (__gettimeofday): Add libc_hidden_def.
5293 (gettimeofday): Add libc_hidden_weak.
5294 * sysdeps/unix/syscalls.list (gettimeofday):
5295 Remove __gettimeofday_internal alias.
5296
b5a2bbe6
L
52972012-05-24 Daniel Jacobowitz <drow@false.org>
5298 H.J. Lu <hongjiu.lu@intel.com>
5299
5300 [BZ #12495]
5301 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5302 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5303 (largebin_index_32_big): New.
5304 (largebin_index): Use it for 16-byte alignment.
5305 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5306 correction with front_misalign.
5307
cfba4fda
L
53082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5309
7f907421
L
5310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5312 Likewise.
5313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5314 Likewise.
5315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5316 Likewise.
5317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5318 Likewise.
5319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5320 Likewise.
5321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5322 Likewise.
5323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5324 Likewise.
5325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5326 Likewise.
5327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5328 Likewise.
5329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5330 Likewise.
5331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5332 Likewise.
5333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5334 Likewise.
5335
cfba4fda
L
5336 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5337 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5338
80bad0cc
JM
53392012-05-24 Joseph Myers <joseph@codesourcery.com>
5340
7a25eb06
JM
5341 [BZ #10846]
5342 [BZ #14036]
5343 * math/libm-test.inc (exp_test): Add test from bug 14036.
5344 (pow_test): Add test from bug 10846.
5345
795405f9
JM
5346 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5347 and other flags.
5348 (special_function): Do not include flags in test name.
5349 (parse_args): Likewise.
5350 * sysdeps/i386/fpu/libm-test-ulps: Update.
5351 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5352 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5353 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5355
80bad0cc
JM
5356 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5357 exceptions.
5358 * math/libm-test.inc ("Philosophy"): Update comment about
5359 exception testing.
5360 (UNDERFLOW_EXCEPTION): New macro.
5361 (UNDERFLOW_EXCEPTION_OK): Likewise.
5362 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5363 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5364 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5365 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5366 (INVALID_EXCEPTION_OK): Update value.
5367 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5368 (OVERFLOW_EXCEPTION_OK): Likewise.
5369 (IGNORE_ZERO_INF_SIGN): Likewise.
5370 (test_exceptions): Handle underflow exceptions.
5371 (acos_test): Update for underflow exception expectations.
5372 (cexp_test): Likewise.
5373 (clog_test): Likewise.
5374 (clog10_test): Likewise.
5375 (csqrt_test): Likewise.
5376 (ctan_test): Likewise.
5377 (ctanh_test): Likewise.
5378 (exp_test): Likewise.
5379 (exp10_test): Likewise.
5380 (exp2_test): Likewise.
5381 (expm1_test): Likewise.
5382 (fma_test): Likewise.
5383 (j0_test): Likewise.
5384 (jn_test): Likewise.
5385 (nexttoward_test): Likewise.
5386 (pow_test): Likewise.
5387 (scalbn_test): Likewise.
5388 (scalbln_test): Likewise.
5389 (tan_test): Likewise.
5390 (y1_test): Likewise.
5391 * sysdeps/i386/fpu/libm-test-ulps: Update.
5392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5393
9e0e3d0b
DM
53942012-05-23 David S. Miller <davem@davemloft.net>
5395
5396 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5397 (__libc_sigaction): Remove unused local variables.
5398
ccd0a08f
L
53992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5400
5401 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5402
62bdf9a6
PE
54032012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5404
f8591f80
PE
5405 mktime: avoid signed integer overflow
5406 * time/mktime.c (__mktime_internal): Do not mishandle the case
5407 where diff == INT_MIN.
5408
94c7d826
PE
5409 mktime: simplify computation of average
5410 * time/mktime.c (ranged_convert): Use new time_t_avg function
5411 instead of rolling our own (probably-slower) code.
5412
ce73d683
PE
5413 mktime: do not assume signed right shift propagates sign bit
5414 * time/mktime.c (isdst_differ): New static function.
5415 (__mktime_internal): No need to normalize tm_isdst now.
5416 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5417 tm_isdst values.
5418
72a22e59
PE
5419 mktime: merge another wrapv change from gnulib
5420 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5421 from some compilers.
5422
68605433
PE
5423 mktime: remove incorrect attempt at unusual arithmetics
5424 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5425 The code didn't really work on such machines anyway.
5426 (TYPE_MINIMUM): Assume two's complement.
5427 (twos_complement_arithmetic): Verify that long_int and time_t
5428 are two's complement (or unsigned, in the latter case).
5429
03cf7fe3
PE
5430 mktime: check signed shifts on long_int and time_t, too
5431 * time/mktime.c (SHR): Check that shifts work as desired
5432 on the types long_int and time_t too, as SHR is used on
5433 such types.
5434
f04dfbc2
PE
5435 mktime: do not assume 'long' is wide enough
5436 * time/mktime.c (verify): Move decl up.
5437 (long_int): New type.
5438 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5439 to remove assumption in the code that 'long' is wide enough to
5440 store year values. This assumption is not true on x32 and on
5441 some non-glibc platforms.
5442
62bdf9a6
PE
5443 mktime: merge wrapv change from gnulib
5444 * time/mktime.c (WRAPV): New macro.
5445 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5446 (guess_time_tm, __mktime_internal): Do not assume that signed
5447 integer overflow wraps around; modern compilers generate code
5448 where this assumption is no longer valid.
5449
5e292e4f
L
54502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5451
5452 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5453 Replace "jmp L(pseudo_end)" with "ret".
5454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5455 Likewise.
5456
8caf8c87
AJ
54572012-05-23 Andreas Jaeger <aj@suse.de>
5458
5459 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5460 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5461
1a09dc56
AJ
54622012-05-23 Andreas Jaeger <aj@suse.de>
5463 Maximilian Attems <max@stro.at>
5464
5465 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5466 New macros.
5467
1c87aba0
L
54682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5469
5470 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5471 code so that pseudo_end is just ret and the stack pointer is
5472 correct also for static library in error case.
5473
40e45bd5
JM
54742012-05-23 Joseph Myers <joseph@codesourcery.com>
5475
c2670533
JM
5476 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5477 move to syscalls.list.
5478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5482
40e45bd5
JM
5483 * manual/install.texi (Running make install): Do not mention Linux
5484 kernel version for which pt_chown is not needed.
5485 (Linux): Do not mention problems with nscd with 2.0 kernels.
5486 * INSTALL: Regenerated.
5487
be08eda5
AJ
54882012-05-23 Andreas Jaeger <aj@suse.de>
5489
5490 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5491 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5492 macro.
5493 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5494 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5495 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5496 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5497 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5498 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5499 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5500 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5501 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5502 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5503 * sysdeps/unix/sysv/linux/bits/in.h
5504 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5505
a6a056bb
RM
55062012-05-22 Roland McGrath <roland@hack.frob.com>
5507
5508 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5509 (PREPARE_VERSION): Just use assert instead, it will be elided
5510 under [NDEBUG] anyway.
5511
c9009328
L
55122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5513
5514 * sysdeps/unix/sysv/linux/Makefile: Include
5515 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5516 (sysdep_routines): Remove sysctl.
c9009328
L
5517 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5518 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5519 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5520 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5521 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5522
73338355
AJ
55232012-05-22 Andreas Jaeger <aj@suse.de>
5524
5525 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5526 that pseudo_end is just ret and the stack pointer is correct also
5527 for static library in error case.
5528
d44638b0
PP
55292012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5530
5531 [BZ #14122]
5532 * nss/nsswitch.c (defconfig_entries): New variable.
5533 (__nss_database_lookup): Don't leak defconfig entries.
5534 (nss_parse_service_list): Don't leak on error paths.
5535 (free_database_entries): New function.
5536 (free_defconfig): New function.
5537 (free_mem): Move common code to free_database_entries.
5538
31a39bd8
L
55392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5540
da0331a8
L
5541 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5542 Add arch_prctl.
5543 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5544
31a39bd8
L
5545 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5546 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5548 New macro.
5549 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5550 (INTERNAL_SYSCALL_TYPES): Likewise.
5551 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5552 (LOAD_REGS_TYPES_[1-6]): Likewise.
5553 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5554 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5555
45470df3
AZ
55562012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5557
5558 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5559 copysignl for GLIBC_2_0.
5560 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5561 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5563 logbl for GLIBC_2_0.
5564 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5565 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5566
98a61bcb
L
55672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5568
a4f6e481
L
5569 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5570 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5571
f63d5db6
L
5572 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5573 Use "neg %eax".
5574
98a61bcb
L
5575 * time/mktime.c: Update copyright years.
5576
95770f14
PE
55772012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5578
6226efbd
PE
5579 mktime: merge comment-quoting-style change from gnulib
5580 * time/mktime.c: Quote 'like this' in comments.
5581 The GNU coding standards suggest that we no longer quote `like this',
5582 as "`" and "'" are typically rendered asymmetrically nowadays.
5583 The typical gnulib style is to quote 'like this' when quoting
5584 code, and "like this" when quoting English.
5585
b99e4f78
PE
5586 * time/mktime.c (compile-command): Add "-I.".
5587
643e01e6
PE
5588 mktime: merge mktime-internal.h change from gnulib
5589 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5590
2554247d
PE
5591 mktime: merge time_r change from gnulib
5592 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5593
826dd0ab
PE
5594 mktime: merge DEBUG change from gnulib
5595 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5596 case system <time.h> has a #define.
5597
bd83aabe
PE
5598 mktime: merge <sys/types.h> change from gnulib
5599 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5600 since <time.t> is now guaranteed to define time_t.
5601
95770f14
PE
5602 mktime: merge HAVE_CONFIG_H change from gnulib
5603 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5604
5e1a27a9
L
56052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5606
0e44a77e
L
5607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5608 Use "neg %eax".
5609
5e1a27a9
L
5610 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5611 __rlim_t cast.
5612 (struct rusage): Use anonymous union to pad each field to
5613 __syscall_slong_t.
5614
46259bec
DM
56152012-05-21 David S. Miller <davem@davemloft.net>
5616
5617 * Makefules (o-iterator): Remove .s cases.
5618 (compile-command.s): Delete.
5619 (COMPILE.s): Delete.
5620 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5621
59f0c22e
JM
56222012-05-21 Joseph Myers <joseph@codesourcery.com>
5623
5624 * configure.in (libc_cv_predef_stack_protector): Only consider
5625 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5626 * configure: Regenerated.
5627
20c07380
L
56282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5629
bbb3154b
L
5630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5631 New macro. Use R*LP on int and pointer.
5632 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5633 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5634 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5635 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5636
20c07380
L
5637 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5638 [__WORDSIZE_TIME64_COMPAT32] instead of
5639 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5640 (struct utmp): Likewise.
5641 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5642 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5643 Renamed to ...
5644 (__WORDSIZE_TIME64_COMPAT32): This.
5645 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5646 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5647 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5648 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5649 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5650 (__WORDSIZE_TIME64_COMPAT32): New macro.
5651
d8d1017e
AJ
56522012-05-21 Andreas Jaeger <aj@suse.de>
5653
5654 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5655 only if [SHARED]. Add prototype for __wcschr_ia32.
5656
6c7fb145
RM
56572012-05-21 Roland McGrath <roland@hack.frob.com>
5658
5659 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5660 of %rbp unmolested in the jmp_buf while mangling the low bits.
5661 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5662 unmolested high bits of %rbp while demangling the low bits.
5663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5664
66274218
AJ
56652012-05-21 Andreas Jaeger <aj@suse.de>
5666
07c58f8f
AJ
5667 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5668 * sunrpc/svc_simple.c: Use it for registerrpc.
5669 * sunrpc/xcrypt.c: Use it for passwd2des.
5670
66274218
AJ
5671 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5672
61f65140
L
56732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5674
5675 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5676 Don't define if [__SYSCALL_WORDSIZE != 32].
5677 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5678 New macro.
5679
5fefb436
AJ
56802012-05-21 Bruno Haible <bruno@clisp.org>
5681 Andreas Jaeger <aj@suse.de>
5682
5683 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5684 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5685 inptr and inend for must_buffer_ch.
5686 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5687 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5688 * stdio-common/Makefile (tests): Remove bug15.
5689 (bug15-ENV): Remove macro.
5690 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5691 anymore.
5692
d8e272ab
AJ
56932012-05-19 Andreas Jaeger <aj@suse.de>
5694 Roland McGrath <roland@hack.frob.com>
5695
5696 * manual/contrib.texi: Completely rewritten. It contains now an
5697 alphabetical list of contributors and their contributions.
5698
4a56a162
RH
56992012-05-21 Richard Henderson <rth@twiddle.net>
5700
5701 * misc/getauxval.c (__getauxval): Use unsigned long int.
5702 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5703 (getauxval): Use unsigned long int.
5704
d024d23c
L
57052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5706
5707 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5708
cbc00a03
RM
57092012-05-21 Roland McGrath <roland@hack.frob.com>
5710
5711 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5712 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5713 __alignof__ (long double).
5714
478143fa
AZ
57152012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5716
5717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5718
c7683a6d
RH
57192012-05-20 Richard Henderson <rth@twiddle.net>
5720
5721 * misc/getauxval.c: New file.
5722 * misc/sys/auxv.h: New file.
5723 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5724 (routines): Add getauxval.
5725 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5726 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5727 * elf/dl-sysdep.c (_dl_auxv): Remove.
5728 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5729 * elf/dl-support.c (_dl_auxv): New variable.
5730 (_dl_aux_init): Initialize it.
5731 * manual/startup.texi (Auxiliary Vector): New node.
5732 * sysdeps/generic/bits/hwcap.h: New file.
5733 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5734 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5735 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5736 * sysdeps/sparc/sysdep.h: ... here. Include it.
5737 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5738 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5740 Update.
c7683a6d
RH
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5744 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5749
a6f1845d
AZ
57502012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5751
5752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5753
cbcbe830
DM
57542012-05-19 David S. Miller <davem@davemloft.net>
5755
5756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5757
e0b16cc2
JM
57582012-05-19 Joseph Myers <joseph@codesourcery.com>
5759
5760 [BZ #14123]
5761 * math/s_ccosh.c: Include <float.h>
5762 (__ccosh): Avoid internal overflow calculating sinh and cosh
5763 values before multiplying by sin and cos values.
5764 * math/s_ccoshf.c: Likewise.
5765 * math/s_ccoshl.c: Likewise.
5766 * math/s_csin.c: Likewise.
5767 * math/s_csinf.c: Likewise.
5768 * math/s_csinl.c: Likewise.
5769 * math/s_csinh.c: Likewise.
5770 * math/s_csinhf.c: Likewise.
5771 * math/s_csinhl.c: Likewise.
5772 * math/libm-test.inc (ccos_test): Add more tests.
5773 (ccosh_test): Likewise.
5774 (csin_test): Likewise.
5775 (csinh_test): Likewise.
5776 * sysdeps/i386/fpu/libm-test-ulps: Update.
5777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5778
6ad13e08
L
57792012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5780
f66f0ce8
L
5781 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5782 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5783
6ad13e08
L
5784 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5785
b1d072a7
JM
57862012-05-19 Joseph Myers <joseph@codesourcery.com>
5787
5788 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5789 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5790 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5791 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5792 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5793 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5794 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5795 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5796 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5797 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5798 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5799 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5800 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5801 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5802 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5803 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5804 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5805 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5806 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5807 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5808 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5809 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5810 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5811 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5812 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5813 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5814 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5815 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5816 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5817 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5818 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5819
9eae47cb
AJ
58202012-05-18 Andreas Jaeger <aj@suse.de>
5821
5822 * csu/.gitignore: Delete.
5823
bb07f69f
L
58242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5825
5826 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5827 (timex): Use __syscall_slong_t.
5828
e6bdb741
AJ
58292012-05-18 Andreas Jaeger <aj@suse.de>
5830 Carlos O'Donell <carlos_odonell@mentor.com>
5831
5832 * manual/install.texi (Configuring and compiling): Update
5833 description about files modified in the source directory.
d6c33fda 5834 * INSTALL: Regenerated.
e6bdb741 5835
1b74487e
L
58362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5837
5838 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5839 value. Use "or" to set return value to -1.
5840 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5841 negate return value.
5842
a88b64b9
TMQMF
58432012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5844
5845 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5846 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5847 failure if the compiler has Graphite support disabled.
5848 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5849 Likewise.
5850 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5851 CFLAGS-memmove.c): Likewise.
5852 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5853 Likewise.
5854
3707636e
L
58552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5856
610b8622
L
5857 * sysdeps/x86_64/x32/_itoa.h: New file.
5858
7cd195df
L
5859 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5860 getdents system call only if kernel and user dirents have the
5861 same d_ino and d_off.
5862
94b07d20
L
5863 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5864 LLONG_MAX != LONG_MAX.
5865 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5866 (_fitoa_word): Likewise.
5867
18298070
L
5868 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5869 years.
5870 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5871 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5872 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5873
553c7ea4
L
5874 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5875 include <bits/wordsize.h>. Check __x86_64__ instead of
5876 __WORDSIZE.
5877 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5878 if __x86_64__ is defined. Use anonymous union on fpstate.
5879
3707636e
L
5880 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5881 anonymous union.
5882
b53ef01a
AS
58832012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5884
37fb1dc0
AS
5885 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5886 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5887 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5888 Refer to _rtld_local_ro instead of _rtld_global_ro.
5889 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5890 Likewise.
5891 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5892 Likewise.
5893 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5894 Likewise.
5895 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5896 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5897 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5898
b53ef01a
AS
5899 * sysdeps/powerpc/powerpc32/dl-machine.c
5900 (__elf_machine_runtime_setup) [PROF]: Don't reference
5901 _dl_prof_resolve.
5902
7a185db2
AJ
59032012-05-18 Andreas Jaeger <aj@suse.de>
5904
5905 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5906 function only available for GCCs before 3.4 since GCC 3.4
5907 introduced a builtin.
5908 (lrint): Likewise.
5909 (llrintf): Likewise.
5910 (llrint): Likewise.
5911 (fmaxf): Likewise.
5912 (fmax): Likewise.
5913 (fminf): Likewise.
5914 (fmin): Likewise.
5915 (rint): Likewise.
5916 (rintf): Likewise.
5917 (nearbyint): Likewise.
5918 (nearbyintf): Likewise.
5919 (ceil): Likewise.
5920 (ceilf): Likewise.
5921 (floor): Likewise.
5922 (floorf): Likewise.
5923
3e5aef87
L
59242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5925
428bd707
L
5926 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5927 on both fields and cast pointer to __syscall_ulong_t.
5928
3e5aef87
L
5929 * bits/types.h (__fsword_t): New type.
5930 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5931 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5932 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5933 (__FSWORD_T_TYPE): Likewise.
5934 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5935 (__FSWORD_T_TYPE): Likewise.
5936 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5937 (__FSWORD_T_TYPE): Likewise.
5938 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5939 (__FSWORD_T_TYPE): Likewise.
5940 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5941 __SWORD_TYPE with __fsword_t.
5942 (statfs64): Likewise.
5943
1ba7c3dc
DM
59442012-05-17 David S. Miller <davem@davemloft.net>
5945
5946 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5947
59910343
AJ
59482012-05-17 Andreas Jaeger <aj@suse.de>
5949
5950 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5951 warning.
5952
2e4c1e9e
L
59532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5954
5955 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5956
de7f5ce7
AJ
59572012-05-17 Andreas Jaeger <aj@suse.de>
5958
5959 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5960 when it is used.
5961
286abc3d
CM
59622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5963
5964 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5965
477cc68e
L
59662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5967
5968 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5969 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5970
1a0994f5
CD
59712012-05-17 Andreas Jaeger <aj@suse.de>
5972 Carlos O'Donell <carlos_odonell@mentor.com>
5973
5974 [BZ #14059]
5975 * sysdeps/x86_64/multiarch/init-arch.h
5976 (bit_YMM_Usable): Rename to...
5977 (bit_AVX_Usable): ... this.
5978 (bit_FMA4_Usable): New macro.
5979 (bit_XMM_state): New macro.
5980 (bit_YMM_state): New macro.
5981 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5982 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5983 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5984 (CPUID_OSXSAVE): New macro.
5985 (CPUID_AVX): New macro.
5986 (CPUID_FMA4): New macro.
5987 (index_YMM_Usable): Rename to...
5988 (index_AVX_Usable): ... this.
5989 (HAS_AVX): Use HAS_ARCH_FEATURE.
5990 (HAS_FMA4): Likewise.
5991 (HAS_YMM_USABLE): Remove.
5992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5993 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5994 are present.
5995 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5996 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5997 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5998 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5999 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6000
0af797de
CM
60012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6002
6003 * math/libm-test.c: Support platforms without multiple rounding modes.
6004 * math/bug-nextafter.c: Support platforms without FP exceptions.
6005 * math/bug-nexttoward.c: Likewise.
6006 * math/test-fenv.c: Likewise.
6007 * math/test-misc.c: Likewise.
6008 * stdlib/bug-getcontext.c: Likewise.
6009
e39745ff
AJ
60102012-05-17 Andreas Jaeger <aj@suse.de>
6011
6012 * manual/examples/search.c (critter_cmp): Change signature to
6013 avoid warnings.
6014 * manual/string.texi (Collation Functions): Likewise.
6015
48970aba
L
60162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6017
6018 * bits/types.h: Fold copyright years.
6019 * bits/typesizes.h: Likewise.
6020 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6021 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6022 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6023 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6024 * time/time.h: Likewise.
6025
bedee953
PP
60262012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6027
6028 [BZ #208]
6029 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6030 in instead of returning them. Return void.
6031 (__libc_mallinfo): Accumulate over all arenas.
6032 (__malloc_stats): Adjust for change in int_mallinfo interface.
6033
61653dfb
RM
60342012-05-16 Roland McGrath <roland@hack.frob.com>
6035
30b99d79
RM
6036 [BZ #10375]
6037 * configure.in (NM): Add AC_CHECK_TOOL for it.
6038 (libc_extra_cflags): New substituted variable.
6039 Check for -fstack-protector being used implicitly.
6040 * configure: Regenerated.
6041 * config.make.in (config-extra-cflags): New variable,
6042 gets @libc_extra_cflags@.
6043 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6044
61653dfb
RM
6045 [BZ #10375]
6046 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6047 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6048 * configure: Regenerated.
6049 * config.make.in (CPPUNDEFS): New substituted variable.
6050 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6051 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6052 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6053
661768bb
L
60542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6055
6056 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6057 (mq_attr): Use __syscall_slong_t.
6058
d4261567
L
60592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6060
6061 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6062 Check __x86_64__ instead of __WORDSIZE.
6063 (_STAT_VER_LINUX): Likewise.
6064 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6065 __syscall_ulong_t and __syscall_slong_t.
6066 (stat64): Likewise.
6067
cf3ff365
L
60682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6069
6070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6071
76cf3e4d
L
60722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6073
6074 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6075
a637753a
L
60762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6077
6078 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6079 __syscall_ulong_t.
6080
d5e05119
L
6081 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6082 include <bits/wordsize.h>. Check __x86_64__ instead of
6083 __WORDSIZE.
6084 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6085 defined.
6086 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6087
f62ee380
L
6088 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6089 include <bits/wordsize.h>. Check __x86_64__ instead of
6090 __WORDSIZE.
6091 (user_regs_struct): Use "__extension__ unsigned long long"
6092 instead of "unsigned long" if __x86_64__ is defined.
6093 (user): Likewise. Pad after pointer field if __ILP32__ is
6094 defined.
6095
4e124ced
JM
60962012-05-16 Joseph Myers <joseph@codesourcery.com>
6097
6a3951a0
JM
6098 * configure.in (makeinfo): Require version 4.5 or later. Allow
6099 versions 5 to 9.
6100 * configure: Regenerated.
6101 * manual/install.texi (texinfo): Increase version requirement to
6102 4.5 or later.
6103 * INSTALL: Regenerated.
6104
4e124ced
JM
6105 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6106
953ca31a
L
61072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6108
6109 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6110
617aca05
L
6111 * sysdeps/x86_64/x32/ffs.c: New file.
6112
5762f7ae
L
6113 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6114 __syscall_ulong_t.
6115 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6116 defined. Use __syscall_ulong_t.
6117 (shminfo): Use __syscall_ulong_t.
6118 (shm_info): Likewise.
6119
a26b6856
L
6120 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6121 __syscall_ulong_t.
6122
cb2b9ef7
L
6123 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6124 <bits/wordsize.h>.
6125 (msgqnum_t): Use __syscall_ulong_t.
6126 (msglen_t): Likewise.
6127 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6128 __syscall_ulong_t.
6129
34683bb0
L
6130 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6131 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6132
84a68786
L
6133 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6134
48baa5f1
L
6135 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6136 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6137
180be88b
L
6138 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6139 __syscall_slong_t.
6140
5e90c8ad
L
6141 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6142 include <bits/wordsize.h>. Check __x86_64__ instead of
6143 __WORDSIZE.
6144
23dfb58b
L
6145 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6146 "unsigned long long int" if __x86_64__ is defined.
6147 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6148
ce5d54b0
L
6149 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6150 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6151 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6152
13dc9eac
L
6153 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6154 <stdint.h>.
6155 (GET_PC): Cast to uintptr_t first.
6156 (GET_FRAME): Likewise.
6157 (GET_STACK): Likewise.
6158
a7895d15
L
6159 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6160 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6161 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6162 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6163 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6164 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6165 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6166 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6167 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6168 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6169 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6170 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6171 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6172 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6173 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6174 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6175 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6176 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6177 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6178 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6179 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6180 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6181 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6182 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6183 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6184 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6185 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6186 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6187 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6188
656416c9
AS
61892012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6190
5bd66283
AS
6191 * Makerules (+depfiles): Also collect depfiles from .oS in
6192 $(extra-objs).
6193 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6194 .oS, $(libnldbl-routines)).
6195
656416c9
AS
6196 * Makerules (native-compile-mkdep-flags): Define.
6197 * sunrpc/Makefile (extra-objs): Add $(addprefix
6198 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6199 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6200 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6201 calling $(make-target-directory).
6202
a46f2169
L
62032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6204
6205 * bits/types.h (__snseconds_t): Removed.
6206 * time/time.h (struct timespec): Replace __snseconds_t with
6207 __syscall_slong_t.
6208 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6209 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6210 Likewise.
6211 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6212 (__SNSECONDS_T_TYPE): Likewise.
6213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6214 (__SNSECONDS_T_TYPE): Likewise.
6215 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6216 (__SNSECONDS_T_TYPE): Likewise.
6217
6af6528b
L
62182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6219
6220 * sysdeps/mach/hurd/bits/typesizes.h
6221 (__SYSCALL_SLONG_TYPE): New macro.
6222 (__SYSCALL_ULONG_TYPE): Likewise.
6223
de986b56
L
62242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6225
6226 * bits/types.h (__syscall_slong_t): New type.
6227 (__syscall_ulong_t): Likewise.
6228
6229 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6230 (__SYSCALL_ULONG_TYPE): Likewise.
6231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6232 (__SYSCALL_SLONG_TYPE): Likewise.
6233 (__SYSCALL_ULONG_TYPE): Likewise.
6234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6235 (__SYSCALL_SLONG_TYPE): Likewise.
6236 (__SYSCALL_ULONG_TYPE): Likewise.
6237 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6238 (__SYSCALL_SLONG_TYPE): Likewise.
6239 (__SYSCALL_ULONG_TYPE): Likewise.
6240
85736dc7
L
62412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6242
6243 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6244 Add sigaltstack-offsets.sym.
6245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6246 <sigaltstack-offsets.h>.
6247 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6248 longjmp_msg pointer.
6249 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6250 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6251 signal stack.
6252 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6253
cc03b296
JM
62542012-05-15 Joseph Myers <joseph@codesourcery.com>
6255
a9538892
JM
6256 * elf/stackguard-macros.h: Remove file.
6257 * sysdeps/generic/stackguard-macros.h: New file.
6258 * sysdeps/i386/stackguard-macros.h: Likewise.
6259 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6260 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6261 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6262 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6263 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6264 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6265 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6266 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6267 <elf/stackguard-macros.h>.
6268
cc03b296
JM
6269 [BZ #14109]
6270 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6271 __aligned__ in attribute.
6272 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6273 (gregset_t): Likewise.
6274
93171016
L
62752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6276
6277 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6278 * sysdeps/x86_64/64/Implies-after: Here. New file.
6279 * sysdeps/x86_64/x32/Implies-after: New file.
6280
d86813a0
L
62812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6282
6283 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6284 and access return value for _dl_profile_fixup. Use R10_LP to
6285 load frame size.
6286
2953ec75
L
62872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6288
6289 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6290
3b550e9e
L
62912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6292
6293 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6294 * sysdeps/x86_64/x32/sysdep.h: New file.
6295
eda41706
L
62962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6297
6298 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6299 * sysdeps/x86_64/setjmp.S: Likewise.
6300
9ea01d93
AZ
63012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6302
6303 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6304 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6305 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6306 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6307 remove unused global constant.
6308
02a91938
CM
63092012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6310
6311 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6312 include of <not-cancel.h>.
6313
6540185f
RM
63142012-05-15 Roland McGrath <roland@hack.frob.com>
6315
6316 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6317
509072a0
AJ
63182012-05-15 Jeff Law <law@redhat.com>
6319 Andreas Jaeger <aj@suse.de>
6320
6321 [BZ #13594]
6322 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6323 out from...
6324 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6325 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6326 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6327 code changing __hst_map_handle.map.
6328
ba75122d
RM
63292012-05-15 Roland McGrath <roland@hack.frob.com>
6330
6331 * configure.in (sysnames): Look for Implies-before and Implies-after
6332 files.
6333 * configure: Regenerated.
6334
890d8bd8
L
63352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6336
6337 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6338 8-byte data alignment with LP_SIZE alignment.
6339
f6ee6623
L
63402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6341
6342 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6343 into R10_LP.
6344
ea2626f6
L
63452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6346
6347 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6348
085f715e
L
63492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6350
6351 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6352 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6353 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6354 Likewise.
6355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6356
be8498fc
L
63572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6358
6359 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6360 (stackinfo_sub_sp): Likewise.
6361
70bc83b9
L
63622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6363
6364 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6365 RAX_LP.
6366
9bc0b730
L
63672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6368
6369 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6370 into R*_LP.
6371
6d2850e7
L
63722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6373
6374 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6375 sizes into R*_LP.
6376
3cb84561
L
63772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6378
6379 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6380
54e2ed81
L
63812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6382
6383 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6384 into R11_LP and load __x86_64_shared_cache_size_half into
6385 R8_LP.
6386
8a17f349
L
63872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6388
6389 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6390 R8_LP.
6391
777b1eea
AZ
63922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6393
6394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6395 logb for POWER7.
6396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6397 logbf for POWER7.
6398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6399 logbl for POWER7.
6400 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6401 powerpc32/power7/fpu/s_logb.c via #include.
6402 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6403 powerpc32/power7/fpu/s_logbf.c via #include.
6404 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6405 powerpc32/power7/fpu/s_logbl.c via #include.
6406
d20d4ac2
JM
64072012-05-15 Joseph Myers <joseph@codesourcery.com>
6408
6409 * README.libm: Remove file.
6410
6cdef1ab
L
64112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6412
6413 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6414 count for x32. Use R*_LP and omit operand-size suffix.
6415
0b254d8f
L
64162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6417
6418 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6419 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6420 * sysdeps/x86_64/x32/shlib-versions: New file.
6421
ceb809dc
RM
64222012-05-14 Roland McGrath <roland@hack.frob.com>
6423
6424 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6425 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6426 Use _dl_fatal_printf instead.
6427
37f1abd4
JM
64282012-05-14 Joseph Myers <joseph@codesourcery.com>
6429
6430 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6431 set if not set by the user. Do not allow for being unset.
6432 * sysdeps/unix/sysv/linux/configure: Regenerated.
6433
11de3a33
L
64342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6435
6436 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6437 the `q' suffix from lea and replace .quad with ASM_ADDR.
6438
e02f153a
L
64392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6440
6441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6442 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6443 instead of $17.
6444 (PTR_DEMANGLE): Likewise.
6445
520ae0fd
L
64462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6447
6448 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6449 (LP_OP): Likewise.
6450 (ASM_ADDR): Likewise.
6451 (RAX_LP): Likewise.
6452 (RBP_LP): Likewise.
6453 (RBX_LP): Likewise.
6454 (RCX_LP): Likewise.
6455 (RDI_LP): Likewise.
6456 (RSI_LP): Likewise.
6457 (RSP_LP): Likewise.
6458 (R8_LP): Likewise.
6459 (R9_LP): Likewise.
6460 (R10_LP): Likewise.
6461 (R10_LP): Likewise.
6462 (R11_LP): Likewise.
6463 (R12_LP): Likewise.
6464 (R13_LP): Likewise.
6465 (R14_LP): Likewise.
6466 (R15_LP): Likewise.
6467
b985be81
L
64682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6469
6470 * sysdeps/x86_64/x32/dl-machine.h: New file.
6471
6a4888ff
AJ
64722012-05-14 Andreas Jaeger <aj@suse.de>
6473
6474 * manual/Makefile (subdir): Remove export of subdir.
6475 (all): Remove target.
6476 (.PHONY): Remove all from list.
6477 (mkinstalldirs): Remove.
6478 (.PHONY): Remove installdirs from list.
6479 ($(inst_infodir)/libc.info): Use make-target-directory.
6480 (installdirs): Remove.
6481 (subdir_%): Remove.
6482 (glibc-targets): Remove.
6483 (lib): Remove.
6484 (stubs): Remove.
6485 ($(objpfx)stubs ../po/manual.pot): Remove.
6486 ($(objpfx)stamp%): Remove.
6487 (make-target-directory): Remove.
6488 (subdir_install): Remove.
6489 (routines): Remove.
6490 (aux): Remove.
6491 (sources): Remove.
6492 (objects): Remove.
6493 (headers): Remove.
6494
6495 [BZ #13750]
6496 * manual/.gitignore: Remove, it's not needed anymore.
6497 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6498 all files in it.
6499 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6500 directory.
6501 (texis): Renamed to $(objpfx)texis.
6502 (texis-path): New, contains path to generated files.
6503 (chapters.%): Use texis-path for complete path, add extra argument
6504 libc-texinfo.sh.
6505 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6506 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6507 (summary,texi, stamp-summary): Use complete path of
6508 files. Generate files in build dir.
6509 (dir-add.texi): Build in build dir.
6510 (libm-err.texi,stamp-libm-err): Likewise.
6511 (version.texi, stamp-version): Likewise.
6512 (.%c.texi): Likewise.
6513 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6514 (mostlyclean): Remove target.
6515 (realclean): Remove target.
6516 (generated): Add new variable with contents from mostlyclean and
6517 realclean, remove entries duplicated in common-mostlyclean, add
6518 stamp-libm-err and stamp-version.
6519 (generated-dirs): Add libc directory.
6520 ($(inst_infodir)/libc.info): Install files from build dir.
6521
6522 * manual/install.texi (Configuring and compiling): Adjust since
6523 the info files are not part of the tar ball anymore.
6524
7ac77294
AJ
65252012-05-14 Andreas Jaeger <aj@suse.de>
6526
6527 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6528 variable.
6529
ffb7875d
JM
65302012-05-14 Joseph Myers <joseph@codesourcery.com>
6531
6532 [BZ #13717]
6533 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6534 to 2.2.0 where earlier.
6535 * sysdeps/unix/sysv/linux/configure: Regenerated.
6536 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6537 Remove conditional code.
6538 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6539 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6540 Remove conditional code.
6541 [!__NR_lchown]: Likewise.
6542 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6543 [__NR_lchown]: Likewise.
6544 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6545 comment referencing __ASSUME_LCHOWN_SYSCALL.
6546 * sysdeps/unix/sysv/linux/i386/sigaction.c
6547 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6548 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6549 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6550 Remove conditional code.
6551 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6552 (__protocol_available): Remove #if 0 code.
6553 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6554 conditional code.
6555 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6556 * sysdeps/unix/sysv/linux/kernel-features.h
6557 (__ASSUME_GETCWD_SYSCALL): Don't define.
6558 (__ASSUME_REALTIME_SIGNALS): Likewise.
6559 (__ASSUME_PREAD_SYSCALL): Likewise.
6560 (__ASSUME_PWRITE_SYSCALL): Likewise.
6561 (__ASSUME_POLL_SYSCALL): Likewise.
6562 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6563 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6564 non-SPARC.
6565 (__ASSUME_SIOCGIFNAME): Don't define.
6566 (__ASSUME_MSG_NOSIGNAL): Likewise.
6567 (__ASSUME_SENDFILE): Define unconditionally.
6568 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6569 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6570 conditional code.
6571 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6572 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6573 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6574 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6575 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6576 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6577 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6579 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6580 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6582 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6583 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6585 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6586 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6588 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6589 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6591 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6592 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6594 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6595 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6597 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6598 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6600 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6601 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6602 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6603 Remove conditional code.
6604 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6605 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6606 Remove conditional code.
6607 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6608 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6609 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6610 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6611 Remove conditional code.
6612 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6613 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6614 Remove conditional code.
6615 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6616 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6617 Remove conditional code.
6618 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6619 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6620 Remove conditional code.
6621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6622 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6623 Remove conditional code.
6624 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6625 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6626 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6627 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6628 * sysdeps/unix/sysv/linux/sigaction.c
6629 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6630 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6631 * sysdeps/unix/sysv/linux/sigpending.c
6632 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6633 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6634 * sysdeps/unix/sysv/linux/sigprocmask.c
6635 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6636 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6637 * sysdeps/unix/sysv/linux/sigsuspend.c
6638 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6639 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6640 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6641 (__libc_missing_rt_sigs): Remove.
6642 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6643 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6644 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6645 Remove conditional code.
6646 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6647 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6648 return 1.
6649 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6650 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6651 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6652 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6653
1bfb7291
AJ
66542012-05-14 Andreas Jaeger <aj@suse.de>
6655
caae5a81
AJ
6656 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6657 it's not used in glibc.
6658 (__coshm1): Likewise.
6659 (__acosh1p): Likewise.
6660 (__sgn): Likewise.
6661
1bfb7291
AJ
6662 * manual/string.texi (Copying and Concatenation): Add missing
6663 variable in concat example.
6664 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6665
c044d724
L
66662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6667
144c5467 6668 [BZ #14103]
c044d724
L
6669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6670 __builtin_clzl with __builtin_clzll.
6671
2523c62b
L
66722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6673
6674 [BZ #14104]
6675 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6676 libc_freeres_ptr.
6677
d7bb4c42
LD
66782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6679
6680 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6681 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6682 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6683 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6684
9dc4e1fb
MF
66852012-05-14 Mike Frysinger <vapier@gentoo.org>
6686
6687 * NEWS: Update ia64 info.
6688
c7df0112
AS
66892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6690
6691 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6692 used as bcopy.
6693
dc70356c
TS
66942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6695
6696 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6697 * sysdeps/unix/syscalls.list (dup3): Likewise.
6698 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6699 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6700
9fb1a21f
L
67012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6702
6703 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6704 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6705
4822a2a5
L
67062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6707
6708 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6709 thread pointer.
6710 (TLS_IE): Use mov/add instead of movq/addq to load thread
6711 pointer.
6712 (TLS_GD_PREFIX): New.
6713 (TLS_GD): Use it.
6714
842b81d6
DM
67152012-05-11 David S. Miller <davem@davemloft.net>
6716
6717 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6718 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6719 (_FPU_SETCW): Likewise.
6720
1cf463cd
L
67212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6722
6723 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6724 is 32-byte aligned.
6725
60cc4a18
AS
67262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6727
6728 [BZ #11837]
6729 * iconvdata/gb18030.c: Update tables.
6730 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6731 characters specially.
6732 (BODY for TO_LOOP): Add encoding of missing ranges.
6733
febb44a4
TS
67342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6735
6736 [BZ #13673]
6737 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6738 * sysdeps/mach/hurd/dup3.c: Likewise.
6739 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6740 * sysdeps/powerpc/memmove.c:: Likewise.
6741
0a10fb9e
L
67422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6743
6744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6745 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6746
df8a552f
L
67472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6748
6749 * elf/elf.h (R_X86_64_RELATIVE64): New.
6750 (R_X86_64_NUM): Updated.
6751 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6752 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6753 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6754 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6755 tst-quad1pie tst-quad2pie
6756 (modules-names): Add tst-quadmod1 tst-quadmod2.
6757 ($(objpfx)tst-quad1): New dependency.
6758 ($(objpfx)tst-quad2): Likewise.
6759 ($(objpfx)tst-quad1pie): Likewise.
6760 ($(objpfx)tst-quad2pie): Likewise.
6761 * sysdeps/x86_64/tst-quad1.c: New file.
6762 * sysdeps/x86_64/tst-quad1pie.c: New file.
6763 * sysdeps/x86_64/tst-quad2.c: Likewise.
6764 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6765 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6766 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6767 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6768 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6769
f34d6f84
ST
67702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6771
f42d41d1
ST
6772 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6773 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6774 * streams/stropts.h (t_scalar_t): Define type.
6775
3c3571fc
ST
6776 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6777 (_PATH_PRESERVE): Set to "/var/lib".
6778 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6779
61f06bd3
ST
6780 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6781 instead of int.
6782
918d4d71
ST
6783 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6784 if __dir_mkfile succeeded.
6785
f34d6f84
ST
6786 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6787 checking for _hurd_dtablesize. Unlock it right after having
6788 finished _hurd_dtable allocation.
6789
10589b4a
TS
67902012-05-10 Thomas Schwinge <thomas@schwinge.name>
6791
674cdbc7
TS
6792 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6793 * sysdeps/mach/hurd/configure: Regenerated.
6794 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6795 special-casing to...
6796 * sysdeps/gnu/configure.in: ... this new file.
6797 * sysdeps/unix/sysv/linux/configure: Regenerated.
6798 * sysdeps/gnu/configure: New generated file.
6799
8e41b99f
TS
6800 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6801 for Linux: use nsec instead of usec, as well as:
6802 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6803 members of type struct timespec.
6804 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6805 New macros.
6806 (struct stat64): Likewise.
6807 (_STATBUF_ST_NSEC): New macro.
6808 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6809
10589b4a
TS
6810 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6811 __strtoul_internal rather than strtoul.
6812
63643c85
PT
68132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6814
6815 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6816 and reject them.
6817
3faebe6a
ST
68182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6819
6820 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6821 which preserves existing values.
6822 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6823
c6474b07
PT
68242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6825
6826 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6827 TIMEOUT values. Return EINVAL for NFDS values either negative or
6828 greater than FD_SETSIZE.
6829
1043890b
ST
68302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6831
6832 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6833 allocated, call __vm_protect to finish enabling the existing space, and
6834 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6835 allocate the remainder.
6836
37ed8b9b
PT
68372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6838
6839 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6840 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6841
db653660
ST
68422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6843
37ed8b9b
PT
6844 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6845 sysdeps/mach/hurd/readlink.c.
b29d4053 6846
db653660
ST
6847 * posix/tst-sysconf.c (posix_options): Only use
6848 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6849 _POSIX_SYNCHRONIZED_IO when they are defined
6850 * sysdeps/mach/hurd/bits/posix_opt.h:
6851 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6852 (_XOPEN_REALTIME): Undefine macro.
6853 (_XOPEN_REALTIME_THREADS): Undefine macro.
6854 (_XOPEN_SHM): Undefine macro.
6855 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6856 macro to -1.
6857 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6858 macro to -1.
6859 (_POSIX_ASYNC_IO): Undefine macro.
6860 (_POSIX_PRIORITIZED_IO): Undefine macro.
6861 (_POSIX_SPIN_LOCKS): Define macro to -1.
6862
ee16e894
ST
6863 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6864 SA_NODEFER, SA_RESETHAND.
6865 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6866 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6867 F_DUPFD_CLOEXEC.
6868
6103ae3b
TS
68692012-05-10 Thomas Schwinge <thomas@schwinge.name>
6870
6871 * elf/Makefile (pldd-modules): Define unconditionally.
6872
80b4e5f3
TS
68732012-05-10 Thomas Schwinge <thomas@schwinge.name>
6874
6875 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6876
edadcbd6
ST
68772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6878
6879 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6880 Return ENOENT when name is empty.
6881 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6882
80694780
TS
68832012-05-10 Thomas Schwinge <thomas@schwinge.name>
6884
1792c087
TS
6885 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6886
80694780
TS
6887 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6888
6b645f0d
ST
68892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6890
80694780
TS
6891 Fix mlock in all cases except non-readable pages.
6892 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6893 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6894
6b645f0d
ST
6895 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6896 (__mkdir): When path is `/', just fail with EEXIST.
6897 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6898
e468f8a3
TS
68992012-05-10 Thomas Schwinge <thomas@schwinge.name>
6900
6901 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6902 <sys/uio.h> (for writev).
6903 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6904 and <sys/param.h> (for MIN).
6905
a4186cff
PT
69062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6907
6908 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6909 REQUESTED_TIME. Properly set the remaining time and return EINTR
6910 if interrupted.
6911
510bbf14
TS
69122012-05-10 Thomas Schwinge <thomas@schwinge.name>
6913
6914 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6915 Depend on against $(link-rpcuserlibs).
6916
5d5722e8
ST
69172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6918
a4186cff
PT
6919 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6920 (__libc_stack_end): Do not use attribute_relro.
6921 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6922 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6923 to libthread-provided value.
a4186cff
PT
6924 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6925 attribute_relro.
5d5722e8 6926
37233df9
TS
69272012-05-10 Thomas Schwinge <thomas@schwinge.name>
6928
be971a2b
TS
6929 [BZ #3748]
6930 * bits/libc-lock.h (__libc_once_get): New macro.
6931 * sysdeps/mach/bits/libc-lock.h: Likewise.
6932 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6933 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6934 instead of using implementation details.
6935
37233df9
TS
6936 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6937 * libio/freopen.c: Likewise.
6938 * libio/freopen64.c: Likewise.
6939 * misc/syslog.c: Likewise.
6940 * nscd/connections.c: Likewise.
6941 * nscd/netgroupcache.c: Likewise.
6942 * sysdeps/posix/getcwd.c: Likewise.
6943
38de94a5
RM
69442012-05-10 Roland McGrath <roland@hack.frob.com>
6945
6946 * math/w_ilogbf.c: Add #include <limits.h>.
6947
67530489
ST
69482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6949
a4186cff 6950 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6951 path instead of returning without unlocking.
6952
67530489
ST
6953 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6954 immediate-write ioctls.
6955 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6956
5aa3a74a
TS
69572012-05-10 Thomas Schwinge <thomas@schwinge.name>
6958
18bad2ae
TS
6959 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6960 __builtin_frame_address instead of making assumptions about the
6961 location of the return address relative to DATA. Force early load of
6962 the return address.
6963 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6964 __builtin_frame_address.
6965
5aa3a74a
TS
6966 dup3 for GNU Hurd.
6967 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6968 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6969 implement dup3 and do some further code clean-ups.
6970 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6971 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6972
ecd0de9a
ST
69732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6974
cd9fa985
ST
6975 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6976
a4186cff
PT
6977 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6978 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6979 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6980 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6981 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6982 d->port.lock.
802ca5a5 6983
a4186cff
PT
6984 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6985 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6986 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6987
bcf55240
TS
69882012-05-10 Thomas Schwinge <thomas@schwinge.name>
6989
6960eb42
TS
6990 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6991 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6992 definitions.
6993
eb43375f
TS
6994 accept4 for GNU Hurd.
6995 * include/sys/socket.h (__libc_accept4): New prototype.
6996 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6997 to implement __libc_accept4.
6998 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6999 __libc_accept4.
7000 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7001
bcf55240
TS
7002 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7003 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7004 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7005 signal-defines.sym.
7006
6178c55b
ST
70072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7008
a4186cff 7009 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7010
6f080c2f
TS
70112012-05-10 Thomas Schwinge <thomas@schwinge.name>
7012
7013 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7014 assertion on O_CLOEXEC flag.
7015 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7016 * hurd/intern-fd.c: Likewise.
7017 * hurd/port2fd.c: Likewise.
7018
bcfe3a54
ST
70192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7020
7021 [BZ #3906]
7022 * bits/in.h (IPV6_PKTINFO): Define new macro.
7023 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7024
89c9aa49
AZ
70252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7026
7027 [BZ #13954]
7028 [BZ #13955]
7029 [BZ #13956]
7030 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7031 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7032 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7033 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7035 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7036 * math/libm-test.inc (logb_test) : Additional logb tests.
7037
021db4be
AJ
70382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7039 Andreas Jaeger <aj@suse.de>
7040
7041 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7042 * configure: Regenerated.
7043 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7044 * config.make.in (link-obsolete-rpc): New substituted variable.
7045 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7046 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7047 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7048 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7049 so that libc.a contains the symbols.
7050 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7051 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7052 * sunrpc/auth_none.c: Likewise.
7053 * sunrpc/auth_unix.c: Likewise.
7054 * sunrpc/authdes_prot.c: Likewise.
7055 * sunrpc/authuxprot.c: Likewise.
7056 * sunrpc/clnt_gen.c: Likewise.
7057 * sunrpc/clnt_perr.c: Likewise.
7058 * sunrpc/clnt_raw.c: Likewise.
7059 * sunrpc/clnt_simp.c: Likewise.
7060 * sunrpc/clnt_tcp.c: Likewise.
7061 * sunrpc/clnt_udp.c: Likewise.
7062 * sunrpc/clnt_unix.c: Likewise.
7063 * sunrpc/des_crypt.c: Likewise.
7064 * sunrpc/des_soft.c: Likewise.
7065 * sunrpc/get_myaddr.c: Likewise.
7066 * sunrpc/key_call.c: Likewise.
7067 * sunrpc/key_prot.c: Likewise.
7068 * sunrpc/netname.c: Likewise.
7069 * sunrpc/pm_getmaps.c: Likewise.
7070 * sunrpc/pm_getport.c: Likewise.
7071 * sunrpc/pmap_clnt.c: Likewise.
7072 * sunrpc/pmap_prot.c: Likewise.
7073 * sunrpc/pmap_prot2.c: Likewise.
7074 * sunrpc/pmap_rmt.c: Likewise.
7075 * sunrpc/publickey.c: Likewise.
7076 * sunrpc/rpc_cmsg.c: Likewise.
7077 * sunrpc/rpc_common.c: Likewise.
7078 * sunrpc/rpc_dtable.c: Likewise.
7079 * sunrpc/rpc_prot.c: Likewise.
7080 * sunrpc/rpc_thread.c: Likewise.
7081 * sunrpc/rtime.c: Likewise.
7082 * sunrpc/svc.c: Likewise.
7083 * sunrpc/svc_auth.c: Likewise.
7084 * sunrpc/svc_raw.c: Likewise.
7085 * sunrpc/svc_run.c: Likewise.
7086 * sunrpc/svc_tcp.c: Likewise.
7087 * sunrpc/svc_udp.c: Likewise.
7088 * sunrpc/svc_unix.c: Likewise.
7089 * sunrpc/svcauth_des.c: Likewise.
7090 * sunrpc/xcrypt.c: Likewise.
7091 * sunrpc/xdr.c: Likewise.
7092 * sunrpc/xdr_array.c: Likewise.
7093 * sunrpc/xdr_float.c: Likewise.
7094 * sunrpc/xdr_intXX_t.c: Likewise.
7095 * sunrpc/xdr_mem.c: Likewise.
7096 * sunrpc/xdr_rec.c: Likewise.
7097 * sunrpc/xdr_ref.c: Likewise.
7098 * sunrpc/xdr_sizeof.c: Likewise.
7099 * sunrpc/xdr_stdio.c: Likewise.
7100
b5c086a2
RM
71012012-05-10 Roland McGrath <roland@hack.frob.com>
7102
7103 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7104 change. Update copyright years.
7105
6d74dd09
JM
71062012-05-10 Joseph Myers <joseph@codesourcery.com>
7107
7108 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7109
28e72501
MK
71102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7111 Joseph Myers <joseph@codesourcery.com>
7112 Paul Pluzhnikov <ppluzhnikov@google.com>
7113
7114 [BZ #14012]
7115 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7116 requiring rpcgen.
7117 [cross-compiling] (extra-libs): Likewise.
7118 [cross-compiling] (extra-libs-others): Likewise.
7119 [cross-compiling] (librpcsvc-routines): Likewise.
7120 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7121 [cross-compiling] (omit-deps): Likewise.
7122 (sunrpc-CPPFLAGS): New variable.
7123 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7124 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7125 (cross-rpcgen-objs): New variable.
7126 (extra-objs): Append $(cross-rpcgen-objs).
7127 ($(cross-rpcgen-objs)): New rule.
7128 ($(objpfx)cross-rpcgen): Likewise.
7129 (rpcgen-cmd): Define to use $(built-program-file). Expand
7130 comment.
7131 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7132 ($(objpfx)x%.stmp): Likewise.
7133 * sunrpc/proto.h [IS_IN_build] (_): Define.
7134 [IS_IN_build] (_libc_intl_domainname): Likewise.
7135
c8c59454
L
71362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7137
7138 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7139 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7140 and R_X86_64_TPOFF64.
7141
6f27cd16
JM
71422012-05-10 Joseph Myers <joseph@codesourcery.com>
7143
7144 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7145 sysdeps/unix/sysv/syscalls.list.
7146 (stime): Likewise.
7147 (utime): Likewise.
7148 * sysdeps/unix/sysv/syscalls.list: Remove file.
7149
02467e1c
PE
71502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7151
7152 [BZ #3440]
7153 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7154 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7155 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7156 (__LC_IDENTIFICATION): Make these macros useful in #if
7157 expressions, as required by C99.
7158
da392631
AS
71592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7160
7161 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7162 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7163 after this.
7164
8115f29b
L
71652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7166
7167 * stdlib/longlong.h: Updated from GCC.
7168
bdd74070
AJ
71692012-05-09 Andreas Jaeger <aj@suse.de>
7170
edfe0dbe
AJ
7171 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7172 default is first entry.
7173 (run_mode): Set type.
7174 (main): Remove informal message about syslog.
7175 (options): Fix typo.
7176
bcfe3a54
ST
7177 [BZ #14053]
7178 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7179 to asm.
bcfe3a54
ST
7180 (lrint): Likewise.
7181 (llrintf): Likewise.
7182 (llrint): Likewise.
7183 (rint): Likewise.
7184 (rintf): Likewise.
7185 (nearbyint): Likewise.
7186 (nearbyintf): Likewise.
bdd74070 7187
91d8d69e
AJ
71882012-05-09 Andreas Jaeger <aj@suse.de>
7189 Pedro Alves <palves@redhat.com>
7190
7191 * nscd/nscd.c (run_mode): Use enum.
7192 (main): Cleanup coding style issue.
7193
bb90b80b
AJ
71942012-05-09 Alexandre Oliva <aoliva@redhat.com>
7195 Andreas Jaeger <aj@suse.de>
7196
bcfe3a54
ST
7197 * nscd/nscd.c (go_background): Replaced with...
7198 (run_mode): ... this.
bb90b80b 7199 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7200 (options): Add -F --foreground.
7201 (main): Implement it.
7202 (parse_opt): Parse it.
bb90b80b 7203
1a4b75a1
AJ
72042012-05-09 Andreas Jaeger <aj@suse.de>
7205
7206 [BZ #14083]
7207 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7208 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7209 -Wconversion warning.
7210 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7211 Likewise.
7212
b1cc2472
JM
72132012-05-09 Joseph Myers <joseph@codesourcery.com>
7214
7215 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7216 == 0.
7217 (LC_ALL): Use macro-int-constant.
7218 (LC_COLLATE): Likewise.
7219 (LC_CTYPE): Likewise.
7220 (LC_MESSAGES): Likewise.
7221 (LC_MONETARY): Likewise.
7222 (LC_NUMERIC): Likewise.
7223 (LC_TIME): Likewise.
7224 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7225 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7227 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7228 Specify type.
7229 [C99-based standards] (float_t): Expect type.
7230 [C99-based standards] (double_t): Expect type.
7231 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7232 type.
7233 [C99-based standards] (HUGE_VALL): Likewise.
7234 [C99-based standards] (INFINITY): Likewise.
7235 [C99-based standards] (NAN): Likewise.
7236 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7237 [C99-based standards] (FP_NAN): Likewise.
7238 [C99-based standards] (FP_NORMAL): Likewise.
7239 [C99-based standards] (FP_SUBNORMAL): Likewise.
7240 [C99-based standards] (FP_ZERO): Likewise.
7241 [C99-based standards] (FP_FAST_FMA): Use
7242 optional-macro-int-constant. Specify type. Require == 1.
7243 [C99-based standards] (FP_FAST_FMAF): Likewise.
7244 [C99-based standards] (FP_FAST_FMAL): Likewise.
7245 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7246 [C99-based standards] (FP_ILOGBNAN): Likewise.
7247 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7248 Specify type.
7249 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7250 [C99-based standards] (math_errhandling): Specify type.
7251 [ISO99 || ISO11] (signgam): Do not allow.
7252 [non-C99-based standards] (copysignf): Do not allow.
7253 [non-C99-based standards] (exp2f): Likewise.
7254 [non-C99-based standards] (log2f): Likewise.
7255 [non-C99-based standards] (modff): Allow.
7256 [non-C99-based standards] (erff): Do not allow.
7257 [non-C99-based standards] (erfcf): Likewise.
7258 [non-C99-based standards] (gammaf): Likewise.
7259 [non-C99-based standards] (hypotf): Likewise.
7260 [non-C99-based standards] (j0f): Likewise.
7261 [non-C99-based standards] (j1f): Likewise.
7262 [non-C99-based standards] (jnf): Likewise.
7263 [non-C99-based standards] (lgammaf): Likewise.
7264 [non-C99-based standards] (tgammaf): Likewise.
7265 [non-C99-based standards] (y0f): Likewise.
7266 [non-C99-based standards] (y1f): Likewise.
7267 [non-C99-based standards] (ynf): Likewise.
7268 [non-C99-based standards] (isnanf): Likewise.
7269 [non-C99-based standards] (acoshf): Likewise.
7270 [non-C99-based standards] (asinhf): Likewise.
7271 [non-C99-based standards] (atanhf): Likewise.
7272 [non-C99-based standards] (cbrtf): Likewise.
7273 [non-C99-based standards] (expm1f): Likewise.
7274 [non-C99-based standards] (ilogbf): Likewise.
7275 [non-C99-based standards] (log1pf): Likewise.
7276 [non-C99-based standards] (logbf): Likewise.
7277 [non-C99-based standards] (nextafterf): Likewise.
7278 [non-C99-based standards] (remainderf): Likewise.
7279 [non-C99-based standards] (rintf): Likewise.
7280 [non-C99-based standards] (scalbf): Likewise.
7281 [non-C99-based standards] (copysignl): Likewise.
7282 [non-C99-based standards] (exp2l): Likewise.
7283 [non-C99-based standards] (log2l): Likewise.
7284 [non-C99-based standards] (modfl): Allow.
7285 [non-C99-based standards] (erfl): Do not allow.
7286 [non-C99-based standards] (erfcl): Likewise.
7287 [non-C99-based standards] (gammal): Likewise.
7288 [non-C99-based standards] (hypotl): Likewise.
7289 [non-C99-based standards] (j0l): Likewise.
7290 [non-C99-based standards] (j1l): Likewise.
7291 [non-C99-based standards] (jnl): Likewise.
7292 [non-C99-based standards] (lgammal): Likewise.
7293 [non-C99-based standards] (tgammal): Likewise.
7294 [non-C99-based standards] (y0l): Likewise.
7295 [non-C99-based standards] (y1l): Likewise.
7296 [non-C99-based standards] (ynl): Likewise.
7297 [non-C99-based standards] (isnanl): Likewise.
7298 [non-C99-based standards] (acoshl): Likewise.
7299 [non-C99-based standards] (asinhl): Likewise.
7300 [non-C99-based standards] (atanhl): Likewise.
7301 [non-C99-based standards] (cbrtl): Likewise.
7302 [non-C99-based standards] (expm1l): Likewise.
7303 [non-C99-based standards] (ilogbl): Likewise.
7304 [non-C99-based standards] (log1pl): Likewise.
7305 [non-C99-based standards] (logbl): Likewise.
7306 [non-C99-based standards] (nextafterl): Likewise.
7307 [non-C99-based standards] (remainderl): Likewise.
7308 [non-C99-based standards] (rintl): Likewise.
7309 [non-C99-based standards] (scalbl): Likewise.
7310 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7311 [non-C99-based standards] (FP_*): Do not allow.
7312 [C99-based standards] (FP_*): Change to
7313 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7314 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7315 allow.
7316 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7317 (SIG_ERR): Likewise.
7318 [X/Open-based standards] (SIG_HOLD): Likewise.
7319 (SIG_IGN): Likewise.
7320 (SIGABRT): Use macro-int-constant. Specify type. Require
7321 positive value.
7322 (SIGFPE): Likewise.
7323 (SIGILL): Likewise.
7324 (SIGINT): Likewise.
7325 (SIGSEGV): Likewise.
7326 (SIGTER): Likewise.
7327 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7328 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7329 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7330 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7331 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7332 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7333 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7334 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7335 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7336 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7337 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7338 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7339 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7340 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7341 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7342 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7343 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7344 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7345 [X/Open-based standards] (SIGTRAP): Likewise.
7346 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7347 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7348 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7349 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7350 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7351 allow.
7352
b9f1922d
IW
73532012-05-08 Ian Wienand <ianw@vmware.com>
7354
7355 [BZ #14080]
7356 * time/tzset.c (__tzset_parse_tz): Update default rules for
7357 daylight time changes in the Energy Policy Act of 2005.
7358
1db86e88
AJ
73592012-05-09 Andreas Jaeger <aj@suse.de>
7360
7361 [BZ #13983]
7362 * elf/ldconfig.c (parse_conf): Change string to make clear that
7363 ldconfig only issued a warning if ld.so.conf does not exist.
7364
dee4a4e3
DM
73652012-05-08 David S. Miller <davem@davemloft.net>
7366
ee0db190
DM
7367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7368 movxtod instead of popping the value on the stack.
7369
dee4a4e3
DM
7370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7371
6a43ec98
CD
73722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7373
7374 * config.h.in: Add HAVE_ARM_PCS_VFP.
7375
05c2c961
RMG
73762012-05-08 Roland Mc Grath <roland@hack.frob.com>
7377
bcfe3a54
ST
7378 [BZ #13979]
7379 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7380 checking but the checks are disabled for any reason.
05c2c961 7381
4b30f61a
L
73822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7383
7384 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7385 and ELF64_R_TYPE with ELFW(R_TYPE).
7386
eee2bc67
JM
73872012-05-08 Joseph Myers <joseph@codesourcery.com>
7388
7ea5391a
JM
7389 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7390 (ulimit): Likewise.
7391
eee2bc67
JM
7392 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7393 (settimeofday): Likewise.
7394
abb66a67
MF
73952012-05-08 Mike Frysinger <vapier@gentoo.org>
7396
7397 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7398 a struct th_u2 inside the union, and move tu_block/tu_code into
7399 a new th_u3 union of tu_block/tu_code inside of that. Move
7400 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7401 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7402 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7403 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7404 (th_stuff): Change to th_u1.tu_stuff.
7405 (th_data): Define.
7406 (th_msg): Change to th_u1.th_u2.tu_data.
7407
7f18b530
DM
74082012-05-07 David S. Miller <davem@davemloft.net>
7409
05760585
DM
7410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7411
7f18b530
DM
7412 [BZ #14074]
7413 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7414 (SETUP_PIC_REG): Use it.
7415 (SETUP_PIC_REG_LEAF): Use it.
7416
495fd99f
JM
74172012-05-07 Joseph Myers <joseph@codesourcery.com>
7418
7419 [BZ #13885]
7420 [BZ #13923]
7421 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7422 USE_AS_EXPM1L.
7423 (EXPL_FINITE): Likewise.
7424 (FLDLOG): Likewise.
7425 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7426 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7427 e_expl.S.
7428 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7429 USE_AS_EXPM1L.
7430 (EXPL_FINITE): Likewise.
7431 (FLDLOG): Likewise.
7432 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7433 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7434 e_expl.S.
7435 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7436 test of -max_value argument for long double.
7437 * sysdeps/i386/fpu/libm-test-ulps: Update.
7438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7439
6693d694
DM
74402012-05-06 David S. Miller <davem@davemloft.net>
7441
7442 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7443 quad soft-float symbols whose references which are compiler
7444 generated.
7445 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7446
6c23e11c
JM
74472012-05-06 Joseph Myers <joseph@codesourcery.com>
7448
d8b82cad
JM
7449 [BZ #13884]
7450 [BZ #13914]
7451 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7452 USE_AS_EXP10L.
7453 (EXPL_FINITE): Likewise.
7454 (FLDLOG): Likewise.
7455 (c0): Likewise.
7456 (c1): Likewise.
7457 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7458 Adjust comments for base varying.
7459 (__expl_finite): Change alias to EXPL_FINITE.
7460 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7461 e_expl.S.
7462 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7463 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7464 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7465 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7466 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7467 USE_AS_EXP10L.
7468 (EXPL_FINITE): Likewise.
7469 (FLDLOG): Likewise.
7470 (c0): Likewise.
7471 (c1): Likewise.
7472 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7473 Adjust comments for base varying.
7474 (__expl_finite): Change alias to EXPL_FINITE.
7475 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7476 tests for bugs.
7477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7478
6c23e11c
JM
7479 [BZ #14064]
7480 * math/libm-test.inc (check_float_internal): Correct ulp
7481 calculation for subnormal expected results.
7482
29ba805c
AJ
74832012-05-06 Andreas Jaeger <aj@suse.de>
7484
7485 * Makeconfig (+math-flags): New, set to -frounding-math.
7486 (+cflags): Add +math-flags so that all of glibc gets compiled with
7487 it.
7488
7489 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7490
7b17aeda
JM
74912012-05-05 Joseph Myers <joseph@codesourcery.com>
7492
5779f134
JM
7493 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7494 Disable one test.
7495
41498f4d
JM
7496 [BZ #13787]
7497 [BZ #13922]
7498 [BZ #14036]
7499 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7500 (__ieee754_expl): Allow for and saturate large arguments.
7501 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7502 (u_threshold): Likewise.
7503 (__exp): Call __ieee754_exp before checking for overflow and
7504 underflow.
7505 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7506 (u_threshold): Likewise.
7507 (__expf): Call __ieee754_expf before checking for overflow and
7508 underflow.
7509 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7510 (u_threshold): Likewise.
7511 (__expl): Call __ieee754_expl before checking for overflow and
7512 underflow.
7513 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7514 (__ieee754_expl): Allow for and saturate large arguments.
7515 * math/libm-test.inc (exp_test): Add another test. Do not allow
7516 missing overflow exception on overflow.
7517 (expm1_test): Do not allow missing overflow exception on overflow.
7518
6698b8bf
JM
7519 * sysdeps/i386/fpu/e_expl.c: Move to ...
7520 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7521 rather than using inline asm.
7522 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7523 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7524 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7525
7b17aeda
JM
7526 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7527 (nice): Likewise.
7528 (poll): Likewise.
7529 (signal): Likewise.
7530 (time): Likewise.
7531 (times): Likewise.
7532
f7c85819
JM
75332012-05-04 Joseph Myers <joseph@codesourcery.com>
7534
7535 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7536 sysdeps/unix/common/syscalls.list.
7537 (fchmod): Likewise.
7538 (fchown): Likewise.
7539 (ftruncate): Likewise.
7540 (getrusage): Likewise.
7541 (gettimeofday): Likewise.
7542 (setpgid): Likewise.
7543 (setregid): Likewise.
7544 (setreuid): Likewise.
7545 (sigaction): Likewise.
7546 (truncate): Likewise.
7547 (vhangup): Likewise.
7548 * sysdeps/unix/common/syscalls.list: Remove file.
7549 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7550 * sysdeps/unix/sysv/linux/Implies: Likewise.
7551
336270d0
L
75522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7553
7554 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7556 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7557 Moved to ...
7558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7559 Here.
7560 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7561 to ...
7562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7563 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7564 to ...
7565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7566 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7567 to ...
7568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7569 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7570 to ...
7571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7572 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7573 to ...
7574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7575 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7576 to ...
7577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7578 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7579 to ...
7580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7581 Here.
7582 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7583 to ...
7584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7585 Here.
7586 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7587 to ...
7588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7589 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7590 Moved to ...
7591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7592 Here.
7593 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7594 to ...
7595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7596
d128e450
JM
75972012-05-04 Joseph Myers <joseph@codesourcery.com>
7598
fa8ee516
JM
7599 * sysdeps/unix/common/bits/dirent.h: Remove file.
7600 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7601
d128e450
JM
7602 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7603 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7604 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7605 * sysdeps/unix/bsd/isatty.c: Likewise.
7606 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7607 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7608 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7609
ff8faaf0 76102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7611
62881be4 7612 [BZ #13563]
31dc8730
AZ
7613 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7614 long double comparison inaccuracies.
7615 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7617
6fef930c
AS
76182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7619
7620 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7621 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7622
8f203e6c
JM
76232012-05-04 Joseph Myers <joseph@codesourcery.com>
7624
7625 [BZ #14049]
7626 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7627 nonzero digits before rounding a hex value.
7628 * stdlib/tst-strtod.c (tests): Add another test.
7629
5197d9c2
AK
76302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7631
7632 * sysdeps/s390/fpu/libm-test-ulps: Update.
7633
f0c1dedf
AJ
76342012-05-03 Andreas Jaeger <aj@suse.de>
7635
7636 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7637 does not get optimized out.
7638 (malloc_opt_barrier): New.
7639
a65ef2ae 76402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7641 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7642
2b942cb7 7643 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7644 intermediate file deletion.
2b942cb7 7645 (generated): Add .symlist files.
a65ef2ae 7646
54b71e02
JM
76472012-05-03 Joseph Myers <joseph@codesourcery.com>
7648
7649 [BZ #13775]
7650 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7651 Redirect under this condition.
7652 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7653 [__USE_GNU] (__dprintf_chk): Not under this condition.
7654 [__USE_GNU] (__vdprintf_chk): Likewise.
7655 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7656 under this condition.
7657 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7658 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7659 [__USE_XOPEN2K8] (vdprintf): Likewise.
7660 [__USE_GNU] (__dprintf_chk): Not under this condition.
7661 [__USE_GNU] (__vdprintf_chk): Likewise.
7662 [__USE_GNU] (dprintf): Likewise.
7663 [__USE_GNU] (vdprintf): Likewise.
7664
d3dfcc41
RM
76652012-05-03 Roland McGrath <roland@hack.frob.com>
7666
7667 * elf/Makefile (common-generated): Set this instead of generated for
7668 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7669 $(all-built-dso)-derived lists.
7670
7ac30cc5
AJ
76712012-05-03 Andreas Jaeger <aj@suse.de>
7672
0c51e550
AJ
7673 * sysdeps/i386/fpu/libm-test-ulps: Update.
7674
7ac30cc5
AJ
7675 * FAQ: Removed.
7676 * FAQ.in: Likewise.
7677 * scripts/gen-FAQ.pl: Likewise.
7678 * manual/install.texi (Installation): Point to online location of
7679 FAQ.
7680 * Makefile (files-for-dist): Remove FAQ.
7681 (FAQ): Remove.
7682
d4c2917f
AM
76832012-05-02 Allan McRae <allan@archlinux.org>
7684
7685 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7686 (LDFLAGS-reldepmod5.so): Likewise.
7687 (LDFLAGS-reldep6mod1.so): Likewise.
7688 (LDFLAGS-reldep6mod4.so): Likewise.
7689 (LDFLAGS-reldep8mod3.so): Likewise.
7690 (LDFLAGS-unload4mod1.so): Likewise.
7691 (LDFLAGS-unload4mod2.so): Likewise.
7692 (LDFLAGS-tst-initorder): Likewise.
7693 (LDFLAGS-tst-initordera2.so): Likewise.
7694 (LDFLAGS-tst-initordera3.so): Likewise.
7695 (LDFLAGS-tst-initordera4.so): Likewise.
7696 (LDFLAGS-tst-initorderb2.so): Likewise.
7697 (LDFLAGS-noload): Likewise.
7698 (LDFLAGS-next): Likewise.
7699 (LDFLAGS-order2mod1.so): Likewise.
7700 (LDFLAGS-order2mod2.so): Likewise.
7701 (LDFLAGS-tst-initorder2): Likewise.
7702 (LDFLAGS-tst-initorder2a.so): Likewise.
7703 (LDFLAGS-tst-initorder2b.so): Likewise.
7704 (LDFLAGS-tst-initorder2c.so): Likewise.
7705 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7706
d77f993f
DM
77072012-05-02 David S. Miller <davem@davemloft.net>
7708
7709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7710
171a70b4
PP
77112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7712
7713 [BZ #14055]
7714 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7715
0be196ad
AJ
77162012-05-02 Andreas Jaeger <aj@suse.de>
7717
7718 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7719 since we manipulate rounding mode.
7720 (CPPFLAGS-test-idouble.c): Likewise.
7721 (CPPFLAGS-test-ifloat.c): Likewise.
7722 (CFLAGS-test-ldouble.c): Likewise.
7723 (CFLAGS-test-double.c): Likewise.
7724 (CFLAGS-test-float.c): Likewise.
7725 (CFLAGS-test-misc.c): Likewise.
7726 (CFLAGS-test-test-fenv.c): Likewise.
7727
4f9d04aa
AZ
77282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7729
2b942cb7
RM
7730 [BZ #2550]
7731 [BZ #2570]
7732 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7733 comparisons to determine direction to adjust input.
4f9d04aa 7734
82a79e7d
RM
77352012-05-01 Roland McGrath <roland@hack.frob.com>
7736
f5a01ca9
RM
7737 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7738 output to the target.
7739
90fe4186
RM
7740 * scripts/localplt.awk: New file.
7741 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7742 (check-localplt-CFLAGS): Variable removed.
7743 ($(all-built-dso:=.jmprel)): New static pattern rule.
7744 (generated): Add those targets.
7745 (localplt-built-dso): New variable.
7746 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7747
7748 * elf/check-localplt.c: File removed.
7749
82397ed6
RM
7750 * scripts/check-execstack.awk: New file.
7751 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7752 (check-execstack-CFLAGS): Variable removed.
7753 ($(objpfx)check-execstack.h): Target removed.
7754 ($(objpfx)execstack-default): New target.
7755 (generated): Add that instead of check-execstack.h.
7756 ($(all-built-dso:=.phdr)): New static pattern rule.
7757 (generated): Add those targets.
7758 * elf/check-execstack.c: File removed.
7759
82a79e7d
RM
7760 * scripts/check-textrel.awk: New file.
7761 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7762 (check-textrel-CFLAGS): Variable removed.
7763 (all-built-dso): Use := to define.o
7764 ($(all-built-dso:=.dyn)): New static pattern rule.
7765 (generated): Add those targets.
7766 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7767 * config.make.in (READELF): New substituted variable.
7768 * elf/check-textrel.c: File removed.
7769
62fde54f 77702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7771
615605c9
JM
7772 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7773 allow.
7774 * conform/data/ctype.h-data [C99-based standards] (isblank):
7775 Expect function.
7776 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7777 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7778 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7779 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7780 Specify type. Require positive value.
7781 (EILSEQ): Likewise.
7782 (ERANGE): Likewise.
7783 [ISO || POSIX] (EILSEQ): Do not expect.
7784 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7785 Specify type. Require positive value.
7786 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7787 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7788 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7789 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7790 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7791 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7792 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7793 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7794 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7795 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7796 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7797 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7798 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7799 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7800 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7801 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7802 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7803 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7804 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7805 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7806 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7807 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7808 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7809 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7810 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7811 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7812 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7813 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7814 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7815 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7816 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7817 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7818 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7819 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7820 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7821 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7822 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7823 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7824 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7825 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7826 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7827 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7828 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7829 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7830 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7831 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7832 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7833 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7834 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7835 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7836 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7837 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7838 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7839 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7840 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7841 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7842 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7843 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7844 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7845 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7846 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7847 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7848 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7849 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7850 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7851 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7852 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7853 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7854 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7855 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7856 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7857 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7858 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7859 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7860 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7861 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7862 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7863 Require >= 2.
7864 (FLT_ROUNDS): Expect as macro, not constant.
7865 (FLT_MANT_DIG): Use macro-int-constant.
7866 (DBL_MANT_DIG): Likewise.
7867 (LDBL_MANT_DIG): Likewise.
7868 (FLT_DIG): Likewise.
7869 (DBL_DIG): Likewise.
7870 (LDBL_DIG): Likewise.
7871 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7872 (DBL_MIN_EXP): Likewise.
7873 (LDBL_MIN_EXP): Likewise.
7874 (FLT_MAX_EXP): Use macro-int-constant.
7875 (DBL_MAX_EXP): Likewise.
7876 (LDBL_MAX_EXP): Likewise.
7877 (FLT_MAX_10_EXP): Likewise.
7878 (DBL_MAX_10_EXP): Likewise.
7879 (LDBL_MAX_10_EXP): Likewise.
7880 (FLT_MAX): Use macro-constant.
7881 (DBL_MAX): Likewise.
7882 (LDBL_MAX): Likewise.
7883 (FLT_EPSILON): Use macro-constant. Give upper bound.
7884 (DBL_EPSILON): Likewise.
7885 (LDBL_EPSILON): Likewise.
7886 (FLT_MIN): Likewise.
7887 (DBL_MIN): Likewise.
7888 (LDBL_MIN): Likewise.
7889 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7890 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7891 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7892 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7893 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7894 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7895 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7896 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7897 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7898 [ISO11] (FLT_TRUE_MIN): Likewise.
7899 [ISO11] (LDBL_TRUE_MIN): Likewise.
7900 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7901 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7902 (SCHAR_MIN): Use macro-int-constant. Specify type.
7903 (SCHAR_MAX): Likewise.
7904 (UCHAR_MAX): Likewise.
7905 (CHAR_MIN): Likewise.
7906 (CHAR_MAX): Likewise.
7907 (MB_LEN_MAX): Use macro-int-constant.
7908 (SHRT_MIN): Use macro-int-constant. Specify type.
7909 (SHRT_MAX): Likewise.
7910 (USHRT_MAX): Likewise.
7911 (INT_MAX): Likewise.
7912 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7913 bound negative.
7914 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7915 bound with "U".
7916 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7917 bound with "L".
7918 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7919 bound negative. Suffix upper bound with "L".
7920 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7921 bound with "UL".
7922 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7923 Specify type.
7924 [C99-based standards] (LLONG_MAX): Likewise.
7925 [C99-based standards] (ULLONG_MAX): Likewise.
7926 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7927 == 0.
7928 [ISO11] (max_align_t): Require type.
7929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7930
c9140a62
JM
7931 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7932 from $CFLAGS, without defining away __attribute__ calls.
7933 (checknamespace): Use $CFLAGS_namespace.
7934
9af0bf29
JM
7935 * conform/conformtest.pl (@keywords): Only include C99 keywords
7936 for standards based on C99 or C11.
7937
343222a2
JM
7938 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7939 Disable tests.
7940 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7941 UNIX98]: Likewise.
7942
661f8cf0
JM
7943 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7944 usability of symbols in #if.
7945
ee74b9cb
JM
7946 * conform/conformtest.pl: If macro or constant types start
7947 "promoted:", expect the symbol to be of the following type
7948 promoted by the integer promotions.
62fde54f 7949
aafc49b3
JM
7950 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7951 in one place. Also handle "macro-constant".
7952
fefdf574
JM
7953 * conform/conformtest.pl: Only accept expected macro values with
7954 "==". Parse all "macro" lines in one place.
7955 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7956
f2d922fe
JM
7957 * conform/conformtest.pl: Handle braced types on "constant" lines
7958 instead of handling "typed-constant".
7959 * conform/data/signal.h-data: Use "constant" instead of
7960 "typed-constant".
7961
d22956c9
JM
7962 * conform/conformtest.pl: Handle "optional-" at start of lines in
7963 one place rather than duplicating several cases. Handle each
7964 format of "macro" line with initial "optional-".
7965
028e2e38
JM
7966 * conform/conformtest.pl: Only accept expected constant or
7967 optional-constant values with "==". Parse all "constant" lines in
7968 one place. Parse all "optional-constant" lines in one place.
7969 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7970 * conform/data/fmtmsg.h-data: Likewise.
7971 * conform/data/netinet/in.h-data: Likewise.
7972 * conform/data/tar.h-data: Likewise.
7973 * conform/data/limits.h-data: Use "==" form on "constant" and
7974 "optional-constant" lines.
7975
1b8f2850
JM
7976 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7977 Use -std=c99 for XOPEN2K.
7978 (@knownproblems): Remove.
7979 (newtoken): Don't check %isknown.
7980
a05a144b
JM
7981 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7982 Do not expect macro.
7983 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7984 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7985 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7986 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7987 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7988 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7989 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7990 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7991 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7992 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7993 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7994 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7995 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7996 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7997 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7998 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7999 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8000 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8001 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8002 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8003 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8004 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8005 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8006 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8007 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8008 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8009 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8010 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8011 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8012 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8013 [XPG3] (acosh): Likewise.
8014 [XPG3] (asinh): Likewise.
8015 [XPG3] (atanh): Likewise.
8016 [XPG3] (cbrt): Likewise.
8017 [XPG3] (expm1): Likewise.
8018 [XPG3] (ilogb): Likewise.
8019 [XPG3] (log1p): Likewise.
8020 [XPG3] (logb): Likewise.
8021 [XPG3] (nextafter): Likewise.
8022 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8023 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8024 [XPG3] (remainder): Likewise.
8025 [XPG3] (rint): Likewise.
8026 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8027 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8028 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8029 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8030 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8031 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8032 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8033 [UNIX98 || XOPEN2K] (scalb): Expect.
8034 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8035 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8036 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8037 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8038 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8039 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8040 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8041 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8042 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8043 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8044 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8045 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8046 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8047 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8048 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8049 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8050 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8051 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8052 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8053 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8054 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8055 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8056 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8057 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8058 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8059 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8060 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8061 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8062 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8063 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8064 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8065 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8066 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8067 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8068 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8069 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8070 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8071 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8072 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8073 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8074 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8075 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8076 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8077 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8078 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8079 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8080 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8081 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8082 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8083 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8084 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8085 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8086 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8087 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8088 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8089 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8090 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8091 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8092 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8093 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8094 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8095 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8096 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8097 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8098 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8099 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8100 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8101 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8102 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8103 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8104 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8105 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8106 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8107 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8108 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8109 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8110 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8111 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8112 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8113 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8114 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8115 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8116 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8117 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8118 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8119 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8120 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8121 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8122 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8123 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8124 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8125 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8126 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8127 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8128 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8129 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8130 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8131 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8132 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8133 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8134 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8135 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8136 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8137 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8138 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8139 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8140 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8141 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8142 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8143 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8144 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8145 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8146 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8147 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8148 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8149 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8150 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8151 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8152 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8153 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8154 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8155 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8156 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8157 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8158 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8159 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8160 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8161 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8162 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8163 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8164 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8165 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8166 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8167 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8168 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8169 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8170 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8171
73c5ebe3
JM
8172 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8173 _XOPEN_SOURCE_EXTENDED for XPG4.
8174
39c33b6c
JM
8175 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8176
62fde54f
JM
8177 * Makeconfig (localtime): Remove variable.
8178 (inst_localtime-file): Likewise.
8179
0741d64c
AS
81802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8181
8182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8183 Update.
8184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8185 Update.
8186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8187 Update.
8188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8189 Update.
8190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8191 Update.
8192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8193 Update.
8194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8195 Update.
8196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8197 Update.
8198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8199 Update.
8200
7cb029ee
JM
82012012-05-01 Joseph Myers <joseph@codesourcery.com>
8202
8203 [BZ #2550]
8204 [BZ #2570]
8205 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8206 comparisons to determine direction to adjust input.
8207 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8208 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8209 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8210 Likewise.
8211 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8212 Likewise.
8213 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8214 Likewise.
8215 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8216 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8217 Likewise.
8218 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8219 Likewise.
8220 * math/libm-test.inc (nexttoward_test): Add more tests.
8221
412bd966
AS
82222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8223
8224 [BZ #14040]
8225 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8226 in version GLIBC_2.1, not GLIBC_2.0.
8227 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8228 Likewise.
8229
9568c0c2
JM
82302012-04-30 Joseph Myers <joseph@codesourcery.com>
8231
adfbc8ac
JM
8232 [BZ #13942]
8233 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8234 (1 - x) * (1 + x).
8235 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8236 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8237 * math/libm-test.inc (acos_test): Add more tests.
8238 (asin_test): Likewise.
8239 * sysdeps/i386/fpu/libm-test-ulps: Update.
8240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8241
5ba3cc69
JM
8242 [BZ #14034]
8243 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8244 of square root.
8245 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8246 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8247 * math/libm-test.inc (acos_test_tonearest): New function.
8248 (acos_test_towardzero): Likewise.
8249 (acos_test_downward): Likewise.
8250 (acos_test_upward): Likewise.
8251 (asin_test_tonearest): Likewise.
8252 (asin_test_towardzero): Likewise.
8253 (asin_test_downward): Likewise.
8254 (asin_test_upward): Likewise.
8255 (main): Call the new functions.
8256 * sysdeps/i386/fpu/libm-test-ulps: Update.
8257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8258
9568c0c2
JM
8259 [BZ #13884]
8260 [BZ #13924]
8261 * math/e_exp10.c: Include <float.h>.
8262 (__ieee754_exp10): Handle underflow here rather than multiplying
8263 large negative argument by M_LN10.
8264 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8265 of __ieee754_expf.
8266 * math/e_exp10l.c: Include <float.h>.
8267 (__ieee754_exp10l): Handle underflow here rather than multiplying
8268 large negative argument by M_LN10l.
8269 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8270 spurious overflow exception on underflow.
8271
5ac3ea17
MP
82722012-04-29 Marek Polacek <polacek@redhat.com>
8273
8274 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8275 (__fortify_function): New macro.
8276 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8277 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8278 __extern_always_inline.
8279 * libio/bits/stdio2.h: Likewise.
8280 * libio/bits/stdio.h: Likewise.
8281 * string/string.h: Likewise.
8282 * string/bits/string3.h: Likewise.
8283 * include/stdio.h: Likewise.
8284 * stdlib/bits/stdlib.h: Likewise.
8285 * stdlib/stdlib.h: Likewise.
8286 * rt/bits/mqueue2.h: Likewise.
8287 * rt/mqueue.h: Likewise.
8288 * posix/bits/unistd.h: Likewise.
8289 * posix/unistd.h: Likewise.
8290 * io/bits/poll2.h: Likewise.
8291 * io/bits/fcntl2.h: Likewise.
8292 * io/fcntl.h: Likewise.
8293 * io/sys/poll.h: Likewise.
8294 * misc/bits/syslog.h: Likewise.
8295 * misc/bits/syslog-ldbl.h: Likewise.
8296 * misc/sys/syslog.h: Likewise.
8297 * socket/bits/socket2.h: Likewise.
8298 * socket/sys/socket.h: Likewise.
8299 * debug/tst-chk1.c: Likewise.
8300 * wcsmbs/bits/wchar2.h: Likewise.
8301 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8302 * wcsmbs/wchar.h: Likewise.
8303
ecf0ebfb
AJ
83042012-04-29 Andreas Jaeger <aj@suse.de>
8305
8306 * Makerules (tests): Remove enable-check-abi protection.
8307 (check-abi-warn): Remove.
8308 (check-abi-%): Remove check-abi-warn usage.
8309
8310 * configure.in: Remove check-abi configure option.
8311 * configure: Regenerated.
8312 * config.make.in (enable-check-abi): Remove.
8313
6d5c57fa
AS
83142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8315
24c5d07e 8316 [BZ #14033]
ded5180a
AS
8317 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8318 double functions to double *_finite functions.
8319
7e0d315d
AS
8320 [BZ #13941]
8321 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8322 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8323 LDBL_MIN_EXP.
8324 * stdio-common/Makefile (tests): Add tst-sprintf3.
8325 * stdio-common/tst-sprintf3.c: New file.
8326
6d5c57fa
AS
8327 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8328 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8329
0749ff8b
JM
83302012-04-28 Joseph Myers <joseph@codesourcery.com>
8331
8332 * conform/conformtest.pl: Remove duplicate typed-constant
8333 handling.
8334
8dbd5d7b
DM
83352012-04-28 David S. Miller <davem@davemloft.net>
8336
8337 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8338 (check-abi-%): Remove AWK script prerequisite and explicit
8339 abilist directory.
8340 (check-abi): Rewrite to just diff the symlist with the abilist.
8341 (config-tls, config-abi-config): Delete, no longer used.
8342 (update-abi-%): Remove AWK script and explicit abilist directory.
8343 (update-abi): Rewrite to simply compare and conditionally copy the
8344 symlist and the sysdep abilist file. Remove update-abi-config
8345 checks.
8346 * abilist/ld.abilist: Remove.
8347 * abilist/libBrokenLocale.abilist: Remove.
8348 * abilist/libanl.abilist: Remove.
8349 * abilist/libcrypt.abilist: Remove.
8350 * abilist/libdl.abilist: Remove.
8351 * abilist/librt.abilist: Remove.
8352 * abilist/libthread_db.abilist: Remove.
8353 * abilist/libutil.abilist: Remove.
8354 * scripts/extract-abilist.awk: Remove.
8355 * scripts/merge-abilist.awk: Remove.
8356 * sysdeps/generic/libcidn.abilist: New file.
8357 * sysdeps/generic/libnss_compat.abilist: New file.
8358 * sysdeps/generic/libnss_db.abilist: New file.
8359 * sysdeps/generic/libnss_dns.abilist: New file.
8360 * sysdeps/generic/libnss_files.abilist: New file.
8361 * sysdeps/generic/libnss_hesiod.abilist: New file.
8362 * sysdeps/generic/libnss_nis.abilist: New file.
8363 * sysdeps/generic/libnss_nisplus.abilist: New file.
8364 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8365 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8366 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8367 file.
8368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8369 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8370 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8371 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8372 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8373 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8374 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8375 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8376 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8377 file.
8378 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8379 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8380 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8381 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8382 file.
8383 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8384 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8385 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8386 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8387 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8388 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8389 file.
8390 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8391 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8392 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8393 file.
8394 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8396 New file.
8397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8398 New file.
8399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8400 New file.
8401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8402 New file.
8403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8404 New file.
8405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8406 New file.
8407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8408 New file.
8409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8410 New file.
8411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8412 New file.
8413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8414 New file.
8415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8416 New file.
8417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8418 New file.
8419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8420 New file.
8421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8422 file.
8423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8424 New file.
8425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8426 New file.
8427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8428 file.
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8430 New file.
8431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8432 New file.
8433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8434 file.
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8436 New file.
8437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8438 New file.
8439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8440 New file.
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8442 New file.
8443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8444 New file.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8446 New file.
8447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8449 file.
8450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8451 New file.
8452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8453 file.
8454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8455 file.
8456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8457 file.
8458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8459 file.
8460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8461 file.
8462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8463 New file.
8464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8465 file.
8466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8467 file.
8468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8469 New file.
8470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8471 file.
8472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8474 file.
8475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8476 New file.
8477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8478 file.
8479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8480 file.
8481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8482 file.
8483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8484 file.
8485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8486 file.
8487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8488 New file.
8489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8490 file.
8491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8492 file.
8493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8494 New file.
8495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8496 file.
8497 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8498 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8499 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8500 file.
8501 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8502 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8503 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8504 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8505 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8506 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8507 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8508 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8509 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8510 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8513 file.
8514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8515 New file.
8516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8517 file.
8518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8519 file.
8520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8521 file.
8522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8523 file.
8524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8525 file.
8526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8527 New file.
8528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8529 New file.
8530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8531 file.
8532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8533 New file.
8534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8535 file.
8536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8538 file.
8539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8540 New file.
8541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8542 file.
8543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8544 file.
8545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8546 file.
8547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8548 file.
8549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8550 file.
8551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8552 New file.
8553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8554 New file.
8555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8556 file.
8557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8558 New file.
8559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8560 file.
8561
41d73a1b
JM
85622012-04-28 Joseph Myers <joseph@codesourcery.com>
8563
8564 * conform/conformtest.pl: Fix typo in handling typed-constant from
8565 allow-header.
8566
28aeeda4
JM
85672012-04-27 Joseph Myers <joseph@codesourcery.com>
8568
adae8f5e
JM
8569 * README: Cut down references to pre-2.6 Linux kernels and
8570 Linuxthreads. Update lists of configurations in libc and ports
8571 and sort alphabetically. Say "or newer" with Linux kernel version
8572 requirements.
8573
28aeeda4
JM
8574 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8575
a462cb63
RA
85762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8577
8578 [BZ #887]
8579 * math/libm-test.inc (logb_test_downward): New test to expose
8580 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8581 rounding mode.
8582
6ad3493e
JM
85832012-04-27 Joseph Myers <joseph@codesourcery.com>
8584
8585 [BZ #14027]
8586 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8587 to be done.
8588 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8589 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8590
2ce4f015
JM
85912012-04-26 Joseph Myers <joseph@codesourcery.com>
8592
5aeb141a
JM
8593 * sysdeps/unix/i386/brk.S: Remove file.
8594 * sysdeps/unix/i386/dl-brk.S: Likewise.
8595 * sysdeps/unix/i386/pipe.S: Likewise.
8596 * sysdeps/unix/i386/sigreturn.S: Likewise.
8597 * sysdeps/unix/i386/syscall.S: Likewise.
8598 * sysdeps/unix/i386/vfork.S: Likewise.
8599 * sysdeps/unix/i386/wait.S: Likewise.
8600
7143acae
JM
8601 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8602 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8603
2ce4f015
JM
8604 * configure.in (arm*-none*): Do not allow without
8605 --enable-hacker-mode.
8606 (netbsd*): Remove case setting base_os.
8607 (386bsd*): Likewise.
8608 (freebsd*): Likewise.
8609 (bsdi*): Likewise.
8610 (osf*): Likewise.
8611 (sunos*): Likewise.
8612 (ultrix*): Likewise.
8613 (newsos*): Likewise.
8614 (dynix*): Likewise.
8615 (*bsd*): Likewise.
8616 (sysv*): Likewise.
8617 (isc*): Likewise.
8618 (esix*): Likewise.
8619 (sco*): Likewise.
8620 (minix*): Likewise.
8621 (irix4*): Likewise.
8622 (irix6*): Likewise.
8623 (solaris[2-9]*): Likewise.
8624 (none): Likewise.
8625 * configure: Regenerated.
8626
0ac229c8
AZ
86272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8628
8629 [BZ #11521]
8630 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8631 overflow or cancellation in calculating denominator.
8632 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8633 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8634 down expression to avoid unexpected rounding in newer GCCs.
8635 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8636
33f244f4
DM
86372012-04-26 David S. Miller <davem@davemloft.net>
8638
8639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8640 long-double compat symbols.
8641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8654
cfa1f3e8
DM
86552012-04-25 David S. Miller <davem@davemloft.net>
8656
8657 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8658 HWCAP_* values only after the memory barriers have been defined.
8659 (atomic_full_barrier): Define.
8660 (atomic_read_barrier): Define.
8661 (atomic_write_barrier): Define.
8662
6e236b92
SP
86632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8664
8665 * shlib-versions: Add libgcc_s version information.
8666 * sysdeps/generic/libgcc_s.h: Remove.
8667 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8668 libgcc_s.h.
8669 * sysdeps/gnu/unwind-resume.c: Likewise.
8670 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8671
aab39a09
DM
86722012-04-25 David S. Miller <davem@davemloft.net>
8673
8674 * sysdeps/unix/sparc/brk.S: Delete.
8675 * sysdeps/unix/sparc/dl-brk.S: Delete.
8676 * sysdeps/unix/sparc/pipe.S: Delete.
8677 * sysdeps/unix/sparc/sysdep.S: Delete.
8678 * sysdeps/unix/sparc/sysdep.h: Delete.
8679 * sysdeps/unix/sparc/vfork.S: Delete.
8680 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8681 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8682 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8683 ret_ERRVAL, r0, r1, MOVE): Define.
8684 (JUMPTARGET): Remove.
8685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8686 sysdeps/unix/sparc/sysdep.h
8687 (ENTRY, END): Remove.
8688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8689
a3cc4f48
JM
86902012-04-25 Joseph Myers <joseph@codesourcery.com>
8691
2ed8cda2
JM
8692 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8693 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8694 -DIS_IN_build.
8695
35d76d59
JM
8696 * timezone/README: Update upstream location and email address for
8697 tzcode and tzdata.
8698 * timezone/zdump.c: Update from tzcode 2012b.
8699 * timezone/zic.c: Likewise.
8700
a3cc4f48
JM
8701 * configure.in (libc_cv_as_needed): Remove test.
8702 * configure: Regenerated.
8703 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8704 conditional definition.
8705 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8706 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8707 * config.make.in (have-as-needed): Remove variable.
8708
ceab42c3
SP
87092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8710 Paul Pluzhnikov <ppluzhnikov@google.com>
8711
8712 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8713 strings correctly.
8714
3ce2865f
CLT
87152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8716
8717 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8718 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8719 * sysdeps/sh/strlen.S: Likewise.
8720
f37e0d68
JM
87212012-04-24 Joseph Myers <joseph@codesourcery.com>
8722
ae186e9a
JM
8723 * sysdeps/unix/fork.S: Remove file.
8724 * sysdeps/unix/i386/fork.S: Likewise.
8725 * sysdeps/unix/sparc/fork.S: Likewise.
8726
b96914af
JM
8727 * sysdeps/unix/system.c: Remove file.
8728 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8729
f37e0d68
JM
8730 * sysdeps/unix/getegid.S: Remove file.
8731 * sysdeps/unix/geteuid.S: Likewise.
8732
87ef29ca
RM
87332012-04-24 Roland McGrath <roland@hack.frob.com>
8734
83bcd236
RM
8735 * scripts/check-localplt.awk: New file.
8736 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8737 of diff.
8738 * scripts/data/localplt-generic.data: Add a comment.
8739
87ef29ca
RM
8740 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8741 NODE when __dir_mkfile failed.
8742 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8743 Reported by Ludovic Courtès <ludo@gnu.org>.
8744
e5a6e567
AJ
87452012-04-24 Andreas Jaeger <aj@suse.de>
8746
8747 * Makerules (common-clean): Also remove gen-as-const-headers
8748 files.
8749
c1820385
JM
87502012-04-24 Joseph Myers <joseph@codesourcery.com>
8751
8752 * Makerules (native-compile): Do not change working directory for
8753 build. Use $(OUTPUT_OPTION) in command.
8754 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8755
94e02fc4
AZ
87562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8757
8758 [BZ #13886]
8759 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8760 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8761 * math/libm-test.inc (floor_test): Add more tests.
8762 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8763
3a533ca3
JM
87642012-04-24 Joseph Myers <joseph@codesourcery.com>
8765
940ab4b3
JM
8766 * sysdeps/unix/getdents.c: Remove file.
8767 * sysdeps/unix/sysv/getdents.c: Likewise.
8768 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8769
90e037bd
JM
8770 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8771 sysdeps/unix/mman/syscalls.list.
8772 (mmap): Likewise.
8773 (mprotect): Likewise.
8774 (msync): Likewise.
8775 (munmap): Likewise.
8776 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8777 * sysdeps/unix/mman/syscalls.list: Remove.
8778 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8779
3a533ca3
JM
8780 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8781 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8782 * configure: Regenerated.
8783 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8784 $(libgcc_s_suffix).
8785 * config.make.in (libgcc_s_suffix): Remove variable.
8786
1ad743de
JM
87872012-04-23 Joseph Myers <joseph@codesourcery.com>
8788
4ad451e2
JM
8789 * sysdeps/unix/sysv/gethostname.c: Move to ...
8790 * sysdeps/posix/gethostname.c: ... here.
8791
5e37ce39
JM
8792 * sysdeps/unix/execve.S: Remove file.
8793
1ad743de
JM
8794 * sysdeps/unix/_exit.S: Remove file.
8795
4e681b5b
AJ
87962012-04-23 Andreas Jaeger <aj@suse.de>
8797
8798 [BZ #13739]
8799 * manual/Makefile: Remove make dist support, there's no
8800 need for a stand-alone documentation tar ball.
8801 (TEXI2DVI): Define always, it's not in Makeconfig.
8802 (dist): Removed.
8803 (tar-it): Removed.
8804 (edition): Removed.
8805 (glibc-doc-$(edition).tar): Removed
8806 (%.Z): Removed.
8807 (%.gz): Removed.
8808 (%.uu): Removed.
8809 (ETAGS): Remove, it's in Makeconfig.
8810 (move-if-change): Remove, it's in Makeconfig.
8811
c0baea34
PE
88122013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8813
8814 [BZ #13970]
8815 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8816 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8817 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8818 (strtod_l, strtof_l, strtold_l): Remove __wur.
8819 It is not necessarily an error to ignore strtol's return value.
8820 One can reliably look at the stored endptr to decide whether
8821 the number had valid syntax.
8822
7c0616fa
AJ
88232012-04-21 Andreas Jaeger <aj@suse.de>
8824
803cb6b7 8825 [BZ #13739]
7c0616fa
AJ
8826 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8827
b0fe253f
JM
88282012-04-21 Joseph Myers <joseph@codesourcery.com>
8829
8830 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8831 * sysdeps/unix/sysv/Versions: Remove file.
8832
8280f22d
MT
88332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8834
8835 [BZ #13927]
8836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8837
75ce411f 88382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8839
8840 [BZ #7064]
8841 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8842 version from __vm86.
8843
097d59fa
JM
88442012-04-20 Joseph Myers <joseph@codesourcery.com>
8845
a90f3bcb
JM
8846 * sysdeps/unix/common/lxstat.c: Remove file.
8847 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8848
edc7ea78
JM
8849 * sysdeps/unix/sysv/Makefile: Remove file.
8850
cb78c221
JM
8851 * sysdeps/unix/sysv/direct.h: Remove file.
8852
efa6a45f
JM
8853 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8854 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8855 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8856 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8857 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8858 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8859 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8860
9c9f2d0c
JM
8861 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8862
4541c83b
JM
8863 * sysdeps/unix/xmknod.c: Remove file.
8864 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8865
f5d153a0
JM
8866 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8867
aa746595
JM
8868 * sysdeps/unix/sysv/i386/time.S: Remove file.
8869
cce5905e
JM
8870 * sysdeps/unix/fxstat.c: Remove file.
8871 * sysdeps/unix/xstat.c: Likewise.
8872 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8873
37fa3841
JM
8874 * sysdeps/unix/sysv/sigaction.c: Remove file.
8875
ff1962a3
JM
8876 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8877 (sysdep_headers): Remove variable.
8878 [termio.h not in sysdep_headers] (generated): Likewise.
8879 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8880 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8881 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8882 * sysdeps/unix/sysv/tcflow.c: Likewise.
8883 * sysdeps/unix/sysv/tcflush.c: Likewise.
8884 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8885 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8886 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8887 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8888 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8889
e7740d31
JM
8890 * sysdeps/unix/siglist.c: Remove file.
8891
ee06f18b
JM
8892 * sysdeps/unix/getppid.S: Remove file.
8893
097d59fa
JM
8894 * sysdeps/unix/mkdir.c: Remove file.
8895 * sysdeps/unix/rmdir.c: Likewise.
8896
ff3d51ec
AS
88972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8898
8899 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8900 ERR_MAX value.
8901 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8902 errlist-compat value.
8903
50f81fd7
DM
89042012-04-18 David S. Miller <davem@davemloft.net>
8905
8906 * sysdeps/generic/memcopy.h (reg_char): Delete.
8907 * debug/strcat_chk.c: Use char, not reg_char.
8908 * debug/strcpy_chk.c: Likewise.
8909 * debug/strncat_chk.c: Likewise.
8910 * debug/strncpy_chk.c: Likewise.
8911 * string/memchr.c: Likewise.
8912 * string/memrchr.c: Likewise.
8913 * string/rawmemchr.c: Likewise.
8914 * string/strcat.c: Likewise.
8915 * string/strchr.c: Likewise.
8916 * string/strchrnul.c: Likewise.
8917 * string/strcmp.c: Likewise.
8918 * string/strcpy.c: Likewise.
8919 * string/strncat.c: Likewise.
8920 * string/strncmp.c: Likewise.
8921 * string/strncpy.c: Likewise.
8922
8ff41c46
WS
89232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8924
8925 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8926 __builtin_memcopy is called when src and dest ranges are known to not
8927 overlap.
8928
6b652f46
WS
89292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8930
8931 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8932 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8933 fwd_align_merge macro call.
8934 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8935 bwd_align_merge macro call.
8936 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8937
b282631e
WS
89382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8939
8940 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8941 bwd_align_merge macros.
8942 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8943 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8944 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8945
95aa737c
DM
89462012-04-18 David S. Miller <davem@davemloft.net>
8947
8948 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8949
7a99a614
AJ
89502012-04-18 Andreas Jaeger <aj@suse.de>
8951
8952 [BZ# 6794]
8953 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8954 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8955 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8956
8957 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8958 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8959 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8960
8961 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8962 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8963 Adjust for changed ldbl-128 files.
8964
8965 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8966 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8967 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8968
e5270c23
DM
89692012-04-17 David S. Miller <davem@davemloft.net>
8970
8971 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8972
fb5e92c9
AS
89732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8974
8975 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8976 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8977 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8978 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8979 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8980 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8981
76da7265
AZ
89822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8983
8984 [BZ #6794]
8985 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8986 * math/libm-test.inc: Add ilogb errno and exception tests.
8987 * math/w_ilogb.c: New file: ilogb wrapper.
8988 * math/w_ilogbf.c: New file: ilogbf wrapper.
8989 * math/w_ilogbl.c: New file: ilogbl wrapper.
8990 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8991 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8992 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8993 exception being thrown with 0.0 as argument.
8994 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8995 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8996 exception being thrown with 0.0 as argument.
8997 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8998 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8999 exception being thrown with 0.0 as argument.
9000 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9001 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9002 exception being thrown with 0.0 as argument.
9003 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9004 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9005 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9006 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9007 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9008 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9009 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9010 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9011 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9012
0396e69d
PB
90132012-04-17 Petr Baudis <pasky@ucw.cz>
9014
9015 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9016 with altivec.
9017
750b5926
MP
90182012-04-16 Marek Polacek <polacek@redhat.com>
9019
9020 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9021
751728a1
MP
90222012-04-16 Marek Polacek <polacek@redhat.com>
9023
9024 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9025 operands of fdivp instruction.
9026
34a27407
L
90272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9028
9029 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9030 * elf/tst-auditmod3b.c: Likewise.
9031 * elf/tst-auditmod4b.c: Likewise.
9032 * elf/tst-auditmod5b.c: Likewise.
9033 * elf/tst-auditmod6b.c: Likewise.
9034 * elf/tst-auditmod6c.c: Likewise.
9035 * elf/tst-auditmod7b.c: Likewise.
9036 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9037 * sysdeps/x86_64/preconfigure.in: Likewise.
9038 * sysdeps/x86_64/preconfigure: Regenerated.
9039
7e73e17d
L
90402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9041
9042 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9043 __ILP32__.
9044
c7a6ab72
AB
90452012-04-13 Antoine Balestrat <merkil33@gmail.com>
9046
9047 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9048 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9049
a9e8e0e0
CL
90502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9051
9052 [BZ #13973]
9053 * locale/iso-639.def: Fix gl language name. Spotted by
9054 Yaron Shahrabani.
9055
ec98af7d
RM
90562012-04-12 Roland McGrath <roland@hack.frob.com>
9057
9058 [BZ #2074]
9059 * libio/libio.h (__io_write_fn): Update comment.
9060
247c3ede
PB
90612012-04-12 Petr Baudis <pasky@ucw.cz>
9062
9063 [BZ #2074]
9064 * stdio.texi (Hook Functions): The user provided writer function
9065 is not allowed to return -1.
9066
55939d6d
DM
90672012-04-11 David S. Miller <davem@davemloft.net>
9068
9069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9070
90020f5a
MF
90712012-04-11 Mike Frysinger <vapier@gentoo.org>
9072
9073 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9074 Add a leading slash to rtkaio.
9075
288f9098
JM
90762012-04-11 Jim Meyering <meyering@redhat.com>
9077
90020f5a
MF
9078 [BZ #11959]
9079 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9080 It is not necessarily an error to ignore fwrite's return
9081 value. One can reliably use ferror to test for errors after
9082 the fact.
288f9098 9083
4be2b570
L
90842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9085
9086 * bits/types.h (__snseconds_t): New type.
9087 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9088
9089 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9091 (__SNSECONDS_T_TYPE): Likewise.
9092 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9093 (__SNSECONDS_T_TYPE): Likewise.
9094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9095 (__SNSECONDS_T_TYPE): Likewise.
9096
288f9098 90972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9098
9099 [BZ #2636]
9100 * manual/time.texi (Processor Time): Return type of times is
9101 elapsed real time since an arbitrary point in the past.
9102 (CPU Time): Move CLK_TCK from here...
9103 (Processor Time): ...to here. Correct description.
9104 * manual/conf.texi (Constants for Sysconf): Correct description of
9105 _SC_CLK_TCK.
9106
d7dd4413
DM
91072012-04-10 David S. Miller <davem@davemloft.net>
9108
9109 [BZ #13967]
9110 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9111 where the is a gap between DT_REL(A) and DT_JMPREL.
9112
b46068fc
L
91132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9114
9115 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9116 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9117 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9118
73d65cc3
SP
91192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9120
9121 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9122 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9123 (dl_main): Handle --inhibit-cache.
9124 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9125 _dl_inhibit_cache.
9126 * elf/dl-load.c (_dl_map_object): Use it.
9127 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9128
bcc8d661
JM
91292012-04-09 Joseph Myers <joseph@codesourcery.com>
9130
8f9a2fae
JM
9131 [BZ #13872]
9132 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9133 (__ieee754_powl): Saturate large exponents rather than testing for
9134 overflow of y*log2(x).
9135 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9136 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9137 exceptions.
9138
bcc8d661
JM
9139 [BZ #11521]
9140 * math/s_ctan.c: Include <float.h>.
9141 (__ctan): Avoid internal overflow or cancellation in calculating
9142 denominator.
9143 * math/s_ctanf.c: Likewise.
9144 * math/s_ctanl.c: Likewise.
9145 * math/s_ctanh.c: Likewise.
9146 * math/s_ctanhf.c: Likewise.
9147 * math/s_ctanhl.c: Likewise.
9148 * math/libm-test.inc (ctan_test): Add more tests.
9149 (ctanh_test): Likewise.
9150 * sysdeps/i386/fpu/libm-test-ulps: Update.
9151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9152
823fbbb4
AJ
91532012-04-09 Andreas Jaeger <aj@suse.de>
9154
03879793
AJ
9155 [BZ #6894]
9156 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9157 is an optional BSD extension.
9158
823fbbb4
AJ
9159 [BZ #10254]
9160 * manual/stdio.texi (Opening Streams): Document additional fopen
9161 parameters.
9162
8de131cb
RM
91632012-04-09 Roland McGrath <roland@hack.frob.com>
9164
9165 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9166 %eax without telling the compiler.
9167
c0ed9d7d
CD
91682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9169
9170 [BZ # 13963]
9171 * manual/install.texi: Use sourceware.org.
9172
c483f6b4
JM
91732012-04-09 Joseph Myers <joseph@codesourcery.com>
9174
d7dd9453
JM
9175 [BZ #13873]
9176 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9177 (__ieee754_pow): Generate overflow and underflow using huge*huge
9178 and tiny*tiny rather than just returning constant infinity or zero
9179 for large exponents.
9180 * math/libm-test.inc (pow_test): Require overflow exceptions for
9181 applicable cases of large exponents.
9182
c483f6b4
JM
9183 [BZ #706]
9184 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9185 (__ieee754_pow): Use iterative multiplication algorithm only for
9186 integer exponents with absolute value below 1024. Check for odd
9187 integer exponents when using algorithm for real exponents.
9188 * math/libm-test.inc (pow_test): Add more tests.
9189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9190
d2de7579
JM
91912012-04-08 Joseph Myers <joseph@codesourcery.com>
9192
9193 [BZ #13705]
9194 * math/libm-test.inc (exp_test): Do not allow overflow exception
9195 on underflow test.
9196
f77f1232
AJ
91972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9198
9199 [BZ #13705]
9200 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9201 instead of __kernel_standard_f.
9202
3884932b
MF
92032012-04-08 Mike Frysinger <vapier@gentoo.org>
9204
9205 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9206 * sysdeps/x86_64/memset_chk.S: Likewise.
9207
54472e9c
AJ
92082012-04-08 Andreas Jaeger <aj@suse.de>
9209
6ab0fbfc
AJ
9210 [BZ #10153]
9211 * manual/startup.texi (Environment Access): Describe return value
9212 for putenv and setenv.
9213
61efba8c
AJ
9214 [BZ #6895]
9215 * manual/filesys.texi (Directory Entries): Add description for
9216 DT_LNK.
9217
95c3f29a
AJ
9218 [BZ #6890]
9219 * manual/filesys.texi (Directory Entries): Clarify that it's file
9220 system not operating system in the description of DT_UNKNOWN.
9221
54472e9c
AJ
9222 [BZ #6578]
9223 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9224
624254b1
SC
92252012-04-08 Stephen Compall <s11@member.fsf.org>
9226
9227 [BZ #6649]
9228 * manual/llio.texi (Opening and Closing Files): Add cross
9229 reference to explain mode argument.
9230
1e4920e0
MF
92312012-04-07 Mike Frysinger <vapier@gentoo.org>
9232
9233 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9234 * sysdeps/x86_64/memset_chk.S: Likewise.
9235
5ed848f3
DM
92362012-04-07 David S. Miller <davem@davemloft.net>
9237
9238 * elf/elf.h (R_SPARC_WDISP10): Define.
9239 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9240 R_SPARC_SIZE32.
9241 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9242 R_SPARC_SIZE64 and R_SPARC_H34.
9243
96154cd8
CD
92442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9245
9246 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9247 conditions and remove no longer applicable assertion.
9248
9904dc47
L
92492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9250
9251 * bits/byteswap.h: Include <features.h>.
9252 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9253 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9254
f8887d0a
L
92552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9256
9257 * bits/byteswap.h (__bswap_16): Removed.
9258 Include <bits/byteswap-16.h> to get __bswap_16.
9259 * sysdeps/i386/bits/byteswap.h: Likewise.
9260 * sysdeps/s390/bits/byteswap.h: Likewise.
9261 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9262 * bits/byteswap-16.h: New file.
9263 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9264 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9265 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9266 * string/Makefile (headers): Add bits/byteswap-16.h.
9267
62470f60
PP
92682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9269
9270 [BZ #13895]
9271 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9272 extra indirection.
9273 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9274 * nss/tst-nss-static.c: New.
9275
4dad7bab
RM
92762012-04-06 Robert Millan <rmh@gnu.org>
9277
9278 [BZ #6486]
9279 * manual/llio.texi (File Position Primitive): lseek
9280 refers to WHENCE when it really means OFFSET.
9281
e9142a17
AJ
92822012-04-06 Andreas Jaeger <aj@suse.de>
9283
2c040eff
AJ
9284 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9285 strncmp declarations.
9286
e9142a17
AJ
9287 * abilist/libc.abilist: Add __poll and __ppoll.
9288
ff9f1c5f
DM
92892012-04-05 David S. Miller <davem@davemloft.net>
9290
dcd2ae90
DM
9291 * scripts/check-local-headers.sh: Accept a host triplet in the
9292 path matched by the exclude regexp.
9293
993eb054
DM
9294 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9295 definition.
9296 * sysdeps/powerpc/powerpc32/dl-machine.h
9297 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9298 * sysdeps/s390/s390-32/dl-machine.h
9299 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9300 * sysdeps/sparc/sparc32/dl-machine.h
9301 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9302 * sysdeps/sparc/sparc64/dl-machine.h
9303 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9304
ff9f1c5f
DM
9305 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9306 lazy binding.
48e2e132 9307 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9308 undefined symbol errors.
9309
48e2e132 9310 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9311 DT_NEEDED entries.
9312
e80d6f94
MM
93132012-04-05 Michael Matz <matz@suse.de>
9314
9315 [BZ #13592]
9316 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9317
349fa79f
AJ
93182012-04-05 Andreas Jaeger <aj@suse.de>
9319
9320 [BZ #13908]
9321 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9322 comment.
9323
f402708f
KK
93242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9325
9326 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9327 which ROUND is no valid rounding mode.
9328
2ecccfc9
KK
93292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9330
9331 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9332 read again.
9333 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9334
8a53f50f
KK
93352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9336
9337 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9338 an exception using FPU order intentionally.
9339
93402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9341
9342 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9343 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9344 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9345 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9346
d653abb7
SJ
93472012-04-05 Simon Josefsson <simon@josefsson.org>
9348
9349 [BZ #12340]
9350 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9351 EINVAL when BUFLEN is too smal.
9352
c3b1bf7d
TS
93532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9354
9355 [BZ #13553]
9356 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9357 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9358
b1aa60f3
AJ
93592012-04-03 Andreas Jaeger <aj@suse.de>
9360
c3b1bf7d 9361 [BZ #13938]
67f60a26
AJ
9362 * manual/setjmp.texi (System V contexts): Fix sentence.
9363
b1aa60f3
AJ
9364 [BZ #13926]
9365 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9366 New macro for this case.
9367 [!__GNUC__] (__bswap_64): New inline function for this case.
9368 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9369 * bits/byteswap.h: Likewise.
9370 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9371 ull, guard with __GLIBC_HAVE_LONG_LONG.
9372
9373 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9374 __GLIBC_HAVE_LONG_LONG.
9375
9376 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9377 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9378
39c59c35
TMQMF
93792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9380
9381 [BZ #13691]
9382 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9383 inptr and inend, rather than using last_ch.
9384
135ffda8
DM
93852012-04-02 David S. Miller <davem@davemloft.net>
9386
9387 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9388 * stdio-common/printf-parse.h (read_int): Change return type to
9389 'int', return -1 on INT_MAX overflow.
9390 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9391 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9392 overflows INT_MAX. Check for overflow of in-format-string precision
9393 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9394 SIZE_MAX not INT_MAX for integer overflow test.
9395 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9396 skip the construct in the format string but do not record anything.
9397 * stdio-common/bug22.c: Adjust to test both width/prevision
9398 INT_MAX overflow as well as total length INT_MAX overflow. Check
9399 explicitly for proper errno values.
9400
228c019e
TS
94012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9402
302cadd3
TS
9403 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9404 CHAR_MAX.
9405 * string/test-strcmp.c [! WIDE]: Likewise.
9406 * time/tst-mktime2.c: Likewise for INT_MAX.
9407 * string/test-string.h: #include <sys/param.h> for MIN.
9408
228c019e
TS
9409 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9410 * sysdeps/i386/init-first.c (init): Likewise.
9411 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9412 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9413 * sysdeps/sh/init-first.c (init): Likewise.
9414
cfa633f5
UD
94152012-04-01 Ulrich Drepper <drepper@gmail.com>
9416
9417 * po/ru.po: Update from translation team.
d1635ef8 9418 * po/vi.po: Likewise.
cfa633f5 9419
6cd0a5ea
SP
94202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9421
9422 * resolv/nss_dns/dns-host.c: Merge copyright years.
9423
4b43400f
LD
94242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9425
9426 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9427 Optimize memcpy with prefetch if
9428 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9429 src, dst pointers have unequal 16 byte alignments.
9430
48c41d04
SP
94312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9432
9433 [BZ #13928]
9434 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9435 from a CNAME entry and return the minimum ttl for the query.
9436 (gaih_getanswer_slice): Likewise.
9437
b8dc394d
JL
94382012-03-30 Jeff Law <law@redhat.com>
9439
9440 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9441 due to long keys.
9442 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9443 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9444
2f5a5ed0
JL
9445 * resolv/nss_dns/dns-host.c: Update copyright year.
9446
1d39e359
UD
94472012-03-30 Ulrich Drepper <drepper@gmail.com>
9448
c030f70c 9449 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9450 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9451
1d39e359
UD
9452 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9453 comments for sendmmsg.
9454
94552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9456
9457 [BZ #13691]
9458 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9459 with only 1 character between 0x0041 and 0x01b0.
9460 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9461 * wcsmbs/tst-mbsnrtowcs.c: New file.
9462
20fde227
DM
94632012-03-29 David S. Miller <davem@davemloft.net>
9464
9465 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9466 small copies by hand.
9467
984a4237
JL
94682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9469
9470 [BZ #13761]
9471 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9472 _nss_compat_initgroups_dyn): Fall back to malloc/free
9473 for large group memberships.
9474
18c9d62b
DM
94752012-03-28 David S. Miller <davem@davemloft.net>
9476
88d85d4f
DM
9477 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9478 that branches into memcpy.
9479 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9480 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9481 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9482 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9484 bits.
9485 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9486 implementation too.
9487 * sysdeps/sparc/mempcpy.S: New file.
9488
e5aa83e1
DM
9489 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9490 the IFUNC routine in the libc case.
9491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9492
88570753
DM
9493 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9494 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9495 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9496 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9497 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9498 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9499 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9500 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9501
249d7567
DM
9502 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9503 loop to 256 bytes instead of 64 bytes and fix test signedness.
9504
18c9d62b
DM
9505 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9506 * sysdeps/sparc/sparc32/Makefile: rather than here...
9507 * sysdeps/sparc/sparc64/Makefile: and here.
9508
05f3d1f6
UD
95092012-03-28 Ulrich Drepper <drepper@gmail.com>
9510
9511 * malloc/mallocbug.c: Avoid warnings about unused variables.
9512
86ae07a8
JL
95132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9514
9515 [BZ #13760]
9516 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9517 in the right place. Discard and retry query if response is
9518 larger than input buffer size.
9519
41bf21a1
JM
95202012-03-28 Joseph Myers <joseph@codesourcery.com>
9521
d6270972
JM
9522 [BZ #369]
9523 [BZ #2678]
9524 [BZ #3866]
9525 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9526 x for large integer exponent.
9527 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9528 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9529 sign of result as needed afterwards.
9530 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9531 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9532 result for underflowing pow the same as for overflow.
9533 (__kernel_standard_l): Handle powl overflow and underflow here
9534 rather than calling __kernel_standard.
9535 * math/libm-test.inc (pow_test): Add more tests.
9536
414fca03 9537 [BZ #3868]
41bf21a1
JM
9538 [BZ #13879]
9539 [BZ #13910]
9540 [BZ #13911]
9541 [BZ #13912]
9542 [BZ #13913]
9543 [BZ #13915]
9544 [BZ #13916]
9545 [BZ #13917]
9546 [BZ #13918]
9547 [BZ #13919]
9548 [BZ #13920]
9549 [BZ #13921]
9550 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9551 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9552 (__kernel_standard_l): New function.
9553 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9554 __kernel_standard.
9555 * math/w_acosl.c (__acosl): Likewise.
9556 * math/w_asinl.c (__asinl): Likewise.
9557 * math/w_atan2l.c (__atan2l): Likewise.
9558 * math/w_atanhl.c (__atanhl): Likewise.
9559 * math/w_coshl.c (__coshl): Likewise.
9560 * math/w_exp10l.c (__exp10l): Likewise.
9561 * math/w_exp2l.c (__exp2l): Likewise.
9562 * math/w_fmodl.c (__fmodl): Likewise.
9563 * math/w_hypotl.c (__hypotl): Likewise.
9564 * math/w_j0l.c (__j0l, __y0l): Likewise.
9565 * math/w_j1l.c (__j1l, __y1l): Likewise.
9566 * math/w_jnl.c (__jnl, __ynl): Likewise.
9567 * math/w_lgammal.c (__lgammal): Likewise.
9568 * math/w_log10l.c (__log10l): Likewise.
9569 * math/w_log2l.c (__log2l): Likewise.
9570 * math/w_logl.c (__logl): Likewise.
9571 * math/w_powl.c (__powl): Likewise.
9572 * math/w_remainderl.c (__remainderl): Likewise.
9573 * math/w_scalbl.c (sysv_scalbl): Likewise.
9574 * math/w_sinhl.c (__sinhl): Likewise.
9575 * math/w_sqrtl.c (__sqrtl): Likewise.
9576 * math/w_tgammal.c (__tgammal): Likewise.
9577 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9578 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9579 * math/libm-test.inc (acos_test): Add more tests.
9580 (acosh_test): Likewise.
9581 (asin_test): Likewise.
9582 (atanh_test): Likewise.
9583 (exp_test): Likewise.
9584 (exp10_test): Likewise.
9585 (exp2_test): Likewise.
9586 (expm1_test): Likewise.
9587 (lgamma_test): Likewise.
9588 (log_test): Likewise.
9589 (log10_test): Likewise.
9590 (log1p_test): Likewise.
9591 (log2_test): Likewise.
9592 (pow_test): Do not allow some spurious overflow exceptions.
9593 (sqrt_test): Add more tests.
9594 (tgamma_test): Likewise.
9595 (y0_test): Likewise.
9596 (y1_test): Likewise.
9597 (yn_test): Likewise.
9598
dd62fda6
AB
95992012-03-27 Anton Blanchard <anton@samba.org>
9600
9601 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9602 MAP_HUGETLB.
9603 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9604 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9606
1e3cdfda
AJ
96072012-03-27 David S. Miller <davem@davemloft.net>
9608
b855ab85
DM
9609 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9610
1e3cdfda
AJ
9611 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9612 have-as-vis3 check.
9613
96142012-03-27 Andreas Jaeger <aj@suse.de>
9615
9616 * sysdeps/x86_64/elf/configure.in: Moved to ...
9617 * sysdeps/x86_64/configure.in: ... here.
9618 * sysdeps/x86_64/elf/start.S: Moved to ...
9619 * sysdeps/x86_64/start.S: ... here.
9620 * sysdeps/x86_64/elf/configure: Delete.
9621
9622 * sysdeps/x86_64/configure.in: Merge contents from
9623 sysdeps/i386/configure.in (without i686 check).
9624
9625 * sysdeps/i386/elf/Versions: Merge into ...
9626 * sysdeps/i386/Versions: ... this.
9627 * sysdeps/i386/elf/Versions: Delete file.
9628 * sysdeps/i386/elf/start.S: Moved to ...
9629 * sysdeps/i386/start.S: ...here.
9630 * sysdeps/i386/elf/configure.in: Merge into...
9631 * sysdeps/i386/configure.in: ...here.
9632 * sysdeps/i386/elf/configure.in: Delete file.
9633 * sysdeps/i386/elf/configure: Delete file.
9634
9635 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9636 * debug/backtracesyms.c: ... here.
9637 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9638 * debug/backtracesymsfd.c: ... here.
9639 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9640 * sysdeps/generic/ifunc-sel.h: ... here.
9641
9642 * sysdeps/unix/i386/start.c: Delete file.
9643 * sysdeps/unix/sparc/start.c: Delete file.
9644 * sysdeps/unix/start.c: Delete file.
9645
9646 * sysdeps/sh/elf/configure.in: Moved to ...
9647 * sysdeps/sh/configure.in: ... here.
9648 * sysdeps/sh/elf/start.S: Moved to ...
9649 * sysdeps/sh/start.S: ... here.
9650 * sysdeps/sh/elf/configure: Delete file.
9651
9652 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9653 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9654 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9655 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9656 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9657 * sysdeps/powerpc/powerpc64/start.S: here.
9658 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9659 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9660 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9661 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9662 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9663
9664 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9665 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9666 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9667 * sysdeps/powerpc/powerpc32/start.S: ... here.
9668 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9669 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9670 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9671
9672 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9673 * sysdeps/powerpc/ifunc-sel.h: ... here.
9674 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9675 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9676
9677 * sysdeps/sparc/elf/configure.in: Moved to ...
9678 * sysdeps/sparc/configure.in: ... here.
9679 * sysdeps/sparc/elf/configure: Delete file.
9680 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9681 * sysdeps/sparc/sparc32/start.S: ... here.
9682 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9683 * sysdeps/sparc/sparc64/start.S: ... here.
9684 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9685 * sysdeps/sparc/sparc32/Makefile: ... this.
9686 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9687 * sysdeps/sparc/sparc64/Makefile: ... this.
9688
9689 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9690 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9691 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9692 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9693 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9694 * sysdeps/s390/s390-32/setjmp.S: ... here.
9695 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9696 * sysdeps/s390/s390-32/configure.in: ... here.
9697 * sysdeps/s390/s390-32/elf/configure: Delete file.
9698 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9699 * sysdeps/s390/s390-32/start.S: ... here.
9700
9701 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9702 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9703 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9704 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9705 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9706 * sysdeps/s390/s390-64/setjmp.S: ... here.
9707 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9708 * sysdeps/s390/s390-64/configure.in: ... here
9709 * sysdeps/s390/s390-64/elf/configure: Delete file.
9710 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9711 * sysdeps/s390/s390-64/start.S: ... here.
9712 * sysdeps/s390/s390-64/elf/configure: Delete.
9713
9714 * configure.in: Remove support for elf directories in sysdeps.
9715
9716 * configure: Regenerated.
9717 * sysdeps/i386/configure: Regenerated.
9718 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9719 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9720 * sysdeps/s390/s390-32/configure: Regenerated.
9721 * sysdeps/s390/s390-64/configure: Regenerated.
9722 * sysdeps/sh/configure: Regenerated.
9723 * sysdeps/sparc/configure: Regenerated.
9724 * sysdeps/x86_64/configure: Regenerated.
9725
a3f61311
AS
97262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9727
c876e002
AS
9728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9729
a3f61311
AS
9730 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9731 denormal result into account.
9732
ac4c54f0
RM
97332012-03-25 Roland McGrath <roland@hack.frob.com>
9734
9735 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9736 Reported by Allan McRae <allan@archlinux.org>.
9737
6a9b9c02
JL
97382012-03-23 Jeff Law <law@redhat.com>
9739
9740 * nss/getnssent.c (__nss_getent): Fix typo.
9741
4c42a0c1
DM
97422012-03-23 David S. Miller <davem@davemloft.net>
9743
9744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9745
1532c7ac
L
97462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9747
9748 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9749 to pad to uint64_t for each field.
9750 (dl_tls_index): Replace unsigned long with uint64_t.
9751
3ff42526
PP
97522012-03-23 Daniel Jacobowitz <dmj@google.com>
9753 Paul Pluzhnikov <ppluzhnikov@google.com>
9754
9755 [BZ #6528]
9756 * grp/Makefile (otherlibs): Don't set it.
9757 * inet/Makefile (otherlibs): Likewise.
9758 * login/Makefile (otherlibs): Likewise.
9759 * nscd/Makefile (otherlibs): Likewise.
9760 * posix/Makefile (otherlibs): Likewise.
9761 * pwd/Makefile (otherlibs): Likewise.
9762 * rt/Makefile (otherlibs): Likewise.
9763 * sunrpc/Makefile (otherlibs): Likewise.
9764 * nss/Makefile (otherlibs): Likewise.
9765 Add libnss_files to routines and static-only-routines.
9766 ($(objpfx)getent): Remove rule.
9767 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9768 static-only-routines.
9769
7c69cd14
JM
97702012-03-22 Joseph Myers <joseph@codesourcery.com>
9771
9772 [BZ #13892]
9773 * math/s_cexp.c: Include <float.h>.
9774 (__cexp): Handle exp result overflowing not necessarily
9775 overflowing both real and imaginary parts of result.
9776 * math/s_cexpf.c: Likewise.
9777 * math/s_cexpl.c: Likewise.
9778 * math/libm-test.inc (cexp_test): Add more tests.
9779 * sysdeps/i386/fpu/libm-test-ulps: Update.
9780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9781
81b035fe
L
97822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9783
9784 * include/link.h (ELFW): New macro.
9785 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9786 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9787
1da7940c
L
97882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9789
9790 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9791 with uint64_t.
9792
b749dbb9
L
97932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9794
9795 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9796 declaration.
9797 (struct La_x32_retval): Likewise.
9798
2ff87f3f
L
97992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9800
9801 * sysdeps/x86_64/preconfigure.in: New file.
9802 * sysdeps/x86_64/preconfigure: New generated file.
9803
c0df8e69
JM
98042012-03-22 Joseph Myers <joseph@codesourcery.com>
9805
48e44791
JM
9806 [BZ #13824]
9807 * math/e_exp2l.c: Include <float.h>.
9808 (__ieee754_exp2l): Handle overflow and underflow cases
9809 separately. Only pass fractional part of argument to
9810 __ieee754_expl.
9811 * math/libm-test.inc (exp2_test): Add more tests.
9812
c0df8e69
JM
9813 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9814 negating x to take absolute value.
9815 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9816 Likewise.
9817 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9818 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9819 Likewise.
9820 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9821 computing low part if x was negated.
9822 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9823
c8e43ba7
L
98242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9825
9826 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9827 la_x32_gnu_pltexit.
9828 (pltexit): Cast int_retval to ptrdiff_t.
9829 * elf/tst-auditmod3b.c: Likewise.
9830 * elf/tst-auditmod4b.c: Likewise.
9831 * elf/tst-auditmod5b.c: Likewise.
9832 * elf/tst-auditmod6b.c: Likewise.
9833 * elf/tst-auditmod6c.c: Likewise.
9834 * elf/tst-auditmod7b.c: Likewise.
9835
9836 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9837 and x32_gnu_pltexit.
9838
9839 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9840 __ELF_NATIVE_CLASS.
9841 (La_x32_regs): New macro.
9842 (La_x32_retval): Likewise.
9843 (la_x32_gnu_pltenter): New function prototype.
9844 (la_x32_gnu_pltexit): Likewise.
9845
7998fa78
AS
98462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9847
dcb33988
AS
9848 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9849 exponent.
9850
233fc563
AS
9851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9852
7998fa78
AS
9853 * configure.in (libc_cv_cc_nofma): Check for option to disable
9854 generation of FMA instructions.
9855 * configure: Regenerate.
9856 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9857 * sysdeps/ieee754/dbl-64/Makefile: New file.
9858 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9859 Remove brandred-fma4.
9860 (CFLAGS-brandred-fma4.c): Remove.
9861 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9862 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9863 define.
9864 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9865 define.
9866
8e95c99a
L
98672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9868
9869 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9870 LLONG_MAX != LONG_MAX.
9871 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9872 (_fitoa_word): Likewise.
9873 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9874 LLONG_MAX != LONG_MAX.
9875 * stdio-common/_itowa.h: Include <_itoa.h>.
9876 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9877 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9878 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9879 only if not defined.
9880 (_ITOA_WORD_TYPE): Likewise.
9881 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9882 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9883
6f4db457
DM
98842012-03-21 David S. Miller <davem@davemloft.net>
9885
9886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9887
7785fe5a
L
98882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9889
9890 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9891 of x86_64 when setting libc_cv_slibdir, libdir and
9892 libc_cv_localedir.
9893 * sysdeps/unix/sysv/linux/configure: Regenerated.
9894
4535cd55
JM
98952012-03-21 Joseph Myers <joseph@codesourcery.com>
9896
9897 * manual/lang.texi (Old Varargs): Remove section.
9898 (How Variadic): Update menu.
9899 (va_start): Do not mention varargs.h.
9900
17228132
TS
99012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9902 Joseph Myers <joseph@codesourcery.com>
9903
9904 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9905 link test.
9906 * configure: Regenerated.
9907
8149f976
TS
99082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9909
05f3d1f6
UD
9910 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9911 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9912 conformtest.pl
8149f976 9913
1a4ac776
JM
99142012-03-21 Joseph Myers <joseph@codesourcery.com>
9915
be22ce65
JM
9916 * NOTES: Remove.
9917 * Makefile (files-for-dist): Remove NOTES.
9918 (NOTES): Remove rule.
9919 * README: Don't refer to NOTES.
9920 * manual/creature.texi: Don't include macros.texi.
9921 * manual/intro.texi (creature.texi): Remove comment referring to
9922 NOTES.
9923
40b601fb
JM
9924 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9925 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9926 * configure: Regenerated.
9927 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9928 LIBC_TRY_CC_OPTION.
9929 (libc_cv_as_i686): Likewise.
9930 (libc_cv_cc_avx): Likewise.
9931 (libc_cv_cc_sse2avx): Likewise.
9932 (libc_cv_cc_fma4): Likewise.
9933 (libc_cv_cc_novzeroupper): Likewise.
9934 * sysdeps/i386/configure: Regenerated.
9935
1a4ac776
JM
9936 [BZ #13883]
9937 * sysdeps/i386/fpu/s_cexp.S: Remove.
9938 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9939 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9940 * math/libm-test.inc (cexp_test): Add more tests.
9941 * sysdeps/i386/fpu/libm-test-ulps: Update.
9942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9943
a458e7fe
AM
99442012-03-21 Allan McRae <allan@archlinux.org>
9945
9946 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9947
0cb7efc5
JM
99482012-03-21 Joseph Myers <joseph@codesourcery.com>
9949
9950 [BZ #13871]
9951 * math/w_exp2.c: Do not include <float.h>.
9952 (o_threshold, u_threshold): Remove.
9953 (__exp2): Calculate result before checking finiteness and calling
9954 __kernel_standard.
9955 * math/w_exp2f.c: Likewise.
9956 * math/w_exp2l.c: Likewise.
9957 * math/libm-test.inc (exp2_test): Require overflow exception for
9958 1e6 input.
2460d3aa
JM
9959
9960 [BZ #3866]
9961 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9962 range of signed 64-bit integers before using fistpll. Remove
9963 checks for whether integers fit in mantissa bits.
9964 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9965 the range of signed 32-bit integers before using fistpl. Remove
9966 checks for whether integers fit in mantissa bits.
9967 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9968 (__ieee754_powl): Test for y outside the range of signed 64-bit
9969 integers before using fistpll. Reduce 64-bit values to 63-bit
9970 ones as needed.
9971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9972 divide-by-zero is raised for zero to large negative powers.
9973 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9974 (__ieee754_powl): Test for y outside the range of signed 64-bit
9975 integers before using fistpll. Reduce 64-bit values to 63-bit
9976 ones as needed.
9977 * math/libm-test.inc (pow_test): Add more tests.
9978
eb96ffb0
L
99792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9980
9981 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9982 <stdio-common/_itoa.h>.
9983 * debug/segfault.c: Likewise.
9984 * elf/dl-cache.c: Likewise.
9985 * elf/dl-minimal.c: Likewise.
9986 * elf/dl-misc.c: Likewise.
9987 * elf/dl-sysdep.c: Likewise.
9988 * elf/dl-version.c: Likewise.
9989 * elf/rtld.c: Likewise.
9990 * hurd/hurdsock.c: Likewise.
9991 * hurd/lookup-retry.c: Likewise.
9992 * malloc/malloc.c: Likewise.
9993 * malloc/mtrace.c: Likewise.
9994 * nscd/nscd_getgr_r.c: Likewise.
9995 * nscd/nscd_getpw_r.c: Likewise.
9996 * nscd/nscd_getserv_r.c: Likewise.
9997 * posix/getopt_init.c: Likewise.
9998 * posix/wordexp.c: Likewise.
9999 * stdio-common/_itoa.c: Likewise.
10000 * stdio-common/printf_fphex.c: Likewise.
10001 * stdio-common/vfprintf.c: Likewise.
10002 * string/_strerror.c: Likewise.
10003 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10004 * sysdeps/i386/i686/hp-timing.h: Likewise.
10005 * sysdeps/mach/_strerror.c: Likewise.
10006 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10007 * sysdeps/mach/hurd/sethostid.c: Likewise.
10008 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10009 * sysdeps/mach/xpg-strerror.c: Likewise.
10010 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10011 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10012 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10013 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10014 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10015 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10016 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10017 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10018 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10019 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10020 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10021 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10022 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10023 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10024 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10025 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10026 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10027 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10028 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10029 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10030 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10031
10032 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10033
10034 * stdio-common/_itoa.h: Moved to ...
10035 * sysdeps/generic/_itoa.h: Here.
10036
10037 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10038
10039 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10040 instead of "_itoa.h" and "_itowa.h".
10041 * stdio-common/vfprintf.: Likewise.
10042
d1af992d
L
100432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10044
10045 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10046 <bits/wordsize.h>.
10047 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10048 (__signbit): Likwise.
10049 (llrintf): Likwise.
10050 (llrint): Likwise.
10051
114883e0
L
100522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10053
10054 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10055 __WORDSIZE != 64.
10056
c135cc1b
JM
100572012-03-20 Joseph Myers <joseph@codesourcery.com>
10058
10059 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10060 OVERFLOW_EXCEPTION_OK.
10061 * math/libm-test.inc ("Philosophy"): Update comment about
10062 exception testing.
10063 (OVERFLOW_EXCEPTION): Define.
10064 (OVERFLOW_EXCEPTION_OK): Likewise.
10065 (INVALID_EXCEPTION_OK): Renumber.
10066 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10067 (IGNORE_ZERO_INF_SIGN): Likewise.
10068 (test_exceptions): Handle FE_OVERFLOW.
10069 (exp10_test): Expect overflow exceptions.
10070 (exp2_test): Likewise.
10071 (expm1_test): Likewise.
10072 (nextafter_test): Likewise.
10073 (pow_test): Likewise.
10074 (scalbn_test): Likewise.
10075 (scalbln_test): Likewise.
10076
95443d88
L
100772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10078
10079 * sysdeps/x86_64/bits/atomic.h
10080 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10081 64bit integer.
10082 (atomic_exchange_acq): Likewise.
10083 (__arch_exchange_and_add_body): Likewise.
10084 (__arch_add_body): Likewise.
10085 (atomic_add_negative): Likewise.
10086 (atomic_add_zero): Likewise.
10087
490df6c4
L
100882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10089
c2722551 10090 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10091 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10092
5e52b189
L
100932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10094
10095 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10096 Check __x86_64__ instead of __WORDSIZE.
10097
a9879d4c
L
100982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10099
10100 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10101
5df98260
DM
101022012-03-19 David S. Miller <davem@davemloft.net>
10103
e1497744
DM
10104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10105
5df98260
DM
10106 * sysdeps/sparc/fpu/fenv_private.h: New file.
10107 * sysdeps/sparc/fpu/math_private.h: Use it.
10108 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10109 Remove.
10110 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10111 (libc_feholdexcept_setroundl): Remove.
10112 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10113 Remove.
10114 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10115 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10116
b4c35121
L
101172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10118
10119 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10120 int64_t instead of long int.
10121 (INSERT_WORDS64): Likwise.
10122
56965fd7
L
101232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10124
10125 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10126 _Unwind_GetCFA return to _Unwind_Ptr first.
10127
83d1aec8
JM
101282012-03-19 Joseph Myers <joseph@codesourcery.com>
10129
1897ad44
JM
10130 [BZ #13629]
10131 * math/s_clog.c: Include <float.h>.
10132 (__clog): Scale large or subnormal inputs.
10133 * math/s_clogf.c: Likewise.
10134 * math/s_clogl.c: Likewise.
10135 * math/s_clog10.c: Include <float.h>.
10136 (M_LOG10_2): Define.
10137 (__clog10): Scale large or subnormal inputs.
10138 * math/s_clog10f.c: Likewise.
10139 * math/s_clog10l.c: Likewise.
10140 * math/libm-test.inc (clog_test): Add more tests.
10141 (clog10_test): Likewise.
10142 * sysdeps/i386/fpu/libm-test-ulps: Update.
10143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10144
7726d6a9
JM
10145 [BZ #11451]
10146 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10147 x and y.
10148 * math/libm-test.inc (atan2_test): Add another test.
10149
83d1aec8
JM
10150 * Makerules (common-objdir-compile): Remove.
10151 * sysdeps/unix/Makefile (config-generated): Do not add
10152 $(unix-generated) to variable.
10153 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10154 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10155 Remove rule.
10156 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10157 Likewise.
10158 [generic bits/local_lim.h] (before-compile): Do not append to
10159 variable.
10160 [generic bits/local_lim.h] (common-generated): Likewise.
10161 [generic sys/param.h] (before-compile): Do not append to variable.
10162 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10163 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10164 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10165 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10166 include.
10167 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10168 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10169 [generic sys/param.h] ($(addprefix
10170 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10171 [generic sys/param.h] (common-generated): Do not append to
10172 variable.
10173 [generic sys/param.h] (sysdep_headers): Likewise.
10174 [generic bits/errno.h] (before-compile): Do not append to
10175 variable.
10176 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10177 rule.
10178 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10179 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10180 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10181 [generic bits/errno.h] (common-generated): Do not append to
10182 variable.
10183 [generic bits/ioctls.h] (before-compile): Do not append to
10184 variable.
10185 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10186 rule.
10187 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10188 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10189 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10190 rule.
10191 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10192 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10193 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10194 [generic bits/ioctls.h] (common-generated): Do not append to
10195 variable.
10196 [generic sys/syscall.h] (syscall.h): Remove variable.
10197 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10198 rule.
10199 [generic sys/syscall.h] (before-compile): Do not append to
10200 variable.
10201 [generic sys/syscall.h] (common-generated): Likewise.
10202 * sysdeps/unix/errnos-tmpl.c: Remove file.
10203 * sysdeps/unix/errnos.awk: Likewise.
10204 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10205 * sysdeps/unix/ioctls.awk: Likewise.
10206 * sysdeps/unix/mk-local_lim.c: Likewise.
10207 * sysdeps/unix/snarf-ioctls: Likewise.
10208
4851a949
RH
102092012-03-19 Richard Henderson <rth@twiddle.net>
10210
bd37f2ee
RH
10211 * sysdeps/i386/fpu/fenv_private.h: New file.
10212 * sysdeps/i386/fpu/math_private.h: Use it.
10213 (math_opt_barrier, math_force_eval): Remove.
10214 (libc_feholdexcept_setround_53bit): Remove.
10215 (libc_feupdateenv_53bit): Remove.
10216 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10217 (math_opt_barrier, math_force_eval): Remove.
10218 (libc_feholdexcept): Remove.
10219 (libc_feholdexcept_setround): Remove.
10220 (libc_fetestexcept, libc_fesetenv): Remove.
10221 (libc_feupdateenv_test): Remove.
10222 (libc_feupdateenv, libc_feholdsetround): Remove.
10223 (libc_feresetround): Remove.
10224
d0adc922
RH
10225 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10226 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10227
0fe0f1f8
RH
10228 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10229 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10230 (libc_feupdateenv_testl): New.
10231 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10232 (libc_feupdateenv_testf): New.
10233 (libc_feupdateenv): Use libc_feupdateenv_test.
10234 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10235 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10236
eb92c487
RH
10237 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10238 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10239 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10240 (libc_feresetround_noex): New.
10241 (libc_feresetround_noexf): New.
10242 (libc_feresetround_noexl): New.
10243 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10244 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10245 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10246 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10247 SET_RESTORE_ROUND.
10248 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10249 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10250 (__cos): Likewise.
10251 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10252 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10253 SET_RESTORE_ROUND_NOEX.
10254 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10255 SET_RESTORE_ROUND_NOEXF.
10256 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10257 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10258 (libc_feholdsetroundf): New.
10259 (libc_feresetround, libc_feresetroundf): New.
10260
7d2e8012
RH
10261 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10262 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10263 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10264
b4dabbb4
RH
10265 * sysdeps/generic/math_private.h: Include <fenv.h>.
10266 (default_libc_feholdexcept): New.
10267 (default_libc_feholdexcept_setround): New.
10268 (default_libc_fesetenv, default_libc_feupdateenv): New.
10269 (libc_feholdexcept): Only define if undefined.
10270 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10271 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10272 (libc_feholdexcept_setroundl): Likewise.
10273 (libc_feholdexcept_setround_53bit): Likewise.
10274 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10275 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10276 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10277 (libc_feupdateenv_53bit): Likewise.
10278 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10279 (libc_feholdexcept): Convert from macro to inline function.
10280 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10281 (libc_fesetenv, libc_feupdateenv): Likewise.
10282
4851a949
RH
10283 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10284 not previously defined.
10285 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10286 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10287 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10288 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10289 * sysdeps/ieee754/flt-32/math_private.h: New file.
10290 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10291 math_private.h below SET_FLOAT_WORD.
10292 (__isnan, __isinf_ns, __finite): Remove.
10293 (__isnanf, __isinf_nsf, __finitef): Remove.
10294
e79d442e
AS
102952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10296
10297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10298
90b80344
DM
102992012-03-17 David S. Miller <davem@davemloft.net>
10300
10301 [BZ #6471]
10302 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10303 for 2.16.
10304
edc21804
DM
103052012-03-16 David S. Miller <davem@davemloft.net>
10306
77e927af
DM
10307 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10308 warnings.
10309
374976dd
DM
10310 [BZ #6471]
10311 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10312 properly.
10313 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10314 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10315 sysdep_routines when subdir is sysvipc.
10316 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10317 __getshmlba helper.
10318
edc21804
DM
10319 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10320
473c3ef3
L
103212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10322
10323 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10324 [__LP64__].
10325
eb0f39b6
L
103262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10327
10328 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10329 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10330 (__lround): Renamed to ...
10331 (__llround): This. Replace long int with long long int.
10332 Define lround functions as aliases of llround functions.
10333 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10334
6b6cd74b
L
103352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10336
10337 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10338 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10339 adresses to uintptr_t. Replace "long int" and "unsigned long
10340 int" with "greg_t" on va_arg.
10341
f1a77b01
L
103422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10343
10344 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10345 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10346
10347 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10348 Move e_machine check before EI_CLASS check. Handle x32
10349 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10350 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10351 SKIP_EM_IA_64 and include
10352 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10353
10354 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10355 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10356 (add_system_dir): New macro.
10357
10358 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10359 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10360
11b90b9f
JM
103612012-03-16 Joseph Myers <joseph@codesourcery.com>
10362
c36e1d23
JM
10363 [BZ #2551]
10364 [BZ #2552]
10365 [BZ #2553]
10366 [BZ #2554]
10367 [BZ #2562]
10368 [BZ #2563]
10369 [BZ #2565]
10370 [BZ #2566]
10371 [BZ #2576]
10372 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10373 (y0): Likewise.
10374 * math/w_j0f.c (j0f): Likewise.
10375 (y0f): Likewise.
10376 * math/w_j0l.c (__j0l): Likewise.
10377 (__y0l): Likewise.
10378 * math/w_j1.c (j1): Likewise.
10379 (y1): Likewise.
10380 * math/w_j1f.c (j1f): Likewise.
10381 (y1f): Likewise.
10382 * math/w_j1l.c (__j1l): Likewise.
10383 (__y1l): Likewise.
10384 * math/w_jn.c (jn): Likewise.
10385 (yn): Likewise.
10386 * math/w_jnf.c (jnf): Likewise.
10387 (ynf): Likewise.
10388 * math/w_jnl.c (__jnl): Likewise.
10389 (__ynl): Likewise.
10390 * math/libm-test.inc (j0_test): Add more tests.
10391 (j1_test): Likewise.
10392 (jn_test): Likewise. Add trailing semicolon to existing test.
10393 (y0_test): Likewise.
10394 (y1_test): Likewise.
10395 * sysdeps/i386/fpu/libm-test-ulps: Update.
10396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10397
11b90b9f
JM
10398 [BZ #13851]
10399 [BZ #13854]
10400 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10401 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10402 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10403 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10404 (__tanl): Set errno for infinite argument.
10405 * sysdeps/i386/fpu/mptan.c: Remove.
10406 * sysdeps/i386/fpu/s_tan.S: Likewise.
10407 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10408 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10409 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10410 * math/libm-test.inc (tan_test): Add more tests and enable more
10411 tests for double and long double.
10412 * sysdeps/i386/fpu/libm-test-ulps: Update.
10413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10414
6a1bd2a1
JK
104152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10416
10417 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10418 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10419
10a803e0
RM
104202012-03-16 Roland McGrath <roland@hack.frob.com>
10421
10422 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10423 * configure.in: Use it for both main tree and add-ons.
10424 * configure: Regenerated.
10425
f196c7f7
L
104262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10427
10428 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10429
8848d99d
JM
104302012-03-16 Joseph Myers <joseph@codesourcery.com>
10431
96cbe7f4
JM
10432 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10433 in comment.
10434
8848d99d
JM
10435 [BZ #13851]
10436 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10437 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10438 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10439 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10440 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10441 infinite argument.
10442 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10443 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10444 != 0 for prec == 2.
10445 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10446 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10447 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10448 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10449 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10450 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10451 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10452 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10453 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10454 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10455 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10456 * math/libm-test.inc (cos_test): Add more tests and enable more
10457 tests for long double.
10458 (sin_test): Likewise.
10459 (sincos_test): Likewise.
10460 * sysdeps/i386/fpu/libm-test-ulps: Update.
10461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10462
dd7f4703
DM
104632012-03-16 David S. Miller <davem@davemloft.net>
10464
10465 * sysdeps/sparc/fpu/math_private.h: New file.
10466
006f1daa
DM
104672012-03-15 David S. Miller <davem@davemloft.net>
10468
c0c83bc8
DM
10469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10470 file.
e6a62e18 10471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10473 file.
e6a62e18
DM
10474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10479 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10480 sysdep routines.
10481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10482
88cb87d9
DM
10483 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10484 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10485
006f1daa 10486 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10488 sparc-ifunc.h
006f1daa 10489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10491 Likewise.
10492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10493 Likewise.
006f1daa
DM
10494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10498 Likewise.
006f1daa
DM
10499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10504 Likewise.
10505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10506 Likewise.
006f1daa
DM
10507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10513 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10525 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10526 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10527 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10528 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10529 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10530 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10531
11e0098e
AS
105322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10533
10534 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10535 scaling.
10536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10537
e85b09d0
AJ
105382012-03-15 Andreas Jaeger <aj@suse.de>
10539
10540 [BZ #13852]
10541 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10542 ieee754/flt-32 implementation for sin, cos and sincos.
10543 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10544 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10545 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10546 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10547 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10548 ieee754/flt-32 implementation for tan.
10549
10550 * math/libm-test.inc (cos_test): Enable some large input tests for
10551 float as well
10552 (sin_test): Likewise.
10553 (sincos_test): Likewise.
10554 (tan_test): Add tests for large input.
10555
10556 * sysdeps/i386/fpu/libm-test-ulps: Update.
10557
81c64153
AJ
105582012-03-15 Andreas Jaeger <aj@suse.de>
10559
10560 [BZ #13658]
10561 * math/libm-test.inc (cos_test): Add more test cases.
10562 (sin_test): Likewise.
10563 (sincos_test): Likewise.
10564
7bbfa5c6
AJ
105652012-03-15 Andreas Jaeger <aj@suse.de>
10566
10567 [BZ #13837]
10568 * math/libm-test.inc (cos_test): Add a test case for large input
10569 value.
10570 (sin_test): Likewise.
10571 (sincos_test): Likewise.
10572
105732012-03-15 Andreas Jaeger <aj@suse.de>,
10574 Joseph Myers <joseph@codesourcery.com>
10575
10576 [BZ #13658]
0671f479 10577 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10578 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10579 * sysdeps/i386/fpu/branred.c: Likewise.
10580 * sysdeps/i386/fpu/dosincos.c: Likewise.
10581 * sysdeps/i386/fpu/mpa.c: Likewise.
10582 * sysdeps/i386/fpu/s_cos.S: Likewise.
10583 * sysdeps/i386/fpu/s_sin.S: Likewise.
10584 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10585 * sysdeps/i386/fpu/sincos32.c: Likewise.
10586
10587 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10588 Define.
10589 (libc_feupdateenv_53bit): Define.
10590 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10591 Define.
10592 (libc_feupdateenv_53bit): Define.
10593
10594 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10595 53 bit (without extend i386 double precision).
10596
10597 * math/libm-test.inc (sincos_test): Add tests for large input.
10598 (sin): Likewise.
10599 (cos): Likewise.
10600
10601 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10602
9cad04ea
AS
106032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10604
10605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10606
f7062b9a
DM
106072012-03-15 David S. Miller <davem@davemloft.net>
10608
10609 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10610 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10611 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10612 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10625 file.
f7062b9a 10626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10628 file.
f7062b9a 10629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10631 file.
f7062b9a 10632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10634 file.
f7062b9a
DM
10635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10636 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10637 fmin/fmax sysdep routines.
10638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10639
7bd951ff
DM
106402012-03-14 David S. Miller <davem@davemloft.net>
10641
559398ab
DM
10642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10646 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10647 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10648 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10649 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10650 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10662 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10663 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10664 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10665 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10666 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10667 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10668 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10670 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10671 routines.
10672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10673 file.
559398ab 10674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10676 file.
559398ab 10677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10679 file.
559398ab 10680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10682 file.
559398ab 10683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10685 file.
559398ab 10686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10688 file.
10689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10690 file.
10691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10692 file.
10693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10694 file.
10695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10696 New file.
10697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10698 file.
10699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10700 file.
559398ab 10701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10703 file.
559398ab 10704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10706 file.
559398ab 10707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10709 file.
559398ab 10710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10712 VIS3 routines.
559398ab
DM
10713
10714 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10715 New file.
10716
5a1c1e32
DM
10717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10718
eae47a36
DM
10719 * sysdeps/sparc/configure.in: New file.
10720 * sysdeps/sparc/configure: Generate.
10721 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10722 * configure: Regenerate.
10723 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10724 * config.make.in (have-as-vis3): New.
10725 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10726 available use -Av9d instead of -Av9a.
10727 * sysdeps/sparc/sparc64/Makefile: Likewise.
10728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10730 New file.
10731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10732 file.
10733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10734 New file.
10735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10736 file.
eae47a36
DM
10737 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10738 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10742
c0c83bc8
DM
10743 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10744 fzeros/fnegs to load 0x80000000 into a float register instead of
10745 using the stack.
7bd951ff
DM
10746 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10747
bd951ccb
JM
107482012-03-14 Joseph Myers <joseph@codesourcery.com>
10749
10750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10751 bits/syscall.h.
10752 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10753 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10754 ($(inst_includedir)/bits/syscall.h): Remove rule.
10755 ($(objpfx)bits/syscall.d): Include instead of
10756 $(objpfx)syscall-list.d.
10757 (generated): Change syscall-list.h and syscall-list.d to
10758 bits/syscall.h and bits/syscall.d.
10759
bb4e6db2
RM
107602012-03-14 Roland McGrath <roland@hack.frob.com>
10761
10762 [BZ #13846]
10763 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10764
aa4a2ae1
JM
107652012-03-14 Joseph Myers <joseph@codesourcery.com>
10766
e456826d
JM
10767 [BZ #13841]
10768 * math/s_csqrt.c: Include <float.h>.
10769 (__csqrt): Scale large or subnormal inputs.
10770 * math/s_csqrtf.c: Likewise.
10771 * math/s_csqrtl.c: Likewise.
10772 * math/libm-test.inc (csqrt_test): Add more tests.
10773 * sysdeps/i386/fpu/libm-test-ulps: Update.
10774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10775
aa4a2ae1
JM
10776 [BZ #13840]
10777 * math/libm-test.inc (hypot_test): Add more tests.
10778
7c10fd35
DM
107792012-03-13 David S. Miller <davem@davemloft.net>
10780
10781 [BZ #13840]
10782 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10783 double-precision for the calculation instead of scaling.
10784
f453b98b
JM
107852012-03-13 Joseph Myers <joseph@codesourcery.com>
10786
10787 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10788 manipulate bits before adding and subtracting TWO52[sx].
10789 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10790 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10791 Likewise.
10792 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10793
09a3453f
DM
107942012-03-13 David S. Miller <davem@davemloft.net>
10795
8e59da90
DM
10796 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10797 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10799 rtld-global-offsets.h
10800 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10801
2a8ab7f2
DM
10802 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10803 large parameters.
10804
10f62770
DM
10805 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10806
5f0bdb18
DM
10807 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10808 'err' in the ifdef scope in which it is actually used.
10809
09a3453f
DM
10810 * nss/nss_db/db-init.c: Include string.h
10811
b4b2eb5e
DM
108122012-03-12 David S. Miller <davem@davemloft.net>
10813
98bb2f1c
DM
10814 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10815 masking out of the most significant byte of random value used.
10816 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10817 Fix coding style in previous change.
10818
b4b2eb5e
DM
10819 * sysdeps/unix/sysv/linux/kernel-features.h
10820 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10821 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10822 expression.
10823 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10824 later.
10825
6e226b09
DM
108262012-03-11 David S. Miller <davem@davemloft.net>
10827
a1bcbd40
DM
10828 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10829 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10830 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10831 for 'resultvar' otherwise things get truncated on 64-bit.
10832
cb9d6174
DM
10833 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10834 Fix masking out of the most significant byte of random value used.
10835
6e226b09
DM
10836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10837
058c132d
AS
108382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10839
10840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10841
2d2cd515
DM
108422012-03-09 David S. Miller <davem@davemloft.net>
10843
10844 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10845 variables with appropriate CPP guards.
10846 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10847 frame pointer, not the stack pointer. Correct layout comments. Fix test
10848 on resulting framesize and the management of the outregs buffer for pltexit.
10849 Preserve floating point return values across _dl_call_pltexit call.
10850 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10851 framesize and the management of the outregs buffer for pltexit.
10852 Preserve floating point return values across _dl_call_pltexit
10853 call.
10854 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10855 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10856 (print_exit): Fix format string for return register value.
10857
9a07f9d0
JM
108582012-03-10 Joseph Myers <joseph@codesourcery.com>
10859
10860 * sunrpc/Makefile (others): Add rpcgen.
10861 ($(objpfx)rpcgen): Remove special build rule and dependency on
10862 libc.
10863 * sunrpc/rpcgen.c: New file.
10864
547b5e30
PE
108652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10866
c524201a
PE
10867 [BZ #13673]
10868 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10869 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10870 * sysdeps/i386/crti.S: Likewise.
10871 * sysdeps/i386/crtn.S: Likewise.
10872 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10873 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10874 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10875 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10876 * sysdeps/sh/crti.S: Likewise.
10877 * sysdeps/sh/crtn.S: Likewise.
10878 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10879
7b6235f2
PE
10880 [BZ #13673]
10881 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10882 with URL.
10883 * locale/programs/locfile-kw.gperf: Likewise.
10884 * locale/programs/charmap-kw.h: Regenerated.
10885 * locale/programs/locfile-kw.h: Likewise.
10886
547b5e30
PE
10887 [BZ #13673]
10888 * intl/plural.y: Replace FSF snail mail address with URL.
10889 * intl/plural.c: Regenerated.
10890
5f0a5dae
RH
108912012-03-09 Richard Henderson <rth@twiddle.net>
10892
10893 * include/math_private.h: Remove file.
10894 * math/math_private.h: Move file ...
10895 * sysdeps/generic/math_private.h: ... here.
10896
b8c03620
RH
10897 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10898 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10899 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10900
4e234f5d 10901 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10902 and <math_private.h>.
10903 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10904 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10905 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10906 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10907 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10928 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10929 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10931 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10932 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10946 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10962 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10964 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10965 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10966 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10967 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10968 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10969 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10970 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10971 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10972 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10973 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10975 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10976 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10977 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10980 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10981 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10982 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10983 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10984 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10985 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10986 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10987 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10988 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10989 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10990 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10991 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10992 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10993 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10994 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10995 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10996 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10997 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10998 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10999 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11000 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11001 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11002 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11003 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11004 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11005 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11006 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11007 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11008 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11009 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11010 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11011 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11012 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11013 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11014 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11015 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11016 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11017 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11018 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11019 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11020 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11021 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11022 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11023 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11024 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11025 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11026 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11027 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11028 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11029 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11030 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11031 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11032 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11033 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11034 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11035 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11036 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11037 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11038 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11039 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11040 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11041 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11042 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11043 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11044 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11045 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11046 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11047 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11048 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11049 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11050 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11051 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11052 * sysdeps/ieee754/k_standard.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11168 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11172 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11173 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11175 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11180 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11182 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11185 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11187 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11197 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11199 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11201 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11202 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11203 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11213 * sysdeps/ieee754/s_lib_version.c: Likewise.
11214 * sysdeps/ieee754/s_matherr.c: Likewise.
11215 * sysdeps/ieee754/s_signgam.c: Likewise.
11216 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11217 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11218 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11219 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11220 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11221 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11222 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11223 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11224 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11225 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11226 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11227 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11228 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11229 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11230 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11231 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11232 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11233 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11234 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11235 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11236 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11237
1991fa03
JM
112382012-03-09 Joseph Myers <joseph@codesourcery.com>
11239
11240 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11241 * sunrpc/rpc_main.c: Likewise.
11242 * sunrpc/rpc_svcout.c: Likewise.
11243
60d6f5a6
DM
112442012-03-09 David S. Miller <davem@davemloft.net>
11245
11246 * include/math_private.h: New file.
11247
4962050e
JM
112482012-03-09 Joseph Myers <joseph@codesourcery.com>
11249
02a6f887
JM
11250 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11251 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11252 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11253 from <bits/socket_type.h>.
11254 (enum __socket_type): Don't define here.
11255 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11257 bits/socket_type.h.
11258
c6e013c1
JM
11259 [BZ #13566]
11260 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11261 checking __USE_GNU.
11262
4962050e
JM
11263 * Makerules ($(inst_includedir)/%.h): New rule.
11264 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11265 (install-others): Remove variable setting.
11266 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11267
38842f45
RH
112682012-03-08 Richard Henderson <rth@twiddle.net>
11269
67bb6da6
RH
11270 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11271 from macro to inline function; merge with the
11272 !__LIBC_INTERNAL_MATH_INLINES version.
11273 (__ieee754_sqrtf): Likewise.
11274
15194b4b
RH
11275 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11276 to inline function.
11277 (__rintf, __floor, __floorf): Likewise.
11278
64e21ede
RH
11279 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11280 macro to inline function.
11281 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11282
38842f45
RH
11283 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11284 not <math/math_private.h>.
11285
c64bf5fe
DM
112862012-03-08 David S. Miller <davem@davemloft.net>
11287
11288 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11289 copyright year.
11290 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11291
82d86f28
TS
112922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11293
11294 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11295 normalization.
11296 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11297 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11298
aea5d727
UD
112992012-03-08 Ulrich Drepper <drepper@gmail.com>
11300
11301 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11302 be defined individually, they must be defined as a block. Define
11303 S for printing a string instead of hidint the different by using a
11304 macro for adding the 'l'.
11305 * stdio-common/tst-fphex-wide.c: Adjust.
11306
70bca0a3
MP
113072012-03-07 Marek Polacek <polacek@redhat.com>
11308
11309 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11310
65b81130
MP
113112012-03-08 Marek Polacek <polacek@redhat.com>
11312
11313 [BZ #13806]
11314 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11315 * stdio-common/tst-fphex.c: Define a few macros to make the
11316 test reusable. Use them.
11317 * stdio-common/tst-fphex-wide.c: New file.
11318
07037eeb
JM
113192012-03-08 Joseph Myers <joseph@codesourcery.com>
11320
a7a93d50
JM
11321 [BZ #6911]
11322 * manual/macros.texi (gnusystems): New macro.
11323 (nongnusystems): Likewise.
11324 (gnulinuxhurdsystems): Likewise.
11325 (gnuhurdsystems): Likewise..
11326 (gnulinuxsystems): Likewise.
11327 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11328 variants of the GNU system, not "GNU system".
11329 * manual/conf.texi: Likewise.
11330 * manual/errno.texi: Likewise. Update example of errno macro
11331 expansion.
11332 * manual/filesys.texi: Likewise.
11333 (getumask): Document as specific to GNU/Hurd.
11334 * manual/install.texi: Likewise. Reword some references to
11335 GNU/Linux.
11336 * manual/intro.texi: Likewise.
11337 * manual/io.texi: Likewise.
11338 (File Name Portability): Detail which constraints are inapplicable
11339 to all GNU systems and which are only inapplicable to GNU/Hurd.
11340 * manual/job.texi: Likewise.
11341 * manual/llio.texi: Likewise.
11342 (O_NOCTTY): Document as present on GNU/Linux.
11343 * manual/maint.texi: Likewise.
11344 * manual/memory.texi: Likewise.
11345 * manual/pattern.texi: Likewise.
11346 * manual/pipe.texi: Likewise.
11347 * manual/process.texi: Likewise.
11348 * manual/resource.texi: Likewise.
11349 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11350 child on GNU/Hurd.
11351 * manual/setjmp.texi: Likewise.
11352 * manual/signal.texi: Likewise.
11353 * manual/startup.texi: Likewise.
11354 * manual/stdio.texi: Likewise.
11355 * manual/terminal.texi: Likewise.
11356 (ONLCR): Document as POSIX.
11357 (OXTABS): Document availability on GNU/Linux as XTABS.
11358 (ONOEOT): Document availability separately from other bits.
11359 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11360 * manual/time.texi: Likewise.
11361 * manual/users.texi: Likewise.
11362 * INSTALL: Regenerated.
11363 * sysdeps/gnu/errlist.c: Regenerated.
11364
07037eeb
JM
11365 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11366 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11367 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11368 puts.
11369 * configure: Regenerated.
11370
d1d3431a
JM
113712012-03-07 Joseph Myers <joseph@codesourcery.com>
11372
af6a1e37
JM
11373 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11374 default includes instead of AC_HEADER_CHECK.
11375 * sysdeps/i386/configure: Regenerated.
11376
d1d3431a
JM
11377 [BZ #10716]
11378 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11379 * math/s_cacoshf.c (__cacoshf): Likewise.
11380 * math/s_cacoshl.c (__cacoshl): Likewise.
11381 * math/s_casinh.c (__casinh): Set signs of result from argument.
11382 * math/s_casinhf.c (__casinhf): Likewise.
11383 * math/s_casinhl.c (__casinhl): Likewise.
11384 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11385 (casinh_test): Add more tests.
11386 * sysdeps/i386/fpu/libm-test-ulps: Update.
11387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11388
482ff4da
UD
113892012-03-07 Ulrich Drepper <drepper@gmail.com>
11390
872fda05
UD
11391 * po/zh_TW.po: Update from translation team.
11392
a4300c7a
UD
11393 * login/Makefile (distribute): Remove variable.
11394 * catgets/Makefile: Likewise.
11395 * mach/Makefile: Likewise.
11396 * malloc/Makefile: Likewise.
11397 * misc/Makefile: Likewise.
11398 * iconv/Makefile: Likewise.
11399 * nscd/Makefile: Likewise.
11400 * hurd/Makefile: Likewise.
11401 * manual/Makefile: Likewise.
11402 * locale/Makefile: Likewise.
11403 * intl/Makefile: Likewise.
11404 * conform/Makefile: Likewise.
11405 * nss/Makefile: Likewise.
11406 * time/Makefile: Likewise.
11407 * soft-fp/Makefile: Likewise.
11408 * dirent/Makefile: Likewise.
11409 * gmon/Makefile: Likewise.
11410 * po/Makefile: Likewise.
11411 * rt/Makefile: Likewise.
11412 * socket/Makefile: Likewise.
11413 * math/Makefile: Likewise.
11414 * signal/Makefile: Likewise.
11415 * debug/Makefile: Likewise.
11416 * elf/Makefile: Likewise.
11417 * timezone/Makefile: Likewise.
11418 * stdlib/Makefile: Likewise.
11419 * iconvdata/Makefile: Likewise.
11420 * sunrpc/Makefile: Likewise.
11421 * io/Makefile: Likewise.
11422 * argp/Makefile: Likewise.
11423 * inet/Makefile: Likewise.
11424 * hesiod/Makefile: Likewise.
11425 * grp/Makefile: Likewise.
11426 * csu/Makefile: Likewise.
11427 * wctype/Makefile: Likewise.
11428 * crypt/Makefile: Likewise.
11429 * libio/Makefile: Likewise.
11430 * string/Makefile: Likewise.
11431 * nis/Makefile: Likewise.
11432 * resolv/Makefile: Likewise.
11433 * stdio-common/Makefile: Likewise.
11434 * wcsmbs/Makefile: Likewise.
11435 * dlfcn/Makefile: Likewise.
11436 * posix/Makefile: Likewise.
11437
3b7c4e74 11438 [BZ #6959]
482ff4da
UD
11439 * timezone/Makefile: Don't install timezone files, just the programs
11440 and scripts.
11441
f72ed77d
UD
114422012-03-06 Ulrich Drepper <drepper@gmail.com>
11443
a000466f
UD
11444 * nss/databases.def: Add missing gshadow entry.
11445
f72ed77d
UD
11446 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11447
a53b7a4e
MP
114482012-03-06 Marek Polacek <polacek@redhat.com>
11449
11450 [BZ #13726]
11451 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11452 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11453 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11454 * stdio-common/tst-long-dbl-fphex.c: New file.
11455
e9258400
DM
114562012-03-06 David S. Miller <davem@davemloft.net>
11457
11458 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11459 (set_obp_int): New function.
11460 (get_obp_int): New function.
11461 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11462 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11463 Avoid unused variable warnings on 'val' and use builtin_expect.
11464 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11465 __builtin_expect.
e9258400
DM
11466 (INLINE_CLONE_SYSCALL): Likewise.
11467
3bd2c723
DM
114682012-03-05 David S. Miller <davem@davemloft.net>
11469
11470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11471
bbb78d03
AS
114722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11473
884c5db4
AS
11474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11475
bbb78d03
AS
11476 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11477 only for |x| >= 40.
11478 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11479
1c9f702a 114802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11481
11482 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11483 Replace gettimeofday with __vdso_gettimeofday.
11484
7be16f82
RM
11485 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11486 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11487 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11488
11489 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11490 time with __vdso_time.
11491
ed58a00f
JM
114922012-03-05 Joseph Myers <joseph@codesourcery.com>
11493
11494 * manual/lang.texi (size_t): Note types to which size_t may be
11495 equivalent with the GNU C Library, but do not describe when
11496 differences between them are significant.
11497
30ee4ced
AJ
114982012-03-05 Andreas Jaeger <aj@suse.de>
11499
11500 * sysdeps/i386/fpu/libm-test-ulps: Update.
11501
b7cd39e8
JM
115022012-03-05 Joseph Myers <joseph@codesourcery.com>
11503
11504 [BZ #3976]
11505 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11506 (__ieee754_pow): Save and restore rounding mode and use
11507 round-to-nearest for main computations.
11508 * math/libm-test.inc (pow_test_tonearest): New function.
11509 (pow_test_towardzero): Likewise.
11510 (pow_test_downward): Likewise.
11511 (pow_test_upward): Likewise.
11512 (main): Call the new functions.
11513 * sysdeps/i386/fpu/libm-test-ulps: Update.
11514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11515
11516 [BZ #3976]
11517 * math/libm-test.inc (cosh_test_tonearest): New function.
11518 (cosh_test_towardzero): Likewise.
11519 (cosh_test_downward): Likewise.
11520 (cosh_test_upward): Likewise.
11521 (sinh_test_tonearest): Likewise.
11522 (sinh_test_towardzero): Likewise.
11523 (sinh_test_downward): Likewise.
11524 (sinh_test_upward): Likewise.
11525 (main): Call the new functions.
11526 * sysdeps/i386/fpu/libm-test-ulps: Update.
11527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11528
6c6a98c9
TV
115292012-03-05 Tom de Vries <tom@codesourcery.com>
11530
11531 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11532 default stack guard is set in last bytes.
11533 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11534
21bb2d2e 115352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11536
21bb2d2e 11537 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11538
21bb2d2e
AJ
11539 [BZ #13656]
11540 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11541 possibly allocate from heap instead of stack.
11542 * stdio-common/bug-vfprintf-nargs.c: New file.
11543 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11544
c6922934
AS
115452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11546
11547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11548
bc957d53
MP
115492012-03-03 Marek Polacek <polacek@redhat.com>
11550
11551 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11552 * math/math_private.h: Likewise.
11553 * stdlib/tst-strtod.c: Likewise.
11554 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11555 * sysdeps/x86_64/bits/atomic.h: Likewise.
11556
6358490d
DM
115572012-03-02 David S. Miller <davem@davemloft.net>
11558
11559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11563 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11564 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11565 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11566 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11567
01ae168d
RM
115682012-03-02 Roland McGrath <roland@hack.frob.com>
11569
d9a17c07
RM
11570 [BZ #13792]
11571 * manual/examples/README: New file, says the example source files
11572 can be used under GPL>=2.
11573 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11574 line containing just "*/".
11575 * manual/examples/add.c: Add copyright header (GPL>=2).
11576 * manual/examples/argp-ex1.c: Likewise.
11577 * manual/examples/argp-ex2.c: Likewise.
11578 * manual/examples/argp-ex3.c: Likewise.
11579 * manual/examples/argp-ex4.c: Likewise.
11580 * manual/examples/atexit.c: Likewise.
11581 * manual/examples/db.c: Likewise.
11582 * manual/examples/dir.c: Likewise.
11583 * manual/examples/dir2.c: Likewise.
11584 * manual/examples/execinfo.c: Likewise.
11585 * manual/examples/filecli.c: Likewise.
11586 * manual/examples/filesrv.c: Likewise.
11587 * manual/examples/fmtmsgexpl.c: Likewise.
11588 * manual/examples/genpass.c: Likewise.
11589 * manual/examples/inetcli.c: Likewise.
11590 * manual/examples/inetsrv.c: Likewise.
11591 * manual/examples/isockad.c: Likewise.
11592 * manual/examples/longopt.c: Likewise.
11593 * manual/examples/memopen.c: Likewise.
11594 * manual/examples/memstrm.c: Likewise.
11595 * manual/examples/mkfsock.c: Likewise.
11596 * manual/examples/mkisock.c: Likewise.
11597 * manual/examples/mygetpass.c: Likewise.
11598 * manual/examples/pipe.c: Likewise.
11599 * manual/examples/popen.c: Likewise.
11600 * manual/examples/rprintf.c: Likewise.
11601 * manual/examples/search.c: Likewise.
11602 * manual/examples/select.c: Likewise.
11603 * manual/examples/setjmp.c: Likewise.
11604 * manual/examples/sigh1.c: Likewise.
11605 * manual/examples/sigusr.c: Likewise.
11606 * manual/examples/stpcpy.c: Likewise.
11607 * manual/examples/strdupa.c: Likewise.
11608 * manual/examples/strftim.c: Likewise.
11609 * manual/examples/strncat.c: Likewise.
11610 * manual/examples/subopt.c: Likewise.
11611 * manual/examples/swapcontext.c: Likewise.
11612 * manual/examples/termios.c: Likewise.
11613 * manual/examples/testopt.c: Likewise.
11614 * manual/examples/testpass.c: Likewise.
11615 * manual/examples/timeval_subtract.c: Likewise.
11616
01ae168d
RM
11617 [BZ #13792]
11618 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11619 function to ...
11620 * manual/timeval_subtract.c.texi: ... here, new file.
11621
49efa33d
DM
116222012-03-02 David S. Miller <davem@davemloft.net>
11623
11624 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11625
28afd92d
JM
116262012-03-02 Joseph Myers <joseph@codesourcery.com>
11627
804360ed
JM
11628 [BZ #3976]
11629 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11630 (__sin): Save and restore rounding mode and use round-to-nearest
11631 for all computations.
11632 (__cos): Save and restore rounding mode and use round-to-nearest
11633 for all computations.
11634 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11635 <fenv.h>.
11636 (tan): Save and restore rounding mode and use round-to-nearest for
11637 all computations.
11638 * math/libm-test.inc (cos_test_tonearest): New function.
11639 (cos_test_towardzero): Likewise.
11640 (cos_test_downward): Likewise.
11641 (cos_test_upward): Likewise.
11642 (sin_test_tonearest): Likewise.
11643 (sin_test_towardzero): Likewise.
11644 (sin_test_downward): Likewise.
11645 (sin_test_upward): Likewise.
11646 (tan_test_tonearest): Likewise.
11647 (tan_test_towardzero): Likewise.
11648 (tan_test_downward): Likewise.
11649 (tan_test_upward): Likewise.
11650 (main): Call the new functions.
11651 * sysdeps/i386/fpu/libm-test-ulps: Update.
11652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11653
a6d06d7b
JM
11654 [BZ #10135]
11655 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11656 small n, then large n, before computing and testing k+n.
11657 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11658 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11659 Likewise.
11660 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11661 Likewise.
11662 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11663 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11664 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11665 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11666 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11667 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11668 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11669 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11670 * math/libm-test.inc (scalbn_test): Add more tests.
11671 (scalbln_test): Likewise.
11672
07e12bb3
JM
11673 * manual/filesys.texi (mode_t): Describe constraints on size and
11674 signedness, not exact equivalence to a particular type.
11675 (ino_t): Likewise.
11676 (ino64_t): Likewise.
11677 (dev_t): Likewise.
11678 (nlink_t): Likewise.
11679 (blkcnt_t): Likewise.
11680 (blkcnt64_t): Likewise.
11681 * manual/llio.texi (off_t): Likewise.
11682
28afd92d
JM
11683 [BZ #3976]
11684 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11685 (__ieee754_exp): Save and restore rounding mode and use
11686 round-to-nearest for all computations.
11687 * math/libm-test.inc (exp_test_tonearest): New function.
11688 (exp_test_towardzero): Likewise.
11689 (exp_test_downward): Likewise.
11690 (exp_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
b1eeb65d
CD
116952012-03-01 Chris Demetriou <cgd@google.com>
11696
11697 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11698 have predictable order.
11699
53362a4b
DM
117002012-03-01 David S. Miller <davem@davemloft.net>
11701
3c969083
DM
11702 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11703
759707de
DM
11704 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11705 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11706 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11707 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11708
dfdb8ff2
DM
11709 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11710 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11711 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11713 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11714 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11715 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11716 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11717 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11718
ead89f96
DM
11719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11720
7f66bd07
DM
11721 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11722 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11723 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11724
53362a4b
DM
11725 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11726 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11727 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11728 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11729 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11730 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11731 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11732 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11733 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11734 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11735 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11736 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11737 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11738 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11739 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11740 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11741 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11742 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11743 * sysdeps/sparc/elf/configure: Regenerated.
11744
7b1902cb
JM
117452012-03-01 Joseph Myers <joseph@codesourcery.com>
11746
bec039bc
JM
11747 * configure.in (AS, LD): Require binutils 2.20 or later.
11748 * configure: Regenerated.
11749 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11750 as required minimum version.
11751 * INSTALL: Regenerated.
11752
7b1902cb
JM
11753 [BZ #2541]
11754 [BZ #4108]
11755 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11756 before squaring exponent.
11757 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11758 bottom long double and 27 bits of top long double before squaring
11759 exponent.
11760 * math/libm-test.inc (erfc_test): Add more tests.
11761 * sysdeps/i386/fpu/libm-test-ulps: Update.
11762 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11764
f775c276
KT
117652012-03-01 Kai Tietz <ktietz@redhat.com>
11766
11767 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11768 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11769 containing bit-fields.
11770 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11771 * soft-fp/single.h (_FP_UNION_S): Likewise.
11772 * soft-fp/double.h (_FP_UNION_D): Likewise.
11773
5b8a4d4a
JM
117742012-02-29 Joseph Myers <joseph@codesourcery.com>
11775
0bab47b6
JM
11776 [BZ #13786]
11777 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11778 not include ../strcmp.S.
11779 [USE_AS_STRNCASECMP_L]: Likewise.
11780 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11781 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11782 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11783 (__strncasecmp_l_ia32): Define as alias to
11784 __strncasecmp_l_nonascii.
11785
0fcad3e2
JM
11786 [BZ #5794]
11787 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11788 * sysdeps/i386/fpu/libm-test-ulps: Update.
11789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11790
5b8a4d4a
JM
11791 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11793
8fdceb2e
JL
117942012-02-29 Jeff Law <law@redhat.com>
11795
11796 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11797 out of bounds read.
11798
1f393a11
MP
117992012-02-29 Marek Polacek <polacek@redhat.com>
11800
11801 [BZ #13706]
11802 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11803 * elf/Makefile: Add rules to run tst-unused-dep.out.
11804
8847f037
DM
118052012-02-28 David S. Miller <davem@davemloft.net>
11806
11807 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11808 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11809 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11810 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11811 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11812 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11813
169d7f11
JM
118142012-02-29 Joseph Myers <joseph@codesourcery.com>
11815
11816 * math/libm-test.inc (llround_test): Move one test from
11817 lround_test. Use TEST_f_L in moved test.
11818 (lround_test): Move misplaced test to llround_test. Add testcase
11819 from bug 2561.
11820
39adf059
UD
118212012-02-28 Ulrich Drepper <drepper@gmail.com>
11822
11823 * sysdeps/x86_64/fpu/e_expf.S: New file.
11824 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11825
71b5d1c5
SB
118262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11827
11828 [BZ #13637]
11829 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11830 of remain_len that may cause incomplete multi-byte character and
11831 false match.
11832 * posix/bug-regex33.c: New file.
11833 * posix/Makefile (tests): Add bug-regex33.
11834
1f77f049
JM
118352012-02-28 Joseph Myers <joseph@codesourcery.com>
11836
11837 * manual/macros.texi: New file.
11838 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11839 * manual/libc.texinfo: Include macros.texi.
11840 * manual/creatute.texi: Likewise.
11841 * manual/install.texi: Likewise.
11842 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11843 @glibcadj{} in references to the GNU C Library.
11844 * manual/charset.texi: Likewise.
11845 * manual/conf.texi: Likewise.
11846 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11847 when not using those macros.
11848 * manual/creature.texi: Likewise.
11849 * manual/crypt.texi: Likewise.
11850 * manual/errno.texi: Likewise.
11851 * manual/filesys.texi: Likewise.
11852 * manual/header.texi: Likewise.
11853 * manual/install.texi: Likewise.
11854 * manual/intro.texi: Likewise.
11855 * manual/io.texi: Likewise.
11856 * manual/job.texi: Likewise.
11857 * manual/lang.texi: Likewise.
11858 * manual/libc.texiinfo: Likewise.
11859 * manual/llio.texi: Likewise.
11860 * manual/locale.texi: Likewise.
11861 * manual/maint.texi: Likewise.
11862 * manual/math.texi: Likewise.
11863 * manual/memory.texi: Likewise.
11864 * manual/message.texi: Likewise.
11865 * manual/nss.texi: Likewise.
11866 * manual/pattern.texi: Likewise.
11867 * manual/process.texi: Likewise.
11868 * manual/resource.texi: Likewise.
11869 * manual/search.texi: Likewise.
11870 * manual/setjmp.texi: Likewise.
11871 * manual/signal.texi: Likewise.
11872 * manual/socket.texi: Likewise.
11873 * manual/startup.texi: Likewise.
11874 * manual/stdio.texi: Likewise.
11875 * manual/string.texi: Likewise.
11876 * manual/sysinfo.texi: Likewise.
11877 * manual/syslog.texi: Likewise.
11878 * manual/terminal.texi: Likewise.
11879 * manual/time.texi: Likewise.
11880 * manual/users.texi: Likewise.
11881 * INSTALL: Regenerated.
11882 * NOTES: Regenerated.
d40c5d54 11883 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11884
450bf206
AS
118852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11886
11887 * include/dirent.h: Include <dirstream.h> before
11888 <dirent/dirent.h>.
11889
741a235b
DM
118902012-02-28 David S. Miller <davem@davemloft.net>
11891
11892 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11893 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11894 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11895 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11896
d6b5aa58
DM
118972012-02-27 David S. Miller <davem@davemloft.net>
11898
1aff59a3
DM
11899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11901 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11902 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11903
d6b5aa58
DM
11904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11905 frame pointer instead of stack pointer relative arg slot.
11906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11907 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11908 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11909
433f48bf
CD
119102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11911
11912 [BZ #3992]
11913 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11914
d674b76d
DM
119152012-02-27 David S. Miller <davem@davemloft.net>
11916
11917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11921 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11922 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11923 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11924 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11925
0e7727f7
JM
119262012-02-27 Joseph Myers <joseph@codesourcery.com>
11927
11928 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11929 later. Allow versions 5-9.
43be4ca2 11930 * configure: Regenerated.
0e7727f7
JM
11931 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11932 required minimum version and 4.6 as recommended version. Do not
11933 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11934 * INSTALL: Regenerated.
0e7727f7 11935
a78bc654
DM
119362012-02-27 David S. Miller <davem@davemloft.net>
11937
428d5830
DM
11938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11942 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11943 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11944 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11945 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11946
a78bc654
DM
11947 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11948 manipulate bits before adding and subtracting TWO112[sx].
11949 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11950
4579f81c
RM
119512012-02-27 Roland McGrath <roland@hack.frob.com>
11952
36c8acb4
RM
11953 [BZ #13775]
11954 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11955 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11956 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11957 being in POSIX, because they are in 1003.1-2008.
11958
84ad622b
RM
11959 * rt/tst-aio.c: Include <fcntl.h>.
11960 * rt/tst-aio7.c: Likewise.
11961 * rt/tst-aio64.c: Likewise.
11962
4579f81c
RM
11963 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11964
abd923db
JM
119652012-02-27 Joseph Myers <joseph@codesourcery.com>
11966
11967 * manual/install.texi (--with-headers): Describe headers as
11968 interface headers, not private headers.
11969 (Specific advice for GNU/Linux systems): Describe use of headers
11970 from "make headers_install", not private headers from older
11971 kernels.
43be4ca2 11972 * INSTALL: Regenerated.
abd923db
JM
11973 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11974 Change to 2.6.19.
11975 * sysdeps/unix/sysv/linux/configure: Regenerated.
11976
6664049b
JM
11977 * manual/llio.texi (fclean): Remove documentation.
11978
bb8b6697
JM
11979 * manual/Makefile (libc-texi-generated): New variable. Include
11980 version.texi.
11981 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11982 $(libc-texi-generated), not duplicated list of files.
11983 (version.texi, stamp-version): New rules.
11984 (realclean): Remove $(libc-texi-generated), not individual files
11985 from that list. Do not remove dir-add.texinfo.
11986 * manual/libc.texinfo: Comment out uses of edition numbers and
11987 references to printed manual. Remove last-updated dates.
11988 (EDITION): Comment out.
11989 (ISBN): Likewise.
11990 (VERSION, UPDATED): Remove.
11991 (version.texi): Include.
11992
12e5c3b9
AS
119932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11994
11995 * sysdeps/posix/spawni.c: Include <signal.h>.
11996 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11997 * sysdeps/pthread/aio_fsync.c: Likewise.
11998
4efeffc1 119992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12000
ba63ba08
UD
12001 * conform/Makefile (tests): Run only when not cross-compiling and
12002 when fast-check is not defined.
12003
d94a4670
UD
12004 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12005 * conform/data/limits.h-data: Fixes for POSIX2008.
12006 * conform/run-conformtest.sh: Run all tests.
12007 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12008 headers.
12009 * include/bits/dlfcn.h: Likewise.
12010 * include/langinfo.h: Likewise.
12011 * include/monetary.h: Likewise.
12012 * include/sys/poll.h: Likewise.
12013
12014 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12015 for __USE_GNU.
12016 * posix/spawn.h: Define __need_sigset_t.
12017 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12018 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12019 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12020 to get sigevent_t only.
12021 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12022 only for __USE_GNU.
12023 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12024 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12025 process_vm_writev only for __USE_GNU.
12026 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12027
12028 * conform/Makefile: For now ignore errors from run-conformtest.
12029 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12030 POSIX to avoid namespace pollution. Don't prepend headers.
12031 * conform/data/aio.h-data: Fixes for POSIX testing.
12032 * conform/data/fcntl.h-data: Likewise.
12033 * conform/data/glob.h-data: Likewise.
12034 * conform/data/grp.h-data: Likewise.
12035 * conform/data/pthread.h-data: Likewise.
12036 * conform/data/pwd.h-data: Likewise.
12037 * conform/data/signal.h-data: Likewise.
12038 * conform/data/spawn.h-data: Likewise.
12039 * conform/data/stdio.h-data: Likewise.
12040 * conform/data/stdlib.h-data: Likewise.
12041 * conform/data/stropts.h-data: Likewise.
12042 * conform/data/sys/mman.h-data: Likewise.
12043 * conform/data/sys/stat.h-data: Likewise.
12044 * conform/data/sys/types.h-data: Likewise.
12045 * conform/data/sys/wait.h-data: Likewise.
12046 * conform/data/time.h-data: Likewise.
12047 * conform/data/unistd.h-data: Likewise.
12048 * conform/data/utime.h-data: Likewise.
12049
12050 * io/sys/stat.h: fchmod was always in POSIX.
12051 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12052 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12053 * rt/aio.h: Define __need_timespec before including <time.h>.
12054 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12055 struct. Add forward declaration of pthread_attr_t and use it in
12056 sigevent.
12057 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12058 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12059 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12060 always remove CLK_TCK definition.
12061
c20105c3
AS
120622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12063
12064 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12065
7a270350
UD
120662012-02-25 Ulrich Drepper <drepper@gmail.com>
12067
31341567
UD
12068 * conform/run-conformtest.sh: New file.
12069 * conform/Makefile: Run run-conformtest for tests.
12070 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12071 support.
12072
12073 * conform/data/uchar.h-data: New file.
12074 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12075 * conform/data/arpa/inet.h-data: Likewise.
12076 * conform/data/assert.h-data: Likewise.
12077 * conform/data/complex.h-data: Likewise.
12078 * conform/data/cpio.h-data: Likewise.
12079 * conform/data/ctype.h-data: Likewise.
12080 * conform/data/dirent.h-data: Likewise.
12081 * conform/data/dlfcn.h-data: Likewise.
12082 * conform/data/errno.h-data: Likewise.
12083 * conform/data/fcntl.h-data: Likewise.
12084 * conform/data/float.h-data: Likewise.
12085 * conform/data/fmtmsg.h-data: Likewise.
12086 * conform/data/fnmatch.h-data: Likewise.
12087 * conform/data/ftw.h-data: Likewise.
12088 * conform/data/glob.h-data: Likewise.
12089 * conform/data/grp.h-data: Likewise.
12090 * conform/data/iconv.h-data: Likewise.
12091 * conform/data/inttypes.h-data: Likewise.
12092 * conform/data/langinfo.h-data: Likewise.
12093 * conform/data/libgen.h-data: Likewise.
12094 * conform/data/limits.h-data: Likewise.
12095 * conform/data/locale.h-data: Likewise.
12096 * conform/data/math.h-data: Likewise.
12097 * conform/data/monetary.h-data: Likewise.
12098 * conform/data/mqueue.h-data: Likewise.
12099 * conform/data/ndbm.h-data: Likewise.
12100 * conform/data/net/if.h-data: Likewise.
12101 * conform/data/netdb.h-data: Likewise.
12102 * conform/data/netinet/in.h-data: Likewise.
12103 * conform/data/nl_types.h-data: Likewise.
12104 * conform/data/poll.h-data: Likewise.
12105 * conform/data/pthread.h-data: Likewise.
12106 * conform/data/pwd.h-data: Likewise.
12107 * conform/data/regex.h-data: Likewise.
12108 * conform/data/sched.h-data: Likewise.
12109 * conform/data/search.h-data: Likewise.
12110 * conform/data/semaphore.h-data: Likewise.
12111 * conform/data/setjmp.h-data: Likewise.
12112 * conform/data/signal.h-data: Likewise.
12113 * conform/data/spawn.h-data: Likewise.
12114 * conform/data/stdarg.h-data: Likewise.
12115 * conform/data/stdio.h-data: Likewise.
12116 * conform/data/stdlib.h-data: Likewise.
12117 * conform/data/string.h-data: Likewise.
12118 * conform/data/strings.h-data: Likewise.
12119 * conform/data/stropts.h-data: Likewise.
12120 * conform/data/sys/ipc.h-data: Likewise.
12121 * conform/data/sys/mman.h-data: Likewise.
12122 * conform/data/sys/msg.h-data: Likewise.
12123 * conform/data/sys/resource.h-data: Likewise.
12124 * conform/data/sys/select.h-data: Likewise.
12125 * conform/data/sys/sem.h-data: Likewise.
12126 * conform/data/sys/shm.h-data: Likewise.
12127 * conform/data/sys/socket.h-data: Likewise.
12128 * conform/data/sys/stat.h-data: Likewise.
12129 * conform/data/sys/statvfs.h-data: Likewise.
12130 * conform/data/sys/time.h-data: Likewise.
12131 * conform/data/sys/timeb.h-data: Likewise.
12132 * conform/data/sys/times.h-data: Likewise.
12133 * conform/data/sys/types.h-data: Likewise.
12134 * conform/data/sys/uio.h-data: Likewise.
12135 * conform/data/sys/un.h-data: Likewise.
12136 * conform/data/sys/utsname.h-data: Likewise.
12137 * conform/data/sys/wait.h-data: Likewise.
12138 * conform/data/syslog.h-data: Likewise.
12139 * conform/data/tar.h-data: Likewise.
12140 * conform/data/termios.h-data: Likewise.
12141 * conform/data/utime.h-data: Likewise.
12142 * conform/data/utmpx.h-data: Likewise.
12143 * conform/data/varargs.h-data: Likewise.
12144 * conform/data/wchar.h-data: Likewise.
12145 * conform/data/wctype.h-data: Likewise.
12146 * conform/data/wordexp.h-data: Likewise.
12147
12148 * include/stropts.h: New file.
12149 * include/uchar.h: New file.
12150 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12151 * include/assert.h: Likewise.
12152 * include/ctype.h: Likewise.
12153 * include/dirent.h: Likewise.
12154 * include/dlfcn.h: Likewise.
12155 * include/fcntl.h: Likewise.
12156 * include/fnmatch.h: Likewise.
12157 * include/glob.h: Likewise.
12158 * include/grp.h: Likewise.
12159 * include/libio.h: Likewise.
12160 * include/locale.h: Likewise.
12161 * include/math.h: Likewise.
12162 * include/net/if.h: Likewise.
12163 * include/netdb.h: Likewise.
12164 * include/netinet/in.h: Likewise.
12165 * include/pthread.h: Likewise.
12166 * include/pwd.h: Likewise.
12167 * include/regex.h: Likewise.
12168 * include/sched.h: Likewise.
12169 * include/search.h: Likewise.
12170 * include/setjmp.h: Likewise.
12171 * include/signal.h: Likewise.
12172 * include/stdio.h: Likewise.
12173 * include/stdlib.h: Likewise.
12174 * include/string.h: Likewise.
12175 * include/sys/cdefs.h: Likewise.
12176 * include/sys/mman.h: Likewise.
12177 * include/sys/msg.h: Likewise.
12178 * include/sys/resource.h: Likewise.
12179 * include/sys/select.h: Likewise.
12180 * include/sys/socket.h: Likewise.
12181 * include/sys/stat.h: Likewise.
12182 * include/sys/statvfs.h: Likewise.
12183 * include/sys/time.h: Likewise.
12184 * include/sys/times.h: Likewise.
12185 * include/sys/uio.h: Likewise.
12186 * include/sys/utsname.h: Likewise.
12187 * include/sys/wait.h: Likewise.
12188 * include/termios.h: Likewise.
12189 * include/time.h: Likewise.
12190 * include/ulimit.h: Likewise.
12191 * include/unistd.h: Likewise.
12192 * include/utime.h: Likewise.
12193 * include/wchar.h: Likewise.
12194 * include/wctype.h: Likewise.
12195 * include/wordexp.h: Likewise.
12196
12197 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12198
7a270350
UD
12199 * time/time.h: TIME_UTC must be a macro.
12200 Make timespec_get available for ISO C11 only as well.
12201
7724defc
UD
122022012-02-24 Ulrich Drepper <drepper@gmail.com>
12203
12204 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12205 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12206
6b1d1d46
JM
122072012-02-24 Joseph Myers <joseph@codesourcery.com>
12208
12209 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12210
0f8bbd69
JM
122112012-02-24 Joseph Myers <joseph@codesourcery.com>
12212
12213 * manual/texinfo.tex: Update to version 2012-01-19.16.
12214
66ab80bc
JM
122152012-02-24 Joseph Myers <joseph@codesourcery.com>
12216
12217 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12218
74981cc5
RM
122192012-02-24 Roland McGrath <roland@hack.frob.com>
12220
ee968201
RM
12221 [BZ #13738]
12222 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12223 * manual/fdl-1.3.texi: New file.
12224 * manual/fdl-1.1.texi: File removed.
12225
74981cc5
RM
12226 [BZ #13738]
12227 * manual/libc.texinfo (FDL_VERSION): New @set.
12228 Use it for mention of FDL in cover text.
12229 (Documentation License): Use it in @include file name.
12230
7bb764bc
JM
122312012-02-22 Joseph Myers <joseph@codesourcery.com>
12232 Roland McGrath <roland@hack.frob.com>
12233
12234 [BZ #5461]
12235 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12236 not LONG_LONG_MAX and LONG_LONG_MIN.
12237 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12238 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12239 name.
12240 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12241
6cbeae47
JM
122422012-02-22 Joseph Myers <joseph@codesourcery.com>
12243
12244 [BZ #2547]
12245 [BZ #11365]
12246 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12247 manipulate bits before adding and subtracting TWO23[sx].
12248 * math/libm-test.inc (nearbyint_test): Add more tests.
12249
fe45ce09
JM
122502012-02-22 Joseph Myers <joseph@codesourcery.com>
12251
12252 [BZ #2548]
12253 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12254 bits before adding and subtracting TWO23[sx].
12255 * math/libm-test.inc (rint_test): Add more tests.
12256 (rint_test_tonearest): Likewise.
12257 (rint_test_towardzero): Likewise.
12258 (rint_test_downward): Likewise.
12259 (rint_test_upward: Likewise.
12260
ff3b3d82
JM
122612012-02-22 Joseph Myers <joseph@codesourcery.com>
12262
12263 [BZ #10110]
12264 * include/stdc-predef.h: New file. Extracted from features.h.
12265 * include/features.h: Include stdc-predef.h.
12266 * Makefile (headers): Add stdc-predef.h.
12267 * CONFORMANCE (Compiler limitations): Update.
12268
ef0aab35
JM
122692012-02-22 Joseph Myers <joseph@codesourcery.com>
12270
12271 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12272
58639409
DM
122732012-02-21 David S. Miller <davem@davemloft.net>
12274
12275 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12276 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12277
c0e70b25
DM
122782012-02-20 David S. Miller <davem@davemloft.net>
12279
12280 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12281 using a normal save/restore sequence, rather than allocating a
12282 dummy stack frame just to store a frame pointer and restore.
12283 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12284
fb06851d
JM
122852012-02-21 Joseph Myers <joseph@codesourcery.com>
12286
12287 * manual/install.texi: Fix stray word in line-wrapped comment.
12288
7a8b71c3
DM
122892012-02-20 David S. Miller <davem@davemloft.net>
12290
d510c123
DM
12291 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12292 both binutils and gcc support GOTDATA.
12293
0722d7c2
DM
12294 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12295 "rd %pc" in the PIC register setup sequences.
12296
3d2b3019
DM
12297 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12298 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12299 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12300 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12301 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12302 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12303 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12304 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12305 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12306 (SYSCALL_ERROR_HANDLER): Likewise.
12307 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12308 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12310 (SYSCALL_ERROR_HANDLER): Likewise.
12311
c80098a9
DM
12312 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12313 (HAVE_GCC_GOTDATA): New.
12314 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12315 relocation support in both binutils and gcc.
12316 * sysdeps/sparc/elf/configure: Regenerate.
12317
3a2545a0
DM
12318 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12319 * sysdeps/sparc/sparc32/elf/configure: Delete.
12320 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12321 * sysdeps/sparc/sparc64/elf/configure: Delete.
12322 * sysdeps/sparc/elf/configure.in: New file.
12323 * sysdeps/sparc/elf/configure: Generate.
12324
7a8b71c3
DM
12325 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12326 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12327 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12328 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12329 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12330
f1e86fca
JM
123312012-02-21 Joseph Myers <joseph@codesourcery.com>
12332
12333 * manual/install.texi: Do not mention specific glibc version
12334 numbers.
12335 * manual/libc.texinfo (VERSION, UPDATED): Update.
12336 (@copying): Use @copyright{} and range of years.
12337
0e7dfaef
JM
123382012-02-21 Joseph Myers <joseph@codesourcery.com>
12339
12340 [BZ #13695]
12341 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12342 [crti.S not in sysdirs] (generated): Do not append.
12343 [crti.S not in sysdirs] (omit-deps): Likewise.
12344 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12345 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12346 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12347 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12348 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12349 Likewise.
12350 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12351 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12352 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12353 * csu/defs.awk: Remove file.
12354 * sysdeps/generic/initfini.c: Likewise.
12355 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12356 variable.
12357 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12358 Likewise.
12359
599af3ca
JM
123602012-02-20 Joseph Myers <joseph@codesourcery.com>
12361
12362 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12363 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12364 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12365 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12366 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12367 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12368 <bits/epoll.h>.
12369 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12370 (__EPOLL_PACKED): Define to empty if not defined by
12371 <bits/epoll.h>.
12372 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12374 bits/epoll.h.
12375
0e499750
JM
123762012-02-20 Joseph Myers <joseph@codesourcery.com>
12377
12378 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12379 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12380 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12381 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12382 <bits/timerfd.h>.
12383 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12385 bits/timerfd.h.
12386
5ad91f6e
JM
123872012-02-20 Joseph Myers <joseph@codesourcery.com>
12388
12389 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12390 in C locale.
12391 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12392 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12393 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12395
06b99b02
AJ
123962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12397
12398 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12399 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12400
7638c0fd
AS
124012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12402
12403 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12404 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12405 defined.
12406 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12407 Likewise.
12408 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12409 entry for 2.16.
12410
92221550
AJ
124112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12412
12413 * math/w_acos.c: Use non-signaling floating-point comparisons.
12414 * math/w_acosf.c: Likewise.
12415 * math/w_acosh.c: Likewise.
12416 * math/w_acoshf.c: Likewise.
12417 * math/w_acoshl.c: Likewise.
12418 * math/w_acosl.c: Likewise.
12419 * math/w_asin.c: Likewise.
12420 * math/w_asinf.c: Likewise.
12421 * math/w_asinl.c: Likewise.
12422 * math/w_atanh.c: Likewise.
12423 * math/w_atanhf.c: Likewise.
12424 * math/w_atanhl.c: Likewise.
12425 * math/w_exp2.c: Likewise.
12426 * math/w_exp2f.c: Likewise.
12427 * math/w_exp2l.c: Likewise.
12428 * math/w_j0.c: Likewise.
12429 * math/w_j0f.c: Likewise.
12430 * math/w_j0l.c: Likewise.
12431 * math/w_j1.c: Likewise.
12432 * math/w_j1f.c: Likewise.
12433 * math/w_j1l.c: Likewise.
12434 * math/w_jn.c: Likewise.
12435 * math/w_jnf.c: Likewise.
12436 * math/w_log.c: Likewise.
12437 * math/w_log10.c: Likewise.
12438 * math/w_log10f.c: Likewise.
12439 * math/w_log10l.c: Likewise.
12440 * math/w_log2.c: Likewise.
12441 * math/w_log2f.c: Likewise.
12442 * math/w_log2l.c: Likewise.
12443 * math/w_logf.c: Likewise.
12444 * math/w_logl.c: Likewise.
12445 * math/w_sqrt.c: Likewise.
12446 * math/w_sqrtf.c: Likewise.
12447 * math/w_sqrtl.c: Likewise.
12448 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12449 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12450 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12451 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12452 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12453
ebaf36eb
JM
124542012-02-19 Joseph Myers <joseph@codesourcery.com>
12455
12456 [BZ #9739]
12457 * manual/string.texi (strnlen): Use correct parameter name in
12458 equivalent expression.
12459
71c254a6
JM
124602012-02-19 Joseph Myers <joseph@codesourcery.com>
12461
12462 [BZ #11174]
12463 * manual/users.texi (seteuid): Consistently use neweuid for
12464 argument name.
12465
16d2c631
JM
124662012-02-19 Joseph Myers <joseph@codesourcery.com>
12467
12468 [BZ #13704]
12469 * manual/nss.texi (Services in the NSS configuration): Correct
12470 list of services in example configuration file.
12471
cd837b09
NB
124722012-02-19 Nick Bowler <nbowler@draconx.ca>
12473
12474 [BZ #11322]
12475 * manual/arith.texi: Remove statements about negative zero
12476 behaving identically to zero.
12477
02c4bbad
JM
124782012-02-18 Joseph Myers <joseph@codesourcery.com>
12479
12480 [BZ #5993]
12481 * manual/install.texi: Do not document upgrading from libc5.
12482
366842e7
JM
124832012-02-18 Joseph Myers <joseph@codesourcery.com>
12484
12485 [BZ #4596]
12486 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12487
dd54084d
DM
124882012-02-18 David S. Miller <davem@davemloft.net>
12489
12490 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12491 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12492 %o7 across the call.
12493 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12494 instead.
12495 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12496 SETUP_PIC_REG_LEAF.
12497 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12498 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12499 * sysdeps/sparc/crtn.S: Likewise.
12500
2bcc53a3
UD
125012012-02-17 Ulrich Drepper <drepper@gmail.com>
12502
12503 * aout/Makefile: Remove.
12504
09c093b5
RK
125052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12506
12507 [BZ #13058]
12508 * manual/examples/argp-ex1.c (main): Format definition in GNU
12509 style.
12510 * manual/examples/argp-ex2.c (main): Likewise.
12511 * manual/examples/argp-ex3.c (main): Likewise.
12512 * manual/examples/argp-ex4.c (main): Likewise.
12513 * manual/examples/longopt.c (main): Use new-style prototype
12514 definition.
12515 * manual/examples/strncat.c (main): Specify return type and use
12516 (void) for arguments.
12517 * manual/examples/subopt.c (main): Use char **argv argument.
12518
2ee633a2
JM
125192012-02-17 Joseph Myers <joseph@codesourcery.com>
12520
12521 [BZ #5077]
12522 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12523 rounding modes.
12524
0520adde
FB
125252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12526
12527 [BZ #6907]
12528 * manual/string.texi (strchr): Change when strchrnul is
12529 recommended.
12530
3f4081cd
DGM
125312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12532
12533 [BZ #174]
12534 * manual/locale.texi (setlocale): Document LOCPATH.
12535
d1b10e78
JM
125362012-02-17 Joseph Myers <joseph@codesourcery.com>
12537
12538 [BZ #10210]
12539 * manual/process.texi (execle): Move @dots{} before last argument.
12540
79c6869c
PB
125412012-02-17 Paul Bolle <pebolle@tiscali.nl>
12542
12543 [BZ #12047]
12544 * manual/charset.texi (Generic Charset Conversion): Fix typo
12545 (LC_TYPE -> LC_CTYPE).
12546
cc6e48bc
NB
125472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12548
12549 [BZ #5805]
12550 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12551 (scalbnf): Likewise.
12552 (scalbnl): Likewise.
12553 (scalbln): Likewise.
12554 (scalblnf): Likewise.
12555 (scalblnl): Likewise.
12556 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12557 (vwarnx): Likewise.
12558 (verr): Likewise.
12559 (verrx): Likewise.
12560 * manual/filesys.texi (telldir): Use braces around return type.
12561 * manual/llio.texi (mmap): Add space after comma.
12562 (mmap64): Likewise.
12563 * manual/math.texi (jn): Use @var{} on parameter names.
12564 (jnf): Likewise.
12565 (jnl): Likewise.
12566 (yn): Likewise.
12567 (ynf): Likewise.
12568 (ynl): Likewise.
12569 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12570 line.
12571 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12572 "...".
12573 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12574 (sched_get_priority_max): Likewise.
12575 * manual/signal.texi (sigvec): Add space after comma.
12576 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12577 names.
12578 (if_indextoname): Likewise.
12579 (if_freenameindex): Likewise.
12580 (sendto): Use ',' instead of '.' in prototype.
12581 * manual/startup.texi (syscall): Use @dots{} instead of literal
12582 "...".
12583 * manual/stdio.texi (__fpending): Separate initial words of
12584 paragraph from @deftypefun line.
12585 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12586 "...".
12587 (vsyslog): Use @var{} on parameter names.
12588 * manual/terminal.texi (stty): Use @var{} on parameter names.
12589 * manual/users.texi (getutmp): Use @var{} on parameter names.
12590 (getutmpx): Likewise.
12591
5b23062f
JM
125922012-02-17 Joseph Myers <joseph@codesourcery.com>
12593
12594 [BZ #6884]
12595 * manual/stdio.texi (fopen): Fix typos in description of
12596 ",ccs=STRING".
12597
8dee4833
AJ
125982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12599
12600 [BZ #4026]
12601 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12602 get clock_id definition.
12603
9078ce93
TS
126042012-02-17 Thomas Schwinge <thomas@schwinge.name>
12605
12606 [BZ #4822]
12607 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12608 (madvise): Cast every argument to void on its own.
12609
3835c55f
JM
126102012-02-17 Joseph Myers <joseph@codesourcery.com>
12611
12612 [BZ #9902]
12613 * manual/startup.texi (Exit Status): Fix typo.
12614
35c47e37
JM
126152012-02-17 Joseph Myers <joseph@codesourcery.com>
12616
12617 [BZ #10140]
12618 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12619 * manual/examples/argp-ex2.c: Likewise.
12620 * manual/examples/argp-ex3.c: Likewise.
12621
e3b69ca7
RH
126222012-02-16 Richard Henderson <rth@redhat.com>
12623
12624 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12625 * sysdeps/s390/s390-32/initfini.c: Remove.
12626 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12627 * sysdeps/s390/s390-64/initfini.c: Remove.
12628
df83af67
KK
126292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12630
12631 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12632 compiler output for sysdeps/generic/initfini.c.
12633 * sysdeps/sh/elf/initfini.c: Remove file.
12634
f63f3380
DM
126352012-02-16 David S. Miller <davem@davemloft.net>
12636
fb59b3a4
DM
12637 [BZ #11494]
12638 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12639
f63f3380
DM
12640 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12641 * sysdeps/sparc/crti.S: New file.
12642 * sysdeps/sparc/crtn.S: New file.
12643 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12644 * sysdeps/sparc/sparc64/Makefile: Likewise.
12645
df6a4a4a
MF
126462012-02-15 Mike Frysinger <vapier@gentoo.org>
12647
6dd8f3dc 12648 [BZ #3335]
df6a4a4a
MF
12649 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12650
1cac7236
RM
126512012-02-15 Roland McGrath <roland@hack.frob.com>
12652
d2c736f8
RM
12653 [BZ #4822]
12654 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12655
1cac7236
RM
12656 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12657 (write, read, close): Likewise.
12658 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12659
8e475601
JM
126602012-02-15 Joseph Myers <joseph@codesourcery.com>
12661
12662 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12663 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12664 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12665 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12666 <bits/signalfd.h>.
12667 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12669 bits/signalfd.h.
12670
ed656b40
MP
126712012-02-14 Marek Polacek <polacek@redhat.com>
12672
12673 * sysdeps/x86_64/crti.S: New file.
12674 * sysdeps/x86_64/crtn.S: New file.
12675 * sysdeps/x86_64/elf/initfini.c: Remove file.
12676
2a979d3a
JM
126772012-02-13 Joseph Myers <joseph@codesourcery.com>
12678
12679 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12680 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12681 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12682 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12683 <bits/inotify.h>.
12684 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12686 bits/inotify.h.
12687
2a418ac3
JM
126882012-02-13 Joseph Myers <joseph@codesourcery.com>
12689
12690 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12691 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12692 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12693 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12694 <bits/eventfd.h>.
12695 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12697 bits/eventfd.h.
12698
fb779be7
TS
126992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12700
e19e83c5
RM
12701 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12702 __feraiseexcept instead of feraiseexcept.
7c35ffed 12703
fb779be7
TS
12704 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12705 nanosleep invocations.
12706 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12707 strings, and add error checking for a nanosleep invocations.
12708
59ba27a6
PE
127092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12710
12711 Replace FSF snail mail address with URLs, as per GNU coding standards.
12712 Most of the snail mail addresses were wrong anyway, and omitting
12713 them makes the source code easier to maintain. Almost all of the
12714 changes are to license notices and to locale LC_IDENTIFICATION
12715 addresses, except for this one:
12716 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12717 not its snail mail address.
12718
57b957eb
RH
127192012-02-09 Richard Henderson <rth@twiddle.net>
12720
af850b1c
RH
12721 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12722 of kernel-features.h.
12723
57b957eb
RH
12724 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12725
6b73181a
MP
127262012-02-08 Marek Polacek <polacek@redhat.com>
12727
12728 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12729 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12730 * sysdeps/gnu/_G_config.h: Likewise.
12731 * sysdeps/generic/_G_config.h: Likewise.
12732
26ecc33a
AS
127332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12734
6c6dbc63
AS
12735 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12736 tests.
12737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12738
e216c012
AS
12739 * sysdeps/powerpc/powerpc32/crti.S: New file.
12740 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12741 * sysdeps/powerpc/powerpc64/crti.S: New file.
12742 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12743
26ecc33a
AS
12744 * Makeconfig (have-initfini): Don't set.
12745 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12746 * configure.in (nopic_initfini): Don't substitute.
12747 * config.h.in (HAVE_INITFINI): Don't #undef.
12748 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12749 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12750
3add8e13
JM
127512012-02-08 Joseph Myers <joseph@codesourcery.com>
12752
12753 Support crti.S and crtn.S provided directly by architectures.
12754 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12755 [crti.S in sysdirs] (omit-deps): Likewise.
12756 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12757 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12758 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12759 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12760 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12761 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12762 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12763 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12764 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12765 compiler output for sysdeps/generic/initfini.c.
12766 * sysdeps/i386/elf/Makefile: Remove file.
12767 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12768
a22f12b4
MP
127692012-02-07 Marek Polacek <polacek@redhat.com>
12770
12771 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12772 * sysdeps/gnu/_G_config.h: Likewise.
12773 * sysdeps/mach/hurd/_G_config.h: Likewise.
12774
148cf100
MP
127752012-02-07 Marek Polacek <polacek@redhat.com>
12776
12777 * math/Makefile (tests): Add tst-CMPLX2.
12778 * math/tst-CMPLX2.c: New file.
12779
cfdc0dd7
AS
127802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12781
84ba42c4
AS
12782 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12783
cfdc0dd7
AS
12784 * math/libm-test.inc (jn_test): Add missing L suffix.
12785
622c86f4
MP
127862012-02-06 Marek Polacek <polacek@redhat.com>
12787
12788 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12789 * sysdeps/i386/fpu/e_powf.S: Likewise.
12790 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12791 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12792 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12793 * sysdeps/i386/fpu/e_pow.S: Likewise.
12794 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12795 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12796 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12797 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12798 * sysdeps/i386/fpu/e_log2.S: Likewise.
12799 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12800 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12801 * sysdeps/i386/fpu/e_powl.S: Likewise.
12802 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12803 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12804 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12805 * sysdeps/i386/fpu/e_logl.S: Likewise.
12806 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12807 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12808 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12809 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12810 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12811 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12812 * sysdeps/i386/fpu/e_log.S: Likewise.
12813 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12814 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12815 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12816 * sysdeps/i386/fpu/e_logf.S: Likewise.
12817 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12818 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12819 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12820 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12821 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12822 * sysdeps/i386/fpu/e_log10.S: Likewise.
12823 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12824 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12825 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12826 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12827 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12828 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12829 * sysdeps/i386/asm-syntax.h: Likewise.
12830 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12831 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12832 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12833 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12834 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12835 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12836 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12837 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12838 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12839 * sysdeps/powerpc/sysdep.h: Likewise.
12840 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12841 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12842
d4a54ac6
JM
128432012-02-06 Joseph Myers <joseph@codesourcery.com>
12844
12845 [BZ #411]
12846 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12847
314054ea
JM
128482012-02-06 Joseph Myers <joseph@codesourcery.com>
12849
12850 * sysdeps/i386/sysdep.h: Include <features.h>.
12851 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12852 version.
12853
d8e0ca50
JM
128542012-02-05 Joseph Myers <joseph@codesourcery.com>
12855
12856 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12857 Define.
12858 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12859 LOAD_PIC_REG_STR.
12860
b1da7dd9
JM
128612012-02-03 Joseph Myers <joseph@codesourcery.com>
12862
12863 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12864 (SETUP_PIC_REG): Use GET_PC_THUNK.
12865 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12866 macro.
12867
9a1d9254
JM
128682012-02-03 Joseph Myers <joseph@codesourcery.com>
12869
12870 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12871 for non-PIC compilation.
12872 (SETUP_PIC_REG): Add .p2align directive.
12873 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12874 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12875 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12876 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12877 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12878 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12879 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12880 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12881 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12882 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12883 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12884 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12885 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12886 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12887 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12888 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12889 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12890 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12891 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12892 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12893 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12894 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12895 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12896 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12897 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12899 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12900 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12901 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12902 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12903 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12904 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12905 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12906 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12907 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12908 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12909 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12910 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12911 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12912 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12913 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12914
65dc3b75
JM
129152012-02-03 Joseph Myers <joseph@codesourcery.com>
12916
12917 * math/tst-CMPLX.c: Include <stdio.h>.
12918
d55bf177
JM
129192012-01-31 Joseph Myers <joseph@codesourcery.com>
12920
12921 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12922 float.
12923 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12924 * sysdeps/sparc/bits/mathdef.h: Likewise.
12925
69db4f8f
MP
129262012-01-31 Marek Polacek <polacek@redhat.com>
12927
12928 * libio/libio.h: Don't define _PARAMS.
12929 * locale/programs/config.h: Don't define PARAMS.
12930 * stdlib/strtol_l.c: Likewise.
12931 (__strtol_l): Remove PARAMS from the prototype.
12932
41b81892
UD
129332012-01-31 Ulrich Drepper <drepper@gmail.com>
12934
3b49edc0
UD
12935 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12936 names. Just use the correct names. Remove unnecessary wrapper
12937 functions.
12938 * malloc/arena.c: Likewise.
12939 * malloc/hooks.c: Likewise.
12940
41b81892
UD
12941 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12942 ARENA_TEST says not to. Simplify test for creation of a new arena.
12943 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12944
27a25b6e
UD
129452012-01-30 Ulrich Drepper <drepper@gmail.com>
12946
12947 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12948 into tail calls.
12949 (update_get_addr): New function.
12950 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12951 GET_ADDR_MODULE parameter.
12952
c8a89e7d
JM
129532012-01-30 Joseph Myers <joseph@codesourcery.com>
12954
12955 * crypt/cert.c: Remove __STDC__ conditionals.
12956 * crypt/crypt-entry.c: Likewise.
12957 * crypt/crypt_util.c: Likewise.
12958 * libio/filedoalloc.c: Likewise.
12959 * libio/fileops.c: Likewise.
12960 * libio/genops.c: Likewise.
12961 * libio/iofclose.c: Likewise.
12962 * libio/iofdopen.c: Likewise.
12963 * libio/iofopen.c: Likewise.
12964 * libio/iofopen64.c: Likewise.
12965 * libio/iogetdelim.c: Likewise.
12966 * libio/iopopen.c: Likewise.
12967 * libio/obprintf.c: Likewise.
12968 * libio/oldfileops.c: Likewise.
12969 * libio/oldiofclose.c: Likewise.
12970 * libio/oldiofdopen.c: Likewise.
12971 * libio/oldiofopen.c: Likewise.
12972 * libio/oldiopopen.c: Likewise.
12973 * libio/wfiledoalloc.c: Likewise.
12974 * libio/wgenops.c: Likewise.
12975 * locale/programs/xmalloc.c: Likewise.
12976 * misc/syslog.c: Likewise.
12977 * stdio-common/xbug.c: Likewise.
12978 * string/memchr.c: Likewise.
12979 * string/memcmp.c: Likewise.
12980 * string/memrchr.c: Likewise.
12981 * string/rawmemchr.c: Likewise.
12982 * sysdeps/posix/getcwd.c: Likewise.
12983 * time/strftime_l.c: Likewise.
12984
3b100462
JM
129852012-01-30 Joseph Myers <joseph@codesourcery.com>
12986
12987 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12988 * config.make.in (config-cflags-sse2avx): Define.
12989 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12990 Fix typo.
12991
607998af
CM
129922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12993
12994 * scripts/config.guess: Update from upstream config git repository.
12995 * scripts/config.sub: Likewise.
12996
3601428f
CM
129972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12998
3ac8b282
CM
12999 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13000 (EM_NUM): Update.
13001 (R_TILEPRO_*, R_TILEGX_*): New macros.
13002
e034841e
CM
13003 * scripts/firstversions.awk: Fix bug in version range handling.
13004
540d7568
CM
13005 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13006
3601428f
CM
13007 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13008
463de862
CM
13009 * include/sys/epoll.h: New file.
13010 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13011 libc_hidden_def.
13012
73139a76
UD
130132012-01-28 Ulrich Drepper <drepper@gmail.com>
13014
96bc5b45
UD
13015 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13016 Avoid unnecessary __WORDSIZE == 64 test.
13017 (fmaxf): Use VEX format if possible.
13018 (fmax): Likewise.
13019 (fminf): Likewise.
13020 (fmin): Likewise.
13021
56f6f6a2
UD
13022 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13023 * math/math_private.h: Remove libc_fegetround* and
13024 libc_fesetround*.
13025 * sysdeps/i386/configure.in: Check for -msse2avx.
13026 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13027 also if SSE2AVX is defined.
13028 Remove libc_fegetround* and libc_fesetround*.
13029 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13030 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13031 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13032 of HAS_YMM_USABLE.
13033 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13034 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13035 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13036 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13037 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13038
73139a76
UD
13039 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13040
d73f93a4
AZ
130412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13042
13043 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13044 size is not set.
13045 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13046
6ee65ed6
UD
130472012-01-27 Ulrich Drepper <drepper@gmail.com>
13048
13049 [BZ #13618]
13050 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13051 relocation.
13052 * Makeconfig (libm): Define.
13053 * elf/Makefile: Add rules to build and run tst-relsort1.
13054 * elf/tst-relsort1.c: New file.
13055 * elf/tst-relsort1mod1.c: New file.
13056 * elf/tst-relsort1mod2.c: New file.
13057
8db21882
JM
130582012-01-27 Joseph Myers <joseph@codesourcery.com>
13059
13060 * math/s_ldexp.c: Remove __STDC__ conditionals.
13061 * math/s_ldexpf.c: Likewise.
13062 * math/s_ldexpl.c: Likewise.
13063 * math/s_nextafter.c: Likewise.
13064 * math/s_nexttowardf.c: Likewise.
13065 * math/s_significand.c: Likewise.
13066 * math/s_significandf.c: Likewise.
13067 * math/s_significandl.c: Likewise.
13068 * math/w_jnl.c: Likewise.
13069 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13070 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13071 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13072 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13073 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13077 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13078 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13079 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13080 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13081 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13082 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13083 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13084 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13085 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13086 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13088 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13089 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13090 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13091 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13092 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13093 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13094 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13095 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13096 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13097 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13098 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13099 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13100 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13101 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13102 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13103 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13104 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13105 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13106 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13107 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13108 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13109 * sysdeps/ieee754/k_standard.c: Likewise.
13110 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13112 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13113 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13114 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13115 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13116 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13117 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13118 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13119 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13120 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13121 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13122 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13123 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13124 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13125 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13126 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13127 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13128 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13129 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13130 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13131 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13132 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13133 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13134 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13135 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13139 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13142 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13143 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13144 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13145 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13146 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13147 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13148 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13149 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13150 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13151 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13152 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13153 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13154 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13155 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13156 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13169 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13170 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13171 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13172 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13174 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13175 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13176 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13179 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13181 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13182 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13183 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13184 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13185 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13186 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13188 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13189 * sysdeps/ieee754/s_matherr.c: Likewise.
13190 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13191 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13192 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13193 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13194
965a54a4
JM
131952012-01-26 Joseph Myers <joseph@codesourcery.com>
13196
13197 * crypt/md5.h: Remove __STDC__ conditionals.
13198 * libio/libioP.h: Likewise.
13199 * locale/programs/config.h: Likewise.
13200 * sysdeps/generic/sysdep.h: Likewise.
13201 * sysdeps/i386/asm-syntax.h: Likewise.
13202 * sysdeps/s390/asm-syntax.h: Likewise.
13203 * sysdeps/unix/sysdep.h: Likewise.
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13206
7071ad79
JM
132072012-01-26 Joseph Myers <joseph@codesourcery.com>
13208
13209 * libio/libio.h: Remove __STDC__ conditionals.
13210 * malloc/obstack.h: Likewise.
13211 * math/complex.h: Likewise.
13212 * math/math.h: Likewise.
13213 * sysdeps/generic/_G_config.h: Likewise.
13214 * sysdeps/gnu/_G_config.h: Likewise.
13215 * sysdeps/mach/hurd/_G_config.h: Likewise.
13216 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13217 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13218 * sysdeps/sparc/bits/mathdef.h: Likewise.
13219
afc5ed09
UD
132202012-01-26 Ulrich Drepper <drepper@gmail.com>
13221
13222 [BZ #13583]
13223 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13224 Clean up HAS_* macros.
afc5ed09 13225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13226 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13227 possible.
13228 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13229 HAS_AVX.
13230 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13231 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13232 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13233 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13234 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13235
bdb6de1d
JM
132362012-01-25 Joseph Myers <joseph@codesourcery.com>
13237
13238 * elf/tst-unique3.cc (gets): Remove declaration.
13239 * elf/tst-unique3lib.cc (gets): Likewise.
13240 * elf/tst-unique3lib2.cc (gets): Likewise.
13241 * elf/tst-unique4.cc (gets): Likewise.
13242
b15549e6
UD
132432012-01-24 Ulrich Drepper <drepper@gmail.com>
13244
13245 * include/stdio.h: Add C++ protection. Add gets declarations and
13246 definitions.
13247 * debug/tst-chk1.c: Don't declare gets here.
13248 * stdio-common/tst-gets.c: Likewise.
13249
a037381f
JM
132502012-01-24 Joseph Myers <joseph@codesourcery.com>
13251
13252 * posix/glob: Remove directory.
13253
f1d4aa75
JM
132542012-01-24 Joseph Myers <joseph@codesourcery.com>
13255
13256 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13257
81c0c964
PT
132582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13259
13260 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13261 of the non-standard EPFNOSUPPORT.
13262
0ea698ae
ST
132632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13264
13265 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13266 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13267 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13268
d220b117
UD
132692012-01-21 Ulrich Drepper <drepper@gmail.com>
13270
13271 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13272
3e1aa84e
UD
132732012-01-20 Ulrich Drepper <drepper@gmail.com>
13274
13275 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13276 transient errors.
13277 * nscd/grpcache.c (cache_addgr): Likewise.
13278 * nscd/hstcache.c (cache_addhst): Likewise.
13279 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13280 * nscd/pwdcache.c (cache_addpw): Likewise.
13281 * nscd/servicescache.c (cache_addserv): Likewise.
13282
400aa020
UD
132832012-01-16 Ulrich Drepper <drepper@gmail.com>
13284
d77e7869
UD
13285 * malloc/malloc.c: Various cleanups.
13286 * malloc/hooks.c: Likewise.
13287
400aa020
UD
13288 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13289 * stdlib/bug-fmtmsg1.c: New file.
13290
13291 * stdlib/fmtmsg.c (init): Add missing unlock.
13292 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13293
e0a309cf
MP
132942012-01-12 Marek Polacek <polacek@redhat.com>
13295
13296 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13297 and _GNU_SOURCE.
13298
929d11c7
WS
132992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13300
13301 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13302 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13303 macro to ensure uniqueness of label name.
13304 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13305 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13306
41d0e869
UD
133072012-01-11 Ulrich Drepper <drepper@gmail.com>
13308
0cc5ed3b
UD
13309 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13310
41d0e869
UD
13311 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13312 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13313 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13315
a47a831a
UD
133162012-01-10 Ulrich Drepper <drepper@gmail.com>
13317
daa891c0
UD
13318 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13319
13320 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13321 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13322 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13323
e58ef0f2
UD
13324 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13325
a47a831a 13326 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13327 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13328 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13330
13331 * math/bits/math-finite.h: Add ldexp support.
13332
a0bfc9c7
MP
133332012-01-10 Marek Polacek <polacek@redhat.com>
13334
13335 * locale/programs/localedef.h (show_archive_content): Add noreturn
13336 attribute.
13337
d6e97a1d
UD
133382012-01-09 Ulrich Drepper <drepper@gmail.com>
13339
13340 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13341
d5835c26
UD
133422012-01-08 Ulrich Drepper <drepper@gmail.com>
13343
e5f484c6
UD
13344 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13345
d5835c26
UD
13346 * io/Makefile (headers): Add bits/poll2.h.
13347
d1f741e9
WS
133482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13349
13350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13351 typo #include statement.
13352
ec09c1c4
UD
133532012-01-08 Ulrich Drepper <drepper@gmail.com>
13354
13355 * include/sys/cdefs.h: Define __attribute_alloc_size.
13356 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13357 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13358 * elf/pldd.c: Likewise.
13359 * iconv/iconv_charmap.c: Likewise.
13360 * iconv/iconvconfig.c: Likewise.
13361 * iconv/strtab.c: Likewise.
13362 * locale/programs/locale.c: Likewise.
13363 * locale/programs/localedef.h: Likewise.
13364 * locale/programs/simple-hash.c: Likewise.
13365 * nscd/nscd.h: Likewise.
13366 * nss/makedb.c: Likewise.
13367 * sysdeps/generic/ldconfig.h: Likewise.
13368 * locale/programs/localedef.c: Remove xmalloc prototype.
13369 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13370
20b38e03
PP
133712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13372
13373 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13374 appropriate.
13375
a0da5fe1
UD
133762012-01-08 Ulrich Drepper <drepper@gmail.com>
13377
1d5a644a 13378 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13379 * math/tst-CMPLX.c: New file.
1d5a644a 13380
8784a6db
UD
13381 * math/complex.h (CMPLXL): Fix typo.
13382
d9a216c0
UD
13383 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13384 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13385 GLIBC_2.16.
13386 * debug/tst-chk1.c: Add poll and ppoll tests.
13387 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13388 * include/sys/poll.h: Add hidden proto for ppoll.
13389 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13390 * sysdeps/mach/hurd/ppoll.c: Likewise.
13391 * io/ppoll.c: Likewise.
13392 * debug/poll_chk.c: New file.
13393 * debug/ppoll_chk.c: New file.
13394 * include/bits/poll2.h: New file.
13395 * io/bits/poll2.h: New file.
13396
ac097f5c
UD
13397 [BZ #1350]
13398 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13399
2119dcfa
UD
13400 * configure.in: static is always set to yes. Remove.
13401 * config.make.in: Don't set build-static.
13402 * Makeconfig: Remove use of build-static.
13403 * dlfcn/Makefile: Likewise.
13404 * elf/Makefile: Likewise.
13405 * math/Makefile: Likewise.
13406 * misc/Makefile: Likewise.
13407 * nptl/Makefile: Likewise.
13408 * sysdeps/mach/hurd/Makefile: Likewise.
13409
121766a9
UD
13410 * configure.in: PWD_P is not used anymore.
13411 * config.make.in: Remove PWD_P entry.
13412
51a1d39c 13413 * configure.in: Remove last remnants of RANLIB.
8720d066 13414 No need to check for signed size_t anymore.
215f4bdc
UD
13415 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13416 and IA-64.
3857022a 13417 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13418 * aclocal.m4: Likewise.
13419
d3ed7225
UD
13420 * wcsmbs/mbrtoc16.c: Implement using towc function.
13421 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13422 * wcsmbs/wcsmbsload.c: Likewise.
13423 * iconv/gconv_simple.c: Likewise.
13424 * iconv/gconv_int.h: Likewise.
13425 * iconv/gconv_builtin.h: Likewise.
13426 * iconv/iconv_prog.c: Remove CHAR16 handling.
13427
13428 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13429
13430 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13431
a0da5fe1
UD
13432 * configure.in: Remove --with-elf and --enable-bounded options.
13433 Dont set base_machine for ia64. More non-ELF conditions removed.
13434 Remove testing and setting of leading underscore information.
13435 * config.make.in (build-bounded): Set to no.
13436 * config.h.in: Remove NO_UNDERSCORES entry.
13437 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13438 them.
13439 * csu/start.c: Remove !NO_UNDERSCORE code.
13440 * locale/localeinfo.h: Likewise.
13441 * sysdeps/generic/machine-gmon.h: Likewise.
13442 * sysdeps/generic/sysdep.h: Likewise.
13443 * sysdeps/i386/sysdep.h: Likewise.
13444 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13445 * sysdeps/mach/sysdep.h: Likewise.
13446 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13447 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13448 * sysdeps/sh/sysdep.h: Likewise.
13449 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13450 * sysdeps/unix/i386/sysdep.S: Likewise.
13451 * sysdeps/unix/sparc/start.c: Likewise.
13452 * sysdeps/unix/sparc/sysdep.S: Likewise.
13453 * sysdeps/unix/sparc/sysdep.h: Likewise.
13454 * sysdeps/unix/start.c: Likewise.
13455 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13456 * sysdeps/x86_64/sysdep.h: Likewise.
13457
df78418a
UD
134582012-01-07 Ulrich Drepper <drepper@gmail.com>
13459
a784e502
UD
13460 [BZ #13553]
13461 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13462 for non-gcc.
13463 * argp/argp-fmtstream.h: Use const instead __const.
13464 * argp/argp.h: Likewise.
13465 * assert/assert.h: Likewise.
13466 * bits/fenv.h: Likewise.
13467 * bits/sched.h: Likewise.
13468 * bits/sigset.h: Likewise.
13469 * bits/sigthread.h: Likewise.
13470 * catgets/nl_types.h: Likewise.
13471 * conform/data/pthread.h-data: Likewise.
13472 * crypt/crypt-private.h: Likewise.
13473 * crypt/crypt.h: Likewise.
13474 * crypt/crypt_util.c: Likewise.
13475 * ctype/ctype.h: Likewise.
13476 * debug/execinfo.h: Likewise.
13477 * debug/mbsnrtowcs_chk.c: Likewise.
13478 * debug/mbsrtowcs_chk.c: Likewise.
13479 * debug/wcsnrtombs_chk.c: Likewise.
13480 * debug/wcsrtombs_chk.c: Likewise.
13481 * debug/wcstombs_chk.c: Likewise.
13482 * dirent/dirent.h: Likewise.
13483 * dlfcn/dlfcn.h: Likewise.
13484 * elf/neededtest4.c: Likewise.
13485 * grp/grp.h: Likewise.
13486 * gshadow/gshadow.h: Likewise.
13487 * iconv/gconv.h: Likewise.
13488 * iconv/gconv_int.h: Likewise.
13489 * iconv/gconv_simple.c: Likewise.
13490 * iconv/iconv.h: Likewise.
13491 * iconv/loop.c: Likewise.
13492 * iconv/skeleton.c: Likewise.
13493 * include/aio.h: Likewise.
13494 * include/aliases.h: Likewise.
13495 * include/argz.h: Likewise.
13496 * include/arpa/inet.h: Likewise.
13497 * include/assert.h: Likewise.
13498 * include/dirent.h: Likewise.
13499 * include/dlfcn.h: Likewise.
13500 * include/execinfo.h: Likewise.
13501 * include/fcntl.h: Likewise.
13502 * include/fenv.h: Likewise.
13503 * include/glob.h: Likewise.
13504 * include/grp.h: Likewise.
13505 * include/libintl.h: Likewise.
13506 * include/mntent.h: Likewise.
13507 * include/netdb.h: Likewise.
13508 * include/pwd.h: Likewise.
13509 * include/rpc/netdb.h: Likewise.
13510 * include/sched.h: Likewise.
13511 * include/search.h: Likewise.
13512 * include/shadow.h: Likewise.
13513 * include/signal.h: Likewise.
13514 * include/stdio.h: Likewise.
13515 * include/stdlib.h: Likewise.
13516 * include/string.h: Likewise.
13517 * include/sys/socket.h: Likewise.
13518 * include/sys/stat.h: Likewise.
13519 * include/sys/statfs.h: Likewise.
13520 * include/sys/statvfs.h: Likewise.
13521 * include/sys/syslog.h: Likewise.
13522 * include/sys/time.h: Likewise.
13523 * include/sys/uio.h: Likewise.
13524 * include/time.h: Likewise.
13525 * include/unistd.h: Likewise.
13526 * include/utmp.h: Likewise.
13527 * include/wchar.h: Likewise.
13528 * include/wctype.h: Likewise.
13529 * inet/aliases.h: Likewise.
13530 * inet/arpa/inet.h: Likewise.
13531 * inet/netinet/ether.h: Likewise.
13532 * inet/netinet/in.h: Likewise.
13533 * intl/libintl.h: Likewise.
13534 * io/bits/fcntl2.h: Likewise.
13535 * io/fcntl.h: Likewise.
13536 * io/ftw.h: Likewise.
13537 * io/sys/poll.h: Likewise.
13538 * io/sys/stat.h: Likewise.
13539 * io/sys/statfs.h: Likewise.
13540 * io/sys/statvfs.h: Likewise.
13541 * io/utime.h: Likewise.
13542 * libio/bits/stdio.h: Likewise.
13543 * libio/bits/stdio2.h: Likewise.
13544 * libio/libio.h: Likewise.
13545 * libio/libioP.h: Likewise.
13546 * libio/stdio.h: Likewise.
13547 * locale/lc-ctype.c: Likewise.
13548 * locale/locale.h: Likewise.
13549 * login/utmp.h: Likewise.
13550 * malloc/arena.c: Likewise.
13551 * malloc/malloc.c: Likewise.
13552 * malloc/malloc.h: Likewise.
13553 * malloc/mcheck.c: Likewise.
13554 * malloc/mtrace.c: Likewise.
13555 * math/bits/mathcalls.h: Likewise.
13556 * math/fenv.h: Likewise.
13557 * math/math_private.h: Likewise.
13558 * misc/bits/error.h: Likewise.
13559 * misc/bits/syslog.h: Likewise.
13560 * misc/err.h: Likewise.
13561 * misc/error.h: Likewise.
13562 * misc/fstab.h: Likewise.
13563 * misc/mntent.h: Likewise.
13564 * misc/regexp.h: Likewise.
13565 * misc/search.h: Likewise.
13566 * misc/sgtty.h: Likewise.
13567 * misc/sys/mman.h: Likewise.
13568 * misc/sys/syslog.h: Likewise.
13569 * misc/sys/uio.h: Likewise.
13570 * misc/sys/xattr.h: Likewise.
13571 * misc/ttyent.h: Likewise.
13572 * nis/rpcsvc/ypclnt.h: Likewise.
13573 * nss/nss.h: Likewise.
13574 * posix/bits/unistd.h: Likewise.
13575 * posix/fnmatch.h: Likewise.
13576 * posix/glob.h: Likewise.
13577 * posix/sched.h: Likewise.
13578 * posix/spawn.h: Likewise.
13579 * posix/sys/wait.h: Likewise.
13580 * posix/unistd.h: Likewise.
13581 * posix/wordexp.h: Likewise.
13582 * pwd/pwd.h: Likewise.
13583 * resolv/netdb.h: Likewise.
13584 * resource/sys/resource.h: Likewise.
13585 * rt/aio.h: Likewise.
13586 * rt/bits/mqueue2.h: Likewise.
13587 * rt/mqueue.h: Likewise.
13588 * shadow/shadow.h: Likewise.
13589 * signal/signal.h: Likewise.
13590 * socket/send.c: Likewise.
13591 * socket/sendto.c: Likewise.
13592 * socket/sys/socket.h: Likewise.
13593 * stdio-common/printf.h: Likewise.
13594 * stdlib/bits/stdlib.h: Likewise.
13595 * stdlib/fmtmsg.h: Likewise.
13596 * stdlib/monetary.h: Likewise.
13597 * stdlib/stdlib.h: Likewise.
13598 * stdlib/ucontext.h: Likewise.
13599 * streams/stropts.h: Likewise.
13600 * string/argz.h: Likewise.
13601 * string/bits/string2.h: Likewise.
13602 * string/string.h: Likewise.
13603 * string/strings.h: Likewise.
13604 * sunrpc/rpc/auth.h: Likewise.
13605 * sunrpc/rpc/auth_des.h: Likewise.
13606 * sunrpc/rpc/clnt.h: Likewise.
13607 * sunrpc/rpc/netdb.h: Likewise.
13608 * sunrpc/rpc/pmap_clnt.h: Likewise.
13609 * sunrpc/rpc/xdr.h: Likewise.
13610 * sysdeps/generic/inttypes.h: Likewise.
13611 * sysdeps/generic/net/if.h: Likewise.
13612 * sysdeps/generic/sys/swap.h: Likewise.
13613 * sysdeps/gnu/net/if.h: Likewise.
13614 * sysdeps/gnu/utmpx.h: Likewise.
13615 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13616 * sysdeps/i386/i486/bits/string.h: Likewise.
13617 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13618 * sysdeps/s390/bits/string.h: Likewise.
13619 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13620 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13621 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13622 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13623 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13624 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13625 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13626 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13627 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13628 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13629 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13630 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13631 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13632 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13633 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13634 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13635 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13636 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13637 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13638 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13639 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13640 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13641 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13642 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13643 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13644 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13645 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13646 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13647 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13648 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13649 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13650 * sysvipc/sys/ipc.h: Likewise.
13651 * sysvipc/sys/msg.h: Likewise.
13652 * sysvipc/sys/sem.h: Likewise.
13653 * sysvipc/sys/shm.h: Likewise.
13654 * termios/termios.h: Likewise.
13655 * time/sys/time.h: Likewise.
13656 * time/time.h: Likewise.
13657 * wcsmbs/bits/wchar2.h: Likewise.
13658 * wcsmbs/uchar.h: Likewise.
13659 * wcsmbs/wchar.h: Likewise.
13660 * wctype/wctype.h: Likewise.
13661
0269750c
UD
13662 [BZ #13551]
13663 * Makeconfig: Remove all but ELF support including AIX support.
13664 * Makerules: Likewise.
13665 * config.h.in: Likewise.
13666 * config.make.in: Likewise.
13667 * configure: Likewise.
13668 * configure.in: Likewise.
13669 * csu/Makefile: Likewise.
13670 * csu/version.c: Likewise.
13671 * debug/Makefile: Likewise.
13672 * dlfcn/Makefile: Likewise.
13673 * elf/Makefile: Likewise.
13674 * extra-lib.mk: Likewise.
13675 * iconv/Makefile: Likewise.
13676 * include/libc-symbols.h: Likewise.
13677 * include/shlib-compat.h: Likewise.
13678 * resolv/Makefile: Likewise.
13679 * resolv/res_libc.c: Likewise.
13680 * rt/Makefile: Likewise.
13681 * sysdeps/i386/asm-syntax.h: Likewise.
13682 * sysdeps/i386/sysdep.h: Likewise.
13683 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13684 * sysdeps/mach/sysdep.h: Likewise.
13685 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13686 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13687 * sysdeps/s390/asm-syntax.h: Likewise.
13688 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13689 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13690 * sysdeps/sh/sysdep.h: Likewise.
13691 * sysdeps/unix/sparc/sysdep.h: Likewise.
13692 * sysdeps/wordsize-32/divdi3.c: Likewise.
13693 * sysdeps/x86_64/sysdep.h: Likewise.
13694
00bbd29b
UD
13695 * argp/Versions: Remove _argp_unlock_xxx.
13696
13697 [BZ #13559]
13698 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13699 * abilist/libBrokenLocale.abilist: Likewise.
13700 * abilist/libanl.abilist: Likewise.
13701 * abilist/libc.abilist: Likewise.
13702 * abilist/libcrypt.abilist: Likewise.
13703 * abilist/libdl.abilist: Likewise.
13704 * abilist/libm.abilist: Likewise.
13705 * abilist/libnsl.abilist: Likewise.
13706 * abilist/libpthread.abilist: Likewise.
13707 * abilist/libresolv.abilist: Likewise.
13708 * abilist/librt.abilist: Likewise.
13709 * abilist/libthread_db.abilist: Likewise.
13710 * abilist/libutil.abilist: Likewise.
13711 * abilist/libnss_db.abilist: New file.
13712
13713 * scripts/abilist.awk: Add support for indirect functions.
13714
a2693a0e
UD
13715 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13716
3f05895f
UD
13717 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13718
ecb6fb48
UD
13719 * shlib-versions: Remove entries for ports architectures.
13720
664f8cb9
UD
13721 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13722 files in ports.
13723 * elf/stackguard-macros.h: Remove support for IA-64.
13724 * elf/tst-auditmod1.c: Likewise.
13725 * sysdeps/generic/ldsodefs.h: Likewise.
13726
7ae81d88
UD
13727 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13728 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13729 configure files.
13730
bdeba135
UD
13731 [BZ #13552]
13732 * configure.in: Remove --enable-omitfp support.
13733 * FAQ.in: Adjust.
13734 * config.make.in: Likewise.
13735 * Makeconfig: Likewise.
13736 * manual/install.texi: Likewise.
13737
d75a0a62
UD
13738 In case anyone cares, the IA-64 architecture could move to ports.
13739 * sysdeps/ia64/*: Removed.
13740 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13741 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13742
dcc9756b
UD
13743 [BZ #13555]
13744 * configure.in: Remove entries for unsupported architectures.
13745
d3761ebc 13746 [BZ #13533]
9954432e
UD
13747 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13748 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13749 routines.
13750 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13751 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13752 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13753 fall back to using wcrtomb.
13754 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13755 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13756 renaming.
13757 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13758 * wcsmbs/tst-c16c32-1.c: New file.
13759
13760 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13761 local variable.
13762
c3a87236
UD
13763 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13764
28926a1b
UD
13765 * elf/tst-unique3.cc: Add explicit declaration of gets.
13766 * elf/tst-unique3lib.cc: Likewise.
13767 * elf/tst-unique3lib2.cc: Likewise.
13768 * elf/tst-unique4.cc: Likewise.
13769
df78418a
UD
13770 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13771
8ecd6b2a
JM
137722012-01-06 Joseph Myers <joseph@codesourcery.com>
13773
13774 [BZ #13566]
13775 * assert/assert.h (static_assert): Don't define for C++.
13776 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13777 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13778
9f115170
UD
137792012-01-03 Ulrich Drepper <drepper@gmail.com>
13780
5e0d0300
UD
13781 * iconv/loop.c (single loop): Fix assertion in storing of
13782 remaining bytes.
13783
9f115170
UD
13784 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13785
81fb02b0
UD
137862012-01-01 Ulrich Drepper <drepper@gmail.com>
13787
13788 * posix/getconf.c: Update copyright year.
13789 * nss/getent.c: Likewise.
a316c1f6 13790 * nss/makedb.c: Likewise.
81fb02b0
UD
13791 * iconv/iconvconfig.c: Likewise.
13792 * iconv/iconv_prog.c: Likewise.
13793 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13794 * elf/pldd.c: Likewise.
13795 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13796 * catgets/gencat.c: Likewise.
13797 * csu/version.c: Likewise.
13798 * elf/ldd.bash.in: Likewise.
13799 * elf/sprof.c (print_version): Likewise.
13800 * locale/programs/locale.c: Likewise.
13801 * locale/programs/localedef.c: Likewise.
a316c1f6 13802 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13803 * nscd/nscd.c (print_version): Likewise.
13804 * debug/xtrace.sh: Likewise.
13805 * malloc/memusage.sh: Likewise.
13806 * malloc/mtrace.pl: Likewise.
13807 * debug/catchsegv.sh: Likewise.
13808
2ba92745
JJ
138092011-12-30 Jakub Jelinek <jakub@redhat.com>
13810
13811 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13812 pure attribute.
13813
dadebdae
UD
138142011-12-24 Ulrich Drepper <drepper@gmail.com>
13815
d3761ebc 13816 [BZ #13533]
db6af3eb
UD
13817 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13818 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13819 transformations.
13820 * iconv/gconv_int.h: Likewise.
13821 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13822 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13823 from libc for GLIBC_2.16.
13824 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13825 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13826 * wcsmbs/uchar.h: Really define mbstate_t.
13827 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13828 * wcsmbs/c16rtomb.c: New file.
13829 * wcsmbs/mbrtoc16.c: New file.
13830 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13831 for C/POSIX locale.
13832 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13833 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13834
dadebdae
UD
13835 * wcsmbs/wchar.h: Add missing __restrict.
13836
67371b56
UD
138372011-12-23 Ulrich Drepper <drepper@gmail.com>
13838
74033a25
UD
13839 [BZ #13532]
13840 * time/Makefile (routines): Add timespec_get.
13841 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13842 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13843 timespec for ISO C11.
13844 * time/timespec_get.c: New file.
13845 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13846 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13847
380d7e87
UD
13848 [BZ #13531]
13849 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13850 * stdlib/stdlib.h: Declare aligned_alloc.
13851 * Versions.def: Add GLIBC_2.16 for libc.
13852 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13853
4e9e7a35
UD
13854 [BZ 13527]
13855 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13856 ISO C11.
13857
380d7e87 13858 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13859 code.
13860
03a71829
UD
13861 [BZ #13528]
13862 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13863
839e283e
UD
13864 [BZ #13529]
13865 * assert/assert.h (static_assert): Define.
13866
ce5294e2 13867 * version.h: Update for 2.16 development version.
90fa7312 13868
8d44e150 13869 [BZ #13526]
d7809905
UD
13870 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13871 _ISOC11_SOURCE.
13872
c0da14cd
UD
13873 * version.h (RELEASE): Bump for 2.15 release.
13874 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13875
530a3249
MP
13876 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13877 Patch by Marek Polacek <mpolacek@redhat.com>.
13878
67371b56
UD
13879 * bits/byteswap.h: Protect long long constants with __extension__.
13880 * sysdeps/i386/bits/byteswap.h: Likewise.
13881 * sysdeps/ia64/bits/byteswap.h: Likewise.
13882 * sysdeps/s390/bits/byteswap.h: Likewise.
13883 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13884
15db4de1
LD
138852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13886
13887 [BZ #13540]
bbe315ea
LD
13888 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13889 destination buffer.
15db4de1
LD
13890 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13891
2b2596b1
MP
138922011-12-23 Marek Polacek <polacek@redhat.com>
13893
13894 * elf/dl-addr.c (determine_info): Add inline keyword.
13895 * elf/tst-auditmod4b.c (check_avx): Likewise.
13896 * elf/tst-auditmod6b.c (check_avx): Likewise.
13897 * elf/tst-auditmod6c.c (check_avx): Likewise.
13898 * elf/tst-auditmod7b.c (check_avx): Likewise.
13899
70c6c246
UD
139002011-12-23 Ulrich Drepper <drepper@gmail.com>
13901
13902 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13903 !__SSE_MATH__.
13904
c044cf14
LD
139052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13906
15db4de1 13907 [BZ #13540]
c044cf14
LD
13908 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13909 processing for last bytes.
13910
6b13d9d9
BH
139112011-08-06 Bruno Haible <bruno@clisp.org>
13912
d455f537
BH
13913 [BZ #13061]
13914 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13915 U+0385, not to U+1FEE.
13916
6b13d9d9
BH
13917 [BZ #13062]
13918 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13919 entry for U+00A5 U+0301.
13920
db910efd
UD
139212011-12-22 Ulrich Drepper <drepper@gmail.com>
13922
27deeafc
UD
13923 [BZ #13166]
13924 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13925 buffer for the output is too small.
13926
aed9d171
UD
13927 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13928 optimization.
13929
db910efd
UD
13930 [BZ #13185]
13931 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13932 SSE flags if possible.
13933
2bd779ae
LD
139342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13935
e7f9dac3 13936 [BZ #13540]
2bd779ae
LD
13937 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13938 processing for last bytes.
13939
154bfc16
JM
139402011-12-22 Joseph Myers <joseph@codesourcery.com>
13941
13942 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13943 (syscall-list-default-options, syscall-list-default-condition)
13944 (syscall-list-includes): Define.
13945 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13946 list of ABIs and options and #if conditions for each ABI. Do not
13947 handle common syscalls between ABIs specially.
13948 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13949 Remove.
13950 (syscall-list-variants, syscall-list-32bit-options)
13951 (syscall-list-32bit-condition, syscall-list-64bit-options)
13952 (syscall-list-64bit-condition): Define.
13953 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13954 (syscall-list-variants, syscall-list-32bit-options)
13955 (syscall-list-32bit-condition, syscall-list-64bit-options)
13956 (syscall-list-64bit-condition): Define.
13957 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13958 Remove.
13959 (syscall-list-variants, syscall-list-32bit-options)
13960 (syscall-list-32bit-condition, syscall-list-64bit-options)
13961 (syscall-list-64bit-condition): Define.
13962 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13963 Remove.
13964 (syscall-list-variants, syscall-list-32bit-options)
13965 (syscall-list-32bit-condition, syscall-list-64bit-options)
13966 (syscall-list-64bit-condition): Define.
13967
21eaf3a5
UD
139682011-12-22 Ulrich Drepper <drepper@gmail.com>
13969
16c6f992
UD
13970 * locale/iso-639.def: Add brx entry.
13971
41043168
UD
13972 [BZ #13328]
13973 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13974 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13975
21eaf3a5
UD
13976 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13977 __feraiseexcept_renamed.
13978
e3a851a2
UD
139792011-12-21 Ulrich Drepper <drepper@gmail.com>
13980
4920765e
UD
13981 [BZ #13538]
13982 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13983 EPOLLET with unsigned values.
13984 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13985 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13986
e3a851a2
UD
13987 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13988 to large cancellation.
13989 * math/s_cacoshf.c: Likewise.
13990 * math/s_cacoshl.c: Likewise.
13991
b27e24b8
RK
139922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13993
13994 [BZ #13305]
aebefeee 13995 [BZ #12786]
b27e24b8
RK
13996 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13997 * math/s_cacoshf.c: Likewise.
13998 * math/s_cacoshl.c: Likewise.
13999
ee190f67
UD
140002011-12-21 Ulrich Drepper <drepper@gmail.com>
14001
14002 [BZ #13439]
14003 * iconv/gconv.h: Define __GCONV_SWAP.
14004 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14005 * iconvdata/utf-16.c: Likewise.
14006 * iconvdata/utf-32.c: Likewise.
14007
707f25df
AS
140082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14009
14010 [BZ #13524]
14011 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14012 numerator after shifting it by one limb.
14013
d2daaa1e
RÁE
140142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14015
14016 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14017 under [__USE_EXTERN_INLINES].
14018
a4647e72
UD
140192011-12-17 Ulrich Drepper <drepper@gmail.com>
14020
14021 [BZ #13446]
14022 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14023
f0b264f1
AZ
140242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14025
14026 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14027 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14028 optimized code.
14029 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14030 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14031 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14032 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14033 for strncasecmp/strncasecmp_l compilation.
14034 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14035 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14036
8ef4f244
MP
140372011-12-08 Marek Polacek <mpolacek@redhat.com>
14038
14039 [BZ #13484]
14040 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14041 of __asm__.
14042
97ac2654
UD
140432011-12-17 Ulrich Drepper <drepper@gmail.com>
14044
14045 [BZ #13506]
14046 * time/tzfile.c (__tzfile_read): Check values from file header.
14047
91d2a845
WS
140482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14049
14050 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14051 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14052 * powerpc/powerpc32/dl-start.S: Likewise.
14053 * powerpc/powerpc32/elf/start.S: Likewise.
14054 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14055 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14056 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14057 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14058 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14059 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14060 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14061 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14062 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14063 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14064 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14065 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14066 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14067 * powerpc/powerpc32/memset.S: Likewise.
14068 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14069 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14070 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14071 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14072 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14073 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14074 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14075 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14076 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14077 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14078 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14079 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14080 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14081
a1267ba1
AZ
140822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14083
14084 * math/libm-test.inc: Added more nearbyint tests.
14085 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14086 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14087 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14088 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14089
ad8ac1bd
RL
140902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14091
14092 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14093 FD_CLOEXEC.
14094
1d3e4b61
UD
140952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14096
14097 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14098 Add wcscpy-ssse3 wcscpy-c.
14099 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14100 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14101 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14102 * sysdeps/x86_64/wcschr.S: New file.
14103 * sysdeps/x86_64/wcsrchr.S: New file.
14104 * string/test-strcmp.c: Remove checking of wcscmp function for
14105 wrong alignments.
14106 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14107 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14108 wcsrchr-sse2 wcsrchr-c.
14109 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14110 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14111 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14112 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14113 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14114 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14115 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14116 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14117 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14118 * wcsmbc/wcschr.c (WCSCHR): New macro.
14119
5b330a2d
UD
141202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14121
14122 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14123 * wcsmbs/test-wcsrchr.c: New file.
14124 * string/test-strrchr.c: Add wcsrchr support.
14125 (WIDE): New macro.
14126 * wcsmbs/test-wcscpy.c: New file.
14127 * string/test-strcpy.c: Add wcscpy support.
14128 (WIDE): New macro.
26428b7c 14129
f039c043
UD
141302011-12-10 Ulrich Drepper <drepper@gmail.com>
14131
14132 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14133 the inner loop.
14134
850fb039
AS
141352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14136
14137 [BZ #13472]
14138 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14139
4efbd5cb
UD
141402011-12-04 Ulrich Drepper <drepper@gmail.com>
14141
52ff5dd0 14142 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14143 Minor optimizations.
52ff5dd0 14144
4efbd5cb
UD
14145 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14146 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14147 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14148
8a426e12
UD
141492011-12-03 Ulrich Drepper <drepper@gmail.com>
14150
aff2453d
UD
14151 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14152 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14153 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14154 for gcc to avoid warnings.
14155 * inet/Makefile (tests): Add tst-checks.
14156 * inet/tst-checks.c: New file.
14157
14158 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14159 warning.
14160
14161 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14162 __wmemcmp_sse2.
14163
14164 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14165 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14166
8a426e12
UD
14167 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14168
9bea3473
UD
141692011-12-02 Ulrich Drepper <drepper@gmail.com>
14170
3a965496
UD
14171 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14172 problem.
14173
9bea3473
UD
14174 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14175
f101631b
UD
141762011-11-29 Joseph Myers <joseph@codesourcery.com>
14177
14178 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14179 conditional on GCC version.
14180 (__arch_compare_and_exchange_val_8_acq)
14181 (__arch_compare_and_exchange_val_16_acq)
14182 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14183 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14184 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14185
a98275aa
UD
141862011-12-02 Joseph Myers <joseph@codesourcery.com>
14187
14188 * sysdeps/sh/backtrace.c: New file.
14189
d4cc29a2
AS
141902011-12-02 Andreas Schwab <schwab@redhat.com>
14191
14192 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14193 parenthesis.
14194
6257af2d
AS
141952011-12-01 Andreas Schwab <schwab@redhat.com>
14196
14197 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14198 falling back to utime.
14199
b5f44c1a
AS
142002011-11-30 Andreas Schwab <schwab@redhat.com>
14201
14202 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14203 expectations for float.
14204
f3a6cc0a
AS
142052011-11-29 Andreas Schwab <schwab@redhat.com>
14206
14207 * locale/weight.h (findidx): Add parameter len.
14208 * locale/weightwc.h (findidx): Likewise.
14209 * posix/fnmatch_loop.c (FCT): Adjust caller.
14210 * posix/regcomp.c (build_equiv_class): Likewise.
14211 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14212 * posix/regexec.c (check_node_accept_bytes): Likewise.
14213 * string/strcoll_l.c (STRCOLL): Likewise.
14214 * string/strxfrm_l.c (STRXFRM): Likewise.
14215
9d65ea3a
UD
142162011-11-17 Ulrich Drepper <drepper@gmail.com>
14217
14218 * Makefile.in: Remove CVSOPT handling.
14219 * configure.in: Remove use of AC_REVISION.
14220 * iconvdata/Makefile (distribute): No need to filter out CVS.
14221 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14222 handling.
14223
5583a086
AS
142242011-11-16 Andreas Schwab <schwab@redhat.com>
14225
14226 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14227 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14228 [USE_AS_STRNCASECMP_L]: Likewise.
14229 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14230 NO_TLS_DIRECT_SEG_REFS.
14231 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14232 Fix argument offsets for non-PIC.
14233 [USE_AS_STRNCASECMP_L]: Likewise.
14234 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14235 NO_TLS_DIRECT_SEG_REFS.
14236
d62a8200
UD
142372011-11-15 Ulrich Drepper <drepper@gmail.com>
14238
9d65ea3a 14239 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14240 O_CLOEXEC.
14241 * locale/loadlocale.c (_nl_load_locale): Likewise.
14242
09f93bd3
AS
142432011-11-15 Andreas Schwab <schwab@redhat.com>
14244
446514f9
AS
14245 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14246 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14247 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14248 (SYSCALL_GETTIME): Set errno on error.
14249
09f93bd3
AS
14250 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14251 count references to noai6ai_cached.
14252
312be3f9
UD
142532011-11-15 Ulrich Drepper <drepper@gmail.com>
14254
14255 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14256
14257 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14258 FD_CLOEXEC for /proc/self/maps.
14259
14260 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14261 FD_CLOEXEC for /proc/meminfo.
14262
14263 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14264 gai.conf.
14265
14266 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14267 FD_CLOEXEC for given file.
14268
14269 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14270
14271 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14272 FD_CLOEXEC for /etc/hosts.
14273 (_gethtent): Likewise.
14274
14275 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14276
14277 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14278 cancellation and set FD_CLOEXEC for /etc/netgroup.
14279
14280 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14281 reading /etc/publickey.
14282
14283 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14284 allow cancellation when reading /etc/group.
14285
14286 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14287 cancellation.
14288 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14289
14290 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14291 when using data file.
14292
14293 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14294
14295 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14296 (write_nis_obj): Use "c" and "e" in fopen.
14297
14298 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14299
14300 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14301
14302 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14303
14304 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14305
14306 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14307 locale.alias.
14308
14309 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14310
14311 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14312
14313 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14314
14315 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14316 file parsing and set FD_CLOEXEC.
14317
82af0fa8
UD
143182011-11-14 Ulrich Drepper <drepper@gmail.com>
14319
14320 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14321
a5fb313c
AS
143222011-11-14 Andreas Schwab <schwab@redhat.com>
14323
14324 * malloc/arena.c (arena_get2): Don't call reused_arena when
14325 _int_new_arena failed.
14326
6abf3465
UD
143272011-11-14 Ulrich Drepper <drepper@gmail.com>
14328
14329 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14330 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14331 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14332 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14333 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14334 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14335 to compile strcasecmp and strncasecmp.
14336 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14337 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14338
14339 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14340
76e3966e
UD
143412011-11-13 Ulrich Drepper <drepper@gmail.com>
14342
14343 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14344 locale-defines.sym to gen-as-const-headers.
14345 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14346 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14347 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14348 to compile strcasecmp and strncasecmp.
14349 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14350 strcasecmp_l and strncasecmp_l.
14351 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14352 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14353 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14354 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14355 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14356 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14357 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14358 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14359 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14360 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14361 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14362
ab26144e
UD
143632011-11-12 Ulrich Drepper <drepper@gmail.com>
14364
7edb22ef
UD
14365 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14366 result of SYSDEP_GETTIME_CPU to retval.
14367 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14368 parameter list to macro. Remove trailing semicolon. Adjust users.
14369
9694fc44
UD
14370 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14371 variable.
14372
8ad89ef8
UD
14373 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14374 mantissa words.
14375 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14376
0c822ef9
UD
14377 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14378 from unused variable.
14379
874e0564
UD
14380 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14381 DWARF definitions.
14382 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14383 for assembling.
14384
3a2edc79
UD
14385 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14386 over namespaces.
14387
f3c2577f
UD
14388 * sunrpc/rpc_prot.c (rejected): Fix case value.
14389
294ce126
UD
14390 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14391 unsigned long long int to avoid warnings in shift.
14392
5e2b63c6
UD
14393 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14394 of use of trans.
14395 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14396 variable tmp.
14397
e7f4b08e
UD
14398 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14399 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14400 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14401
ab26144e
UD
14402 * nis/nis_table.c (nis_list): Use variable of correct type for
14403 result of __follow_path call.
14404
8a6d5255
AZ
144052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14406
14407 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14408 of math functions ceil, trunc, floor, round, and sqrt, when
14409 avaliable on the platform.
14410 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14411 name clash.
14412 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14413 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14414 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14415
aaddc98c
MP
144162011-10-30 Marek Polacek <mpolacek@redhat.com>
14417
14418 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14419 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14420
95b7042b
RM
144212011-11-11 Roland McGrath <roland@hack.frob.com>
14422
14423 * include/unistd.h: Fix __readlink return type.
14424 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14425
57769839
UD
144262011-11-11 Ulrich Drepper <drepper@gmail.com>
14427
14428 * stdlib/ucontext.h: Undo last change for makecontext.
14429
edc5984d
AS
144302011-11-11 Andreas Schwab <schwab@redhat.com>
14431
98591e58
AS
14432 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14433
edc5984d
AS
14434 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14435 * setjmp/setjmp.h: Mark functions as non-leaf.
14436 * setjmp/bits/setjmp2.h: Likewise.
14437 * stdlib/ucontext.h: Likewise.
14438
77cdc054
AS
144392011-11-10 Andreas Schwab <schwab@redhat.com>
14440
14441 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14442 (reused_arena): Don't check arena limit.
14443 (arena_get2): Atomically check arena limit.
14444
fe72eebd
UD
144452011-11-08 Ulrich Drepper <drepper@gmail.com>
14446
5f078c32
UD
14447 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14448 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14449
fe72eebd
UD
14450 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14451 instructions.
14452
ae1bc2fa
AS
144532011-11-07 Andreas Schwab <schwab@redhat.com>
14454
7583a88d
AS
14455 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14456 handler when locking.
14457
ae1bc2fa
AS
14458 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14459 Fix size of allocated buffer.
14460
10fb0bfa
AS
144612011-11-04 Andreas Schwab <schwab@redhat.com>
14462
998832a4
AS
14463 [BZ #10103]
14464 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14465 declarations for long double functions.
14466 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14467
10fb0bfa
AS
14468 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14469
3d7ba52b
AS
144702011-11-03 Andreas Schwab <schwab@redhat.com>
14471
a9ae54a1
AS
14472 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14473 installed.
14474
3d7ba52b
AS
14475 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14476 is disabled.
14477
bc8db248
ST
144782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14479
14480 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14481
45b96dd6
AS
144822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14483
647776f6
AS
14484 * include/alloca.h (stackinfo_alloca_round): Define.
14485 (extend_alloca): Use it.
14486 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14487 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14488 here.
14489
d91a8b93
AS
14490 * scripts/check-local-headers.sh: Ignore libaudit.h.
14491
45b96dd6
AS
14492 * nscd/Makefile (extra-objs): Make recursively expanded.
14493
432d41ce
UD
144942011-11-01 Ulrich Drepper <drepper@gmail.com>
14495
34372fc6
UD
14496 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14497 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14498
fadb59f8
UD
14499 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14500 * posix/tst-rfc3484-2.c: Likewise.
14501 * posix/tst-rfc3484-3.c: Likewise.
14502
78239589
UD
14503 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14504 process_vm_writev.
14505 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14506 process_vm_writev.
14507 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14508 process_vm_writev from libc using GLIBC_2.15 version.
14509
432d41ce
UD
14510 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14511
02f9c6cf
PP
145122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14513
14514 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14515 stack usage.
14516
3a2c0242
UD
145172011-10-31 Ulrich Drepper <drepper@gmail.com>
14518
f4ec4833
UD
14519 [BZ #13367]
14520 * nss/getent.c (initgroups_keys): Show error message in case no group
14521 names are given.
14522
3a2c0242
UD
14523 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14524 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14525 __bump_nl_timestamp.
14526 * nscd/connections (nscd_init): When host database is served open
14527 netlink socket and request notification about configuration changes.
14528 (main_loop_poll): Track netlink file descriptor and bump timestamp
14529 in case data becomes available.
14530 (main_loop_epoll): Likewise.
14531 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14532 (database_pers_head): Add extra_data fileds.
14533 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14534 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14535 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14536 Adjust caller.
14537 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14538 in6ai data, call __free_in6ai.
14539 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14540 Add -DHAVE_NETLINK.
14541 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14542 interface information. Reuse previous data if netlink timestamp
14543 is not changed.
14544 (__bump_nl_timestamp): New function.
14545 (__free_in6ai): New function.
14546
636064eb
UD
145472011-10-30 Ulrich Drepper <drepper@gmail.com>
14548
14549 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14550 close_not_cancel_no_status here.
14551 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14552
9beb2334
UD
145532011-10-29 Ulrich Drepper <drepper@gmail.com>
14554
6ef76f3b
UD
14555 [BZ #13276]
14556 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14557 return value.
14558
0ffc4f3e 14559 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14560 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14561 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14562
cb95113e
UD
145632011-07-03 Andreas Jaeger <aj@suse.de>
14564
14565 [BZ #10709]
14566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14567 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14568 * math/libm-test.inc (sin_test): Add test case.
14569
a1b560ff
UD
145702011-10-29 Ulrich Drepper <drepper@gmail.com>
14571
c9aaface
UD
14572 [BZ #13337]
14573 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14574 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14575
d272e7f1
UD
14576 * elf/chroot_canon.c (chroot_canon): Cleanups.
14577
1bc33071
UD
14578 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14579
1760874d
TJ
14580 [BZ #13335]
14581 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14582 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14583
51d91b18
UD
14584 * string/test-strchr.c: Make usable for strchrnul testing.
14585 * string/test-strchrnul.c: New file.
14586 * string/Makefile (strop-tests): Add strchrnul.
14587
a1b560ff 14588 * po/it.po: Update from translation team.
b611fb81 14589 * po/es.po: Likewise.
a1b560ff 14590
a5b81e1f
UD
145912011-10-28 Ulrich Drepper <drepper@gmail.com>
14592
fd52bc6d
UD
14593 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14594 the three constants needed as parameters. Drop the others.
14595 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14596 __m128i_strloadu_tolower.
52e4b9eb
UD
14597 Create and initialize variable zero and use it in all the places
14598 where _mm_setzero_si128 was used.
fd52bc6d 14599
a5b81e1f
UD
14600 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14601 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14602 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14603 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14604 anymore.
14605 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14606 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14607 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14608 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14609 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14610 __mpranred, __mptan.
14611 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14612 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14613 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14614 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14615 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14616 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14617 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14618 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14619 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14620
b4343346
AS
146212011-10-28 Andreas Schwab <schwab@redhat.com>
14622
0c92d8a8
AS
14623 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14624 redefine if SHARED.
14625 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14626
b4343346
AS
14627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14628 wide char related routines to wcsmbs subdir.
14629
3871f58f
AS
146302011-10-27 Andreas Schwab <schwab@redhat.com>
14631
14632 [BZ #13344]
14633 * misc/sys/cdefs.h (__THROWNL): Define.
14634 * posix/unistd.h: Use __THREADNL instead of __THREAD
14635 for memory synchronization functions.
14636
94d44d9f
RM
146372011-10-26 Roland McGrath <roland@hack.frob.com>
14638
21b64b15 14639 [BZ #13349]
94d44d9f
RM
14640 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14641 doesn't exist.
14642 * manual/stdio.texi (Obstack Streams): Node removed.
14643
f6ce9294
AS
146442011-10-26 Andreas Schwab <schwab@redhat.com>
14645
80479147
AS
14646 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14647 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14648 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14649
f6ce9294
AS
14650 * math/math_private.h (math_force_eval): Allow non-addressable
14651 arguments.
14652 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14653
618280a1
UD
146542011-10-25 Ulrich Drepper <drepper@gmail.com>
14655
e0016b11
UD
14656 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14657 file is not needed.
14658
14659 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14660 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14661 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14662 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14663 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14664 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14665 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14666 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14667 Add AVX variants.
14668 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14669 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14670 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14671 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14672 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14673 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14674 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14675 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14676 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14677 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14678 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14679 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14680 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14681 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14682 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14683 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14684 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14685 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14686 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14687
14688 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14689 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14690
618280a1
UD
14691 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14692 place. Use VEX encoding when compiling for AVX.
14693
37822576
AS
146942011-10-25 Andreas Schwab <schwab@redhat.com>
14695
1f1e1947
AS
14696 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14697 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14698
37822576
AS
14699 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14700
31ea014d
UD
147012011-10-25 Ulrich Drepper <drepper@gmail.com>
14702
d7826aa1 14703 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14704 useless if() expression.
d7826aa1
UD
14705 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14706 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14707 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14708 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14709 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14710 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14711 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14712 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14714 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14715 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14716 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14717 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14718 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14719 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14720 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14721 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14722 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14723 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14724
31ea014d
UD
14725 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14726
16437fec
AS
147272011-10-25 Andreas Schwab <schwab@redhat.com>
14728
14729 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14730 condition.
14731 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14732
31d3cc00
UD
147332011-10-25 Ulrich Drepper <drepper@gmail.com>
14734
14735 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14736 .text section. Avoid duplicate constants.
14737 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14738 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14739 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14740 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14741 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14744 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14745 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14746 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14747 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14748 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14749 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14750 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14751 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14752 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14753 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14754 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14755 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14757 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14758 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14759 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14760 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14761 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14762 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14763 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14764 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14765 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14766 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14767 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14768 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14769 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14770 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14771 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14772 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14773 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14774 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14775 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14776 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14777 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14778 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14779 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14780 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14781 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14782
58985aa9
UD
147832011-10-24 Ulrich Drepper <drepper@gmail.com>
14784
202c9deb
UD
14785 * sysdeps/x86_64/dla.h: Move to ...
14786 * sysdeps/x86_64/fpu/dla.h: ...here.
14787 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14788 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14789
af968f62
UD
14790 * config.make.in: Add have-mfma4 entry.
14791 * configure.in: Substitute libc_cv_cc_fma4.
14792 * math/Makefile (dbl-only-routines): Add sincostab.
14793 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14794 Use __sincostab not sincos.
14795 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14796 name is a macro.
14797 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14798 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14800 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14801 using __copysign.
14802 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14803 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14804 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14805 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14806 and __inv.
14807 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14808 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14809 __copysign.
14810 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14811 define aliases when function name is a macro.
14812 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14813 sysdeps/ieee754/dbl-64/sincos.tbl.
14814 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14815 fma4-enabled routines.
14816 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14817 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14818 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14819 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14820 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14821 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14822 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14823 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14824 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14825 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14826 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14827 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14828 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14829 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14830 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14831 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14832 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14833 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14834 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14835 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14836 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14837 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14838 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14839 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14840 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14841 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14842 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14843 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14844 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14845 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14846
58985aa9
UD
14847 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14848 rename.
14849 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14850 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14851 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14853 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14854 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14855 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14857
a201fbcf
AS
148582011-10-24 Andreas Schwab <schwab@redhat.com>
14859
14860 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14861
fc2ee42a
LD
148622011-10-23 Ulrich Drepper <drepper@gmail.com>
14863
bb3129bd
UD
14864 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14865
0275fff8
UD
14866 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14867 prediction.
14868 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14869
2fa2ae85
UD
14870 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14871 Remove unused variable magic_bits.
14872 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14873
fc2ee42a
LD
14874 * string/strnlen.c: Define and use STRNLEN macro.
14875 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14876 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14877 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14878 * wcsmbs/wcslen.c: Define and use WCSLEN.
14879 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14880 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14881 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14882 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14883 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14884 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14885 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14886
ce7dd29f
LD
148872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14888
14889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14890 strnlen-sse2-no-bsf.
14891 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14892 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14893 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14894 Add strnlen support.
14895 (USE_AS_STRNLEN): New macro.
14896 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14897 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14898 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14899 * sysdeps/x86_64/wcslen.S: New file.
14900
979c70a3
MZ
149012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14902
14903 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14904 XMM-moves are used for copying on small sizes.
14905
2d09f82f
LD
149062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14907
14908 * wcsmbs/Makefile (strop-tests): Add wcschr.
14909 * wcsmbs/test-wcschr.c: New file.
14910 * string/test-strchr.c: Update.
14911 Add wcschr support.
14912 (WIDE): New macro.
14913
619fccca
LD
149142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14915
2d09f82f 14916 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14917 * wcsmbs/test-wcslen.c: New file.
14918 * string/test-strlen.c: Update.
14919 Add wcslen support.
14920 (WIDE): New macro.
14921
09f699ea
UD
149222011-10-23 Ulrich Drepper <drepper@gmail.com>
14923
14924 * po/it.po: Update from translation team.
14925
95584d3b
LD
149262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14927
14928 * sysdeps/x86_64/wcscmp.S: Update.
14929 Fix wrong comparison semantics.
14930 wcscmp shall use signed comparison not unsigned.
14931 Don't use substraction to avoid overflow bug.
14932 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14933 * wcsmbc/wcscmp.c: Likewise.
14934 * string/test-strcmp.c: Likewise.
14935 Add new tests to check cases with negative values.
14936
c8b3296b
UD
149372011-10-23 Ulrich Drepper <drepper@gmail.com>
14938
14939 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14940 * sysdeps/x86_64/dla.h: ...here. New file.
14941 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14942 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14944 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14946 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14947 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14948 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14950
246ad57a
AS
149512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14952
14953 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14954 __ynl_finite aliases.
14955
a1a87169
UD
149562011-10-22 Ulrich Drepper <drepper@gmail.com>
14957
0d355eb7
UD
14958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14959
a1a87169
UD
14960 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14961 define DLA_FMA.
14962 [DLA_FMA] (EMULV): Use DLA_FMA.
14963 [DLA_FMA] (MUL12): Use EMULV.
14964 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14965 that are not needed.
14966 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14968 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14969 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14972 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14973
ee2aafe0
AS
149742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14975
14976 * math/s_nan.c: Undef __nan.
14977 * math/s_nanf.c: Undef __nanf.
14978 * math/s_nanl.c: Undef __nanl.
14979 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14980 "math_private.h".
14981
bc62c2fb
UD
149822011-10-22 Ulrich Drepper <drepper@gmail.com>
14983
77425c63
UD
14984 * math/s_catan.c: Add branch predictions.
14985 * math/s_catanf.c: Likewise.
14986 * math/s_catanh.c: Likewise.
14987 * math/s_catanhf.c: Likewise.
14988 * math/s_catanhl.c: Likewise.
14989 * math/s_catanl.c: Likewise.
14990 * math/s_cexp.c: Likewise.
14991 * math/s_cexpf.c: Likewise.
14992 * math/s_cexpl.c: Likewise.
14993 * math/s_clog.c: Likewise.
14994 * math/s_clog10.c: Likewise.
14995 * math/s_clog10f.c: Likewise.
14996 * math/s_clog10l.c: Likewise.
14997 * math/s_clogf.c: Likewise.
14998 * math/s_clogl.c: Likewise.
14999 * math/s_csqrt.c: Likewise.
15000 * math/s_csqrtf.c: Likewise.
15001 * math/s_csqrtl.c: Likewise.
15002 * math/s_ctanf.c: Likewise.
15003 * math/s_ctanh.c: Likewise.
15004 * math/s_ctanhf.c: Likewise.
15005 * math/s_ctanhl.c: Likewise.
15006 * math/s_ctanl.c: Likewise.
15007
bc62c2fb
UD
15008 * math/math_private.h: Define __nan, __nanf, __nanl.
15009 * math/s_cacosh.c: Include <math_private.h>.
15010 * math/s_cacoshl.c: Likewise.
15011 * math/s_casinh.c: Likewise.
15012 * math/s_casinhf.c: Likewise.
15013 * math/s_casinhl.c: Likewise.
15014 * math/s_ccos.c: Rely entire on ccosh.
15015 * math/s_ccosf.c: Rely entire on ccoshf.
15016 * math/s_ccosl.c: Rely entirely on ccoshl.
15017 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15018 Remove tests for FE_INVALID.
15019 * math/s_ccoshf.c: Likewise.
15020 * math/s_ccoshl.c: Likewise.
15021 * math/s_csin.c: Likewise.
15022 * math/s_csinf.c: Likewise.
15023 * math/s_csinh.c Likewise.
15024 * math/s_csinhf.c: Likewise.
15025 * math/s_csinhl.c: Likewise.
15026 * math/s_csinl.c: Likewise.
15027 * math/s_ctan.c: Likewise.
15028 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15029 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15030 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15031
8ec250a4
UD
150322011-10-21 Ulrich Drepper <drepper@gmail.com>
15033
c196fed8
UD
15034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15035 compilation problems.
15036
8ec250a4
UD
15037 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15038 __builtin_expect.
15039
8d4f46c6
UD
150402011-10-20 Ulrich Drepper <drepper@gmail.com>
15041
ed72b654
UD
15042 * sysdeps/i386/configure.in: Test for -mfma4 option.
15043 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15044 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15045 COMMON_CPUID_INDEX_80000001.
15046 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15047 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15048 use it if FMA3 is not supported.
15049 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15050
8d4f46c6
UD
15051 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15052 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15053
d45c60c2
AS
150542011-10-20 Andreas Schwab <schwab@redhat.com>
15055
15056 [BZ #12892]
15057 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15058 it would create a cycle with a link time dependency.
15059
d9a4d2ab
UD
150602011-10-19 Ulrich Drepper <drepper@gmail.com>
15061
855d1560
UD
15062 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15063 instruction.
15064 * string/Makefile (strop-tests): Add rawmemchr.
15065 * string/test-rawmemchr.c: New file.
15066
d9a4d2ab
UD
15067 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15068 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15069 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15070 when compiling str{,n}casecmp and when AVX is available. Hook up
15071 new optimized code in initializers.
15072
8f3b1ffe
AS
150732011-10-19 Andreas Schwab <schwab@redhat.com>
15074
15075 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15076 __feraiseexcept instead of feraiseexcept.
15077
d38f1dba
UD
150782011-10-18 Ulrich Drepper <drepper@gmail.com>
15079
d9a8d0ab
UD
15080 * math/math_private.h: Define defaults for libc_fetestexcept and
15081 libc_feupdateenv.
15082 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15083 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15084 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15085 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15086 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15087 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15088 libc_fetestexcept and libc_feupdateenv.
15089
4855e3dd
UD
15090 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15091 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15092 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15093 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15094 libc_feholdexcept_setround.
15095
581d30e3
UD
15096 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15097 Add s_nearbyint-c and s_nearbyintf-c.
15098 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15099 nearbyintf inlines.
15100 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15101 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15102 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15103 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15104
d38f1dba
UD
15105 * math/math_private.h: Define defaults for libc_fegetround,
15106 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15107 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15108 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15109 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15110 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15111 standard functions.
15112 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15113 Remove comments and hacks for old compiler versions.
15114 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15115 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15116 libc_feholdexceptl.
15117
caa6c9d8
AS
151182011-10-18 Andreas Schwab <schwab@redhat.com>
15119
15120 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15121 (__feraiseexcept_renamed): Add __NTH.
15122 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15123 namespace violations.
15124
97c066e6
UD
151252011-10-17 Ulrich Drepper <drepper@gmail.com>
15126
99ce7b04
UD
15127 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15128
1004d182
UD
15129 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15130
228a984d
UD
15131 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15132 recently added interfaces.
15133 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15134
c8553a6a
UD
15135 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15136 about macro parameter expansion.
15137
ed22dcf6
UD
15138 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15139 __NO_MATH_INLINES is defined. Cleanups.
15140
15141 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15142 and __floorf is target has SSE4.1.
15143 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15144 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15145 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15146 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15147
b171c137
UD
15148 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15149 name.
15150 (floorf): Likewise.
15151
97c066e6
UD
15152 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15153
629f62ef
AS
151542011-10-17 Andreas Schwab <schwab@redhat.com>
15155
49a43d80
AS
15156 * misc/sys/cdefs.h: Fix last change.
15157
629f62ef
AS
15158 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15159 database lookup.
15160
e453f6cd
UD
151612011-10-16 Ulrich Drepper <drepper@gmail.com>
15162
aa78043a
UD
15163 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15164
ad0f5cad
UD
15165 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15166 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15167 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15168 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15169 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15171 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15172 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15173 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15174 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15175 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15176 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15177 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15178 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15179 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15180 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15181 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15182 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15183 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15184 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15185 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15186 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15187
15188 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15189 ceil, ceilf, floor, floorf.
15190
15191 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15192 Perform IRELATIVE relocations last.
15193
e453f6cd
UD
15194 * elf/do-rel.h: Add another parameter nrelative, replacing the
15195 local variable with the same name. Change name of the function
15196 to end in Rel or Rela (uppercase).
15197 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15198 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15199 elf_dynamic_do_##reloc function.
15200
fd5bdc09
UD
152012011-10-15 Ulrich Drepper <drepper@gmail.com>
15202
79b195b5
UD
15203 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15204 is sufficient, at least on modern CPUs.
15205
d4a28569
UD
15206 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15207
b61099b5
UD
15208 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15209 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15210
bcf01e6d
UD
15211 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15212 __expl_finite.
15213 * math/bits/math-finite.h: Add entries for exp.
15214 * math/e_expl.c: Add __*_finite alias.
15215 * sysdeps/i386/fpu/e_exp.S: Likewise.
15216 * sysdeps/i386/fpu/e_expf.S: Likewise.
15217 * sysdeps/i386/fpu/e_expl.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15219 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15220 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15221 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15223 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15224 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15225
ba1a0d59
UD
15226 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15227 is sufficient, at least on modern CPUs.
15228
fd5bdc09
UD
15229 * ctype/ctype-info.c (__ctype_init): Define.
15230 * include/ctype.h (__ctype_init): Declare.
15231 (__ctype_b_loc): The variable is always initialized.
15232 (__ctype_toupper_loc): Likewise.
15233 (__ctype_tolower_loc): Likewise.
15234 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15235 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15236
7872cfb0
AS
152372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15238
b468825a
AS
15239 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15240
7872cfb0
AS
15241 * configure.in: Also look in $cxxmachine/include for C++ system
15242 headers.
15243
be13f7bf
LD
152442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15245
15246 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15247 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15248 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15249 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15250 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15251 (USE_AS_WMEMCMP): New macro.
15252 Fixing indents.
15253 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15254 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15255 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15256 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15258 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15259 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15260 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15261 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15262 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15263 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15264 (USE_AS_WMEMCMP): New macro.
15265 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15266 * sysdeps/string/test-memcmp.c: Update.
15267 Fix simple_wmemcmp.
15268 Add new tests.
15269 * wcsmbs/wmemcmp.c: Update.
15270 (WMEMCMP): New macro.
15271 Fix overflow bug.
15272
556a2007
AJ
152732011-10-12 Andreas Jaeger <aj@suse.de>
15274
15275 [BZ #13268]
15276 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15277
538faaa7
UD
152782011-10-15 Ulrich Drepper <drepper@gmail.com>
15279
ab6737ff
UD
15280 * libio/iofwide.c (do_length): Avoid warning.
15281
538faaa7
UD
15282 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15283
396a21b1
UD
152842011-10-14 Ulrich Drepper <drepper@gmail.com>
15285
cdf2901f
UD
15286 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15287
38ad40ce
UD
15288 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15289 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15290 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15291 * sysdeps/i386/i686/fpu/e_log.S: New file.
15292 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15293 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15294
396a21b1
UD
15295 * ctype/ctype.h: Add support for inlined isXXX functions when
15296 compiling C++ code.
15297
6b1f68c9
AS
152982011-10-14 Andreas Schwab <schwab@redhat.com>
15299
349290c0
AS
15300 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15301
6b1f68c9
AS
15302 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15303
f2282d42
RM
153042011-10-13 Roland McGrath <roland@hack.frob.com>
15305
15306 [BZ #13291]
15307 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15308
5298ffa8
AS
153092011-10-13 Andreas Schwab <schwab@redhat.com>
15310
714fad23
AS
15311 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15312 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15313 feraiseexcept.
15314
81dcc7fb
AS
15315 * sysdeps/x86_64/memrchr.S: Check for zero size.
15316
5298ffa8
AS
15317 * string/stratcliff.c: Add memrchr tests.
15318
951fbcec
LD
153192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15320
15321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15322 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15323 rawmemchr-sse2 rawmemchr-sse2-bsf.
15324 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15325 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15326 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15327 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15328 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15329 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15330 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15331 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15332 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15333 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15334 * string/memrchr.c (MEMRCHR): New macro.
15335
0ac5ae23
UD
153362011-10-12 Ulrich Drepper <drepper@gmail.com>
15337
15338 Add integration with gcc's -ffinite-math-only and optimize wrapper
15339 functions in libm.
15340 * Versions.def: Define GLIBC_2.15 version for libm.
15341 * math/Makefile (headers): Add bits/math-finite.h.
15342 * math/bits/math-finite.h: New file.
15343 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15344 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15345 * math/e_acoshl.c: Add __*_finite alias.
15346 * math/e_acosl.c: Likewise.
15347 * math/e_asinl.c: Likewise.
15348 * math/e_atan2l.c: Likewise.
15349 * math/e_atanhl.c: Likewise.
15350 * math/e_coshl.c: Likewise.
15351 * math/e_exp10.c: Likewise.
15352 * math/e_exp10f.c: Likewise.
15353 * math/e_exp10l.c: Likewise.
15354 * math/e_exp2l.c: Likewise.
15355 * math/e_fmodl.c: Likewise.
15356 * math/e_gammal_r.c: Likewise.
15357 * math/e_hypotl.c: Likewise.
15358 * math/e_j0l.c: Likewise.
15359 * math/e_j1l.c: Likewise.
15360 * math/e_jnl.c: Likewise.
15361 * math/e_lgammal_r.c: Likewise.
15362 * math/e_log10l.c: Likewise.
15363 * math/e_log2l.c: Likewise.
15364 * math/e_logl.c: Likewise.
15365 * math/e_powl.c: Likewise.
15366 * math/e_sinhl.c: Likewise.
15367 * math/e_sqrtl.c: Likewise.
15368 * math/e_scalb.c: Completely rewritten and optimized.
15369 * math/e_scalbf.c: Likewise.
15370 * math/e_scalbl.c: Likewise.
15371 * math/w_acos.c: Likewise.
15372 * math/w_acosf.c: Likewise.
15373 * math/w_acosl.c: Likewise.
15374 * math/w_acosh.c: Likewise.
15375 * math/w_acoshf.c: Likewise.
15376 * math/w_acoshl.c: Likewise.
15377 * math/w_asin.c: Likewise.
15378 * math/w_asinf.c: Likewise.
15379 * math/w_asinl.c: Likewise.
15380 * math/w_atan2.c: Likewise.
15381 * math/w_atan2f.c: Likewise.
15382 * math/w_atan2l.c: Likewise.
15383 * math/w_atanh.c: Likewise.
15384 * math/w_atanhf.c: Likewise.
15385 * math/w_atanhl.c: Likewise.
15386 * math/w_exp10.c: Likewise.
15387 * math/w_exp10f.c: Likewise.
15388 * math/w_exp10l.c: Likewise.
15389 * math/w_fmod.c: Likewise.
15390 * math/w_fmodf.c: Likewise.
15391 * math/w_fmodl.c: Likewise.
15392 * math/w_j0.c: Likewise.
15393 * math/w_j0f.c: Likewise.
15394 * math/w_j0l.c: Likewise.
15395 * math/w_j1.c: Likewise.
15396 * math/w_j1f.c: Likewise.
15397 * math/w_j1l.c: Likewise.
15398 * math/w_jn.c: Likewise.
15399 * math/w_jnf.c: Likewise.
15400 * math/w_log.c: Likewise.
15401 * math/w_logf.c: Likewise.
15402 * math/w_logl.c: Likewise.
15403 * math/w_log10.c: Likewise.
15404 * math/w_log10f.c: Likewise.
15405 * math/w_log10l.c: Likewise.
15406 * math/w_log2.c: Likewise.
15407 * math/w_log2f.c: Likewise.
15408 * math/w_log2l.c: Likewise.
15409 * math/w_pow.c: Likewise.
15410 * math/w_powf.c: Likewise.
15411 * math/w_powl.c: Likewise.
15412 * math/w_remainder.c: Likewise.
15413 * math/w_remainderf.c: Likewise.
15414 * math/w_remainderl.c: Likewise.
15415 * math/w_scalb.c: Likewise.
15416 * math/w_scalbf.c: Likewise.
15417 * math/w_scalbl.c: Likewise.
15418 * math/w_sqrt.c: Likewise.
15419 * math/w_sqrtf.c: Likewise.
15420 * math/w_sqrtl.c: Likewise.
15421 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15422 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15423 used.
15424 * math/math_private.h: Declare __kernel_standard_f.
15425 * math/w_cosh.c: Remove cruft and optimize a bit.
15426 * math/w_coshf.c: Likewise.
15427 * math/w_coshl.c: Likewise.
15428 * math/w_exp2.c: Likewise.
15429 * math/w_exp2f.c: Likewise.
15430 * math/w_exp2l.c: Likewise.
15431 * math/w_hypot.c: Likewise.
15432 * math/w_hypotf.c: Likewise.
15433 * math/w_hypotl.c: Likewise.
15434 * math/w_lgamma.c: Likewise.
15435 * math/w_lgamma_r.c: Likewise.
15436 * math/w_lgammaf.c: Likewise.
15437 * math/w_lgammaf_r.c: Likewise.
15438 * math/w_lgammal.c: Likewise.
15439 * math/w_lgammal_r.c: Likewise.
15440 * math/w_sinh.c: Likewise.
15441 * math/w_sinhf.c: Likewise.
15442 * math/w_sinhl.c: Likewise.
15443 * math/w_tgamma.c: Likewise.
15444 * math/w_tgammaf.c: Likewise.
15445 * math/w_tgammal.c: Likewise.
15446 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15447 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15448 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15449 Minor optimizations. Pretty printing. Remove cruft.
15450 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15451 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15452 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15453 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15454 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15455 * sysdeps/i386/fpu/e_asin.S: Likewise.
15456 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15457 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15458 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15459 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15460 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15461 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15462 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15463 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15464 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15465 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15466 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15467 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15468 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15469 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15470 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15471 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15472 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15473 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15474 * sysdeps/i386/fpu/e_log.S: Likewise.
15475 * sysdeps/i386/fpu/e_log10.S: Likewise.
15476 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15477 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15478 * sysdeps/i386/fpu/e_log2.S: Likewise.
15479 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15480 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15481 * sysdeps/i386/fpu/e_logf.S: Likewise.
15482 * sysdeps/i386/fpu/e_logl.S: Likewise.
15483 * sysdeps/i386/fpu/e_pow.S: Likewise.
15484 * sysdeps/i386/fpu/e_powf.S: Likewise.
15485 * sysdeps/i386/fpu/e_powl.S: Likewise.
15486 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15487 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15488 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15489 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15490 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15491 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15492 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15493 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15494 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15495 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15496 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15497 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15498 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15499 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15500 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15501 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15502 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15503 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15504 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15505 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15506 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15507 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15508 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15509 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15510 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15511 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15512 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15513 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15514 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15515 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15516 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15517 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15518 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15519 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15520 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15521 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15522 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15523 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15524 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15525 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15526 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15527 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15528 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15529 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15530 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15531 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15532 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15533 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15534 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15535 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15536 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15546 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15547 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15548 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15550 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15551 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15552 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15553 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15569 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15570 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15571 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15572 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15573 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15574 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15575 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15576 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15578 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15579 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15580 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15581 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15582 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15583 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15585 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15586 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15587 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15588 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15589 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15590 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15591 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15592 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15593 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15594 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15595 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15596 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15597 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15598 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15599 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15600 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15601 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15602 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15603 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15604 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15605 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15606 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15607 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15608 (__isnanf): Likewise.
15609 (__isinf_ns): Likewise.
15610 (__isinf_nsf): Likewise.
15611 (__finite): Likewise.
15612 (__finitef): Likewise.
15613 (__ieee754_sqrt): Define as macro.
15614 (__ieee754_sqrtf): Define as macro.
15615 (__ieee754_sqrtl): Define as macro.
15616 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15617 inlined copy.
15618 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15619 __FINITE_MATH_ONLY__ consistent.
15620 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15621
12cc2fcd
AS
156222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15623
a843a204
AS
15624 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15625 of rawmemchr.
15626
12cc2fcd
AS
15627 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15628
c853acd5
UD
156292011-10-09 Ulrich Drepper <drepper@gmail.com>
15630
15631 * po/ja.po: Update from translation team.
15632
c658d255
RM
156332011-10-08 Roland McGrath <roland@hack.frob.com>
15634
110946e4
RM
15635 * locale/programs/locarchive.c (prepare_address_space): New function.
15636 (create_archive, enlarge_archive, open_archive): Use it.
15637
50604220
RM
15638 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15639 inside [SHARED], where it is used.
15640
c658d255
RM
15641 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15642
15643 * nss/getent.c (netgroup_keys): Remove unused variable.
15644 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15645
6a621eb7
UD
156462011-10-08 Ulrich Drepper <drepper@gmail.com>
15647
7edb55ce
UD
15648 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15649 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15650 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15651 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15652 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15653 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15654 * math/Makefile (libm-calls): Add s_isinf_ns.
15655 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15656 * math/multc3.c: Likewise.
15657 * math/s_casin.c: Likewise.
15658 * math/s_casinf.c: Likewise.
15659 * math/s_casinl.c: Likewise.
15660 * math/s_ccos.c: Likewise.
15661 * math/s_ccosf.c: Likewise.
15662 * math/s_ccosl.c: Likewise.
15663 * math/s_ctan.c: Likewise.
15664 * math/s_ctanf.c: Likewise.
15665 * math/s_ctanh.c: Likewise.
15666 * math/s_ctanhf.c: Likewise.
15667 * math/s_ctanhl.c: Likewise.
15668 * math/s_ctanl.c: Likewise.
15669 * math/w_fmod.c: Likewise.
15670 * math/w_fmodf.c: Likewise.
15671 * math/w_fmodl.c: Likewise.
15672 * math/w_remainder.c: Likewise.
15673 * math/w_remainderf.c: Likewise.
15674 * math/w_remainderl.c: Likewise.
15675 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15676 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15677 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15679 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15680 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15681 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15682 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15683
187da0ae
UD
15684 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15685 of the number.
15686 * stdio-common/printf_fphex.c: Likewise.
15687 * stdio-common/printf_size.c: Likewise.
15688
9277c064
UD
15689 * math/e_exp10.c: Include math_private.h using <...> not "...".
15690 * math/e_exp10f.c: Likewise.
15691 * math/e_exp10l.c: Likewise.
15692 * math/e_exp2l.c: Likewise.
15693 * math/e_j0l.c: Likewise.
15694 * math/e_j1l.c: Likewise.
15695 * math/e_jnl.c: Likewise.
15696 * math/e_lgammal_r.c: Likewise.
15697 * math/e_rem_pio2l.c: Likewise.
15698 * math/e_scalb.c: Likewise.
15699 * math/e_scalbf.c: Likewise.
15700 * math/e_scalbl.c: Likewise.
15701 * math/k_cosl.c: Likewise.
15702 * math/k_sinl.c: Likewise.
15703 * math/k_tanl.c: Likewise.
15704 * math/s_cacoshf.c: Likewise.
15705 * math/s_catan.c: Likewise.
15706 * math/s_catanf.c: Likewise.
15707 * math/s_catanh.c: Likewise.
15708 * math/s_catanhf.c: Likewise.
15709 * math/s_catanhl.c: Likewise.
15710 * math/s_catanl.c: Likewise.
15711 * math/s_ccosh.c: Likewise.
15712 * math/s_ccoshf.c: Likewise.
15713 * math/s_ccoshl.c: Likewise.
15714 * math/s_cexp.c: Likewise.
15715 * math/s_cexpf.c: Likewise.
15716 * math/s_cexpl.c: Likewise.
15717 * math/s_clog.c: Likewise.
15718 * math/s_clog10.c: Likewise.
15719 * math/s_clog10f.c: Likewise.
15720 * math/s_clog10l.c: Likewise.
15721 * math/s_clogf.c: Likewise.
15722 * math/s_clogl.c: Likewise.
15723 * math/s_csin.c: Likewise.
15724 * math/s_csinf.c: Likewise.
15725 * math/s_csinh.c: Likewise.
15726 * math/s_csinhf.c: Likewise.
15727 * math/s_csinhl.c: Likewise.
15728 * math/s_csinl.c: Likewise.
15729 * math/s_csqrt.c: Likewise.
15730 * math/s_csqrtf.c: Likewise.
15731 * math/s_csqrtl.c: Likewise.
15732 * math/s_ctan.c: Likewise.
15733 * math/s_ctanf.c: Likewise.
15734 * math/s_ctanh.c: Likewise.
15735 * math/s_ctanhf.c: Likewise.
15736 * math/s_ctanhl.c: Likewise.
15737 * math/s_ctanl.c: Likewise.
15738 * math/s_ldexp.c: Likewise.
15739 * math/s_ldexpf.c: Likewise.
15740 * math/s_ldexpl.c: Likewise.
15741 * math/s_significand.c: Likewise.
15742 * math/s_significandf.c: Likewise.
15743 * math/s_significandl.c: Likewise.
15744 * math/w_acos.c: Likewise.
15745 * math/w_acosf.c: Likewise.
15746 * math/w_acosh.c: Likewise.
15747 * math/w_acoshf.c: Likewise.
15748 * math/w_acoshl.c: Likewise.
15749 * math/w_acosl.c: Likewise.
15750 * math/w_asin.c: Likewise.
15751 * math/w_asinf.c: Likewise.
15752 * math/w_asinl.c: Likewise.
15753 * math/w_atan2.c: Likewise.
15754 * math/w_atan2f.c: Likewise.
15755 * math/w_atan2l.c: Likewise.
15756 * math/w_atanh.c: Likewise.
15757 * math/w_atanhf.c: Likewise.
15758 * math/w_atanhl.c: Likewise.
15759 * math/w_cosh.c: Likewise.
15760 * math/w_coshf.c: Likewise.
15761 * math/w_coshl.c: Likewise.
15762 * math/w_dremf.c: Likewise.
15763 * math/w_exp10.c: Likewise.
15764 * math/w_exp10f.c: Likewise.
15765 * math/w_exp10l.c: Likewise.
15766 * math/w_exp2.c: Likewise.
15767 * math/w_exp2f.c: Likewise.
15768 * math/w_fmod.c: Likewise.
15769 * math/w_fmodf.c: Likewise.
15770 * math/w_fmodl.c: Likewise.
15771 * math/w_hypot.c: Likewise.
15772 * math/w_hypotf.c: Likewise.
15773 * math/w_hypotl.c: Likewise.
15774 * math/w_j0.c: Likewise.
15775 * math/w_j0f.c: Likewise.
15776 * math/w_j0l.c: Likewise.
15777 * math/w_j1.c: Likewise.
15778 * math/w_j1f.c: Likewise.
15779 * math/w_j1l.c: Likewise.
15780 * math/w_jn.c: Likewise.
15781 * math/w_jnf.c: Likewise.
15782 * math/w_jnl.c: Likewise.
15783 * math/w_lgamma.c: Likewise.
15784 * math/w_lgamma_r.c: Likewise.
15785 * math/w_lgammaf.c: Likewise.
15786 * math/w_lgammaf_r.c: Likewise.
15787 * math/w_lgammal.c: Likewise.
15788 * math/w_lgammal_r.c: Likewise.
15789 * math/w_log.c: Likewise.
15790 * math/w_log10.c: Likewise.
15791 * math/w_log10f.c: Likewise.
15792 * math/w_log10l.c: Likewise.
15793 * math/w_log2.c: Likewise.
15794 * math/w_log2f.c: Likewise.
15795 * math/w_log2l.c: Likewise.
15796 * math/w_logf.c: Likewise.
15797 * math/w_logl.c: Likewise.
15798 * math/w_pow.c: Likewise.
15799 * math/w_powf.c: Likewise.
15800 * math/w_powl.c: Likewise.
15801 * math/w_remainder.c: Likewise.
15802 * math/w_remainderf.c: Likewise.
15803 * math/w_remainderl.c: Likewise.
15804 * math/w_scalb.c: Likewise.
15805 * math/w_scalbf.c: Likewise.
15806 * math/w_scalbl.c: Likewise.
15807 * math/w_sinh.c: Likewise.
15808 * math/w_sinhf.c: Likewise.
15809 * math/w_sinhl.c: Likewise.
15810 * math/w_sqrt.c: Likewise.
15811 * math/w_sqrtf.c: Likewise.
15812 * math/w_sqrtl.c: Likewise.
15813 * math/w_tgamma.c: Likewise.
15814 * math/w_tgammaf.c: Likewise.
15815 * math/w_tgammal.c: Likewise.
15816
6a621eb7
UD
15817 * po/ja.po: Update from translation team.
15818
bf582445
AJ
158192011-09-29 Andreas Jaeger <aj@suse.de>
15820
f9efbf3a
AJ
15821 [BZ #13179]
15822 * sunrpc/netname.c (netname2host): Fix logic.
15823
bf582445
AJ
15824 [BZ #6779]
15825 [BZ #6783]
15826 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15827 correctly.
15828 * math/w_remainder.c (__remainder): Likewise.
15829 * math/w_remainderf.c (__remainderf): Likewise.
15830 * math/libm-test.inc (remainder_test): Add test cases.
15831
48693bea
AK
158322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15833
15834 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15835 sdiv_qrnnd.
15836
42622229
LD
158372011-10-07 Ulrich Drepper <drepper@gmail.com>
15838
15839 * string/test-memcmp.c: Avoid unncessary #defines.
15840 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15841
093ecf92
LD
158422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15843
15844 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15845 Use new sse2 version for core i3 - i7 as it's faster
15846 than sse42 version.
15847 (bit_Prefer_PMINUB_for_stringop): New.
15848 * sysdeps/x86_64/rawmemchr.S: Update.
15849 Replace with faster SSE2 version.
15850 * sysdeps/x86_64/memrchr.S: New file.
15851 * sysdeps/x86_64/memchr.S: Update.
15852 Replace with faster SSE2 version.
15853
fde56e5c
MP
158542011-09-12 Marek Polacek <mpolacek@redhat.com>
15855
15856 * elf/dl-load.c (lose): Add cast to avoid warning.
15857
21fd49a9
UD
158582011-10-07 Ulrich Drepper <drepper@gmail.com>
15859
5a06e643
UD
15860 * po/ca.po: Update from translation team.
15861
684ae515
UD
15862 * inet/getnetgrent_r.c: Hook up nscd.
15863 * nscd/Makefile (routines): Add nscd_netgroup.
15864 (nscd-modules): Add netgroupcache.
15865 (CFLAGS-netgroupcache.c): Define.
15866 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15867 (cache_search): Add const to second parameter.
15868 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15869 INNETGR.
15870 (dbs): Add netgrdb entry.
15871 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15872 (verify_persistent_db): Handle netgrdb.
15873 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15874 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15875 GETFDNETGR.
15876 (netgroup_response_header): Define.
15877 (innetgroup_response_header): Define.
15878 (datahead): Add netgroup_response_header and innetgroup_response_header
15879 elements.
15880 * nscd/nscd.conf: Add entries for netgroup cache.
15881 * nscd/nscd.h (dbtype): Add netgrdb.
15882 (_PATH_NSCD_NETGROUP_DB): Define.
15883 (netgroup_iov_disabled): Declare.
15884 (xmalloc, xcalloc, xrealloc): Move declarations here.
15885 (cache_search): Adjust prototype.
15886 Add netgroup-related prototypes.
15887 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15888 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15889 (__nscd_innetgr): Declare.
15890 * nscd/selinux.c (perms): Use access_vector_t as element type and
15891 add netgroup-related initializers.
15892 * nscd/netgroupcache.c: New file.
15893 * nscd/nscd_netgroup.c: New file.
15894 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15895 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15896 For four parameters use innetgr.
15897 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15898 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15899 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15900 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15901
21fd49a9
UD
15902 * nscd/connections.c (register_traced_file): Don't register file
15903 for disabled databases.
15904
054c0457
UD
159052011-10-06 Ulrich Drepper <drepper@gmail.com>
15906
32b63198
UD
15907 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15908
054c0457
UD
15909 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15910 from tree and freeing node.
15911
64031225
JO
159122011-09-25 Jiri Olsa <jolsa@redhat.com>
15913
15914 * nss/nsswitch.c (__nss_database_lookup): Handle
15915 nss_parse_service_list out of memory case.
15916
0490345c
JO
159172011-09-15 Jiri Olsa <jolsa@redhat.com>
15918
15919 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15920 out of memory case.
15921
3a62d00d
AS
159222011-10-04 Andreas Schwab <schwab@redhat.com>
15923
15924 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15925 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15926 pass it down.
15927 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15928 elf_machine_rela, elf_machine_lazy_rel.
15929 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15930 (ELF_DYNAMIC_DO_REL): Likewise.
15931 (ELF_DYNAMIC_DO_RELA): Likewise.
15932 (ELF_DYNAMIC_RELOCATE): Likewise.
15933 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15934 to ELF_DYNAMIC_DO_REL.
15935 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15936 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15937 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15938 elf_machine_rela.
15939 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15940 skip_ifunc, don't call ifunc function if non-zero.
15941 (elf_machine_rela): Likewise.
15942 (elf_machine_lazy_rel): Likewise.
15943 (elf_machine_lazy_rela): Likewise.
15944 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15945 (elf_machine_lazy_rel): Likewise.
15946 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15947 Likewise.
15948 (elf_machine_lazy_rel): Likewise.
15949 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15950 Likewise.
15951 (elf_machine_lazy_rel): Likewise.
15952 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15953 (elf_machine_lazy_rel): Likewise.
15954 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15955 (elf_machine_lazy_rel): Likewise.
15956 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15957 (elf_machine_lazy_rel): Likewise.
15958 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15959 (elf_machine_lazy_rel): Likewise.
15960 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15961 (elf_machine_lazy_rel): Likewise.
15962 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15963 (elf_machine_lazy_rel): Likewise.
15964
68577918
UD
159652011-09-28 Ulrich Drepper <drepper@gmail.com>
15966
15967 * nss/nss_files/files-init.c (_nss_files_init): Use static
15968 initialization for all the *_traced_file variables.
15969
68822d74
AS
159702011-09-28 Andreas Schwab <schwab@redhat.com>
15971
15972 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15973
2056100b
RM
159742011-09-27 Roland McGrath <roland@hack.frob.com>
15975
15976 [BZ #13226]
15977 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15978
32c76b63
AS
159792011-09-27 Andreas Schwab <schwab@redhat.com>
15980
15981 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15982 Reread the line before reparsing it.
15983
bf972c9d
AS
159842011-09-26 Andreas Schwab <schwab@redhat.com>
15985
15986 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15987
e057a1b5
JM
159882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15989 Maxim Kuvyrkov <maxim@codesourcery.com>
15990 Joseph Myers <joseph@codesourcery.com>
15991
15992 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15993 if needed for __stack_chk_guard.
15994
bc7e1c36
RM
159952011-09-19 Roland McGrath <roland@hack.frob.com>
15996
ecb1482f
RM
15997 * sysdeps/posix/spawni.c (script_execute): Always define it.
15998 It will be optimized away if unused.
15999 (maybe_script_execute): New function.
16000 (__spawni): Call it.
16001
bc7e1c36
RM
16002 * Makerules: Don't include tls.make.
16003 (config-tls): Always set to thread.
16004 * tls.make.c: File removed.
16005
1c3b002b
MF
160062011-09-19 Mike Frysinger <vapier@gentoo.org>
16007
16008 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16009 * config.make.in (CPPFLAGS-config): New substituted variable.
16010
2840865d
UD
160112011-09-15 Ulrich Drepper <drepper@gmail.com>
16012
88738eb6
UD
16013 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16014
cbf645a6 16015 [BZ #13192]
2840865d
UD
16016 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16017 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16018
b402e91a
RM
160192011-09-15 Roland McGrath <roland@hack.frob.com>
16020
16021 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16022 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16023 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16024 (CALL_FAIL): Likewise.
16025 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16026 (CALL_FAIL): Macro removed.
16027 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16028
4c1a1f71
UD
160292011-09-15 Ulrich Drepper <drepper@gmail.com>
16030
16031 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16032 for __FINITE_MATH_ONLY__ == 1.
16033
edc121be
AS
160342011-09-15 Andreas Schwab <schwab@redhat.com>
16035
16036 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16037 __ieee754_sqrt instead of sqrt.
16038 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16039 __ieee754_sqrtf instead of sqrtf.
16040 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16041 __floorf instead of floorf.
16042 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16043 __floorf, __truncf instead of floorf, truncf.
16044
cd205654
UD
160452011-09-14 Ulrich Drepper <drepper@gmail.com>
16046
ee4d0315
UD
16047 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16048
cd205654
UD
16049 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16050 __extern_always_inline.
16051 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16052 32-bit.
16053
48b67d71
AS
160542011-09-14 Andreas Schwab <schwab@redhat.com>
16055
16056 * elf/rtld.c (dl_main): Also relocate in dependency order when
16057 doing symbol dependency testing.
16058
1ae12c75
AS
160592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16060
16061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16062 Always define `refsym'.
16063
995a80df
AS
160642011-09-13 Andreas Schwab <schwab@redhat.com>
16065
e529793b
AS
16066 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16067 (__FD_ELT): Renamed from __FDELT.
16068 * misc/bits/select2.h (__FD_ELT): Likewise.
16069 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16070 __FD_MASK instead of __FDELT, __FDMASK.
16071 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16072 Likewise.
16073 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16074 Likewise.
16075
52d4fef8
AS
16076 * elf/Makefile (gen-ldd): Fix pattern.
16077
995a80df
AS
16078 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16079 (init_tls): Likewise.
16080
8682f8b0
UD
160812011-09-12 Ulrich Drepper <drepper@gmail.com>
16082
16083 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16084
de82006d
AS
160852011-09-12 Andreas Schwab <schwab@redhat.com>
16086
a7c8e6a1
AS
16087 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16088 `struct cmsghdr *' instead of `void *'.
16089 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16090 Likewise.
16091
0f31fe77
AS
160922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16093
16094 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16095 if non-absolute.
16096 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16097 ldd_rewrite_script.
0f31fe77 16098
32b4c839
UD
160992011-09-11 Ulrich Drepper <drepper@gmail.com>
16100
83cd1420
UD
16101 * configure.in: Remove --with-tls option.
16102 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16103 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16104 out in case it is missing.
16105 * sysdeps/ia64/elf/configure.in: Likewise.
16106 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16107 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16108 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16109 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16110 * sysdeps/sh/elf/configure.in: Likewise.
16111 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16112 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16113 * sysdeps/x86_64/elf/configure.in: Likewise.
16114 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16115 * sysdeps/mach/hurd/tls.h: Likewise.
16116
633f745d
UD
16117 [BZ #13067]
16118 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16119
f318beb8
UD
16120 [BZ #13090]
16121 * configure.in: Fix use of AC_INIT.
16122
32b4c839
UD
16123 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16124
3ce1f295
UD
161252011-09-10 Ulrich Drepper <drepper@gmail.com>
16126
bb016596
UD
16127 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16128 __set_errno.
8e58439c
UD
16129 * malloc/hooks.c: Likewise.
16130
aebae053 16131 [BZ #11929]
02d46fc4
UD
16132 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16133 variables statically.
16134 (narenas): Initialize.
16135 (list_lock): Initialize.
bb016596
UD
16136 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16137 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16138 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16139 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16140 Add initializers to main_arena and mp_.
16141 (malloc_state): Remove pagesize member. Change all users to use
16142 GLRO(dl_pagesize).
16143
16144 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16145 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16146 is always initialized.
16147
22a89187
UD
16148 * malloc/malloc.c: Removed unused configurations and dead code.
16149 * malloc/arena.c: Likewise.
16150 * malloc/hooks.c: Likewise.
02d46fc4 16151 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16152
d063d164
UD
16153 * include/tls.h: Removed. USE___THREAD must always be defined.
16154 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16155 * elf/dl-libc.c: Likewise.
16156 * elf/dl-tsd.c: Likewise.
16157 * include/errno.h: Likewise.
16158 * include/netdb.h: Likewise.
16159 * include/resolv.h: Likewise.
16160 * inet/herrno-loc.c: Likewise.
16161 * inet/herrno.c: Likewise.
16162 * malloc/arena.c: Likewise.
16163 * malloc/hooks.c: Likewise.
16164 * malloc/malloc.c: Likewise.
16165 * resolv/res-state.c: Likewise.
16166 * resolv/res_libc.c: Likewise.
16167 * sysdeps/i386/dl-machine.h: Likewise.
16168 * sysdeps/ia64/dl-machine.h: Likewise.
16169 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16170 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16171 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16172 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16173 * sysdeps/sh/dl-machine.h: Likewise.
16174 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16175 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16176 * sysdeps/unix/i386/sysdep.S: Likewise.
16177 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16178 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16179 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16180 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16182 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16183 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16184 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16185 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16187 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16188 * sysdeps/x86_64/dl-machine.h: Likewise.
16189 * tls.make.c: Likewise.
16190
3ce1f295
UD
16191 * configure.in: Remove --with-__thread option. Make tests for
16192 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16193 tls_model attribute fail if no support is available. Remove
16194 USE_IN_LIBIO.
16195 * Makeconfig: Adjust for dropped configure option. All features are
16196 now mandatory.
16197 * Makerules: Likewise.
16198 * Versions.def: Likewise.
16199 * argp/argp-fmtstream.c: Likewise.
16200 * argp/argp-fmtstream.h: Likewise.
16201 * argp/argp-help.c: Likewise.
16202 * assert/assert.c: Likewise.
16203 * config.h.in: Likewise.
16204 * config.make.in: Likewise.
16205 * configure: Likewise.
16206 * configure.in: Likewise.
16207 * csu/Versions: Likewise.
16208 * csu/init.c: Likewise.
16209 * elf/tst-audit2.c: Likewise.
16210 * elf/tst-tls10.c: Likewise.
16211 * elf/tst-tls10.h: Likewise.
16212 * elf/tst-tls11.c: Likewise.
16213 * elf/tst-tls12.c: Likewise.
16214 * elf/tst-tls14.c: Likewise.
16215 * elf/tst-tlsmod11.c: Likewise.
16216 * elf/tst-tlsmod12.c: Likewise.
16217 * elf/tst-tlsmod13.c: Likewise.
16218 * elf/tst-tlsmod13a.c: Likewise.
16219 * elf/tst-tlsmod14a.c: Likewise.
16220 * elf/tst-tlsmod15b.c: Likewise.
16221 * elf/tst-tlsmod16a.c: Likewise.
16222 * elf/tst-tlsmod16b.c: Likewise.
16223 * elf/tst-tlsmod7.c: Likewise.
16224 * elf/tst-tlsmod8.c: Likewise.
16225 * elf/tst-tlsmod9.c: Likewise.
16226 * gmon/gmon.c: Likewise.
16227 * grp/fgetgrent_r.c: Likewise.
16228 * grp/putgrent.c: Likewise.
16229 * hurd/fopenport.c: Likewise.
16230 * include/libc-symbols.h: Likewise.
16231 * include/tls.h: Likewise.
16232 * intl/gettextP.h: Likewise.
16233 * intl/loadinfo.h: Likewise.
16234 * locale/global-locale.c: Likewise.
16235 * locale/localeinfo.h: Likewise.
16236 * mach/devstream.c: Likewise.
16237 * malloc/arena.c: Likewise.
16238 * malloc/set-freeres.c: Likewise.
16239 * misc/err.c: Likewise.
16240 * misc/getttyent.c: Likewise.
16241 * misc/mntent_r.c: Likewise.
16242 * posix/getopt.c: Likewise.
16243 * posix/wordexp.c: Likewise.
16244 * pwd/fgetpwent_r.c: Likewise.
16245 * resolv/Versions: Likewise.
16246 * resolv/res_hconf.c: Likewise.
16247 * shadow/fgetspent_r.c: Likewise.
16248 * shadow/putspent.c: Likewise.
16249 * stdio-common/printf_fphex.c: Likewise.
16250 * stdio-common/tmpfile.c: Likewise.
16251 * stdlib/abort.c: Likewise.
16252 * stdlib/fmtmsg.c: Likewise.
16253 * sunrpc/auth_unix.c: Likewise.
16254 * sunrpc/clnt_perr.c: Likewise.
16255 * sunrpc/clnt_tcp.c: Likewise.
16256 * sunrpc/clnt_udp.c: Likewise.
16257 * sunrpc/clnt_unix.c: Likewise.
16258 * sunrpc/openchild.c: Likewise.
16259 * sunrpc/svc_simple.c: Likewise.
16260 * sunrpc/svc_tcp.c: Likewise.
16261 * sunrpc/svc_udp.c: Likewise.
16262 * sunrpc/svc_unix.c: Likewise.
16263 * sunrpc/xdr.c: Likewise.
16264 * sunrpc/xdr_array.c: Likewise.
16265 * sunrpc/xdr_rec.c: Likewise.
16266 * sunrpc/xdr_ref.c: Likewise.
16267 * sunrpc/xdr_stdio.c: Likewise.
16268
1248c1c4
PB
162692011-09-09 Ulrich Drepper <drepper@gmail.com>
16270
16271 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16272
162732011-07-03 Andreas Jaeger <aj@suse.de>
16274
16275 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16276 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16277 regenerate with gen-libm-tests.pl.
16278
162792010-05-12 Petr Baudis <pasky@suse.cz>
16280
16281 [BZ #11589]
16282 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16283 around j0() zero points by switching to j1().
16284 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16285 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16286 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16287 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16288
f22e1074
UD
162892011-09-09 Ulrich Drepper <drepper@gmail.com>
16290
f19009c1
UD
16291 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16292 instead of 0.
16293 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16294 instead of 0. .
16295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16296 Patch in part by Pavel Roskin <proski@gnu.org>.
16297
3f8cc204
UD
16298 [BZ #13138]
16299 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16300 realloc.
16301 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16302 Free memory block if necessary.
16303
f22e1074
UD
16304 [BZ #12847]
16305 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16306 be NULL. Don't lock in this case.
16307
0a2349f9
RM
163082011-09-09 Roland McGrath <roland@hack.frob.com>
16309
16310 * elf/elf.h (ELFOSABI_GNU): New macro.
16311 (ELFOSABI_LINUX): Define to that.
16312
f3cdd467
DZ
163132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16314
16315 * string/strncat.c (strncat): Undef the symbol in case it has been
16316 defined in bits/string.h.
16317
74718d13
UD
163182011-09-09 Ulrich Drepper <drepper@gmail.com>
16319
633e9e0f
UD
16320 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16321
0a2349f9 16322 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16323 link map.
16324
f9924780
AJ
163252011-08-17 Andreas Jaeger <aj@suse.de>
16326
16327 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16328
7f5517aa
PP
163292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16330 Ian Lance Taylor <iant@google.com>
16331
16332 * math/libm-test.inc (lround_test): New testcase.
16333 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16334
762011fe
UD
163352011-09-08 Ulrich Drepper <drepper@gmail.com>
16336
92963737
UD
16337 * Makefile: Remove support for automatic cvs check-ins.
16338 * Makerules: Likewise.
16339 * config.make.in: Likewise.
16340 * configure.in: Likewise.
16341 * intl/Makefile: Likewise.
16342 * locale/Makefile: Likewise.
16343 * po/Makefile: Likewise.
16344 * posix/Makefile: Likewise.
16345 * sysdeps/gnu/Makefile: Likewise.
16346 * sysdeps/mach/hurd/Makefile: Likewise.
16347 * sysdeps/sparc/sparc32/Makefile: Likewise.
16348
b0727fd8
JS
16349 [BZ #13118]
16350 * posix/Makefile (bug-regex32-ENV): Define.
16351 Patch by John Stanley <jpsinthemix@verizon.net>.
16352
a0f33f99
UD
16353 * misc/Makefile (headers): Add bits/select2.h.
16354 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16355 * misc/bits/select2.h: New file.
16356 * include/bits/select2.h: New file.
16357 * debug/Makefile (routines): Add fdelt_chk.
16358 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16359 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16360 FD_ISSET.
16361 * debug/fdelt_chk.c: New file.
16362
762011fe
UD
16363 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16364 * wcsmbs/test-wmemcmp.c: Likewise.
16365 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16366 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16367
163682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16369
16370 * string/Makefile (strop-tests): Add memcmp.
16371 * string/test-wmemcmp.c: New file.
16372 * string/test-memcmp.c: Add wmemcmp support.
16373
7f513ec8
RM
163742011-09-08 Roland McGrath <roland@hack.frob.com>
16375
0442afb4
RM
16376 [BZ #13153]
16377 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16378 2011-07-19 change.
16379
7f513ec8
RM
16380 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16381 garbage value in a __mach_port_mod_refs call in the cases of the
16382 task-self and thread-self ports.
16383
a12b2239
ST
163842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16385
16386 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16387
610f9ab4
AS
163882011-09-08 Andreas Schwab <schwab@redhat.com>
16389
7f513ec8 16390 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16391
48882a1a
LD
163922011-09-07 Ulrich Drepper <drepper@gmail.com>
16393
b49865be
UD
16394 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16395
fdc86bc9
UD
16396 * elf/dl-libc.c (dlerror_run): Pass back error code from
16397 dl_catch_error.
16398
c966526a
UD
16399 [BZ #13123]
16400 * elf/dl-load.c (lose): Free l_origin if it is valid.
16401
48882a1a
LD
16402 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16403 names.
16404 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16405 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16406 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16407 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16408 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16409 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16410
77a2a8b4
AZ
164112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16412
16413 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16414 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16415 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16416 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16417 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16418 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16419 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16420 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16421 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16422 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16423
24f579d8
AM
164242011-08-15 Alan Modra <amodra@gmail.com>
16425
16426 [BZ #13092]
16427 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16428 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16429 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16430 ppc_mcount to static-only-routines.
16431 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16432 __mcount_internal.
16433 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16434 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16435
3d4837df
UD
164362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16437
16438 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16439 for finite and infinity parameters.
16440
22700377
WS
164412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16442
16443 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16444 and add nop instructions for throughput optimization.
16445 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16446
5025581e
WS
164472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16448
16449 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16450 aligned copy for power7 with vector-scalar instructions.
16451 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16452
08a300c9
L
164532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16454
16455 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16456 AVX check.
16457
59178ef9
AS
164582011-09-07 Andreas Schwab <schwab@redhat.com>
16459
16460 [BZ #13144]
16461 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16462 last change.
16463
e38ba7ab
UD
164642011-09-07 Ulrich Drepper <drepper@gmail.com>
16465
16466 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16467 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16468 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16469 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16470 clock_gettime.
16471
d53a73ac
UD
164722011-09-06 Ulrich Drepper <drepper@gmail.com>
16473
fc8bffcc
UD
16474 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16475 Forgot to demangle the pointer.
16476
ceaa0c5d
UD
16477 * sysdeps/i386/sysdep.h: Define atom_text_section.
16478 * sysdeps/x86_64/sysdep.h: Likewise.
16479 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16480 section with atom_text_section.
16481 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16482 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16483 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16484 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16485 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16486
a77d3c17
UD
16487 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16488 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16489 already be defined. Change to take two parameters and don't assign
16490 result to variable. Adjust all users.
16491 Define INTERNAL_GETTIME if not already defined.
16492 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16493 call.
16494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16495 HAVE_CLOCK_GETTIME_VSYSCALL.
16496 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16497
d53a73ac
UD
16498 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16499 gettimeofday vsyscall, just use time.
16500
a8f84144
AS
165012011-09-06 Andreas Schwab <schwab@redhat.com>
16502
16503 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16504 <errno.h>.
16505
ef606249
UD
165062011-09-06 Ulrich Drepper <drepper@gmail.com>
16507
16508 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16509 syscall on x86-64.
16510 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16511 syscall.
16512 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16513 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16514 syscall if possible.
16515
6585cb60
UD
165162011-09-05 Ulrich Drepper <drepper@gmail.com>
16517
16518 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16519 e_ident. Don't pass to find_mapsXX.
16520 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16521
a5f524e4
LD
165222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16523
16524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16525 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16526 * sysdeps/x86_64/multiarch/strchr.S: Update.
16527 Check bit_slow_BSF bit.
16528 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16529 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16530 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16531
554881ef
UD
165322011-09-05 Ulrich Drepper <drepper@gmail.com>
16533
d96de963
UD
16534 [BZ #13134]
16535 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16536 before glibc 2.15.
16537 (tryshell): Define.
16538 (__spawni): Change last parameter to be flag. Test
16539 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16540 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16541 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16542 * posix/spawni.c: Likewise.
16543 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16544 * posix/spawnp.c: Likewise. Change normal version to use
16545 SPAWN_XFLAGS_USE_PATH.
16546 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16547 SPAWN_XFLAGS_TRY_SHELL.
16548
d48e5868
UD
16549 [BZ #13150]
16550 * posix/glob.h: Remove gcc 1.x support.
16551
554881ef
UD
16552 [BZ #13068]
16553 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16554
693fb948
LD
165552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16556
16557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16558 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16559 strrchr-sse2-bsf
16560 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16561 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16562 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16563 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16564 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16565 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16566
1b48c537
UD
165672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16568
49d42c37
UD
16569 * sysdeps/x86_64/wcscmp.S: New file.
16570
1b48c537
UD
16571 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16572 wcscmp-c wcscmp-sse2
16573 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16574 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16575 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16576 * wcsmbs/wcscmp.c: Allow renaming.
16577
15c95c5d
DM
165782011-09-05 David S. Miller <davem@davemloft.net>
16579
16580 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16581 stack slot, rather than the struct return pointer slot.
16582 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16583 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16585 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16586
2f0ad8f3
UD
165872011-09-05 Ulrich Drepper <drepper@gmail.com>
16588
d88ae418
UD
16589 * po/ja.po: Update from translation team.
16590
2f0ad8f3
UD
16591 [BZ #13144]
16592 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16593 kernel in 64-bit binaries.
16594
5f4318d1
DM
165952011-09-01 David S. Miller <davem@davemloft.net>
16596
16597 * elf/elf.h (HWCAP_SPARC_*): Move to..
16598 * sysdeps/sparc/sysdep.h: this new file and add new values.
16599 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16600 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16601 _DL_HWCAP_COUNT to 24.
16602 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16603 entries.
16604 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16605 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16606 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16607 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16608 instead of magic constants.
16609 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16610
3ba57516
DM
166112011-08-31 David S. Miller <davem@davemloft.net>
16612
16613 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16614 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16615 Reimplement to do errno handling inline.
16616 (SYSCALL_ERROR_HANDLER): New macro.
16617 (__SYSCALL_STRING): Do not do errno handling in asm.
16618 (__CLONE_SYSCALL_STRING): Delete.
16619 (__INTERNAL_SYSCALL_STRING): Delete.
16620 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16621 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16622 (PSEUDO): Reimplement to do errno handling inline.
16623 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16624 (SYSCALL_ERROR_HANDLER): New macro.
16625 (__SYSCALL_STRING): Do not do errno handling in asm.
16626 (__CLONE_SYSCALL_STRING): Delete.
16627 (__INTERNAL_SYSCALL_STRING): Delete.
16628 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16629 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16630 i386.
16631 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16632 (inline_syscall*): Add 'err' argument.
16633 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16634 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16635 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16636 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16637
16638 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16639 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16640
2bc17433
AS
166412011-08-30 Andreas Schwab <schwab@redhat.com>
16642
16643 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16644
fbeb5f4d
JO
166452011-08-29 Jiri Olsa <jolsa@redhat.com>
16646
16647 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16648 directive.
16649
ad69cc26
DM
166502011-08-24 David S. Miller <davem@davemloft.net>
16651
16652 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16653
39dd69df
AS
166542011-08-24 Andreas Schwab <schwab@redhat.com>
16655
16656 * elf/Makefile: Add rules to build and run unload8 test.
16657 * elf/unload8.c: New file.
16658 * elf/unload8mod1.c: New file.
16659 * elf/unload8mod1x.c: New file.
16660 * elf/unload8mod2.c: New file.
16661 * elf/unload8mod3.c: New file.
16662
16663 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16664 it wasn't used.
16665
2c0b250a
DM
166662011-08-23 David S. Miller <davem@davemloft.net>
16667
16668 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16669 subtract stack bias.
16670 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16671 %sp not %fp in calculations.
16672 (_JMPBUF_UNWINDS_ADJ): Likewise.
16673
22044b48
DM
16674 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16675 (aio_suspend): Call it to force an exception region around the
16676 AIO_MISC_WAIT() invocation.
16677
2cae4995
AS
166782011-08-23 Andreas Schwab <schwab@redhat.com>
16679
16680 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16681 backslash.
16682
873a772e
AJ
166832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16684
16685 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16686 protection macro.
16687 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16688 and <dl-machine.h>.
16689 (Elf64_FuncDesc): Remove.
16690
25ad0df1
DM
166912011-08-22 David S. Miller <davem@davemloft.net>
16692
16693 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16694 sigaltstack check, add missing cfi directives.
16695 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16696 missing cfi directives, and sigaltstack handling.
16697
e888bcbe
AS
166982011-08-16 Andreas Schwab <schwab@redhat.com>
16699
16700 [BZ #11724]
16701 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16702 object is seen twice.
16703 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16704
16705 * elf/Makefile (distribute): Add tst-initorder2.c.
16706 (tests): Add tst-initorder2.
16707 (modules-names): Add tst-initorder2a tst-initorder2b
16708 tst-initorder2c tst-initorder2d. Add rules to build them.
16709 ($(objpfx)tst-initorder2.out): New rule.
16710 * elf/tst-initorder2.c: New file.
16711 * elf/tst-initorder2.exp: New file.
16712
87162f46
AS
167132011-08-22 Andreas Schwab <schwab@redhat.com>
16714
70538b7f
AS
16715 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16716
f55ffe58
AS
16717 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16718 dependencies back to end of function.
16719
87162f46
AS
16720 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16721 $(elfobjdir)/ld.so.
16722
91b392a4
UD
167232011-08-21 Ulrich Drepper <drepper@gmail.com>
16724
16725 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16726 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16727 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16728 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16729 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16730 of __vdso_gettimeofday.
16731 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16732 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16733 attribute_hidden.
16734 (_libc_vdso_platform_setup): Remove initialization of
16735 __vdso_gettimeofday and __vdso_time.
16736
5c43483f
UD
167372011-08-20 Ulrich Drepper <drepper@gmail.com>
16738
775a77e7
UD
16739 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16740 and fgetc_unlocked.
16741 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16742 getc_unlocked.
89f447ed 16743
49c74ba9
UD
16744 * elf/dl-open.c (add_to_global): Report additions to the global scope
16745 for LD_DEBUG=scopes.
16746 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16747 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16748
5c43483f
UD
16749 [BZ #13114]
16750 * stdio-common/Makefile (tests): Add bug24.
16751 * stdio-common/bug24.c: New file.
16752
a101b025
AJ
167532011-08-19 Andreas Jaeger <aj@suse.de>
16754
16755 [BZ #13114]
16756 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16757 non-existant file when using close-on-exec mode.
16758
c88f1766
UD
167592011-08-20 Ulrich Drepper <drepper@gmail.com>
16760
0276a718
UD
16761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16762 the very first instruction.
16763
c88f1766
UD
16764 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16765 the CFI state in the end.
16766 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16767 inclusion of dl-trampoline.h.
16768 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16769
51ccffa0
AS
167702011-08-19 Andreas Schwab <schwab@redhat.com>
16771
94d7165f
AS
16772 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16773 expectations for long double.
16774
51ccffa0
AS
16775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16776 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16777
fd708658 167782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16779
16780 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16781 artificual limit depends upon the system page size.
16782
44f0a71e
UD
167832011-08-17 Ulrich Drepper <drepper@gmail.com>
16784
16785 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16786 * resolv/Makefile: Define CFLAGS-libresolv.
16787
8de79a24
AS
167882011-08-17 Andreas Schwab <schwab@redhat.com>
16789
16790 * nss/makedb.c (compute_tables): Make variables used in nested
16791 function static.
16792
27724598
UD
167932011-08-17 Ulrich Drepper <drepper@gmail.com>
16794
c5305d88
UD
16795 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16796 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16797 if buffer was too small.
16798
27724598
UD
16799 * elf/pldd.c (main): Attach to all threads in the process.
16800 Rewrite /proc handling to use *at functions.
16801
076fe015
UD
168022011-08-16 Ulrich Drepper <drepper@gmail.com>
16803
174baab3
UD
16804 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16805 specifies first scope to show.
16806 (dl_open_worker): Update callers. Move printing scope of new
16807 object to before the relocation.
44f0a71e 16808 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16809 * sysdeps/generic/ldsodefs.h: Update declaration.
16810
076fe015
UD
16811 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16812 string for the scope number.
16813
a60df2c3
UD
168142011-08-14 Ulrich Drepper <drepper@gmail.com>
16815
16816 * nscd/servicescache.c (cache_addserv): Make sure written is always
16817 initialized.
16818
5e4287d1
RM
168192011-08-14 Roland McGrath <roland@hack.frob.com>
16820
85ae0589
RM
16821 * sysdeps/i386/i486/bits/atomic.h
16822 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16823 statement expression, so as to suppress "set but not used" warning.
16824 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16825
69f63097
RM
16826 * string/strncat.c (STRNCAT): Use prototype definition.
16827
675456ef
RM
16828 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16829 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16830 -Iprograms here.
16831 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16832 (localedef-modules): Add localedef.
16833 (locale-modules): Add locale.
16834
5e4287d1
RM
16835 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16836 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16837 to avoid a warning.
16838
9c96ff23
DM
168392011-08-14 David S. Miller <davem@davemloft.net>
16840
16841 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16842 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16843
f9ddf089
UD
168442011-08-13 Ulrich Drepper <drepper@gmail.com>
16845
44f0a71e 16846 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16847 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16848 * elf/rtld.c (dl_main): Set l_name of vDSO.
16849 Call _dl_show_scope when DL_DEBUG_SCOPES.
16850 (process_dl_debug): Recognize scopes flag and also set it for all.
16851 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16852 Declare _dl_show_scope.
16853
1dc27704
UD
16854 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16855 (do_dlopen): Pass caller_dlopen to dl_open.
16856 (__libc_dlopen_mode): Initialize caller_dlopen.
16857
f9ddf089
UD
16858 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16859 of libc. Make tolower call locale-independent. Optimize a bit by
16860 using isdigit instead of isalnum.
16861 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16862
9ac533d3
UD
168632011-08-12 Ulrich Drepper <drepper@gmail.com>
16864
16865 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16866 was a dependency or dynamically loaded.
16867
89edf2e9
UD
168682011-08-11 Ulrich Drepper <drepper@gmail.com>
16869
8e999d29
UD
16870 * intl/l10nflist.c: Allow architecture-specific pop function.
16871 * sysdeps/x86_64/l10nflist.c: New file.
16872
89edf2e9
UD
16873 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16874 classification.
16875
14d96785
AS
168762011-08-10 Andreas Schwab <schwab@redhat.com>
16877
16878 * include/dirent.h: Add libc_hidden_proto for scandirat and
16879 scandirat64. Don't declare __scandirat64.
16880 * dirent/scandirat.c: Add libc_hidden_def.
16881 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16882 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16883
6761ac04
DM
168842011-08-10 David S. Miller <davem@davemloft.net>
16885
16886 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16887 enum.
16888 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16889 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16890 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16891
c55fbd1e
UD
168922011-08-09 Ulrich Drepper <drepper@gmail.com>
16893
16894 * Versions.def [libc]: Add GLIBC_2.15.
16895 * dirent/Makefile (routines): Add scandirat and scandirat64.
16896 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16897 GLIBC_2.15.
16898 * dirent/dirent.h: Declare scandirat and scandirat64.
16899 * dirent/scandirat.c: New file.
16900 * dirent/scandirat64.c: New file.
16901 * sysdeps/wordsize-64/scandirat.c: New file.
16902 * sysdeps/wordsize-64/scandirat64.c: New file.
16903 * dirent/opendir.c: Define opendirat.
16904 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16905 using scandirat.
16906 * dirent/scandir64.c: Adjust for scandir.c change.
16907 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16908 __scandirat64, and __scandir_cancel_handler.
16909 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16910 additional parameter and use openat instead of open (outside of ld.so).
16911 Add new __opendir as wrapper around __opendirat.
16912 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16913 here without requiring old scandirat implementation.
16914
879165f2
UD
169152011-08-08 Ulrich Drepper <drepper@gmail.com>
16916
16917 * dirent/scandir.c (cancel_handler): Renamed to
16918 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16919 defined. Adjust users.
16920 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16921 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16922
cb7e923b
UD
169232011-08-04 Ulrich Drepper <drepper@gmail.com>
16924
16292edd
UD
16925 * string/test-string.h (IMPL): Use __STRING to expand name and then
16926 stringify it.
16927
cb7e923b
UD
16928 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16929 of cleanups.
16930
cff82933
LD
169312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16932
16933 * string/Makefile: Update.
16934 (strop-tests): Append strncat.
16935 * string/test-wcscmp.c: New file.
16936 New comprehensive test for wcscmp.
16937 * string/test-strcmp.c: Update.
16938 (WIDE): New define.
16939
9be9bfcc
AS
169402011-07-22 Andreas Schwab <schwab@redhat.com>
16941
16942 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16943 line.
16944
2e96f1c7
AS
169452011-07-26 Andreas Schwab <schwab@redhat.com>
16946
16947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16948 encoding to ACE if AI_IDN.
16949
85188888
JJ
169502011-08-01 Jakub Jelinek <jakub@redhat.com>
16951
16952 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16953 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16954
5fa16e9b
LD
169552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16956
16957 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16958 Fix overflow bug in strncat.
16959 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16960
16961 * string/test-strncat.c: Update.
16962 Add new tests for checking overflow bugs.
16963
169642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16965
16966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16967 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16968 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16969 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16970 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16971 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16972 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16973 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16974 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16975
16976 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16977 (USE_AS_STRCAT): Define.
16978 Add strcat and strncat support.
16979 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16980
8c1a459f
AS
169812011-07-25 Andreas Schwab <schwab@redhat.com>
16982
16983 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16984 __n bigger than INT_MAX+1.
16985 (__strncmp_g): Likewise.
16986
bba33c28
UD
169872011-07-23 Ulrich Drepper <drepper@gmail.com>
16988
798be72d
UD
16989 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16990 * libio/stido.h: Likewise.
16991
8accd4dc
UD
16992 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16993 (AF_NFC): Define.
16994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16995 (AF_NFC): Define.
16996
cbff0d96
UD
16997 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16998 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16999 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17000 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17001 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17002
9191c04a
UD
17003 [BZ #13021]
17004 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17005 installed.
17006
bba33c28
UD
17007 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17008 typo.
17009 (_dl_x86_64_save_sse): Likewise.
17010
90f139dd
UD
170112011-07-22 Ulrich Drepper <drepper@gmail.com>
17012
1aae088a
UD
17013 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17014 OSXSAVE.
17015 (_dl_x86_64_save_sse): Likewise.
17016
8e2045f5
UD
17017 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17018
90f139dd
UD
17019 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17020
1d002f25
AS
170212011-07-21 Andreas Schwab <schwab@redhat.com>
17022
17023 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17024 change.
17025 (_dl_x86_64_save_sse): Use correct AVX check.
17026
21137f89
UD
170272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17028
17029 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17030 bug in strncpy/strncat.
17031 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17032
a65c0b7a
UD
170332011-07-21 Ulrich Drepper <drepper@gmail.com>
17034
17035 * string/tester.c (test_strcat): Add tests for different alignments
17036 of source and destination.
17037 (test_strncat): Likewise.
17038
6986b98a
UD
170392011-07-20 Ulrich Drepper <drepper@gmail.com>
17040
90bb2039
UD
17041 [BZ #12852]
17042 * posix/glob.c (glob): Check passed in values before using them in
17043 expressions to avoid some overflows.
17044 (glob_in_dir): Likewise.
17045
5644ef54
UD
17046 [BZ #13007]
17047 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17048 check for AVX enablement so that we don't crash with old kernels and
17049 new hardware.
17050 * elf/tst-audit4.c: Add same checks here.
17051 * elf/tst-audit6.c: Likewise.
17052
17053 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17054
bfc9dc9b
AS
170552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17056
17057 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17058
702e64bb
UD
170592011-07-20 Ulrich Drepper <drepper@gmail.com>
17060
17061 * po/cs.po: Update from translation team.
17062 * po/bg.po: Likewise.
17063
295e904f
MP
170642011-07-12 Marek Polacek <mpolacek@redhat.com>
17065
17066 * misc/sys/cdefs.h: Add support for const attribute.
17067 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17068 to gnu_dev_{major,minor,makedev} functions.
17069
3ff94596
MP
170702011-07-20 Marek Polacek <mpolacek@redhat.com>
17071
17072 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17073
28b59fca
AS
170742011-07-20 Andreas Schwab <schwab@redhat.com>
17075
17076 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17077 strlen results.
17078
19df733e
AK
170792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17080
17081 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17082 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17083 register in order to avoid conflicts with the soft frame pointer
17084 being held in r11 when necessary.
17085 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17086 (INTERNAL_VSYSCALL_NCS): Likewise.
17087
c8835729
MP
170882011-07-14 Marek Polacek <mpolacek@redhat.com>
17089
17090 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17091 * elf/dl-fini.c (_dl_fini): Adjust caller.
17092 * elf/dl-close.c (_dl_close_worker): Likewise.
17093 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17094
b902330c
MP
170952011-07-15 Marek Polacek <mpolacek@redhat.com>
17096
8991e135
MP
17097 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17098 "aux_cache->nlibs < 0".
17099
b902330c
MP
17100 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17101 in the reload-count case.
17102
99710781
LD
171032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17104
17105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17106 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17107 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17108 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17109 * sysdeps/x86_64/multiarch/strcat.S: New file.
17110 * sysdeps/x86_64/multiarch/strncat.S: New file.
17111 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17112 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17113 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17114 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17115 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17116 (USE_AS_STRCAT): Define.
17117 Add strcat and strncat support.
17118 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17119 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17120 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17121 * string/strncat.c: Update.
17122 (USE_AS_STRNCAT): Define.
17123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17124 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17125 and i7.
17126 * sysdeps/x86_64/multiarch/init-arch.h
17127 (bit_Prefer_PMINUB_for_stringop): New.
17128 (index_Prefer_PMINUB_for_stringop): Likewise.
17129 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17130 bit_Prefer_PMINUB_for_stringop.
17131
7dc6bd90
UD
171322011-07-19 Ulrich Drepper <drepper@gmail.com>
17133
17134 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17135 buffer64.
17136 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17137 of casting of buffer.
17138 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17139 buffer32 and buffer64.
17140 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17141 writes instead of casting of buffer.
17142 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17143 buffer32.
17144 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17145 casting of buffer.
17146
e0e72284
AS
171472011-07-19 Andreas Schwab <schwab@redhat.com>
17148
17149 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17150
feb1eb0b
UD
171512011-07-19 Ulrich Drepper <drepper@gmail.com>
17152
17153 * nscd/nscd.c (termination_handler): Don't do anything for a database
17154 if it has not yet been initialized.
17155
298711ff
UD
171562011-07-18 Ulrich Drepper <drepper@gmail.com>
17157
17158 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17159
171602011-07-15 Marek Polacek <mpolacek@redhat.com>
17161
17162 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17163
f9d68389
UD
171642011-07-18 Ulrich Drepper <drepper@gmail.com>
17165
17166 * po/nl.po: Update from translation team.
17167 * po/sv.po: Likewise.
17168
db290cf5
RM
171692011-07-16 Roland McGrath <roland@hack.frob.com>
17170
17171 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17172 now disallowed by GCC.
5c550700 17173
fd5e21c7
RM
17174 * configure.in (use-default-link): Default to yes if a test -shared
17175 link meets our qualifications.
17176 * configure: Regenerated.
17177
5c550700
RM
17178 * config.make.in (output-format): New variable.
17179 * configure.in: Check for ld --print-output-format support.
17180 * configure: Regenerated.
17181 * Makerules ($(common-objpfx)format.lds)
17182 [$(output-format) != unknown]: Just use $(output-format),
17183 instead of the linker-script munging.
17184
9fa2c032
RM
171852011-07-14 Roland McGrath <roland@hack.frob.com>
17186
a6928d51
RM
17187 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17188 of $(common-objpfx)shlib.lds.
17189 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17190
661607b3
RM
17191 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17192 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17193
9fa2c032
RM
17194 * configure.in (-z relro check): Adjust test code to add a large
17195 writable data section after it.
17196 * configure: Regenerated.
17197
defe9061
RM
171982011-07-11 Roland McGrath <roland@hack.frob.com>
17199
17200 * configure.in (-z relro check): Fix test code to make the variable
17201 truly const.
17202 * configure: Regenerated.
17203
319b9ad4
UD
172042011-07-11 Ulrich Drepper <drepper@gmail.com>
17205
17206 * nscd/nscd.h (struct traced_file): Define.
17207 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17208 elements. Add traced_files.
17209 (inotify_fd): Declare.
17210 (register_traced_file): Declare.
17211 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17212 (inotify_fd): Export.
17213 (resolv_conf_descr): Remove.
17214 (nscd_init): Move inotify descriptor creation to main.
17215 Don't register files for notification here.
17216 (register_traced_file): New function.
17217 (invalidate_cache): Don't use reset_res to determine whether to call
17218 res_init, go through the list of registered files.
17219 (main_loop_poll): The inotify descriptors are now stored in the
17220 structures for the traced files.
17221 (main_loop_epoll): Likewise
17222 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17223 to __nss_disable_nscd.
17224 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17225 for a database anymore. Check the records for all the registered
17226 files instead.
17227 * nss/Makefile (libnss_files-routines): Add files-init.
17228 (libnss_db-routines): Add db-init.
17229 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17230 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17231 * nss/nss_db/db-init.c: New file.
17232 * nss/nss_files/files-init.c: New file.
17233 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17234 __nss_lookup_function.
17235 (__nss_lookup_function): Call nss_load_library.
17236 (nss_load_all_libraries): New function.
17237 (__nss_disable_nscd): Take parameter with callback function for files
17238 to register. Set is_nscd. Load all the DSOs for the NSS modules
17239 used for the cached services.
17240 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17241 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17242 options for features to all the files in nscd.
17243
17244 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17245
23bee3e8
RM
172462011-07-10 Roland McGrath <roland@hack.frob.com>
17247
17248 * csu/elf-init.c (__libc_csu_init): Comment typo.
17249
46a5b7f0
UD
172502011-07-09 Ulrich Drepper <drepper@gmail.com>
17251
17252 * po/pl.po: Update from translation team.
17253 * po/ja.po: Likewise.
17254 * po/ru.po: Likewise.
17255 * po/ko.po: Likewise.
17256 * po/fr.po: Likewise.
17257
d30cf5bb
RM
172582011-07-09 Roland McGrath <roland@hack.frob.com>
17259
113ddea4
RM
17260 * configure.in (.ctors/.dtors header and trailer check):
17261 Use an empirical test on a built program.
17262 * configure: Regenerated.
17263
574920b4
RM
17264 * configure.in (-z relro check): Use an empirical test on a built DSO.
17265 Detect, but do not require, on ia64.
17266 * configure: Regenerated.
17267
d30cf5bb
RM
17268 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17269 Update tests that use readelf to use $READELF instead.
17270 * configure: Regenerated.
17271
8538fdb3
UD
172722011-07-08 Ulrich Drepper <drepper@gmail.com>
17273
17274 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17275 if the result is not used.
17276
04d08991
AJ
172772011-07-05 Andreas Jaeger <aj@suse.de>
17278
17279 [BZ#9696]
17280 * stdlib/tst-strtod.c: Add testcase.
17281
de283087
AD
172822011-07-07 Ulrich Drepper <drepper@gmail.com>
17283
4e5f31c8 17284 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17285 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17286 The latter has a higher limit. Take additional parameter to pass to
17287 the new function.
17288 (__pathconf): Pass file to __statfs_link_max.
17289 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17290 __statfs_link_max.
17291 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17292 __statfs_link_max.
17293
de283087
AD
17294 [BZ #12868]
17295 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17296 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17297 Handle Lustre.
17298 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17299 (__statfs_filesize_max): Likewise.
17300 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17301
c75fa153
AJ
173022011-07-05 Andreas Jaeger <aj@suse.de>
17303
17304 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17305
1a544854
UD
173062011-07-06 Marek Polacek <mpolacek@redhat.com>
17307
17308 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17309 `status' variable.
17310 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17311 Likewise.
17312
6f0eec67
UD
173132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17314
17315 * Makefile (strop-tests): Add strncat.
17316 * string/test-strncat.c: New file.
17317
aae30307
UD
173182011-06-30 Marek Polacek <mpolacek@redhat.com>
17319
17320 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17321
c0cfb5eb
UD
173222011-06-21 Andreas Jaeger <aj@suse.de>
17323
17324 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17325 Copy rule from iconvdata/Makefile.
17326
01636b21
UD
173272011-07-06 Ulrich Drepper <drepper@gmail.com>
17328
17329 [BZ #12922]
17330 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17331 but no long options are defined, just return 'W'.
17332
9895c8bc
UD
173332011-06-22 Marek Polacek <mpolacek@redhat.com>
17334
17335 [BZ #9696]
17336 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17337
5d4cf042
UD
173382011-07-06 Ulrich Drepper <drepper@gmail.com>
17339
17340 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17341 netgroups to read.
960e5535 17342 (innetgr): Likewise.
5d4cf042 17343
751eb97e
RM
173442011-07-05 Roland McGrath <roland@hack.frob.com>
17345
17346 * config.make.in (install_root): Default to $(DESTDIR).
17347
f15f1e45
UD
173482011-07-05 Ulrich Drepper <drepper@gmail.com>
17349
17350 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17351
4e34ac6a
RM
173522011-07-02 Roland McGrath <roland@hack.frob.com>
17353
5e9b6af4
RM
17354 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17355
84f9ea0f
RM
17356 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17357 containing directory rather than embedding absolute directory names.
17358
ea5ee9f7
RM
17359 * scripts/check-local-headers.sh: Rewritten using awk.
17360 Match by word, not by line. Print error messages for matches.
17361 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17362
1b74661a
RM
17363 * Makerules [shlib-lds-flags empty]:
17364 ($(common-objpfx)libc_pic.opts): New target.
17365 ($(common-objpfx)libc_pic.os.clean): New target.
17366 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17367
17368 * config.make.in (OBJCOPY): New variable.
17369 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17370 * configure: Regenerated.
17371
f781ef40
RM
17372 * config.make.in (use-default-link): New variable.
17373 * configure.in (use_default_link): Grok --with-default-link to set it.
17374 * configure: Regenerated.
17375 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17376 (shlib-lds, shlib-lds-flags): Define to empty.
17377
2d4fa81e
RM
17378 * Makerules (shlib-lds): New variable.
17379 (shlib-lds-flags): New variable.
17380 (build-shlib, build-moduile, build-module-asneeded): Use it.
17381 ($(common-objpfx)libc.so): Use $(shlib-lds).
17382 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17383 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17384
31fffa6b
RM
17385 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17386 DT_FLAGS/DT_FLAGS_1 with zero flags.
17387
4e34ac6a
RM
17388 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17389 linker script munging.
17390
fcfc776b
UD
173912011-07-02 Ulrich Drepper <drepper@gmail.com>
17392
17393 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17394 as 128-bit value.
17395 * crypt/sha512.c (sha512_process_block): Perform total addition using
17396 128-bit if possible.
17397 (__sha512_finish_ctx): Likewise.
17398 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17399 as 64-bit value.
17400 * crypt/sha256.c (SWAP64): Define.
17401 (sha256_process_block): Perform total addition using 64-bit if
17402 possible.
17403 (__sha256_finish_ctx): Likewise.
17404
99231d9a
UD
174052011-07-01 Ulrich Drepper <drepper@gmail.com>
17406
17407 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17408 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17409 * nscd/hstcache.c (cache_addhst): Likewise.
17410 * nscd/grpcache.c (cache_addgr): Likewise.
17411 * nscd/aicache.c (addhstaiX): Likewise
17412 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17413
445b4a53
TK
174142011-07-01 Thorsten Kukuk <kukuk@suse.de>
17415
17416 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17417 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17418 * nscd/hstcache.c (cache_addhst): Likewise.
17419 * nscd/grpcache.c (cache_addgr): Likewise.
17420 * nscd/aicache.c (addhstaiX): Likewise
17421
6d4d8e8e
AS
174222011-07-01 Andreas Schwab <schwab@redhat.com>
17423
17424 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17425 domain only when needed.
17426
89f654c5
AS
174272011-06-30 Andreas Schwab <schwab@redhat.com>
17428
17429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17430 is always restored.
17431
cf3b23ff
UD
174322011-06-29 Ulrich Drepper <drepper@gmail.com>
17433
17434 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17435 are re-adding the entry.
17436 * nscd/servicescache.c (cache_addserv): Likewise.
17437
751626f9
AJ
174382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17439
17440 * sysdeps/generic/dl-irel.h: fix protection against multiple
17441 inclusions.
17442 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17443
9113ea1f
UD
174442011-06-28 Ulrich Drepper <drepper@gmail.com>
17445
5c0b8d90
UD
17446 [BZ #12935]
17447 * malloc/memusage.sh: Fix quoting in message.
17448 * debug/xtrace.sh: Likewise.
17449
9113ea1f
UD
17450 * configure.in: Remove support for --experimental-malloc option, make
17451 it the default.
17452 * config.make.in: Likewise.
17453 * malloc/Makefile: Likewise.
17454
a4172181
AS
174552011-06-27 Andreas Schwab <schwab@redhat.com>
17456
17457 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17458 two-byte characters.
17459
78a7eee7
RM
174602011-06-27 Roland McGrath <roland@hack.frob.com>
17461
62bede13
RM
17462 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17463 AC_CACHE_CHECK invocation.
17464 * configure: Regenerated.
17465
78a7eee7
RM
17466 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17467
5ce33a62
UD
174682011-06-27 Ulrich Drepper <drepper@gmail.com>
17469
034807a9
UD
17470 [BZ #12350]
17471 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17472 bit from old_res_options.
17473
4902da17
UD
17474 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17475
5ce33a62
UD
17476 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17477 value type for setfct.
17478
c2344f56
L
174792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17480
17481 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17482 __gettimeofday instead of gettimeofday.
17483
68468076
UD
174842011-06-26 Ulrich Drepper <drepper@gmail.com>
17485
17486 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17487
acb0d739
L
174882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17489
17490 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17491
17492 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17493 info.
17494
8912479f
L
174952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17496
17497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17498 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17499 strcpy-sse2-unaligned strncpy-sse2-unaligned
17500 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17501 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17502 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17503 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17504 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17505 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17506 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17507 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17508 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17509 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17510 (STRCPY): Support SSE2 and SSSE3 versions.
17511
d5495a11
UD
175122011-06-24 Ulrich Drepper <drepper@gmail.com>
17513
17514 [BZ #12874]
17515 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17516 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17517 kernels which artificially limit size of requests.
17518
0b1cbaae
L
175192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17520
17521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17522 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17523 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17524 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17525 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17526 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17527 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17528 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17529 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17530 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17531 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17532 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17533 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17534 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17535 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17537 Enable unaligned load optimization for Intel Core i3, i5 and i7
17538 processors.
17539 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17540 Define.
17541 (index_Fast_Unaligned_Load): Define.
17542 (HAS_FAST_UNALIGNED_LOAD): Define.
17543
07f494a0
MP
175442011-06-23 Marek Polacek <mpolacek@redhat.com>
17545
17546 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17547
fa3fc0fe
UD
175482011-06-22 Ulrich Drepper <drepper@gmail.com>
17549
17550 [BZ #12907]
17551 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17552 until it is clear that the information is realy needed.
17553 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17554
e12df166
AS
175552011-06-22 Andreas Schwab <schwab@redhat.com>
17556
17557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17558
852eb34d
UD
175592011-06-22 Ulrich Drepper <drepper@gmail.com>
17560
84e2a551
UD
17561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17562 /sys/devices/system/cpu/online if it is usable.
17563
852eb34d
UD
17564 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17565 reading the information from the /proc filesystem to once a second.
17566
6e502e19
UD
175672011-06-21 Andreas Jaeger <aj@suse.de>
17568
17569 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17570 NULL after inclusion of kernel headers.
17571
75d39ff2
UD
175722011-06-21 Ulrich Drepper <drepper@gmail.com>
17573
51f9aa6a
UD
17574 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17575 calls to internal_setent.
17576
c0244a9d
UD
17577 [BZ #12885]
17578 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17579 addresses using gethostbyname4_r ignore IPv4 addresses.
17580
c5e3c2ae
UD
17581 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17582 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17583
75d39ff2
UD
17584 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17585
42675c6f
DM
175862011-06-20 David S. Miller <davem@davemloft.net>
17587
17588 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17589 inclusions.
17590 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17591
17592 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17593 (elf_irel): Use it.
17594 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17595 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17596 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17597 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17598 * sysdeps/x86_64/dl-irel.h: Likewise.
17599
17600 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17601 * elf/dl-sym.c: Likewise.
17602
57912a71
UD
176032011-06-15 Ulrich Drepper <drepper@gmail.com>
17604
17605 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17606 need to dereference resplen2.
17607
ee22793d
AS
176082011-06-14 Andreas Schwab <schwab@redhat.com>
17609
17610 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17611
a9e836b0
UD
176122011-06-15 Ulrich Drepper <drepper@gmail.com>
17613
77fb9117
UD
17614 * Makeconfig: Define vardbdir and inst_vardbdir.
17615 * nss/Makefile: Add rules to install db-Makefile.
17616
40c1b22c
UD
17617 * nss/nss_db/db-XXX.c: Cleanup.
17618
9f2da732
UD
17619 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17620 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17621 GLIBC_PRIVATE.
17622 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17623 * nss/makedb.c: Implement -g option to specify that value strings
17624 are generated and should not be added to table iterated over for
17625 get*ent calls.
17626 * nss/nss_db/db-initgroups.c: New file.
17627
82e9a1f7
UD
17628 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17629 interface.
17630
c41af17e
UD
17631 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17632 (internal_getgrouplist): Adjust to name change.
17633 Update use_initgroups_entry if this is not the first call.
17634 * nss/databases.def: Add initgroups entry.
17635
a9e836b0
UD
17636 * nss/makedb.c (compute_tables): Check result of multiple hash table
17637 sizes to minimize maximum chain length.
17638
2666d441
UD
176392011-06-14 Ulrich Drepper <drepper@gmail.com>
17640
17641 * Versions.def: Add entry for libnss_db.
17642 * shlib-versions: Likewise.
17643 * nss/Makefile: Add rules to build libnss_db.
17644 * nss/Versions: Add libnss_db information. Organize libnss_files
17645 entries better.
17646 * nss/db-Makefile: Add gshadow support. Change rules for the new
17647 makedb progra. Some minor improvements to generate smaller files.
17648 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17649 here from...
17650 * nss/makedb.c: ...here.
17651 Improve database format to be smaller and require less memory at
17652 runtime.
17653 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17654 db anymore.
17655 * nss/nss_db/db-netgrp.c: Likewise.
17656 * nss/nss_db/db-open.c: Likewise.
17657 * nss/nss_files/flies-XXX.x: Adjust comments.
17658 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17659 * nss/nss_files/files-grp.c: Likewise.
17660 * nss/nss_files/files-hosts.c: Likewise.
17661 * nss/nss_files/files-network.c: Likewise.
17662 * nss/nss_files/files-proto.c: Likewise.
17663 * nss/nss_files/files-pwd.c: Likewise.
17664 * nss/nss_files/files-rpc.c: Likewise.
17665 * nss/nss_files/files-service.c: Likewise.
17666 * nss/nss_files/files-sgrp.c: Likewise.
17667 * nss/nss_files/files-spwd.c: Likewise.
17668 * nss/nss_db/db-alias.c: Removed.
17669 * nss/nss_db/dummy-db.h: Removed.
17670
9ee76b5a
UD
176712011-06-02 Ulrich Drepper <drepper@gmail.com>
17672
17673 * nss/makedb.c: Rewritten to not use database library.
17674 * nss/Makefile: Update to build new makedb program.
17675
c71ca1f8
AJ
176762011-06-14 Andreas Jaeger <aj@suse.de>
17677
17678 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17679 memset declaration.
17680
3154bfb8
UD
176812011-06-10 Andreas Schwab <schwab@redhat.com>
17682
17683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17684 tmpbuf.
17685
b350afab
RM
176862011-06-10 Roland McGrath <roland@hack.frob.com>
17687
decd4e50
RM
17688 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17689 * elf/Makefile ($(objpfx)ld.so): Likewise.
17690
5615eaf2
RM
17691 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17692 Don't list ld.so twice in dependencies.
17693
17694 * posix/bug-regex31.c: Include <stdlib.h>.
17695
17696 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17697
17698 * nis/nss_compat/compat-spwd.c
17699 (getspent_next_nss_netgr): Remove unused variable.
17700 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17701
17702 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17703 nonmembers" output to use the right array.
17704
17705 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17706
17707 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17708
17709 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17710 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17711 * catgets/gencat.c (read_input_file): Likewise.
17712 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17713
17714 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17715 variable definition inside #if's controlling its use.
17716
17717 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17718
17719 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17720
17721 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17722
17723 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17724 unreachable code.
17725
17726 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17727
b68e08db
RM
17728 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17729 * configure: Regenerated.
17730
b350afab
RM
17731 * Makerules: Revert last change.
17732 * elf/Makefile: Likewise.
17733
28368601
RM
177342011-06-09 Roland McGrath <roland@hack.frob.com>
17735
17736 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17737 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17738 (reloc-link): Likewise.
17739
11988f8f
UD
177402011-06-09 Ulrich Drepper <drepper@gmail.com>
17741
17742 * elf/Makefile: Add rules to build pldd.
17743 * elf/pldd.c: New file.
17744 * elf/pldd-xx.c: New file.
17745
e80fab37
UD
177462011-06-07 Ulrich Drepper <drepper@gmail.com>
17747
17748 * version.h: Update for 2.15 development version.
17749
9b849836
DM
177502011-06-07 David S. Miller <davem@davemloft.net>
17751
17752 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17753 ifuncs.
17754 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17755 elf_machine_lazy_rel): Likewise.
17756 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17757 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17758 elf_machine_lazy_rel): Likewise.
17759 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17760 dl_hwcap via passed in argument.
17761 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17762 Likewise.
17763
5a31b283
AK
177642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17765
17766 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17767
069e52f8
RM
177682011-06-06 Roland McGrath <roland@hack.frob.com>
17769
17770 [BZ #12849]
17771 * manual/fdl-1.1.texi: New file, verbatim from:
17772 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17773 * manual/lgpl-2.1.texi: New file, verbatim from:
17774 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17775 * manual/Makefile (licenses): New variable, list those new file names.
17776 (texis): Use it.
17777 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17778
17779 * manual/fdl.texi: File removed.
17780 * manual/lesser.texi: File removed.
17781 * manual/libc.texinfo (Copying, Documentation License):
17782 Use new @include file names, put @appendix directive before @include.
17783
f16846a5
JJ
177842011-06-04 Jakub Jelinek <jakub@redhat.com>
17785
17786 [BZ #12841]
17787 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17788 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17789 (mq_open): Add __NTH.
17790
3d29045b
L
177912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17792
17793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17794 Assume Intel Core i3/i5/i7 processor if AVX is available.
17795
8c297311
UD
177962011-05-31 Ulrich Drepper <drepper@gmail.com>
17797
17798 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17799 typo.
17800
c8fc0c91
UD
178012011-05-31 Andreas Schwab <schwab@redhat.com>
17802
17803 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17804 memory. Use alloca_account. Fix memory leak when retrying.
17805
5b27a807
UD
178062011-05-31 Ulrich Drepper <drepper@gmail.com>
17807
356f8bc6
UD
17808 * version.h (RELEASE): Bump for 2.14 release.
17809 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17810
5b27a807
UD
17811 * config.make.in (RANLIB): Remove entry.
17812
01f16ab0
UD
178132011-05-30 Ulrich Drepper <drepper@gmail.com>
17814
41fce8bd
UD
17815 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17816 (libc.pot): Work around missing support for .ksh extension in xgettext.
17817
4769ae77
UD
17818 [BZ #12684]
17819 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17820 if both request failed.
17821 (send_dg): In case of server errors clear resplen or *resplen2.
17822
6b1e7d19
UD
17823 [BZ #12454]
17824 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17825 when there are multiple maps.
17826 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17827 (_dl_fini): Remove test here.
17828
01f16ab0
UD
17829 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17830
b1ebd700
UD
178312011-05-29 Ulrich Drepper <drepper@gmail.com>
17832
7ae22829
UD
17833 [BZ #12350]
17834 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17835 bit from old_res_options.
17836 (gaih_inet): Likewise.
17837
553149f6 17838 [BZ #11099]
18a84741 17839 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17840 as signed.
17841
652ffab1
UD
17842 * resolv/res_init.c (res_setoptions): Make the code more compact.
17843
16985fd0
UD
17844 [BZ #11558]
17845 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17846 set RES_USEVC.
17847
0464f746
UD
17848 [BZ #11634]
17849 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17850
7d17596c
UD
17851 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17852
cf6bbbd7
UD
17853 [BZ #11781]
17854 * malloc/malloc.h: Declare malloc hook variables as volatile.
17855
13f1ab36
UD
17856 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17857 in last patch.
17858
b1ebd700
UD
17859 [BZ #11799]
17860 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17861 raise in the comment.
80e2212d
UD
17862 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17863 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17864 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17865
ce67228d
UD
178662011-05-28 Ulrich Drepper <drepper@gmail.com>
17867
8887a920
UD
17868 [BZ #12811]
17869 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17870 grow the buffers more if it already has to be sufficient.
17871 (build_wcs_upper_buffer): Likewise.
17872 * posix/regexec.c (check_matching): Likewise.
17873 (clean_state_log_if_needed): Likewise.
17874 (extend_buffers): Don't enlarge buffers beyond size of the input
17875 buffer.
17876 Patches mostly by Emil Wojak <emil@wojak.eu>.
17877 * posix/bug-regex32.c: New file.
17878 * posix/Makefile (tests): Add bug-regex32.
17879
4f031072
UD
17880 * locale/findlocale.c (_nl_find_locale): Return right away if
17881 _nl_explode_name failed.
17882 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17883
d0478f0c
UD
17884 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17885
de81b246
UD
17886 * debug/xtrace.sh: Unify messages.
17887 * malloc/memusage.sh: Likewise.
17888
c738465a
UD
17889 [BZ #12813]
17890 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17891 time symbol from vDSO. Substitute with vsyscall if not available.
17892 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17893 __vdso_time.
17894
f1f929d7
UD
17895 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17896 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17897 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17898 Add sendmmsg and internal_sendmmsg.
17899 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17900 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17901 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17902
ce67228d
UD
17903 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17904 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17905 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17906
e57420c6
UD
179072011-05-27 Ulrich Drepper <drepper@gmail.com>
17908
a8509ca5
UD
17909 [BZ #12813]
17910 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17911 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17912 available.
17913 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17914 __vdso_getcpu.
17915
e57420c6
UD
17916 [BZ #12814]
17917 * iconvdata/Makefile (tests): Add bug-iconv9.
17918 * iconvdata/bug-iconv9.c: New file.
17919
4d07db15
AS
179202011-05-27 Andreas Schwab <schwab@redhat.com>
17921
17922 [BZ #12814]
17923 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17924
ea486f69
JJ
179252011-05-25 Jakub Jelinek <jakub@redhat.com>
17926
17927 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17928 (struct user_regs_struct): Change intcs field back to cs.
17929
6f038433
UD
179302011-05-25 Ulrich Drepper <drepper@gmail.com>
17931
17932 * po/ja.po: Update from translation team.
17933
67f86a25
UD
179342011-05-23 Ulrich Drepper <drepper@gmail.com>
17935
17936 [BZ #12795]
17937 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17938 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17939
def7fbd6
AS
179402011-05-20 Andreas Schwab <schwab@redhat.com>
17941
17942 * stdlib/longlong.h: Update from GCC.
17943
f50ef8f1
AS
179442011-05-23 Andreas Schwab <schwab@redhat.com>
17945
17946 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17947 parameter name.
17948 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17949 Add parameter name.
17950 (__sysconf): Pass it down.
17951
de7ce8f1
UD
179522011-05-22 Ulrich Drepper <drepper@gmail.com>
17953
f2962a71
UD
17954 [BZ #12671]
17955 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17956 some situations.
17957 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17958 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17959 add in in __libc_use_alloca calls. Adjust callers.
17960 (glob): Use malloc in some situations.
17961
de7ce8f1
UD
17962 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17963 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17964 pltexit.
17965
aec84f53
UD
179662011-05-21 Ulrich Drepper <drepper@gmail.com>
17967
05bb4a68
UD
17968 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17969 and CLOCK_BOOTTIME_ALARM.
17970
7ea72f99
UD
17971 [BZ #12782]
17972 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17973 is returned.
17974
7e4afad5
UD
17975 * string/_strerror.c (__strerror_r): Print negative errors as signed
17976 numbers.
17977
8e211fec
UD
17978 [BZ #12777]
17979 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17980 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17981 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17982
f7d82dc9
UD
17983 * configure.in: Fix typo in redirection and correct removal of test
17984 files in two cases.
17985
cc9e536d
UD
17986 [BZ #12788]
17987 * locale/setlocale.c (new_composite_name): Fix test to check for
17988 identical name of all categories.
17989
aec84f53
UD
17990 [BZ #12792]
17991 * libio/filedoalloc.c (local_isatty): New function.
17992 (_IO_file_doallocate): Use local_isatty.
17993 * stdio-common/perror.c (perror): In case a new stream is used
17994 forward the stream error.
17995 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17996 error flag.
17997
78e64fdc
RT
179982011-05-20 Ulrich Drepper <drepper@gmail.com>
17999
34a9094f
UD
18000 [BZ #11869]
18001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18002 alloca.
18003 * include/alloca.h (extend_alloca_account): Define.
18004
78e64fdc
RT
18005 [BZ #11857]
18006 * posix/regex.h: Fix comments with documentation of user-accessible
18007 fields after compilation and describe correct free'ing of pattern
18008 after re_compile_pattern.
18009 Patch by Reuben Thomas <rrt@sc3d.org>.
18010
457bddfc
RA
180112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18012
18013 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18014 and -mno-altivec to prevent the compiler from using Altivec and/or
18015 VSX instructions when the corresponding registers are not available.
18016
a4527b51
AS
180172011-05-19 Andreas Schwab <schwab@redhat.com>
18018
18019 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18020
ed690b2f
UD
180212011-05-19 Ulrich Drepper <drepper@gmail.com>
18022
18023 * libio/freopen.c (freopen): Use __dup2, not dup2.
18024 * libio/freopen64.c (freopen64): Likewise.
18025
8db73634
L
180262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18027
18028 [BZ #12775]
18029 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18030 * math/Makefile (tests): Add test-powl.
18031 (CFLAGS-test-powl.c): Define.
18032 * math/test-powl.c: New file.
18033
0a197a9d
L
180342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18035
18036 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18037
ee30c380
UD
180382011-05-17 Ulrich Drepper <drepper@gmail.com>
18039
18040 [BZ #11837]
18041 * iconvdata/gb18030.c: Update to GB18020-2005.
18042
6ce75379
UD
180432011-05-16 Ulrich Drepper <drepper@gmail.com>
18044
a4b89fd8
AR
18045 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18046 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18047 Patch by Aharon Robbins <arnold@skeeve.com>.
18048
ea389b12
UD
18049 [BZ #11892]
18050 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18051 on the stack.
18052
68a3f91f
UD
18053 [BZ #11895]
18054 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18055 through underflows.
18056
15cc7dd1
UD
18057 [BZ #12766]
18058 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18059 point to strings before performing equality test for error_one_per_line
18060 mode.
18061
f3799213
UD
18062 [BZ #11697]
18063 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18064
d79a9c94
UD
18065 [BZ #11820]
18066 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18067 (struct user_fpregs_struct): Avoid __uint*_t types.
18068
56e5eb46
UD
18069 [BZ #6420]
18070 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18071 symbol info. Use it instead of calling _dl_addr locally.
18072 (lock_and_info): New function.
18073 (tr_freehook): Call lock_and_info and pass symbol info as additional
18074 parameter to tr_where.
18075 (tr_mallochook): Likewise.
18076 (tr_reallochook): Likewise.
18077 (tr_memalignhook): Likewise.
18078
6ce75379
UD
18079 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18080 used and couldn't be at all thread-safe.
18081
f8a3b5bf
UD
180822011-05-15 Ulrich Drepper <drepper@gmail.com>
18083
94b7cc37
UD
18084 * libio/freopen.c (freopen): Don't close old file descriptor
18085 before the new one is opened. Instead dup the new file descriptor
18086 to the old one after the new stream is created.
18087 * libio/freopen64.c (freopen64): Likewise.
18088 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18089 * libio/fileops.c (_IO_new_file_close_it): Handle new
18090 _IO_FLAGS2_NOCLOSE flag.
18091 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18092 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18093 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18094 _IO_FLAGS2_NOCLOSE flag.
18095 * include/unistd.h: Add hidden_proto for dup3.
18096 Define __have_dup3.
18097 * io/dup3.c: Define hidden symbol.
18098 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18099
bd25564e
UD
18100 [BZ #7101]
18101 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18102 when an incomplete long option is used.
18103 * posix/tst-getopt_long1.c: New file.
18104 * posix/Makefile (tests): Add tst-getopt_long1.
18105
c84cfef4
UD
18106 [BZ #10138]
18107 * scripts/config.guess: Update from autoconf-2.68.
18108 * scripts/config.sub: Likewise.
18109
3b85df27
UD
18110 [BZ #10157]
18111 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18112 tests into ...
18113 (has_cpuclock): ...this. New function.
18114 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18115 macro here based on has_cpuclock code.
18116
15a856b1
UD
18117 [BZ #10149]
18118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18119 First byte (not low byte) is now always NUL.
18120 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18121
05f399e6
UD
18122 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18123 Use non-cancelable interfaces.
18124
10a52685 18125 [BZ #9809]
94ecc67d
UD
18126 * locale/iso-639.def: Add entry for Sorani.
18127
f8a3b5bf
UD
18128 [BZ #11901]
18129 * include/stdlib.h: Move include protection to the right place.
18130 Define abort_msg_s. Declare __abort_msg with it.
18131 * stdlib/abort.c (__abort_msg): Adjust type.
18132 * assert/assert.c (__assert_fail_base): New function. Majority
18133 of code from __assert_fail. Allocate memory for __abort_msg with
18134 mmap.
18135 (__assert_fail): Now call __assert_fail_base.
18136 * assert/assert-perr.c: Remove bulk of implementation. Use
18137 __assert_fail_base.
18138 * include/assert.hL Declare __assert_fail_base.
18139 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18140 mmap.
18141 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18142
1af4e298
UD
181432011-05-14 Ulrich Drepper <drepper@gmail.com>
18144
f8a3b5bf 18145 [BZ #11952]
d26dfc60
MG
18146 [BZ #12453]
18147 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18148 until all modules are registered in the DTV.
18149 * elf/Makefile: Add rules to build and run tst-tls19.
18150 * elf/tst-tls19.c: New file.
18151 * elf/tst-tls19mod1.c: New file.
18152 * elf/tst-tls19mod2.c: New file.
18153 * elf/tst-tls19mod3.c: New file.
18154 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18155
2fc54d6f
UD
18156 [BZ #12083]
18157 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18158 correctly.
18159
98d76b46
UD
18160 [BZ #12601]
18161 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18162 two-byte sequence errors.
18163 * iconvdata/Makefile (tests): Add bug-iconv8.
18164 * iconvdata/bug-iconv8.c: New file.
18165
da3c19ef
UD
18166 [BZ #12626]
18167 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18168 buf2 definition.
18169
ca408c15
UD
18170 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18171
d6f67f7d
UD
18172 [BZ #12432]
18173 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18174 (dummy_getcfa): New function.
18175 (init): Get _Unwind_GetCFA address, use dummy if not found.
18176 (backtrace_helper): In recursion check, also check whether CFA changes.
18177 (__backtrace): Completely initialize arg.
18178
1af4e298 18179 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18180 storing incomplete byte sequence in state object. Avoid testing for
18181 guaranteed too small input if we know there is enough data available.
1af4e298 18182
da62f81b
AS
181832011-05-11 Andreas Schwab <schwab@redhat.com>
18184
18185 * Makeconfig (+link-pie): Indent.
18186 * Rules (binaries-pie): Define if $(have-fpie) and
18187 $(build-shared).
18188 (binaries-shared): Also filter out $(binaries-pie).
18189 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18190 * nscd/Makefile (others-pie): Add nscd.
18191 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18192 ($(objpfx)nscd): Remove command override.
18193 * login/Makefile (others-pie): Add pt_chown.
18194 ($(objpfx)pt_chown): Remove command override.
18195 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18196 remove command overrides.
18197
fcabc0f8
UD
181982011-05-13 Ulrich Drepper <drepper@gmail.com>
18199
20030ae6
UD
18200 * libio/tst_putwc.c: Fix error messages.
18201
fcabc0f8
UD
18202 [BZ #12724]
18203 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18204 currently writing and seek to current position when not.
18205 * libio/Makefile (tests): Add bug-fclose1.
18206 * libio/bug-fclose1.c: New file.
18207
320a5dc0
PB
182082011-05-12 Ulrich Drepper <drepper@gmail.com>
18209
18210 [BZ #12511]
18211 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18212 don't set DF_1_NODELETE here.
18213 (do_lookup_x): When entering new entry test for copy relocation
18214 and if necessary set DF_1_NODELETE flag.
18215 * elf/tst-unique4.cc: New file.
18216 * elf/tst-unique4.h: New file.
18217 * elf/tst-unique4lib.cc: New file.
18218 * elf/Makefile: Add rules to build and run tst-unique4.
18219 Patch by Piotr Bury <pbury@goahead.com>.
18220
22836f52
UD
182212011-05-11 Ulrich Drepper <drepper@gmail.com>
18222
f574184a
UD
18223 [BZ #12052]
18224 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18225
e1fb097f
UD
18226 [BZ #12625]
18227 * misc/mntent_r.c (addmntent): Flush the stream after the output
18228
22836f52
UD
18229 [BZ #12393]
18230 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18231 (is_trusted_path_normalize): Skip initial colon. Append slash
18232 to empty buffer. Duplicate is_trusted_path code but allow
18233 constructed patch to be prefix.
18234 (is_dst): Allow $ORIGIN followed by /.
18235 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18236 Correct testing of result of is_trusted_path_normalize
18237 (decompose_rpath): Fix warning.
18238
7b3b0b2a
UD
182392011-05-10 Ulrich Drepper <drepper@gmail.com>
18240
18241 [BZ #11257]
18242 * grp/initgroups.c (internal_getgrouplist): When we found the service
18243 list through the initgroups entry in nsswitch.conf do not always
18244 continue on a successful lookup. Don't always use the
eac80ce2 18245 __nss_group_database value if it is set.
7b3b0b2a
UD
18246 * nss/nsswitch.conf (initgroups): Change action for successful db
18247 lookup to continue for compatibility.
18248
2a81eaa5
UD
182492011-05-09 Ulrich Drepper <drepper@gmail.com>
18250
be97a69e
UD
18251 [BZ #11532]
18252 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18253 and CP774 modules.
18254 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18255 and CP774 modules.
18256 * iconvdata/tst-tables.sh: Likewise.
18257 * iconvdata/cp770.c: New file.
18258 * iconvdata/cp771.c: New file.
18259 * iconvdata/cp772.c: New file.
18260 * iconvdata/cp773.c: New file.
18261 * iconvdata/cp774.c: New file.
18262 * iconvdata/testdata/CP770: New file.
18263 * iconvdata/testdata/CP770..UTF8: New file.
18264 * iconvdata/testdata/CP771: New file.
18265 * iconvdata/testdata/CP771..UTF8: New file.
18266 * iconvdata/testdata/CP772: New file.
18267 * iconvdata/testdata/CP772..UTF8: New file.
18268 * iconvdata/testdata/CP773: New file.
18269 * iconvdata/testdata/CP773..UTF8: New file.
18270 * iconvdata/testdata/CP774: New file.
18271 * iconvdata/testdata/CP774..UTF8: New file.
18272
18273 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18274 END CHARMAP line.
18275 * iconvdata/gen-8bit-gap.sh: Likewise.
18276 * iconvdata/gen-8bit.sh: Likewise.
18277
c1e9e399
UD
18278 * locale/iso-639.def: Add ary entry.
18279
24c55fb3 18280 [BZ #11258]
96b4b1b0
UD
18281 * locale/C-translit.h.in: Add U20A1 transliteration.
18282
bdc2f971
KB
18283 [BZ #12178]
18284 * locale/iso-639.def: Add wae entry.
18285 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18286
2952b117
UD
18287 [BZ #12545]
18288 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18289 for n.
18290
2a81eaa5
UD
18291 [BZ #12711]
18292 * locale/C-translit.h.in: Add entry for U20B9.
18293 Patch by pravin.d.s@gmail.com.
18294
28377d1b
UD
182952011-05-08 Ulrich Drepper <drepper@gmail.com>
18296
7fb90fb8
UD
18297 [BZ #12713]
18298 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18299 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18300 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18301 in rtld. Use *stat64.
7fb90fb8 18302 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18303 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18304 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18305 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18306 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18307 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18308 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18309 __fstatat64 macros.
7fb90fb8
UD
18310 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18311 * dirent/rewinddir.c: Add libc_hidden_def.
18312 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18313 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18314
28377d1b
UD
18315 * include/dirent.h (__alloc_dir): Add flags parameter.
18316 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18317 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18318 __alloc_dir.
18319 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18320 from fdopendir if O_CLOEXEC is already set.
18321
66bdbaa4
AM
183222011-03-15 Alan Modra <amodra@gmail.com>
18323
18324 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18325 l_tls_firstbyte_offset non-zero. Save padding offset in
18326 l_tls_firstbyte_offset for later use.
18327 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18328 freeing static tls block.
18329
95721191
JN
183302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18331
18332 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18333 where #ifdef was intended. The intent is to prevent ARG_MAX from
18334 being defined by the kernel headers.
18335
f87dfb1f
UD
183362011-05-07 Ulrich Drepper <drepper@gmail.com>
18337
18338 [BZ #12734]
18339 * resolv/resolv.h: Define RES_NOTLDQUERY.
18340 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18341 no-tld-query and set RES_NOTLDQUERY.
18342 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18343 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18344 modern BIND to search name as TLD unless forbidden.
18345
47c3cd7a
UD
183462011-05-07 Petr Baudis <pasky@suse.cz>
18347 Ulrich Drepper <drepper@gmail.com>
18348
18349 [BZ #12393]
18350 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18351 (is_trusted_path): ...to here.
c1e9ea35 18352 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18353 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18354 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18355
8a35c912
PP
183562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18357
18358 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18359 __BEGIN/__END_DECLS.
18360
acd41f47
UD
183612011-05-06 Ulrich Drepper <drepper@gmail.com>
18362
18363 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18364 NSS_STATUS_NOTFOUND if no record was found.
18365
597df647
AS
183662011-05-05 Andreas Schwab <schwab@redhat.com>
18367
18368 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18369 (headers-not-in-tirpc): Remove rpc/netdb.h
18370 * resolv/netdb.h: Revert last change.
18371
b9af1301
PP
183722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18373
18374 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18375 circular dependency between libgcc.a and libc.a.
18376
4e34d5f5
AS
183772011-05-05 Andreas Schwab <schwab@redhat.com>
18378
18379 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18380 * nis/Makefile: Don't install rpcsvc/*.
18381 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18382 instead of <rpc/types.h>.
18383 (MAXHOSTNAMELEN): Define.
18384
00ee369c
AS
183852011-05-03 Andreas Schwab <schwab@redhat.com>
18386
18387 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18388
0b592a30
MB
183892011-04-28 Maciej Babinski <mbabinski@google.com>
18390
18391 [BZ #12714]
18392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18393 gethostbyname4_r when IPv6 results are possible.
18394
6e04cbbe
UD
183952011-05-02 Ulrich Drepper <drepper@gmail.com>
18396
18397 [BZ #12723]
18398 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18399 _PC_PIPE_BUF handling.
18400
e4ecafe0
BH
184012011-04-30 Bruno Haible <bruno@clisp.org>
18402
18403 [BZ #12717]
18404 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18405 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18406 to 'int'.
18407 * inet/getnameinfo.c (getnameinfo): Likewise.
18408
125ee683
UD
184092011-04-29 Ulrich Drepper <drepper@gmail.com>
18410
18411 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18412 to groups setting in database lookup.
18413 * nss/nsswitch.conf: Add initgroups entry.
18414
b722481a
EB
184152011-04-22 Ulrich Drepper <drepper@gmail.com>
18416
18417 [BZ #12685]
18418 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18419 mode string.
18420 Patch by Eric Blake <eblake@redhat.com>.
18421
4df46dbd
L
184222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18423
18424 * sunrpc/Makefile (need-export-routines): Add svc_run.
18425 (routines): Remove svc_run.
18426 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18427 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18428 * sunrpc/svc_run.c (svc_run): Likewise.
18429 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18430
e84142d2
UD
184312011-04-21 Ulrich Drepper <drepper@gmail.com>
18432
18433 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18434 problem in reallocation in last patch.
18435
877175d8
UD
184362011-04-20 Ulrich Drepper <drepper@gmail.com>
18437
18438 * sunrpc/Makefile: Move inclusion of Rules.
18439
ab8eed78
UD
184402011-04-19 Ulrich Drepper <drepper@gmail.com>
18441
18442 * nss/nss_files/files-initgroups.c: New file.
18443 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18444 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18445 _nss_files_initgroups_dyn.
18446
e3d8f584
RS
184472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18448
18449 * elf/elf.h (R_ARM_IRELATIVE): Define.
18450
af190f45
UD
184512011-04-19 Ulrich Drepper <drepper@gmail.com>
18452
18453 * po/ru.po: Update from translation team.
18454
53cf59ef
UD
184552011-04-17 Ulrich Drepper <drepper@gmail.com>
18456
18457 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18458 dependencies.
18459
4c559bcd
MF
184602011-02-06 Mike Frysinger <vapier@gentoo.org>
18461
18462 [BZ #12653]
18463 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18464 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18465 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18466 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18467 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18468
4420675c
AS
184692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18470
18471 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18472 differing bytes.
18473 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18474 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18475 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18476
75ea32ab
UD
184772011-04-17 Ulrich Drepper <drepper@gmail.com>
18478
18479 [BZ #12420]
18480 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18481 storing it.
18482 * stdlib/bug-getcontext.c: New file.
18483 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18484
27390476
AK
184852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18486
18487 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18488 instructions into .machine "z9-109".
18489 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18490 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18491
10442705
AK
184922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18493
18494 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18495 between environment variables and auxiliary vector.
18496
7b57bfe5
UD
184972011-04-16 Ulrich Drepper <drepper@gmail.com>
18498
18499 * Makefile: Add rules to build linkobj/libc.so.
18500 * include/libc-symbols.h: Define libc_hidden_nolink.
18501 * include/rpc/auth.h: Mark functions which are to be hidden.
18502 * include/rpc/auth_des.h: Likewise.
18503 * include/rpc/auth_unix.h: Likewise.
18504 * include/rpc/clnt.h: Likewise.
18505 * include/rpc/des_crypt.h: Likewise.
18506 * include/rpc/key_prot.h: Likewise.
18507 * include/rpc/pmap_clnt.h: Likewise.
18508 * include/rpc/pmap_prot.h: Likewise.
18509 * include/rpc/pmap_rmt.h: Likewise.
18510 * include/rpc/rpc_msg.h: Likewise.
18511 * include/rpc/svc.h: Likewise.
18512 * include/rpc/svc_auth.h: Likewise.
18513 * include/rpc/xdr.h: Likewise.
18514 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18515 * nss/Makefile: Likewise.
18516 * sunrpc/Makefile: Don't install headers. Build library with normal
18517 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18518 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18519 for the compat linking library. Remove use of INTDEF/INTUSE.
18520 * sunrpc/auth_none.c: Likewise.
18521 * sunrpc/auth_unix.c: Likewise.
18522 * sunrpc/authdes_prot.c: Likewise.
18523 * sunrpc/authuxprot.c: Likewise.
18524 * sunrpc/clnt_gen.c: Likewise.
18525 * sunrpc/clnt_perr.c: Likewise.
18526 * sunrpc/clnt_raw.c: Likewise.
18527 * sunrpc/clnt_simp.c: Likewise.
18528 * sunrpc/clnt_tcp.c: Likewise.
18529 * sunrpc/clnt_udp.c: Likewise.
18530 * sunrpc/clnt_unix.c: Likewise.
18531 * sunrpc/des_crypt.c: Likewise.
18532 * sunrpc/des_soft.c: Likewise.
18533 * sunrpc/get_myaddr.c: Likewise.
18534 * sunrpc/key_call.c: Likewise.
18535 * sunrpc/key_prot.c: Likewise.
18536 * sunrpc/netname.c: Likewise.
18537 * sunrpc/pm_getmaps.c: Likewise.
18538 * sunrpc/pm_getport.c: Likewise.
18539 * sunrpc/pmap_clnt.c: Likewise.
18540 * sunrpc/pmap_prot.c: Likewise.
18541 * sunrpc/pmap_prot2.c: Likewise.
18542 * sunrpc/pmap_rmt.c: Likewise.
18543 * sunrpc/publickey.c: Likewise.
18544 * sunrpc/rpc_cmsg.c: Likewise.
18545 * sunrpc/rpc_common.c: Likewise.
18546 * sunrpc/rpc_dtable.c: Likewise.
18547 * sunrpc/rpc_prot.c: Likewise.
18548 * sunrpc/rpc_thread.c: Likewise.
18549 * sunrpc/rtime.c: Likewise.
18550 * sunrpc/svc.c: Likewise.
18551 * sunrpc/svc_auth.c: Likewise.
18552 * sunrpc/svc_authux.c: Likewise.
18553 * sunrpc/svc_raw.c: Likewise.
18554 * sunrpc/svc_run.c: Likewise.
18555 * sunrpc/svc_simple.c: Likewise.
18556 * sunrpc/svc_tcp.c: Likewise.
18557 * sunrpc/svc_udp.c: Likewise.
18558 * sunrpc/svc_unix.c: Likewise.
18559 * sunrpc/svcauth_des.c: Likewise.
18560 * sunrpc/xcrypt.c: Likewise.
18561 * sunrpc/xdr.c: Likewise.
18562 * sunrpc/xdr_array.c: Likewise.
18563 * sunrpc/xdr_float.c: Likewise.
18564 * sunrpc/xdr_intXX_t.c: Likewise.
18565 * sunrpc/xdr_mem.c: Likewise.
18566 * sunrpc/xdr_rec.c: Likewise.
18567 * sunrpc/xdr_ref.c: Likewise.
18568 * sunrpc/xdr_sizeof.c: Likewise.
18569 * sunrpc/xdr_stdio.c: Likewise.
18570
e6c61494
UD
185712011-04-10 Ulrich Drepper <drepper@gmail.com>
18572
18573 [BZ #12650]
18574 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18575 * sysdeps/ia64/dl-tls.h: Likewise.
18576 * sysdeps/powerpc/dl-tls.h: Likewise.
18577 * sysdeps/s390/dl-tls.h: Likewise.
18578 * sysdeps/sh/dl-tls.h: Likewise.
18579 * sysdeps/sparc/dl-tls.h: Likewise.
18580 * sysdeps/x86_64/dl-tls.h: Likewise.
18581 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18582
34fe483e
AS
185832011-03-14 Andreas Schwab <schwab@redhat.com>
18584
18585 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18586 rpath element also skip the following colon.
18587 (expand_dynamic_string_token): Add is_path parameter and pass
18588 down to DL_DST_REQUIRED and _dl_dst_substitute.
18589 (decompose_rpath): Call expand_dynamic_string_token with
18590 non-zero is_path. Ignore empty rpaths.
18591 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18592 with zero is_path.
18593
f12a32e6
AS
185942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18595
18596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18597 Make cancelable.
18598
38a7d692
UD
185992011-04-09 Ulrich Drepper <drepper@gmail.com>
18600
18601 [BZ #12655]
18602 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18603 Patch by Filipe David Manana <fdmanana@apache.org>.
18604
e451d22b
AS
186052011-04-07 Andreas Schwab <schwab@redhat.com>
18606
18607 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18608 Maintain aligned stack.
18609 (CHECK_RSP): Remove unused macro.
18610
dedc7c7b
UD
186112011-04-03 Ulrich Drepper <drepper@gmail.com>
18612
18613 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18614 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18615
94521213
UD
186162011-04-02 Ulrich Drepper <drepper@gmail.com>
18617
18618 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18619
8cb700c0 18620 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18621
0354e355
L
186222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18623
18624 [BZ #12518]
18625 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18626 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18627 * sysdeps/x86_64/memmove.c: New file.
18628 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18629 (memcpy): Renamed to ...
18630 (__new_memcpy): This.
18631 (memcpy): Provide GLIBC_2_14 memcpy.
18632 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18633 (memcpy): Provide GLIBC_2_2_5 memcpy.
18634
8593482f
UD
186352011-04-01 Ulrich Drepper <drepper@gmail.com>
18636
18637 [BZ #12631]
18638 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18639
81a5726b
AS
186402011-03-30 Andreas Schwab <schwab@redhat.com>
18641
18642 * misc/syncfs.c: New file.
18643 * misc/Makefile (routines): Add syncfs.
18644 * posix/unistd.h: Declare syncfs.
18645 * sysdeps/unix/syscalls.list: Add syncfs.
18646
00e5419f
AS
186472011-04-01 Andreas Schwab <schwab@redhat.com>
18648
18649 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18650 open_by_handle_at.
18651 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18652 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18654 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18656 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18657 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18658
748876bf
UD
186592011-04-01 Ulrich Drepper <drepper@gmail.com>
18660
658e451d
UD
18661 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18662 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18663 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18665 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18667 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18668
748876bf
UD
18669 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18670 sync_file_range.c with -fexceptions.
18671 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18672 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18673 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18674 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18675 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18676 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18677 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18678 sync_file_range as cancellation point
18679 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18680 now a wrapper around __call_sync_file_range with cancellation handling.
18681 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18682 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18683 function name to __call_sync_file_range.
18684 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18685 Add call_sync_file_range.
748876bf 18686
6e63d5e1
AS
186872011-04-01 Andreas Schwab <schwab@redhat.com>
18688
18689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18690 bits/timex.h.
6e63d5e1 18691
46998f74
UD
186922011-04-01 Ulrich Drepper <drepper@gmail.com>
18693
4c1423ed
UD
18694 * iconv/iconv.h: Fix typo in comment.
18695 * io/fcntl.h: Likewise.
18696 * libio/stdio.h: Likewise.
18697 * posix/spawn.h: Likewise.
18698 * posix/unistd.h: Likewise.
18699 * stdlib/stdlib.h: Likewise.
18700 * time/time.h: Likewise.
18701 * wcsmbs/wchar.h: Likewise.
18702
158648c0
UD
18703 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18704 open_by_handle): Add.
18705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18706 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18707 Augment a few comments.
18708 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18710 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18712 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18713 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18714 open_by_handle.
18715
46998f74
UD
18716 * io/fcntl.h (AT_EMPTY_PATH): Define.
18717
83fe108b
UD
187182011-03-30 Ulrich Drepper <drepper@gmail.com>
18719
18720 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18721 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18722 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18723 to...
18724 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18725 * Versions.def: Add GLIBC_2.14.
18726 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18727 Export.
83fe108b 18728
bb242059
UD
187292011-03-22 Ulrich Drepper <drepper@gmail.com>
18730
18731 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18732 round counter.
18733 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18734
c97a1282
L
187352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18736
18737 [BZ #12597]
18738 * string/test-strncmp.c (do_page_test): New function.
18739 (check2): Likewise.
18740 (test_main): Call check2.
18741 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18742
2a115601
UD
187432011-03-20 Ulrich Drepper <drepper@gmail.com>
18744
18745 [BZ #12587]
18746 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18747 Handle cache information in CPU leaf 4.
18748 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18749
8126d904
UD
187502011-03-18 Ulrich Drepper <drepper@gmail.com>
18751
042c49c6 18752 [BZ #12583]
8126d904
UD
18753 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18754 character representation.
18755 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18756
ccfe366e
RA
187572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18758
18759 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18760 END(__isnan) to END(__isnanf) to match function entry point/label
18761 EALIGN(__isnanf,...).
18762
c6e13027
JJ
187632011-03-10 Jakub Jelinek <jakub@redhat.com>
18764
18765 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18766
33f85a3f
UD
187672011-03-10 Ulrich Drepper <drepper@gmail.com>
18768
028478fa
UD
18769 [BZ #12510]
18770 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18771 copy from the symbol referenced in the relocation to initialize the
18772 used variable.
18773 Patch by Piotr Bury <pbury@goahead.com>.
18774 * elf/Makefile: Add rules to build and tst-unique3.
18775 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18776 * elf/tst-unique3.cc: New file.
18777 * elf/tst-unique3.h: New file.
18778 * elf/tst-unique3lib.cc: New file.
18779 * elf/tst-unique3lib2.cc: New file.
18780
33f85a3f
UD
18781 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18782
03592fc7
MF
187832011-03-10 Mike Frysinger <vapier@gentoo.org>
18784
18785 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18786 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18787 to _start.
03592fc7 18788
6a5ee102
UD
187892011-03-06 Ulrich Drepper <drepper@gmail.com>
18790
18791 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18792 to-be-loaded object along a path to loader is ld.so.
18793
7e4ba49c
HJ
187942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18795 Ulrich Drepper <drepper@gmail.com>
18796
18797 * sysdeps/x86_64/memset.S: After aligning destination, code
18798 branches to different locations depending on the value of
18799 misalignment, when multiarch is enabled. Fix this.
18800
188012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18802
18803 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18804 Set _x86_64_preferred_memory_instruction for AMD processsors.
18805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18806 Set bit_Prefer_SSE_for_memop for AMD processors.
18807
13a804de
UD
188082011-03-04 Ulrich Drepper <drepper@gmail.com>
18809
18810 * libio/fmemopen.c (fmemopen): Optimize a bit.
18811
9d25c392
AS
188122011-03-03 Andreas Schwab <schwab@redhat.com>
18813
18814 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18815
a5543c6a
RM
188162011-03-03 Roland McGrath <roland@redhat.com>
18817
18818 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18819
012d35f7
DM
188202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18821
7e4ba49c 18822 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18823 __bzero_ultra1 instead of __memset_ultra1.
18824
4bff6e01
AS
188252011-02-23 Andreas Schwab <schwab@redhat.com>
18826 Ulrich Drepper <drepper@gmail.com>
18827
18828 [BZ #12509]
18829 * include/link.h (struct link_map): Add l_orig_initfini.
18830 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18831 returning unsuccessfully.
18832 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18833 close of a file loaded at startup, restore the original l_initfini
18834 list.
18835 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18836 list, store the pointer.
18837 * elf/Makefile ($(objpfx)noload-mem): New rule.
18838 (noload-ENV): Define.
18839 (tests): Add $(objpfx)noload-mem.
18840 * elf/noload.c: Include <memcheck.h>.
18841 (main): Call mtrace. Close all opened handles.
18842
f2092faf
AS
188432011-02-17 Andreas Schwab <schwab@redhat.com>
18844
18845 [BZ #12454]
18846 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18847 dependencies are missing.
18848
6c8a2e88
ST
188492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18850
f2092faf 18851 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18852 Hurd needs munmap.
18853 * sysdeps/mach/hurd/ifreq.h: New file.
18854
84a42118
PB
188552011-01-27 Petr Baudis <pasky@suse.cz>
18856 Ulrich Drepper <drepper@gmail.com>
18857
071f805e 18858 [BZ 12445]#
84a42118
PB
18859 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18860 to extend_alloca().
18861 * stdio-common/bug23.c: New file.
18862 * stdio-common/Makefile (tests): Add bug23.
18863
e23fe25b
AS
188642010-09-28 Andreas Schwab <schwab@redhat.com>
18865 Ulrich Drepper <drepper@gmail.com>
18866
18867 [BZ #12489]
18868 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18869 before performing relro protection. At old place add assertion
18870 to make sure nothing changed.
18871
d3f02e10
NS
188722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18873 Glauber de Oliveira Costa <glommer@gmail.com>
18874
18875 * elf/elf.h: Add new ARM TLS relocs.
18876
d55fd7a5
RA
188772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18878
18879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18880 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18881 cast from r3.
18882 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18883 'tests' variable.
18884 * sysdeps/wordsize-64/tst-writev.c: New file.
18885
2206397e
RA
188862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18887
18888 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18889 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18890 insns in _dl_start to prevent a TOC reference before relocs are
18891 resolved.
18892
e9433893
UD
188932011-02-15 Ulrich Drepper <drepper@gmail.com>
18894
18895 [BZ #12469]
18896 * Makeconfig: Remove RANLIB definition.
18897 * Makerules: Don't use RANLIB.
18898 * aclocal.m4: Remove ranlib test.
18899 * configure.in: No need to check for ranlib.
18900 * elf/rtld-Rules: Don't use RANLIB.
18901
f75286c6
ST
189022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18903
8e31c82d
ST
18904 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18905 protection macro.
18906 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18907 inclusion protection macro.
18908
f75286c6
ST
18909 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18910 SIGRTMIN and SIGRTMAX and print information in that case only when
18911 SIGRTMIN is defined.
18912
c1d0e639
JJ
189132011-02-11 Jakub Jelinek <jakub@redhat.com>
18914
18915 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18916 arginfo fn returning -1.
18917
18918 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18919 and thousands string is zero terminated.
18920
edf9294e
AS
189212011-02-03 Andreas Schwab <schwab@redhat.com>
18922
18923 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18924 sysdeps/unix/sysv/linux/bits/socket.h.
18925
2b7e92df
ST
189262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18927
edf9294e
AS
18928 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18929 (__CPU_COUNT): Remove old macros.
18930 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18931 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18932 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18933 (__sched_cpualloc, __sched_cpufree): Add declarations.
18934
a4c7ea7b
UD
189352011-02-05 Ulrich Drepper <drepper@gmail.com>
18936
18937 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18938 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18939 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18940 (readdhstai): Return value of addhstaiX call.
18941 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18942 (addgrbyX): Return value returned by cache_addgr.
18943 (readdgrbyname): Return value returned by addgrbyX.
18944 (readdgrbygid): Likewise.
18945 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18946 (addpwbyX): Return value returned by cache_addpw.
18947 (readdpwbyname): Return value returned by addhstbyX.
18948 (readdpwbyuid): Likewise.
18949 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18950 (addservbyX): Return value returned by cache_addserv.
18951 (readdservbyname): Return value returned by addservbyX:
18952 (readdservbyport): Likewise.
18953 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18954 (addhstbyX): Return value returned by cache_addhst.
18955 (readdhstbyname): Return value returned by addhstbyX.
18956 (readdhstbyaddr): Likewise.
18957 (readdhstbynamev6): Likewise.
18958 (readdhstbyaddrv6): Likewise.
18959 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18960 (readdinitgroups): Return value returned by addinitgroupsX.
18961 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18962 (prune_cache): Keep track of timeout value of re-added entries.
18963 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18964 * nscd/nscd.h: Adjust prototypes of readd* functions.
18965
a0bf67cc
RM
189662011-02-04 Roland McGrath <roland@redhat.com>
18967
18968 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18969 (nis_stats): Likewise.
18970 * nis/nis_modify.c (nis_modify): Likewise.
18971 * nis/nis_remove.c (nis_remove): Likewise.
18972 * nis/nis_add.c (nis_add): Likewise.
18973
18974 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18975
18976 * posix/fnmatch_loop.c: Add some consts.
18977
18978 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18979
435b95eb
L
189802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18981
18982 [BZ #12460]
18983 * config.make.in (config-cflags-novzeroupper): Define.
18984 * configure.in: Substitute libc_cv_cc_novzeroupper.
18985 * elf/Makefile (AVX-CFLAGS): Define.
18986 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18987 (CFLAGS-tst-auditmod4a.c): Likewise.
18988 (CFLAGS-tst-auditmod4b.c): Likewise.
18989 (CFLAGS-tst-auditmod6b.c): Likewise.
18990 (CFLAGS-tst-auditmod6c.c): Likewise.
18991 (CFLAGS-tst-auditmod7b.c): Likewise.
18992 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18993
8517b15e
UD
189942011-02-02 Ulrich Drepper <drepper@gmail.com>
18995
18996 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18997 function to the callback.
18998 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18999
10a656fe
AS
190002011-02-02 Andreas Schwab <schwab@redhat.com>
19001
19002 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19003 of errno.
19004
968dad0a
UD
190052011-01-19 Ulrich Drepper <drepper@gmail.com>
19006
9f94d2ea 19007 [BZ #11724]
968dad0a
UD
19008 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19009 of constructors.
19010 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19011 of destructors.
19012 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19013
19014 [BZ #11724]
19015 * elf/Makefile: Add rules to build and run new test.
19016 * elf/tst-initorder.c: New file.
19017 * elf/tst-initorder.exp: New file.
19018 * elf/tst-initordera1.c: New file.
19019 * elf/tst-initordera2.c: New file.
19020 * elf/tst-initordera3.c: New file.
19021 * elf/tst-initordera4.c: New file.
19022 * elf/tst-initorderb1.c: New file.
19023 * elf/tst-initorderb2.c: New file.
19024 * elf/tst-order-a1.c: New file.
19025 * elf/tst-order-a2.c: New file.
19026 * elf/tst-order-a3.c: New file.
19027 * elf/tst-order-a4.c: New file.
19028 * elf/tst-order-b1.c: New file.
19029 * elf/tst-order-b2.c: New file.
19030 * elf/tst-order-main.c: New file.
19031 New test case by George Gensure <werkt0@gmail.com>.
19032
86e92359
UD
190332010-10-01 Andreas Schwab <schwab@redhat.com>
19034
19035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19036 decoding ACE if AI_CANONIDN.
19037
5d5732b0
UD
190382011-01-18 Ulrich Drepper <drepper@gmail.com>
19039
19040 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19041
a77e8cbc
UD
190422011-01-17 Ulrich Drepper <drepper@gmail.com>
19043
6392473f
UD
19044 * version.h (RELEASE): Bump for 2.13 release.
19045 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19046
620a0529
UD
19047 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19048
18ba70a5
UD
19049 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19050 MADV_NOHUGEPAGE.
32465c3e
UD
19051 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19052 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19053 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19054 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19055 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19056 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19057
c0dafcf1
UD
19058 * posix/getconf.c: Update copyright year.
19059 * catgets/gencat.c: Likewise.
19060 * csu/version.c: Likewise.
19061 * debug/catchsegv.sh: Likewise.
19062 * debug/xtrace.sh: Likewise.
19063 * elf/ldconfig.c: Likewise.
19064 * elf/ldd.bash.in: Likewise.
19065 * elf/sprof.c (print_version): Likewise.
19066 * iconv/iconv_prog.c: Likewise.
19067 * iconv/iconvconfig.c: Likewise.
19068 * locale/programs/locale.c: Likewise.
19069 * locale/programs/localedef.c: Likewise.
19070 * malloc/memusage.sh: Likewise.
19071 * malloc/mtrace.pl: Likewise.
19072 * nscd/nscd.c (print_version): Likewise.
19073 * nss/getent.c: Likewise.
19074
a77e8cbc
UD
19075 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19076 PF_CAIF, and PF_ALG.
19077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19078
77e8bddf
AS
190792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19080
1f20b93a
AS
19081 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19082 (modules-names): Use them.
19083 (ifunc-test-modules, ifunc-pie-tests): Define.
19084 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19085 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19086 (test-extras): Likewise.
19087 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19088 $(compile-command.c).
19089 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19090 (all-built-dso): Define.
19091 (check-textrel.out, check-execstack.out): Depend on it.
19092
77e8bddf
AS
19093 * configure.in: Don't override --enable-multi-arch.
19094
bc425b33
UD
190952011-01-15 Ulrich Drepper <drepper@gmail.com>
19096
19097 [BZ #6812]
19098 * nscd/hstcache.c (tryagain): Define.
19099 (cache_addhst): Return tryagain not notfound for temporary errors.
19100 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19101 failed.
19102
794c3ad3
UD
191032011-01-14 Ulrich Drepper <drepper@gmail.com>
19104
70181fdd
UD
19105 [BZ #10563]
19106 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19107 to make the syscall.
19108 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19109
794c3ad3
UD
19110 [BZ #12378]
19111 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19112 and fall back to matching as normal character if the string ends before
19113 the matching ']' is found. This is what POSIX requires.
19114 * posix/testfnm.c: Adjust test result.
19115 * posix/globtest.sh: Adjust test result. Add new test.
19116 * posix/tst-fnmatch.input: Likewise.
19117 * posix/tst-fnmatch2.c: Add new test.
19118
68dc9497
AS
191192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19120
19121 * elf/Makefile (check-execstack): Revert last change. Depend on
19122 check-execstack.h.
19123 (check-execstack.h): New target.
19124 (generated): Add check-execstack.h.
19125 * elf/check-execstack.c: Include "check-execstack.h".
19126 (main): Revert last change.
19127 (handle_file): Return zero if GNU_STACK is absent and
19128 DEFAULT_STACK_PERMS doesn't include PF_X.
19129
451f001b
UD
191302011-01-13 Ulrich Drepper <drepper@gmail.com>
19131
cfa28e56
UD
19132 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19133 in child fails because the descriptor is already closed.
8cf8ce17
UD
19134 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19135 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19136 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19137
1086d70d
UD
19138 [BZ #12397]
19139 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19140 syscall.
19141
451f001b
UD
19142 [BZ #10484]
19143 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19144 temporary buffer used to handle multi lookups locally.
a85b5cb4 19145 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19146
08769175
UD
191472011-01-12 Ulrich Drepper <drepper@gmail.com>
19148
19149 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19150 loader is ld.so.
19151
5e49c52e
UD
191522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19153
19154 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19155 alignment for SSE2.
19156
60522a5f
UD
191572011-01-12 Ulrich Drepper <drepper@gmail.com>
19158
19159 [BZ #12394]
19160 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19161 characters. When rounding increased number of integer digits recompute
19162 number of groups.
19163 * stdio-common/tst-grouping.c: New file.
19164 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19165
f257bbd7
UD
191662011-01-09 Ulrich Drepper <drepper@gmail.com>
19167
19168 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19169 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19170
19171 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19172 void.
19173 * bits/select.h: Likewise.
19174
fa9c15cb
UD
191752011-01-08 Ulrich Drepper <drepper@gmail.com>
19176
19177 * po/ja.po: Update from translation team.
19178
16c2895f
DM
191792011-01-04 David S. Miller <davem@sunset.davemloft.net>
19180
19181 [BZ #11155]
19182 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19183 implementation just like for lxstat, fxstatat, et al.
19184
2543fef2
JM
191852010-12-27 Jim Meyering <meyering@redhat.com>
19186
19187 [BZ #12348]
19188 * posix/regexec.c (build_trtable): Return failure indication upon
19189 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19190
98727dbe
UD
191912010-12-25 Ulrich Drepper <drepper@gmail.com>
19192
5bd6dc5c
UD
19193 [BZ #12201]
19194 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19195 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19196 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19197 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19198
97983464
UD
19199 [BZ #12207]
19200 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19201
98727dbe
UD
19202 [BZ #12204]
19203 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19204 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19205
4a531bb0
L
192062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19207
19208 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19209 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19210 script has SORT_BY_INIT_PRIORITY.
19211 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19212 NO_CTORS_DTORS_SECTIONS is defined.
19213 * elf/soinit.c: Likewise.
19214 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19215 NO_CTORS_DTORS_SECTIONS is defined.
19216 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19217 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19218 * sysdeps/sh/init-first.c: Likewise.
19219 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19220
07eb4b71
UD
192212010-12-24 Ulrich Drepper <drepper@gmail.com>
19222
19223 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19224 always use the slow path.
19225
30950a5f
RA
192262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19227
19228 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19229 similar rule which adds the sysdep directories to the header search in
19230 order to pick up the correct platform stackinfo.h.
19231 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19232 perform test if it is, otherwise return successfully without testing.
19233 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19234 DEFAULT_STACK_PERMS define in stackinfo.h.
19235 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19236 defined in stackinfo.h.
19237 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19238 DEFAULT_STACK_PERMS defined in stackinfo.h.
19239 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19240 * sysdeps/ia64/stackinfo.h: Likewise.
19241 * sysdeps/s390/stackinfo.h: Likewise.
19242 * sysdeps/sh/stackinfo.h: Likewise.
19243 * sysdeps/sparc/stackinfo.h: Likewise.
19244 * sysdeps/x86_64/stackinfo.h: Likewise.
19245 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19246 PF_X for powerpc64. Retain PF_X for powerpc32.
19247
db753e2c
UD
192482010-12-19 Ulrich Drepper <drepper@gmail.com>
19249
14b697f7
UD
19250 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19251 accurately.
db753e2c
UD
19252 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19253 GETDENTS_64BIT_ALIGNED.
19254
28300719
UD
192552010-12-14 Ulrich Drepper <dreper@gmail.com>
19256
14b697f7 19257 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19258
4f197237
AS
192592010-12-10 Andreas Schwab <schwab@redhat.com>
19260
dbb0472f
AS
19261 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19262 _GNU_SOURCE.
19263
4f197237
AS
19264 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19265 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19266 Remove __restrict.
19267 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19268 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19269
fb88ac72
UD
192702010-12-09 Ulrich Drepper <drepper@gmail.com>
19271
19272 [BZ #11655]
19273 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19274 are initialized.
19275
42acbb92
JJ
192762010-12-09 Jakub Jelinek <jakub@redhat.com>
19277
19278 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19279
c038d98d
UD
192802010-12-03 Ulrich Drepper <drepper@gmail.com>
19281
19282 * po/it.po: Update from translation team.
19283
3a4a2499
L
192842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19285
19286 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19287 unused codes.
19288
1e24cf6e
UD
192892010-11-30 Ulrich Drepper <drepper@gmail.com>
19290
19291 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19292
a7690819
AS
192932010-11-24 Andreas Schwab <schwab@redhat.com>
19294
19295 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19296 specially.
19297 (gaih_getanswer_slice): Likewise.
19298
3bf8d1b1
JJ
192992010-10-20 Jakub Jelinek <jakub@redhat.com>
19300
19301 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19302
6db52fbb
PB
193032010-05-31 Petr Baudis <pasky@suse.cz>
19304
19305 [BZ #11149]
19306 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19307 silently even in the chroot mode.
19308
eaca7569
UD
193092010-11-22 Ulrich Drepper <drepper@gmail.com>
19310
19311 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19312 last patch a bit. Pretty printing
19313
3056dcdb
UD
193142010-05-31 Petr Baudis <pasky@suse.cz>
19315
19316 [BZ #10085]
19317 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19318 initialization of skip_initgroups_dyn.
19319
cf7c9078
UD
193202010-11-19 Ulrich Drepper <drepper@gmail.com>
19321
19322 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19323 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19324
a1fb5e3e
UD
193252010-11-16 Ulrich Drepper <drepper@gmail.com>
19326
19327 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19328
3540d66b
AS
193292010-11-11 Andreas Schwab <schwab@redhat.com>
19330
19331 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19332 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19333 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19334 ($(objpfx)tst-fnmatch-mem): New rule.
19335 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19336 * posix/tst-fnmatch.c (main): Call mtrace.
19337
13b69574
L
193382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19339
19340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19341 Support Intel processor model 6 and model 0x2c.
19342
da93d214
LM
193432010-11-10 Luis Machado <luisgpm@br.ibm.com>
19344
19345 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19346 signed comparison.
19347
8ca52c6e
L
193482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19349
19350 [BZ #12205]
19351 * string/test-strncasecmp.c (check_result): New function.
19352 (do_one_test): Use it.
19353 (check1): New function.
19354 (test_main): Use it.
19355 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19356 Support strcasecmp and strncasecmp.
19357
69da074d
UD
193582010-11-08 Ulrich Drepper <drepper@gmail.com>
19359
19360 [BZ #12194]
19361 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19362 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19363
ff02d528
L
193642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19365
19366 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19367 IFUNC support.
19368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19369 memset-x86-64.
19370 * sysdeps/x86_64/multiarch/bzero.S: New file.
19371 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19372 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19373 * sysdeps/x86_64/multiarch/memset.S: New file.
19374 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19376 Set bit_Prefer_SSE_for_memop for Intel processors.
19377 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19378 Define.
19379 (index_Prefer_SSE_for_memop): Define.
19380 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19381
344d0b54
LM
193822010-11-04 Luis Machado <luisgpm@br.ibm.com>
19383
19384 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19385 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19386
c0dde15b
UD
193872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19388
19389 [BZ #12191]
19390 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19391 (__x86_64_raw_data_cache_size_half): Likewise.
19392 (__x86_64_raw_shared_cache_size): Likewise.
19393 (__x86_64_raw_shared_cache_size_half): Likewise.
19394
19395 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19396 (__x86_64_raw_data_cache_size_half): Likewise.
19397 (__x86_64_raw_shared_cache_size): Likewise.
19398 (__x86_64_raw_shared_cache_size_half): Likewise.
19399 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19400 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19401 and __x86_64_raw_shared_cache_size_half. Round
19402 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19403 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19404 to multiple of 256 bytes.
19405
0e516e0e
MS
194062010-11-03 Ulrich Drepper <drepper@gmail.com>
19407
19408 [BZ #12167]
19409 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19410 of inacessible symlinks. Verify result of symlink before returning it.
19411 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19412 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19413
0e012e87
ER
194142010-10-28 Erich Ritz <erichritz@gmail.com>
19415
19416 * math/math.h (isinf): Fix typo in comment.
19417
de0ff7bc
UD
194182010-11-01 Ulrich Drepper <drepper@gmail.com>
19419
19420 * po/da.po: Update from translation team.
19421
fa41c84d
UD
194222010-10-26 Ulrich Drepper <drepper@gmail.com>
19423
19424 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19425 is added to the list.
19426
f0967738
AK
194272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19428 Ulrich Drepper <drepper@gmail.com>
19429
19430 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19431 the global list here. Move code to...
19432 (_dl_add_to_namespace_list): ...here. New function.
19433 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19434 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19435 * elf/dl-load.c (lose): Don't remove the element from the list.
19436 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19437 (_dl_map_object): Likewise.
19438
194392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19440
19441 [BZ #12159]
19442 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19443 into all bytes of SSE register.
19444 Patch by Richard Li <richardpku@gmail.com>.
19445
f0967738 194462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19447
19448 [BZ #12140]
19449 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19450 perturbing.
19451
d0b9e94f
MB
194522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19453
19454 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19455 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19456 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19457 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19459 submachine.
19460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19461
8e9f92e9
AS
194622010-10-22 Andreas Schwab <schwab@redhat.com>
19463
19464 * include/dlfcn.h (__RTLD_SECURE): Define.
19465 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19466 mode & __RTLD_SECURE instead.
19467 (open_path): Rename preloaded parameter to secure.
19468 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19469 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19470 * elf/dl-deps.c (openaux): Likewise.
19471 * elf/rtld.c (struct map_args): Remove is_preloaded.
19472 (map_doit): Don't use it.
19473 (dl_main): Likewise.
19474 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19475 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19476
bc96fbda
AS
194772010-09-09 Andreas Schwab <schwab@redhat.com>
19478
19479 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19480 (sysd-rules-targets): Remove duplicates.
19481 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19482 rtld-%.$o dependency.
19483
22cd1c9b
AS
194842010-10-18 Andreas Schwab <schwab@redhat.com>
19485
19486 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19487 _dl_map_object do it.
19488
18edac48
UD
194892010-10-19 Ulrich Drepper <drepper@gmail.com>
19490
19491 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19492 fast fma builtins, define the macros in the C99 standard.
19493 (FP_FAST_FMAF): Likewise.
19494 (FP_FAST_FMAL): Likewise.
19495 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19496
19497 * bits/mathdef.h: Update copyright year.
19498 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19499
d2050124
MM
195002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19501
19502 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19503 builtins, define the macros in the C99 standard.
19504 (FP_FAST_FMAF): Likewise.
19505 (FP_FAST_FMAL): Likewise.
19506 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19507 multiply/add.
19508 (FP_FAST_FMAF): Likewise.
19509
475facd1
JJ
195102010-10-15 Jakub Jelinek <jakub@redhat.com>
19511
19512 [BZ #3268]
19513 * math/libm-test.inc (fma_test): Some new testcases.
19514 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19515 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19516 y and infinite z. Do multiplication by C already in long double.
19517 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19519 y and infinite z. Do bitwise or of inexact bit into u.d.
19520 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19521 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19522 * sysdeps/i386/fpu/s_fma.S: Removed.
19523 * sysdeps/i386/fpu/s_fmal.S: Removed.
19524
7c08a05c
JJ
195252010-10-16 Jakub Jelinek <jakub@redhat.com>
19526
19527 [BZ #3268]
19528 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19530 computation is not scheduled after fetestexcept. Fix value
19531 of minimum denormal long double.
19532
f3f7372d
JJ
195332010-10-14 Jakub Jelinek <jakub@redhat.com>
19534
19535 [BZ #3268]
19536 * math/libm-test.inc (fma_test): Add some more tests.
19537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19538 correctly.
19539
14d43591
AS
195402010-10-15 Andreas Schwab <schwab@redhat.com>
19541
19542 * scripts/data/localplt-s390-linux-gnu.data: New file.
19543 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19544
5e908464
JJ
195452010-10-13 Jakub Jelinek <jakub@redhat.com>
19546
19547 [BZ #3268]
19548 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19549 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19550 instead of dbl-64.
19551 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19552 inlines.
19553 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19555 if one of x and y is very large and the other is subnormal.
19556 * sysdeps/s390/fpu/s_fmaf.c: New file.
19557 * sysdeps/s390/fpu/s_fma.c: New file.
19558 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19559 * sysdeps/powerpc/fpu/s_fma.S: New file.
19560 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19561 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19562 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19563
195642010-10-12 Jakub Jelinek <jakub@redhat.com>
19565
19566 [BZ #3268]
19567 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19568 fma tests.
19569 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19570 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19571 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19572 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19573 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19574 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19576
b833d51f
UD
195772010-10-12 Ulrich Drepper <drepper@redhat.com>
19578
19579 [BZ #12078]
19580 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19581 * posix/bug-regex31.input: Add test case.
19582
1751705d
UD
195832010-10-11 Ulrich Drepper <drepper@gmail.com>
19584
e9b9cbf5
UD
19585 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19586 * posix/bug-regex31.input: New file.
19587
19588 [BZ #12078]
19589 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19590 (parse_sub_exp): Fix last change, use postorder.
19591
ef06edbe
UD
19592 * posix/bug-regex31.c: New file.
19593 * posix/Makefile: Add rules to build and run bug-regex31.
19594
a129c80d
UD
19595 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19596
19597 [BZ #12078]
19598 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19599
b76b818e
UD
19600 [BZ #12108]
19601 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19602 to have entries in sys_siglist.
19603
1751705d
UD
19604 [BZ #12093]
19605 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19606 be NULL.
19607
9ff8d36f
JJ
196082010-10-07 Jakub Jelinek <jakub@redhat.com>
19609
19610 [BZ #3268]
19611 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19612 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19613 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19614 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19615 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19616 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19617 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19618 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19619 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19620 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19621 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19622 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19623 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19624 * math/ftestexcept.c (fetestexcept): Likewise.
19625 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19626 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19627 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19628 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19629 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19630 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19631 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19632
af325969
UD
196332010-10-11 Ulrich Drepper <drepper@gmail.com>
19634
c579b202 19635 [BZ #12107]
af325969
UD
19636 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19637 newline.
19638
67a67b95
UD
196392010-10-06 Ulrich Drepper <drepper@gmail.com>
19640
19641 * string/bug-strstr1.c: New file.
19642 * string/Makefile: Add rules to build and run bug-strstr1.
19643
5fb308bc
EB
196442010-10-05 Eric Blake <eblake@redhat.com>
19645
19646 [BZ #12092]
19647 * string/str-two-way.h (two_way_long_needle): Always clear memory
19648 when skipping input due to the shift table.
19649
45db99c7
UD
196502010-10-03 Ulrich Drepper <drepper@gmail.com>
19651
3b111893
UD
19652 [BZ #12005]
19653 * malloc/mcheck.c: Handle large requests.
19654
45db99c7
UD
19655 [BZ #12077]
19656 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19657 for strncmp and strncasecmp.
19658 * string/stratcliff.c: Add tests for strcmp and strncmp.
19659 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19660
cf7a1eb8
NI
196612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19662
19663 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19664 __set_fpscr.
19665
6484ba5e
AJ
196662010-09-30 Andreas Jaeger <aj@suse.de>
19667
19668 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19669 (CGROUP_SUPER_MAGIC): Define.
19670 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19671 Handle btrfs and cgroup file systems.
19672 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19673 Likewise.
19674
91c42559
LM
196752010-09-27 Luis Machado <luisgpm@br.ibm.com>
19676
19677 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19678 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19679
87a97932
AK
196802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19681
19682 [BZ #12067]
19683 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19684 trying to locate the ELF header.
19685
c21cc9bc
AS
196862010-09-27 Andreas Schwab <schwab@redhat.com>
19687
19688 [BZ #11611]
19689 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19690 Mask out sign-bit copies when constructing f_fsid.
19691
315970f6
PB
196922010-09-24 Petr Baudis <pasky@suse.cz>
19693
19694 * debug/stack_chk_fail_local.c: Add missing licence exception.
19695 * debug/warning-nop.c: Likewise.
19696
1ac7a2c7
JM
196972010-09-15 Joseph Myers <joseph@codesourcery.com>
19698
19699 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19700 implementing getdents64 using getdents syscall, set d_type if
19701 __ASSUME_GETDENTS32_D_TYPE.
19702
56801c50
AS
197032010-09-16 Andreas Schwab <schwab@redhat.com>
19704
19705 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19706 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19707
dda51327
UD
197082010-09-21 Ulrich Drepper <drepper@redhat.com>
19709
19710 [BZ #12037]
19711 * posix/unistd.h: Undo change of feature selection for ftruncate from
19712 2010-01-11.
19713
8ffcee4a
UD
197142010-09-20 Ulrich Drepper <drepper@redhat.com>
19715
a545ecd9 19716 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19717 detection.
19718
e24f0a8b
AS
197192010-09-20 Andreas Schwab <schwab@redhat.com>
19720
19721 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19722 fanotify_mark.
19723 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19724
7291c56f
AS
197252010-09-14 Andreas Schwab <schwab@redhat.com>
19726
19727 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19728 variables after CHECK_SP call.
19729 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19730
bc5fb037
AS
197312010-09-13 Andreas Schwab <schwab@redhat.com>
19732 Ulrich Drepper <drepper@redhat.com>
19733
19734 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19735 re-relocationg ld.so.
19736 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19737 _dl_init_paths call.
19738 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19739 here anymore.
19740
e66e7419
UD
197412010-09-14 Ulrich Drepper <drepper@redhat.com>
19742
19743 * resolv/res_init.c (__res_vinit): Count the default server we added.
19744
c044aa75
CLT
197452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19746 Ulrich Drepper <drepper@redhat.com>
19747
19748 [BZ #11968]
19749 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19750 (____longjmp_chk): Use %ebx for saving value across system call.
19751 Add unwind info.
19752
32cf4069
AS
197532010-09-06 Andreas Schwab <schwab@redhat.com>
19754
19755 * manual/Makefile: Don't mix pattern rules with normal rules.
19756
817328ee
AS
197572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19758
19759 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19760 operation.
19761 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19762 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19763 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19764 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19765 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19766 Likewise.
19767
29fddf61
UD
197682010-09-04 Ulrich Drepper <drepper@redhat.com>
19769
19770 [BZ #11979]
19771 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19772 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19773
0959ffc9
UD
197742010-09-02 Ulrich Drepper <drepper@redhat.com>
19775
19776 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19777 * sysdeps/x86_64/addmul_1.S: Likewise.
19778 * sysdeps/x86_64/lshift.S: Likewise.
19779 * sysdeps/x86_64/mul_1.S: Likewise.
19780 * sysdeps/x86_64/rshift.S: Likewise.
19781 * sysdeps/x86_64/sub_n.S: Likewise.
19782 * sysdeps/x86_64/submul_1.S: Likewise.
19783
ece29840
ST
197842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19785
0959ffc9
UD
19786 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19787 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19788 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19789 * bits/sched.h [__need_schedparam]
ece29840 19790 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19791 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19792 (__defined_schedparam): Define to 1.
ece29840
ST
19793 (__sched_param): New structure, identical to sched_param.
19794 (__need_schedparam): Undefine.
19795
e53a31fe
MF
197962010-08-31 Mike Frysinger <vapier@gentoo.org>
19797
fdc0c10d
MF
19798 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19799 (epoll_create1): Declare.
19800
e53a31fe
MF
19801 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19802
a726d796
AS
198032010-08-31 Andreas Schwab <schwab@redhat.com>
19804
19805 [BZ #7066]
19806 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19807 shifting retval into place.
19808
2f3e3dc7
UD
198092010-09-01 Ulrich Drepper <drepper@redhat.com>
19810
f2933da9
UD
19811 * nis/rpcsvc/nis.h: Update copyright notice.
19812 * nis/rpcsvc/nis.x: Likewise.
19813 * nis/rpcsvc/nis_callback.h: Likewise.
19814 * nis/rpcsvc/nis_callback.x: Likewise.
19815 * nis/rpcsvc/nis_object.x: Likewise.
19816 * nis/rpcsvc/nis_tags.h: Likewise.
19817 * nis/rpcsvc/yp.h: Likewise.
19818 * nis/rpcsvc/yp.x: Likewise.
19819 * nis/rpcsvc/ypupd.h: Likewise.
19820 * nis/yp_xdr.c: Likewise.
19821 * nis/ypupdate_xdr.c: Likewise.
19822
2f3e3dc7
UD
19823 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19824 mainly the body of pmap_getport. Add parameters to specify timeouts.
19825 (pmap_getport): Use __libc_rpc_getport.
19826 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19827 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19828 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19829
f3dcc2f9
AS
198302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19831
19832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19833 fanotify_mark.
19834
6d34eb5b
RM
198352010-08-27 Roland McGrath <roland@redhat.com>
19836
19837 * sysdeps/i386/i686/multiarch/Makefile
19838 (CFLAGS-varshift.c): New variable.
19839
9ea3de11
UD
198402010-08-27 Ulrich Drepper <drepper@redhat.com>
19841
c96d23fc
UD
19842 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19843 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19844
9ea3de11
UD
19845 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19846
19847 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19848
623aac7f
L
198492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19850
19851 * sysdeps/x86_64/strlen.S: Unroll the loop.
19852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19853 strlen-sse2 strlen-sse2-bsf.
19854 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19855 __strlen_no_bsf if bit_Slow_BSF is set.
19856 (__strlen_sse42): Removed.
19857 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19858 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19859
8b2b7715
RM
198602010-08-25 Roland McGrath <roland@redhat.com>
19861
19862 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19863 * sysdeps/x86_64/multiarch/varshift.c: New file.
19864 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19865 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19866 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19867 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19868
e73015f2
L
198692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19870
19871 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19872 strlen-sse2 strlen-sse2-bsf.
19873 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19874 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19875 (__strlen_sse2): Removed.
19876 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19877 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19879 bit_Slow_BSF for Atom.
19880 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19881 (index_Slow_BSF): Define.
19882 (HAS_SLOW_BSF): Define.
19883
df24a73e
UD
198842010-08-25 Ulrich Drepper <drepper@redhat.com>
19885
19886 [BZ #10851]
19887 * resolv/res_init.c (__res_vinit): When no server address at all
19888 is given default to loopback.
19889
f2ac4868
RM
198902010-08-24 Roland McGrath <roland@redhat.com>
19891
09055553
RM
19892 * configure.in: Remove config-name.h generation.
19893 * configure: Regenerated.
19894 * config-name.in: File removed.
19895 * scripts/config-uname.sh: New file.
19896 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19897 ($(objdir)config-name.h): New target.
19898
f2ac4868
RM
19899 * sunrpc/rpc_parse.h: Avoid nested comment.
19900
73f27d5e
RH
199012010-08-24 Richard Henderson <rth@redhat.com>
19902 Ulrich Drepper <drepper@redhat.com>
19903 H.J. Lu <hongjiu.lu@intel.com>
19904
19905 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19907 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19908 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19909 _mm_alignr_epi8 with _mm_loadu_si128.
19910 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19911 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19912 (__m128i_shift_right): Removed.
19913 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19914 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19915 * sysdeps/x86_64/multiarch/varshift.h: New file.
19916 * sysdeps/x86_64/multiarch/varshift.S: New file.
19917
84b9230c
MF
199182010-08-21 Mike Frysinger <vapier@gentoo.org>
19919
19920 * configure.in: Move assembler checks to before sysdep dir checking.
19921
9bbd0ddc
PB
199222010-08-20 Petr Baudis <pasky@suse.cz>
19923
19924 * LICENSES: Sync the sunrpc license.
19925
9da4bb31
UD
199262010-08-19 Ulrich Drepper <drepper@redhat.com>
19927
a7ab6ec8
UD
19928 * sunrpc/auth_des.c: Update copyright notice once again.
19929 * sunrpc/auth_none.c: Likewise.
19930 * sunrpc/auth_unix.c: Likewise.
19931 * sunrpc/authdes_prot.c: Likewise.
19932 * sunrpc/authuxprot.c: Likewise.
19933 * sunrpc/bindrsvprt.c: Likewise.
19934 * sunrpc/clnt_gen.c: Likewise.
19935 * sunrpc/clnt_perr.c: Likewise.
19936 * sunrpc/clnt_raw.c: Likewise.
19937 * sunrpc/clnt_simp.c: Likewise.
19938 * sunrpc/clnt_tcp.c: Likewise.
19939 * sunrpc/clnt_udp.c: Likewise.
19940 * sunrpc/clnt_unix.c: Likewise.
19941 * sunrpc/des_crypt.c: Likewise.
19942 * sunrpc/des_soft.c: Likewise.
19943 * sunrpc/get_myaddr.c: Likewise.
19944 * sunrpc/getrpcport.c: Likewise.
19945 * sunrpc/key_call.c: Likewise.
19946 * sunrpc/key_prot.c: Likewise.
19947 * sunrpc/openchild.c: Likewise.
19948 * sunrpc/pm_getmaps.c: Likewise.
19949 * sunrpc/pm_getport.c: Likewise.
19950 * sunrpc/pmap_clnt.c: Likewise.
19951 * sunrpc/pmap_prot.c: Likewise.
19952 * sunrpc/pmap_prot2.c: Likewise.
19953 * sunrpc/pmap_rmt.c: Likewise.
19954 * sunrpc/rpc/auth.h: Likewise.
19955 * sunrpc/rpc/auth_unix.h: Likewise.
19956 * sunrpc/rpc/clnt.h: Likewise.
19957 * sunrpc/rpc/des_crypt.h: Likewise.
19958 * sunrpc/rpc/key_prot.h: Likewise.
19959 * sunrpc/rpc/netdb.h: Likewise.
19960 * sunrpc/rpc/pmap_clnt.h: Likewise.
19961 * sunrpc/rpc/pmap_prot.h: Likewise.
19962 * sunrpc/rpc/pmap_rmt.h: Likewise.
19963 * sunrpc/rpc/rpc.h: Likewise.
19964 * sunrpc/rpc/rpc_des.h: Likewise.
19965 * sunrpc/rpc/rpc_msg.h: Likewise.
19966 * sunrpc/rpc/svc.h: Likewise.
19967 * sunrpc/rpc/svc_auth.h: Likewise.
19968 * sunrpc/rpc/types.h: Likewise.
19969 * sunrpc/rpc/xdr.h: Likewise.
19970 * sunrpc/rpc_clntout.c: Likewise.
19971 * sunrpc/rpc_cmsg.c: Likewise.
19972 * sunrpc/rpc_common.c: Likewise.
19973 * sunrpc/rpc_cout.c: Likewise.
19974 * sunrpc/rpc_dtable.c: Likewise.
19975 * sunrpc/rpc_hout.c: Likewise.
19976 * sunrpc/rpc_main.c: Likewise.
19977 * sunrpc/rpc_parse.c: Likewise.
19978 * sunrpc/rpc_parse.h: Likewise.
19979 * sunrpc/rpc_prot.c: Likewise.
19980 * sunrpc/rpc_sample.c: Likewise.
19981 * sunrpc/rpc_scan.c: Likewise.
19982 * sunrpc/rpc_scan.h: Likewise.
19983 * sunrpc/rpc_svcout.c: Likewise.
19984 * sunrpc/rpc_tblout.c: Likewise.
19985 * sunrpc/rpc_util.c: Likewise.
19986 * sunrpc/rpc_util.h: Likewise.
19987 * sunrpc/rpcinfo.c: Likewise.
19988 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19989 * sunrpc/rpcsvc/key_prot.x: Likewise.
19990 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19991 * sunrpc/rpcsvc/mount.x: Likewise.
19992 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19993 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19994 * sunrpc/rpcsvc/rex.x: Likewise.
19995 * sunrpc/rpcsvc/rstat.x: Likewise.
19996 * sunrpc/rpcsvc/rusers.x: Likewise.
19997 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19998 * sunrpc/rpcsvc/spray.x: Likewise.
19999 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20000 * sunrpc/rtime.c: Likewise.
20001 * sunrpc/svc.c: Likewise.
20002 * sunrpc/svc_auth.c: Likewise.
20003 * sunrpc/svc_authux.c: Likewise.
20004 * sunrpc/svc_raw.c: Likewise.
20005 * sunrpc/svc_run.c: Likewise.
20006 * sunrpc/svc_simple.c: Likewise.
20007 * sunrpc/svc_tcp.c: Likewise.
20008 * sunrpc/svc_udp.c: Likewise.
20009 * sunrpc/svc_unix.c: Likewise.
20010 * sunrpc/svcauth_des.c: Likewise.
20011 * sunrpc/xcrypt.c: Likewise.
20012 * sunrpc/xdr.c: Likewise.
20013 * sunrpc/xdr_array.c: Likewise.
20014 * sunrpc/xdr_float.c: Likewise.
20015 * sunrpc/xdr_mem.c: Likewise.
20016 * sunrpc/xdr_rec.c: Likewise.
20017 * sunrpc/xdr_ref.c: Likewise.
20018 * sunrpc/xdr_sizeof.c: Likewise.
20019 * sunrpc/xdr_stdio.c: Likewise.
20020
9da4bb31
UD
20021 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20022 handling.
20023
bdaa77bc
AS
200242010-08-19 Andreas Schwab <schwab@redhat.com>
20025
20026 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20027
fe2f79db
LM
200282010-08-19 Luis Machado <luisgpm@br.ibm.com>
20029
20030 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20031 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20032 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20033 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20034 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20035 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20036 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20037 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20038 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20039 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20040 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20041 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20042 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20043 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20044
b9b42ee0
AB
200452010-07-26 Anton Blanchard <anton@samba.org>
20046
20047 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20048 * malloc/arena.c (heap_trim): Likewise.
20049
1c06ba31
UD
200502010-08-16 Ulrich Drepper <drepper@redhat.com>
20051
20052 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20053 here. Not...
20054 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20055 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20056
f8392f40
L
200572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20058
20059 * sysdeps/i386/elf/Makefile: New file.
20060
3162f12e
AS
200612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20062
20063 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20064 from fanotify_init.
20065 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20066 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20067
28c90b2c
UD
200682010-08-15 Ulrich Drepper <drepper@redhat.com>
20069
20070 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20071 of strncasecmp_l.
1feccb6c 20072 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20073
ca6bb004
UD
200742010-08-14 Ulrich Drepper <drepper@redhat.com>
20075
e9f82e0d
UD
20076 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20077 strncase_l-nonascii.
20078 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20079 Add strncase_l-ssse3.
20080 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20081 * sysdeps/x86_64/strcmp.S: Likewise.
20082 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20083 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20084 * sysdeps/x86_64/strncase.S: New file.
20085 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20086 * sysdeps/x86_64/strncase_l.S: New file.
20087 * string/Makefile (strop-tests): Add strncasecmp.
20088 * string/test-strncasecmp.c: New file.
20089
20090 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20091 warning.
20092
ca6bb004
UD
20093 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20094 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20095
052fa7b3
AS
200962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20097
20098 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20099
962dba78
UD
201002010-08-12 Ulrich Drepper <drepper@redhat.com>
20101
20102 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20103 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20104 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20105
bebff237
AM
201062010-05-01 Alan Modra <amodra@gmail.com>
20107
20108 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20109 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20110 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20111 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20112 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20113 tidying. Don't tail-call __sigjmp_save for static lib.
20114 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20115 save location.
20116 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20117 (CALL_MCOUNT): Add eh info, and nop after bl.
20118 (TAIL_CALL_SYSCALL_ERROR): New macro.
20119 (PSEUDO_RET): Use it.
20120 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20121 Correct save location of integer regs and cr.
20122 (_dl_profile_resolve): Correct cr save location. Delete nops
20123 after bl when SHARED. Reduce cfi size a little by better
20124 placement of cfi directives.
20125 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20126 make a stack frame. Instead use parm save area as a temp.
20127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20128 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20130 Don't make a stack frame for parent, use parm save area.
20131 Increase child stack frame to 112 bytes. Don't save unused reg,
20132 and adjust reg usage. Set up cfi on error recovery and
20133 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20135 (__makecontext): Add dummy nop after jump to exit.
20136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20137 Use correct parm save area and cr save, reduce stack frame.
20138 Correct cfi for possible PSEUDO_RET frame setup.
20139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20140 Branch to local label emitted by PSEUDO_RET rather than
20141 __syscall_error.
20142
02637374
AS
201432010-08-12 Andreas Schwab <schwab@redhat.com>
20144
20145 [BZ #11904]
20146 * locale/programs/locale.c (print_assignment): New function.
20147 (show_locale_vars): Use it.
20148
c3e2f19b
UD
201492010-08-11 Ulrich Drepper <drepper@redhat.com>
20150
3cdaa6ad
UD
20151 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20152 field.
20153 (struct statfs64): Likewise.
20154 (_STATFS_F_FLAGS): Define.
20155 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20156 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20157 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20158 (ST_VALID): Define locally.
20159 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20160 __statvfs_getflags, use the provided value.
20161 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20162 __ASSUME_STATFS_F_FLAGS.
20163
754f7da3
UD
20164 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20165
10b3bedc
UD
20166 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20167 Add sys/fanotify.h.
20168 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20169 fanotify_mask for GLIBC_2.13.
20170 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20171 fanotify_init and fanotify_mark.
20172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20173 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20174
c08fb0d7
UD
20175 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20176 Add prlimit.
20177 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20178 prlimit64 for GLIBC_2.13.
20179 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20180 prlimit64.
20181 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20182 syscall.
20183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20184 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20185 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20186 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20187 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20188 add prlimit alias.
20189 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20190
15bac72b
UD
20191 [BZ #11903]
20192 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20193 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20194
c3e2f19b
UD
20195 * nss/Makefile: Add rules to build and run tst-nss-test1.
20196 * shlib-versions: Add entry for libnss_test1.
20197 * nss/nss_test1.c: New file.
20198 * nss/tst-nss-test1.c: New file.
20199
20200 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20201 (__nss_configure_lookup): Set appropriate entry in
20202 __nss_configure_lookup to true.
20203 * nss/nsswitch.h: Define enum with indeces of databases in
20204 databases and __nss_database_custom arrays. Declare
20205 __nss_database_custom.
20206 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20207 to avoid using nscd when custom rules are installed.
20208 * nss/getXXbyYY_r.c: Likewise.
20209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20210
20211 * nss/nss_files/files-parse.c: Whitespace fixes.
20212
f15ce4d8
UD
202132010-08-09 Ulrich Drepper <drepper@redhat.com>
20214
20215 [BZ #11883]
20216 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20217 * posix/fnmatch_loop.c: Likewise.
20218
d22e4cc9
AK
202192010-07-17 Andi Kleen <ak@linux.intel.com>
20220
20221 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20222 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20223 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20224 * Versions.def [GLIBC_2.13]: Add.
20225
805bc17d
UD
202262010-08-06 Ulrich Drepper <drepper@redhat.com>
20227
20228 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20229 Also fail if tpwd after pwuid call is NULL.
20230
5a42321d
ST
202312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20232
20233 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20234 when converting to ms.
20235
fd3ebeda
ST
202362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20237
20238 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20239 EOPNOTSUPP errors with ENOTTY.
20240 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20241 EOPNOTSUPP errors with ENOTTY.
20242
73507d3a
UD
202432010-07-31 Ulrich Drepper <drepper@redhat.com>
20244
20245 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20246 Add strcasecmp_l-ssse3.
20247 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20248 strcasecmp.
20249 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20250 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20251 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20252
fe36dd02
UD
202532010-07-30 Ulrich Drepper <drepper@redhat.com>
20254
66f6765a
UD
20255 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20256
42e08a54
UD
20257 * string/Makefile (strop-tests): Add strcasecmp.
20258 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20259 strcasecmp_l-nonascii.
20260 (gen-as-const-headers): Add locale-defines.sym.
20261 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20262 * sysdeps/x86_64/strcasecmp.S: New file.
20263 * sysdeps/x86_64/strcasecmp_l.S: New file.
20264 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20265 * sysdeps/x86_64/locale-defines.sym: New file.
20266 * string/test-strcasecmp.c: New file.
20267
fe36dd02
UD
20268 * string/test-strcasestr.c: Test both ends of the range of characters.
20269 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20270
48cbc0d6
RM
202712010-07-29 Roland McGrath <roland@redhat.com>
20272
76e6d6bc 20273 [BZ #11856]
48cbc0d6
RM
20274 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20275
880113d9
UD
202762010-07-27 Ulrich Drepper <drepper@redhat.com>
20277
20278 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20279 for ld.so.
20280
deb9cabb
AS
202812010-07-27 Andreas Schwab <schwab@redhat.com>
20282
20283 * manual/memory.texi (Malloc Tunable Parameters): Document
20284 M_PERTURB.
20285
1c7570ff
RM
202862010-07-26 Roland McGrath <roland@redhat.com>
20287
20288 [BZ #11840]
20289 * configure.in (-fgnu89-inline check): Set and substitute
20290 gnu89_inline, not libc_cv_gnu89_inline.
20291 * configure: Regenerated.
20292 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20293
24fb0f88
UD
202942010-07-26 Ulrich Drepper <drepper@redhat.com>
20295
20296 * string/test-strnlen.c: New file.
20297 * string/Makefile (strop-tests): Add strnlen.
20298 * string/tester.c (test_strnlen): Add a few more test cases.
20299 * string/tst-strlen.c: Better error reporting.
20300
20301 * sysdeps/x86_64/strnlen.S: New file.
20302
8e96b93a
UD
203032010-07-24 Ulrich Drepper <drepper@redhat.com>
20304
20305 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20306 lower-latency instructions.
20307
dbc676d4
UD
203082010-07-23 Ulrich Drepper <drepper@redhat.com>
20309
20310 * string/test-strcasestr.c: New file.
20311 * string/test-strstr.c: New file.
20312 * string/Makefile (strop-tests): Add strstr and strcasestr.
20313 * string/str-two-way.h: Don't undefine MAX.
20314 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20315
f6a31e0e
AS
203162010-07-21 Andreas Schwab <schwab@redhat.com>
20317
20318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20319 strcasestr-nonascii.
20320 (CFLAGS-strcasestr-nonascii.c): Define.
20321 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20322 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20323 Remove unused attribute.
20324
5dbc3b6c
RM
203252010-07-20 Roland McGrath <roland@redhat.com>
20326
20327 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20328 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20329 ld.so.cache was broken. With it, there is no way to disable dsocaps
20330 like LD_HWCAP_MASK can disable hwcaps.
20331
23d101d8
EPM
203322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20333
20334 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20335
cc9f2e47
UD
203362010-07-16 Ulrich Drepper <drepper@redhat.com>
20337
20338 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20339 call in strcasestr.
20340 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20341 __strcasestr_sse42_nonascii.
20342 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20343 strcasestr-nonascii.c.
20344 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20345
77c1b069
LM
203462010-06-15 Luis Machado <luisgpm@br.ibm.com>
20347
20348 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20349 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20350 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20351 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20352
440566c3
UD
203532010-07-09 Ulrich Drepper <drepper@redhat.com>
20354
20355 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20356 fcntl.
20357
5be9d05d
AS
203582010-07-06 Andreas Schwab <schwab@redhat.com>
20359
c30b7ee2 20360 [BZ #11577]
5be9d05d
AS
20361 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20362 dl_signal_cerror.
20363
8a492a67
UD
203642010-07-06 Ulrich Drepper <drepper@redhat.com>
20365
20366 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20367 _PC_PIPE_BUF using F_GETPIPE_SZ.
20368
713df3d5
RM
203692010-07-05 Roland McGrath <roland@redhat.com>
20370
20371 * manual/arith.texi (Rounding Functions): Fix rint description
20372 implicit in round description.
20373
702e8f14
UD
203742010-07-02 Ulrich Drepper <drepper@redhat.com>
20375
20376 * elf/Makefile: Fix linking for a few tests to make recent linker
20377 happy.
20378
52ed8be9
AS
203792010-06-30 Andreas Schwab <schwab@redhat.com>
20380
20381 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20382 $(common-objpfx)libc_nonshared.a.
20383
f47c9a11
LM
203842010-06-21 Luis Machado <luisgpm@br.ibm.com>
20385
20386 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20387 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20388 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20389 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20390 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20391 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20392 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20393 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20408 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20409 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20410 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20411 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20412 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20413 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20414 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20415 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20416 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20417 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20418 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20419 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20434
6fb8cbcb
L
204352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20436
20437 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20438 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20439 * string/memmove.c (memmove): Renamed to ...
20440 (MEMMOVE): ...this. Default to memmove.
20441 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20442 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20443 (END_CHK): Define.
20444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20445 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20446 mempcpy-ssse3-back memmove-ssse3-back.
20447 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20448 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20449 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20450 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20451 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20452 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20453 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20454 * sysdeps/x86_64/multiarch/memmove.c: New file.
20455 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20456 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20457 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20458 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20459 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20460 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20461 Define.
20462 (index_Fast_Copy_Backward): Define.
20463 (HAS_ARCH_FEATURE): Define.
20464 (HAS_FAST_REP_STRING): Define.
20465 (HAS_FAST_COPY_BACKWARD): Define.
20466
4e733bac 204672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20468
20469 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20470 Restore proper fallback handling.
20471
63c4ed22
UD
204722010-06-19 Ulrich Drepper <drepper@redhat.com>
20473
ac2b484c
UD
20474 [BZ #11701]
20475 * posix/group_member.c (__group_member): Correct checking loop.
20476
63c4ed22
UD
20477 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20478 OOM in getpwuid_r correctly. Return error number when the caller
20479 should return, otherwise -1.
20480 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20481 call returning > 0 value.
20482 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20483
765ade4b
AS
204842010-06-07 Andreas Schwab <schwab@redhat.com>
20485
20486 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20487 libc_nonshared.a from targets in modules-names.
20488
80da2e09
KS
204892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20490
20491 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20492 requires it.
20493
158db122
LM
204942010-06-10 Luis Machado <luisgpm@br.ibm.com>
20495
20496 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20497 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20498 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20499 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20500
caa78cf8
AS
205012010-06-02 Andreas Schwab <schwab@redhat.com>
20502
20503 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20504
b2ef2c01
UD
205052010-06-14 Ulrich Drepper <drepper@redhat.com>
20506
20507 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20508 and F_GETPIPE_SZ.
20509 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20510 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20511 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20513 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20514 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20515
fbd643b6
RM
205162010-06-14 Roland McGrath <roland@redhat.com>
20517
20518 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20519
f32f2869
JJ
205202010-06-07 Jakub Jelinek <jakub@redhat.com>
20521
20522 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20523 __REDIRECT followed by __THROW.
20524 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20525 * posix/getopt.h (getopt): Likewise.
20526
2a50c078
EPM
205272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20528
20529 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20530 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20531 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20532 in AT_FLAGS.
20533 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20534 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20535
eb5ad2eb
LM
205362010-05-28 Luis Machado <luisgpm@br.ibm.com>
20537
20538 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20539
3c88fe1e
L
205402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20541
20542 [BZ #11640]
20543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20544 Properly check family and model.
20545
d2f73151
TY
205462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20547
20548 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20549
ebd2e13d
LM
205502010-05-24 Luis Machado <luisgpm@br.ibm.com>
20551
20552 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20553
b32b8b45
UD
205542010-05-21 Ulrich Drepper <drepper@redhat.com>
20555
20556 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20557 symbol reference.
20558
9acbe24d
AS
205592010-05-19 Andreas Schwab <schwab@redhat.com>
20560
20561 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20562 symbol reference.
20563
f0ccf6ea
AS
205642010-05-21 Andreas Schwab <schwab@redhat.com>
20565
3d04ff3a
AS
20566 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20567 and internal_recvmmsg.
20568 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20569 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20570 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20571 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20572
f0ccf6ea
AS
20573 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20574 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20575 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20576
5b08ac57
AS
205772010-05-20 Andreas Schwab <schwab@redhat.com>
20578
20579 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20580
4828935d
LM
205812010-05-17 Luis Machado <luisgpm@br.ibm.com>
20582
20583 POWER7 optimizations.
20584 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20585 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20586
373d545e
UD
205872010-05-19 Ulrich Drepper <drepper@redhat.com>
20588
20589 * version.h: Update for 2.13 development version.
20590
21a2b1ae
AS
205912010-05-12 Andrew Stubbs <ams@codesourcery.com>
20592
20593 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20594 exceptions. Return 0.
20595
3f7dcb2b
RM
205962010-05-07 Roland McGrath <roland@redhat.com>
20597
20598 * elf/ldconfig.c (main): Add a const.
20599
5f24d53a 206002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20601
a160f8d8
UD
20602 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20603 (args_options): Add no-idn option.
20604 (ahosts_keys_int): Add idn_flags to ai_flags.
20605 (parse_option): Handle 'i' option to clear idn_flags.
20606
5f24d53a
UD
20607 * malloc/malloc.c (_int_free): Possible race in the most recently
20608 added check. Only act on the data if no current modification
20609 happened.
265bb1ce
UD
20610
20611See ChangeLog.17 for earlier changes.