]> sourceware.org Git - glibc.git/blame - ChangeLog
Don't pass shell loops' stdin to programs run on glibc's host.
[glibc.git] / ChangeLog
CommitLineData
6fb54a22
JB
12012-10-22 Jim Blandy <jimb@codesourcery.com>
2 Joseph Myers <joseph@codesourcery.com>
3
4 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5 /dev/null.
6 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7 from /dev/null
8 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9 /dev/null.
10
481b90b9
AJ
112012-10-22 Andreas Jaeger <aj@suse.de>
12
2a0e2669
AJ
13 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14 Define always.
15 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16
76e38f9a
AJ
17 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18 bits/fcntl-linux.h.
19
7cd37b43
AJ
20 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22
481b90b9
AJ
23 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24 to __O_LARGEFILE.
25 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26 to __O_LARGEFILE.
27
aba75984
JB
282012-10-21 Jim Blandy <jimb@codesourcery.com>
29 Joseph Myers <joseph@codesourcery.com>
30
31 * config.make.in (NM): New variable.
32
88d4247f
AJ
332012-10-21 Andreas Jaeger <aj@suse.de>
34
35 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36 definitions and declarations that are provided by
37 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38
f2eed205
L
392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40
41 [BZ #14683]
42 * elf/Makefile (tests-static): Add tst-leaks1-static.
43 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44 ($(objpfx)tst-leaks1-static): New rule.
45 ($(objpfx)tst-leaks1-static-mem): Likewise.
46 (tst-leaks1-static-ENV): New macro.
47 * elf/dl-open.c (dl_open_worker): Check the main application
48 only if SHARED is defined.
49 * elf/tst-leaks1-static.c: New file.
50
335e6931
AJ
512012-10-20 Andreas Jaeger <aj@suse.de>
52
53 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
54 generic values for Linux.
55 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56 and declarations that are provided by <bits/fcntl-linux.h> and
57 include <bits/fcntl-linux.h>.
58 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60
ac5c94d3
RM
612012-10-20 Roland McGrath <roland@hack.frob.com>
62
63 * io/fcntl.h: Move include of <bits/types.h> to the top and
64 include it unconditionally.
65
de54b33a
L
662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
67
228cfb01
L
68 * wcsmbs/Makefile (tests-ifunc): New variable.
69 (tests): Add $(tests-ifunc).
70 * wcsmbs/test-wcschr-ifunc.c: New file.
71 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
72 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
73 * wcsmbs/test-wcslen-ifunc.c: Likewise.
74 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
76
69f07e5f
L
77 * string/Makefile (tests-ifunc): New variable.
78 (tests): Add $(tests-ifunc).
79 * string/test-memccpy.c (TEST_NAME): New macro.
80 * string/test-memchr.c (TEST_NAME): Likewise.
81 * string/test-memcmp.c (TEST_NAME): Likewise.
82 * string/test-memcpy.c (TEST_NAME): Likewise.
83 * string/test-memmem.c (TEST_NAME): Likewise.
84 * string/test-memmove.c (TEST_NAME): Likewise.
85 * string/test-memset.c (TEST_NAME): Likewise.
86 * string/test-rawmemchr.c (TEST_NAME): Likewise.
87 * string/test-stpcpy.c (TEST_NAME): Likewise.
88 * string/test-stpncpy.c (TEST_NAME): Likewise.
89 * string/test-strcasecmp.c (TEST_NAME): Likewise.
90 * string/test-strcasestr.c (TEST_NAME): Likewise.
91 * string/test-strcat.c (TEST_NAME): Likewise.
92 * string/test-strchr.c (TEST_NAME): Likewise.
93 * string/test-strcmp.c(TEST_NAME): Likewise.
94 * string/test-strcpy.c (TEST_NAME): Likewise.
95 * string/test-strcspn.c (TEST_NAME): Likewise.
96 * string/test-strlen.c (TEST_NAME): Likewise.
97 * string/test-strncasecmp.c (TEST_NAME): Likewise.
98 * string/test-strncmp.c (TEST_NAME): Likewise.
99 * string/test-strncpy.c (TEST_NAME): Likewise.
100 * string/test-strnlen.c (TEST_NAME): Likewise.
101 * string/test-strpbrk.c (TEST_NAME): Likewise.
102 * string/test-strrchr.c (TEST_NAME): Likewise.
103 * string/test-strspn.c (TEST_NAME): Likewise.
104 * string/test-strstr.c (TEST_NAME): Likewise.
105 * string/test-bcopy-ifunc.c: New file.
106 * string/test-bzero-ifunc.c: Likewise.
107 * string/test-memccpy-ifunc.c: Likewise.
108 * string/test-memchr-ifunc.c: Likewise.
109 * string/test-memcmp-ifunc.c: Likewise.
110 * string/test-memcpy-ifunc.c: Likewise.
111 * string/test-memmem-ifunc.c: Likewise.
112 * string/test-memmove-ifunc.c: Likewise.
113 * string/test-mempcpy-ifunc.c: Likewise.
114 * string/test-memset-ifunc.c: Likewise.
115 * string/test-rawmemchr-ifunc.c: Likewise.
116 * string/test-stpcpy-ifunc.c: Likewise.
117 * string/test-stpncpy-ifunc.c: Likewise.
118 * string/test-strcasecmp-ifunc.c: Likewise.
119 * string/test-strcasestr-ifunc.c: Likewise.
120 * string/test-strcat-ifunc.c: Likewise.
121 * string/test-strchr-ifunc.c: Likewise.
122 * string/test-strchrnul-ifunc.c: Likewise.
123 * string/test-strcmp-ifunc.c: Likewise.
124 * string/test-strcpy-ifunc.c: Likewise.
125 * string/test-strcspn-ifunc.c: Likewise.
126 * string/test-strlen-ifunc.c: Likewise.
127 * string/test-strncasecmp-ifunc.c: Likewise.
128 * string/test-strncat-ifunc.c: Likewise.
129 * string/test-strncmp-ifunc.c: Likewise.
130 * string/test-strncpy-ifunc.c: Likewise.
131 * string/test-strnlen-ifunc.c: Likewise.
132 * string/test-strpbrk-ifunc.c: Likewise.
133 * string/test-strrchr-ifunc.c: Likewise.
134 * string/test-strspn-ifunc.c: Likewise.
135 * string/test-strstr-ifunc.c: Likewise.
136
de54b33a
L
137 * debug/Makefile (tests-ifunc): New variable.
138 (tests): Add $(tests-ifunc).
139 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
140 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
141 * debug/test-stpcpy_chk-ifunc.c: New file.
142 * debug/test-strcpy_chk-ifunc.c: Likewise.
143
88481c16
SP
1442012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
145
146 [BZ #13601]
147 * elf/dl-load.c (open_verify): Retry read if the entire ELF
148 header is not read in.
149
135948bd
JM
1502012-10-19 Joseph Myers <joseph@codesourcery.com>
151
89f1c388
JM
152 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
153 script to $(SHELL) as $<. Pass $(common-objpfx) to script
154 directly. Pass built executable to script as
155 $(built-program-cmd).
156 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
157 $testprogram without using LD_LIBRARY_PATH and $ldso.
158
e40a0d21
JM
159 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
160 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
161 $(rtld-installed-name).
162 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
163 (rtld_installed_name): Likewise.
164 (library_path): Likewise.
165 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
166 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
167 $(run-program-prefix) to tst-tables.sh.
168 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
169 it to run tst-table-from and tst-table-to.
170 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
171 Pass it to tst-table.sh.
172 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
173 $(run-program-prefix) to tst-gettext.sh.
174 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
175 tst-translit.sh.
176 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
177 tst-gettext2.sh.
178 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
179 to run tst-gettext.
180 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
181 to run tst-gettext2.
182 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
183 to run tst-translit.
184 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
185 $(run-program-prefix) to tst-mtrace.sh.
186 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
187 to run tst-mtrace.
188 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
189 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
190 $(rtld-installed-name).
191 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
192 (rtld_installed_name): Likewise.
193 (run_program_prefix): New variable. Use it to run wordexp-test.
194
728e272a
JM
195 * Makeconfig (ARCH): Remove all definitions.
196 (machine): Likewise.
197 [ARCH]: Remove conditional code.
198 [!objdir]: Give error.
199 [!objdir] (objpfx): Remove.
200 [!objdir] (common-objpfx): Likewise.
201 [!objdir] (common-objdir): Likewise.
202 * configure.in (config_makefile): Remove. Hardcode Makefile in
203 AC_CONFIG_FILES call.
204 * configure: Regenerated.
205
d528cdcf
JM
206 [BZ #13888]
207 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
208 or TMPDIR.
209 (testout): Likewise.
210
135948bd
JM
211 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
212 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
213 $(rtld-installed-name).
214 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
215 (rtld_installed_name): Likwise.
216 (runit): Remove function.
217 (run_getconf): New variable, Use it for running getconf binary.
218
38c78296
L
2192012-10-18 H.J. Lu <hongjiu.lu@intel.com>
220
221 [BZ #14716]
222 * string/test-memmem.c (check_result): New function.
223 (do_one_test): Use it.
224 (check1): New function.
225 (test_main): Use it.
226
d077f65f
MT
2272012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
228
229 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
230
ced52c71
JM
2312012-10-18 Joseph Myers <joseph@codesourcery.com>
232
233 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
234 (_G_LSEEK64): Likewise.
235 (_G_MMAP64): Likewise.
236 (_G_FSTAT64): Likewise.
237 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
238 (_G_LSEEK64): Likewise.
239 (_G_MMAP64): Likewise.
240 (_G_FSTAT64): Likewise.
241 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
242 unconditional. Call __mmap64 directly.
243 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
244 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
245 __lseek64 directly.
246 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
247 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
248 __mmap64 directly.
249 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
250 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
251 __lseek64 directly.
252 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
253 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
254 __lseek64 directly.
255 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
256 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
257 __lseek64 directly.
258 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
259 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
260 __fxstat64 directly.
261 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
262 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
263 unconditional.
264 (freopen64) [!_G_OPEN64]: Remove conditional code.
265 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
266 unconditional.
267 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
268 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
269 unconditional.
270 (ftello64) [!_G_LSEEK64]: Remove conditional code.
271 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
272 unconditional.
273 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
274 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
275 unconditional.
276 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
277 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
278 unconditional.
279 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
280 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
281 unconditional.
282 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
283 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
284 unconditional.
285 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
286
b741de23
SP
2872012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
288
289 [BZ #12140]
290 * manual/memory.texi (Malloc Tunable Parameters): Add note
291 about free list pointers overwriting some perturb bytes.
292 Wording suggested by Roland McGrath.
293
f9b9d9c9
JM
2942012-10-17 Joseph Myers <joseph@codesourcery.com>
295
296 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
297 (lgamma_test): Likewise.
298 (tgamma_test): Likewise.
299
172a631a
FW
3002012-10-16 Florian Weimer <fweimer@redhat.com>
301
302 [BZ #14700]
303 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
304 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
305
e9f37252
MK
3062012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
307
308 * NEWS: Mention BZ #14716.
309 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
310 when removing AVAILABLE1_USES_J macro.
311
d394eb74
L
3122012-10-12 H.J. Lu <hongjiu.lu@intel.com>
313
314 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
315 (__bswap_64): __uint64_t for unsigned 64-bit int.
316
ca38dc17
AS
3172012-10-12 Andreas Schwab <schwab@linux-m68k.org>
318
319 * include/string.h (memmem): Declare libc hidden alias.
320 * string/memmem.c (memmem): Define libc hidden alias.
321 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
322 __read, __close instead of open, read, close.
323
9a387d1f
L
3242012-10-11 H.J. Lu <hongjiu.lu@intel.com>
325
ac49ecaf
L
326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
327 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
328 global and hidden.
329 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
330 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
331 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
332 Likewise.
333 (__rawmemchr_sse2): Likewise.
334 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
335 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
336 (__strchr_sse2): Likewise.
337 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
338 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
339 (__strcasecmp_sse2): Likewise.
340 (__strncasecmp_sse2): Likewise.
341 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
342 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
343 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
344 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
345 (__strrchr_sse2): Likewise.
346 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
347 ifunc-impl-list.c.
348 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
349 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
350 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
351 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
352 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
353 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
354 * sysdeps/x86_64/multiarch/memset.S: Likewise.
355 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
356 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
357 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
358 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
359 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
360 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
361 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
362 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
363 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
364 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
365 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
366 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
367 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
368 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
369 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
370 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
371 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
372 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
373 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
374 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
375 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
376 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
377 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
378
b090e8ea
L
379 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
380 global and hidden.
381 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
382 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
383 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
384 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
385 Likewise.
386 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
387 Likewise.
388 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
389 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
390 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
391 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
392 ifunc-impl-list.c.
393 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
394 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
395 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
396 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
397 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
398 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
399 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
400 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
401 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
402 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
403 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
404 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
405 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
406 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
407 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
408 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
409 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
410 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
411 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
412 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
413 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
414 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
415 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
416 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
417 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
418 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
419 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
420 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
421 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
422 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
423 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
424 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
425 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
426 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
427 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
428 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
429 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
430 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
431 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
432 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
433 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
434
11dd4af6
L
435 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
436 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
437 * include/ifunc-impl-list.h: New file.
438 * misc/ifunc-impl-list.c: Likewise.
439 * misc/Makefile (routines): Add ifunc-impl-list.
440 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
441 * string/test-string.h: Include <ifunc-impl-list.h>.
442 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
443 impl_array): New variables.
444 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
445 are defined.
446 (test_init): Call __libc_ifunc_impl_list to initialize
447 func_list if TEST_IFUNC and TEST_NAME are defined.
448
9a387d1f
L
449 * string/Makefile (strop-tests): Add bcopy and bzero.
450 * string/test-bcopy.c: New file.
451 * string/test-bzero.c: Likewise.
452 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
453 defined.
454 * string/test-memset.c: Support bzero test if TEST_BZERO is
455 defined.
456 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
457 __libc_memmove.
458 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
459 __libc_memset.
460 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
461 of memset.
462
472371b9
JM
4632012-10-10 Joseph Myers <joseph@codesourcery.com>
464
1e4a9536
JM
465 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
466 * configure: Regenerated.
467
d173d12e
JM
468 * Makeconfig (+link-static-before-libc): Don't include
469 $(link-static-libc).
470
472371b9
JM
471 * libio/libio.h (_IO_pos_t): Remove.
472
89a3ad0b
AO
4732012-10-10 Alexandre Oliva <aoliva@redhat.com>
474
475 * NEWS: Add note about FIPS mode. Wording suggested by Roland
476 McGrath.
477
e7451425
AO
4782012-10-10 Alexandre Oliva <aoliva@redhat.com>
479
480 * crypt/crypt-entry.c: Include fips-private.h.
481 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
482 * crypt/md5c-test.c (main): Tolerate disabled MD5.
483 * sysdeps/unix/sysv/linux/fips-private.h: New file.
484 * sysdeps/generic/fips-private.h: New file, dummy fallback.
485
4ba74a35
AO
4862012-10-10 Alexandre Oliva <aoliva@redhat.com>
487
488 * crypt/crypt-private.h: Include stdbool.h.
489 (_ufc_setup_salt_r): Return bool.
490 * crypt/crypt-entry.c: Include errno.h.
491 (__crypt_r): Return NULL with EINVAL for bad salt.
492 * crypt/crypt_util.c (bad_for_salt): New.
493 (_ufc_setup_salt_r): Check that salt is long enough and within
494 the specified alphabet.
495 * crypt/badsalttest.c: New file.
496 * crypt/Makefile (tests): Add it.
497 ($(objpfx)badsalttest): New.
498
f96f1242
MK
4992012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
500
501 * NEWS: Add entry for BZ #14602.
502
0e8e0c1c
JM
5032012-10-09 Joseph Myers <joseph@codesourcery.com>
504
505 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
506 type-generic.
507 * math/libm-test.inc: Update comment listing what functions and
508 macros are tested.
509 (isgreater_test): New function.
510 (isgreaterequal_test): Likewise.
511 (isless_test): Likewise.
512 (islessequal_test): Likewise.
513 (islessgreater_test): Likewise.
514 (isunordered_test): Likewise.
515 (main): Call the new functions.
516
273edc5e
RM
5172012-10-09 Roland McGrath <roland@hack.frob.com>
518
b8493de0
RM
519 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
520 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
521 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
522 * sysdeps/i386/configure: Regenerated.
523 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
524 * sysdeps/mach/configure: Regenerated.
525 * sysdeps/mach/hurd/configure: Regenerated.
526 * sysdeps/powerpc/configure: Regenerated.
527 * sysdeps/powerpc/powerpc32/configure: Regenerated.
528 * sysdeps/powerpc/powerpc64/configure: Regenerated.
529 * sysdeps/s390/s390-32/configure: Regenerated.
530 * sysdeps/s390/s390-64/configure: Regenerated.
531 * sysdeps/sh/configure: Regenerated.
532 * sysdeps/sparc/configure: Regenerated.
533 * sysdeps/unix/sysv/linux/configure: Regenerated.
534 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
535 * sysdeps/x86_64/configure: Regenerated.
536
273edc5e
RM
537 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
538 defined. Don't check if MAP is NULL.
539
c8450f70
JM
5402012-10-09 Joseph Myers <joseph@codesourcery.com>
541
542 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
543 (_G_stat64): Likewise.
544 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
545 (_G_stat64): Likewise.
546 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
547 instead of struct _G_stat64.
548 * libio/fileops.c (mmap_remap_check): Likewise.
549 (decide_maybe_mmap): Likewise.
550 (_IO_new_file_seekoff): Likewise.
551 (_IO_file_stat): Likewise.
552 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
553 _G_off64_t.
554 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
555 instead of struct _G_stat64.
556 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
557
57e605ba
MK
5582012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
559
560 [BZ #14602]
561 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
562 Replace with ...
563 (CHECK_EOL): New macro.
564 (two_way_short_needle): Check beginning of haystack for EOL. Use
565 CHECK_EOL.
566 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
567 Replace with CHECK_EOL.
568 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
569 Replace with CHECK_EOL.
570
ef1bb361
JM
5712012-10-08 Joseph Myers <joseph@codesourcery.com>
572
573 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
574 type-generic.
575 * math/libm-test.inc: Update comment listing what functions and
576 macros are tested.
577 (finite_test): New function.
578 (isinf_test): Likewise.
579 (isnan_test): Likewise.
580 (fpclassify_test): Test subnormal input.
581 (isfinite_test): Likewise.
582 (isnormal_test): Likewise.
583 (main): Call the new functions.
584
55f11534
JN
5852012-10-08 Jonathan Nieder <jrnieder@gmail.com>
586
587 [BZ #14660]
588 * Makerules (%.dynsym): Force C locale when running
589 $(OBJDUMP) --dynamic-syms.
590
1ab29350
AS
5912012-10-08 Andreas Schwab <schwab@linux-m68k.org>
592
593 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
594 <stdint.h>.
595
f1ecb7ef
DM
5962012-10-06 David S. Miller <davem@davemloft.net>
597
598 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
599 upper 32-bits of the length value in %o2 since we use branch-on-register
600 tests which consider the entire 64-bit register.
601
5d41d91a
L
6022012-10-06 H.J. Lu <hongjiu.lu@intel.com>
603
604 * string/test-strstr.c (check2): Add a test for page boundary.
605
3baddb72
DM
6062012-10-05 David S. Miller <davem@davemloft.net>
607
608 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
609 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
610 file.
611 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
612 sysdep_routines.
613 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
614 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
615 and bzero when HWCAP_SPARC_CRYPTO is present.
616
9cee5585
L
6172012-10-05 H.J. Lu <hongjiu.lu@intel.com>
618
d7e0dab9
L
619 [BZ #14602]
620 * string/test-strstr.c (check2): New function.
621 (test_main): Call check2.
622
03759f47
L
623 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
624 and bug-strchr1.
625 * string/bug-strcasestr1.c (do_test): Moved to ...
626 * string/test-strcasestr.c (check1): Here. New function.
627 (do_one_test): Break out result checking code into ...
628 (check_result): This. New function.
629 (do_one_test): Call check_result.
630 (test_main): Call check1.
631 * string/bug-strchr1.c (do_test): Moved to ...
632 * string/test-strchr.c (check1): Here. New function.
633 (do_one_test): Break out result checking code into ...
634 (check_result): This. New function.
635 (do_one_test): Call check_result.
636 (test_main): Call check1.
637 * string/bug-strstr1.c (main): Moved to ...
638 * string/test-strchr.c (check1): Here. New function.
639 (do_one_test): Break out result checking code into ...
640 (check_result): This. New function.
641 (do_one_test): Call check_result.
642 (test_main): Call check1.
643 * string/bug-strcasestr1.c: Removed.
644 * string/bug-strchr1.c: Likewise.
645 * string/bug-strstr1.c: Likewise.
646
53cea63e
L
647 * elf/Makefile (dl-routines): Add hwcaps.
648 * elf/dl-support.c (_dl_important_hwcaps): Removed.
649 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
650 (_dl_important_hwcaps): Moved to ...
651 * elf/dl-hwcaps.c: Here. New file.
652 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
653
9cee5585 654 [BZ #14557]
bb859b06
L
655 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
656 if IS_IN_rtld isn't defined.
657
9cee5585
L
658 * elf/dl-support.c (_dl_sysinfo_map): New.
659 Include "get-dynamic-info.h" and "setup-vdso.h".
660 (_dl_non_dynamic_init): Call setup_vdso.
661 * elf/dynamic-link.h: Don't include <assert.h>.
662 (elf_get_dynamic_info): Moved to ...
663 * elf/get-dynamic-info.h: Here. New file.
664 * elf/dynamic-link.h: Include "get-dynamic-info.h".
665 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
666 * elf/setup-vdso.h: Here. New file.
667 * elf/rtld.c: Include "setup-vdso.h".
668 (dl_main): Call setup_vdso.
669
23c31b76
JM
6702012-10-05 Joseph Myers <joseph@codesourcery.com>
671
28234b07
JM
672 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
673 creal in comment listing functions tested. List finite, isinf,
674 isnan, isless, islessequal, isgreater, isgreaterequal,
675 islessgreater, isunordered, lgamma_r and pow10 as functions and
676 macros not tested. Mention which functions not tested are aliases
677 for other functions. Fix typo. Note that signs of NaNs are not
678 tested.
679
23c31b76
JM
680 * scripts/config.guess: Update from config.git.
681 * scripts/config.sub: Likewise.
682
9043e228
RM
6832012-10-04 Roland McGrath <roland@hack.frob.com>
684
685 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
686 * misc/madvise.c (madvise): Renamed to __madvise.
687 Make madvise a weak alias.
688 * include/sys/mman.h: Declare __madvise.
689 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
690 * sysdeps/unix/syscalls.list
691 (madvise): Make __madvise the strong name, and madvise a weak alias.
692 * sysdeps/unix/sysv/linux/syscalls.list
693 (madvise, mmap): Remove redundant entries.
694 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
695 * malloc/malloc.c (mtrim): Likewise.
696 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
697
f57f8055
RM
6982012-10-03 Roland McGrath <roland@hack.frob.com>
699
700 * sysdeps/mach/hurd/dl-cache.c: File removed.
701 * config.h.in (USE_LDCONFIG): New #undef.
702 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
703 * configure: Regenerated.
704 * elf/Makefile (dl-routines): Add dl-cache only under
705 [$(use-ldconfig) = yes].
706 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
707 cache on [USE_LDCONFIG].
708 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
709 [USE_LDCONFIG].
710 * elf/rtld.c (dl_main): Likewise.
711
5bb0c10a
PT
7122012-10-03 Pino Toscano <toscano.pino@tiscali.it>
713
714 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
715 _SC_LEVEL4_CACHE_LINESIZE.
716
010188c6
RM
7172012-10-03 Roland McGrath <roland@hack.frob.com>
718
719 * sysdeps/unix/bsd/confstr.h: File removed.
720
b6c5ec07
AO
7212012-10-02 Alexandre Oliva <aoliva@redhat.com>
722
723 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
724 sys/sdt-config.h.
725
408223d4
RM
7262012-10-02 Roland McGrath <roland@hack.frob.com>
727
728 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
729 Make 'mapoff' field ElfW(Off) rather than off_t.
730
bb9510dc
DL
7312012-10-02 Dmitry V. Levin <ldv@altlinux.org>
732
fc997c6e
DL
733 * nscd/Makefile: Remove nscd-cflags and all its users.
734 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
735 (CFLAGS-nonlib): Add compiler flags for nscd modules.
736
bb9510dc
DL
737 [BZ #10631]
738 * malloc.c (malloc_printerr): Clarify error message.
739
05699367
L
7402012-10-02 H.J. Lu <hongjiu.lu@intel.com>
741
742 [BZ #14648]
743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
744 Set bit_FMA_Usable if FMA is supported.
745 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
746 macro.
747 (bit_FMA4_Usable): Updated.
748 (index_FMA_Usable): New macro.
749 (CPUID_FMA): Likewise
750 (HAS_FMA): Defined with bit_FMA_Usable.
751
51367701
RM
7522012-10-01 Roland McGrath <roland@hack.frob.com>
753
754 * bits/types.h (__swblk_t): Type removed.
755 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
756 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
757 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
758 (__SWBLK_T_TYPE): Likewise.
759 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
760 (__SWBLK_T_TYPE): Likewise.
761 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
762 (__SWBLK_T_TYPE): Likewise.
763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
764 (__SWBLK_T_TYPE): Likewise.
765
4d57bf63
JL
7662012-10-01 Patsy Franklin <pfrankli@redhat.com>
767 Honza Horak <hhorak@redhat.com>
768
769 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
770 (xdr_mapname): Use YPMAXMAP as maxsize.
771 (xdr_peername): Use YPMAXPEER as maxsize.
772 (xdr_keydat): Use YPAXRECORD as maxsize.
773 (xdr_valdat): Use YPMAXRECORD as maxsize.
774
93c65d43
RM
7752012-10-01 Roland McGrath <roland@hack.frob.com>
776
497a03d6
RM
777 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
778
93c65d43
RM
779 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
780 * csu/init-first.c: ... here.
781 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
782 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
783 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
784 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
785 * sysdeps/i386/init-first.c: File removed.
786 * sysdeps/sh/init-first.c: File removed.
787
bec749fd
JM
7882012-10-01 Joseph Myers <joseph@codesourcery.com>
789
790 [BZ #14645]
791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
792 if x * y might underflow to zero and z is zero.
793 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
794 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
795 * math/libm-test.inc (min_subnorm_value): New variable.
796 (fma_test): Add more tests.
797 (fma_test_towardzero): Likewise.
798 (fma_test_downward): Likewise
799 (fma_test_upward): Likewise.
800 (initialize): Set min_subnorm_value.
801
8ec5b013
JM
8022012-09-29 Joseph Myers <joseph@codesourcery.com>
803
804 [BZ #14638]
805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
806 0 + 0.
807 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
808 mode for addition resulting in exact zero.
809 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
810 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
811 exact 0 + 0.
812 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
813 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
814 * math/libm-test.inc (fma_test): Add more tests.
815 (fma_test_towardzero): New function.
816 (fma_test_downward): Likewise.
817 (fma_test_upward): Likewise.
818 (main): Call the new functions.
819
b1fa802e
DM
8202012-09-28 David S. Miller <davem@davemloft.net>
821
822 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
823
d3b9fd9e
RM
8242012-09-28 Roland McGrath <roland@hack.frob.com>
825
ea4d37b3
RM
826 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
827 instead of SIGALRM.
828
ac51c949
RM
829 * sysdeps/gnu/_G_config.h: Moved to ...
830 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
831 * sysdeps/mach/hurd/_G_config.h: Moved to ...
832 * sysdeps/generic/_G_config.h: ... here.
833
28c195f7
RM
834 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
835
848917f9
RM
836 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
837
6bacf05b
RM
838 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
839 Conditionalize target on [libnss_test1.so-version].
840
91363dbb
RM
841 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
842
cc87f7d8
RM
843 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
844 (elfobjdir): Move out of conditionals.
845
b1c608fe
RM
846 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
847 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
848 (__nss_lookup_function): Conditionalize label remove_from_tree on
849 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 850
1d9a6d96
DM
8512012-09-28 David S. Miller <davem@davemloft.net>
852
853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
854 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
855 file.
856 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
857 sysdep_routines.
858 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
859 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
860 when HWCAP_SPARC_CRYPTO is present.
861
72581615
PT
8622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
863
864 * io/tst-mknodat.c: Create a FIFO instead of a socket.
865
715a900c
JL
8662012-09-28 Andreas Schwab <schwab@linux-m68k.org>
867
868 [BZ #6530]
869 * stdio-common/vfprintf.c (process_string_arg): Revert
870 2000-07-22 change.
871
8722011-09-28 Jonathan Nieder <jrnieder@gmail.com>
873
874 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
875 for testcase.
876 * stdio-common/tst-sprintf.c: Include <locale.h>
877 (main): Test sprintf's handling of incomplete multibyte
878 characters.
879
9bac1d86
L
8802012-09-28 H.J. Lu <hongjiu.lu@intel.com>
881
882 * elf/dl-runtime.c (VERSYMIDX): Removed.
883 * elf/dl-version.c (VERSYMIDX): Likewise.
884 * elf/do-rel.h (VERSYMIDX): Likewise.
885 (VALIDX): Likewise.
886 * elf/dynamic-link.h (VERSYMIDX): Likewise.
887 * elf/rtld.c (VALIDX): Likewise.
888 (ADDRIDX): Likewise.
9bac1d86
L
889 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
890 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
891 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
892 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
893 (VALIDX): Likewise.
894 (ADDRIDX): Likewise.
9bac1d86 895
b31606c0
PT
8962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
897
898 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
899
11541177
JL
9002012-09-28 Dmitry V. Levin <ldv@altlinux.org>
901
902 [BZ #11438]
903 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
904 to global scope.
905 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
906 addresses are in the same scope as 192.0.2/24.
907 * posix/gai.conf: Document new scope table defaults.
908
adb26fae
SP
9092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
910
911 [BZ #5298]
912 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
913 for ftell. Compute offsets from write pointers instead.
914 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
915
4573c6b0
SP
9162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
917
918 [BZ #14543]
919 * libio/Makefile (tests): New test case tst-fseek.
920 * libio/tst-fseek.c: New test case to verify that fseek/ftell
921 combination works in wide mode.
922 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
923 state when the external buffer state changes.
924
aa9bbfe6
DM
9252012-09-27 David S. Miller <davem@davemloft.net>
926
927 [BZ #14376]
928 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
929 pass reloc->r_addend in as the 'high' argument to
930 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
931
784421e7
DM
932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
933
c39bc8b8
PT
9342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
935
936 * rt/tst-aio2.c: Include <pthread.h>.
937 * rt/tst-aio3.c: Likewise.
938
1ccc2399
SE
9392012-09-27 Steve Ellcey <sellcey@mips.com>
940
941 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
942
31ed4153
L
9432012-09-27 H.J. Lu <hongjiu.lu@intel.com>
944
25f5f885
L
945 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
946 contents on [SHARED].
31ed4153 947
b7bfe116
MP
9482012-09-26 Marek Polacek <polacek@redhat.com>
949
950 [BZ #14530]
951 [BZ #13741]
952 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
953 for C++ and GCC <4.3 as well as for non GCC compilers.
954
43c4edba
MT
9552012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
956
957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
958
6a1bf82f
RM
9592012-09-25 Roland McGrath <roland@hack.frob.com>
960
961 * Makefile.in (all, install): Declare with .PHONY.
962 Reported by Michael Hope <michael.hope@linaro.org>.
963
8ad11b9a
TMQMF
9642012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
965
966 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
967 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
968 system header.
969 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
970 Likewise.
971 (sydep_routines): Add the new and the internal functions.
972 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
973 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
975 (GLIBC_2.17): Add the new function.
976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
977 (GLIBC_2.17): Likewise.
978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
979 (GLIBC_2.17): Likewise.
980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
981 (GLIBC_2.17): Likewise.
982 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
983
7e2fca8d
AM
9842012-09-25 Alan Modra <amodra@gmail.com>
985
986 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
987 Add release barrier before setting once_control to say
988 initialisation is done. Add hints on lwarx. Use macro in
989 place of isync.
990 (clear_once_control): Add release barrier.
991
b87c4b24
JM
9922012-09-25 Joseph Myers <joseph@codesourcery.com>
993
d032e0d2
JM
994 [BZ #13629]
995 * math/s_clog.c (__clog): Handle more values close to |z| = 1
996 specially.
997 * math/s_clog10.c (__clog10): Likewise.
998 * math/s_clog10f.c (__clog10f): Likewise.
999 * math/s_clog10l.c (__clog10l): Likewise.
1000 * math/s_clogf.c (__clogf): Likewise.
1001 * math/s_clogl.c (__clogl): Likewise.
1002 * math/Makefile (libm-calls): Add x2y2m1.
1003 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1004 (__x2y2m1): Likewise.
1005 (__x2y2m1l): Likewise.
1006 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1007 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1008 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1009 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1010 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1011 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1012 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1013 * sysdeps/i386/fpu/libm-test-ulps: Update.
1014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1015
b87c4b24
JM
1016 [BZ #14621]
1017 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1018 int as type of variable DEPTH.
1019 (glob): Use size_t instead of int as type of variables NEWCOUNT
1020 and OLD_PATHC.
1021
6d3bf199
LD
10222012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1023
22bf5c17
LD
1024 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1025 Add s_sincosf-sse2.
1026 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1027 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1028 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1029 macros for using routine as __sincosf_ia32.
1030 Use macro for function declaration and weak_alias.
1031 * sysdeps/i386/fpu/libm-test-ulps: Update.
1032
1033 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1035
1036 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1037 subnormal argument.
1038 * math/s_cexpf.c (__cexpf): Likewise.
1039 * math/s_csinf.c (__csinf): Likewise.
1040 * math/s_csinhf.c (__csinhf): Likewise.
1041 * math/s_ctanf.c (__ctanf): Likewise.
1042 * math/s_ctanhf.c (__ctanhf): Likewise.
1043 * math/s_ccosh.c (__ccoshf): Likewise.
1044 * math/s_cexp.c (__cexpl): Likewise.
1045 * math/s_csin.c (__csin): Likewise.
1046 * math/s_csinh.c (__csinh): Likewise.
1047 * math/s_ctan.c (__ctan): Likewise.
1048 * math/s_ctanh.c (ctanh): Likewise.
1049 * math/s_ccoshl.c (__ccoshl): Likewise.
1050 * math/s_cexpl.c (__cexpl): Likewise.
1051 * math/s_csinl.c (__csinl): Likewise.
1052 * math/s_csinhl.c (__csinhl): Likewise.
1053 * math/s_ctanl.c (__ctanl): Likewise.
1054 * math/s_ctanhl.c (__ctanhl): Likewise.
1055
203e5603
JM
10562012-09-25 Joseph Myers <joseph@codesourcery.com>
1057
1058 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1059 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1060 (_IO_off_t): Define to __off_t, not _G_off_t.
1061 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1062 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1063 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1064 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1065 type of __dummy and __dummy2 fields.
1066 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1067 (_G_ssize_t): Likewise.
1068 (_G_off_t): Likewise.
1069 (_G_pid_t): Likewise.
1070 (_G_uid_t): Likewise.
1071 (_G_wchar_t): Likewise.
1072 (_G_wint_t): Likewise.
1073 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1074 (_G_ssize_t): Likewise.
1075 (_G_off_t): Likewise.
1076 (_G_pid_t): Likewise.
1077 (_G_uid_t): Likewise.
1078 (_G_wchar_t): Likewise.
1079 (_G_wint_t): Likewise.
1080 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1081 (_G_ssize_t): Likewise.
1082 (_G_off_t): Likewise.
1083 (_G_pid_t): Likewise.
1084 (_G_uid_t): Likewise.
1085 (_G_wchar_t): Likewise.
1086 (_G_wint_t): Likewise.
1087
9fab36eb
SP
10882012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1089
1090 * malloc/arena.c: Include malloc-sysdep.h.
1091 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1092 is sufficient to shrink the heap or an unmap is needed.
1093 * sysdeps/generic/malloc-sysdep.h: New file. Define
1094 new function check_may_shrink_heap.
1095 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1096 new function check_may_shrink_heap.
1097
2b4f00d1
SP
10982012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1099
1100 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1101 comments.
1102
9a9028b1
DL
11032012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1104
57c69bef
DL
1105 * catgets/test-gencat.sh: Add "set -e".
1106 * elf/tst-pathopt.sh: Likewise.
1107 * grp/tst_fgetgrent.sh: Likewise.
1108 * iconvdata/run-iconv-test.sh: Likewise.
1109 * intl/tst-gettext.sh: Likewise.
1110 * intl/tst-gettext2.sh: Likewise.
1111 * intl/tst-gettext4.sh: Likewise.
1112 * intl/tst-gettext6.sh: Likewise.
1113 * intl/tst-translit.sh: Likewise.
1114 * io/ftwtest-sh: Likewise.
1115 * libio/test-freopen.sh: Likewise.
1116 * malloc/tst-mtrace.sh: Likewise.
1117 * posix/globtest.sh: Likewise.
1118 * posix/tst-getconf.sh: Likewise.
1119 * posix/wordexp-tst.sh: Likewise.
1120 * stdio-common/tst-printf.sh: Likewise.
1121 * stdio-common/tst-unbputc.sh: Likewise.
1122 * stdlib/tst-fmtmsg.sh: Likewise.
1123 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1124 * catgets/Makefile: Do not specify -e option when running
1125 testsuite shell scripts.
1126 * elf/Makefile: Likewise.
1127 * grp/Makefile: Likewise.
1128 * iconvdata/Makefile: Likewise.
1129 * intl/Makefile: Likewise.
1130 * io/Makefile: Likewise.
1131 * libio/Makefile: Likewise.
1132 * malloc/Makefile: Likewise.
1133 * posix/Makefile: Likewise.
1134 * stdio-common/Makefile: Likewise.
1135 * stdlib/Makefile: Likewise.
1136 * sysdeps/x86_64/Makefile: Likewise.
1137
9a9028b1
DL
1138 * io/ftwtest-sh: Add copyright header.
1139 * posix/globtest.sh: Likewise.
1140 * posix/tst-getconf.sh: Likewise.
1141 * posix/wordexp-tst.sh: Likewise.
1142 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1143
ced6f16e
L
11442012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1145
94b32c39
L
1146 [BZ #13679]
1147 * Makeconfig (+link): Defined as $(+link-static) if
1148 $(build-shared) isn't yes.
1149 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1150 isn't yes.
1151 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1152
189e935b
L
1153 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1154
ced6f16e
L
1155 [BZ #14562]
1156 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1157 new chunk size with MALLOC_ALIGN_MASK.
1158
a9f8e53a
JM
11592012-09-24 Joseph Myers <joseph@codesourcery.com>
1160
1161 [BZ #5044]
1162 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1163 <rounding-mode.h>.
1164 (__printf_fphex): Determine rounding using get_rounding_mode and
1165 round_away.
1166 * stdio-common/tst-printf-round.c (struct hex_test): New
1167 structure.
1168 (hex_tests): New variable.
1169 (test_hex_in_one_mode): New function.
1170 (do_test): Also run tests for hex float output.
1171
43153109
JM
11722012-09-21 Joseph Myers <joseph@codesourcery.com>
1173
1174 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1175 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1176 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1177 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1178 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1179 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1180 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1181 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1182
8a26625d
JM
11832012-09-20 Joseph Myers <joseph@codesourcery.com>
1184
1185 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1186 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1187 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1188 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1189
f3fd569c
DL
11902012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1191
1192 [BZ #14579]
1193 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1194 mode only.
1195 * elf/tst-rtld-load-self.sh: New test.
1196 * elf/Makefile: Run it.
1197
63bbedd4
JM
11982012-09-18 Joseph Myers <joseph@codesourcery.com>
1199
1200 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1201 (tst-writev-ENV): Remove.
1202 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1203
626f8b6a
CM
12042012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1205
1206 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1207
b7aaa4d6
JM
12082012-09-17 Joseph Myers <joseph@codesourcery.com>
1209
1210 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1211 unconditional.
1212 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1213 Likewise.
1214 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1215 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1216 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1217 Likewise.
1218
65513990
L
12192012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1220
1221 [BZ #14587]
1222 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1223 * config.make.in (have-cpp-asm-debuginfo): Removed.
1224 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1225 * configure: Regenerated.
1226
784761be
JM
12272012-09-14 Joseph Myers <joseph@codesourcery.com>
1228
1229 [BZ #5044]
1230 * stdio-common/printf_fp.c: Include <stdbool.h> and
1231 <rounding-mode.h>.
1232 (___printf_fp): Determine rounding using get_rounding_mode and
1233 round_away.
1234 * stdio-common/tst-printf-round.c: New file.
1235 * stdio-common/Makefile (tests): Add tst-printf-round.
1236 (link-libm): New variable.
1237 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1238
9503345f
L
12392012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1240
1241 [BZ #14576]
1242 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1243 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1244 Likewise.
1245 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1246 Likewise.
1247
ad35fc00
JM
12482012-09-13 Joseph Myers <joseph@codesourcery.com>
1249
1250 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1251 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1252 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1253 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1254
6c9b0f68
JM
12552012-09-12 Joseph Myers <joseph@codesourcery.com>
1256
1257 [BZ #14518]
1258 * include/rounding-mode.h: New file.
1259 * sysdeps/generic/get-rounding-mode.h: Likewise.
1260 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1261 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1262 (MAX_VALUE): New macro.
1263 (MIN_VALUE): Likewise.
1264 (overflow_value): New function.
1265 (underflow_value): Likewise.
1266 (round_and_return): Use overflow_value and underflow_value to
1267 determine return values in overflow and underflow cases. Use
1268 round_away to determine rounding depending on rounding mode.
1269 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1270 determine return values in overflow and underflow cases.
1271 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1272 (struct test_results): New structure.
1273 (struct test): Use struct test_results to store expected results
1274 for all rounding modes.
1275 (TEST): Include expected results for all rounding modes.
1276 (test_in_one_mode): New function.
1277 (do_test): Use test_in_one_mode to compute and check results.
1278 Check results for all rounding modes.
1279 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1280 $(link-libm).
1281
19fcedd5
AM
12822012-12-09 Allan McRae <allan@archlinux.org>
1283
1284 * sysdeps/i386/fpu/libm-test-ulps: Update
1285
8bbfd2f1
JM
12862012-09-11 Joseph Myers <joseph@codesourcery.com>
1287
1288 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1289 (_G_int32_t): Likewise.
1290 (_G_uint16_t): Likewise.
1291 (_G_uint32_t): Likewise.
1292 (_G_HAVE_BOOL): Likewise.
1293 (_G_HAVE_ATEXIT): Likewise.
1294 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1295 (_G_HAVE_IO_FILE_OPEN): Likewise.
1296 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1297 (_G_int32_t): Likewise.
1298 (_G_uint16_t): Likewise.
1299 (_G_uint32_t): Likewise.
1300 (_G_HAVE_BOOL): Likewise.
1301 (_G_HAVE_ATEXIT): Likewise.
1302 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1303 (_G_HAVE_IO_FILE_OPEN): Likewise.
1304 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1305 (_G_int32_t): Likewise.
1306 (_G_uint16_t): Likewise.
1307 (_G_uint32_t): Likewise.
1308 (_G_HAVE_BOOL): Likewise.
1309 (_G_HAVE_ATEXIT): Likewise.
1310 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1311 (_G_HAVE_IO_FILE_OPEN): Likewise.
1312
b1dc5912
L
13132012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1314
1315 * csu/libc-tls.c: Update copyright years.
1316
0e886ef9
JM
13172012-09-10 Joseph Myers <joseph@codesourcery.com>
1318
28361c5e
JM
1319 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1320 [!_G_USING_THUNKS]: Remove conditional code.
1321 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1322 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1323
0e886ef9
JM
1324 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1325 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1326 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1327 (_G_VTABLE_LABEL_PREFIX): Likewise.
1328 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1329 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1330 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1331 (_G_VTABLE_LABEL_PREFIX): Likewise.
1332 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1333 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1334 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1335 (_G_VTABLE_LABEL_PREFIX): Likewise.
1336 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1337
bcba7aa2
L
13382012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1339
1340 * libio/Makefile: Include ../Makeconfig before tests.
1341 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1342 only if $(build-shared) is yes.
1343
06585ee8
L
1344 * iconv/gconv_db.c: Update copyright years.
1345
80ccd52c
LD
13462012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1347
1348 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1349 unwind info if defined PIC. Fix special cases description.
1350 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1351
1352 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1353 DP_HI_MASK entry.
1354 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1355
691bc9c1
L
13562012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1357
3d9b46b3
L
1358 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1359
de2139a9
L
1360 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1361 is NULL.
1362
5ca78dd0
L
1363 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1364 (LDLIBS-tst-chk4): This.
1365 (LDFLAGS-tst-chk5): Renamed to ...
1366 (LDLIBS-tst-chk5): This.
1367 (LDFLAGS-tst-chk6): Renamed to ...
1368 (LDLIBS-tst-chk6): This.
1369 (LDFLAGS-tst-lfschk4): Renamed to ...
1370 (LDLIBS-tst-lfschk4): This.
1371 (LDFLAGS-tst-lfschk5): Renamed to ...
1372 (LDLIBS-tst-lfschk5): This.
1373 (LDFLAGS-tst-lfschk6): Renamed to ...
1374 (LDLIBS-tst-lfschk6): This.
1375
691bc9c1
L
1376 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1377 on $(common-objpfx)soversions.mk.
1378
65cafb1c
JM
13792012-09-07 Joseph Myers <joseph@codesourcery.com>
1380
1381 [BZ #10014]
1382 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1383 example host name.
1384
c78ab094
SP
13852012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1386
1387 * malloc/arena.c (arena_get_retry): New function that gets
1388 another arena for the caller to try its request on.
1389 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1390 current arena cannot fulfill the request.
1391 (__libc_memalign): Likewise.
1392 (__libc_memalign): Likewise.
1393 (__libc_pvalloc): Likewise.
1394 (__libc_calloc): Likewise.
1395
01f49f59
JT
13962012-09-05 John Tobey <john.tobey@gmail.com>
1397
1398 [BZ #13542]
1399 * manual/arith.texi (Operations on Complex): Fix description
1400 of carg branch cut.
1401
4c23fed5
JM
14022012-09-06 Joseph Myers <joseph@codesourcery.com>
1403
1d3c8572
JM
1404 [BZ #10014]
1405 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1406 host name.
1407
4c23fed5
JM
1408 [BZ #10038]
1409 * manual/memory.texi (Memory): Make order of menu items match
1410 order of sections.
1411
04570aaa
L
14122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1413
1414 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1415 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1416 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1417
b80af2f4
L
14182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1419
1420 * csu/libc-tls.c (static_dtv): Renamed to ...
1421 (_dl_static_dtv): This. Make it global.
1422 (_dl_initial_dtv): Removed.
1423 (__libc_setup_tls): Updated.
1424 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1425 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1426 DL_INITIAL_DTV.
1427
2abe9f15
PM
14282012-09-06 Petr Machata <pmachata@redhat.com>
1429
1430 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1431 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1432 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1433 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1434
0948c3af
L
14352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1436
1437 [BZ #14545]
1438 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1439 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1440 freeing dtv[-1].
1441
a5055ad1
L
14422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1443
1444 [BZ #14544]
1445 * Makeconfig (link-static-before-libc): Replace $(+prector)
1446 with $(+prectorT).
1447 (link-static-after-libc): Replace $(+postctor) with
1448 $(+postctorT).
1449 (link-bounded): Replace $(+prector)/$(+postctor) with
1450 $(+prectorT)/$(+postctorT).
1451 (+prectorT): New macro.
1452 (+postctorT): Likewise.
1453
ed8c2ecd
JM
14542012-09-06 Joseph Myers <joseph@codesourcery.com>
1455
1456 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1457 (round_str): Handle values above the maximum for IBM long double
1458 as inexact.
1459 * stdlib/tst-strtod-round.c (tests): Regenerated.
1460
14c996c8
AK
14612012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1462
1463 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1464 assembler flag.
1465 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1466 zarch_nohighgprs around the zarch optimized routines.
1467 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1468 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1469 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1470 for zarch.
1471
430d6ce6
DM
14722012-09-05 David S. Miller <davem@davemloft.net>
1473
1474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1475
ff04dda4
DM
1476 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1477 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1478 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1479 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1480 entries.
1481
24d4e01b
AO
14822012-09-05 Alexandre Oliva <aoliva@redhat.com>
1483
1484 * malloc/arena.c: Fold copyright years.
1485 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1486
61d58174
AO
14872012-09-05 Alexandre Oliva <aoliva@redhat.com>
1488
1489 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1490
20196a5e
AO
14912012-09-05 Alexandre Oliva <aoliva@redhat.com>
1492
1493 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1494
5c447383
AO
14952012-09-05 Alexandre Oliva <aoliva@redhat.com>
1496
1497 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1498 change internal state upon failure.
1499
fad64255
AO
15002012-09-05 Alexandre Oliva <aoliva@redhat.com>
1501
1502 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1503 * malloc/memusage.c (mmap): Likewise.
1504 (mmap64, mremap): Likewise. Adjust name in comment.
1505
1ffb8c90
SP
15062012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1507
1508 * libio/fileops.c: Fix typos in comments.
1509 * libio/oldfileops.c: Likewise.
1510 * libio/wfileops.c: Likewise.
1511
6ef9cc37
SP
15122012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1513
1514 [BZ #1349]
1515 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1516 (tst-malloc-usable-ENV): Set environment for test case.
1517 * malloc/hooks.c (malloc_check_get_size): New function to get
1518 requested size.
1519 * malloc/malloc.c (musable): Use malloc_check_get_size.
1520 * malloc/tst-malloc-usable.c: New test case.
1521
4d038ae3
AS
15222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1523
1524 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1525
c4e85184
AM
15262012-09-05 Allan McRae <allan@archlinux.org>
1527
b9dafc56 1528 [BZ #13966]
c4e85184
AM
1529 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1530 determine header location.
1531 * configure: Regenerated.
1532
e1343020
AS
15332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1534
1535 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1536 float format.
1537 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1538 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1539 format.
e1343020
AS
1540 (test): Regenerate.
1541
0a9f1987
DM
15422012-09-04 David S. Miller <davem@davemloft.net>
1543
1544 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1545 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1546 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1547
29237804
FW
15482012-09-04 Florian Weimer <fweimer@redhat.com>
1549
1550 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1551 failures.
1552
edb3cb88
FW
1553 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1554
60160d83
JM
15552012-09-04 Joseph Myers <joseph@codesourcery.com>
1556
1557 [BZ #9914]
1558 * libio/iogetdelim.c: Include <limits.h>.
1559 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1560 + len + 1 would overflow.
1561
bcd6c8dc
AJ
15622012-09-03 Andreas Jaeger <aj@suse.de>
1563
1564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1565 * sysdeps/i386/fpu/libm-test-ulps: Update.
1566
4ffffbd2
LD
15672012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1568
1569 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1570 Add s_sinf-sse2, s_conf-sse2.
1571
1572 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1573 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1574 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1575 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1576
1577 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1578 for using routine as __sinf_ia32.
1579 Use macro for function declaration and weak_alias.
1580 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1581 for using routine as __cosf_ia32.
1582 Use macro for function declaration and weak_alias.
1583
1584 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1585 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1586
1587 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1588 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1590
1591 * math/libm-test.inc (cos_test): Add more test cases.
1592 (sin_test): Likewise.
1593 (sincos_test): Likewise.
1594
511fa286
AK
15952012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1596
1597 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1598 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1599 hidden.
1600 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1601
5f30cfec
L
16022012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1603
1604 [BZ #14538]
1605 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1606 first element of the GOT.
1607 (elf_machine_load_address): Return the difference between
1608 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1609
0786794f
AM
16102012-09-01 Allan McRae <allan@archlinux.org>
1611
5f30cfec
L
1612 [BZ #13412]
1613 * configure.in (AWK): Require gawk version 3.0 or later.
1614 * configure: Regenerated.
0786794f 1615
26889eac
JM
16162012-09-01 Joseph Myers <joseph@codesourcery.com>
1617
1618 * sysdeps/unix/sysv/linux/kernel-features.h
1619 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1620 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1621 [__NR_clock_getres]: Make code unconditional.
1622 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1623 (clock_getcpuclockid): Remove code left unreachable by removal of
1624 conditionals.
1625 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1626 code unconditional.
1627 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1628 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1629 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1630 Make code unconditional.
1631 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1632 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1633 * sysdeps/unix/sysv/linux/clock_settime.c
1634 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1635 conditional code.
1636 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1637 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1638
d22e28b0
L
16392012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1640
1641 [BZ #14476]
1642 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1643 scripts/test-installation.pl.
1644
1645 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1646 and $ld_so_version if it is set.
1647
050af9c4
SP
16482012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1649
1650 [BZ #14516]
1651 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1652 failure if reading from procfs failed.
1653 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1654
ad845c0b
JM
16552012-08-27 Joseph Myers <joseph@codesourcery.com>
1656
1657 * sysdeps/unix/sysv/linux/kernel-features.h
1658 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1659 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1660 Remove conditional code.
1661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1662 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1663 Remove conditional code.
1664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1665 * sysdeps/unix/sysv/linux/i386/fxstat.c
1666 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1667 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1668 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1669 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1670 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1671 * sysdeps/unix/sysv/linux/i386/lxstat.c
1672 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1673 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1674 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1675 Remove conditional code.
1676 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1677 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1678 Remove conditional code.
1679 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1680 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1681 <kernel-features.h>.
1682 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1683 Remove.
1684 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1685 Remove conditional code.
1686 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1687 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1688 Remove conditional.
1689
5dbf56af
MF
16902012-08-27 Mike Frysinger <vapier@gentoo.org>
1691
1692 [BZ #5400]
1693 * NEWS: Add fixed bug number.
1694
d6e70f43
JM
16952012-08-27 Joseph Myers <joseph@codesourcery.com>
1696
7efb4737
JM
1697 [BZ #14519]
1698 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1699 underflowing exponent in case of negative sign.
1700 * stdlib/tst-strtod-round-data: Add more tests.
1701 * stdlib/tst-strtod-round.c (tests): Regenerated.
1702
af92131a
JM
1703 [BZ #3479]
1704 * stdlib/strtod_l.c (NDIG): Remove.
1705 (HEXNDIG): Likewise.
1706 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1707 smallest representable value.
1708 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1709 lie within an exact representation of 1/2 ulp of the result.
1710 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1711 unconditionally.
1712 (TENS_P9_IDX): Define unconditionally.
1713 (TENS_P9_SIZE): Likewise.
1714 (TENS_P10_IDX): Likewise.
1715 (TENS_P10_SIZE): Likewise.
1716 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1717 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1718 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1719 entries for 10^2^13 and 10^2^14.
1720 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1721 (TENS_P13_IDX): Define.
1722 (TENS_P13_SIZE): Likewise.
1723 (TENS_P14_IDX): Likewise.
1724 (TENS_P14_SIZE): Likewise.
1725 (_fpioconst_pow10): Change array size to
1726 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1727 unconditional.
1728 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1729 1024]: Add entries for 10^2^13 and 10^2^14.
1730 [LAST_POW10 > _LAST_POW10]: Remove #error.
1731 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1732 (_fpioconst_pow10): Change array size to
1733 FPIOCONST_POW10_ARRAY_SIZE.
1734 * stdlib/gen-fpioconst.c: New file.
1735 * stdlib/gen-tst-strtod-round.c: Likewise.
1736 * stdlib/tst-strtod-round-data: Likewise.
1737 * stdlib/tst-strtod-round.c: Likewise.
1738 * stdlib/Makefile (tests): Add tst-strtod-round.
1739
d6e70f43
JM
1740 [BZ #14459]
1741 * stdlib/strtod_l.c: Include <stdint.h>.
1742 (NDEBUG): Do not define.
1743 (round_and_return): Change EXPONENT parameter to type intmax_t.
1744 Rearrange calculations to avoid internal overflow possibilities.
1745 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1746 Rearrange calculations to avoid internal overflow possibilities.
1747 Assert that number fits inside MPNSIZE limbs.
1748 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1749 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1750 calculations and add assertions to avoid internal overflow
1751 possibilities. Add casts to avoid signed/unsigned operations.
1752 * stdlib/tst-strtod-overflow.c: New file.
1753 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1754
1f529f7d
MP
17552012-08-25 Marek Polacek <polacek@redhat.com>
1756
1757 * time/time.h: Fix some typos in comments.
1758
59a629f1
RM
17592012-08-23 Roland McGrath <roland@hack.frob.com>
1760
1761 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1762 * posix/tst-rfc3484-2.c: Likewise.
1763 * posix/tst-rfc3484-3.c: Likewise.
1764
d3bafbc9
SM
17652012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1766
1767 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1768 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1769
4efcc022
JM
17702012-08-23 Joseph Myers <joseph@codesourcery.com>
1771
1772 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1773 #include of fxstatat64.c.
1774
3cc3ef96
RM
17752012-08-22 Roland McGrath <roland@hack.frob.com>
1776
f04e2132
RM
1777 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1778 * shadow/getspent_r.c: Likewise.
1779 * shadow/getspnam.c: Likewise.
1780 * shadow/getspnam_r.c: Likewise.
1781 * gshadow/getsgent.c: Likewise.
1782 * gshadow/getsgent_r.c: Likewise.
1783 * gshadow/getsgnam.c: Likewise.
1784 * gshadow/getsgnam_r.c: Likewise.
1785 * inet/getnetbyad.c: Likewise.
1786 * inet/getnetbyad_r.c: Likewise.
1787 * inet/getnetbynm.c: Likewise.
1788 * inet/getnetbynm_r.c: Likewise.
1789 * inet/getnetent.c: Likewise.
1790 * inet/getnetent_r.c: Likewise.
1791 * inet/getproto.c: Likewise.
1792 * inet/getproto_r.c: Likewise.
1793 * inet/getprtent.c: Likewise.
1794 * inet/getprtent_r.c: Likewise.
1795 * inet/getprtname.c: Likewise.
1796 * inet/getprtname_r.c: Likewise.
1797 * inet/getrpcbyname.c: Likewise.
1798 * inet/getrpcbyname_r.c: Likewise.
1799 * inet/getrpcbynumber.c: Likewise.
1800 * inet/getrpcbynumber_r.c: Likewise.
1801 * inet/getrpcent.c: Likewise.
1802 * inet/getrpcent_r.c: Likewise.
1803 * inet/getaliasent.c: Likewise.
1804 * inet/getaliasent_r.c: Likewise.
1805 * inet/getaliasname.c: Likewise.
1806 * inet/getaliasname_r.c: Likewise.
1807 * nscd/getgrgid_r.c: Likewise.
1808 * nscd/getgrnam_r.c: Likewise.
1809 * nscd/gethstbyad_r.c: Likewise.
1810 * nscd/gethstbynm3_r.c: Likewise.
1811 * nscd/getpwnam_r.c: Likewise.
1812 * nscd/getpwuid_r.c: Likewise.
1813 * nscd/getsrvbynm_r.c: Likewise.
1814 * nscd/getsrvbypt_r.c: Likewise.
1815 * nscd/gai.c: Likewise.
1816
c53d909c
RM
1817 * configure.in (build_nscd): New substituted variable, set
1818 by --disable-build-nscd and defaults to $use_nscd.
1819 * configure: Regenerated.
1820 * config.make.in (build-nscd): New substituted variable.
1821 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1822 Change conditional to require [$(build-nscd) = yes] as well.
1823 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1824
3cc3ef96
RM
1825 [BZ# 13696]
1826 * configure.in (use_nscd): New substituted variable, set by
1827 --disable-nscd. If enabled, define USE_NSCD.
1828 * configure: Regenerated.
1829 * config.h.in: Add USE_NSCD.
1830 * config.make.in (use-nscd): New substituted variable.
1831 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1832 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1833 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1834 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1835 (CFLAGS-getgrnam_r.c): Likewise.
1836 (CFLAGS-initgroups.c): Likewise.
1837 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1838 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1839 Variables removed.
1840 * inet/getnetgrent_r.c
1841 (nscd_setnetgrent): New function, broken out of ...
1842 (setnetgrent): ... here. Call it.
1843 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1844 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1845 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1846 * nscd/Makefile (routines, aux): Move definitions after include of
1847 Makeconfig. Conditionalize on [$(use-nscd) != no].
1848 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1849 Conditionalize on [USE_NSCD].
1850 (is_nscd, nscd_init_cb): Likewise.
1851 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1852 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1853 * nss/nss_db/db-init.c: Likewise.
1854 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1855 [USE_NSCD].
1856 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1857 (make_request): Use it.
1858 (cache_valid_p): New function.
1859 (__check_pf): Use it.
1860 * NEWS: Add item for --disable-nscd.
1861
07e51550
DL
18622012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1863
1864 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1865 to support sed >= 4.2.1-20-ga9bf076.
1866 * configure: Regenerated.
1867
35a5b08b
RM
18682012-08-22 Roland McGrath <roland@hack.frob.com>
1869
1870 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1871 Conditionalize whole body on [IREL].
1872
8479f23a
JL
18732012-08-22 Jeff Law <law@redhat.com>
1874
1875 [BZ #14505]
1876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1877 if the family is PF_UNSPEC.
1878
48da0b21
MF
18792012-08-22 Mike Frysinger <vapier@gentoo.org>
1880
1881 * Makerules (lib-version): Rename from V.
1882 (install-lib-nosubdir): Change V to lib-version.
1883
15d0da8c
WS
18842012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1885
1886 [BZ #14252]
1887 * powerpc32/power6/wcschr.c: New file.
1888 * powerpc32/power6/wcscpy.c: New file.
1889 * powerpc32/power6/wcsrchr.c: New file.
1890 * powerpc64/power6/wcschr.c: New file.
1891 * powerpc64/power6/wcscpy.c: New file.
1892 * powerpc64/power6/wcsrchr.c: New file.
1893
bcca0895
MK
18942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1895
1896 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1897 (two_way_short_needle): Use it.
5a4aaa33
RM
1898 * string/strstr.c (AVAILABLE1_USES_J): Define.
1899 * string/strcasestr.c: Likewise.
99677e57
MK
1900
1901 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1902 array references.
1903 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1904
400726de
MK
1905 [BZ #11607]
1906 * NEWS: Add an entry.
1907 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1908 define their defaults.
1909 (two_way_short_needle): Detect end-of-string on-the-fly.
1910 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1911 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1912 * string/bug-strcasestr1.c: New test.
1913 * string/Makefile: Run it.
1914
20a71f2c
MK
19152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1916
1917 [BZ #11607]
1918 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1919 the first character.
1920
21ad0558
RM
19212012-08-21 Roland McGrath <roland@hack.frob.com>
1922
1923 * csu/elf-init.c (__libc_csu_irel): Function removed.
1924 * csu/libc-start.c (apply_irel): New function.
1925 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1926
0e1d9911
JM
19272012-08-21 Joseph Myers <joseph@codesourcery.com>
1928
1929 * sysdeps/unix/sysv/linux/kernel-features.h
1930 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1931 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1932 <kernel-features.h>.
1933 [__NR_fadvise64_64]: Make code unconditional.
1934 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1935 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1936 !__NR_fadvise64_64)]: Likewise.
1937 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1938 !__NR_fadvise64_64))]: Likewise.
1939 [__NR_fadvise64]: Make code unconditional.
1940 [!__NR_fadvise64]: Remove conditional code.
1941 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1942 <kernel-features.h>.
1943 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1944 unconditional.
1945 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1946 conditional code.
1947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1948 not include <kernel-features.h>.
1949 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1950 unconditional.
1951 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1952 conditional code.
1953 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1954 include <kernel-features.h>.
1955 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1956 unconditional.
1957 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1958 conditional code.
1959
14a50c9d
WS
19602012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1961
1962 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1963 slight instruction rearrangements per scrollpipe analysis.
1964 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1965
c0f4faf0
RM
19662012-08-20 Roland McGrath <roland@hack.frob.com>
1967
696da859
RM
1968 * manual/syslog.texi (syslog; vsyslog, closelog):
1969 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1970 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1971
c0f4faf0
RM
1972 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1973 DSOCAPS to match condition on defining it.
1974
348363b2
JM
19752012-08-20 Joseph Myers <joseph@codesourcery.com>
1976
a35cbf28
JM
1977 * sysdeps/unix/sysv/linux/kernel-features.h
1978 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1980 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1981 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1983 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1984 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1986 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1987 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1988
445f7ecd
JM
1989 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1990 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1991
348363b2
JM
1992 * sysdeps/unix/sysv/linux/kernel-features.h
1993 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1994 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1995 unconditional.
1996 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1997 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1998 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1999 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2000 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2001 Make code unconditional.
2002 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2003 (__mmap64) [!__NR_mmap2]: Likewise.
2004 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2005 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2006 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2007 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2008 [__NR_mmap2]: Make code unconditional.
2009 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2010 (__mmap64) [!__NR_mmap2]: Likewise.
2011
bc5bc0e5
AK
20122012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2013
2014 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2015
88d506de
AJ
20162012-08-18 Andreas Jaeger <aj@suse.de>
2017
2018 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2019
493387d2
MF
20202012-08-18 Mike Frysinger <vapier@gentoo.org>
2021
2022 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2023 * include/unistd.h (__have_sock_cloexec): Likewise.
2024 (__have_pipe2): Likewise.
2025 (__have_dup3): Likewise.
2026
a277af22
MF
20272012-08-18 Mike Frysinger <vapier@gentoo.org>
2028
2029 [BZ #9685]
2030 * include/unistd.h (__have_pipe2): Change define into an extern int.
2031 (__have_dup3): Likewise.
2032 * socket/have_sock_cloexec.c: Include fcntl.h.
2033 (__have_pipe2): New variable.
2034 (__have_dup3): Likewise.
2035
fdab8fd3
MF
20362012-08-17 Mike Frysinger <vapier@gentoo.org>
2037
2038 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2039
31035e80
MP
20402012-08-17 Marek Polacek <polacek@redhat.com>
2041
2042 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2043 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2044
3bd9e993
RM
20452012-08-17 Roland McGrath <roland@hack.frob.com>
2046
c91c505f
RM
2047 * configure.in: Add AC_SUBST for sysheaders.
2048 * configure: Regenerated.
2049 * config.make.in (sysheaders): New substituted variable.
2050
7c6f9d53
RM
2051 * sysdeps/unix/mkfifo.c: Moved ...
2052 * sysdeps/posix/mkfifo.c: ... here.
2053 * sysdeps/unix/mkfifoat.c: Moved ...
2054 * sysdeps/posix/mkfifoat.c: ... here.
2055
2056 * sysdeps/unix/utime.c: Moved ...
2057 * sysdeps/posix/utime.c: ... here.
2058
2059 * sysdeps/unix/time.c: Moved ...
2060 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2061 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2062 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2063
2064 * sysdeps/unix/nice.c: Moved ...
2065 * sysdeps/posix/nice.c: ... here.
2066
2067 * sysdeps/unix/alarm.c: Moved ...
2068 * sysdeps/posix/alarm.c: ... here.
2069
3bd9e993
RM
2070 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2071
d1f09384
JL
20722012-08-17 Jeff Law <law@redhat.com>
2073
2074 * intl/Makefile (codeset_mo): New variable.
2075 ($(codeset_mo)): New target.
2076 (tst-codeset.out): Depend on that. Remove explicit rule.
2077 (tst-gettext3.out, tst-gettext5.out): Likewise.
2078 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2079 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2080 * intl/tst-codeset.sh: Remove.
2081 * intl/tst-gettext3.sh: Likewise.
2082 * intl/tst-gettext5.sh: Likewise.
2083
2ae1ae5c
RM
20842012-08-17 Roland McGrath <roland@hack.frob.com>
2085
c31fdb83
RM
2086 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2087 * sysdeps/unix/syscalls.list: ... here.
2088
a0844057
RM
2089 * sysdeps/posix/getaddrinfo.c
2090 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2091 (gaiconf_init, gaiconf_reload): Use them.
2092 [!_STATBUF_ST_NSEC]
2093 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2094 Define using time_t rather than struct timespec.
2095
750c1f2a
RM
2096 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2097 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2098 Macros removed.
2099 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2100 [!NO_THREADS].
2101 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2102 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2103 Likewise.
2104
2ae1ae5c
RM
2105 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2106 __libc_cleanup_push argument.
2107
e66a42f5
RM
2108 * bits/param.h: New file.
2109 * misc/sys/param.h: New file.
2110 * include/sys/param.h: New file.
2111 * misc/Makefile (headers): Add bits/param.h.
2112 * sysdeps/generic/sys/param.h: File removed.
2113 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2114 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2115 * sysdeps/mach/hurd/bits/param.h: New file.
2116 * sysdeps/mach/hurd/sys/param.h: New file.
2117
b7c08a66
RM
2118 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2119 last change.
2120
b2e1c562
RM
2121 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2122 [_IO_MTSAFE_IO].
2123 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2124 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2125 New macros.
2126
c75ccd4c
RM
2127 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2128 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2129 rather than -D_IO_MTSAFE_IO conditionally.
2130 * stdio-common/Makefile (CPPFLAGS): Likewise.
2131 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2132 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2133 Use $(libio-mtsafe).
2134 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2135 of -D_IO_MTSAFE_IO.
2136 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2137 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2138 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2139 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2140 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2141 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2142 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2143 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2144 (CFLAGS-fread_u_chk.c): Likewise.
2145 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2146 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2147 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2148 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2149 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2150 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2151 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2152 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2153 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2154
2155 * libio/Makefile: Test [$(libc-reentrant) = yes]
2156 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2157
2158 * Makeconfig
2159 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2160 * sysdeps/pthread/configure: File removed.
2161 * sysdeps/pthread/Makeconfig: New file.
2162 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2163 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2164
d9195db8
GB
21652012-08-16 Gary Benson <gbenson@redhat.com>
2166
2167 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2168 unmapping the first object in a namespace.
2169
86466cd9
RM
21702012-08-16 Roland McGrath <roland@hack.frob.com>
2171
2172 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2173 (__internal_setnetgrent): ... this. Add internal_function to
2174 definition. Add libc_hidden_def.
2175 (setnetgrent): Update caller.
2176 (internal_endnetgrent): Renamed to ...
2177 (__internal_endnetgrent): ... this. Add internal_function to
2178 definition. Add libc_hidden_def.
2179 (endnetgrent): Update caller.
2180 (internal_getnetgrent_r): Renamed to ...
2181 (__internal_getnetgrent_r): ... this. Add internal_function to
2182 definition. Add libc_hidden_def.
2183 (__getnetgrent_r): Update caller.
2184 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2185
c3c8283c
JM
21862012-08-16 Joseph Myers <joseph@codesourcery.com>
2187
2188 * stdlib/longlong.h: Update from GCC.
2189
db1ee0a8
RM
21902012-08-16 Roland McGrath <roland@hack.frob.com>
2191
2192 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2193 on _QL, which is set by umul_ppmm but never used.
2194 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2195 variables, which are set by GMP macros but never used.
2196 * stdio-common/_itowa.c (_itowa): Likewise.
2197 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2198 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2199
30f69637
CD
22002012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2201
2202 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2203 struct La_sh_regs is not constant.
2204 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2205 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2206 and struct La_sparc64_regs are not constant.
2207
93a78ac4
JM
22082012-08-16 Joseph Myers <joseph@codesourcery.com>
2209
2210 * sysdeps/unix/sysv/linux/kernel-features.h
2211 (__ASSUME_POSIX_TIMERS): Remove.
2212 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2213 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2214 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2215 Make code unconditional.
2216 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2217 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2218 Make code unconditional.
2219 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2220 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2221 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2222 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2223 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2224 Make code unconditional.
2225 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2226 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2227 (__libc_missing_posix_timers): Remove.
2228
dd924cd7
RM
22292012-08-15 Roland McGrath <roland@hack.frob.com>
2230
4b4f2771
RM
2231 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2232 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2233
601c888b
RM
2234 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2235
176790a7
RM
2236 * elf/dl-sym.c: Include <stdlib.h>.
2237
329bc018
RM
2238 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2239 constants, which avoids warnings in 32-bit builds.
2240
e04e272d
RM
2241 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2242 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2243
952bf94a
RM
2244 * misc/lseek.c: File moved to ...
2245 * io/lseek.c: ... here.
2246
7c99b50a
RM
2247 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2248
dd924cd7
RM
2249 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2250 shifting LEN more than 31 bits at once.
2251
b3f479a8
LD
22522012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2253
2254 [BZ #14195]
8c4ae0d4
RM
2255 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2256 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2257 * string/test-strncasecmp.c (check1): Renamed to...
2258 (bz12205): ...this.
2259 (bz14195): Add new testcase for two empty input strings and N > 0.
2260 (test_main): Call new testcase, adapt for renamed function.
2261
9c55864e
AJ
22622012-08-15 Andreas Jaeger <aj@suse.de>
2263
2264 [BZ #14090]
2265 * crypt/md5test2.c: New test, based on test supplied by Serge
2266 Belyshev <belyshev@depni.sinp.msu.ru>.
2267 * crypt/Makefile (xtests): Add md5test-giant..
2268 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2269
02dcb6c5
PE
22702012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2271
2272 [BZ #14090]
2273 * crypt/md5.c (md5_process_block): Don't assume the buffer
2274 length is less than 2**32.
2275 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2276 length is less than 2**64.
2277
a3f95dcc
RM
22782012-08-15 Roland McGrath <roland@hack.frob.com>
2279
be75d758
RM
2280 * string/str-two-way.h: Include <sys/param.h>.
2281 (MAX): Macro removed.
2282
7312ca90
RM
2283 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2284 Move #define and #undef of memmove to just before and after
2285 including <string.h>.
2286
9a0a5486
RM
2287 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2288 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2289 and after including <string.h>. Move declarations of
2290 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2291 to before #include "string/memmove.c".
2292
67cc348d
RM
2293 * include/dirent.h: Declare __getdirentries.
2294
a3f95dcc
RM
2295 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2296 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2297
ca98e171
MF
22982012-08-14 Mike Frysinger <vapier@gentoo.org>
2299
2300 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2301 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2302 * sysdeps/i386/configure: Regenerated.
2303 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2304 STABS_CURRENT_FILE, and STABS_FUN.
2305 (END): Remove call to STABS_FUN_END.
2306 (STABS_CURRENT_FILE1): Delete.
2307 (STABS_CURRENT_FILE): Likewise.
2308 (STABS_FUN): Likewise.
2309 (STABS_FUN_END): Likewise.
2310 (STABS_FUN2): Likewise.
2311 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2312 * sysdeps/x86_64/configure: Regenerated.
2313
5908bf46
RM
23142012-08-14 Roland McGrath <roland@hack.frob.com>
2315
2316 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2317 * elf/dl-lookup.c: Likewise.
5908bf46 2318
f2c05b9e
JM
23192012-08-14 Joseph Myers <joseph@codesourcery.com>
2320
2321 * sysdeps/unix/sysv/linux/kernel-features.h
2322 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2323 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2324 unconditionally.
2325 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2326 unconditionally.
2327 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2328 condition on __ASSUME_CLONE_THREAD_FLAGS.
2329
e11f5155
AJ
23302012-08-14 Andreas Jaeger <aj@suse.de>
2331
2332 * sysdeps/i386/fpu/libm-test-ulps: Update.
2333
51a9ba86
MK
23342012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2335
2fdd4f78
AJ
2336 * include/atomic.h (atomic_exchange_and_add): Split into ...
2337 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2338 New atomic macros.
51a9ba86 2339
ba6cba9e
MT
23402012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2341
2342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2343
42443a47
JL
23442012-08-13 Jeff Law <law@redhat.com>
2345
2346 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2347 null byte in the output string.
2348
121dce05
JM
23492012-08-10 Joseph Myers <joseph@codesourcery.com>
2350
2351 * sysdeps/unix/sysv/linux/kernel-features.h
2352 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2353 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2354 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2355 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2356 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2357 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2358 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2359
bf51f568
JL
23602012-08-09 Jeff Law <law@redhat.com>
2361
2362 [BZ #13939]
2363 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2364 When avoid_arena is set, don't retry in the that arena. Pick the
2365 next one, whatever it might be.
2366 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2367 (arena_lock): Pass in new parameter to arena_get2.
2368 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2369 arena_get2.
2370 (__libc_malloc): Unify retrying after main arena failure with
2371 __libc_memalign version.
2372 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2373
f85fa270
L
23742012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2375
2376 [BZ #14166]
2377 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2378 to __redirect_strstr.
2379 (__strstr_sse42): Use typeof __redirect_strstr.
2380 (__strstr_ia32): Likewise.
2381 (__libc_strstr): New prototype.
2382 (strstr): Renamed to ...
2383 (__libc_strstr): This.
2384 (strstr): New strong alias of __libc_strstr.
2385 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2386 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2387 __redirect_time.
2388 Include <time.h>.
2389 (__libc_time): New prototype.
2390 (time_ifunc): Replace time with __libc_time.
2391 (time): New strong alias and hidden definition of __libc_time.
2392 (__GI_time): Remove strong alias.
2393 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2394 Include <stddef.h>.
2395 (memmove): Redefined to __redirect_memmove.
2396 (__memmove_sse2): Use typeof __redirect_memmove.
2397 (__memmove_ssse3): Likewise.
2398 (__memmove_ssse3_back): Likewise.
2399 (__libc_memmove): New prototype.
2400 (memmove): Renamed to ...
2401 (__libc_memmove): This.
2402 (memmove): New strong alias of __libc_memmove.
2403
33b4a91e
MS
24042012-08-08 Mark Salter <msalter@redhat.com>
2405
2406 * elf/elf.h
2407 (R_MN10300_TLS_GD): Define.
2408 (R_MN10300_TLS_LD): Likewise.
2409 (R_MN10300_TLS_LDO): Likewise.
2410 (R_MN10300_TLS_GOTIE): Likewise.
2411 (R_MN10300_TLS_IE): Likewise.
2412 (R_MN10300_TLS_LE): Likewise.
2413 (R_MN10300_TLS_DTPMOD): Likewise.
2414 (R_MN10300_TLS_DTPOFF): Likewise.
2415 (R_MN10300_TLS_TPOFF): Likewise.
2416 (R_MN10300_SYM_DIFF): Likewise.
2417 (R_MN10300_ALIGN): Likewise.
2418 (R_MN10300_NUM): Update.
2419
b36137f1
JM
24202012-08-08 Joseph Myers <joseph@codesourcery.com>
2421
2422 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2423 Remove.
2424
cdd915fd
RM
24252012-08-08 Roland McGrath <roland@hack.frob.com>
2426
a2433aac
RM
2427 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2428
cdd915fd
RM
2429 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2430 sysdeps/unix -> sysdeps/posix move.
2431 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2432
bf9b740a
AM
24332012-08-07 Allan McRae <allan@archlinux.org>
2434
2435 [BZ #14303]
2436 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2437 (SUNOS_CPP): Likewise.
2438 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2439 not found.
2440 (open_input): Call CPP using execvp.
2441
93df14ee
JM
24422012-08-07 Joseph Myers <joseph@codesourcery.com>
2443
2444 * sysdeps/unix/sysv/linux/kernel-features.h
2445 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2446 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2447 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2448 (__ASSUME_WAITID_SYSCALL): Likewise.
2449 * sysdeps/unix/sysv/linux/dl-execstack.c
2450 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2451 code unconditional.
2452 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2453 conditional code.
2454 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2455 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2456 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2457 code.
2458 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2459 unconditional.
2460 [__ASSUME_WAITID_SYSCALL]: Likewise.
2461 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2462
d34689de
RM
24632012-08-07 Roland McGrath <roland@hack.frob.com>
2464
a281decc
RM
2465 * sysdeps/unix/closedir.c: Renamed to ...
2466 * sysdeps/posix/closedir.c: ... here.
2467 * sysdeps/unix/dirfd.c: Renamed to ...
2468 * sysdeps/posix/dirfd.c: ... here.
2469 * sysdeps/unix/dirstream.h: Renamed to ...
2470 * sysdeps/posix/dirstream.h: ... here.
2471 * sysdeps/unix/fdopendir.c: Renamed to ...
2472 * sysdeps/posix/fdopendir.c: ... here.
2473 * sysdeps/unix/opendir.c: Renamed to ...
2474 * sysdeps/posix/opendir.c: ... here.
2475 * sysdeps/unix/readdir.c: Renamed to ...
2476 * sysdeps/posix/readdir.c: ... here.
2477 * sysdeps/unix/readdir_r.c: Renamed to ...
2478 * sysdeps/posix/readdir_r.c: ... here.
2479 * sysdeps/unix/rewinddir.c: Renamed to ...
2480 * sysdeps/posix/rewinddir.c: ... here.
2481 * sysdeps/unix/seekdir.c: Renamed to ...
2482 * sysdeps/posix/seekdir.c: ... here.
2483 * sysdeps/unix/telldir.c: Renamed to ...
2484 * sysdeps/posix/telldir.c: ... here.
2485 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2486 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2487 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2488 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2489
22895b47
RM
2490 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2491 * bits/fcntl.h: ... here.
2492
707a53b6
RM
2493 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2494 not 0.
2495 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2496 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2497 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2498 (struct flock): Move l_start, l_len to the beginning.
2499 Use __pid_t for l_pid.
2500 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2501 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2502 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2503 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2504 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2505 [__USE_LARGEFILE64] (struct flock64): New type.
2506 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2507
f0bd3e25
RM
2508 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2509 * bits/dirent.h: ... here.
2510
d34689de
RM
2511 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2512 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2513
6dad2c06
JM
25142012-08-07 Joseph Myers <joseph@codesourcery.com>
2515
2516 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2517 Change from 2.6.0 to 2.6.16.
2518 * sysdeps/unix/sysv/linux/configure: Regenerated.
2519 * sysdeps/unix/sysv/linux/kernel-features.h
2520 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2521 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2522 version.
2523 (__ASSUME_UTIMES): Likewise.
2524 (__ASSUME_CLONE_STOPPED): Remove.
2525 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2526 architectures, not kernel version.
2527 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2528 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2529 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2530 (__ASSUME_WAITID_SYSCALL): Likewise.
2531 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2532 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2533 * README: State 2.6.16 as minimum Linux kernel version. Do not
2534 refer to older versions.
2535
03af9520
RM
25362012-08-06 Roland McGrath <roland@hack.frob.com>
2537
8e49df1d
RM
2538 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2539 Define alphasort64 as an alias.
2540 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2541 Define versionsort64 as an alias.
2542 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2543 Define scandir64 as an alias.
2544 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2545 Define scandirat64 as an alias.
2546 * dirent/alphasort64.c (alphasort64):
2547 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2548 * dirent/versionsort64.c: Likewise.
2549 * dirent/scandir64.c: Likewise.
2550 * dirent/scandirat64.c: Likewise.
2551 * sysdeps/wordsize-64/alphasort.c: File removed.
2552 * sysdeps/wordsize-64/alphasort64.c: File removed.
2553 * sysdeps/wordsize-64/scandir.c: File removed.
2554 * sysdeps/wordsize-64/scandir64.c: File removed.
2555 * sysdeps/wordsize-64/scandirat.c: File removed.
2556 * sysdeps/wordsize-64/scandirat64.c: File removed.
2557 * sysdeps/wordsize-64/versionsort.c: File removed.
2558 * sysdeps/wordsize-64/versionsort64.c: File removed.
2559 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2560 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2561 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2562 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2563 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2564 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2565 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2566 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2567
2568 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2569 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2570 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2572 [defined __arch64__ || defined __sparcv9]
2573 (__INO_T_MATCHES_INO64_T): New macro.
2574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2575 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2576 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2577 * sysdeps/unix/sysv/linux/bits/dirent.h
2578 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2579 (_DIRENT_MATCHES_DIRENT64): New macro.
2580
03af9520
RM
2581 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2582 Define lockf64 as an alias.
2583 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2584 Define fseeko64 as an alias.
2585 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2586 Define ftello64 as an alias.
2587 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2588 Define _IO_fgetpos64 and fgetpos64 as aliases.
2589 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2590 Define _IO_fsetpos64 and fsetpos64 as aliases.
2591 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2592 Conditionalize body on this.
2593 * libio/fseeko64.c: Likewise.
2594 * libio/ftello64.c: Likewise.
2595 * libio/iofgetpos64.c: Likewise.
2596 * libio/iofsetpos64.c: Likewise.
2597 * sysdeps/wordsize-64/lockf.c: File removed.
2598 * sysdeps/wordsize-64/lockf64.c: File removed.
2599 * sysdeps/wordsize-64/fseeko.c: File removed.
2600 * sysdeps/wordsize-64/fseeko64.c: File removed.
2601 * sysdeps/wordsize-64/ftello.c: File removed.
2602 * sysdeps/wordsize-64/ftello64.c: File removed.
2603 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2604 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2605 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2606 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2607 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2608 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2609 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2610 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2611 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2612 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2613 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2614 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2615 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2616 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2617
2618 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2619 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2620 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2621 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2622 [defined __arch64__ || defined __sparcv9]
2623 (__OFF_T_MATCHES_OFF64_T): New macro.
2624 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2625 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2626 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2627 (__OFF_T_MATCHES_OFF64_T): New macro.
2628
c5757acd
L
26292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2630
2631 * stdlib/secure-getenv.c (__secure_getenv): Replace
2632 GLIBC_2_16 with GLIBC_2_17.
2633
3a31811e
L
26342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2635
2636 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2637 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2638
faa2bccb
DM
26392012-08-03 David S. Miller <davem@davemloft.net>
2640
2641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2642
85fe1997
JM
26432012-08-03 Joseph Myers <joseph@codesourcery.com>
2644
2645 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2646 Remove.
2647 (__ASSUME_CORRECT_SI_PID): Likewise.
2648 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2649 (__ASSUME_TMPFS_NAME): Likewise.
2650 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2651 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2652 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2653 (HAVE_AUX_SECURE): Make definition unconditional.
2654 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2655 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2656
4f75b7a0
RM
26572012-08-03 Roland McGrath <roland@hack.frob.com>
2658
2659 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2660 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2661 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2662 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2663 __eloop_threshold instead of SYMLOOP_MAX.
2664
2665 * sysdeps/generic/eloop-threshold.h: New file.
2666 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2667 of MAXSYMLINKS.
2668 * elf/chroot_canon.c (chroot_canon): Likewise.
2669
7aab07e4
JM
26702012-08-03 Joseph Myers <joseph@codesourcery.com>
2671
2672 [BZ #13717]
2673 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2674 Change to 2.6.0 everywhere.
2675 * sysdeps/unix/sysv/linux/configure: Regenerated.
2676 * sysdeps/unix/sysv/linux/kernel-features.h
2677 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2678 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2679 kernel versions.
2680 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2681 (__ASSUME_FUTEX_REQUEUE): Remove.
2682 (__ASSUME_STATFS64): Define unconditionally.
2683 (__ASSUME_AT_SECURE): Likewise.
2684 (__ASSUME_CORRECT_SI_PID): Likewise.
2685 (__ASSUME_TGKILL): Define without depending on kernel version for
2686 i386.
2687 (__ASSUME_UTIMES): Likewise.
2688 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2689 kernel version.
2690 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2691 (__ASSUME_TMPFS_NAME): Likewise.
2692 * README: Update reference to Linux kernel versions.
2693
b67e9372
MP
26942012-08-02 Marek Polacek <polacek@redhat.com>
2695
1f529f7d 2696 [BZ# 14150]
b67e9372
MP
2697 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2698 libc_cv_asm_type_prefix with %.
2699 * configure: Regenerated.
d2441631
RM
2700 * include/libc-symbols.h: Remove comment about
2701 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2702 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2703 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2704 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2705 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2706 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2707 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2708 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2709 * elf/tst-unique2mod1.c: Likewise.
2710 * elf/tst-unique1mod2.c: Likewise.
2711 * elf/tst-unique1mod1.c: Likewise.
2712 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2713 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2714 Replace ASM_TYPE_DIRECTIVE with .type.
2715 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2716 * sysdeps/i386/sysdep.h: Likewise.
2717 * sysdeps/x86_64/sysdep.h: Likewise.
2718 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2720 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2721 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2722 * sysdeps/powerpc/powerpc32/sysdep.h:
2723 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2724 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2725 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2726 * sysdeps/i386/fpu/e_powf.S: Likewise.
2727 * sysdeps/i386/fpu/e_expl.S: Likewise.
2728 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2729 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2730 * sysdeps/i386/fpu/e_pow.S: Likewise.
2731 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2732 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2733 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2734 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2735 * sysdeps/i386/fpu/e_log2.S: Likewise.
2736 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2737 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2738 * sysdeps/i386/fpu/e_powl.S: Likewise.
2739 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2740 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2741 * sysdeps/i386/fpu/e_logl.S: Likewise.
2742 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2743 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2744 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2745 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2746 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2747 * sysdeps/i386/fpu/e_log.S: Likewise.
2748 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2749 * sysdeps/i386/fpu/e_logf.S: Likewise.
2750 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2751 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2752 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2753 * sysdeps/i386/fpu/e_log10.S: Likewise.
2754 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2755 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2756 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2757 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2758 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2759 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2760 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2761 * sysdeps/i386/i686/strtok.S: Likewise.
2762 * sysdeps/i386/i386-mcount.S: Likewise.
2763 * sysdeps/i386/strtok.S: Likewise.
2764 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2765 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2766 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2767 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2768 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2769 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2770 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2771 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2772 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2773 * sysdeps/x86_64/_mcount.S: Likewise.
2774 * sysdeps/x86_64/strtok.S: Likewise.
2775 * sysdeps/sh/_mcount.S: Likewise.
2776
2747bf9a
RM
27772012-08-01 Roland McGrath <roland@hack.frob.com>
2778
2779 * libio/iofopen.c: Include <fcntl.h>.
2780 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2781 (_IO_fopen64, fopen64): Define as aliases.
2782 * libio/iofopen64.c: Include <fcntl.h>.
2783 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2784 Conditionalize body on this.
2785 * sysdeps/wordsize-64/iofopen.c: File removed.
2786 * sysdeps/wordsize-64/iofopen64.c: File removed.
2787
3fb791b8
MP
27882012-08-01 Marek Polacek <polacek@redhat.com>
2789
2790 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2791 Use dlfcn directly instead of a variable.
2792 (binfmt-subdir): Do not define.
2793 (dlfcn): Likewise.
2794
a9f1039f
JM
27952012-08-01 Joseph Myers <joseph@codesourcery.com>
2796
23bddc06
JM
2797 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2798 Remove all definitions.
2799 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2800 <kernel-features.h>.
2801 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2802 (miss_F_GETOWN_EX): Remove all definitions.
2803 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2804 macro definition.
2805 [!__ASSUME_FCNTL64]: Remove conditional code.
2806 [__ASSUME_FCNTL64]: Make code unconditional.
2807 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2808 <kernel-features.h>.
2809 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2810 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2811 (lockf64) [__NR_fcntl64]: Make code unconditional.
2812 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2813
a9f1039f
JM
2814 * sysdeps/unix/sysv/linux/kernel-features.h
2815 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2816 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2817 Make code unconditional.
2818 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2819 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2821 [__NR_vfork]: Make code unconditional.
2822 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2823 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2825 [__NR_vfork]: Make code unconditional.
2826 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2827 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2828
09c0ee5f
RM
28292012-08-01 Roland McGrath <roland@hack.frob.com>
2830
48aec5b9
RM
2831 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2832 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2833
cd97c966
RM
2834 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2835 Define mkstemp64 as an alias.
3f55550c
RM
2836 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2837 Define mkstemps64 as an alias.
cd97c966
RM
2838 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2839 Define mkostemp64 as an alias.
b8625cfc
RM
2840 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2841 Define mkostemps64 as an alias.
cd97c966
RM
2842 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2843 Conditionalize body on this.
2844 * misc/mkostemp64.c: Likewise.
b8625cfc 2845 * misc/mkostemps64.c: Likewise.
3f55550c 2846 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2847 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2848 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2849 * sysdeps/wordsize-64/mkostemp.c: File removed.
2850 * sysdeps/wordsize-64/mkstemp.c: File removed.
2851 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2852 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2853 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2854 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2855
09c0ee5f
RM
2856 [BZ #14138]
2857 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2858 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2859 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2860 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2861
2862 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2863 compat_symbol macros from <shlib-compat.h> rather than the underlying
2864 default_symbol_version and symbol_version macros, so that DEFAULT
2865 lines in shlib-versions are respected.
2866 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2867
7e66ee51
FW
28682012-08-01 Florian Weimer <fweimer@redhat.com>
2869
2870 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2871 Declare with warn_unused_result.
2872 (setgid, setregid, setegid, setresgid): Likewise.
2873 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2874 Likewise.
2875 * WUR-REPORT: Remove set*id functions.
2876
d2a54255
PT
28772012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2878
2879 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2880
7ecdb005
RM
28812012-07-31 Roland McGrath <roland@hack.frob.com>
2882
789bd351
RM
2883 * include/sys/socket.h (__libc_accept, __libc_accept4):
2884 Add attribute_hidden.
2885 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2886
40ce302d
RM
2887 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2888 use of PTR_MANGLE.
2889 * inet/getnetgrent_r.c (setup): Likewise.
2890
7ecdb005
RM
2891 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2892
e2eabb2c
DM
28932012-07-31 David S. Miller <davem@davemloft.net>
2894
2895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2896
d0419dbf
JM
28972012-07-31 Joseph Myers <joseph@codesourcery.com>
2898
2899 [BZ #13629]
2900 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2901 value between 1.0 and 2.0 and smaller part has absolute value less
2902 than 1.0.
2903 * math/s_clog10.c (__clog10): Likewise.
2904 * math/s_clog10f.c (__clog10f): Likewise.
2905 * math/s_clog10l.c (__clog10l): Likewise.
2906 * math/s_clogf.c (__clogf): Likewise.
2907 * math/s_clogl.c (__clogl): Likewise.
2908 * math/libm-test.inc (clog_test): Add more tests.
2909 (clog10_test): Likewise.
2910 * sysdeps/i386/fpu/libm-test-ulps: Update.
2911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2912
2bc13872
FW
29132012-07-31 Florian Weimer <fweimer@redhat.com>
2914
2915 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2916 Exit with zero in case no suitable GID is found, and write a
2917 message to standard error.
2918
bea9b193
RM
29192012-07-30 Roland McGrath <roland@hack.frob.com>
2920
2921 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2922 rather than to 1.
2923 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2924 (MAXPATHLEN): Removed.
2925 (NOGROUP, NODEV): New macros.
2926 (setbit, clrbit, isset, isclr): New macros.
2927 (howmany, roundup, powerof2): New macros.
2928 (DEV_BSIZE): New macro.
2929
2930 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2931 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2932
2933 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2934 definition on [!__NO_LONG_DOUBLE_MATH].
2935
2936 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2937 PTR_MANGLE and PTR_DEMANGLE.
2938
2939 * socket/accept4.c (accept4): Rename to __libc_accept4.
2940 Define accept4 as a weak alias.
2941
2942 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2943 on [_DIRENT_HAVE_D_TYPE].
2944 * io/ftw.c (ftw_dir): Likewise.
2945
2946 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2947
2948 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2949
2950 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2951 Use the BSD numbers rather than the arbitrary ones we had.
2952 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2953 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2954 (SIGXCPU, SIGXFSZ): New macros.
2955 (_NSIG): Now 32.
2956
2957 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2958 initializer on [_LIBC_REENTRANT].
2959
2960 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2961 definitions inside [_POSIX_MAPPED_FILES].
2962
2963 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2964
2965 * dirent/opendir.c: Include <fcntl.h>.
2966
2967 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2968 (__libc_getspecific): Likewise.
2969 (__libc_key_create): Likewise.
2970
2971 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2972 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2973 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2974 (tmpfile64): Define as alias.
2975 * sysdeps/wordsize-64/tmpfile.c: File removed.
2976 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2977 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2978 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2979
2980 * stdio-common/vfscanf.c: Include <stdbool.h>.
2981 * nss/makedb.c: Likewise.
2982 * stdio-common/_i18n_number.h: Likewise.
2983 * argp/argp-help.c: Likewise.
2984 * posix/wordexp.c: Likewise.
2985 * sysdeps/posix/spawni.c: Likewise.
2986 * nss/nss_files/files-initgroups.c: Likewise.
2987 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2988 * nss/nss_files/files-initgroups.c: Likewise.
2989 * nss/nss_db/db-netgrp.c: Likewise.
2990 * nss/nss_db/db-initgroups.c: Likewise.
2991 * io/fchmodat.c: Include <sys/stat.h>.
2992
2993 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2994 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2995
2996 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2997 [HAVE_MMAP].
2998
2999 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3000 Add multiple inclusion protection.
3001
e5abc686
DM
30022012-07-27 David S. Miller <davem@davemloft.net>
3003
3004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3005
815e6fa3
GB
30062012-07-27 Gary Benson <gbenson@redhat.com>
3007
3008 [BZ #14298]
3009 * elf/rtld.c: Include <stap-probe.h>.
3010 (dl_main): Added static probes "init_start" and "init_complete".
3011 * elf/dl-load.c: Include <stap-probe.h>.
3012 (lose): Take new parameter "nsid".
3013 Added static probe "map_failed".
3014 (_dl_map_object_from_fd): Pass namespace id to lose.
3015 Added static probe "map_start".
3016 (open_verify): Pass namespace id to lose.
3017 * elf/dl-open.c: Include <stap-probe.h>.
3018 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3019 and "reloc_complete".
3020 * elf/dl-close.c: Include <stap-probe.h>.
3021 (_dl_close_worker): Added static probes "unmap_start" and
3022 "unmap_complete".
3023 * elf/rtld-debugger-interface.txt: New file documenting the above.
3024
9f98c16c
RM
30252012-07-26 Roland McGrath <roland@hack.frob.com>
3026
3027 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3028 rather than a string variable.
3029 * sunrpc/rpc_main.c (h_output): Likewise.
3030 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3031
f3c22df3
PT
30322012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3033
3034 * inet/check_native.c: New file.
3035
3129cfc6
JM
30362012-07-26 Joseph Myers <joseph@codesourcery.com>
3037
da865e95
JM
3038 [BZ #13629]
3039 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3040 if larger part has absolute value 1.0.
3041 * math/s_clog10.c (__clog10): Likewise.
3042 * math/s_clog10f.c (__clog10f): Likewise.
3043 * math/s_clog10l.c (__clog10l): Likewise.
3044 * math/s_clogf.c (__clogf): Likewise.
3045 * math/s_clogl.c (__clogl): Likewise.
3046 * math/libm-test.inc (clog_test): Add more tests.
3047 (clog10_test): Likewise.
3048 * sysdeps/i386/fpu/libm-test-ulps: Update.
3049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3050
3129cfc6
JM
3051 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3052 (pltexit): Likewise.
3053 (La_regs): Likewise.
3054 (La_retval): Likewise.
3055 (int_retval): Likewise.
3056 Update #error for removed macros to refer only to definitions in
3057 tst-audit.h.
3058 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3059 macro.
3060 (pltexit): Likewise.
3061 (La_regs): Likewise.
3062 (La_retval): Likewise.
3063 (int_retval): Likewise.
3064 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3065 macro.
3066 (pltexit): Likewise.
3067 (La_regs): Likewise.
3068 (La_retval): Likewise.
3069 (int_retval): Likewise.
3070 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3071 macro.
3072 (pltexit): Likewise.
3073 (La_regs): Likewise.
3074 (La_retval): Likewise.
3075 (int_retval): Likewise.
3076 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3077 macro.
3078 (pltexit): Likewise.
3079 (La_regs): Likewise.
3080 (La_retval): Likewise.
3081 (int_retval): Likewise.
3082 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3083 macro.
3084 (pltexit): Likewise.
3085 (La_regs): Likewise.
3086 (La_retval): Likewise.
3087 (int_retval): Likewise.
3088 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3089 macro.
3090 (pltexit): Likewise.
3091 (La_regs): Likewise.
3092 (La_retval): Likewise.
3093 (int_retval): Likewise.
3094 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3095 macro definitions in tst-audit.h.
3096 * sysdeps/i386/tst-audit.h: New file.
3097 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3098 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3099 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3100 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3101 * sysdeps/sh/tst-audit.h: Likewise.
3102 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3103 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3104 * sysdeps/x86_64/tst-audit.h: Likewise.
3105
bfc07087
AJ
31062012-07-26 Andreas Jaeger <aj@suse.de>
3107
b1b2aaf8
AJ
3108 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3109 ptrace.
3110
3111 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3112 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3113 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3114 PTRACE_O_MASK.
3115 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3116 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3117 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3118
bfc07087
AJ
3119 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3120 value.
3121
3122 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3123 _sigsys.
3124 (si_call_addr, si_syscall, si_arch): Define new macro.
3125 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3126 _sigsys.
3127 (si_call_addr, si_syscall, si_arch): Define new marcro.
3128 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3129 _sigsys.
3130 (si_call_addr, si_syscall, si_arch): Define new macro.
3131 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3132 _sigsys.
3133 (si_call_addr, si_syscall, si_arch): Define new macro.
3134
89b4b02f
JM
31352012-07-25 Joseph Myers <joseph@codesourcery.com>
3136
3137 [BZ #13717]
3138 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3139 Change to 2.4.21 where previously 2.4.1.
3140 * sysdeps/unix/sysv/linux/configure: Regenerated.
3141 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3142 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3143 Linux kernel version.
3144 (__ASSUME_STD_AUXV): Remove.
3145 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3146 kernel version.
3147 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3148 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3149 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3150 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3151 (__ASSUME_NETLINK_SUPPORT): Likewise.
3152 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3153 (__no_netlink_support): Remove conditional definition.
3154 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3155 Remove.
3156 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3157 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3158 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3159 (if_nameindex_ioctl): Remove.
3160 (if_nameindex_netlink): Do not handle __no_netlink_support.
3161 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3162 code.
3163 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3164 Remove conditional code.
3165 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3166 code.
3167 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3168 unconditional.
3169 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3170 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3171 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3172 Remove.
3173 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3174 [!__ASSUME_STD_AUXV]: Remove conditional code.
3175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3176 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3177 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3179 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3180 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3181 code.
3182 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3184 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3185 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3186 conditional code.
3187 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3189 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3190 code.
3191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3192 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3193 conditional code.
3194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3195 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3196 code unconditional.
3197 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3198 conditional code.
3199 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3200 unconditional.
3201 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3202 conditional code.
3203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3204 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3205 unconditional.
3206 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3207 conditional code.
3208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3209 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3210 code unconditional.
3211 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3212 conditional code.
3213 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3214 unconditional.
3215 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3216 conditional code.
3217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3218 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3219 code unconditional.
3220 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3221 conditional code.
3222 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3223 unconditional.
3224 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3225 conditional code.
3226
842a39cd
AS
32272012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3228
3229 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3230 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3231 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3232 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3233 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3234 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3235 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3236 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3237 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3238 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3239 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3240 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3241 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3242 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3243 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3244 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3245 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3246 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3247 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3249 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3250 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3251 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3252
84b3fd84
FW
32532012-07-25 Florian Weimer <fweimer@redhat.com>
3254
3255 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3256 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3257 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3258 Introduce __libc_secure_getenv.
0c7936d5
FW
3259 * stdlib/Versions (2.17): Add secure_getenv
3260 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3261 * stdlib/secure-getenv.c: Rename __secure_getenv to
3262 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3263 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3264 * stdlib/tst-secure-getenv.c: New.
3265 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3266 * manual/startup.texi (Environment Access): Document
3267 secure_getenv.
84b3fd84
FW
3268 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3269 __libc_secure_getenv.
3270 * inet/ruserpass.c (ruserpass): Likewise.
3271 * malloc/mtrace.c (mtrace): Likewise.
3272 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3273 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3274 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3275 * sysdeps/posix/tempname.c: Likewise. Evaluate
3276 HAVE_SECURE_GETENV.
3277 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3278 __secure_getenv to __libc_secure_getenv.
84b3fd84 3279 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3281 Likewise.
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3283 Likewise.
3284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3286 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3291
56e49b71
JM
32922012-07-25 Joseph Myers <joseph@codesourcery.com>
3293
3294 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3295 (struct La_i86_retval): Likewise.
3296 (struct La_x86_64_regs): Likewise.
3297 (struct La_x86_64_retval): Likewise.
3298 (struct La_x32_regs): Likewise.
3299 (struct La_x32_retval): Likewise.
3300 (struct La_ppc32_regs): Likewise.
3301 (struct La_ppc32_retval): Likewise.
3302 (struct La_ppc64_regs): Likewise.
3303 (struct La_ppc64_retval): Likewise.
3304 (struct La_sh_regs): Likewise.
3305 (struct La_sh_retval): Likewise.
3306 (struct La_s390_32_regs): Likewise.
3307 (struct La_s390_32_retval): Likewise.
3308 (struct La_s390_64_regs): Likewise.
3309 (struct La_s390_64_retval): Likewise.
3310 (struct La_sparc32_regs): Likewise.
3311 (struct La_sparc32_retval): Likewise.
3312 (struct La_sparc64_regs): Likewise.
3313 (struct La_sparc64_retval): Likewise.
3314 (struct audit_ifaces): Remove architecture-specific pltenter and
3315 pltexit members.
3316 * sysdeps/i386/ldsodefs.h: New file.
3317 * sysdeps/powerpc/ldsodefs.h: Likewise.
3318 * sysdeps/s390/ldsodefs.h: Likewise.
3319 * sysdeps/sh/ldsodefs.h: Likewise.
3320 * sysdeps/sparc/ldsodefs.h: Likewise.
3321 * sysdeps/x86_64/ldsodefs.h: Likewise.
3322
354691b7
MP
33232012-07-25 Marek Polacek <polacek@redhat.com>
3324
3325 [BZ #6808]
3326 * math/libm-test.inc (yn_test): Add another test.
3327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3328 to ERANGE when the result is +-Inf.
3329 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3330 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3331 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3332 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3333
bf9e2071
JM
33342012-07-24 Joseph Myers <joseph@codesourcery.com>
3335
3336 * conform/data/time.h-data (NULL): Use macro-constant. Require
3337 equal to 0.
3338 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3339 clock_t.
3340 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3341
57633811
TS
33422012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3343
3344 * configure.in <sysdeps resolving>: Correct printing
3345 Implies_before.
3346 * configure: Regenerate.
3347
c23c33b0
TS
33482012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3349
3350 * math/w_ilogb.c: Include <limits.h>.
3351 * math/w_ilogbl.c: Likewise.
3352
b5982523
JM
33532012-07-20 Joseph Myers <joseph@codesourcery.com>
3354
3355 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3356 va_copy. Document allowing for unavailable va_copy only as
3357 pre-C99 compatibility.
3358 * manual/string.texi (Copying and Concatenation): Use va_copy
3359 instead of __va_copy in concat example.
3360
ac4ea442
PT
33612012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3362
3363 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3364 (__sendto): Use create_address_port. Initialize APORT and deallocate
3365 it if not null.
3366
f98eafbd
PT
3367 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3368 with O_NOLINK passed to __file_name_lookup.
3369
898c7aab
PT
3370 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3371 with O_NOLINK passed to __file_name_lookup.
3372
0ced335a
PT
3373 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3374 negative N or less than NGIDS.
3375
b3404dbd
PT
3376 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3377 type to string_t. Set ERANGE as errno and return it if NAME is not big
3378 enough. Use memcpy instead of strncpy.
3379
0f48659e
JM
33802012-07-20 Joseph Myers <joseph@codesourcery.com>
3381
3382 * elf/Makefile (check-data): Remove.
3383 (localplt.data): New vpath directive.
3384 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3385 instead of $(check-data).
3386 * scripts/data/localplt-generic.data: Move to ...
3387 * sysdeps/generic/localplt.data: ... here.
3388 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3389 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3390 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3392 ... here.
3393 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3395 ... here.
3396 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3398 ... here.
3399 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3401 ... here.
3402 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3404 ... here.
3405 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3407 ... here.
3408
d37cbdaa
AZ
34092012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3410
3411 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3412 PPC32 and PPC64 files.
3413 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3414 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3415
46f85fc2
AK
34162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3417
3418 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3419 __makecontext_ret to ...
3420 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3421 ... here and call exit if uc_link is NULL. New file.
3422 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3423 __makecontext_ret.S.
3424 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3425 __makecontext_ret to ...
3426 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3427 ... here and call exit if uc_link is NULL. New file.
3428 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3429 __makecontext_ret.S.
3430
08f43f9b
AK
34312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3432
3433 * elf/elf.h (R_390_IRELATIVE): New definition.
3434 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3435 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3436 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3437 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3438 (elf_machine_lazy_rel): Likewise.
3439 * sysdeps/s390/dl-irel.h: New file.
3440 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3441 * sysdeps/s390/s390-64/memset.S: New asm code.
3442 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3443 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3444 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3445 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3446 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3447 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3448 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3449 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3450 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3451 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3452 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3453 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3454 * sysdeps/s390/s390-32/memset.S: New asm code.
3455 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3456
3b05db33
MP
34572012-07-17 Marek Polacek <polacek@redhat.com>
3458
3459 [BZ #14349]
3460 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3461 * sysdeps/s390/s390-64/configure.in: Likewise.
3462 * sysdeps/sparc/configure.in: Likewise.
3463 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3464 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3465 * sysdeps/i386/configure.in: Likewise.
3466 * sysdeps/x86_64/configure.in: Likewise.
3467 * sysdeps/sh/configure.in: Likewise.
3468 * sysdeps/s390/s390-32/configure: Regenerated.
3469 * sysdeps/s390/s390-64/configure: Likewise.
3470 * sysdeps/x86_64/configure: Likewise.
3471 * sysdeps/sh/configure: Likewise.
3472 * sysdeps/powerpc/powerpc64/configure: Likewise.
3473 * sysdeps/powerpc/powerpc32/configure: Likewise.
3474 * sysdeps/sparc/configure: Likwise.
3475 * sysdeps/i386/configure: Likewise.
3476
a66877c6
MP
3477 * elf/dl-open.c: Comment fixes.
3478
cfc82fd8
JM
34792012-07-17 Joseph Myers <joseph@codesourcery.com>
3480
bd29910a
JM
3481 * Makefile [CXX] (check-data): Remove.
3482 [CXX] (c++-types.data): New vpath directive.
3483 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3484 vpath. Do not allow for C++ type data being missing.
3485 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3486 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3487 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3488 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3489 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3490 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3491 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3493 ... here.
3494 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3496 ... here.
3497 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3499 ... here.
3500 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3502 ... here.
3503 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3505 ... here.
3506 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3508 ... here.
3509 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3511 ... here.
3512 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3514
cfc82fd8
JM
3515 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3516 definitions to architecture-specific files.
3517 (TLS_IE): Likewise.
3518 (TLS_LD): Likewise.
3519 (TLS_GD): Likewise.
3520 * sysdeps/i386/tls-macros.h: New file.
3521 * sysdeps/powerpc/tls-macros.h: Likewise.
3522 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3523 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3524 * sysdeps/sh/tls-macros.h: Likewise.
3525 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3526 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3527 * sysdeps/x86_64/tls-macros.h: Likewise.
3528
f7db3170
TS
35292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3530
07cbfc23
TS
3531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3532 zero value for regular exit case.
3533
f7db3170
TS
3534 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3535 (__start_context): Preserve zero value for regular exit case.
3536
dc97c227
TS
35372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3538 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3539
3540 * manual/setjmp.texi (setcontext): Clarify normal process
3541 termination when uc_link is the null pointer.
3542 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3543 exit call.
3544
d0cd7d02
AS
35452012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3546
3547 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3548 preprocessor. Test for each exception mask separately.
3549
dd318934
AJ
35502012-07-16 Andreas Jaeger <aj@suse.de>
3551
3552 * po/ru.po: Update from translation team.
3553
8048311a
JM
35542012-07-15 Joseph Myers <joseph@codesourcery.com>
3555
3556 * conform/data/string.h-data (NULL): Use macro-constant. Require
3557 equal to 0.
3558 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3559 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3560 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3561 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3562 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3563
b637d46e
AJ
35642012-07-13 Andreas Jaeger <aj@suse.de>
3565
3566 * po/fr.po: Update from translation team.
3567
541428fe
MP
35682012-07-12 Marek Polacek <polacek@redhat.com>
3569
3570 [BZ #14173]
3571 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3572 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3573 loop condition.
3574
ec332e94
JM
35752012-07-12 Joseph Myers <joseph@codesourcery.com>
3576
3577 [BZ #13717]
3578 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3579 Change to 2.4.1 where previously 2.4.0.
3580 * sysdeps/unix/sysv/linux/configure: Regenerated.
3581 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3582 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3583 version.
3584 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3585 (__ASSUME_AT_CLKTCK): Remove.
3586 (__ASSUME_AT_PAGESIZE): Likewise.
3587 (__ASSUME_AT_XID): Likewise.
3588 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3589 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3590 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3591 unconditionally.
3592 (HAVE_AUX_PAGESIZE): Likewise.
3593 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3594 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3595 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3596
7b6e99be
JB
35972012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3598
3599 [BZ #14307]
3600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3601 the temporary buffer used to invoke __gethostbyname2_r,
3602 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3603 host_data / struct gaih_addrtuple.
3604 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3605 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3606 header file nss/nsswitch.h.
3607 * nss/nsswitch.h (global scope): Add definition of implementation
3608 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3609 resolv/nss_dns/dns-host.c).
3610
608404eb
AJ
36112012-07-11 Andreas Jaeger <aj@suse.de>
3612
3613 * po/fr.po: Update from translation team.
3614
71220aca
AJ
3615 * po/sv.po: Update from translation team
3616 * po/fr.po: Another update from translation team.
3617
28cfe843
AZ
36182012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3619
3620 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3621 for subnormals or multiply small sinh result by itself.
3622 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3624
6b90f981
DM
36252012-07-11 David S. Miller <davem@davemloft.net>
3626
3627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3628
c6825772
AS
36292012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3630
3631 [BZ #14347]
3632 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3633 (INTERNAL_MARK): Shift it here.
3634
7b8e0d49
MP
36352012-07-10 Marek Polacek <polacek@redhat.com>
3636
3637 [BZ #14151]
3638 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3639 libc_cv_asm_global_directive with .globl.
3640 * configure: Regenerated.
3641 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3642 with .globl.
3643 * sysdeps/i386/configure: Regenerated.
3644 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3645 with .globl.
3646 * sysdeps/x86_64/configure: Regenerated.
3647 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3648 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3649 * elf/tst-unique2mod2.c: Likewise.
3650 * elf/tst-unique2mod1.c: Likewise.
3651 * elf/tst-unique1mod2.c: Likewise.
3652 * elf/tst-unique1mod1.c: Likewise.
3653 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3654 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3655 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3656 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3657 * sysdeps/mach/sysdep.h: Likewise.
3658 * sysdeps/i386/sysdep.h: Likewise.
3659 * sysdeps/i386/i386-mcount.S: Likewise.
3660 * sysdeps/x86_64/_mcount.S: Likewise.
3661 * sysdeps/x86_64/sysdep.h: Likewise.
3662 * sysdeps/sh/_mcount.S: Likewise.
3663 * sysdeps/sh/sysdep.h: Likewise.
3664 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3665 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3666 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3667 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3668 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3669 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3670 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3671 * locale/localeinfo.h: Likewise.
3672 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3673 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3674
6c55cda3
RM
36752012-07-09 Roland McGrath <roland@hack.frob.com>
3676
3677 [BZ #14336]
3678 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3679 system".
3680 * manual/message.texi (The Uniforum approach): Likewise.
3681 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3682 (glibc iconv Implementation): Likewise.
3683
638a572e
JM
36842012-07-09 Joseph Myers <joseph@codesourcery.com>
3685
3686 [BZ #14337]
3687 * math/s_clog.c (__clog): Avoid scaling a value down where that
3688 could result in underflow.
3689 * math/s_clog10.c (__clog10): Likewise.
3690 * math/s_clog10f.c (__clog10f): Likewise.
3691 * math/s_clog10l.c (__clog10l): Likewise.
3692 * math/s_clogf.c (__clogf): Likewise.
3693 * math/s_clogl.c (__clogl): Likewise.
3694 * math/libm-test.inc (clog_test): Add more tests.
3695 (clog10_test): Likewise.
3696 * sysdeps/i386/fpu/libm-test-ulps: Update.
3697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3698
261f4859
AS
36992012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3700
0abaf3e4
AS
3701 [BZ #14283]
3702 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3703 by 7 not 8 to examine high bit of fractional part.
3704
261f4859
AS
3705 [BZ #14042]
3706 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3707 for call to __mcount_internal.
3708 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3709 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3710 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3711
f17ac40d
JM
37122012-07-06 Joseph Myers <joseph@codesourcery.com>
3713
9ad63c23
JM
3714 [BZ #14154]
3715 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3716 approximation for values within 0x1p-13f of an odd multiple of
3717 pi/4.
3718 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3719 exception. Add more tests.
3720 * sysdeps/i386/fpu/libm-test-ulps: Update.
3721
f17ac40d
JM
3722 [BZ #6778]
3723 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3724 inputs and return -1 for them. Do not check for +Inf in case not
3725 reachable for +Inf.
3726 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3727 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3728 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3729 and return -1 for them. Do not check for +Inf in case not
3730 reachable for +Inf.
3731 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3732 define.
3733 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3734 and return -1 for them. Do not check for +Inf in case not
3735 reachable for +Inf.
3736 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3737 spurious underflow.
3738 * sysdeps/i386/fpu/libm-test-ulps: Update.
3739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3740
fb21f89b
MF
37412012-07-06 Mike Frysinger <vapier@gentoo.org>
3742
3743 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3744
cdfe2c5e
JM
37452012-07-05 Joseph Myers <joseph@codesourcery.com>
3746
3747 [BZ #14157]
3748 [BZ #14331]
3749 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3750 could result in spurious underflow. Scale down values above
3751 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3752 * math/s_csqrtf.c (__csqrtf): Likewise.
3753 * math/s_csqrtl.c (__csqrtl): Likewise.
3754 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3755 spurious underflow.
3756 * sysdeps/i386/fpu/libm-test-ulps: Update.
3757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3758
70d35b67
AS
37592012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3760
704bc459
AS
3761 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3762 xopen-msg.sed.
3763 * catgets/xopen-msg.awk: New file.
3764 * catgets/xopen-msg.sed: Removed.
3765
70d35b67
AS
3766 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3767 po2text.sed.
3768 * intl/po2test.awk: New file.
3769 * intl/po2test.sed: Removed.
3770
ca61cf32
JM
37712012-07-04 Joseph Myers <joseph@codesourcery.com>
3772
3773 [BZ #14328]
3774 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3775 or multiply small sinh result by itself.
3776 * math/s_ctanf.c (__ctanf): Likewise.
3777 * math/s_ctanh.c (__ctanh): Likewise.
3778 * math/s_ctanhf.c (__ctanhf): Likewise.
3779 * math/s_ctanhl.c (__ctanhl): Likewise.
3780 * math/s_ctanl.c (__ctanl): Likewise.
3781 * math/libm-test.inc (ctan_test_tonearest): New function.
3782 (ctan_test_towardzero): Likewise.
3783 (ctan_test_downward): Likewise.
3784 (ctan_test_upward): Likewise.
3785 (ctanh_test_tonearest): Likewise.
3786 (ctanh_test_towardzero): Likewise.
3787 (ctanh_test_downward): Likewise.
3788 (ctanh_test_upward): Likewise.
3789 (main): Call these new functions.
3790 * sysdeps/i386/fpu/libm-test-ulps: Update.
3791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3792
ca48a46a
MF
37932012-07-03 Mike Frysinger <vapier@gentoo.org>
3794
3795 * .gitignore: Delete /ports entry.
3796
9d63d37d
AJ
37972012-07-03 Andreas Jaeger <aj@suse.de>
3798
3799 * po/bg.po: Update from translation team.
3800 * po/cs.po: Likewise.
3801 * po/de.po: Likewise.
3802 * po/hr.po: Likewise.
3803 * po/nl.pl: Likewise.
3804 * po/pl.po: Likewise.
3805 * po/vi.po: Likewise.
3806
370ca3d2
JM
38072012-07-03 Joseph Myers <joseph@codesourcery.com>
3808
95f5a9a8
JM
3809 * Makeconfig [!+link] (+link-before-libc): New variable.
3810 [!+link] (+link-after-libc): Likewise.
3811 [!+link] (+link-tests): Likewise.
3812 [!+link] (+link): Define in terms of $(+link-before-libc) and
3813 $(+link-after-libc).
3814 [!+link-static] (+link-static-before-libc): New variable.
3815 [!+link-static] (+link-static-after-libc): Likewise.
3816 [!+link-static] (+link-static-tests): Likewise.
3817 [!+link-static] (+link-static): Define in terms of
3818 $(+link-static-before-libc) and $(+link-static-after-libc).
3819 [build-shared] (link-libc-before-gnulib): New variable.
3820 [build-shared] (link-libc-tests): Likewise.
3821 [build-shared] (link-libc): Define in terms of
3822 $(link-libc-before-gnulib).
3823 [!build-shared] (link-libc-tests): New variable.
3824 (link-libc-static-tests): New variable.
3825 [!gnulib] (gnulib-arch): New variable.
3826 [!gnulib] (gnulib-tests): Likewise.
3827 [!gnulib] (static-gnulib-arch): Likewise.
3828 [!gnulib] (static-gnulib-tests): Likewise.
3829 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3830 Define with "=" instead of ":=".
3831 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3832 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3833 * Rules (binaries-all-notests): New variable.
3834 (binaries-all-tests): Likewise.
3835 (binaries-static-notests): Likewise.
3836 (binaries-static-tests): Likewise.
3837 (binaries-all): Define using $(binaries-all-notests) and
3838 $(binaries-all-tests).
3839 (binaries-static): Define using $(binaries-static-notests) and
3840 $(binaries-static-tests).
3841 (binaries-shared-tests): New variable.
3842 (binaries-shared-notests): Likewise.
3843 (binaries-shared): Remove variable.
3844 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3845 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3846 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3847 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3848 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3849 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3850 * elf/Makefile (sln-modules): New variable.
3851 (extra-objs): Add $(sln-modules:=.o).
3852 (ldconfig-modules): Add static-stubs.
3853 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3854 * elf/static-stubs.c: New file.
3855
7a845b2c
JM
3856 [BZ #14283]
3857 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3858 by 7 not 8 to examine high bit of fractional part. Use volatile
3859 variables when splitting into final array of floats if
3860 __FLT_EVAL_METHOD__ != 0.
3861 * math/libm-test.inc (cos_test): Add another test.
3862 (sin_test): Likewise.
3863 * sysdeps/i386/fpu/libm-test-ulps: Update.
3864
e2283f38
JM
3865 [BZ #14273]
3866 * math/libm-test.inc (cosh_test): Add more tests.
3867
370ca3d2
JM
3868 * version.h (RELEASE): Set to "development".
3869 (VERSION): Set to "2.16.90".
3870
ee9247c3
CD
38712012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3872
3873 * NEWS: Update copyright. Remove last-updated date.
3874 Mention math library bug fixes and timezone data changes.
3875 * README: Mention GNU/Hurd, x32, and HPPA support status.
3876
4648c381
TS
38772012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3878
3879 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3880
aac78a43
AJ
38812012-06-27 Andreas Jaeger <aj@suse.de>
3882
3883 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3884
ed3dbfad
AJ
38852012-06-25 Andreas Jaeger <aj@suse.de>
3886
3887 * sysdeps/s390/fpu/libm-test-ulps: Update.
3888
4d0ee855
AS
38892012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3890 Thomas Schwinge <thomas@codesourcery.com>
3891
3892 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3893 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3894 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3895 fanotify_mark.
3896
af1bce34
TS
38972012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3898
a9fa33ba
TS
3899 * sysdeps/mach/start.c: Remove file.
3900 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3901 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3902 * sysdeps/sh/init-first.c: Likewise.
3903
58f902b8
TS
3904 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3905 registers for frame unwinding purposes, add CFI directives.
3906 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3907 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3908 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3909 Likewise.
3910
1518f58b
TS
3911 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3912 __fortify_fail returning.
3913 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3914
db9b5059
TS
3915 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3916 sysdeps/sh/____longjmp_chk.S.
3917 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3918 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3919 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3920 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3921
967705fe
TS
3922 * sysdeps/sh/abort-instr.h: New file.
3923 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3924 process in case exit returns.
3925
a9def8c4
TS
3926 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3927 initialize the GOT register before use.
3928
2a649725
TS
3929 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3930 calculation of ARGC > 4.
3931
af1bce34
TS
3932 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3933 meaningful names to some local labels.
3934
d230f50a
KK
39352012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3936 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3937
3938 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3939 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3940 (__arch_compare_and_exchange_val_16_acq): Likewise.
3941 (__arch_compare_and_exchange_val_32_acq): Likewise.
3942 (atomic_exchange_and_add): Fix gUSA sequence.
3943 (atomic_add): Likewise.
3944 (atomic_add_negative): Likewise.
3945 (atomic_add_zero): Likewise.
3946 (atomic_bit_test_set): Likewise.
3947
0479b305
AS
39482012-06-22 Andreas Schwab <schwab@redhat.com>
3949
3950 [BZ #13579]
3951 * include/link.h (struct link_map): Add l_free_initfini.
3952 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3953 l_initfini.
3954 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3955 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3956 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3957 set.
3958
0e3933b9
CD
39592012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3960
3961 * configure.in: Use AC_LANG_SOURCE.
3962 * configure: Regenerate.
3963
4248b1b1
RM
39642012-06-22 Roland McGrath <roland@hack.frob.com>
3965
3966 * configure.in (libc_cv_localstatedir): New substituted variable.
3967 * configure: Regenerated.
3968 * config.make.in (localstatedir): New variable, substituted from
3969 libc_cv_localstatedir.
3970 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3971 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3972 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3973 * sysdeps/gnu/configure: Regenerated.
3974
006dd861
JL
39752012-06-21 Jeff Law <law@redhat.com>
3976
3977 [BZ #14277]
3978 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3979 free. Simplify list management for _LIBC case.
3980
79662d42
JM
39812012-06-21 Joseph Myers <joseph@codesourcery.com>
3982
b7abb4bf
JM
3983 [BZ #14273]
3984 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3985 Clear sign bit of 64-bit integer value before comparing against
3986 overflow value.
3987
79662d42
JM
3988 * sysdeps/mach/configure: Regenerated.
3989
1f150908
L
39902012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3991
3992 [BZ #14278]
3993 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3994
28363bbf
JL
39952012-06-21 Jeff Law <law@redhat.com>
3996
3997 [BZ #13882]
3998 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3999 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4000 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4001 * elf/dl-open.c (dl_open_worker): Likewise.
4002
09615db4
CD
40032012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4004
4005 * scripts/list-sources.sh: Scan PORTS for translations.
4006 * po/libc.pot: Regenerated.
4007
2174c6dd
AJ
40082012-06-21 Andreas Jaeger <aj@suse.de>
4009
4010 [BZ #12194]
4011 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4012 warning.
4013 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4014 * bits/byteswap-16.h (__bswap_16): Likewise.
4015 * bits/byteswap.h (__bswap_constant_16): Likewise.
4016
3ee947b1
L
40172012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4018
4019 [BZ #14117]
a2f34833
L
4020 * sysdeps/i386/fpu_control.h: Removed.
4021 * sysdeps/x86_64/fpu_control.h: Moved to ...
4022 * sysdeps/x86/fpu_control.h: Here.
4023
3ee947b1
L
4024 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4025 (_FPU_SETCW): Likewise.
4026
ed1825f8
L
40272012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4028
25f1282a
L
4029 [BZ #14117]
4030 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4031 * sysdeps/x86/fpu/bits/mathinline.h: This.
4032 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4033
ed1825f8
L
4034 [BZ #14050]
4035 [BZ #14117]
4036 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4037 functions if __x86_64__ is defined.
4038
36d54b74
CLT
40392012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4040
4041 * string/endian.h: Add !__ASSEMBLER__ condition for including
4042 conversion interfaces.
4043
10285c21
JM
40442012-06-15 Joseph Myers <joseph@codesourcery.com>
4045
4046 [BZ #14241]
4047 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4048 of ABS(x) in calculating zero to negative powers other than odd
4049 integers.
4050 * math/libm-test.inc (pow_test): Add more tests.
4051
06c5abbd
AJ
40522012-06-15 Andreas Jaeger <aj@suse.de>
4053
4054 * manual/contrib.texi (Contributors): Update entry of Liubov
4055 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4056 Machado Filho.
4057
a3aeac40
CH
40582012-06-15 Cyril Hrubis <metan@ucw.cz>
4059
4060 * string/string.h: Add __wur to GNU version of strerror_r.
4061
49bdf4c1
L
40622012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4063
4064 [BZ #14229]
4065 * string/Makefile (tests): Add tst-strtok_r.
4066 * string/tst-strtok_r.c: New file.
4067 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4068 RAX_LP/RDX_LP on SAVE_PTR.
4069
834f9b8d
RM
40702012-06-14 Roland McGrath <roland@hack.frob.com>
4071
4072 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4073
75fa1921
JM
40742012-06-14 Joseph Myers <joseph@codesourcery.com>
4075
4076 * libm_test.inc (csqrt_test): Allow more spurious underflow
4077 exceptions.
4078 (j0_test): Likewise.
4079 (j1_test): Likewise.
4080 (y0_test): Likewise.
4081 (y1_test): Likewise.
4082
771766df
CD
40832012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4084
4085 * po/Makefile (libc.pot): Use UTF-8 charset.
4086
ceb9e56b
PP
40872012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4088
4089 [BZ #14210]
4090 Suppress sign-conversion warning from FD_SET.
4091 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4092 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4093 not unsigned long int.
4094 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4095
ddb28975
L
40962012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4097
4098 [BZ #14050]
4099 [BZ #14117]
4100 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4101 __extern_always_inline instead of __extern_inline.
4102 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4103 (__signbit): Likewise.
4104 (__signbitl): Support C++ namespace.
4105 (lrintf): New inline function.
4106 (lrint): Likewise.
4107 (llrintf): Likewise.
4108 (llrint): Likewise.
4109 (fmaxf): Likewise.
4110 (fmax): Likewise.
4111 (fminf): Likewise.
4112 (fmin): Likewise.
4113 (rint): Likewise.
4114 (rintf): Likewise.
4115 (ceil): Likewise.
4116 (ceilf): Likewise.
4117 (floor): Likewise.
4118 (floorf): Likewise.
4119 (nearbyint): Likewise.
4120 (nearbyintf): Likewise.
4121
d7b4fb26
TS
41222012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4123
4124 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4125 non-default versions.
4126
eb55f5c2
RM
41272012-06-11 Roland McGrath <roland@hack.frob.com>
4128
4129 [BZ #14218]
4130 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4131
366af02c
TS
41322012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4133
99ff6e5c
TS
4134 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4135 (FE_UPWARD, FE_DOWNWARD): Don't define.
4136 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4137 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4138
366af02c
TS
4139 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4140 reading it.
4141 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4142 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4143
793ea851
KK
41442012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4145
4146 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4147 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4148 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4149 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4150
a728a38f
L
41512012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4152
4153 [BZ #14117]
c08010c7
L
4154 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4155 * sysdeps/i386/fpu/Implies: New file.
4156 * sysdeps/x86_64/fpu/Implies: Likewise.
4157 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4158 * sysdeps/x86/fpu/bits/fenv.h: This.
4159
a728a38f
L
4160 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4161 __SSE_MATH__.
4162
6e230d11
SP
41632012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4164
4165 [BZ #14134]
4166 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4167 character 0xffff that matches the last element of the
4168 conversion table.
4169
1b671feb
AZ
41702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4171
4172 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4173 fmodl commit.
4174
6043738b
AZ
41752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4176
4177 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4178 values higher than 25.6283.
4179
34ae0b32
AZ
41802012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4181
4182 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4183 subnormal exponent extraction and add some __builtin_expect.
4184 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4185 Fix for subnormal mantissa calculation.
4186
1214ec8f
MF
41872012-06-04 Mike Frysinger <vapier@gentoo.org>
4188
4189 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4190 cpu2 is -1 and errno is not ENOSYS.
4191
f3d1f93c
L
41922012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4193
4194 [BZ #14117]
0e4a3cd7
L
4195 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4196 * sysdeps/x86/bits/string.h: This.
4197 * sysdeps/x86_64/bits/string.h: Removed.
4198
6704c645
L
4199 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4200 if not compiling for x86-64, but compiling for >= i486.
4201
48495318
L
4202 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4203 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4204
14adcbfc
L
4205 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4206 New macro from Linux kernel 3.4.0.
4207 (FP_XSTATE_MAGIC2): Likewise.
4208 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4209 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4210 (struct _fpx_sw_bytes): New struct.
4211 (struct _xsave_hdr): Likewise.
4212 (struct _ymmh_state): Likewise.
4213 (struct _xstate): Likewise.
4214
68e408ab
L
4215 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4216 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4217 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4218 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4219 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4220 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4221
f3d1f93c
L
4222 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4223 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4224 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4225 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4226 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4227 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4228
d9dc34cd
TMQMF
42292012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4230
4231 [BZ #13743]
4232 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4233 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4234 (sysdep_headers): Include sys/platform/ppc.h.
4235 * sysdeps/powerpc/test-gettimebase.c: Test for
4236 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4237 * manual/Makefile (appendices): Include platform.texi.
4238 * manual/contrib.texi (Contributors): Update @node pointers.
4239 * manual/maint.texi (Maintenance): Likewise.
4240 (Platform): New node.
4241 * manual/platform.texi: New file. Document the new features.
4242
4af3879c
SP
42432012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4244 Jakub Jelinek <jakub@redhat.com>
4245
4246 [BZ #14188]
4247 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4248 where __builtin_expect is unavailable.
4249
2fd6ff13
DM
42502012-06-03 David S. Miller <davem@davemloft.net>
4251
4252 * stdlib/longlong.h: Updated from GCC.
4253
173f7220
AS
42542012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4255
4256 [BZ #14042]
4257 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4258 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4259 __mcount_internal.
4260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4261 (GLIBC_2.16): Likewise.
4262
f34a1c6f
L
42632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4264
4265 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4266
88a4576f
JM
42672012-06-01 Joseph Myers <joseph@codesourcery.com>
4268
ea32bcdd
JM
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4270 (default-abi): New variable.
4271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4272 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4273 variable.
4274 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4275 Likewise.
4276 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4277 Likewise.
4278 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4279 Likewise.
4280
88a4576f
JM
4281 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4282 definition. Document in comment.
4283
402fe938
DM
42842012-06-01 David S. Miller <davem@davemloft.net>
4285
4286 * stdlib/longlong.h: Updated from GCC.
4287
3553723f
L
42882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4289
4290 [BZ #14117]
3bd872c4
L
4291 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4292 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4293 sys/debugreg.h sys/io.h here.
4294 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4295 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4296 sys/io.h.
4297 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4298 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4299 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4300 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4301 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4302 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4303
3553723f
L
4304 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4305 Define only if __x86_64__ is defined.
4306
4842e4fe
JM
43072012-06-01 Joseph Myers <joseph@codesourcery.com>
4308
c5bfe3d5
JM
4309 [BZ #14048]
4310 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4311 Use int64_t for variable i.
4312 * math/libm-test.inc (fmod_test): Add more tests.
4313
4842e4fe
JM
4314 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4315 z computation is not scheduled after fetestexcept.
4316 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4317 Use math_force_eval instead of asm to ensure calculation scheduled
4318 before exception test.
4319 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4320 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4321
efb73488
AJ
43222012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4323
4324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4325 computation is not scheduled after fetestexcept.
4326
29bcce7c
L
43272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4328
4329 [BZ #14117]
4330 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4331 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4332
73a68f94
AZ
43332012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4334
4335 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4336 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4337
67b6df78
L
43382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4339
edf2933a 4340 [BZ #14117]
ebc64a18
L
4341 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4342 <bits/wordsize.h>.
4343 (__WCHAR_MIN): Support __WORDSIZE == 64.
4344 (__WCHAR_MAX): Likewise.
4345
edf2933a
L
4346 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4347 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4348
57c6cf40
L
4349 [BZ #14183]
4350 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4351 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4352
67b6df78 4353 [BZ #14117]
8eb6281e
L
4354 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4355 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4356
aac639f4
L
4357 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4358 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4359
67b6df78
L
4360 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4361 Defined to 1 if __x86_64__ isn't defined.
4362 (_STAT_VER_LINUX_OLD): New.
4363 (st_atime): Remove duplicate.
4364 (st_mtime): Likewise.
4365 (st_ctime): Likewise.
4366
1c2cfe81
DM
43672012-05-31 David S. Miller <davem@davemloft.net>
4368
4369 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4370 entries.
4371
5be8418c
AS
43722012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4373
e7725326
AS
4374 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4375 gen-libm-test.pl.
4376
5be8418c
AS
4377 [BZ #14132]
4378 * elf/dl-reloc.c: Include <_itoa.h>.
4379 (_dl_reloc_bad_type): Remove use of INTUSE.
4380 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4381 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4382 * stdio-common/psiginfo.c (psiginfo): Likewise.
4383 * stdio-common/psignal.c (psignal): Likewise.
4384 * string/strsignal.c (strsignal): Likewise.
4385 * include/signal.h (_sys_siglist): Declare hidden proto.
4386 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4387 INTVARDEF with libc_hidden_data_def.
4388 * stdio-common/itoa-udigits.c: Likewise.
4389 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4390 (_itoa_lower_digits_internal): Remove declaration.
4391 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4392 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4393 (_sys_sigabbrev_internal): Remove aliases.
4394 (_sys_siglist): Define hidden alias.
4395
507352f1
MT
43962012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4397
4398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4399 bits/sysctl.h.
4400
42bbb1c3
L
44012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4402
4403 [BZ #14117]
6bd784b6
L
4404 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4405 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4406
8bca20f0
L
4407 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4408 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4409 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4410 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4411 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4412 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4413
f9e890a9
L
4414 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4415 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4416 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4417
471101a1
L
4418 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4419 with __addr.
4420 (insw): Likewise.
4421 (insl): Likewise.
4422 (outsb): Likewise.
4423 (outsw): Likewise.
4424 (outsl): Likewise.
4425
6451c862
L
4426 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4427 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4428 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4429
a254b8c9
L
4430 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4431 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4432 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4433 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4434 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4435 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4436
b8dfdd92
L
4437 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4438 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4439
578cd270
L
4440 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4441 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4442
de662f5f
L
4443 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4444 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4445 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4446
25653439
L
4447 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4448 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4449 to ...
4450 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4451
6bad24a0
L
4452 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4453 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4454 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4455
42bbb1c3
L
4456 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4457 for x86-64.
4458 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4459
2d10d547
JM
44602012-05-31 Joseph Myers <joseph@codesourcery.com>
4461
4462 * math/math.h (M_El): Use two more decimal places.
4463 (M_LOG2El): Likewise.
4464 (M_LOG10El): Likewise.
4465 (M_LN2l): Likewise.
4466 (M_LN10l): Likewise.
4467 (M_PIl): Likewise.
4468 (M_PI_2l): Likewise.
4469 (M_PI_4l): Likewise.
4470 (M_1_PIl): Likewise.
4471 (M_2_PIl): Likewise.
4472 (M_2_SQRTPIl): Likewise.
4473 (M_SQRT2l): Likewise.
4474 (M_SQRT1_2l): Likewise.
4475
f230c29b
DM
44762012-05-31 David S. Miller <davem@davemloft.net>
4477
4478 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4479 values between float registers.
4480 * sysdeps/sparc/sparc64/memset.S: Likewise.
4481 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4482
fed806c3
MF
44832012-05-31 Mike Frysinger <vapier@gentoo.org>
4484
4485 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4486 -D_FORTIFY_SOURCE=1.
4487 (CPPFLAGS-tst-longjmp_chk.c): Define.
4488 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4489 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4490 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4491 CFLAGS-tst-wchar-h.c.
4492
30917259
MP
44932012-05-31 Marek Polacek <polacek@redhat.com>
4494
4495 [BZ #14132]
4496 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4497 __endmntent_internal): Remove declaration.
4498 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4499 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4500 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4501
1c58d5dc
DM
45022012-05-30 David S. Miller <davem@davemloft.net>
4503
4504 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4505 (___Q_simulate_exceptions): Use real FP ops rather than writing
4506 into the %fsr.
4507 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4508 Likewise.
4509
7dc00e0d
L
45102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4511
4512 [BZ #14117]
0bd53985
L
4513 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4514 * sysdeps/x86/bits/xtitypes.h: This.
4515
3a257e66
L
4516 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4517 * sysdeps/x86/bits/wordsize.h: This.
4518
62f62904
L
4519 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4520 * sysdeps/x86/bits/huge_vall.h: This.
4521
404fe9d9
L
4522 * sysdeps/i386/bits/select.h: Removed.
4523 * sysdeps/x86_64/bits/select.h: Renamed to ...
4524 * sysdeps/x86/bits/select.h: This.
4525
d48d0446
L
4526 * sysdeps/i386/bits/setjmp.h: Removed.
4527 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4528 * sysdeps/x86/bits/setjmp.h: This.
4529
7dc00e0d
L
4530 * sysdeps/i386/bits/mathdef.h: Removed.
4531 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4532 * sysdeps/x86/bits/mathdef.h: This.
4533
03277f8f
AS
45342012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4535
4536 [BZ #14132]
4537 * include/sys/socket.h (__connect_internal)
4538 (__libc_sa_len_internal): Remove declaration.
4539 (__connect, __libc_sa_len): Declare hidden_proto.
4540 (SA_LEN): Remove use of INTUSE.
4541 * socket/connect.c: Add libc_hidden_def.
4542 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4543 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4544 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4545 alias.
4546 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4547 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4548 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4549 of adding _internal alias.
4550
13764867
L
45512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4552
4553 [BZ #14117]
6bd97696
L
4554 * sysdeps/i386/bits/link.h: Removed.
4555 * sysdeps/i386/bits/linkmap.h: Likewise.
4556 * sysdeps/x86_64/bits/link.h: Renamed to ...
4557 * sysdeps/x86/bits/link.h: This.
4558 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4559 * sysdeps/x86/bits/linkmap.h: This.
4560
f726f0bb
L
4561 * sysdeps/i386/bits/endian.h: Removed.
4562 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4563 * sysdeps/x86/bits/endian.h: This.
4564
13764867
L
4565 * sysdeps/i386/bits/byteswap.h: Removed.
4566 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4567 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4568 * sysdeps/x86/bits/byteswap.h: This.
4569 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4570 * sysdeps/x86/bits/byteswap-16.h: This.
4571 * sysdeps/i386/Implies: Add x86.
4572 * sysdeps/x86_64/Implies: Likewise.
4573
ae251b0b
DM
45742012-05-30 David S. Miller <davem@davemloft.net>
4575
4576 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4577 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4578 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4579 (FP_TRAPPING_EXCEPTIONS): Define.
4580 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4581 (FP_TRAPPING_EXCEPTIONS): Define.
4582 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4583 subnormals only when inexact has been signalled or underflow
4584 exceptions are enabled.
4585 (_FP_PACK_CANONICAL): Likewise.
4586
d5c90867
L
45872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4588
4589 [BZ #14183]
4590 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4591 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4592
63f1549e
RH
45932012-05-30 Richard Henderson <rth@twiddle.net>
4594
8d8f2279
RH
4595 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4596 with #ifndef NOT_IN_libc.
4597
63f1549e
RH
4598 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4599 marked to avoid plt entry.
4600
0ab0291b
L
46012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4602
4603 [BZ #14112]
4604 * Makeconfig (default-abi): New macro.
4605 (abi-includes): Likewise.
4606 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4607 $(abi-$(default-abi)-lib-soname) for soname if defined.
4608 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4609 abi-variants.
4610 * Makefile (installed-stubs): Likewise.
4611 * include/stubs-biarch.h: Removed.
4612 * scripts/lib-names.awk: Only handle one library at a time.
4613 * scripts/soversions.awk: Remove WORDSIZE support.
4614 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4615 entries.
4616 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4617 Removed.
4618 (syscall-list-default-condition): Likewise.
4619 (syscall-list-default-condition): Likewise.
4620 (syscall-list-includes): Likewise.
4621 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4622 syscall-list-* with abi-*. Handle undefined abi-variants.
4623 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4624 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4625 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4626 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4627 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4628 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4629 Removed.
4630 (syscall-list-32-options): Likewise.
4631 (syscall-list-32-condition): Likewise.
4632 (syscall-list-64-options): Likewise.
4633 (syscall-list-64-condition): Likewise.
4634 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4635 macro.
4636 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4637 Renamed to ...
4638 (abi-*): This.
4639 (abi-64-ld-soname): New macro.
4640 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4641 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4642 Renamed to ...
4643 (abi-*): This.
4644 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4645 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4646
4da0431d
JM
46472012-05-30 Joseph Myers <joseph@codesourcery.com>
4648
3a85279c
JM
4649 * sysdeps/unix/sysv/linux/kernel-features.h
4650 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4651 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4652 include <kernel-features.h>.
4653 [!__NR_ftruncate64]: Remove conditional code.
4654 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4655 [__NR_ftruncate64]: Make code unconditional.
4656 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4657 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4658 include <kernel-features.h>.
4659 [!__NR_ftruncate64]: Remove conditional code.
4660 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4661 [__NR_ftruncate64]: Make code unconditional.
4662 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4664 include <kernel-features.h>.
4665 [!__NR_ftruncate64]: Remove conditional code.
4666 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4667 [__NR_ftruncate64]: Make code unconditional.
4668 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4670 include <kernel-features.h>.
4671 [!__NR_ftruncate64]: Remove conditional code.
4672 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4673 [__NR_ftruncate64]: Make code unconditional.
4674 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4675
4da0431d
JM
4676 * configure.in (libc_cv_fpie): Weaken to a compile test using
4677 LIBC_TRY_CC_OPTION.
4678 * configure: Regenerated.
4679
11ef492c
AK
46802012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4681
4682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4686 Refreshed.
4687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4693 Refreshed.
4694
d66ef399
DM
46952012-05-27 David S. Miller <davem@davemloft.net>
4696
4697 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4698 (___Q_zero): New.
4699 (__Q_simulate_exceptions): Return void. Change to simulate
4700 exceptions by writing into the %fsr.
4701 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4702 (__Qp_handle_exceptions): Likewise.
4703 (numbers): Delete.
4704 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4705 __Qp_handle_exceptions.
4706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4707 __Qp_handle_exceptions.
4708 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4709 as unused and give dummy FP_RND_NEAREST initializer.
4710 (FP_INHIBIT_RESULTS): Define.
4711 (___Q_simulate_exceptions): Update declaration.
4712 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4713 formatting.
4714 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4715 as unused and give dummy FP_RND_NEAREST initializer.
4716 (__Qp_handle_exceptions): Update declaration.
4717 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4718 formatting.
4719
04fb54b5
TS
47202012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4721
4722 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4723 the temporary FPU control word.
4724 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4725 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4726 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4727 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4728 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4729 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4730 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4731 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4732 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4733 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4734 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4735
3f99608f
KK
47362012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4737
4738 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4739 fields.
4740
65a4de4e
CLT
47412012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4742
4743 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4744 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4745 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4746 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4747 Likewise.
4748 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4749 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4750 Likewise.
4751
15749d40
UD
47522012-05-27 Ulrich Drepper <drepper@gmail.com>
4753
4754 * po/h.po: Update from translation team.
4755
25dbcb27
AS
47562012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4757
3d3f8e55
AS
4758 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4759
25dbcb27
AS
4760 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4761 handling of denormals.
4762 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4763 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4764 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4765 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4766 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4767 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4768 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4769 Likewise.
4770
7ad47a80 47712012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4772
4773 [BZ #14152]
4774 * math/libm-test.inc (fma_test): Don't always expect underflow
4775 exception.
4776
9c6ea9fa
SP
47772012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4778
4779 [BZ #12416]
4780 * elf/tst-execstack.c: Include stackinfo.h.
4781 (do_test): Adjust test case to ensure that pthread_getattr_np
4782 behaviour remains the same after marking stack executable.
4783
a8239222
JM
47842012-05-25 Joseph Myers <joseph@codesourcery.com>
4785
4786 * sysdeps/unix/sysv/linux/kernel-features.h
4787 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4788 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4789 kernel-features.h.
4790 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4791 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4792 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4793 kernel-features.h.
4794 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4795 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4796
918b5606
L
47972012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4798
4799 * configure.in: Define the default includes to being none.
4800 * configure: Regenerated.
4801
3a097cc7
RM
48022012-05-25 Roland McGrath <roland@hack.frob.com>
4803
8422c9a5
RM
4804 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4805 * sysdeps/x86_64/setjmp.S: Likewise.
4806 * sysdeps/i386/bsd-setjmp.S: Likewise.
4807 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4808 * sysdeps/i386/setjmp.S: Likewise.
4809 * sysdeps/i386/__longjmp.S: Likewise.
4810 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4811 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4812
3a097cc7
RM
4813 * include/stap-probe.h: New file.
4814 * configure.in: Handle --enable-systemtap.
4815 * configure: Regenerated.
4816 * config.h.in (USE_STAP_PROBE): New #undef.
4817 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4818 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4819 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4820
21708942
JM
48212012-05-25 Joseph Myers <joseph@codesourcery.com>
4822
4823 [BZ #13717]
4824 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4825 to 2.4.0 where earlier.
4826 * sysdeps/unix/sysv/linux/configure: Regenerated.
4827 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4828 <kernel-features.h>.
4829 [__ASSUME_32BITUIDS]: Make code unconditional.
4830 [!__ASSUME_32BITUIDS]: Remove conditional code.
4831 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4832 <kernel-features.h>.
4833 [__ASSUME_32BITUIDS]: Make code unconditional.
4834 [!__ASSUME_32BITUIDS]: Remove conditional code.
4835 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4836 [__ASSUME_32BITUIDS]: Make code unconditional.
4837 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4838 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4839 <kernel-features.h>.
4840 [__ASSUME_32BITUIDS]: Make code unconditional.
4841 [!__ASSUME_32BITUIDS]: Remove conditional code.
4842 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4843 <kernel-features.h>.
4844 [__ASSUME_32BITUIDS]: Make code unconditional.
4845 [!__ASSUME_32BITUIDS]: Remove conditional code.
4846 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4847 <kernel-features.h>.
4848 [__ASSUME_32BITUIDS]: Make code unconditional.
4849 [!__ASSUME_32BITUIDS]: Remove conditional code.
4850 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4851 <kernel-features.h>.
4852 [__ASSUME_32BITUIDS]: Make code unconditional.
4853 [!__ASSUME_32BITUIDS]: Remove conditional code.
4854 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4855 <kernel-features.h>.
4856 [__ASSUME_32BITUIDS]: Make code unconditional.
4857 [!__ASSUME_32BITUIDS]: Remove conditional code.
4858 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4859 <kernel-features.h>.
4860 [__ASSUME_32BITUIDS]: Make code unconditional.
4861 [!__ASSUME_32BITUIDS]: Remove conditional code.
4862 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4863 <kernel-features.h>.
4864 [__ASSUME_32BITUIDS]: Make code unconditional.
4865 [!__ASSUME_32BITUIDS]: Remove conditional code.
4866 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4867 <kernel-features.h>.
4868 [__ASSUME_32BITUIDS]: Make code unconditional.
4869 [!__ASSUME_32BITUIDS]: Remove conditional code.
4870 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4871 <kernel-features.h>.
4872 [__ASSUME_32BITUIDS]: Make code unconditional.
4873 [!__ASSUME_32BITUIDS]: Remove conditional code.
4874 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4875 <kernel-features.h>.
4876 [__ASSUME_32BITUIDS]: Make code unconditional.
4877 [!__ASSUME_32BITUIDS]: Remove conditional code.
4878 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4879 <kernel-features.h>.
4880 [__NR_setresgid] (__setresgid): Do not declare.
4881 [__ASSUME_32BITUIDS]: Make code unconditional.
4882 [!__ASSUME_32BITUIDS]: Remove conditional code.
4883 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4884 <kernel-features.h>.
4885 [__NR_setresuid] (__setresuid): Do not declare.
4886 [__ASSUME_32BITUIDS]: Make code unconditional.
4887 [!__ASSUME_32BITUIDS]: Remove conditional code.
4888 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4889 <kernel-features.h>.
4890 [__ASSUME_32BITUIDS]: Make code unconditional.
4891 [!__ASSUME_32BITUIDS]: Remove conditional code.
4892 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4893 <kernel-features.h>.
4894 [__ASSUME_32BITUIDS]: Make code unconditional.
4895 [!__ASSUME_32BITUIDS]: Remove conditional code.
4896 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4897 <kernel-features.h>.
4898 [__ASSUME_32BITUIDS]: Make code unconditional.
4899 [!__ASSUME_32BITUIDS]: Remove conditional code.
4900 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4901 <kernel-features.h>.
4902 [__ASSUME_32BITUIDS]: Make code unconditional.
4903 [!__ASSUME_32BITUIDS]: Remove conditional code.
4904 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4905 <kernel-features.h>.
4906 [__ASSUME_32BITUIDS]: Make code unconditional.
4907 [!__ASSUME_32BITUIDS]: Remove conditional code.
4908 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4909 <kernel-features.h>.
4910 [__ASSUME_32BITUIDS]: Make code unconditional.
4911 [!__ASSUME_32BITUIDS]: Remove conditional code.
4912 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4913 <kernel-features.h>.
4914 [__ASSUME_32BITUIDS]: Make code unconditional.
4915 [!__ASSUME_32BITUIDS]: Remove conditional code.
4916 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4917 <kernel-features.h>.
4918 [__ASSUME_32BITUIDS]: Make code unconditional.
4919 [!__ASSUME_32BITUIDS]: Remove conditional code.
4920 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4921 <kernel-features.h>.
4922 [__ASSUME_32BITUIDS]: Make code unconditional.
4923 [!__ASSUME_32BITUIDS]: Remove conditional code.
4924 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4925 <kernel-features.h>.
4926 [__ASSUME_32BITUIDS]: Make code unconditional.
4927 [!__ASSUME_32BITUIDS]: Remove conditional code.
4928 * sysdeps/unix/sysv/linux/kernel-features.h
4929 (__ASSUME_SETRESUID_SYSCALL): Remove.
4930 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4931 (__ASSUME_32BITUIDS): Likewise.
4932 (__ASSUME_LDT_WORKS): Likewise.
4933 (__ASSUME_O_DIRECTORY): Likewise.
4934 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4935 architecture but not kernel version.
4936 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4937 (__ASSUME_MMAP2_SYSCALL): Likewise.
4938 (__ASSUME_STAT64_SYSCALL): Likewise.
4939 (__ASSUME_IPC64): Likewise.
4940 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4941 <kernel-features.h>.
4942 [__ASSUME_32BITUIDS]: Make code unconditional.
4943 [!__ASSUME_32BITUIDS]: Remove conditional code.
4944 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4945 <kernel-features.h>.
4946 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4947 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4948 132096]: Remove conditional code.
4949 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4950 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4951 <kernel-features.h>.
4952 [__ASSUME_32BITUIDS]: Make code unconditional.
4953 [!__ASSUME_32BITUIDS]: Remove conditional code.
4954 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4955 <kernel-features.h>.
4956 [__ASSUME_32BITUIDS]: Make code unconditional.
4957 [!__ASSUME_32BITUIDS]: Remove conditional code.
4958 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4959 <kernel-features.h>.
4960 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4961 unconditional.
4962 (__setresgid): Do not declare.
4963 [__ASSUME_32BITUIDS]: Make code unconditional.
4964 [!__ASSUME_32BITUIDS]: Remove conditional code.
4965 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4966 <kernel-features.h>.
4967 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4968 unconditional.
4969 (__setresuid): Do not declare.
4970 [__ASSUME_32BITUIDS]: Make code unconditional.
4971 [!__ASSUME_32BITUIDS]: Remove conditional code.
4972 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4973 <kernel-features.h>.
4974 [__ASSUME_32BITUIDS]: Make code unconditional.
4975 [!__ASSUME_32BITUIDS]: Remove conditional code.
4976 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4977 <kernel-features.h>.
4978 [__ASSUME_32BITUIDS]: Make code unconditional.
4979 [!__ASSUME_32BITUIDS]: Remove conditional code.
4980
a386f1cc
RH
49812012-05-25 Richard Henderson <rth@twiddle.net>
4982
4983 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4984 dl_hwcap to ifunc resolver.
4985 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4986 elf_ifunc_invoke.
4987 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4988 dl_hwcap to ifunc resolver.
4989 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4990
b6550497
JM
49912012-05-24 Joseph Myers <joseph@codesourcery.com>
4992
4993 [BZ #14153]
4994 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4995 for |x| <= 2**-26, not 2**-57.
4996 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4997 exception.
4998
b0bc23a1
JL
49992012-05-24 Jeff Law <law@redhat.com>
5000
5001 * stdio-common/Makefile (tests): Add bug25.
5002 * stdio-common/bug25.c: New test.
5003
347c92e9
L
50042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5005
5006 [BZ #13576]
5007 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5008 multiple of MALLOC_ALIGNMENT in size.
5009 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5010
6bcc8b3f
JM
50112012-05-24 Joseph Myers <joseph@codesourcery.com>
5012
5013 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5014 Require >= 256.
5015 (FILENAME_MAX): Use macro-int-constant.
5016 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5017 (_IOFBF): Use macro-int-constant.
5018 (_IOLBF): Likewise.
5019 (_IONBF): Likewise.
5020 (SEEK_CUR): Likewise.
5021 (SEEK_END): Likewise.
5022 (SEEK_SET): Likewise.
5023 (TMP_MAX): Likewise.
5024 (EOF): Use macro-int-constant. Require < 0.
5025 (NULL): Use macro-constant. Require == 0.
5026 (stdin): Require type to be FILE *.
5027 (stdout): Likewise.
5028 (stderr): Likewise.
5029 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5030 macro-int-constant.
5031 (EXIT_SUCCESS): Likewise.
5032 (NULL): Use macro-constant. Require == 0.
5033 (RAND_MAX): Use macro-int-constant.
5034 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5035 [C99-based standards] (strtof): Require function.
5036 [C99-based standards] (strtold): Likewise.
5037 [C99-based standards] (strtoll): Likewise.
5038 [C99-based standards] (strtoull): Likewise.
5039 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5040 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5041 [ISO || ISO99 || ISO11] (math.h): Likewise.
5042 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5043 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5044 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5045
d18ea0c5
AS
50462012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5047
5048 [BZ #14132]
56d25bb8
AS
5049 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5050 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5051 * intl/dgettext.c (DCGETTEXT): Likewise.
5052 * intl/gettext.c (DCGETTEXT): Likewise.
5053 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5054 * posix/regex_internal.h (gettext): Likewise.
5055 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5056 Remove declaration.
5057 * include/argz.h (__argz_count_internal)
5058 (__argz_stringify_internal): Remove declaration.
5059 (__argz_count, __argz_stringify): Declare hidden proto.
5060 * intl/dcgettext.c: Remove use of INTDEF.
5061 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5062 * string/argz-stringify.c: Likewise.
5063 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5064 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5065 Declare hidden proto.
d18ea0c5
AS
5066 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5067 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5068 Declare hidden proto.
5069 * include/stdio.h (__asprintf_internal): Don't declare.
5070 (__asprintf): Don't define as macro. Declare hidden proto.
5071 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5072 (__fsetlocking): Declare hidden proto.
5073 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5074 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5075 hidden proto.
5076 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5077 (_IO_setlinebuf): Remove use of INTUSE.
5078 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5079 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5080 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5081 Remove declaration.
5082 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5083 (_IO_do_flush): Remove use of INTUSE.
5084 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5085 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5086 (_IO_adjust_column, _IO_least_wmarker)
5087 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5088 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5089 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5090 (_IO_default_doallocate, _IO_wdefault_doallocate)
5091 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5092 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5093 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5094 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5095 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5096 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5097 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5098 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5099 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5100 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5101 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5102 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5103 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5104 proto.
5105 (_IO_flush_all_internal, _IO_adjust_column_internal)
5106 (_IO_default_uflow_internal, _IO_default_finish_internal)
5107 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5108 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5109 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5110 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5111 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5112 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5113 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5114 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5115 (_IO_file_close_internal, _IO_file_close_it_internal)
5116 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5117 (_IO_file_init_internal, _IO_file_attach_internal)
5118 (_IO_file_fopen_internal, _IO_file_read_internal)
5119 (_IO_file_sync_internal, _IO_file_seek_internal)
5120 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5121 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5122 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5123 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5124 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5125 (_IO_list_all_internal, _IO_link_in_internal)
5126 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5127 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5128 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5129 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5130 (_IO_do_write_internal, _IO_padn_internal)
5131 (_IO_getline_info_internal, _IO_getline_internal)
5132 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5133 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5134 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5135 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5136 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5137 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5138 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5139 with libc_hidden_ver, remove use of INTUSE.
5140 * libio/genops.c: Likewise.
5141 * libio/freopen.c: Likewise.
5142 * libio/freopen64.c: Likewise.
5143 * libio/iofclose.c: Likewise.
5144 * libio/iofdopen.c: Likewise.
5145 * libio/iofflush.c: Likewise.
5146 * libio/iofflush_u.c: Likewise.
5147 * libio/iofgets.c: Likewise.
5148 * libio/iofgets_u.c: Likewise.
5149 * libio/iofopen.c: Likewise.
5150 * libio/iofopncook.c: Likewise.
5151 * libio/iofread.c: Likewise.
5152 * libio/iofread_u.c: Likewise.
5153 * libio/ioftell.c: Likewise.
5154 * libio/iofwrite.c: Likewise.
5155 * libio/iogetline.c: Likewise.
5156 * libio/iogets.c: Likewise.
5157 * libio/iogetwline.c: Likewise.
5158 * libio/iopadn.c: Likewise.
5159 * libio/iopopen.c: Likewise.
5160 * libio/ioseekoff.c: Likewise.
5161 * libio/ioseekpos.c: Likewise.
5162 * libio/iosetbuffer.c: Likewise.
5163 * libio/iosetvbuf.c: Likewise.
5164 * libio/ioungetc.c: Likewise.
5165 * libio/ioungetwc.c: Likewise.
5166 * libio/iovdprintf.c: Likewise.
5167 * libio/iovsprintf.c: Likewise.
5168 * libio/iovsscanf.c: Likewise.
5169 * libio/memstream.c: Likewise.
5170 * libio/obprintf.c: Likewise.
5171 * libio/oldfileops.c: Likewise.
5172 * libio/oldiofclose.c: Likewise.
5173 * libio/oldiofdopen.c: Likewise.
5174 * libio/oldiofopen.c: Likewise.
5175 * libio/oldiopopen.c: Likewise.
5176 * libio/oldstdfiles.c: Likewise.
5177 * libio/putc.c: Likewise.
5178 * libio/setbuf.c: Likewise.
5179 * libio/setlinebuf.c: Likewise.
5180 * libio/stdfiles.c: Likewise.
5181 * libio/strops.c: Likewise.
5182 * libio/vasprintf.c: Likewise.
5183 * libio/vscanf.c: Likewise.
5184 * libio/vsnprintf.c: Likewise.
5185 * libio/vswprintf.c: Likewise.
5186 * libio/wfiledoalloc.c: Likewise.
5187 * libio/wfileops.c: Likewise.
5188 * libio/wgenops.c: Likewise.
5189 * libio/wmemstream.c: Likewise.
5190 * libio/wstrops.c: Likewise.
5191 * libio/__fpurge.c: Likewise.
5192 * libio/__fsetlocking.c: Likewise.
5193 * assert/assert.c: Likewise.
5194 * debug/fgets_chk.c: Likewise.
5195 * debug/fgets_u_chk.c: Likewise.
5196 * debug/fread_chk.c: Likewise.
5197 * debug/fread_u_chk.c: Likewise.
5198 * debug/gets_chk.c: Likewise.
5199 * debug/obprintf_chk.c: Likewise.
5200 * debug/vasprintf_chk.c: Likewise.
5201 * debug/vdprintf_chk.c: Likewise.
5202 * debug/vsnprintf_chk.c: Likewise.
5203 * debug/vsprintf_chk.c: Likewise.
5204 * malloc/mtrace.c: Likewise.
5205 * misc/error.c: Likewise.
5206 * misc/syslog.c: Likewise.
5207 * stdio-common/asprintf.c: Likewise.
5208 * stdio-common/fxprintf.c: Likewise.
5209 * stdio-common/getw.c: Likewise.
5210 * stdio-common/isoc99_fscanf.c: Likewise.
5211 * stdio-common/isoc99_scanf.c: Likewise.
5212 * stdio-common/isoc99_vfscanf.c: Likewise.
5213 * stdio-common/isoc99_vscanf.c: Likewise.
5214 * stdio-common/isoc99_vsscanf.c: Likewise.
5215 * stdio-common/printf-prs.c: Likewise.
5216 * stdio-common/printf_fp.c: Likewise.
5217 * stdio-common/printf_fphex.c: Likewise.
5218 * stdio-common/printf_size.c: Likewise.
5219 * stdio-common/putw.c: Likewise.
5220 * stdio-common/scanf.c: Likewise.
5221 * stdio-common/sprintf.c: Likewise.
5222 * stdio-common/tmpfile.c: Likewise.
5223 * stdio-common/vfprintf.c: Likewise.
5224 * stdio-common/vfscanf.c: Likewise.
5225 * stdlib/strfmon_l.c: Likewise.
5226 * sunrpc/openchild.c: Likewise.
5227 * sunrpc/xdr_stdio.c: Likewise.
5228 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5229 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5230
d6c33fda
RM
52312012-05-24 Roland McGrath <roland@hack.frob.com>
5232
c1487492
RM
5233 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5234
5235 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5236 in the third column, to generate for the shared library an IFUNC
5237 that uses _dl_vdso_vsym.
5238 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5239 * Makeconfig (object-suffixes-noshared): New variable.
5240
5241 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5242 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5243 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5244 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5245
d6c33fda
RM
5246 [BZ #14132]
5247 * include/sys/time.h (__gettimeofday): Remove macro.
5248 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5249 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5250 Remove INTDEF.
5251 (__gettimeofday): Add libc_hidden_def.
5252 (gettimeofday): Add libc_hidden_weak.
5253 * sysdeps/mach/gettimeofday.c: Likewise.
5254 * sysdeps/posix/gettimeofday.c: Likewise.
5255 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5256 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5257 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5258 (__gettimeofday_internal): Remove strong_alias.
5259 (__gettimeofday): Add libc_hidden_def.
5260 (gettimeofday): Add libc_hidden_weak.
5261 * sysdeps/unix/syscalls.list (gettimeofday):
5262 Remove __gettimeofday_internal alias.
5263
b5a2bbe6
L
52642012-05-24 Daniel Jacobowitz <drow@false.org>
5265 H.J. Lu <hongjiu.lu@intel.com>
5266
5267 [BZ #12495]
5268 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5269 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5270 (largebin_index_32_big): New.
5271 (largebin_index): Use it for 16-byte alignment.
5272 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5273 correction with front_misalign.
5274
cfba4fda
L
52752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5276
7f907421
L
5277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5279 Likewise.
5280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5281 Likewise.
5282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5283 Likewise.
5284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5285 Likewise.
5286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5287 Likewise.
5288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5289 Likewise.
5290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5291 Likewise.
5292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5293 Likewise.
5294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5295 Likewise.
5296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5297 Likewise.
5298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5299 Likewise.
5300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5301 Likewise.
5302
cfba4fda
L
5303 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5304 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5305
80bad0cc
JM
53062012-05-24 Joseph Myers <joseph@codesourcery.com>
5307
7a25eb06
JM
5308 [BZ #10846]
5309 [BZ #14036]
5310 * math/libm-test.inc (exp_test): Add test from bug 14036.
5311 (pow_test): Add test from bug 10846.
5312
795405f9
JM
5313 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5314 and other flags.
5315 (special_function): Do not include flags in test name.
5316 (parse_args): Likewise.
5317 * sysdeps/i386/fpu/libm-test-ulps: Update.
5318 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5319 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5320 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5322
80bad0cc
JM
5323 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5324 exceptions.
5325 * math/libm-test.inc ("Philosophy"): Update comment about
5326 exception testing.
5327 (UNDERFLOW_EXCEPTION): New macro.
5328 (UNDERFLOW_EXCEPTION_OK): Likewise.
5329 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5330 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5331 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5332 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5333 (INVALID_EXCEPTION_OK): Update value.
5334 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5335 (OVERFLOW_EXCEPTION_OK): Likewise.
5336 (IGNORE_ZERO_INF_SIGN): Likewise.
5337 (test_exceptions): Handle underflow exceptions.
5338 (acos_test): Update for underflow exception expectations.
5339 (cexp_test): Likewise.
5340 (clog_test): Likewise.
5341 (clog10_test): Likewise.
5342 (csqrt_test): Likewise.
5343 (ctan_test): Likewise.
5344 (ctanh_test): Likewise.
5345 (exp_test): Likewise.
5346 (exp10_test): Likewise.
5347 (exp2_test): Likewise.
5348 (expm1_test): Likewise.
5349 (fma_test): Likewise.
5350 (j0_test): Likewise.
5351 (jn_test): Likewise.
5352 (nexttoward_test): Likewise.
5353 (pow_test): Likewise.
5354 (scalbn_test): Likewise.
5355 (scalbln_test): Likewise.
5356 (tan_test): Likewise.
5357 (y1_test): Likewise.
5358 * sysdeps/i386/fpu/libm-test-ulps: Update.
5359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5360
9e0e3d0b
DM
53612012-05-23 David S. Miller <davem@davemloft.net>
5362
5363 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5364 (__libc_sigaction): Remove unused local variables.
5365
ccd0a08f
L
53662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5367
5368 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5369
62bdf9a6
PE
53702012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5371
f8591f80
PE
5372 mktime: avoid signed integer overflow
5373 * time/mktime.c (__mktime_internal): Do not mishandle the case
5374 where diff == INT_MIN.
5375
94c7d826
PE
5376 mktime: simplify computation of average
5377 * time/mktime.c (ranged_convert): Use new time_t_avg function
5378 instead of rolling our own (probably-slower) code.
5379
ce73d683
PE
5380 mktime: do not assume signed right shift propagates sign bit
5381 * time/mktime.c (isdst_differ): New static function.
5382 (__mktime_internal): No need to normalize tm_isdst now.
5383 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5384 tm_isdst values.
5385
72a22e59
PE
5386 mktime: merge another wrapv change from gnulib
5387 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5388 from some compilers.
5389
68605433
PE
5390 mktime: remove incorrect attempt at unusual arithmetics
5391 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5392 The code didn't really work on such machines anyway.
5393 (TYPE_MINIMUM): Assume two's complement.
5394 (twos_complement_arithmetic): Verify that long_int and time_t
5395 are two's complement (or unsigned, in the latter case).
5396
03cf7fe3
PE
5397 mktime: check signed shifts on long_int and time_t, too
5398 * time/mktime.c (SHR): Check that shifts work as desired
5399 on the types long_int and time_t too, as SHR is used on
5400 such types.
5401
f04dfbc2
PE
5402 mktime: do not assume 'long' is wide enough
5403 * time/mktime.c (verify): Move decl up.
5404 (long_int): New type.
5405 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5406 to remove assumption in the code that 'long' is wide enough to
5407 store year values. This assumption is not true on x32 and on
5408 some non-glibc platforms.
5409
62bdf9a6
PE
5410 mktime: merge wrapv change from gnulib
5411 * time/mktime.c (WRAPV): New macro.
5412 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5413 (guess_time_tm, __mktime_internal): Do not assume that signed
5414 integer overflow wraps around; modern compilers generate code
5415 where this assumption is no longer valid.
5416
5e292e4f
L
54172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5418
5419 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5420 Replace "jmp L(pseudo_end)" with "ret".
5421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5422 Likewise.
5423
8caf8c87
AJ
54242012-05-23 Andreas Jaeger <aj@suse.de>
5425
5426 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5427 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5428
1a09dc56
AJ
54292012-05-23 Andreas Jaeger <aj@suse.de>
5430 Maximilian Attems <max@stro.at>
5431
5432 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5433 New macros.
5434
1c87aba0
L
54352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5436
5437 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5438 code so that pseudo_end is just ret and the stack pointer is
5439 correct also for static library in error case.
5440
40e45bd5
JM
54412012-05-23 Joseph Myers <joseph@codesourcery.com>
5442
c2670533
JM
5443 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5444 move to syscalls.list.
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5449
40e45bd5
JM
5450 * manual/install.texi (Running make install): Do not mention Linux
5451 kernel version for which pt_chown is not needed.
5452 (Linux): Do not mention problems with nscd with 2.0 kernels.
5453 * INSTALL: Regenerated.
5454
be08eda5
AJ
54552012-05-23 Andreas Jaeger <aj@suse.de>
5456
5457 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5458 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5459 macro.
5460 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5461 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5462 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5463 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5464 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5465 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5466 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5467 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5468 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5469 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5470 * sysdeps/unix/sysv/linux/bits/in.h
5471 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5472
a6a056bb
RM
54732012-05-22 Roland McGrath <roland@hack.frob.com>
5474
5475 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5476 (PREPARE_VERSION): Just use assert instead, it will be elided
5477 under [NDEBUG] anyway.
5478
c9009328
L
54792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5480
5481 * sysdeps/unix/sysv/linux/Makefile: Include
5482 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5483 (sysdep_routines): Remove sysctl.
c9009328
L
5484 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5485 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5486 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5487 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5488 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5489
73338355
AJ
54902012-05-22 Andreas Jaeger <aj@suse.de>
5491
5492 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5493 that pseudo_end is just ret and the stack pointer is correct also
5494 for static library in error case.
5495
d44638b0
PP
54962012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5497
5498 [BZ #14122]
5499 * nss/nsswitch.c (defconfig_entries): New variable.
5500 (__nss_database_lookup): Don't leak defconfig entries.
5501 (nss_parse_service_list): Don't leak on error paths.
5502 (free_database_entries): New function.
5503 (free_defconfig): New function.
5504 (free_mem): Move common code to free_database_entries.
5505
31a39bd8
L
55062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5507
da0331a8
L
5508 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5509 Add arch_prctl.
5510 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5511
31a39bd8
L
5512 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5513 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5515 New macro.
5516 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5517 (INTERNAL_SYSCALL_TYPES): Likewise.
5518 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5519 (LOAD_REGS_TYPES_[1-6]): Likewise.
5520 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5521 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5522
45470df3
AZ
55232012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5524
5525 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5526 copysignl for GLIBC_2_0.
5527 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5528 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5529 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5530 logbl for GLIBC_2_0.
5531 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5532 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5533
98a61bcb
L
55342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5535
a4f6e481
L
5536 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5537 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5538
f63d5db6
L
5539 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5540 Use "neg %eax".
5541
98a61bcb
L
5542 * time/mktime.c: Update copyright years.
5543
95770f14
PE
55442012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5545
6226efbd
PE
5546 mktime: merge comment-quoting-style change from gnulib
5547 * time/mktime.c: Quote 'like this' in comments.
5548 The GNU coding standards suggest that we no longer quote `like this',
5549 as "`" and "'" are typically rendered asymmetrically nowadays.
5550 The typical gnulib style is to quote 'like this' when quoting
5551 code, and "like this" when quoting English.
5552
b99e4f78
PE
5553 * time/mktime.c (compile-command): Add "-I.".
5554
643e01e6
PE
5555 mktime: merge mktime-internal.h change from gnulib
5556 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5557
2554247d
PE
5558 mktime: merge time_r change from gnulib
5559 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5560
826dd0ab
PE
5561 mktime: merge DEBUG change from gnulib
5562 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5563 case system <time.h> has a #define.
5564
bd83aabe
PE
5565 mktime: merge <sys/types.h> change from gnulib
5566 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5567 since <time.t> is now guaranteed to define time_t.
5568
95770f14
PE
5569 mktime: merge HAVE_CONFIG_H change from gnulib
5570 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5571
5e1a27a9
L
55722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5573
0e44a77e
L
5574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5575 Use "neg %eax".
5576
5e1a27a9
L
5577 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5578 __rlim_t cast.
5579 (struct rusage): Use anonymous union to pad each field to
5580 __syscall_slong_t.
5581
46259bec
DM
55822012-05-21 David S. Miller <davem@davemloft.net>
5583
5584 * Makefules (o-iterator): Remove .s cases.
5585 (compile-command.s): Delete.
5586 (COMPILE.s): Delete.
5587 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5588
59f0c22e
JM
55892012-05-21 Joseph Myers <joseph@codesourcery.com>
5590
5591 * configure.in (libc_cv_predef_stack_protector): Only consider
5592 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5593 * configure: Regenerated.
5594
20c07380
L
55952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5596
bbb3154b
L
5597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5598 New macro. Use R*LP on int and pointer.
5599 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5600 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5601 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5602 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5603
20c07380
L
5604 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5605 [__WORDSIZE_TIME64_COMPAT32] instead of
5606 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5607 (struct utmp): Likewise.
5608 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5609 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5610 Renamed to ...
5611 (__WORDSIZE_TIME64_COMPAT32): This.
5612 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5613 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5614 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5615 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5616 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5617 (__WORDSIZE_TIME64_COMPAT32): New macro.
5618
d8d1017e
AJ
56192012-05-21 Andreas Jaeger <aj@suse.de>
5620
5621 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5622 only if [SHARED]. Add prototype for __wcschr_ia32.
5623
6c7fb145
RM
56242012-05-21 Roland McGrath <roland@hack.frob.com>
5625
5626 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5627 of %rbp unmolested in the jmp_buf while mangling the low bits.
5628 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5629 unmolested high bits of %rbp while demangling the low bits.
5630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5631
66274218
AJ
56322012-05-21 Andreas Jaeger <aj@suse.de>
5633
07c58f8f
AJ
5634 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5635 * sunrpc/svc_simple.c: Use it for registerrpc.
5636 * sunrpc/xcrypt.c: Use it for passwd2des.
5637
66274218
AJ
5638 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5639
61f65140
L
56402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5641
5642 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5643 Don't define if [__SYSCALL_WORDSIZE != 32].
5644 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5645 New macro.
5646
5fefb436
AJ
56472012-05-21 Bruno Haible <bruno@clisp.org>
5648 Andreas Jaeger <aj@suse.de>
5649
5650 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5651 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5652 inptr and inend for must_buffer_ch.
5653 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5654 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5655 * stdio-common/Makefile (tests): Remove bug15.
5656 (bug15-ENV): Remove macro.
5657 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5658 anymore.
5659
d8e272ab
AJ
56602012-05-19 Andreas Jaeger <aj@suse.de>
5661 Roland McGrath <roland@hack.frob.com>
5662
5663 * manual/contrib.texi: Completely rewritten. It contains now an
5664 alphabetical list of contributors and their contributions.
5665
4a56a162
RH
56662012-05-21 Richard Henderson <rth@twiddle.net>
5667
5668 * misc/getauxval.c (__getauxval): Use unsigned long int.
5669 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5670 (getauxval): Use unsigned long int.
5671
d024d23c
L
56722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5673
5674 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5675
cbc00a03
RM
56762012-05-21 Roland McGrath <roland@hack.frob.com>
5677
5678 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5679 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5680 __alignof__ (long double).
5681
478143fa
AZ
56822012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5683
5684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5685
c7683a6d
RH
56862012-05-20 Richard Henderson <rth@twiddle.net>
5687
5688 * misc/getauxval.c: New file.
5689 * misc/sys/auxv.h: New file.
5690 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5691 (routines): Add getauxval.
5692 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5693 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5694 * elf/dl-sysdep.c (_dl_auxv): Remove.
5695 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5696 * elf/dl-support.c (_dl_auxv): New variable.
5697 (_dl_aux_init): Initialize it.
5698 * manual/startup.texi (Auxiliary Vector): New node.
5699 * sysdeps/generic/bits/hwcap.h: New file.
5700 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5701 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5702 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5703 * sysdeps/sparc/sysdep.h: ... here. Include it.
5704 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5705 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5707 Update.
c7683a6d
RH
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5716
a6f1845d
AZ
57172012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5718
5719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5720
cbcbe830
DM
57212012-05-19 David S. Miller <davem@davemloft.net>
5722
5723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5724
e0b16cc2
JM
57252012-05-19 Joseph Myers <joseph@codesourcery.com>
5726
5727 [BZ #14123]
5728 * math/s_ccosh.c: Include <float.h>
5729 (__ccosh): Avoid internal overflow calculating sinh and cosh
5730 values before multiplying by sin and cos values.
5731 * math/s_ccoshf.c: Likewise.
5732 * math/s_ccoshl.c: Likewise.
5733 * math/s_csin.c: Likewise.
5734 * math/s_csinf.c: Likewise.
5735 * math/s_csinl.c: Likewise.
5736 * math/s_csinh.c: Likewise.
5737 * math/s_csinhf.c: Likewise.
5738 * math/s_csinhl.c: Likewise.
5739 * math/libm-test.inc (ccos_test): Add more tests.
5740 (ccosh_test): Likewise.
5741 (csin_test): Likewise.
5742 (csinh_test): Likewise.
5743 * sysdeps/i386/fpu/libm-test-ulps: Update.
5744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5745
6ad13e08
L
57462012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5747
f66f0ce8
L
5748 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5749 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5750
6ad13e08
L
5751 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5752
b1d072a7
JM
57532012-05-19 Joseph Myers <joseph@codesourcery.com>
5754
5755 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5756 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5757 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5758 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5759 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5760 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5761 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5762 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5763 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5764 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5765 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5766 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5767 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5768 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5769 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5770 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5771 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5772 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5773 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5774 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5775 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5776 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5777 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5778 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5779 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5780 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5781 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5782 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5783 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5784 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5785 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5786
9eae47cb
AJ
57872012-05-18 Andreas Jaeger <aj@suse.de>
5788
5789 * csu/.gitignore: Delete.
5790
bb07f69f
L
57912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5792
5793 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5794 (timex): Use __syscall_slong_t.
5795
e6bdb741
AJ
57962012-05-18 Andreas Jaeger <aj@suse.de>
5797 Carlos O'Donell <carlos_odonell@mentor.com>
5798
5799 * manual/install.texi (Configuring and compiling): Update
5800 description about files modified in the source directory.
d6c33fda 5801 * INSTALL: Regenerated.
e6bdb741 5802
1b74487e
L
58032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5804
5805 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5806 value. Use "or" to set return value to -1.
5807 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5808 negate return value.
5809
a88b64b9
TMQMF
58102012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5811
5812 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5813 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5814 failure if the compiler has Graphite support disabled.
5815 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5816 Likewise.
5817 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5818 CFLAGS-memmove.c): Likewise.
5819 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5820 Likewise.
5821
3707636e
L
58222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5823
610b8622
L
5824 * sysdeps/x86_64/x32/_itoa.h: New file.
5825
7cd195df
L
5826 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5827 getdents system call only if kernel and user dirents have the
5828 same d_ino and d_off.
5829
94b07d20
L
5830 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5831 LLONG_MAX != LONG_MAX.
5832 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5833 (_fitoa_word): Likewise.
5834
18298070
L
5835 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5836 years.
5837 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5838 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5839 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5840
553c7ea4
L
5841 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5842 include <bits/wordsize.h>. Check __x86_64__ instead of
5843 __WORDSIZE.
5844 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5845 if __x86_64__ is defined. Use anonymous union on fpstate.
5846
3707636e
L
5847 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5848 anonymous union.
5849
b53ef01a
AS
58502012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5851
37fb1dc0
AS
5852 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5853 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5854 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5855 Refer to _rtld_local_ro instead of _rtld_global_ro.
5856 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5857 Likewise.
5858 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5859 Likewise.
5860 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5861 Likewise.
5862 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5863 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5864 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5865
b53ef01a
AS
5866 * sysdeps/powerpc/powerpc32/dl-machine.c
5867 (__elf_machine_runtime_setup) [PROF]: Don't reference
5868 _dl_prof_resolve.
5869
7a185db2
AJ
58702012-05-18 Andreas Jaeger <aj@suse.de>
5871
5872 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5873 function only available for GCCs before 3.4 since GCC 3.4
5874 introduced a builtin.
5875 (lrint): Likewise.
5876 (llrintf): Likewise.
5877 (llrint): Likewise.
5878 (fmaxf): Likewise.
5879 (fmax): Likewise.
5880 (fminf): Likewise.
5881 (fmin): Likewise.
5882 (rint): Likewise.
5883 (rintf): Likewise.
5884 (nearbyint): Likewise.
5885 (nearbyintf): Likewise.
5886 (ceil): Likewise.
5887 (ceilf): Likewise.
5888 (floor): Likewise.
5889 (floorf): Likewise.
5890
3e5aef87
L
58912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5892
428bd707
L
5893 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5894 on both fields and cast pointer to __syscall_ulong_t.
5895
3e5aef87
L
5896 * bits/types.h (__fsword_t): New type.
5897 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5898 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5900 (__FSWORD_T_TYPE): Likewise.
5901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5902 (__FSWORD_T_TYPE): Likewise.
5903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5904 (__FSWORD_T_TYPE): Likewise.
5905 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5906 (__FSWORD_T_TYPE): Likewise.
5907 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5908 __SWORD_TYPE with __fsword_t.
5909 (statfs64): Likewise.
5910
1ba7c3dc
DM
59112012-05-17 David S. Miller <davem@davemloft.net>
5912
5913 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5914
59910343
AJ
59152012-05-17 Andreas Jaeger <aj@suse.de>
5916
5917 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5918 warning.
5919
2e4c1e9e
L
59202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5921
5922 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5923
de7f5ce7
AJ
59242012-05-17 Andreas Jaeger <aj@suse.de>
5925
5926 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5927 when it is used.
5928
286abc3d
CM
59292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5930
5931 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5932
477cc68e
L
59332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5934
5935 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5936 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5937
1a0994f5
CD
59382012-05-17 Andreas Jaeger <aj@suse.de>
5939 Carlos O'Donell <carlos_odonell@mentor.com>
5940
5941 [BZ #14059]
5942 * sysdeps/x86_64/multiarch/init-arch.h
5943 (bit_YMM_Usable): Rename to...
5944 (bit_AVX_Usable): ... this.
5945 (bit_FMA4_Usable): New macro.
5946 (bit_XMM_state): New macro.
5947 (bit_YMM_state): New macro.
5948 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5949 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5950 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5951 (CPUID_OSXSAVE): New macro.
5952 (CPUID_AVX): New macro.
5953 (CPUID_FMA4): New macro.
5954 (index_YMM_Usable): Rename to...
5955 (index_AVX_Usable): ... this.
5956 (HAS_AVX): Use HAS_ARCH_FEATURE.
5957 (HAS_FMA4): Likewise.
5958 (HAS_YMM_USABLE): Remove.
5959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5960 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5961 are present.
5962 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5963 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5964 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5965 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5966 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5967
0af797de
CM
59682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5969
5970 * math/libm-test.c: Support platforms without multiple rounding modes.
5971 * math/bug-nextafter.c: Support platforms without FP exceptions.
5972 * math/bug-nexttoward.c: Likewise.
5973 * math/test-fenv.c: Likewise.
5974 * math/test-misc.c: Likewise.
5975 * stdlib/bug-getcontext.c: Likewise.
5976
e39745ff
AJ
59772012-05-17 Andreas Jaeger <aj@suse.de>
5978
5979 * manual/examples/search.c (critter_cmp): Change signature to
5980 avoid warnings.
5981 * manual/string.texi (Collation Functions): Likewise.
5982
48970aba
L
59832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5984
5985 * bits/types.h: Fold copyright years.
5986 * bits/typesizes.h: Likewise.
5987 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5988 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5989 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5991 * time/time.h: Likewise.
5992
bedee953
PP
59932012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5994
5995 [BZ #208]
5996 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5997 in instead of returning them. Return void.
5998 (__libc_mallinfo): Accumulate over all arenas.
5999 (__malloc_stats): Adjust for change in int_mallinfo interface.
6000
61653dfb
RM
60012012-05-16 Roland McGrath <roland@hack.frob.com>
6002
30b99d79
RM
6003 [BZ #10375]
6004 * configure.in (NM): Add AC_CHECK_TOOL for it.
6005 (libc_extra_cflags): New substituted variable.
6006 Check for -fstack-protector being used implicitly.
6007 * configure: Regenerated.
6008 * config.make.in (config-extra-cflags): New variable,
6009 gets @libc_extra_cflags@.
6010 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6011
61653dfb
RM
6012 [BZ #10375]
6013 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6014 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6015 * configure: Regenerated.
6016 * config.make.in (CPPUNDEFS): New substituted variable.
6017 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6018 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6019 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6020
661768bb
L
60212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6022
6023 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6024 (mq_attr): Use __syscall_slong_t.
6025
d4261567
L
60262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6027
6028 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6029 Check __x86_64__ instead of __WORDSIZE.
6030 (_STAT_VER_LINUX): Likewise.
6031 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6032 __syscall_ulong_t and __syscall_slong_t.
6033 (stat64): Likewise.
6034
cf3ff365
L
60352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6036
6037 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6038
76cf3e4d
L
60392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6040
6041 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6042
a637753a
L
60432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6044
6045 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6046 __syscall_ulong_t.
6047
d5e05119
L
6048 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6049 include <bits/wordsize.h>. Check __x86_64__ instead of
6050 __WORDSIZE.
6051 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6052 defined.
6053 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6054
f62ee380
L
6055 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6056 include <bits/wordsize.h>. Check __x86_64__ instead of
6057 __WORDSIZE.
6058 (user_regs_struct): Use "__extension__ unsigned long long"
6059 instead of "unsigned long" if __x86_64__ is defined.
6060 (user): Likewise. Pad after pointer field if __ILP32__ is
6061 defined.
6062
4e124ced
JM
60632012-05-16 Joseph Myers <joseph@codesourcery.com>
6064
6a3951a0
JM
6065 * configure.in (makeinfo): Require version 4.5 or later. Allow
6066 versions 5 to 9.
6067 * configure: Regenerated.
6068 * manual/install.texi (texinfo): Increase version requirement to
6069 4.5 or later.
6070 * INSTALL: Regenerated.
6071
4e124ced
JM
6072 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6073
953ca31a
L
60742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6075
6076 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6077
617aca05
L
6078 * sysdeps/x86_64/x32/ffs.c: New file.
6079
5762f7ae
L
6080 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6081 __syscall_ulong_t.
6082 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6083 defined. Use __syscall_ulong_t.
6084 (shminfo): Use __syscall_ulong_t.
6085 (shm_info): Likewise.
6086
a26b6856
L
6087 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6088 __syscall_ulong_t.
6089
cb2b9ef7
L
6090 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6091 <bits/wordsize.h>.
6092 (msgqnum_t): Use __syscall_ulong_t.
6093 (msglen_t): Likewise.
6094 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6095 __syscall_ulong_t.
6096
34683bb0
L
6097 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6098 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6099
84a68786
L
6100 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6101
48baa5f1
L
6102 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6103 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6104
180be88b
L
6105 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6106 __syscall_slong_t.
6107
5e90c8ad
L
6108 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6109 include <bits/wordsize.h>. Check __x86_64__ instead of
6110 __WORDSIZE.
6111
23dfb58b
L
6112 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6113 "unsigned long long int" if __x86_64__ is defined.
6114 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6115
ce5d54b0
L
6116 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6117 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6118 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6119
13dc9eac
L
6120 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6121 <stdint.h>.
6122 (GET_PC): Cast to uintptr_t first.
6123 (GET_FRAME): Likewise.
6124 (GET_STACK): Likewise.
6125
a7895d15
L
6126 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6127 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6128 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6129 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6130 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6131 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6132 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6133 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6134 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6135 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6136 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6137 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6138 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6139 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6140 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6141 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6142 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6143 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6144 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6145 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6146 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6147 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6148 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6149 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6150 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6151 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6152 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6153 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6154 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6155
656416c9
AS
61562012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6157
5bd66283
AS
6158 * Makerules (+depfiles): Also collect depfiles from .oS in
6159 $(extra-objs).
6160 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6161 .oS, $(libnldbl-routines)).
6162
656416c9
AS
6163 * Makerules (native-compile-mkdep-flags): Define.
6164 * sunrpc/Makefile (extra-objs): Add $(addprefix
6165 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6166 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6167 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6168 calling $(make-target-directory).
6169
a46f2169
L
61702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6171
6172 * bits/types.h (__snseconds_t): Removed.
6173 * time/time.h (struct timespec): Replace __snseconds_t with
6174 __syscall_slong_t.
6175 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6176 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6177 Likewise.
6178 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6179 (__SNSECONDS_T_TYPE): Likewise.
6180 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6181 (__SNSECONDS_T_TYPE): Likewise.
6182 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6183 (__SNSECONDS_T_TYPE): Likewise.
6184
6af6528b
L
61852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6186
6187 * sysdeps/mach/hurd/bits/typesizes.h
6188 (__SYSCALL_SLONG_TYPE): New macro.
6189 (__SYSCALL_ULONG_TYPE): Likewise.
6190
de986b56
L
61912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6192
6193 * bits/types.h (__syscall_slong_t): New type.
6194 (__syscall_ulong_t): Likewise.
6195
6196 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6197 (__SYSCALL_ULONG_TYPE): Likewise.
6198 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6199 (__SYSCALL_SLONG_TYPE): Likewise.
6200 (__SYSCALL_ULONG_TYPE): Likewise.
6201 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6202 (__SYSCALL_SLONG_TYPE): Likewise.
6203 (__SYSCALL_ULONG_TYPE): Likewise.
6204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6205 (__SYSCALL_SLONG_TYPE): Likewise.
6206 (__SYSCALL_ULONG_TYPE): Likewise.
6207
85736dc7
L
62082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6209
6210 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6211 Add sigaltstack-offsets.sym.
6212 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6213 <sigaltstack-offsets.h>.
6214 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6215 longjmp_msg pointer.
6216 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6217 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6218 signal stack.
6219 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6220
cc03b296
JM
62212012-05-15 Joseph Myers <joseph@codesourcery.com>
6222
a9538892
JM
6223 * elf/stackguard-macros.h: Remove file.
6224 * sysdeps/generic/stackguard-macros.h: New file.
6225 * sysdeps/i386/stackguard-macros.h: Likewise.
6226 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6227 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6228 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6229 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6230 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6231 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6232 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6233 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6234 <elf/stackguard-macros.h>.
6235
cc03b296
JM
6236 [BZ #14109]
6237 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6238 __aligned__ in attribute.
6239 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6240 (gregset_t): Likewise.
6241
93171016
L
62422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6243
6244 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6245 * sysdeps/x86_64/64/Implies-after: Here. New file.
6246 * sysdeps/x86_64/x32/Implies-after: New file.
6247
d86813a0
L
62482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6249
6250 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6251 and access return value for _dl_profile_fixup. Use R10_LP to
6252 load frame size.
6253
2953ec75
L
62542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6255
6256 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6257
3b550e9e
L
62582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6259
6260 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6261 * sysdeps/x86_64/x32/sysdep.h: New file.
6262
eda41706
L
62632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6264
6265 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6266 * sysdeps/x86_64/setjmp.S: Likewise.
6267
9ea01d93
AZ
62682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6269
6270 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6271 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6272 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6273 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6274 remove unused global constant.
6275
02a91938
CM
62762012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6277
6278 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6279 include of <not-cancel.h>.
6280
6540185f
RM
62812012-05-15 Roland McGrath <roland@hack.frob.com>
6282
6283 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6284
509072a0
AJ
62852012-05-15 Jeff Law <law@redhat.com>
6286 Andreas Jaeger <aj@suse.de>
6287
6288 [BZ #13594]
6289 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6290 out from...
6291 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6292 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6293 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6294 code changing __hst_map_handle.map.
6295
ba75122d
RM
62962012-05-15 Roland McGrath <roland@hack.frob.com>
6297
6298 * configure.in (sysnames): Look for Implies-before and Implies-after
6299 files.
6300 * configure: Regenerated.
6301
890d8bd8
L
63022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6303
6304 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6305 8-byte data alignment with LP_SIZE alignment.
6306
f6ee6623
L
63072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6308
6309 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6310 into R10_LP.
6311
ea2626f6
L
63122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6313
6314 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6315
085f715e
L
63162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6317
6318 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6319 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6320 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6321 Likewise.
6322 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6323
be8498fc
L
63242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6325
6326 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6327 (stackinfo_sub_sp): Likewise.
6328
70bc83b9
L
63292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6330
6331 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6332 RAX_LP.
6333
9bc0b730
L
63342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6335
6336 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6337 into R*_LP.
6338
6d2850e7
L
63392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6340
6341 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6342 sizes into R*_LP.
6343
3cb84561
L
63442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6345
6346 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6347
54e2ed81
L
63482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6349
6350 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6351 into R11_LP and load __x86_64_shared_cache_size_half into
6352 R8_LP.
6353
8a17f349
L
63542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6355
6356 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6357 R8_LP.
6358
777b1eea
AZ
63592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6360
6361 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6362 logb for POWER7.
6363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6364 logbf for POWER7.
6365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6366 logbl for POWER7.
6367 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6368 powerpc32/power7/fpu/s_logb.c via #include.
6369 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6370 powerpc32/power7/fpu/s_logbf.c via #include.
6371 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6372 powerpc32/power7/fpu/s_logbl.c via #include.
6373
d20d4ac2
JM
63742012-05-15 Joseph Myers <joseph@codesourcery.com>
6375
6376 * README.libm: Remove file.
6377
6cdef1ab
L
63782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6379
6380 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6381 count for x32. Use R*_LP and omit operand-size suffix.
6382
0b254d8f
L
63832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6384
6385 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6386 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6387 * sysdeps/x86_64/x32/shlib-versions: New file.
6388
ceb809dc
RM
63892012-05-14 Roland McGrath <roland@hack.frob.com>
6390
6391 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6392 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6393 Use _dl_fatal_printf instead.
6394
37f1abd4
JM
63952012-05-14 Joseph Myers <joseph@codesourcery.com>
6396
6397 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6398 set if not set by the user. Do not allow for being unset.
6399 * sysdeps/unix/sysv/linux/configure: Regenerated.
6400
11de3a33
L
64012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6402
6403 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6404 the `q' suffix from lea and replace .quad with ASM_ADDR.
6405
e02f153a
L
64062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6407
6408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6409 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6410 instead of $17.
6411 (PTR_DEMANGLE): Likewise.
6412
520ae0fd
L
64132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6414
6415 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6416 (LP_OP): Likewise.
6417 (ASM_ADDR): Likewise.
6418 (RAX_LP): Likewise.
6419 (RBP_LP): Likewise.
6420 (RBX_LP): Likewise.
6421 (RCX_LP): Likewise.
6422 (RDI_LP): Likewise.
6423 (RSI_LP): Likewise.
6424 (RSP_LP): Likewise.
6425 (R8_LP): Likewise.
6426 (R9_LP): Likewise.
6427 (R10_LP): Likewise.
6428 (R10_LP): Likewise.
6429 (R11_LP): Likewise.
6430 (R12_LP): Likewise.
6431 (R13_LP): Likewise.
6432 (R14_LP): Likewise.
6433 (R15_LP): Likewise.
6434
b985be81
L
64352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6436
6437 * sysdeps/x86_64/x32/dl-machine.h: New file.
6438
6a4888ff
AJ
64392012-05-14 Andreas Jaeger <aj@suse.de>
6440
6441 * manual/Makefile (subdir): Remove export of subdir.
6442 (all): Remove target.
6443 (.PHONY): Remove all from list.
6444 (mkinstalldirs): Remove.
6445 (.PHONY): Remove installdirs from list.
6446 ($(inst_infodir)/libc.info): Use make-target-directory.
6447 (installdirs): Remove.
6448 (subdir_%): Remove.
6449 (glibc-targets): Remove.
6450 (lib): Remove.
6451 (stubs): Remove.
6452 ($(objpfx)stubs ../po/manual.pot): Remove.
6453 ($(objpfx)stamp%): Remove.
6454 (make-target-directory): Remove.
6455 (subdir_install): Remove.
6456 (routines): Remove.
6457 (aux): Remove.
6458 (sources): Remove.
6459 (objects): Remove.
6460 (headers): Remove.
6461
6462 [BZ #13750]
6463 * manual/.gitignore: Remove, it's not needed anymore.
6464 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6465 all files in it.
6466 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6467 directory.
6468 (texis): Renamed to $(objpfx)texis.
6469 (texis-path): New, contains path to generated files.
6470 (chapters.%): Use texis-path for complete path, add extra argument
6471 libc-texinfo.sh.
6472 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6473 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6474 (summary,texi, stamp-summary): Use complete path of
6475 files. Generate files in build dir.
6476 (dir-add.texi): Build in build dir.
6477 (libm-err.texi,stamp-libm-err): Likewise.
6478 (version.texi, stamp-version): Likewise.
6479 (.%c.texi): Likewise.
6480 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6481 (mostlyclean): Remove target.
6482 (realclean): Remove target.
6483 (generated): Add new variable with contents from mostlyclean and
6484 realclean, remove entries duplicated in common-mostlyclean, add
6485 stamp-libm-err and stamp-version.
6486 (generated-dirs): Add libc directory.
6487 ($(inst_infodir)/libc.info): Install files from build dir.
6488
6489 * manual/install.texi (Configuring and compiling): Adjust since
6490 the info files are not part of the tar ball anymore.
6491
7ac77294
AJ
64922012-05-14 Andreas Jaeger <aj@suse.de>
6493
6494 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6495 variable.
6496
ffb7875d
JM
64972012-05-14 Joseph Myers <joseph@codesourcery.com>
6498
6499 [BZ #13717]
6500 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6501 to 2.2.0 where earlier.
6502 * sysdeps/unix/sysv/linux/configure: Regenerated.
6503 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6504 Remove conditional code.
6505 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6506 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6507 Remove conditional code.
6508 [!__NR_lchown]: Likewise.
6509 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6510 [__NR_lchown]: Likewise.
6511 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6512 comment referencing __ASSUME_LCHOWN_SYSCALL.
6513 * sysdeps/unix/sysv/linux/i386/sigaction.c
6514 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6515 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6516 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6517 Remove conditional code.
6518 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6519 (__protocol_available): Remove #if 0 code.
6520 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6521 conditional code.
6522 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6523 * sysdeps/unix/sysv/linux/kernel-features.h
6524 (__ASSUME_GETCWD_SYSCALL): Don't define.
6525 (__ASSUME_REALTIME_SIGNALS): Likewise.
6526 (__ASSUME_PREAD_SYSCALL): Likewise.
6527 (__ASSUME_PWRITE_SYSCALL): Likewise.
6528 (__ASSUME_POLL_SYSCALL): Likewise.
6529 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6530 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6531 non-SPARC.
6532 (__ASSUME_SIOCGIFNAME): Don't define.
6533 (__ASSUME_MSG_NOSIGNAL): Likewise.
6534 (__ASSUME_SENDFILE): Define unconditionally.
6535 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6536 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6537 conditional code.
6538 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6539 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6540 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6541 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6542 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6543 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6544 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6546 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6547 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6549 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6550 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6552 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6553 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6555 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6556 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6558 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6559 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6561 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6564 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6567 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6569 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6570 Remove conditional code.
6571 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6572 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6573 Remove conditional code.
6574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6575 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6576 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6577 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6578 Remove conditional code.
6579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6580 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6581 Remove conditional code.
6582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6583 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6584 Remove conditional code.
6585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6586 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6587 Remove conditional code.
6588 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6589 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6590 Remove conditional code.
6591 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6592 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6593 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6595 * sysdeps/unix/sysv/linux/sigaction.c
6596 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6597 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6598 * sysdeps/unix/sysv/linux/sigpending.c
6599 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6600 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6601 * sysdeps/unix/sysv/linux/sigprocmask.c
6602 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6603 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6604 * sysdeps/unix/sysv/linux/sigsuspend.c
6605 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6606 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6607 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6608 (__libc_missing_rt_sigs): Remove.
6609 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6610 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6611 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6612 Remove conditional code.
6613 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6614 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6615 return 1.
6616 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6617 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6618 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6619 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6620
1bfb7291
AJ
66212012-05-14 Andreas Jaeger <aj@suse.de>
6622
caae5a81
AJ
6623 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6624 it's not used in glibc.
6625 (__coshm1): Likewise.
6626 (__acosh1p): Likewise.
6627 (__sgn): Likewise.
6628
1bfb7291
AJ
6629 * manual/string.texi (Copying and Concatenation): Add missing
6630 variable in concat example.
6631 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6632
c044d724
L
66332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6634
144c5467 6635 [BZ #14103]
c044d724
L
6636 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6637 __builtin_clzl with __builtin_clzll.
6638
2523c62b
L
66392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6640
6641 [BZ #14104]
6642 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6643 libc_freeres_ptr.
6644
d7bb4c42
LD
66452012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6646
6647 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6648 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6649 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6650 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6651
9dc4e1fb
MF
66522012-05-14 Mike Frysinger <vapier@gentoo.org>
6653
6654 * NEWS: Update ia64 info.
6655
c7df0112
AS
66562012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6657
6658 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6659 used as bcopy.
6660
dc70356c
TS
66612012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6662
6663 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6664 * sysdeps/unix/syscalls.list (dup3): Likewise.
6665 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6666 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6667
9fb1a21f
L
66682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6669
6670 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6671 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6672
4822a2a5
L
66732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6674
6675 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6676 thread pointer.
6677 (TLS_IE): Use mov/add instead of movq/addq to load thread
6678 pointer.
6679 (TLS_GD_PREFIX): New.
6680 (TLS_GD): Use it.
6681
842b81d6
DM
66822012-05-11 David S. Miller <davem@davemloft.net>
6683
6684 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6685 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6686 (_FPU_SETCW): Likewise.
6687
1cf463cd
L
66882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6689
6690 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6691 is 32-byte aligned.
6692
60cc4a18
AS
66932012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6694
6695 [BZ #11837]
6696 * iconvdata/gb18030.c: Update tables.
6697 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6698 characters specially.
6699 (BODY for TO_LOOP): Add encoding of missing ranges.
6700
febb44a4
TS
67012012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6702
6703 [BZ #13673]
6704 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6705 * sysdeps/mach/hurd/dup3.c: Likewise.
6706 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6707 * sysdeps/powerpc/memmove.c:: Likewise.
6708
0a10fb9e
L
67092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6710
6711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6712 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6713
df8a552f
L
67142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6715
6716 * elf/elf.h (R_X86_64_RELATIVE64): New.
6717 (R_X86_64_NUM): Updated.
6718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6719 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6720 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6721 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6722 tst-quad1pie tst-quad2pie
6723 (modules-names): Add tst-quadmod1 tst-quadmod2.
6724 ($(objpfx)tst-quad1): New dependency.
6725 ($(objpfx)tst-quad2): Likewise.
6726 ($(objpfx)tst-quad1pie): Likewise.
6727 ($(objpfx)tst-quad2pie): Likewise.
6728 * sysdeps/x86_64/tst-quad1.c: New file.
6729 * sysdeps/x86_64/tst-quad1pie.c: New file.
6730 * sysdeps/x86_64/tst-quad2.c: Likewise.
6731 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6732 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6733 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6734 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6735 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6736
f34d6f84
ST
67372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6738
f42d41d1
ST
6739 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6740 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6741 * streams/stropts.h (t_scalar_t): Define type.
6742
3c3571fc
ST
6743 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6744 (_PATH_PRESERVE): Set to "/var/lib".
6745 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6746
61f06bd3
ST
6747 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6748 instead of int.
6749
918d4d71
ST
6750 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6751 if __dir_mkfile succeeded.
6752
f34d6f84
ST
6753 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6754 checking for _hurd_dtablesize. Unlock it right after having
6755 finished _hurd_dtable allocation.
6756
10589b4a
TS
67572012-05-10 Thomas Schwinge <thomas@schwinge.name>
6758
674cdbc7
TS
6759 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6760 * sysdeps/mach/hurd/configure: Regenerated.
6761 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6762 special-casing to...
6763 * sysdeps/gnu/configure.in: ... this new file.
6764 * sysdeps/unix/sysv/linux/configure: Regenerated.
6765 * sysdeps/gnu/configure: New generated file.
6766
8e41b99f
TS
6767 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6768 for Linux: use nsec instead of usec, as well as:
6769 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6770 members of type struct timespec.
6771 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6772 New macros.
6773 (struct stat64): Likewise.
6774 (_STATBUF_ST_NSEC): New macro.
6775 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6776
10589b4a
TS
6777 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6778 __strtoul_internal rather than strtoul.
6779
63643c85
PT
67802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6781
6782 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6783 and reject them.
6784
3faebe6a
ST
67852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6786
6787 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6788 which preserves existing values.
6789 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6790
c6474b07
PT
67912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6792
6793 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6794 TIMEOUT values. Return EINVAL for NFDS values either negative or
6795 greater than FD_SETSIZE.
6796
1043890b
ST
67972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6798
6799 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6800 allocated, call __vm_protect to finish enabling the existing space, and
6801 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6802 allocate the remainder.
6803
37ed8b9b
PT
68042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6805
6806 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6807 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6808
db653660
ST
68092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6810
37ed8b9b
PT
6811 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6812 sysdeps/mach/hurd/readlink.c.
b29d4053 6813
db653660
ST
6814 * posix/tst-sysconf.c (posix_options): Only use
6815 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6816 _POSIX_SYNCHRONIZED_IO when they are defined
6817 * sysdeps/mach/hurd/bits/posix_opt.h:
6818 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6819 (_XOPEN_REALTIME): Undefine macro.
6820 (_XOPEN_REALTIME_THREADS): Undefine macro.
6821 (_XOPEN_SHM): Undefine macro.
6822 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6823 macro to -1.
6824 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6825 macro to -1.
6826 (_POSIX_ASYNC_IO): Undefine macro.
6827 (_POSIX_PRIORITIZED_IO): Undefine macro.
6828 (_POSIX_SPIN_LOCKS): Define macro to -1.
6829
ee16e894
ST
6830 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6831 SA_NODEFER, SA_RESETHAND.
6832 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6833 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6834 F_DUPFD_CLOEXEC.
6835
6103ae3b
TS
68362012-05-10 Thomas Schwinge <thomas@schwinge.name>
6837
6838 * elf/Makefile (pldd-modules): Define unconditionally.
6839
80b4e5f3
TS
68402012-05-10 Thomas Schwinge <thomas@schwinge.name>
6841
6842 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6843
edadcbd6
ST
68442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6845
6846 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6847 Return ENOENT when name is empty.
6848 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6849
80694780
TS
68502012-05-10 Thomas Schwinge <thomas@schwinge.name>
6851
1792c087
TS
6852 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6853
80694780
TS
6854 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6855
6b645f0d
ST
68562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6857
80694780
TS
6858 Fix mlock in all cases except non-readable pages.
6859 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6860 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6861
6b645f0d
ST
6862 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6863 (__mkdir): When path is `/', just fail with EEXIST.
6864 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6865
e468f8a3
TS
68662012-05-10 Thomas Schwinge <thomas@schwinge.name>
6867
6868 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6869 <sys/uio.h> (for writev).
6870 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6871 and <sys/param.h> (for MIN).
6872
a4186cff
PT
68732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6874
6875 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6876 REQUESTED_TIME. Properly set the remaining time and return EINTR
6877 if interrupted.
6878
510bbf14
TS
68792012-05-10 Thomas Schwinge <thomas@schwinge.name>
6880
6881 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6882 Depend on against $(link-rpcuserlibs).
6883
5d5722e8
ST
68842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6885
a4186cff
PT
6886 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6887 (__libc_stack_end): Do not use attribute_relro.
6888 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6889 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6890 to libthread-provided value.
a4186cff
PT
6891 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6892 attribute_relro.
5d5722e8 6893
37233df9
TS
68942012-05-10 Thomas Schwinge <thomas@schwinge.name>
6895
be971a2b
TS
6896 [BZ #3748]
6897 * bits/libc-lock.h (__libc_once_get): New macro.
6898 * sysdeps/mach/bits/libc-lock.h: Likewise.
6899 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6900 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6901 instead of using implementation details.
6902
37233df9
TS
6903 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6904 * libio/freopen.c: Likewise.
6905 * libio/freopen64.c: Likewise.
6906 * misc/syslog.c: Likewise.
6907 * nscd/connections.c: Likewise.
6908 * nscd/netgroupcache.c: Likewise.
6909 * sysdeps/posix/getcwd.c: Likewise.
6910
38de94a5
RM
69112012-05-10 Roland McGrath <roland@hack.frob.com>
6912
6913 * math/w_ilogbf.c: Add #include <limits.h>.
6914
67530489
ST
69152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6916
a4186cff 6917 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6918 path instead of returning without unlocking.
6919
67530489
ST
6920 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6921 immediate-write ioctls.
6922 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6923
5aa3a74a
TS
69242012-05-10 Thomas Schwinge <thomas@schwinge.name>
6925
18bad2ae
TS
6926 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6927 __builtin_frame_address instead of making assumptions about the
6928 location of the return address relative to DATA. Force early load of
6929 the return address.
6930 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6931 __builtin_frame_address.
6932
5aa3a74a
TS
6933 dup3 for GNU Hurd.
6934 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6935 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6936 implement dup3 and do some further code clean-ups.
6937 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6938 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6939
ecd0de9a
ST
69402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6941
cd9fa985
ST
6942 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6943
a4186cff
PT
6944 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6945 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6946 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6947 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6948 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6949 d->port.lock.
802ca5a5 6950
a4186cff
PT
6951 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6952 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6953 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6954
bcf55240
TS
69552012-05-10 Thomas Schwinge <thomas@schwinge.name>
6956
6960eb42
TS
6957 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6958 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6959 definitions.
6960
eb43375f
TS
6961 accept4 for GNU Hurd.
6962 * include/sys/socket.h (__libc_accept4): New prototype.
6963 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6964 to implement __libc_accept4.
6965 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6966 __libc_accept4.
6967 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6968
bcf55240
TS
6969 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6970 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6971 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6972 signal-defines.sym.
6973
6178c55b
ST
69742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6975
a4186cff 6976 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6977
6f080c2f
TS
69782012-05-10 Thomas Schwinge <thomas@schwinge.name>
6979
6980 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6981 assertion on O_CLOEXEC flag.
6982 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6983 * hurd/intern-fd.c: Likewise.
6984 * hurd/port2fd.c: Likewise.
6985
bcfe3a54
ST
69862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6987
6988 [BZ #3906]
6989 * bits/in.h (IPV6_PKTINFO): Define new macro.
6990 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6991
89c9aa49
AZ
69922012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6993
6994 [BZ #13954]
6995 [BZ #13955]
6996 [BZ #13956]
6997 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6998 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6999 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7000 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7001 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7002 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7003 * math/libm-test.inc (logb_test) : Additional logb tests.
7004
021db4be
AJ
70052012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7006 Andreas Jaeger <aj@suse.de>
7007
7008 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7009 * configure: Regenerated.
7010 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7011 * config.make.in (link-obsolete-rpc): New substituted variable.
7012 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7013 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7014 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7015 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7016 so that libc.a contains the symbols.
7017 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7018 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7019 * sunrpc/auth_none.c: Likewise.
7020 * sunrpc/auth_unix.c: Likewise.
7021 * sunrpc/authdes_prot.c: Likewise.
7022 * sunrpc/authuxprot.c: Likewise.
7023 * sunrpc/clnt_gen.c: Likewise.
7024 * sunrpc/clnt_perr.c: Likewise.
7025 * sunrpc/clnt_raw.c: Likewise.
7026 * sunrpc/clnt_simp.c: Likewise.
7027 * sunrpc/clnt_tcp.c: Likewise.
7028 * sunrpc/clnt_udp.c: Likewise.
7029 * sunrpc/clnt_unix.c: Likewise.
7030 * sunrpc/des_crypt.c: Likewise.
7031 * sunrpc/des_soft.c: Likewise.
7032 * sunrpc/get_myaddr.c: Likewise.
7033 * sunrpc/key_call.c: Likewise.
7034 * sunrpc/key_prot.c: Likewise.
7035 * sunrpc/netname.c: Likewise.
7036 * sunrpc/pm_getmaps.c: Likewise.
7037 * sunrpc/pm_getport.c: Likewise.
7038 * sunrpc/pmap_clnt.c: Likewise.
7039 * sunrpc/pmap_prot.c: Likewise.
7040 * sunrpc/pmap_prot2.c: Likewise.
7041 * sunrpc/pmap_rmt.c: Likewise.
7042 * sunrpc/publickey.c: Likewise.
7043 * sunrpc/rpc_cmsg.c: Likewise.
7044 * sunrpc/rpc_common.c: Likewise.
7045 * sunrpc/rpc_dtable.c: Likewise.
7046 * sunrpc/rpc_prot.c: Likewise.
7047 * sunrpc/rpc_thread.c: Likewise.
7048 * sunrpc/rtime.c: Likewise.
7049 * sunrpc/svc.c: Likewise.
7050 * sunrpc/svc_auth.c: Likewise.
7051 * sunrpc/svc_raw.c: Likewise.
7052 * sunrpc/svc_run.c: Likewise.
7053 * sunrpc/svc_tcp.c: Likewise.
7054 * sunrpc/svc_udp.c: Likewise.
7055 * sunrpc/svc_unix.c: Likewise.
7056 * sunrpc/svcauth_des.c: Likewise.
7057 * sunrpc/xcrypt.c: Likewise.
7058 * sunrpc/xdr.c: Likewise.
7059 * sunrpc/xdr_array.c: Likewise.
7060 * sunrpc/xdr_float.c: Likewise.
7061 * sunrpc/xdr_intXX_t.c: Likewise.
7062 * sunrpc/xdr_mem.c: Likewise.
7063 * sunrpc/xdr_rec.c: Likewise.
7064 * sunrpc/xdr_ref.c: Likewise.
7065 * sunrpc/xdr_sizeof.c: Likewise.
7066 * sunrpc/xdr_stdio.c: Likewise.
7067
b5c086a2
RM
70682012-05-10 Roland McGrath <roland@hack.frob.com>
7069
7070 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7071 change. Update copyright years.
7072
6d74dd09
JM
70732012-05-10 Joseph Myers <joseph@codesourcery.com>
7074
7075 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7076
28e72501
MK
70772012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7078 Joseph Myers <joseph@codesourcery.com>
7079 Paul Pluzhnikov <ppluzhnikov@google.com>
7080
7081 [BZ #14012]
7082 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7083 requiring rpcgen.
7084 [cross-compiling] (extra-libs): Likewise.
7085 [cross-compiling] (extra-libs-others): Likewise.
7086 [cross-compiling] (librpcsvc-routines): Likewise.
7087 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7088 [cross-compiling] (omit-deps): Likewise.
7089 (sunrpc-CPPFLAGS): New variable.
7090 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7091 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7092 (cross-rpcgen-objs): New variable.
7093 (extra-objs): Append $(cross-rpcgen-objs).
7094 ($(cross-rpcgen-objs)): New rule.
7095 ($(objpfx)cross-rpcgen): Likewise.
7096 (rpcgen-cmd): Define to use $(built-program-file). Expand
7097 comment.
7098 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7099 ($(objpfx)x%.stmp): Likewise.
7100 * sunrpc/proto.h [IS_IN_build] (_): Define.
7101 [IS_IN_build] (_libc_intl_domainname): Likewise.
7102
c8c59454
L
71032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7104
7105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7106 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7107 and R_X86_64_TPOFF64.
7108
6f27cd16
JM
71092012-05-10 Joseph Myers <joseph@codesourcery.com>
7110
7111 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7112 sysdeps/unix/sysv/syscalls.list.
7113 (stime): Likewise.
7114 (utime): Likewise.
7115 * sysdeps/unix/sysv/syscalls.list: Remove file.
7116
02467e1c
PE
71172012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7118
7119 [BZ #3440]
7120 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7121 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7122 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7123 (__LC_IDENTIFICATION): Make these macros useful in #if
7124 expressions, as required by C99.
7125
da392631
AS
71262012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7127
7128 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7129 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7130 after this.
7131
8115f29b
L
71322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7133
7134 * stdlib/longlong.h: Updated from GCC.
7135
bdd74070
AJ
71362012-05-09 Andreas Jaeger <aj@suse.de>
7137
edfe0dbe
AJ
7138 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7139 default is first entry.
7140 (run_mode): Set type.
7141 (main): Remove informal message about syslog.
7142 (options): Fix typo.
7143
bcfe3a54
ST
7144 [BZ #14053]
7145 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7146 to asm.
bcfe3a54
ST
7147 (lrint): Likewise.
7148 (llrintf): Likewise.
7149 (llrint): Likewise.
7150 (rint): Likewise.
7151 (rintf): Likewise.
7152 (nearbyint): Likewise.
7153 (nearbyintf): Likewise.
bdd74070 7154
91d8d69e
AJ
71552012-05-09 Andreas Jaeger <aj@suse.de>
7156 Pedro Alves <palves@redhat.com>
7157
7158 * nscd/nscd.c (run_mode): Use enum.
7159 (main): Cleanup coding style issue.
7160
bb90b80b
AJ
71612012-05-09 Alexandre Oliva <aoliva@redhat.com>
7162 Andreas Jaeger <aj@suse.de>
7163
bcfe3a54
ST
7164 * nscd/nscd.c (go_background): Replaced with...
7165 (run_mode): ... this.
bb90b80b 7166 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7167 (options): Add -F --foreground.
7168 (main): Implement it.
7169 (parse_opt): Parse it.
bb90b80b 7170
1a4b75a1
AJ
71712012-05-09 Andreas Jaeger <aj@suse.de>
7172
7173 [BZ #14083]
7174 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7175 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7176 -Wconversion warning.
7177 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7178 Likewise.
7179
b1cc2472
JM
71802012-05-09 Joseph Myers <joseph@codesourcery.com>
7181
7182 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7183 == 0.
7184 (LC_ALL): Use macro-int-constant.
7185 (LC_COLLATE): Likewise.
7186 (LC_CTYPE): Likewise.
7187 (LC_MESSAGES): Likewise.
7188 (LC_MONETARY): Likewise.
7189 (LC_NUMERIC): Likewise.
7190 (LC_TIME): Likewise.
7191 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7192 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7193 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7194 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7195 Specify type.
7196 [C99-based standards] (float_t): Expect type.
7197 [C99-based standards] (double_t): Expect type.
7198 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7199 type.
7200 [C99-based standards] (HUGE_VALL): Likewise.
7201 [C99-based standards] (INFINITY): Likewise.
7202 [C99-based standards] (NAN): Likewise.
7203 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7204 [C99-based standards] (FP_NAN): Likewise.
7205 [C99-based standards] (FP_NORMAL): Likewise.
7206 [C99-based standards] (FP_SUBNORMAL): Likewise.
7207 [C99-based standards] (FP_ZERO): Likewise.
7208 [C99-based standards] (FP_FAST_FMA): Use
7209 optional-macro-int-constant. Specify type. Require == 1.
7210 [C99-based standards] (FP_FAST_FMAF): Likewise.
7211 [C99-based standards] (FP_FAST_FMAL): Likewise.
7212 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7213 [C99-based standards] (FP_ILOGBNAN): Likewise.
7214 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7215 Specify type.
7216 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7217 [C99-based standards] (math_errhandling): Specify type.
7218 [ISO99 || ISO11] (signgam): Do not allow.
7219 [non-C99-based standards] (copysignf): Do not allow.
7220 [non-C99-based standards] (exp2f): Likewise.
7221 [non-C99-based standards] (log2f): Likewise.
7222 [non-C99-based standards] (modff): Allow.
7223 [non-C99-based standards] (erff): Do not allow.
7224 [non-C99-based standards] (erfcf): Likewise.
7225 [non-C99-based standards] (gammaf): Likewise.
7226 [non-C99-based standards] (hypotf): Likewise.
7227 [non-C99-based standards] (j0f): Likewise.
7228 [non-C99-based standards] (j1f): Likewise.
7229 [non-C99-based standards] (jnf): Likewise.
7230 [non-C99-based standards] (lgammaf): Likewise.
7231 [non-C99-based standards] (tgammaf): Likewise.
7232 [non-C99-based standards] (y0f): Likewise.
7233 [non-C99-based standards] (y1f): Likewise.
7234 [non-C99-based standards] (ynf): Likewise.
7235 [non-C99-based standards] (isnanf): Likewise.
7236 [non-C99-based standards] (acoshf): Likewise.
7237 [non-C99-based standards] (asinhf): Likewise.
7238 [non-C99-based standards] (atanhf): Likewise.
7239 [non-C99-based standards] (cbrtf): Likewise.
7240 [non-C99-based standards] (expm1f): Likewise.
7241 [non-C99-based standards] (ilogbf): Likewise.
7242 [non-C99-based standards] (log1pf): Likewise.
7243 [non-C99-based standards] (logbf): Likewise.
7244 [non-C99-based standards] (nextafterf): Likewise.
7245 [non-C99-based standards] (remainderf): Likewise.
7246 [non-C99-based standards] (rintf): Likewise.
7247 [non-C99-based standards] (scalbf): Likewise.
7248 [non-C99-based standards] (copysignl): Likewise.
7249 [non-C99-based standards] (exp2l): Likewise.
7250 [non-C99-based standards] (log2l): Likewise.
7251 [non-C99-based standards] (modfl): Allow.
7252 [non-C99-based standards] (erfl): Do not allow.
7253 [non-C99-based standards] (erfcl): Likewise.
7254 [non-C99-based standards] (gammal): Likewise.
7255 [non-C99-based standards] (hypotl): Likewise.
7256 [non-C99-based standards] (j0l): Likewise.
7257 [non-C99-based standards] (j1l): Likewise.
7258 [non-C99-based standards] (jnl): Likewise.
7259 [non-C99-based standards] (lgammal): Likewise.
7260 [non-C99-based standards] (tgammal): Likewise.
7261 [non-C99-based standards] (y0l): Likewise.
7262 [non-C99-based standards] (y1l): Likewise.
7263 [non-C99-based standards] (ynl): Likewise.
7264 [non-C99-based standards] (isnanl): Likewise.
7265 [non-C99-based standards] (acoshl): Likewise.
7266 [non-C99-based standards] (asinhl): Likewise.
7267 [non-C99-based standards] (atanhl): Likewise.
7268 [non-C99-based standards] (cbrtl): Likewise.
7269 [non-C99-based standards] (expm1l): Likewise.
7270 [non-C99-based standards] (ilogbl): Likewise.
7271 [non-C99-based standards] (log1pl): Likewise.
7272 [non-C99-based standards] (logbl): Likewise.
7273 [non-C99-based standards] (nextafterl): Likewise.
7274 [non-C99-based standards] (remainderl): Likewise.
7275 [non-C99-based standards] (rintl): Likewise.
7276 [non-C99-based standards] (scalbl): Likewise.
7277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7278 [non-C99-based standards] (FP_*): Do not allow.
7279 [C99-based standards] (FP_*): Change to
7280 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7281 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7282 allow.
7283 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7284 (SIG_ERR): Likewise.
7285 [X/Open-based standards] (SIG_HOLD): Likewise.
7286 (SIG_IGN): Likewise.
7287 (SIGABRT): Use macro-int-constant. Specify type. Require
7288 positive value.
7289 (SIGFPE): Likewise.
7290 (SIGILL): Likewise.
7291 (SIGINT): Likewise.
7292 (SIGSEGV): Likewise.
7293 (SIGTER): Likewise.
7294 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7295 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7296 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7297 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7298 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7299 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7300 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7301 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7302 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7303 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7304 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7305 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7306 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7307 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7308 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7309 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7310 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7311 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7312 [X/Open-based standards] (SIGTRAP): Likewise.
7313 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7314 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7315 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7316 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7317 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7318 allow.
7319
b9f1922d
IW
73202012-05-08 Ian Wienand <ianw@vmware.com>
7321
7322 [BZ #14080]
7323 * time/tzset.c (__tzset_parse_tz): Update default rules for
7324 daylight time changes in the Energy Policy Act of 2005.
7325
1db86e88
AJ
73262012-05-09 Andreas Jaeger <aj@suse.de>
7327
7328 [BZ #13983]
7329 * elf/ldconfig.c (parse_conf): Change string to make clear that
7330 ldconfig only issued a warning if ld.so.conf does not exist.
7331
dee4a4e3
DM
73322012-05-08 David S. Miller <davem@davemloft.net>
7333
ee0db190
DM
7334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7335 movxtod instead of popping the value on the stack.
7336
dee4a4e3
DM
7337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7338
6a43ec98
CD
73392012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7340
7341 * config.h.in: Add HAVE_ARM_PCS_VFP.
7342
05c2c961
RMG
73432012-05-08 Roland Mc Grath <roland@hack.frob.com>
7344
bcfe3a54
ST
7345 [BZ #13979]
7346 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7347 checking but the checks are disabled for any reason.
05c2c961 7348
4b30f61a
L
73492012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7350
7351 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7352 and ELF64_R_TYPE with ELFW(R_TYPE).
7353
eee2bc67
JM
73542012-05-08 Joseph Myers <joseph@codesourcery.com>
7355
7ea5391a
JM
7356 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7357 (ulimit): Likewise.
7358
eee2bc67
JM
7359 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7360 (settimeofday): Likewise.
7361
abb66a67
MF
73622012-05-08 Mike Frysinger <vapier@gentoo.org>
7363
7364 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7365 a struct th_u2 inside the union, and move tu_block/tu_code into
7366 a new th_u3 union of tu_block/tu_code inside of that. Move
7367 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7368 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7369 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7370 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7371 (th_stuff): Change to th_u1.tu_stuff.
7372 (th_data): Define.
7373 (th_msg): Change to th_u1.th_u2.tu_data.
7374
7f18b530
DM
73752012-05-07 David S. Miller <davem@davemloft.net>
7376
05760585
DM
7377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7378
7f18b530
DM
7379 [BZ #14074]
7380 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7381 (SETUP_PIC_REG): Use it.
7382 (SETUP_PIC_REG_LEAF): Use it.
7383
495fd99f
JM
73842012-05-07 Joseph Myers <joseph@codesourcery.com>
7385
7386 [BZ #13885]
7387 [BZ #13923]
7388 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7389 USE_AS_EXPM1L.
7390 (EXPL_FINITE): Likewise.
7391 (FLDLOG): Likewise.
7392 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7393 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7394 e_expl.S.
7395 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7396 USE_AS_EXPM1L.
7397 (EXPL_FINITE): Likewise.
7398 (FLDLOG): Likewise.
7399 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7400 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7401 e_expl.S.
7402 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7403 test of -max_value argument for long double.
7404 * sysdeps/i386/fpu/libm-test-ulps: Update.
7405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7406
6693d694
DM
74072012-05-06 David S. Miller <davem@davemloft.net>
7408
7409 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7410 quad soft-float symbols whose references which are compiler
7411 generated.
7412 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7413
6c23e11c
JM
74142012-05-06 Joseph Myers <joseph@codesourcery.com>
7415
d8b82cad
JM
7416 [BZ #13884]
7417 [BZ #13914]
7418 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7419 USE_AS_EXP10L.
7420 (EXPL_FINITE): Likewise.
7421 (FLDLOG): Likewise.
7422 (c0): Likewise.
7423 (c1): Likewise.
7424 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7425 Adjust comments for base varying.
7426 (__expl_finite): Change alias to EXPL_FINITE.
7427 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7428 e_expl.S.
7429 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7430 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7432 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7433 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7434 USE_AS_EXP10L.
7435 (EXPL_FINITE): Likewise.
7436 (FLDLOG): Likewise.
7437 (c0): Likewise.
7438 (c1): Likewise.
7439 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7440 Adjust comments for base varying.
7441 (__expl_finite): Change alias to EXPL_FINITE.
7442 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7443 tests for bugs.
7444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7445
6c23e11c
JM
7446 [BZ #14064]
7447 * math/libm-test.inc (check_float_internal): Correct ulp
7448 calculation for subnormal expected results.
7449
29ba805c
AJ
74502012-05-06 Andreas Jaeger <aj@suse.de>
7451
7452 * Makeconfig (+math-flags): New, set to -frounding-math.
7453 (+cflags): Add +math-flags so that all of glibc gets compiled with
7454 it.
7455
7456 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7457
7b17aeda
JM
74582012-05-05 Joseph Myers <joseph@codesourcery.com>
7459
5779f134
JM
7460 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7461 Disable one test.
7462
41498f4d
JM
7463 [BZ #13787]
7464 [BZ #13922]
7465 [BZ #14036]
7466 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7467 (__ieee754_expl): Allow for and saturate large arguments.
7468 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7469 (u_threshold): Likewise.
7470 (__exp): Call __ieee754_exp before checking for overflow and
7471 underflow.
7472 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7473 (u_threshold): Likewise.
7474 (__expf): Call __ieee754_expf before checking for overflow and
7475 underflow.
7476 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7477 (u_threshold): Likewise.
7478 (__expl): Call __ieee754_expl before checking for overflow and
7479 underflow.
7480 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7481 (__ieee754_expl): Allow for and saturate large arguments.
7482 * math/libm-test.inc (exp_test): Add another test. Do not allow
7483 missing overflow exception on overflow.
7484 (expm1_test): Do not allow missing overflow exception on overflow.
7485
6698b8bf
JM
7486 * sysdeps/i386/fpu/e_expl.c: Move to ...
7487 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7488 rather than using inline asm.
7489 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7490 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7491 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7492
7b17aeda
JM
7493 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7494 (nice): Likewise.
7495 (poll): Likewise.
7496 (signal): Likewise.
7497 (time): Likewise.
7498 (times): Likewise.
7499
f7c85819
JM
75002012-05-04 Joseph Myers <joseph@codesourcery.com>
7501
7502 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7503 sysdeps/unix/common/syscalls.list.
7504 (fchmod): Likewise.
7505 (fchown): Likewise.
7506 (ftruncate): Likewise.
7507 (getrusage): Likewise.
7508 (gettimeofday): Likewise.
7509 (setpgid): Likewise.
7510 (setregid): Likewise.
7511 (setreuid): Likewise.
7512 (sigaction): Likewise.
7513 (truncate): Likewise.
7514 (vhangup): Likewise.
7515 * sysdeps/unix/common/syscalls.list: Remove file.
7516 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7517 * sysdeps/unix/sysv/linux/Implies: Likewise.
7518
336270d0
L
75192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7520
7521 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7523 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7524 Moved to ...
7525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7526 Here.
7527 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7528 to ...
7529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7530 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7531 to ...
7532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7533 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7534 to ...
7535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7536 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7537 to ...
7538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7539 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7540 to ...
7541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7542 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7543 to ...
7544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7545 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7546 to ...
7547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7548 Here.
7549 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7550 to ...
7551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7552 Here.
7553 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7554 to ...
7555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7556 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7557 Moved to ...
7558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7559 Here.
7560 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7561 to ...
7562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7563
d128e450
JM
75642012-05-04 Joseph Myers <joseph@codesourcery.com>
7565
fa8ee516
JM
7566 * sysdeps/unix/common/bits/dirent.h: Remove file.
7567 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7568
d128e450
JM
7569 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7570 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7571 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7572 * sysdeps/unix/bsd/isatty.c: Likewise.
7573 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7574 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7575 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7576
ff8faaf0 75772012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7578
62881be4 7579 [BZ #13563]
31dc8730
AZ
7580 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7581 long double comparison inaccuracies.
7582 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7584
6fef930c
AS
75852012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7586
7587 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7588 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7589
8f203e6c
JM
75902012-05-04 Joseph Myers <joseph@codesourcery.com>
7591
7592 [BZ #14049]
7593 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7594 nonzero digits before rounding a hex value.
7595 * stdlib/tst-strtod.c (tests): Add another test.
7596
5197d9c2
AK
75972012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7598
7599 * sysdeps/s390/fpu/libm-test-ulps: Update.
7600
f0c1dedf
AJ
76012012-05-03 Andreas Jaeger <aj@suse.de>
7602
7603 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7604 does not get optimized out.
7605 (malloc_opt_barrier): New.
7606
a65ef2ae 76072012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7608 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7609
2b942cb7 7610 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7611 intermediate file deletion.
2b942cb7 7612 (generated): Add .symlist files.
a65ef2ae 7613
54b71e02
JM
76142012-05-03 Joseph Myers <joseph@codesourcery.com>
7615
7616 [BZ #13775]
7617 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7618 Redirect under this condition.
7619 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7620 [__USE_GNU] (__dprintf_chk): Not under this condition.
7621 [__USE_GNU] (__vdprintf_chk): Likewise.
7622 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7623 under this condition.
7624 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7625 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7626 [__USE_XOPEN2K8] (vdprintf): Likewise.
7627 [__USE_GNU] (__dprintf_chk): Not under this condition.
7628 [__USE_GNU] (__vdprintf_chk): Likewise.
7629 [__USE_GNU] (dprintf): Likewise.
7630 [__USE_GNU] (vdprintf): Likewise.
7631
d3dfcc41
RM
76322012-05-03 Roland McGrath <roland@hack.frob.com>
7633
7634 * elf/Makefile (common-generated): Set this instead of generated for
7635 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7636 $(all-built-dso)-derived lists.
7637
7ac30cc5
AJ
76382012-05-03 Andreas Jaeger <aj@suse.de>
7639
0c51e550
AJ
7640 * sysdeps/i386/fpu/libm-test-ulps: Update.
7641
7ac30cc5
AJ
7642 * FAQ: Removed.
7643 * FAQ.in: Likewise.
7644 * scripts/gen-FAQ.pl: Likewise.
7645 * manual/install.texi (Installation): Point to online location of
7646 FAQ.
7647 * Makefile (files-for-dist): Remove FAQ.
7648 (FAQ): Remove.
7649
d4c2917f
AM
76502012-05-02 Allan McRae <allan@archlinux.org>
7651
7652 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7653 (LDFLAGS-reldepmod5.so): Likewise.
7654 (LDFLAGS-reldep6mod1.so): Likewise.
7655 (LDFLAGS-reldep6mod4.so): Likewise.
7656 (LDFLAGS-reldep8mod3.so): Likewise.
7657 (LDFLAGS-unload4mod1.so): Likewise.
7658 (LDFLAGS-unload4mod2.so): Likewise.
7659 (LDFLAGS-tst-initorder): Likewise.
7660 (LDFLAGS-tst-initordera2.so): Likewise.
7661 (LDFLAGS-tst-initordera3.so): Likewise.
7662 (LDFLAGS-tst-initordera4.so): Likewise.
7663 (LDFLAGS-tst-initorderb2.so): Likewise.
7664 (LDFLAGS-noload): Likewise.
7665 (LDFLAGS-next): Likewise.
7666 (LDFLAGS-order2mod1.so): Likewise.
7667 (LDFLAGS-order2mod2.so): Likewise.
7668 (LDFLAGS-tst-initorder2): Likewise.
7669 (LDFLAGS-tst-initorder2a.so): Likewise.
7670 (LDFLAGS-tst-initorder2b.so): Likewise.
7671 (LDFLAGS-tst-initorder2c.so): Likewise.
7672 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7673
d77f993f
DM
76742012-05-02 David S. Miller <davem@davemloft.net>
7675
7676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7677
171a70b4
PP
76782012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7679
7680 [BZ #14055]
7681 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7682
0be196ad
AJ
76832012-05-02 Andreas Jaeger <aj@suse.de>
7684
7685 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7686 since we manipulate rounding mode.
7687 (CPPFLAGS-test-idouble.c): Likewise.
7688 (CPPFLAGS-test-ifloat.c): Likewise.
7689 (CFLAGS-test-ldouble.c): Likewise.
7690 (CFLAGS-test-double.c): Likewise.
7691 (CFLAGS-test-float.c): Likewise.
7692 (CFLAGS-test-misc.c): Likewise.
7693 (CFLAGS-test-test-fenv.c): Likewise.
7694
4f9d04aa
AZ
76952012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7696
2b942cb7
RM
7697 [BZ #2550]
7698 [BZ #2570]
7699 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7700 comparisons to determine direction to adjust input.
4f9d04aa 7701
82a79e7d
RM
77022012-05-01 Roland McGrath <roland@hack.frob.com>
7703
f5a01ca9
RM
7704 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7705 output to the target.
7706
90fe4186
RM
7707 * scripts/localplt.awk: New file.
7708 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7709 (check-localplt-CFLAGS): Variable removed.
7710 ($(all-built-dso:=.jmprel)): New static pattern rule.
7711 (generated): Add those targets.
7712 (localplt-built-dso): New variable.
7713 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7714
7715 * elf/check-localplt.c: File removed.
7716
82397ed6
RM
7717 * scripts/check-execstack.awk: New file.
7718 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7719 (check-execstack-CFLAGS): Variable removed.
7720 ($(objpfx)check-execstack.h): Target removed.
7721 ($(objpfx)execstack-default): New target.
7722 (generated): Add that instead of check-execstack.h.
7723 ($(all-built-dso:=.phdr)): New static pattern rule.
7724 (generated): Add those targets.
7725 * elf/check-execstack.c: File removed.
7726
82a79e7d
RM
7727 * scripts/check-textrel.awk: New file.
7728 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7729 (check-textrel-CFLAGS): Variable removed.
7730 (all-built-dso): Use := to define.o
7731 ($(all-built-dso:=.dyn)): New static pattern rule.
7732 (generated): Add those targets.
7733 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7734 * config.make.in (READELF): New substituted variable.
7735 * elf/check-textrel.c: File removed.
7736
62fde54f 77372012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7738
615605c9
JM
7739 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7740 allow.
7741 * conform/data/ctype.h-data [C99-based standards] (isblank):
7742 Expect function.
7743 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7744 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7745 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7746 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7747 Specify type. Require positive value.
7748 (EILSEQ): Likewise.
7749 (ERANGE): Likewise.
7750 [ISO || POSIX] (EILSEQ): Do not expect.
7751 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7752 Specify type. Require positive value.
7753 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7754 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7755 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7756 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7757 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7758 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7759 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7760 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7761 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7762 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7763 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7764 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7765 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7766 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7767 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7768 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7769 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7770 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7771 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7772 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7773 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7774 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7775 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7776 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7777 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7778 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7779 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7780 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7781 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7782 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7783 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7784 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7785 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7786 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7787 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7788 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7789 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7790 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7791 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7792 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7793 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7794 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7795 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7796 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7797 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7798 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7799 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7800 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7801 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7802 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7803 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7804 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7805 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7806 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7807 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7808 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7809 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7810 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7811 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7812 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7813 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7814 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7815 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7816 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7817 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7818 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7819 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7820 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7821 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7822 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7823 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7824 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7825 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7826 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7827 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7828 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7829 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7830 Require >= 2.
7831 (FLT_ROUNDS): Expect as macro, not constant.
7832 (FLT_MANT_DIG): Use macro-int-constant.
7833 (DBL_MANT_DIG): Likewise.
7834 (LDBL_MANT_DIG): Likewise.
7835 (FLT_DIG): Likewise.
7836 (DBL_DIG): Likewise.
7837 (LDBL_DIG): Likewise.
7838 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7839 (DBL_MIN_EXP): Likewise.
7840 (LDBL_MIN_EXP): Likewise.
7841 (FLT_MAX_EXP): Use macro-int-constant.
7842 (DBL_MAX_EXP): Likewise.
7843 (LDBL_MAX_EXP): Likewise.
7844 (FLT_MAX_10_EXP): Likewise.
7845 (DBL_MAX_10_EXP): Likewise.
7846 (LDBL_MAX_10_EXP): Likewise.
7847 (FLT_MAX): Use macro-constant.
7848 (DBL_MAX): Likewise.
7849 (LDBL_MAX): Likewise.
7850 (FLT_EPSILON): Use macro-constant. Give upper bound.
7851 (DBL_EPSILON): Likewise.
7852 (LDBL_EPSILON): Likewise.
7853 (FLT_MIN): Likewise.
7854 (DBL_MIN): Likewise.
7855 (LDBL_MIN): Likewise.
7856 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7857 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7858 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7859 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7860 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7861 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7862 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7863 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7864 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7865 [ISO11] (FLT_TRUE_MIN): Likewise.
7866 [ISO11] (LDBL_TRUE_MIN): Likewise.
7867 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7868 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7869 (SCHAR_MIN): Use macro-int-constant. Specify type.
7870 (SCHAR_MAX): Likewise.
7871 (UCHAR_MAX): Likewise.
7872 (CHAR_MIN): Likewise.
7873 (CHAR_MAX): Likewise.
7874 (MB_LEN_MAX): Use macro-int-constant.
7875 (SHRT_MIN): Use macro-int-constant. Specify type.
7876 (SHRT_MAX): Likewise.
7877 (USHRT_MAX): Likewise.
7878 (INT_MAX): Likewise.
7879 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7880 bound negative.
7881 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7882 bound with "U".
7883 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7884 bound with "L".
7885 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7886 bound negative. Suffix upper bound with "L".
7887 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7888 bound with "UL".
7889 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7890 Specify type.
7891 [C99-based standards] (LLONG_MAX): Likewise.
7892 [C99-based standards] (ULLONG_MAX): Likewise.
7893 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7894 == 0.
7895 [ISO11] (max_align_t): Require type.
7896 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7897
c9140a62
JM
7898 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7899 from $CFLAGS, without defining away __attribute__ calls.
7900 (checknamespace): Use $CFLAGS_namespace.
7901
9af0bf29
JM
7902 * conform/conformtest.pl (@keywords): Only include C99 keywords
7903 for standards based on C99 or C11.
7904
343222a2
JM
7905 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7906 Disable tests.
7907 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7908 UNIX98]: Likewise.
7909
661f8cf0
JM
7910 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7911 usability of symbols in #if.
7912
ee74b9cb
JM
7913 * conform/conformtest.pl: If macro or constant types start
7914 "promoted:", expect the symbol to be of the following type
7915 promoted by the integer promotions.
62fde54f 7916
aafc49b3
JM
7917 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7918 in one place. Also handle "macro-constant".
7919
fefdf574
JM
7920 * conform/conformtest.pl: Only accept expected macro values with
7921 "==". Parse all "macro" lines in one place.
7922 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7923
f2d922fe
JM
7924 * conform/conformtest.pl: Handle braced types on "constant" lines
7925 instead of handling "typed-constant".
7926 * conform/data/signal.h-data: Use "constant" instead of
7927 "typed-constant".
7928
d22956c9
JM
7929 * conform/conformtest.pl: Handle "optional-" at start of lines in
7930 one place rather than duplicating several cases. Handle each
7931 format of "macro" line with initial "optional-".
7932
028e2e38
JM
7933 * conform/conformtest.pl: Only accept expected constant or
7934 optional-constant values with "==". Parse all "constant" lines in
7935 one place. Parse all "optional-constant" lines in one place.
7936 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7937 * conform/data/fmtmsg.h-data: Likewise.
7938 * conform/data/netinet/in.h-data: Likewise.
7939 * conform/data/tar.h-data: Likewise.
7940 * conform/data/limits.h-data: Use "==" form on "constant" and
7941 "optional-constant" lines.
7942
1b8f2850
JM
7943 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7944 Use -std=c99 for XOPEN2K.
7945 (@knownproblems): Remove.
7946 (newtoken): Don't check %isknown.
7947
a05a144b
JM
7948 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7949 Do not expect macro.
7950 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7951 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7952 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7953 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7954 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7955 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7956 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7957 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7958 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7959 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7960 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7961 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7962 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7963 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7964 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7965 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7966 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7967 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7968 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7969 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7970 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7971 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7972 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7973 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7974 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7975 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7976 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7977 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7978 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7979 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7980 [XPG3] (acosh): Likewise.
7981 [XPG3] (asinh): Likewise.
7982 [XPG3] (atanh): Likewise.
7983 [XPG3] (cbrt): Likewise.
7984 [XPG3] (expm1): Likewise.
7985 [XPG3] (ilogb): Likewise.
7986 [XPG3] (log1p): Likewise.
7987 [XPG3] (logb): Likewise.
7988 [XPG3] (nextafter): Likewise.
7989 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7990 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7991 [XPG3] (remainder): Likewise.
7992 [XPG3] (rint): Likewise.
7993 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7994 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7995 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7996 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7997 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7998 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7999 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8000 [UNIX98 || XOPEN2K] (scalb): Expect.
8001 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8002 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8003 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8004 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8005 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8006 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8007 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8008 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8009 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8010 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8011 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8012 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8013 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8014 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8015 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8016 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8017 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8018 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8019 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8020 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8021 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8022 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8023 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8024 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8025 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8026 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8027 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8028 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8029 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8030 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8031 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8032 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8033 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8034 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8035 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8036 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8037 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8038 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8039 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8040 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8041 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8042 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8043 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8044 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8045 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8046 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8047 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8048 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8049 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8050 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8051 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8052 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8053 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8054 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8055 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8056 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8057 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8058 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8059 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8060 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8061 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8062 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8063 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8064 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8065 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8066 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8067 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8068 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8069 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8070 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8071 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8072 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8073 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8074 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8075 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8076 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8077 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8078 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8079 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8080 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8081 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8082 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8083 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8084 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8085 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8086 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8087 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8088 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8089 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8090 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8091 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8092 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8093 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8094 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8095 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8096 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8097 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8098 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8099 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8100 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8101 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8102 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8103 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8104 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8105 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8106 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8107 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8108 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8109 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8110 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8111 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8112 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8113 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8114 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8115 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8116 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8117 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8118 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8119 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8120 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8121 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8122 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8123 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8124 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8125 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8126 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8127 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8128 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8129 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8130 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8131 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8132 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8133 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8134 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8135 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8136 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8137 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8138
73c5ebe3
JM
8139 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8140 _XOPEN_SOURCE_EXTENDED for XPG4.
8141
39c33b6c
JM
8142 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8143
62fde54f
JM
8144 * Makeconfig (localtime): Remove variable.
8145 (inst_localtime-file): Likewise.
8146
0741d64c
AS
81472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8148
8149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8150 Update.
8151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8152 Update.
8153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8154 Update.
8155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8156 Update.
8157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8158 Update.
8159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8160 Update.
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8162 Update.
8163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8164 Update.
8165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8166 Update.
8167
7cb029ee
JM
81682012-05-01 Joseph Myers <joseph@codesourcery.com>
8169
8170 [BZ #2550]
8171 [BZ #2570]
8172 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8173 comparisons to determine direction to adjust input.
8174 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8175 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8176 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8177 Likewise.
8178 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8179 Likewise.
8180 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8181 Likewise.
8182 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8183 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8184 Likewise.
8185 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8186 Likewise.
8187 * math/libm-test.inc (nexttoward_test): Add more tests.
8188
412bd966
AS
81892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8190
8191 [BZ #14040]
8192 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8193 in version GLIBC_2.1, not GLIBC_2.0.
8194 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8195 Likewise.
8196
9568c0c2
JM
81972012-04-30 Joseph Myers <joseph@codesourcery.com>
8198
adfbc8ac
JM
8199 [BZ #13942]
8200 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8201 (1 - x) * (1 + x).
8202 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8203 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8204 * math/libm-test.inc (acos_test): Add more tests.
8205 (asin_test): Likewise.
8206 * sysdeps/i386/fpu/libm-test-ulps: Update.
8207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8208
5ba3cc69
JM
8209 [BZ #14034]
8210 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8211 of square root.
8212 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8213 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8214 * math/libm-test.inc (acos_test_tonearest): New function.
8215 (acos_test_towardzero): Likewise.
8216 (acos_test_downward): Likewise.
8217 (acos_test_upward): Likewise.
8218 (asin_test_tonearest): Likewise.
8219 (asin_test_towardzero): Likewise.
8220 (asin_test_downward): Likewise.
8221 (asin_test_upward): Likewise.
8222 (main): Call the new functions.
8223 * sysdeps/i386/fpu/libm-test-ulps: Update.
8224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8225
9568c0c2
JM
8226 [BZ #13884]
8227 [BZ #13924]
8228 * math/e_exp10.c: Include <float.h>.
8229 (__ieee754_exp10): Handle underflow here rather than multiplying
8230 large negative argument by M_LN10.
8231 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8232 of __ieee754_expf.
8233 * math/e_exp10l.c: Include <float.h>.
8234 (__ieee754_exp10l): Handle underflow here rather than multiplying
8235 large negative argument by M_LN10l.
8236 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8237 spurious overflow exception on underflow.
8238
5ac3ea17
MP
82392012-04-29 Marek Polacek <polacek@redhat.com>
8240
8241 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8242 (__fortify_function): New macro.
8243 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8244 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8245 __extern_always_inline.
8246 * libio/bits/stdio2.h: Likewise.
8247 * libio/bits/stdio.h: Likewise.
8248 * string/string.h: Likewise.
8249 * string/bits/string3.h: Likewise.
8250 * include/stdio.h: Likewise.
8251 * stdlib/bits/stdlib.h: Likewise.
8252 * stdlib/stdlib.h: Likewise.
8253 * rt/bits/mqueue2.h: Likewise.
8254 * rt/mqueue.h: Likewise.
8255 * posix/bits/unistd.h: Likewise.
8256 * posix/unistd.h: Likewise.
8257 * io/bits/poll2.h: Likewise.
8258 * io/bits/fcntl2.h: Likewise.
8259 * io/fcntl.h: Likewise.
8260 * io/sys/poll.h: Likewise.
8261 * misc/bits/syslog.h: Likewise.
8262 * misc/bits/syslog-ldbl.h: Likewise.
8263 * misc/sys/syslog.h: Likewise.
8264 * socket/bits/socket2.h: Likewise.
8265 * socket/sys/socket.h: Likewise.
8266 * debug/tst-chk1.c: Likewise.
8267 * wcsmbs/bits/wchar2.h: Likewise.
8268 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8269 * wcsmbs/wchar.h: Likewise.
8270
ecf0ebfb
AJ
82712012-04-29 Andreas Jaeger <aj@suse.de>
8272
8273 * Makerules (tests): Remove enable-check-abi protection.
8274 (check-abi-warn): Remove.
8275 (check-abi-%): Remove check-abi-warn usage.
8276
8277 * configure.in: Remove check-abi configure option.
8278 * configure: Regenerated.
8279 * config.make.in (enable-check-abi): Remove.
8280
6d5c57fa
AS
82812012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8282
24c5d07e 8283 [BZ #14033]
ded5180a
AS
8284 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8285 double functions to double *_finite functions.
8286
7e0d315d
AS
8287 [BZ #13941]
8288 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8289 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8290 LDBL_MIN_EXP.
8291 * stdio-common/Makefile (tests): Add tst-sprintf3.
8292 * stdio-common/tst-sprintf3.c: New file.
8293
6d5c57fa
AS
8294 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8295 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8296
0749ff8b
JM
82972012-04-28 Joseph Myers <joseph@codesourcery.com>
8298
8299 * conform/conformtest.pl: Remove duplicate typed-constant
8300 handling.
8301
8dbd5d7b
DM
83022012-04-28 David S. Miller <davem@davemloft.net>
8303
8304 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8305 (check-abi-%): Remove AWK script prerequisite and explicit
8306 abilist directory.
8307 (check-abi): Rewrite to just diff the symlist with the abilist.
8308 (config-tls, config-abi-config): Delete, no longer used.
8309 (update-abi-%): Remove AWK script and explicit abilist directory.
8310 (update-abi): Rewrite to simply compare and conditionally copy the
8311 symlist and the sysdep abilist file. Remove update-abi-config
8312 checks.
8313 * abilist/ld.abilist: Remove.
8314 * abilist/libBrokenLocale.abilist: Remove.
8315 * abilist/libanl.abilist: Remove.
8316 * abilist/libcrypt.abilist: Remove.
8317 * abilist/libdl.abilist: Remove.
8318 * abilist/librt.abilist: Remove.
8319 * abilist/libthread_db.abilist: Remove.
8320 * abilist/libutil.abilist: Remove.
8321 * scripts/extract-abilist.awk: Remove.
8322 * scripts/merge-abilist.awk: Remove.
8323 * sysdeps/generic/libcidn.abilist: New file.
8324 * sysdeps/generic/libnss_compat.abilist: New file.
8325 * sysdeps/generic/libnss_db.abilist: New file.
8326 * sysdeps/generic/libnss_dns.abilist: New file.
8327 * sysdeps/generic/libnss_files.abilist: New file.
8328 * sysdeps/generic/libnss_hesiod.abilist: New file.
8329 * sysdeps/generic/libnss_nis.abilist: New file.
8330 * sysdeps/generic/libnss_nisplus.abilist: New file.
8331 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8332 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8333 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8334 file.
8335 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8336 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8337 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8338 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8339 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8340 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8341 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8342 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8343 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8344 file.
8345 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8346 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8347 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8348 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8349 file.
8350 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8351 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8352 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8353 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8354 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8355 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8356 file.
8357 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8358 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8359 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8360 file.
8361 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8363 New file.
8364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8365 New file.
8366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8367 New file.
8368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8369 New file.
8370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8371 New file.
8372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8373 New file.
8374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8375 New file.
8376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8377 New file.
8378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8379 New file.
8380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8381 New file.
8382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8383 New file.
8384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8385 New file.
8386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8387 New file.
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8389 file.
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8391 New file.
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8393 New file.
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8395 file.
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8397 New file.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8399 New file.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8401 file.
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8403 New file.
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8405 New file.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8407 New file.
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8409 New file.
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8411 New file.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8413 New file.
8414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8416 file.
8417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8418 New file.
8419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8420 file.
8421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8422 file.
8423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8424 file.
8425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8426 file.
8427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8428 file.
8429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8430 New file.
8431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8432 file.
8433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8434 file.
8435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8436 New file.
8437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8438 file.
8439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8441 file.
8442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8443 New file.
8444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8445 file.
8446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8447 file.
8448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8449 file.
8450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8451 file.
8452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8453 file.
8454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8455 New file.
8456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8457 file.
8458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8459 file.
8460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8461 New file.
8462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8463 file.
8464 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8465 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8466 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8467 file.
8468 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8469 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8470 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8471 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8472 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8473 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8474 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8475 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8476 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8477 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8480 file.
8481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8482 New file.
8483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8484 file.
8485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8486 file.
8487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8488 file.
8489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8490 file.
8491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8492 file.
8493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8494 New file.
8495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8496 New file.
8497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8498 file.
8499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8500 New file.
8501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8502 file.
8503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8505 file.
8506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8507 New file.
8508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8509 file.
8510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8511 file.
8512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8513 file.
8514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8515 file.
8516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8517 file.
8518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8519 New file.
8520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8521 New file.
8522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8523 file.
8524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8525 New file.
8526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8527 file.
8528
41d73a1b
JM
85292012-04-28 Joseph Myers <joseph@codesourcery.com>
8530
8531 * conform/conformtest.pl: Fix typo in handling typed-constant from
8532 allow-header.
8533
28aeeda4
JM
85342012-04-27 Joseph Myers <joseph@codesourcery.com>
8535
adae8f5e
JM
8536 * README: Cut down references to pre-2.6 Linux kernels and
8537 Linuxthreads. Update lists of configurations in libc and ports
8538 and sort alphabetically. Say "or newer" with Linux kernel version
8539 requirements.
8540
28aeeda4
JM
8541 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8542
a462cb63
RA
85432012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8544
8545 [BZ #887]
8546 * math/libm-test.inc (logb_test_downward): New test to expose
8547 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8548 rounding mode.
8549
6ad3493e
JM
85502012-04-27 Joseph Myers <joseph@codesourcery.com>
8551
8552 [BZ #14027]
8553 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8554 to be done.
8555 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8556 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8557
2ce4f015
JM
85582012-04-26 Joseph Myers <joseph@codesourcery.com>
8559
5aeb141a
JM
8560 * sysdeps/unix/i386/brk.S: Remove file.
8561 * sysdeps/unix/i386/dl-brk.S: Likewise.
8562 * sysdeps/unix/i386/pipe.S: Likewise.
8563 * sysdeps/unix/i386/sigreturn.S: Likewise.
8564 * sysdeps/unix/i386/syscall.S: Likewise.
8565 * sysdeps/unix/i386/vfork.S: Likewise.
8566 * sysdeps/unix/i386/wait.S: Likewise.
8567
7143acae
JM
8568 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8569 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8570
2ce4f015
JM
8571 * configure.in (arm*-none*): Do not allow without
8572 --enable-hacker-mode.
8573 (netbsd*): Remove case setting base_os.
8574 (386bsd*): Likewise.
8575 (freebsd*): Likewise.
8576 (bsdi*): Likewise.
8577 (osf*): Likewise.
8578 (sunos*): Likewise.
8579 (ultrix*): Likewise.
8580 (newsos*): Likewise.
8581 (dynix*): Likewise.
8582 (*bsd*): Likewise.
8583 (sysv*): Likewise.
8584 (isc*): Likewise.
8585 (esix*): Likewise.
8586 (sco*): Likewise.
8587 (minix*): Likewise.
8588 (irix4*): Likewise.
8589 (irix6*): Likewise.
8590 (solaris[2-9]*): Likewise.
8591 (none): Likewise.
8592 * configure: Regenerated.
8593
0ac229c8
AZ
85942012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8595
8596 [BZ #11521]
8597 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8598 overflow or cancellation in calculating denominator.
8599 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8600 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8601 down expression to avoid unexpected rounding in newer GCCs.
8602 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8603
33f244f4
DM
86042012-04-26 David S. Miller <davem@davemloft.net>
8605
8606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8607 long-double compat symbols.
8608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8621
cfa1f3e8
DM
86222012-04-25 David S. Miller <davem@davemloft.net>
8623
8624 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8625 HWCAP_* values only after the memory barriers have been defined.
8626 (atomic_full_barrier): Define.
8627 (atomic_read_barrier): Define.
8628 (atomic_write_barrier): Define.
8629
6e236b92
SP
86302012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8631
8632 * shlib-versions: Add libgcc_s version information.
8633 * sysdeps/generic/libgcc_s.h: Remove.
8634 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8635 libgcc_s.h.
8636 * sysdeps/gnu/unwind-resume.c: Likewise.
8637 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8638
aab39a09
DM
86392012-04-25 David S. Miller <davem@davemloft.net>
8640
8641 * sysdeps/unix/sparc/brk.S: Delete.
8642 * sysdeps/unix/sparc/dl-brk.S: Delete.
8643 * sysdeps/unix/sparc/pipe.S: Delete.
8644 * sysdeps/unix/sparc/sysdep.S: Delete.
8645 * sysdeps/unix/sparc/sysdep.h: Delete.
8646 * sysdeps/unix/sparc/vfork.S: Delete.
8647 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8648 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8649 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8650 ret_ERRVAL, r0, r1, MOVE): Define.
8651 (JUMPTARGET): Remove.
8652 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8653 sysdeps/unix/sparc/sysdep.h
8654 (ENTRY, END): Remove.
8655 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8656
a3cc4f48
JM
86572012-04-25 Joseph Myers <joseph@codesourcery.com>
8658
2ed8cda2
JM
8659 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8660 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8661 -DIS_IN_build.
8662
35d76d59
JM
8663 * timezone/README: Update upstream location and email address for
8664 tzcode and tzdata.
8665 * timezone/zdump.c: Update from tzcode 2012b.
8666 * timezone/zic.c: Likewise.
8667
a3cc4f48
JM
8668 * configure.in (libc_cv_as_needed): Remove test.
8669 * configure: Regenerated.
8670 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8671 conditional definition.
8672 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8673 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8674 * config.make.in (have-as-needed): Remove variable.
8675
ceab42c3
SP
86762012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8677 Paul Pluzhnikov <ppluzhnikov@google.com>
8678
8679 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8680 strings correctly.
8681
3ce2865f
CLT
86822012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8683
8684 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8685 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8686 * sysdeps/sh/strlen.S: Likewise.
8687
f37e0d68
JM
86882012-04-24 Joseph Myers <joseph@codesourcery.com>
8689
ae186e9a
JM
8690 * sysdeps/unix/fork.S: Remove file.
8691 * sysdeps/unix/i386/fork.S: Likewise.
8692 * sysdeps/unix/sparc/fork.S: Likewise.
8693
b96914af
JM
8694 * sysdeps/unix/system.c: Remove file.
8695 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8696
f37e0d68
JM
8697 * sysdeps/unix/getegid.S: Remove file.
8698 * sysdeps/unix/geteuid.S: Likewise.
8699
87ef29ca
RM
87002012-04-24 Roland McGrath <roland@hack.frob.com>
8701
83bcd236
RM
8702 * scripts/check-localplt.awk: New file.
8703 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8704 of diff.
8705 * scripts/data/localplt-generic.data: Add a comment.
8706
87ef29ca
RM
8707 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8708 NODE when __dir_mkfile failed.
8709 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8710 Reported by Ludovic Courtès <ludo@gnu.org>.
8711
e5a6e567
AJ
87122012-04-24 Andreas Jaeger <aj@suse.de>
8713
8714 * Makerules (common-clean): Also remove gen-as-const-headers
8715 files.
8716
c1820385
JM
87172012-04-24 Joseph Myers <joseph@codesourcery.com>
8718
8719 * Makerules (native-compile): Do not change working directory for
8720 build. Use $(OUTPUT_OPTION) in command.
8721 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8722
94e02fc4
AZ
87232012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8724
8725 [BZ #13886]
8726 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8727 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8728 * math/libm-test.inc (floor_test): Add more tests.
8729 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8730
3a533ca3
JM
87312012-04-24 Joseph Myers <joseph@codesourcery.com>
8732
940ab4b3
JM
8733 * sysdeps/unix/getdents.c: Remove file.
8734 * sysdeps/unix/sysv/getdents.c: Likewise.
8735 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8736
90e037bd
JM
8737 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8738 sysdeps/unix/mman/syscalls.list.
8739 (mmap): Likewise.
8740 (mprotect): Likewise.
8741 (msync): Likewise.
8742 (munmap): Likewise.
8743 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8744 * sysdeps/unix/mman/syscalls.list: Remove.
8745 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8746
3a533ca3
JM
8747 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8748 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8749 * configure: Regenerated.
8750 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8751 $(libgcc_s_suffix).
8752 * config.make.in (libgcc_s_suffix): Remove variable.
8753
1ad743de
JM
87542012-04-23 Joseph Myers <joseph@codesourcery.com>
8755
4ad451e2
JM
8756 * sysdeps/unix/sysv/gethostname.c: Move to ...
8757 * sysdeps/posix/gethostname.c: ... here.
8758
5e37ce39
JM
8759 * sysdeps/unix/execve.S: Remove file.
8760
1ad743de
JM
8761 * sysdeps/unix/_exit.S: Remove file.
8762
4e681b5b
AJ
87632012-04-23 Andreas Jaeger <aj@suse.de>
8764
8765 [BZ #13739]
8766 * manual/Makefile: Remove make dist support, there's no
8767 need for a stand-alone documentation tar ball.
8768 (TEXI2DVI): Define always, it's not in Makeconfig.
8769 (dist): Removed.
8770 (tar-it): Removed.
8771 (edition): Removed.
8772 (glibc-doc-$(edition).tar): Removed
8773 (%.Z): Removed.
8774 (%.gz): Removed.
8775 (%.uu): Removed.
8776 (ETAGS): Remove, it's in Makeconfig.
8777 (move-if-change): Remove, it's in Makeconfig.
8778
c0baea34
PE
87792013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8780
8781 [BZ #13970]
8782 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8783 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8784 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8785 (strtod_l, strtof_l, strtold_l): Remove __wur.
8786 It is not necessarily an error to ignore strtol's return value.
8787 One can reliably look at the stored endptr to decide whether
8788 the number had valid syntax.
8789
7c0616fa
AJ
87902012-04-21 Andreas Jaeger <aj@suse.de>
8791
803cb6b7 8792 [BZ #13739]
7c0616fa
AJ
8793 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8794
b0fe253f
JM
87952012-04-21 Joseph Myers <joseph@codesourcery.com>
8796
8797 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8798 * sysdeps/unix/sysv/Versions: Remove file.
8799
8280f22d
MT
88002012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8801
8802 [BZ #13927]
8803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8804
75ce411f 88052012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8806
8807 [BZ #7064]
8808 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8809 version from __vm86.
8810
097d59fa
JM
88112012-04-20 Joseph Myers <joseph@codesourcery.com>
8812
a90f3bcb
JM
8813 * sysdeps/unix/common/lxstat.c: Remove file.
8814 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8815
edc7ea78
JM
8816 * sysdeps/unix/sysv/Makefile: Remove file.
8817
cb78c221
JM
8818 * sysdeps/unix/sysv/direct.h: Remove file.
8819
efa6a45f
JM
8820 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8821 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8822 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8823 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8824 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8825 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8826 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8827
9c9f2d0c
JM
8828 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8829
4541c83b
JM
8830 * sysdeps/unix/xmknod.c: Remove file.
8831 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8832
f5d153a0
JM
8833 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8834
aa746595
JM
8835 * sysdeps/unix/sysv/i386/time.S: Remove file.
8836
cce5905e
JM
8837 * sysdeps/unix/fxstat.c: Remove file.
8838 * sysdeps/unix/xstat.c: Likewise.
8839 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8840
37fa3841
JM
8841 * sysdeps/unix/sysv/sigaction.c: Remove file.
8842
ff1962a3
JM
8843 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8844 (sysdep_headers): Remove variable.
8845 [termio.h not in sysdep_headers] (generated): Likewise.
8846 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8847 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8848 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8849 * sysdeps/unix/sysv/tcflow.c: Likewise.
8850 * sysdeps/unix/sysv/tcflush.c: Likewise.
8851 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8852 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8853 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8854 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8855 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8856
e7740d31
JM
8857 * sysdeps/unix/siglist.c: Remove file.
8858
ee06f18b
JM
8859 * sysdeps/unix/getppid.S: Remove file.
8860
097d59fa
JM
8861 * sysdeps/unix/mkdir.c: Remove file.
8862 * sysdeps/unix/rmdir.c: Likewise.
8863
ff3d51ec
AS
88642012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8865
8866 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8867 ERR_MAX value.
8868 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8869 errlist-compat value.
8870
50f81fd7
DM
88712012-04-18 David S. Miller <davem@davemloft.net>
8872
8873 * sysdeps/generic/memcopy.h (reg_char): Delete.
8874 * debug/strcat_chk.c: Use char, not reg_char.
8875 * debug/strcpy_chk.c: Likewise.
8876 * debug/strncat_chk.c: Likewise.
8877 * debug/strncpy_chk.c: Likewise.
8878 * string/memchr.c: Likewise.
8879 * string/memrchr.c: Likewise.
8880 * string/rawmemchr.c: Likewise.
8881 * string/strcat.c: Likewise.
8882 * string/strchr.c: Likewise.
8883 * string/strchrnul.c: Likewise.
8884 * string/strcmp.c: Likewise.
8885 * string/strcpy.c: Likewise.
8886 * string/strncat.c: Likewise.
8887 * string/strncmp.c: Likewise.
8888 * string/strncpy.c: Likewise.
8889
8ff41c46
WS
88902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8891
8892 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8893 __builtin_memcopy is called when src and dest ranges are known to not
8894 overlap.
8895
6b652f46
WS
88962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8897
8898 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8899 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8900 fwd_align_merge macro call.
8901 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8902 bwd_align_merge macro call.
8903 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8904
b282631e
WS
89052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8906
8907 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8908 bwd_align_merge macros.
8909 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8910 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8911 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8912
95aa737c
DM
89132012-04-18 David S. Miller <davem@davemloft.net>
8914
8915 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8916
7a99a614
AJ
89172012-04-18 Andreas Jaeger <aj@suse.de>
8918
8919 [BZ# 6794]
8920 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8921 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8922 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8923
8924 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8925 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8926 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8927
8928 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8929 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8930 Adjust for changed ldbl-128 files.
8931
8932 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8933 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8934 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8935
e5270c23
DM
89362012-04-17 David S. Miller <davem@davemloft.net>
8937
8938 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8939
fb5e92c9
AS
89402012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8941
8942 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8943 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8944 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8945 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8946 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8947 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8948
76da7265
AZ
89492012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8950
8951 [BZ #6794]
8952 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8953 * math/libm-test.inc: Add ilogb errno and exception tests.
8954 * math/w_ilogb.c: New file: ilogb wrapper.
8955 * math/w_ilogbf.c: New file: ilogbf wrapper.
8956 * math/w_ilogbl.c: New file: ilogbl wrapper.
8957 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8958 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8959 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8960 exception being thrown with 0.0 as argument.
8961 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8962 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8963 exception being thrown with 0.0 as argument.
8964 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8965 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8966 exception being thrown with 0.0 as argument.
8967 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8968 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8969 exception being thrown with 0.0 as argument.
8970 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8971 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8972 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8973 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8974 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8975 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8976 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8977 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8978 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8979
0396e69d
PB
89802012-04-17 Petr Baudis <pasky@ucw.cz>
8981
8982 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8983 with altivec.
8984
750b5926
MP
89852012-04-16 Marek Polacek <polacek@redhat.com>
8986
8987 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8988
751728a1
MP
89892012-04-16 Marek Polacek <polacek@redhat.com>
8990
8991 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8992 operands of fdivp instruction.
8993
34a27407
L
89942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8995
8996 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8997 * elf/tst-auditmod3b.c: Likewise.
8998 * elf/tst-auditmod4b.c: Likewise.
8999 * elf/tst-auditmod5b.c: Likewise.
9000 * elf/tst-auditmod6b.c: Likewise.
9001 * elf/tst-auditmod6c.c: Likewise.
9002 * elf/tst-auditmod7b.c: Likewise.
9003 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9004 * sysdeps/x86_64/preconfigure.in: Likewise.
9005 * sysdeps/x86_64/preconfigure: Regenerated.
9006
7e73e17d
L
90072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9008
9009 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9010 __ILP32__.
9011
c7a6ab72
AB
90122012-04-13 Antoine Balestrat <merkil33@gmail.com>
9013
9014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9015 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9016
a9e8e0e0
CL
90172012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9018
9019 [BZ #13973]
9020 * locale/iso-639.def: Fix gl language name. Spotted by
9021 Yaron Shahrabani.
9022
ec98af7d
RM
90232012-04-12 Roland McGrath <roland@hack.frob.com>
9024
9025 [BZ #2074]
9026 * libio/libio.h (__io_write_fn): Update comment.
9027
247c3ede
PB
90282012-04-12 Petr Baudis <pasky@ucw.cz>
9029
9030 [BZ #2074]
9031 * stdio.texi (Hook Functions): The user provided writer function
9032 is not allowed to return -1.
9033
55939d6d
DM
90342012-04-11 David S. Miller <davem@davemloft.net>
9035
9036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9037
90020f5a
MF
90382012-04-11 Mike Frysinger <vapier@gentoo.org>
9039
9040 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9041 Add a leading slash to rtkaio.
9042
288f9098
JM
90432012-04-11 Jim Meyering <meyering@redhat.com>
9044
90020f5a
MF
9045 [BZ #11959]
9046 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9047 It is not necessarily an error to ignore fwrite's return
9048 value. One can reliably use ferror to test for errors after
9049 the fact.
288f9098 9050
4be2b570
L
90512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9052
9053 * bits/types.h (__snseconds_t): New type.
9054 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9055
9056 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9057 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9058 (__SNSECONDS_T_TYPE): Likewise.
9059 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9060 (__SNSECONDS_T_TYPE): Likewise.
9061 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9062 (__SNSECONDS_T_TYPE): Likewise.
9063
288f9098 90642012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9065
9066 [BZ #2636]
9067 * manual/time.texi (Processor Time): Return type of times is
9068 elapsed real time since an arbitrary point in the past.
9069 (CPU Time): Move CLK_TCK from here...
9070 (Processor Time): ...to here. Correct description.
9071 * manual/conf.texi (Constants for Sysconf): Correct description of
9072 _SC_CLK_TCK.
9073
d7dd4413
DM
90742012-04-10 David S. Miller <davem@davemloft.net>
9075
9076 [BZ #13967]
9077 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9078 where the is a gap between DT_REL(A) and DT_JMPREL.
9079
b46068fc
L
90802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9081
9082 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9083 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9084 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9085
73d65cc3
SP
90862012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9087
9088 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9089 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9090 (dl_main): Handle --inhibit-cache.
9091 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9092 _dl_inhibit_cache.
9093 * elf/dl-load.c (_dl_map_object): Use it.
9094 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9095
bcc8d661
JM
90962012-04-09 Joseph Myers <joseph@codesourcery.com>
9097
8f9a2fae
JM
9098 [BZ #13872]
9099 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9100 (__ieee754_powl): Saturate large exponents rather than testing for
9101 overflow of y*log2(x).
9102 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9103 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9104 exceptions.
9105
bcc8d661
JM
9106 [BZ #11521]
9107 * math/s_ctan.c: Include <float.h>.
9108 (__ctan): Avoid internal overflow or cancellation in calculating
9109 denominator.
9110 * math/s_ctanf.c: Likewise.
9111 * math/s_ctanl.c: Likewise.
9112 * math/s_ctanh.c: Likewise.
9113 * math/s_ctanhf.c: Likewise.
9114 * math/s_ctanhl.c: Likewise.
9115 * math/libm-test.inc (ctan_test): Add more tests.
9116 (ctanh_test): Likewise.
9117 * sysdeps/i386/fpu/libm-test-ulps: Update.
9118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9119
823fbbb4
AJ
91202012-04-09 Andreas Jaeger <aj@suse.de>
9121
03879793
AJ
9122 [BZ #6894]
9123 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9124 is an optional BSD extension.
9125
823fbbb4
AJ
9126 [BZ #10254]
9127 * manual/stdio.texi (Opening Streams): Document additional fopen
9128 parameters.
9129
8de131cb
RM
91302012-04-09 Roland McGrath <roland@hack.frob.com>
9131
9132 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9133 %eax without telling the compiler.
9134
c0ed9d7d
CD
91352012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9136
9137 [BZ # 13963]
9138 * manual/install.texi: Use sourceware.org.
9139
c483f6b4
JM
91402012-04-09 Joseph Myers <joseph@codesourcery.com>
9141
d7dd9453
JM
9142 [BZ #13873]
9143 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9144 (__ieee754_pow): Generate overflow and underflow using huge*huge
9145 and tiny*tiny rather than just returning constant infinity or zero
9146 for large exponents.
9147 * math/libm-test.inc (pow_test): Require overflow exceptions for
9148 applicable cases of large exponents.
9149
c483f6b4
JM
9150 [BZ #706]
9151 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9152 (__ieee754_pow): Use iterative multiplication algorithm only for
9153 integer exponents with absolute value below 1024. Check for odd
9154 integer exponents when using algorithm for real exponents.
9155 * math/libm-test.inc (pow_test): Add more tests.
9156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9157
d2de7579
JM
91582012-04-08 Joseph Myers <joseph@codesourcery.com>
9159
9160 [BZ #13705]
9161 * math/libm-test.inc (exp_test): Do not allow overflow exception
9162 on underflow test.
9163
f77f1232
AJ
91642012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9165
9166 [BZ #13705]
9167 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9168 instead of __kernel_standard_f.
9169
3884932b
MF
91702012-04-08 Mike Frysinger <vapier@gentoo.org>
9171
9172 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9173 * sysdeps/x86_64/memset_chk.S: Likewise.
9174
54472e9c
AJ
91752012-04-08 Andreas Jaeger <aj@suse.de>
9176
6ab0fbfc
AJ
9177 [BZ #10153]
9178 * manual/startup.texi (Environment Access): Describe return value
9179 for putenv and setenv.
9180
61efba8c
AJ
9181 [BZ #6895]
9182 * manual/filesys.texi (Directory Entries): Add description for
9183 DT_LNK.
9184
95c3f29a
AJ
9185 [BZ #6890]
9186 * manual/filesys.texi (Directory Entries): Clarify that it's file
9187 system not operating system in the description of DT_UNKNOWN.
9188
54472e9c
AJ
9189 [BZ #6578]
9190 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9191
624254b1
SC
91922012-04-08 Stephen Compall <s11@member.fsf.org>
9193
9194 [BZ #6649]
9195 * manual/llio.texi (Opening and Closing Files): Add cross
9196 reference to explain mode argument.
9197
1e4920e0
MF
91982012-04-07 Mike Frysinger <vapier@gentoo.org>
9199
9200 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9201 * sysdeps/x86_64/memset_chk.S: Likewise.
9202
5ed848f3
DM
92032012-04-07 David S. Miller <davem@davemloft.net>
9204
9205 * elf/elf.h (R_SPARC_WDISP10): Define.
9206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9207 R_SPARC_SIZE32.
9208 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9209 R_SPARC_SIZE64 and R_SPARC_H34.
9210
96154cd8
CD
92112012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9212
9213 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9214 conditions and remove no longer applicable assertion.
9215
9904dc47
L
92162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9217
9218 * bits/byteswap.h: Include <features.h>.
9219 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9220 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9221
f8887d0a
L
92222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9223
9224 * bits/byteswap.h (__bswap_16): Removed.
9225 Include <bits/byteswap-16.h> to get __bswap_16.
9226 * sysdeps/i386/bits/byteswap.h: Likewise.
9227 * sysdeps/s390/bits/byteswap.h: Likewise.
9228 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9229 * bits/byteswap-16.h: New file.
9230 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9231 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9232 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9233 * string/Makefile (headers): Add bits/byteswap-16.h.
9234
62470f60
PP
92352012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9236
9237 [BZ #13895]
9238 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9239 extra indirection.
9240 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9241 * nss/tst-nss-static.c: New.
9242
4dad7bab
RM
92432012-04-06 Robert Millan <rmh@gnu.org>
9244
9245 [BZ #6486]
9246 * manual/llio.texi (File Position Primitive): lseek
9247 refers to WHENCE when it really means OFFSET.
9248
e9142a17
AJ
92492012-04-06 Andreas Jaeger <aj@suse.de>
9250
2c040eff
AJ
9251 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9252 strncmp declarations.
9253
e9142a17
AJ
9254 * abilist/libc.abilist: Add __poll and __ppoll.
9255
ff9f1c5f
DM
92562012-04-05 David S. Miller <davem@davemloft.net>
9257
dcd2ae90
DM
9258 * scripts/check-local-headers.sh: Accept a host triplet in the
9259 path matched by the exclude regexp.
9260
993eb054
DM
9261 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9262 definition.
9263 * sysdeps/powerpc/powerpc32/dl-machine.h
9264 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9265 * sysdeps/s390/s390-32/dl-machine.h
9266 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9267 * sysdeps/sparc/sparc32/dl-machine.h
9268 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9269 * sysdeps/sparc/sparc64/dl-machine.h
9270 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9271
ff9f1c5f
DM
9272 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9273 lazy binding.
48e2e132 9274 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9275 undefined symbol errors.
9276
48e2e132 9277 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9278 DT_NEEDED entries.
9279
e80d6f94
MM
92802012-04-05 Michael Matz <matz@suse.de>
9281
9282 [BZ #13592]
9283 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9284
349fa79f
AJ
92852012-04-05 Andreas Jaeger <aj@suse.de>
9286
9287 [BZ #13908]
9288 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9289 comment.
9290
f402708f
KK
92912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9292
9293 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9294 which ROUND is no valid rounding mode.
9295
2ecccfc9
KK
92962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9297
9298 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9299 read again.
9300 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9301
8a53f50f
KK
93022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9303
9304 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9305 an exception using FPU order intentionally.
9306
93072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9308
9309 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9310 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9311 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9312 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9313
d653abb7
SJ
93142012-04-05 Simon Josefsson <simon@josefsson.org>
9315
9316 [BZ #12340]
9317 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9318 EINVAL when BUFLEN is too smal.
9319
c3b1bf7d
TS
93202012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9321
9322 [BZ #13553]
9323 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9324 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9325
b1aa60f3
AJ
93262012-04-03 Andreas Jaeger <aj@suse.de>
9327
c3b1bf7d 9328 [BZ #13938]
67f60a26
AJ
9329 * manual/setjmp.texi (System V contexts): Fix sentence.
9330
b1aa60f3
AJ
9331 [BZ #13926]
9332 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9333 New macro for this case.
9334 [!__GNUC__] (__bswap_64): New inline function for this case.
9335 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9336 * bits/byteswap.h: Likewise.
9337 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9338 ull, guard with __GLIBC_HAVE_LONG_LONG.
9339
9340 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9341 __GLIBC_HAVE_LONG_LONG.
9342
9343 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9344 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9345
39c59c35
TMQMF
93462012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9347
9348 [BZ #13691]
9349 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9350 inptr and inend, rather than using last_ch.
9351
135ffda8
DM
93522012-04-02 David S. Miller <davem@davemloft.net>
9353
9354 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9355 * stdio-common/printf-parse.h (read_int): Change return type to
9356 'int', return -1 on INT_MAX overflow.
9357 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9358 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9359 overflows INT_MAX. Check for overflow of in-format-string precision
9360 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9361 SIZE_MAX not INT_MAX for integer overflow test.
9362 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9363 skip the construct in the format string but do not record anything.
9364 * stdio-common/bug22.c: Adjust to test both width/prevision
9365 INT_MAX overflow as well as total length INT_MAX overflow. Check
9366 explicitly for proper errno values.
9367
228c019e
TS
93682012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9369
302cadd3
TS
9370 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9371 CHAR_MAX.
9372 * string/test-strcmp.c [! WIDE]: Likewise.
9373 * time/tst-mktime2.c: Likewise for INT_MAX.
9374 * string/test-string.h: #include <sys/param.h> for MIN.
9375
228c019e
TS
9376 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9377 * sysdeps/i386/init-first.c (init): Likewise.
9378 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9379 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9380 * sysdeps/sh/init-first.c (init): Likewise.
9381
cfa633f5
UD
93822012-04-01 Ulrich Drepper <drepper@gmail.com>
9383
9384 * po/ru.po: Update from translation team.
d1635ef8 9385 * po/vi.po: Likewise.
cfa633f5 9386
6cd0a5ea
SP
93872012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9388
9389 * resolv/nss_dns/dns-host.c: Merge copyright years.
9390
4b43400f
LD
93912012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9392
9393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9394 Optimize memcpy with prefetch if
9395 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9396 src, dst pointers have unequal 16 byte alignments.
9397
48c41d04
SP
93982012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9399
9400 [BZ #13928]
9401 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9402 from a CNAME entry and return the minimum ttl for the query.
9403 (gaih_getanswer_slice): Likewise.
9404
b8dc394d
JL
94052012-03-30 Jeff Law <law@redhat.com>
9406
9407 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9408 due to long keys.
9409 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9410 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9411
2f5a5ed0
JL
9412 * resolv/nss_dns/dns-host.c: Update copyright year.
9413
1d39e359
UD
94142012-03-30 Ulrich Drepper <drepper@gmail.com>
9415
c030f70c 9416 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9417 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9418
1d39e359
UD
9419 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9420 comments for sendmmsg.
9421
94222012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9423
9424 [BZ #13691]
9425 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9426 with only 1 character between 0x0041 and 0x01b0.
9427 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9428 * wcsmbs/tst-mbsnrtowcs.c: New file.
9429
20fde227
DM
94302012-03-29 David S. Miller <davem@davemloft.net>
9431
9432 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9433 small copies by hand.
9434
984a4237
JL
94352012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9436
9437 [BZ #13761]
9438 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9439 _nss_compat_initgroups_dyn): Fall back to malloc/free
9440 for large group memberships.
9441
18c9d62b
DM
94422012-03-28 David S. Miller <davem@davemloft.net>
9443
88d85d4f
DM
9444 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9445 that branches into memcpy.
9446 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9447 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9448 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9449 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9450 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9451 bits.
9452 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9453 implementation too.
9454 * sysdeps/sparc/mempcpy.S: New file.
9455
e5aa83e1
DM
9456 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9457 the IFUNC routine in the libc case.
9458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9459
88570753
DM
9460 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9461 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9462 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9463 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9464 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9465 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9466 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9467 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9468
249d7567
DM
9469 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9470 loop to 256 bytes instead of 64 bytes and fix test signedness.
9471
18c9d62b
DM
9472 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9473 * sysdeps/sparc/sparc32/Makefile: rather than here...
9474 * sysdeps/sparc/sparc64/Makefile: and here.
9475
05f3d1f6
UD
94762012-03-28 Ulrich Drepper <drepper@gmail.com>
9477
9478 * malloc/mallocbug.c: Avoid warnings about unused variables.
9479
86ae07a8
JL
94802012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9481
9482 [BZ #13760]
9483 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9484 in the right place. Discard and retry query if response is
9485 larger than input buffer size.
9486
41bf21a1
JM
94872012-03-28 Joseph Myers <joseph@codesourcery.com>
9488
d6270972
JM
9489 [BZ #369]
9490 [BZ #2678]
9491 [BZ #3866]
9492 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9493 x for large integer exponent.
9494 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9495 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9496 sign of result as needed afterwards.
9497 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9498 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9499 result for underflowing pow the same as for overflow.
9500 (__kernel_standard_l): Handle powl overflow and underflow here
9501 rather than calling __kernel_standard.
9502 * math/libm-test.inc (pow_test): Add more tests.
9503
414fca03 9504 [BZ #3868]
41bf21a1
JM
9505 [BZ #13879]
9506 [BZ #13910]
9507 [BZ #13911]
9508 [BZ #13912]
9509 [BZ #13913]
9510 [BZ #13915]
9511 [BZ #13916]
9512 [BZ #13917]
9513 [BZ #13918]
9514 [BZ #13919]
9515 [BZ #13920]
9516 [BZ #13921]
9517 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9518 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9519 (__kernel_standard_l): New function.
9520 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9521 __kernel_standard.
9522 * math/w_acosl.c (__acosl): Likewise.
9523 * math/w_asinl.c (__asinl): Likewise.
9524 * math/w_atan2l.c (__atan2l): Likewise.
9525 * math/w_atanhl.c (__atanhl): Likewise.
9526 * math/w_coshl.c (__coshl): Likewise.
9527 * math/w_exp10l.c (__exp10l): Likewise.
9528 * math/w_exp2l.c (__exp2l): Likewise.
9529 * math/w_fmodl.c (__fmodl): Likewise.
9530 * math/w_hypotl.c (__hypotl): Likewise.
9531 * math/w_j0l.c (__j0l, __y0l): Likewise.
9532 * math/w_j1l.c (__j1l, __y1l): Likewise.
9533 * math/w_jnl.c (__jnl, __ynl): Likewise.
9534 * math/w_lgammal.c (__lgammal): Likewise.
9535 * math/w_log10l.c (__log10l): Likewise.
9536 * math/w_log2l.c (__log2l): Likewise.
9537 * math/w_logl.c (__logl): Likewise.
9538 * math/w_powl.c (__powl): Likewise.
9539 * math/w_remainderl.c (__remainderl): Likewise.
9540 * math/w_scalbl.c (sysv_scalbl): Likewise.
9541 * math/w_sinhl.c (__sinhl): Likewise.
9542 * math/w_sqrtl.c (__sqrtl): Likewise.
9543 * math/w_tgammal.c (__tgammal): Likewise.
9544 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9545 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9546 * math/libm-test.inc (acos_test): Add more tests.
9547 (acosh_test): Likewise.
9548 (asin_test): Likewise.
9549 (atanh_test): Likewise.
9550 (exp_test): Likewise.
9551 (exp10_test): Likewise.
9552 (exp2_test): Likewise.
9553 (expm1_test): Likewise.
9554 (lgamma_test): Likewise.
9555 (log_test): Likewise.
9556 (log10_test): Likewise.
9557 (log1p_test): Likewise.
9558 (log2_test): Likewise.
9559 (pow_test): Do not allow some spurious overflow exceptions.
9560 (sqrt_test): Add more tests.
9561 (tgamma_test): Likewise.
9562 (y0_test): Likewise.
9563 (y1_test): Likewise.
9564 (yn_test): Likewise.
9565
dd62fda6
AB
95662012-03-27 Anton Blanchard <anton@samba.org>
9567
9568 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9569 MAP_HUGETLB.
9570 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9571 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9572 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9573
1e3cdfda
AJ
95742012-03-27 David S. Miller <davem@davemloft.net>
9575
b855ab85
DM
9576 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9577
1e3cdfda
AJ
9578 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9579 have-as-vis3 check.
9580
95812012-03-27 Andreas Jaeger <aj@suse.de>
9582
9583 * sysdeps/x86_64/elf/configure.in: Moved to ...
9584 * sysdeps/x86_64/configure.in: ... here.
9585 * sysdeps/x86_64/elf/start.S: Moved to ...
9586 * sysdeps/x86_64/start.S: ... here.
9587 * sysdeps/x86_64/elf/configure: Delete.
9588
9589 * sysdeps/x86_64/configure.in: Merge contents from
9590 sysdeps/i386/configure.in (without i686 check).
9591
9592 * sysdeps/i386/elf/Versions: Merge into ...
9593 * sysdeps/i386/Versions: ... this.
9594 * sysdeps/i386/elf/Versions: Delete file.
9595 * sysdeps/i386/elf/start.S: Moved to ...
9596 * sysdeps/i386/start.S: ...here.
9597 * sysdeps/i386/elf/configure.in: Merge into...
9598 * sysdeps/i386/configure.in: ...here.
9599 * sysdeps/i386/elf/configure.in: Delete file.
9600 * sysdeps/i386/elf/configure: Delete file.
9601
9602 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9603 * debug/backtracesyms.c: ... here.
9604 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9605 * debug/backtracesymsfd.c: ... here.
9606 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9607 * sysdeps/generic/ifunc-sel.h: ... here.
9608
9609 * sysdeps/unix/i386/start.c: Delete file.
9610 * sysdeps/unix/sparc/start.c: Delete file.
9611 * sysdeps/unix/start.c: Delete file.
9612
9613 * sysdeps/sh/elf/configure.in: Moved to ...
9614 * sysdeps/sh/configure.in: ... here.
9615 * sysdeps/sh/elf/start.S: Moved to ...
9616 * sysdeps/sh/start.S: ... here.
9617 * sysdeps/sh/elf/configure: Delete file.
9618
9619 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9620 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9621 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9622 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9623 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9624 * sysdeps/powerpc/powerpc64/start.S: here.
9625 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9626 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9627 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9628 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9629 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9630
9631 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9632 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9633 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9634 * sysdeps/powerpc/powerpc32/start.S: ... here.
9635 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9636 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9637 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9638
9639 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9640 * sysdeps/powerpc/ifunc-sel.h: ... here.
9641 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9642 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9643
9644 * sysdeps/sparc/elf/configure.in: Moved to ...
9645 * sysdeps/sparc/configure.in: ... here.
9646 * sysdeps/sparc/elf/configure: Delete file.
9647 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9648 * sysdeps/sparc/sparc32/start.S: ... here.
9649 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9650 * sysdeps/sparc/sparc64/start.S: ... here.
9651 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9652 * sysdeps/sparc/sparc32/Makefile: ... this.
9653 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9654 * sysdeps/sparc/sparc64/Makefile: ... this.
9655
9656 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9657 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9658 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9659 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9660 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9661 * sysdeps/s390/s390-32/setjmp.S: ... here.
9662 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9663 * sysdeps/s390/s390-32/configure.in: ... here.
9664 * sysdeps/s390/s390-32/elf/configure: Delete file.
9665 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9666 * sysdeps/s390/s390-32/start.S: ... here.
9667
9668 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9669 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9670 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9671 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9672 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9673 * sysdeps/s390/s390-64/setjmp.S: ... here.
9674 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9675 * sysdeps/s390/s390-64/configure.in: ... here
9676 * sysdeps/s390/s390-64/elf/configure: Delete file.
9677 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9678 * sysdeps/s390/s390-64/start.S: ... here.
9679 * sysdeps/s390/s390-64/elf/configure: Delete.
9680
9681 * configure.in: Remove support for elf directories in sysdeps.
9682
9683 * configure: Regenerated.
9684 * sysdeps/i386/configure: Regenerated.
9685 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9686 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9687 * sysdeps/s390/s390-32/configure: Regenerated.
9688 * sysdeps/s390/s390-64/configure: Regenerated.
9689 * sysdeps/sh/configure: Regenerated.
9690 * sysdeps/sparc/configure: Regenerated.
9691 * sysdeps/x86_64/configure: Regenerated.
9692
a3f61311
AS
96932012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9694
c876e002
AS
9695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9696
a3f61311
AS
9697 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9698 denormal result into account.
9699
ac4c54f0
RM
97002012-03-25 Roland McGrath <roland@hack.frob.com>
9701
9702 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9703 Reported by Allan McRae <allan@archlinux.org>.
9704
6a9b9c02
JL
97052012-03-23 Jeff Law <law@redhat.com>
9706
9707 * nss/getnssent.c (__nss_getent): Fix typo.
9708
4c42a0c1
DM
97092012-03-23 David S. Miller <davem@davemloft.net>
9710
9711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9712
1532c7ac
L
97132012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9714
9715 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9716 to pad to uint64_t for each field.
9717 (dl_tls_index): Replace unsigned long with uint64_t.
9718
3ff42526
PP
97192012-03-23 Daniel Jacobowitz <dmj@google.com>
9720 Paul Pluzhnikov <ppluzhnikov@google.com>
9721
9722 [BZ #6528]
9723 * grp/Makefile (otherlibs): Don't set it.
9724 * inet/Makefile (otherlibs): Likewise.
9725 * login/Makefile (otherlibs): Likewise.
9726 * nscd/Makefile (otherlibs): Likewise.
9727 * posix/Makefile (otherlibs): Likewise.
9728 * pwd/Makefile (otherlibs): Likewise.
9729 * rt/Makefile (otherlibs): Likewise.
9730 * sunrpc/Makefile (otherlibs): Likewise.
9731 * nss/Makefile (otherlibs): Likewise.
9732 Add libnss_files to routines and static-only-routines.
9733 ($(objpfx)getent): Remove rule.
9734 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9735 static-only-routines.
9736
7c69cd14
JM
97372012-03-22 Joseph Myers <joseph@codesourcery.com>
9738
9739 [BZ #13892]
9740 * math/s_cexp.c: Include <float.h>.
9741 (__cexp): Handle exp result overflowing not necessarily
9742 overflowing both real and imaginary parts of result.
9743 * math/s_cexpf.c: Likewise.
9744 * math/s_cexpl.c: Likewise.
9745 * math/libm-test.inc (cexp_test): Add more tests.
9746 * sysdeps/i386/fpu/libm-test-ulps: Update.
9747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9748
81b035fe
L
97492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9750
9751 * include/link.h (ELFW): New macro.
9752 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9753 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9754
1da7940c
L
97552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9756
9757 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9758 with uint64_t.
9759
b749dbb9
L
97602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9761
9762 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9763 declaration.
9764 (struct La_x32_retval): Likewise.
9765
2ff87f3f
L
97662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9767
9768 * sysdeps/x86_64/preconfigure.in: New file.
9769 * sysdeps/x86_64/preconfigure: New generated file.
9770
c0df8e69
JM
97712012-03-22 Joseph Myers <joseph@codesourcery.com>
9772
48e44791
JM
9773 [BZ #13824]
9774 * math/e_exp2l.c: Include <float.h>.
9775 (__ieee754_exp2l): Handle overflow and underflow cases
9776 separately. Only pass fractional part of argument to
9777 __ieee754_expl.
9778 * math/libm-test.inc (exp2_test): Add more tests.
9779
c0df8e69
JM
9780 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9781 negating x to take absolute value.
9782 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9783 Likewise.
9784 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9785 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9786 Likewise.
9787 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9788 computing low part if x was negated.
9789 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9790
c8e43ba7
L
97912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9792
9793 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9794 la_x32_gnu_pltexit.
9795 (pltexit): Cast int_retval to ptrdiff_t.
9796 * elf/tst-auditmod3b.c: Likewise.
9797 * elf/tst-auditmod4b.c: Likewise.
9798 * elf/tst-auditmod5b.c: Likewise.
9799 * elf/tst-auditmod6b.c: Likewise.
9800 * elf/tst-auditmod6c.c: Likewise.
9801 * elf/tst-auditmod7b.c: Likewise.
9802
9803 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9804 and x32_gnu_pltexit.
9805
9806 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9807 __ELF_NATIVE_CLASS.
9808 (La_x32_regs): New macro.
9809 (La_x32_retval): Likewise.
9810 (la_x32_gnu_pltenter): New function prototype.
9811 (la_x32_gnu_pltexit): Likewise.
9812
7998fa78
AS
98132012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9814
dcb33988
AS
9815 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9816 exponent.
9817
233fc563
AS
9818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9819
7998fa78
AS
9820 * configure.in (libc_cv_cc_nofma): Check for option to disable
9821 generation of FMA instructions.
9822 * configure: Regenerate.
9823 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9824 * sysdeps/ieee754/dbl-64/Makefile: New file.
9825 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9826 Remove brandred-fma4.
9827 (CFLAGS-brandred-fma4.c): Remove.
9828 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9829 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9830 define.
9831 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9832 define.
9833
8e95c99a
L
98342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9835
9836 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9837 LLONG_MAX != LONG_MAX.
9838 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9839 (_fitoa_word): Likewise.
9840 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9841 LLONG_MAX != LONG_MAX.
9842 * stdio-common/_itowa.h: Include <_itoa.h>.
9843 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9844 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9845 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9846 only if not defined.
9847 (_ITOA_WORD_TYPE): Likewise.
9848 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9849 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9850
6f4db457
DM
98512012-03-21 David S. Miller <davem@davemloft.net>
9852
9853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9854
7785fe5a
L
98552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9856
9857 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9858 of x86_64 when setting libc_cv_slibdir, libdir and
9859 libc_cv_localedir.
9860 * sysdeps/unix/sysv/linux/configure: Regenerated.
9861
4535cd55
JM
98622012-03-21 Joseph Myers <joseph@codesourcery.com>
9863
9864 * manual/lang.texi (Old Varargs): Remove section.
9865 (How Variadic): Update menu.
9866 (va_start): Do not mention varargs.h.
9867
17228132
TS
98682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9869 Joseph Myers <joseph@codesourcery.com>
9870
9871 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9872 link test.
9873 * configure: Regenerated.
9874
8149f976
TS
98752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9876
05f3d1f6
UD
9877 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9878 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9879 conformtest.pl
8149f976 9880
1a4ac776
JM
98812012-03-21 Joseph Myers <joseph@codesourcery.com>
9882
be22ce65
JM
9883 * NOTES: Remove.
9884 * Makefile (files-for-dist): Remove NOTES.
9885 (NOTES): Remove rule.
9886 * README: Don't refer to NOTES.
9887 * manual/creature.texi: Don't include macros.texi.
9888 * manual/intro.texi (creature.texi): Remove comment referring to
9889 NOTES.
9890
40b601fb
JM
9891 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9892 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9893 * configure: Regenerated.
9894 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9895 LIBC_TRY_CC_OPTION.
9896 (libc_cv_as_i686): Likewise.
9897 (libc_cv_cc_avx): Likewise.
9898 (libc_cv_cc_sse2avx): Likewise.
9899 (libc_cv_cc_fma4): Likewise.
9900 (libc_cv_cc_novzeroupper): Likewise.
9901 * sysdeps/i386/configure: Regenerated.
9902
1a4ac776
JM
9903 [BZ #13883]
9904 * sysdeps/i386/fpu/s_cexp.S: Remove.
9905 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9906 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9907 * math/libm-test.inc (cexp_test): Add more tests.
9908 * sysdeps/i386/fpu/libm-test-ulps: Update.
9909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9910
a458e7fe
AM
99112012-03-21 Allan McRae <allan@archlinux.org>
9912
9913 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9914
0cb7efc5
JM
99152012-03-21 Joseph Myers <joseph@codesourcery.com>
9916
9917 [BZ #13871]
9918 * math/w_exp2.c: Do not include <float.h>.
9919 (o_threshold, u_threshold): Remove.
9920 (__exp2): Calculate result before checking finiteness and calling
9921 __kernel_standard.
9922 * math/w_exp2f.c: Likewise.
9923 * math/w_exp2l.c: Likewise.
9924 * math/libm-test.inc (exp2_test): Require overflow exception for
9925 1e6 input.
2460d3aa
JM
9926
9927 [BZ #3866]
9928 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9929 range of signed 64-bit integers before using fistpll. Remove
9930 checks for whether integers fit in mantissa bits.
9931 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9932 the range of signed 32-bit integers before using fistpl. Remove
9933 checks for whether integers fit in mantissa bits.
9934 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9935 (__ieee754_powl): Test for y outside the range of signed 64-bit
9936 integers before using fistpll. Reduce 64-bit values to 63-bit
9937 ones as needed.
9938 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9939 divide-by-zero is raised for zero to large negative powers.
9940 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9941 (__ieee754_powl): Test for y outside the range of signed 64-bit
9942 integers before using fistpll. Reduce 64-bit values to 63-bit
9943 ones as needed.
9944 * math/libm-test.inc (pow_test): Add more tests.
9945
eb96ffb0
L
99462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9947
9948 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9949 <stdio-common/_itoa.h>.
9950 * debug/segfault.c: Likewise.
9951 * elf/dl-cache.c: Likewise.
9952 * elf/dl-minimal.c: Likewise.
9953 * elf/dl-misc.c: Likewise.
9954 * elf/dl-sysdep.c: Likewise.
9955 * elf/dl-version.c: Likewise.
9956 * elf/rtld.c: Likewise.
9957 * hurd/hurdsock.c: Likewise.
9958 * hurd/lookup-retry.c: Likewise.
9959 * malloc/malloc.c: Likewise.
9960 * malloc/mtrace.c: Likewise.
9961 * nscd/nscd_getgr_r.c: Likewise.
9962 * nscd/nscd_getpw_r.c: Likewise.
9963 * nscd/nscd_getserv_r.c: Likewise.
9964 * posix/getopt_init.c: Likewise.
9965 * posix/wordexp.c: Likewise.
9966 * stdio-common/_itoa.c: Likewise.
9967 * stdio-common/printf_fphex.c: Likewise.
9968 * stdio-common/vfprintf.c: Likewise.
9969 * string/_strerror.c: Likewise.
9970 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9971 * sysdeps/i386/i686/hp-timing.h: Likewise.
9972 * sysdeps/mach/_strerror.c: Likewise.
9973 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9974 * sysdeps/mach/hurd/sethostid.c: Likewise.
9975 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9976 * sysdeps/mach/xpg-strerror.c: Likewise.
9977 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9978 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9979 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9980 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9981 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9982 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9983 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9984 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9985 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9986 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9987 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9988 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9989 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9990 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9991 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9992 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9993 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9994 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9995 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9996 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9997 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9998
9999 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10000
10001 * stdio-common/_itoa.h: Moved to ...
10002 * sysdeps/generic/_itoa.h: Here.
10003
10004 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10005
10006 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10007 instead of "_itoa.h" and "_itowa.h".
10008 * stdio-common/vfprintf.: Likewise.
10009
d1af992d
L
100102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10011
10012 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10013 <bits/wordsize.h>.
10014 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10015 (__signbit): Likwise.
10016 (llrintf): Likwise.
10017 (llrint): Likwise.
10018
114883e0
L
100192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10020
10021 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10022 __WORDSIZE != 64.
10023
c135cc1b
JM
100242012-03-20 Joseph Myers <joseph@codesourcery.com>
10025
10026 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10027 OVERFLOW_EXCEPTION_OK.
10028 * math/libm-test.inc ("Philosophy"): Update comment about
10029 exception testing.
10030 (OVERFLOW_EXCEPTION): Define.
10031 (OVERFLOW_EXCEPTION_OK): Likewise.
10032 (INVALID_EXCEPTION_OK): Renumber.
10033 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10034 (IGNORE_ZERO_INF_SIGN): Likewise.
10035 (test_exceptions): Handle FE_OVERFLOW.
10036 (exp10_test): Expect overflow exceptions.
10037 (exp2_test): Likewise.
10038 (expm1_test): Likewise.
10039 (nextafter_test): Likewise.
10040 (pow_test): Likewise.
10041 (scalbn_test): Likewise.
10042 (scalbln_test): Likewise.
10043
95443d88
L
100442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10045
10046 * sysdeps/x86_64/bits/atomic.h
10047 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10048 64bit integer.
10049 (atomic_exchange_acq): Likewise.
10050 (__arch_exchange_and_add_body): Likewise.
10051 (__arch_add_body): Likewise.
10052 (atomic_add_negative): Likewise.
10053 (atomic_add_zero): Likewise.
10054
490df6c4
L
100552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10056
c2722551 10057 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10058 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10059
5e52b189
L
100602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10061
10062 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10063 Check __x86_64__ instead of __WORDSIZE.
10064
a9879d4c
L
100652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10066
10067 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10068
5df98260
DM
100692012-03-19 David S. Miller <davem@davemloft.net>
10070
e1497744
DM
10071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10072
5df98260
DM
10073 * sysdeps/sparc/fpu/fenv_private.h: New file.
10074 * sysdeps/sparc/fpu/math_private.h: Use it.
10075 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10076 Remove.
10077 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10078 (libc_feholdexcept_setroundl): Remove.
10079 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10080 Remove.
10081 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10082 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10083
b4c35121
L
100842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10085
10086 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10087 int64_t instead of long int.
10088 (INSERT_WORDS64): Likwise.
10089
56965fd7
L
100902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10091
10092 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10093 _Unwind_GetCFA return to _Unwind_Ptr first.
10094
83d1aec8
JM
100952012-03-19 Joseph Myers <joseph@codesourcery.com>
10096
1897ad44
JM
10097 [BZ #13629]
10098 * math/s_clog.c: Include <float.h>.
10099 (__clog): Scale large or subnormal inputs.
10100 * math/s_clogf.c: Likewise.
10101 * math/s_clogl.c: Likewise.
10102 * math/s_clog10.c: Include <float.h>.
10103 (M_LOG10_2): Define.
10104 (__clog10): Scale large or subnormal inputs.
10105 * math/s_clog10f.c: Likewise.
10106 * math/s_clog10l.c: Likewise.
10107 * math/libm-test.inc (clog_test): Add more tests.
10108 (clog10_test): Likewise.
10109 * sysdeps/i386/fpu/libm-test-ulps: Update.
10110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10111
7726d6a9
JM
10112 [BZ #11451]
10113 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10114 x and y.
10115 * math/libm-test.inc (atan2_test): Add another test.
10116
83d1aec8
JM
10117 * Makerules (common-objdir-compile): Remove.
10118 * sysdeps/unix/Makefile (config-generated): Do not add
10119 $(unix-generated) to variable.
10120 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10121 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10122 Remove rule.
10123 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10124 Likewise.
10125 [generic bits/local_lim.h] (before-compile): Do not append to
10126 variable.
10127 [generic bits/local_lim.h] (common-generated): Likewise.
10128 [generic sys/param.h] (before-compile): Do not append to variable.
10129 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10130 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10131 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10132 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10133 include.
10134 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10135 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10136 [generic sys/param.h] ($(addprefix
10137 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10138 [generic sys/param.h] (common-generated): Do not append to
10139 variable.
10140 [generic sys/param.h] (sysdep_headers): Likewise.
10141 [generic bits/errno.h] (before-compile): Do not append to
10142 variable.
10143 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10144 rule.
10145 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10146 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10147 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10148 [generic bits/errno.h] (common-generated): Do not append to
10149 variable.
10150 [generic bits/ioctls.h] (before-compile): Do not append to
10151 variable.
10152 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10153 rule.
10154 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10155 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10156 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10157 rule.
10158 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10159 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10160 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10161 [generic bits/ioctls.h] (common-generated): Do not append to
10162 variable.
10163 [generic sys/syscall.h] (syscall.h): Remove variable.
10164 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10165 rule.
10166 [generic sys/syscall.h] (before-compile): Do not append to
10167 variable.
10168 [generic sys/syscall.h] (common-generated): Likewise.
10169 * sysdeps/unix/errnos-tmpl.c: Remove file.
10170 * sysdeps/unix/errnos.awk: Likewise.
10171 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10172 * sysdeps/unix/ioctls.awk: Likewise.
10173 * sysdeps/unix/mk-local_lim.c: Likewise.
10174 * sysdeps/unix/snarf-ioctls: Likewise.
10175
4851a949
RH
101762012-03-19 Richard Henderson <rth@twiddle.net>
10177
bd37f2ee
RH
10178 * sysdeps/i386/fpu/fenv_private.h: New file.
10179 * sysdeps/i386/fpu/math_private.h: Use it.
10180 (math_opt_barrier, math_force_eval): Remove.
10181 (libc_feholdexcept_setround_53bit): Remove.
10182 (libc_feupdateenv_53bit): Remove.
10183 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10184 (math_opt_barrier, math_force_eval): Remove.
10185 (libc_feholdexcept): Remove.
10186 (libc_feholdexcept_setround): Remove.
10187 (libc_fetestexcept, libc_fesetenv): Remove.
10188 (libc_feupdateenv_test): Remove.
10189 (libc_feupdateenv, libc_feholdsetround): Remove.
10190 (libc_feresetround): Remove.
10191
d0adc922
RH
10192 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10193 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10194
0fe0f1f8
RH
10195 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10196 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10197 (libc_feupdateenv_testl): New.
10198 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10199 (libc_feupdateenv_testf): New.
10200 (libc_feupdateenv): Use libc_feupdateenv_test.
10201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10202 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10203
eb92c487
RH
10204 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10205 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10206 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10207 (libc_feresetround_noex): New.
10208 (libc_feresetround_noexf): New.
10209 (libc_feresetround_noexl): New.
10210 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10211 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10212 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10213 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10214 SET_RESTORE_ROUND.
10215 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10216 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10217 (__cos): Likewise.
10218 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10219 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10220 SET_RESTORE_ROUND_NOEX.
10221 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10222 SET_RESTORE_ROUND_NOEXF.
10223 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10224 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10225 (libc_feholdsetroundf): New.
10226 (libc_feresetround, libc_feresetroundf): New.
10227
7d2e8012
RH
10228 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10229 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10230 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10231
b4dabbb4
RH
10232 * sysdeps/generic/math_private.h: Include <fenv.h>.
10233 (default_libc_feholdexcept): New.
10234 (default_libc_feholdexcept_setround): New.
10235 (default_libc_fesetenv, default_libc_feupdateenv): New.
10236 (libc_feholdexcept): Only define if undefined.
10237 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10238 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10239 (libc_feholdexcept_setroundl): Likewise.
10240 (libc_feholdexcept_setround_53bit): Likewise.
10241 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10242 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10243 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10244 (libc_feupdateenv_53bit): Likewise.
10245 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10246 (libc_feholdexcept): Convert from macro to inline function.
10247 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10248 (libc_fesetenv, libc_feupdateenv): Likewise.
10249
4851a949
RH
10250 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10251 not previously defined.
10252 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10253 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10254 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10255 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10256 * sysdeps/ieee754/flt-32/math_private.h: New file.
10257 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10258 math_private.h below SET_FLOAT_WORD.
10259 (__isnan, __isinf_ns, __finite): Remove.
10260 (__isnanf, __isinf_nsf, __finitef): Remove.
10261
e79d442e
AS
102622012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10263
10264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10265
90b80344
DM
102662012-03-17 David S. Miller <davem@davemloft.net>
10267
10268 [BZ #6471]
10269 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10270 for 2.16.
10271
edc21804
DM
102722012-03-16 David S. Miller <davem@davemloft.net>
10273
77e927af
DM
10274 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10275 warnings.
10276
374976dd
DM
10277 [BZ #6471]
10278 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10279 properly.
10280 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10281 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10282 sysdep_routines when subdir is sysvipc.
10283 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10284 __getshmlba helper.
10285
edc21804
DM
10286 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10287
473c3ef3
L
102882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10289
10290 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10291 [__LP64__].
10292
eb0f39b6
L
102932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10294
10295 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10296 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10297 (__lround): Renamed to ...
10298 (__llround): This. Replace long int with long long int.
10299 Define lround functions as aliases of llround functions.
10300 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10301
6b6cd74b
L
103022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10303
10304 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10305 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10306 adresses to uintptr_t. Replace "long int" and "unsigned long
10307 int" with "greg_t" on va_arg.
10308
f1a77b01
L
103092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10310
10311 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10312 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10313
10314 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10315 Move e_machine check before EI_CLASS check. Handle x32
10316 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10317 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10318 SKIP_EM_IA_64 and include
10319 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10320
10321 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10322 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10323 (add_system_dir): New macro.
10324
10325 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10326 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10327
11b90b9f
JM
103282012-03-16 Joseph Myers <joseph@codesourcery.com>
10329
c36e1d23
JM
10330 [BZ #2551]
10331 [BZ #2552]
10332 [BZ #2553]
10333 [BZ #2554]
10334 [BZ #2562]
10335 [BZ #2563]
10336 [BZ #2565]
10337 [BZ #2566]
10338 [BZ #2576]
10339 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10340 (y0): Likewise.
10341 * math/w_j0f.c (j0f): Likewise.
10342 (y0f): Likewise.
10343 * math/w_j0l.c (__j0l): Likewise.
10344 (__y0l): Likewise.
10345 * math/w_j1.c (j1): Likewise.
10346 (y1): Likewise.
10347 * math/w_j1f.c (j1f): Likewise.
10348 (y1f): Likewise.
10349 * math/w_j1l.c (__j1l): Likewise.
10350 (__y1l): Likewise.
10351 * math/w_jn.c (jn): Likewise.
10352 (yn): Likewise.
10353 * math/w_jnf.c (jnf): Likewise.
10354 (ynf): Likewise.
10355 * math/w_jnl.c (__jnl): Likewise.
10356 (__ynl): Likewise.
10357 * math/libm-test.inc (j0_test): Add more tests.
10358 (j1_test): Likewise.
10359 (jn_test): Likewise. Add trailing semicolon to existing test.
10360 (y0_test): Likewise.
10361 (y1_test): Likewise.
10362 * sysdeps/i386/fpu/libm-test-ulps: Update.
10363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10364
11b90b9f
JM
10365 [BZ #13851]
10366 [BZ #13854]
10367 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10368 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10369 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10370 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10371 (__tanl): Set errno for infinite argument.
10372 * sysdeps/i386/fpu/mptan.c: Remove.
10373 * sysdeps/i386/fpu/s_tan.S: Likewise.
10374 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10375 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10376 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10377 * math/libm-test.inc (tan_test): Add more tests and enable more
10378 tests for double and long double.
10379 * sysdeps/i386/fpu/libm-test-ulps: Update.
10380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10381
6a1bd2a1
JK
103822012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10383
10384 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10385 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10386
10a803e0
RM
103872012-03-16 Roland McGrath <roland@hack.frob.com>
10388
10389 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10390 * configure.in: Use it for both main tree and add-ons.
10391 * configure: Regenerated.
10392
f196c7f7
L
103932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10394
10395 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10396
8848d99d
JM
103972012-03-16 Joseph Myers <joseph@codesourcery.com>
10398
96cbe7f4
JM
10399 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10400 in comment.
10401
8848d99d
JM
10402 [BZ #13851]
10403 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10404 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10406 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10407 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10408 infinite argument.
10409 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10410 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10411 != 0 for prec == 2.
10412 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10413 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10414 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10415 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10416 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10417 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10418 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10419 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10420 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10421 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10422 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10423 * math/libm-test.inc (cos_test): Add more tests and enable more
10424 tests for long double.
10425 (sin_test): Likewise.
10426 (sincos_test): Likewise.
10427 * sysdeps/i386/fpu/libm-test-ulps: Update.
10428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10429
dd7f4703
DM
104302012-03-16 David S. Miller <davem@davemloft.net>
10431
10432 * sysdeps/sparc/fpu/math_private.h: New file.
10433
006f1daa
DM
104342012-03-15 David S. Miller <davem@davemloft.net>
10435
c0c83bc8
DM
10436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10437 file.
e6a62e18 10438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10440 file.
e6a62e18
DM
10441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10446 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10447 sysdep routines.
10448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10449
88cb87d9
DM
10450 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10451 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10452
006f1daa 10453 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10455 sparc-ifunc.h
006f1daa 10456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10458 Likewise.
10459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10460 Likewise.
006f1daa
DM
10461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10465 Likewise.
006f1daa
DM
10466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10471 Likewise.
10472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10473 Likewise.
006f1daa
DM
10474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10481 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10492 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10493 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10494 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10496 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10497 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10498
11e0098e
AS
104992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10500
10501 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10502 scaling.
10503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10504
e85b09d0
AJ
105052012-03-15 Andreas Jaeger <aj@suse.de>
10506
10507 [BZ #13852]
10508 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10509 ieee754/flt-32 implementation for sin, cos and sincos.
10510 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10511 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10512 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10513 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10514 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10515 ieee754/flt-32 implementation for tan.
10516
10517 * math/libm-test.inc (cos_test): Enable some large input tests for
10518 float as well
10519 (sin_test): Likewise.
10520 (sincos_test): Likewise.
10521 (tan_test): Add tests for large input.
10522
10523 * sysdeps/i386/fpu/libm-test-ulps: Update.
10524
81c64153
AJ
105252012-03-15 Andreas Jaeger <aj@suse.de>
10526
10527 [BZ #13658]
10528 * math/libm-test.inc (cos_test): Add more test cases.
10529 (sin_test): Likewise.
10530 (sincos_test): Likewise.
10531
7bbfa5c6
AJ
105322012-03-15 Andreas Jaeger <aj@suse.de>
10533
10534 [BZ #13837]
10535 * math/libm-test.inc (cos_test): Add a test case for large input
10536 value.
10537 (sin_test): Likewise.
10538 (sincos_test): Likewise.
10539
105402012-03-15 Andreas Jaeger <aj@suse.de>,
10541 Joseph Myers <joseph@codesourcery.com>
10542
10543 [BZ #13658]
0671f479 10544 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10545 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10546 * sysdeps/i386/fpu/branred.c: Likewise.
10547 * sysdeps/i386/fpu/dosincos.c: Likewise.
10548 * sysdeps/i386/fpu/mpa.c: Likewise.
10549 * sysdeps/i386/fpu/s_cos.S: Likewise.
10550 * sysdeps/i386/fpu/s_sin.S: Likewise.
10551 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10552 * sysdeps/i386/fpu/sincos32.c: Likewise.
10553
10554 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10555 Define.
10556 (libc_feupdateenv_53bit): Define.
10557 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10558 Define.
10559 (libc_feupdateenv_53bit): Define.
10560
10561 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10562 53 bit (without extend i386 double precision).
10563
10564 * math/libm-test.inc (sincos_test): Add tests for large input.
10565 (sin): Likewise.
10566 (cos): Likewise.
10567
10568 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10569
9cad04ea
AS
105702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10571
10572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10573
f7062b9a
DM
105742012-03-15 David S. Miller <davem@davemloft.net>
10575
10576 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10577 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10578 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10579 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10592 file.
f7062b9a 10593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10595 file.
f7062b9a 10596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10598 file.
f7062b9a 10599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10601 file.
f7062b9a
DM
10602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10603 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10604 fmin/fmax sysdep routines.
10605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10606
7bd951ff
DM
106072012-03-14 David S. Miller <davem@davemloft.net>
10608
559398ab
DM
10609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10613 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10614 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10617 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10629 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10636 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10637 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10638 routines.
10639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10640 file.
559398ab 10641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10643 file.
559398ab 10644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10646 file.
559398ab 10647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10649 file.
559398ab 10650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10652 file.
559398ab 10653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10655 file.
10656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10657 file.
10658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10659 file.
10660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10661 file.
10662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10663 New file.
10664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10665 file.
10666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10667 file.
559398ab 10668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10670 file.
559398ab 10671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10673 file.
559398ab 10674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10676 file.
559398ab 10677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10679 VIS3 routines.
559398ab
DM
10680
10681 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10682 New file.
10683
5a1c1e32
DM
10684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10685
eae47a36
DM
10686 * sysdeps/sparc/configure.in: New file.
10687 * sysdeps/sparc/configure: Generate.
10688 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10689 * configure: Regenerate.
10690 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10691 * config.make.in (have-as-vis3): New.
10692 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10693 available use -Av9d instead of -Av9a.
10694 * sysdeps/sparc/sparc64/Makefile: Likewise.
10695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10697 New file.
10698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10699 file.
10700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10701 New file.
10702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10703 file.
eae47a36
DM
10704 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10705 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10706 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10709
c0c83bc8
DM
10710 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10711 fzeros/fnegs to load 0x80000000 into a float register instead of
10712 using the stack.
7bd951ff
DM
10713 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10714
bd951ccb
JM
107152012-03-14 Joseph Myers <joseph@codesourcery.com>
10716
10717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10718 bits/syscall.h.
10719 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10720 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10721 ($(inst_includedir)/bits/syscall.h): Remove rule.
10722 ($(objpfx)bits/syscall.d): Include instead of
10723 $(objpfx)syscall-list.d.
10724 (generated): Change syscall-list.h and syscall-list.d to
10725 bits/syscall.h and bits/syscall.d.
10726
bb4e6db2
RM
107272012-03-14 Roland McGrath <roland@hack.frob.com>
10728
10729 [BZ #13846]
10730 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10731
aa4a2ae1
JM
107322012-03-14 Joseph Myers <joseph@codesourcery.com>
10733
e456826d
JM
10734 [BZ #13841]
10735 * math/s_csqrt.c: Include <float.h>.
10736 (__csqrt): Scale large or subnormal inputs.
10737 * math/s_csqrtf.c: Likewise.
10738 * math/s_csqrtl.c: Likewise.
10739 * math/libm-test.inc (csqrt_test): Add more tests.
10740 * sysdeps/i386/fpu/libm-test-ulps: Update.
10741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10742
aa4a2ae1
JM
10743 [BZ #13840]
10744 * math/libm-test.inc (hypot_test): Add more tests.
10745
7c10fd35
DM
107462012-03-13 David S. Miller <davem@davemloft.net>
10747
10748 [BZ #13840]
10749 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10750 double-precision for the calculation instead of scaling.
10751
f453b98b
JM
107522012-03-13 Joseph Myers <joseph@codesourcery.com>
10753
10754 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10755 manipulate bits before adding and subtracting TWO52[sx].
10756 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10757 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10758 Likewise.
10759 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10760
09a3453f
DM
107612012-03-13 David S. Miller <davem@davemloft.net>
10762
8e59da90
DM
10763 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10764 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10765 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10766 rtld-global-offsets.h
10767 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10768
2a8ab7f2
DM
10769 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10770 large parameters.
10771
10f62770
DM
10772 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10773
5f0bdb18
DM
10774 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10775 'err' in the ifdef scope in which it is actually used.
10776
09a3453f
DM
10777 * nss/nss_db/db-init.c: Include string.h
10778
b4b2eb5e
DM
107792012-03-12 David S. Miller <davem@davemloft.net>
10780
98bb2f1c
DM
10781 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10782 masking out of the most significant byte of random value used.
10783 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10784 Fix coding style in previous change.
10785
b4b2eb5e
DM
10786 * sysdeps/unix/sysv/linux/kernel-features.h
10787 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10788 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10789 expression.
10790 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10791 later.
10792
6e226b09
DM
107932012-03-11 David S. Miller <davem@davemloft.net>
10794
a1bcbd40
DM
10795 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10796 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10797 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10798 for 'resultvar' otherwise things get truncated on 64-bit.
10799
cb9d6174
DM
10800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10801 Fix masking out of the most significant byte of random value used.
10802
6e226b09
DM
10803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10804
058c132d
AS
108052012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10806
10807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10808
2d2cd515
DM
108092012-03-09 David S. Miller <davem@davemloft.net>
10810
10811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10812 variables with appropriate CPP guards.
10813 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10814 frame pointer, not the stack pointer. Correct layout comments. Fix test
10815 on resulting framesize and the management of the outregs buffer for pltexit.
10816 Preserve floating point return values across _dl_call_pltexit call.
10817 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10818 framesize and the management of the outregs buffer for pltexit.
10819 Preserve floating point return values across _dl_call_pltexit
10820 call.
10821 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10822 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10823 (print_exit): Fix format string for return register value.
10824
9a07f9d0
JM
108252012-03-10 Joseph Myers <joseph@codesourcery.com>
10826
10827 * sunrpc/Makefile (others): Add rpcgen.
10828 ($(objpfx)rpcgen): Remove special build rule and dependency on
10829 libc.
10830 * sunrpc/rpcgen.c: New file.
10831
547b5e30
PE
108322012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10833
c524201a
PE
10834 [BZ #13673]
10835 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10836 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10837 * sysdeps/i386/crti.S: Likewise.
10838 * sysdeps/i386/crtn.S: Likewise.
10839 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10840 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10841 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10842 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10843 * sysdeps/sh/crti.S: Likewise.
10844 * sysdeps/sh/crtn.S: Likewise.
10845 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10846
7b6235f2
PE
10847 [BZ #13673]
10848 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10849 with URL.
10850 * locale/programs/locfile-kw.gperf: Likewise.
10851 * locale/programs/charmap-kw.h: Regenerated.
10852 * locale/programs/locfile-kw.h: Likewise.
10853
547b5e30
PE
10854 [BZ #13673]
10855 * intl/plural.y: Replace FSF snail mail address with URL.
10856 * intl/plural.c: Regenerated.
10857
5f0a5dae
RH
108582012-03-09 Richard Henderson <rth@twiddle.net>
10859
10860 * include/math_private.h: Remove file.
10861 * math/math_private.h: Move file ...
10862 * sysdeps/generic/math_private.h: ... here.
10863
b8c03620
RH
10864 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10865 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10866 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10867
4e234f5d 10868 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10869 and <math_private.h>.
10870 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10871 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10872 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10873 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10874 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10875 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10876 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10877 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10879 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10880 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10890 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10891 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10892 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10894 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10895 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10896 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10897 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10899 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10900 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10901 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10902 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10903 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10904 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10928 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10929 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10931 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10932 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10946 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10958 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10959 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10960 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10961 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10962 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10963 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10964 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10965 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10966 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10967 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10968 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10969 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10970 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10971 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10972 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10973 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10974 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10975 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10976 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10977 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10978 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10979 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10980 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10981 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10982 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10983 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10984 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10985 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10986 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10987 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10988 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10989 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10990 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10991 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10992 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10993 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10994 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10995 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10996 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10997 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10998 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10999 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11000 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11001 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11002 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11003 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11004 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11005 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11006 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11007 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11008 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11009 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11010 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11011 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11012 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11013 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11014 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11015 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11016 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11017 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11018 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11019 * sysdeps/ieee754/k_standard.c: Likewise.
11020 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11022 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11023 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11024 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11025 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11026 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11027 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11028 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11029 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11030 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11031 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11032 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11033 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11034 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11035 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11036 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11037 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11038 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11039 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11040 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11041 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11044 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11045 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11046 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11047 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11135 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11139 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11140 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11142 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11147 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11152 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11168 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11169 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11170 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11180 * sysdeps/ieee754/s_lib_version.c: Likewise.
11181 * sysdeps/ieee754/s_matherr.c: Likewise.
11182 * sysdeps/ieee754/s_signgam.c: Likewise.
11183 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11184 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11185 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11186 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11187 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11188 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11189 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11190 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11191 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11192 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11193 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11194 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11195 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11196 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11197 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11198 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11199 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11200 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11201 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11202 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11203 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11204
1991fa03
JM
112052012-03-09 Joseph Myers <joseph@codesourcery.com>
11206
11207 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11208 * sunrpc/rpc_main.c: Likewise.
11209 * sunrpc/rpc_svcout.c: Likewise.
11210
60d6f5a6
DM
112112012-03-09 David S. Miller <davem@davemloft.net>
11212
11213 * include/math_private.h: New file.
11214
4962050e
JM
112152012-03-09 Joseph Myers <joseph@codesourcery.com>
11216
02a6f887
JM
11217 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11218 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11219 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11220 from <bits/socket_type.h>.
11221 (enum __socket_type): Don't define here.
11222 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11224 bits/socket_type.h.
11225
c6e013c1
JM
11226 [BZ #13566]
11227 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11228 checking __USE_GNU.
11229
4962050e
JM
11230 * Makerules ($(inst_includedir)/%.h): New rule.
11231 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11232 (install-others): Remove variable setting.
11233 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11234
38842f45
RH
112352012-03-08 Richard Henderson <rth@twiddle.net>
11236
67bb6da6
RH
11237 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11238 from macro to inline function; merge with the
11239 !__LIBC_INTERNAL_MATH_INLINES version.
11240 (__ieee754_sqrtf): Likewise.
11241
15194b4b
RH
11242 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11243 to inline function.
11244 (__rintf, __floor, __floorf): Likewise.
11245
64e21ede
RH
11246 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11247 macro to inline function.
11248 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11249
38842f45
RH
11250 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11251 not <math/math_private.h>.
11252
c64bf5fe
DM
112532012-03-08 David S. Miller <davem@davemloft.net>
11254
11255 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11256 copyright year.
11257 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11258
82d86f28
TS
112592012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11260
11261 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11262 normalization.
11263 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11264 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11265
aea5d727
UD
112662012-03-08 Ulrich Drepper <drepper@gmail.com>
11267
11268 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11269 be defined individually, they must be defined as a block. Define
11270 S for printing a string instead of hidint the different by using a
11271 macro for adding the 'l'.
11272 * stdio-common/tst-fphex-wide.c: Adjust.
11273
70bca0a3
MP
112742012-03-07 Marek Polacek <polacek@redhat.com>
11275
11276 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11277
65b81130
MP
112782012-03-08 Marek Polacek <polacek@redhat.com>
11279
11280 [BZ #13806]
11281 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11282 * stdio-common/tst-fphex.c: Define a few macros to make the
11283 test reusable. Use them.
11284 * stdio-common/tst-fphex-wide.c: New file.
11285
07037eeb
JM
112862012-03-08 Joseph Myers <joseph@codesourcery.com>
11287
a7a93d50
JM
11288 [BZ #6911]
11289 * manual/macros.texi (gnusystems): New macro.
11290 (nongnusystems): Likewise.
11291 (gnulinuxhurdsystems): Likewise.
11292 (gnuhurdsystems): Likewise..
11293 (gnulinuxsystems): Likewise.
11294 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11295 variants of the GNU system, not "GNU system".
11296 * manual/conf.texi: Likewise.
11297 * manual/errno.texi: Likewise. Update example of errno macro
11298 expansion.
11299 * manual/filesys.texi: Likewise.
11300 (getumask): Document as specific to GNU/Hurd.
11301 * manual/install.texi: Likewise. Reword some references to
11302 GNU/Linux.
11303 * manual/intro.texi: Likewise.
11304 * manual/io.texi: Likewise.
11305 (File Name Portability): Detail which constraints are inapplicable
11306 to all GNU systems and which are only inapplicable to GNU/Hurd.
11307 * manual/job.texi: Likewise.
11308 * manual/llio.texi: Likewise.
11309 (O_NOCTTY): Document as present on GNU/Linux.
11310 * manual/maint.texi: Likewise.
11311 * manual/memory.texi: Likewise.
11312 * manual/pattern.texi: Likewise.
11313 * manual/pipe.texi: Likewise.
11314 * manual/process.texi: Likewise.
11315 * manual/resource.texi: Likewise.
11316 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11317 child on GNU/Hurd.
11318 * manual/setjmp.texi: Likewise.
11319 * manual/signal.texi: Likewise.
11320 * manual/startup.texi: Likewise.
11321 * manual/stdio.texi: Likewise.
11322 * manual/terminal.texi: Likewise.
11323 (ONLCR): Document as POSIX.
11324 (OXTABS): Document availability on GNU/Linux as XTABS.
11325 (ONOEOT): Document availability separately from other bits.
11326 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11327 * manual/time.texi: Likewise.
11328 * manual/users.texi: Likewise.
11329 * INSTALL: Regenerated.
11330 * sysdeps/gnu/errlist.c: Regenerated.
11331
07037eeb
JM
11332 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11333 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11334 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11335 puts.
11336 * configure: Regenerated.
11337
d1d3431a
JM
113382012-03-07 Joseph Myers <joseph@codesourcery.com>
11339
af6a1e37
JM
11340 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11341 default includes instead of AC_HEADER_CHECK.
11342 * sysdeps/i386/configure: Regenerated.
11343
d1d3431a
JM
11344 [BZ #10716]
11345 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11346 * math/s_cacoshf.c (__cacoshf): Likewise.
11347 * math/s_cacoshl.c (__cacoshl): Likewise.
11348 * math/s_casinh.c (__casinh): Set signs of result from argument.
11349 * math/s_casinhf.c (__casinhf): Likewise.
11350 * math/s_casinhl.c (__casinhl): Likewise.
11351 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11352 (casinh_test): Add more tests.
11353 * sysdeps/i386/fpu/libm-test-ulps: Update.
11354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11355
482ff4da
UD
113562012-03-07 Ulrich Drepper <drepper@gmail.com>
11357
872fda05
UD
11358 * po/zh_TW.po: Update from translation team.
11359
a4300c7a
UD
11360 * login/Makefile (distribute): Remove variable.
11361 * catgets/Makefile: Likewise.
11362 * mach/Makefile: Likewise.
11363 * malloc/Makefile: Likewise.
11364 * misc/Makefile: Likewise.
11365 * iconv/Makefile: Likewise.
11366 * nscd/Makefile: Likewise.
11367 * hurd/Makefile: Likewise.
11368 * manual/Makefile: Likewise.
11369 * locale/Makefile: Likewise.
11370 * intl/Makefile: Likewise.
11371 * conform/Makefile: Likewise.
11372 * nss/Makefile: Likewise.
11373 * time/Makefile: Likewise.
11374 * soft-fp/Makefile: Likewise.
11375 * dirent/Makefile: Likewise.
11376 * gmon/Makefile: Likewise.
11377 * po/Makefile: Likewise.
11378 * rt/Makefile: Likewise.
11379 * socket/Makefile: Likewise.
11380 * math/Makefile: Likewise.
11381 * signal/Makefile: Likewise.
11382 * debug/Makefile: Likewise.
11383 * elf/Makefile: Likewise.
11384 * timezone/Makefile: Likewise.
11385 * stdlib/Makefile: Likewise.
11386 * iconvdata/Makefile: Likewise.
11387 * sunrpc/Makefile: Likewise.
11388 * io/Makefile: Likewise.
11389 * argp/Makefile: Likewise.
11390 * inet/Makefile: Likewise.
11391 * hesiod/Makefile: Likewise.
11392 * grp/Makefile: Likewise.
11393 * csu/Makefile: Likewise.
11394 * wctype/Makefile: Likewise.
11395 * crypt/Makefile: Likewise.
11396 * libio/Makefile: Likewise.
11397 * string/Makefile: Likewise.
11398 * nis/Makefile: Likewise.
11399 * resolv/Makefile: Likewise.
11400 * stdio-common/Makefile: Likewise.
11401 * wcsmbs/Makefile: Likewise.
11402 * dlfcn/Makefile: Likewise.
11403 * posix/Makefile: Likewise.
11404
3b7c4e74 11405 [BZ #6959]
482ff4da
UD
11406 * timezone/Makefile: Don't install timezone files, just the programs
11407 and scripts.
11408
f72ed77d
UD
114092012-03-06 Ulrich Drepper <drepper@gmail.com>
11410
a000466f
UD
11411 * nss/databases.def: Add missing gshadow entry.
11412
f72ed77d
UD
11413 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11414
a53b7a4e
MP
114152012-03-06 Marek Polacek <polacek@redhat.com>
11416
11417 [BZ #13726]
11418 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11419 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11420 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11421 * stdio-common/tst-long-dbl-fphex.c: New file.
11422
e9258400
DM
114232012-03-06 David S. Miller <davem@davemloft.net>
11424
11425 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11426 (set_obp_int): New function.
11427 (get_obp_int): New function.
11428 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11429 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11430 Avoid unused variable warnings on 'val' and use builtin_expect.
11431 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11432 __builtin_expect.
e9258400
DM
11433 (INLINE_CLONE_SYSCALL): Likewise.
11434
3bd2c723
DM
114352012-03-05 David S. Miller <davem@davemloft.net>
11436
11437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11438
bbb78d03
AS
114392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11440
884c5db4
AS
11441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11442
bbb78d03
AS
11443 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11444 only for |x| >= 40.
11445 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11446
1c9f702a 114472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11448
11449 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11450 Replace gettimeofday with __vdso_gettimeofday.
11451
7be16f82
RM
11452 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11453 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11454 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11455
11456 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11457 time with __vdso_time.
11458
ed58a00f
JM
114592012-03-05 Joseph Myers <joseph@codesourcery.com>
11460
11461 * manual/lang.texi (size_t): Note types to which size_t may be
11462 equivalent with the GNU C Library, but do not describe when
11463 differences between them are significant.
11464
30ee4ced
AJ
114652012-03-05 Andreas Jaeger <aj@suse.de>
11466
11467 * sysdeps/i386/fpu/libm-test-ulps: Update.
11468
b7cd39e8
JM
114692012-03-05 Joseph Myers <joseph@codesourcery.com>
11470
11471 [BZ #3976]
11472 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11473 (__ieee754_pow): Save and restore rounding mode and use
11474 round-to-nearest for main computations.
11475 * math/libm-test.inc (pow_test_tonearest): New function.
11476 (pow_test_towardzero): Likewise.
11477 (pow_test_downward): Likewise.
11478 (pow_test_upward): Likewise.
11479 (main): Call the new functions.
11480 * sysdeps/i386/fpu/libm-test-ulps: Update.
11481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11482
11483 [BZ #3976]
11484 * math/libm-test.inc (cosh_test_tonearest): New function.
11485 (cosh_test_towardzero): Likewise.
11486 (cosh_test_downward): Likewise.
11487 (cosh_test_upward): Likewise.
11488 (sinh_test_tonearest): Likewise.
11489 (sinh_test_towardzero): Likewise.
11490 (sinh_test_downward): Likewise.
11491 (sinh_test_upward): Likewise.
11492 (main): Call the new functions.
11493 * sysdeps/i386/fpu/libm-test-ulps: Update.
11494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11495
6c6a98c9
TV
114962012-03-05 Tom de Vries <tom@codesourcery.com>
11497
11498 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11499 default stack guard is set in last bytes.
11500 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11501
21bb2d2e 115022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11503
21bb2d2e 11504 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11505
21bb2d2e
AJ
11506 [BZ #13656]
11507 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11508 possibly allocate from heap instead of stack.
11509 * stdio-common/bug-vfprintf-nargs.c: New file.
11510 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11511
c6922934
AS
115122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11513
11514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11515
bc957d53
MP
115162012-03-03 Marek Polacek <polacek@redhat.com>
11517
11518 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11519 * math/math_private.h: Likewise.
11520 * stdlib/tst-strtod.c: Likewise.
11521 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11522 * sysdeps/x86_64/bits/atomic.h: Likewise.
11523
6358490d
DM
115242012-03-02 David S. Miller <davem@davemloft.net>
11525
11526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11530 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11531 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11532 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11533 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11534
01ae168d
RM
115352012-03-02 Roland McGrath <roland@hack.frob.com>
11536
d9a17c07
RM
11537 [BZ #13792]
11538 * manual/examples/README: New file, says the example source files
11539 can be used under GPL>=2.
11540 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11541 line containing just "*/".
11542 * manual/examples/add.c: Add copyright header (GPL>=2).
11543 * manual/examples/argp-ex1.c: Likewise.
11544 * manual/examples/argp-ex2.c: Likewise.
11545 * manual/examples/argp-ex3.c: Likewise.
11546 * manual/examples/argp-ex4.c: Likewise.
11547 * manual/examples/atexit.c: Likewise.
11548 * manual/examples/db.c: Likewise.
11549 * manual/examples/dir.c: Likewise.
11550 * manual/examples/dir2.c: Likewise.
11551 * manual/examples/execinfo.c: Likewise.
11552 * manual/examples/filecli.c: Likewise.
11553 * manual/examples/filesrv.c: Likewise.
11554 * manual/examples/fmtmsgexpl.c: Likewise.
11555 * manual/examples/genpass.c: Likewise.
11556 * manual/examples/inetcli.c: Likewise.
11557 * manual/examples/inetsrv.c: Likewise.
11558 * manual/examples/isockad.c: Likewise.
11559 * manual/examples/longopt.c: Likewise.
11560 * manual/examples/memopen.c: Likewise.
11561 * manual/examples/memstrm.c: Likewise.
11562 * manual/examples/mkfsock.c: Likewise.
11563 * manual/examples/mkisock.c: Likewise.
11564 * manual/examples/mygetpass.c: Likewise.
11565 * manual/examples/pipe.c: Likewise.
11566 * manual/examples/popen.c: Likewise.
11567 * manual/examples/rprintf.c: Likewise.
11568 * manual/examples/search.c: Likewise.
11569 * manual/examples/select.c: Likewise.
11570 * manual/examples/setjmp.c: Likewise.
11571 * manual/examples/sigh1.c: Likewise.
11572 * manual/examples/sigusr.c: Likewise.
11573 * manual/examples/stpcpy.c: Likewise.
11574 * manual/examples/strdupa.c: Likewise.
11575 * manual/examples/strftim.c: Likewise.
11576 * manual/examples/strncat.c: Likewise.
11577 * manual/examples/subopt.c: Likewise.
11578 * manual/examples/swapcontext.c: Likewise.
11579 * manual/examples/termios.c: Likewise.
11580 * manual/examples/testopt.c: Likewise.
11581 * manual/examples/testpass.c: Likewise.
11582 * manual/examples/timeval_subtract.c: Likewise.
11583
01ae168d
RM
11584 [BZ #13792]
11585 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11586 function to ...
11587 * manual/timeval_subtract.c.texi: ... here, new file.
11588
49efa33d
DM
115892012-03-02 David S. Miller <davem@davemloft.net>
11590
11591 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11592
28afd92d
JM
115932012-03-02 Joseph Myers <joseph@codesourcery.com>
11594
804360ed
JM
11595 [BZ #3976]
11596 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11597 (__sin): Save and restore rounding mode and use round-to-nearest
11598 for all computations.
11599 (__cos): Save and restore rounding mode and use round-to-nearest
11600 for all computations.
11601 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11602 <fenv.h>.
11603 (tan): Save and restore rounding mode and use round-to-nearest for
11604 all computations.
11605 * math/libm-test.inc (cos_test_tonearest): New function.
11606 (cos_test_towardzero): Likewise.
11607 (cos_test_downward): Likewise.
11608 (cos_test_upward): Likewise.
11609 (sin_test_tonearest): Likewise.
11610 (sin_test_towardzero): Likewise.
11611 (sin_test_downward): Likewise.
11612 (sin_test_upward): Likewise.
11613 (tan_test_tonearest): Likewise.
11614 (tan_test_towardzero): Likewise.
11615 (tan_test_downward): Likewise.
11616 (tan_test_upward): Likewise.
11617 (main): Call the new functions.
11618 * sysdeps/i386/fpu/libm-test-ulps: Update.
11619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11620
a6d06d7b
JM
11621 [BZ #10135]
11622 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11623 small n, then large n, before computing and testing k+n.
11624 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11625 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11626 Likewise.
11627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11628 Likewise.
11629 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11630 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11631 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11632 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11633 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11634 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11635 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11636 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11637 * math/libm-test.inc (scalbn_test): Add more tests.
11638 (scalbln_test): Likewise.
11639
07e12bb3
JM
11640 * manual/filesys.texi (mode_t): Describe constraints on size and
11641 signedness, not exact equivalence to a particular type.
11642 (ino_t): Likewise.
11643 (ino64_t): Likewise.
11644 (dev_t): Likewise.
11645 (nlink_t): Likewise.
11646 (blkcnt_t): Likewise.
11647 (blkcnt64_t): Likewise.
11648 * manual/llio.texi (off_t): Likewise.
11649
28afd92d
JM
11650 [BZ #3976]
11651 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11652 (__ieee754_exp): Save and restore rounding mode and use
11653 round-to-nearest for all computations.
11654 * math/libm-test.inc (exp_test_tonearest): New function.
11655 (exp_test_towardzero): Likewise.
11656 (exp_test_downward): Likewise.
11657 (exp_test_upward): Likewise.
11658 (main): Call the new functions.
11659 * sysdeps/i386/fpu/libm-test-ulps: Update.
11660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11661
b1eeb65d
CD
116622012-03-01 Chris Demetriou <cgd@google.com>
11663
11664 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11665 have predictable order.
11666
53362a4b
DM
116672012-03-01 David S. Miller <davem@davemloft.net>
11668
3c969083
DM
11669 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11670
759707de
DM
11671 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11672 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11673 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11674 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11675
dfdb8ff2
DM
11676 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11677 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11678 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11680 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11681 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11682 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11683 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11684 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11685
ead89f96
DM
11686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11687
7f66bd07
DM
11688 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11689 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11690 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11691
53362a4b
DM
11692 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11693 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11694 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11695 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11696 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11697 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11698 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11699 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11700 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11701 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11702 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11703 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11704 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11705 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11706 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11708 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11709 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11710 * sysdeps/sparc/elf/configure: Regenerated.
11711
7b1902cb
JM
117122012-03-01 Joseph Myers <joseph@codesourcery.com>
11713
bec039bc
JM
11714 * configure.in (AS, LD): Require binutils 2.20 or later.
11715 * configure: Regenerated.
11716 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11717 as required minimum version.
11718 * INSTALL: Regenerated.
11719
7b1902cb
JM
11720 [BZ #2541]
11721 [BZ #4108]
11722 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11723 before squaring exponent.
11724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11725 bottom long double and 27 bits of top long double before squaring
11726 exponent.
11727 * math/libm-test.inc (erfc_test): Add more tests.
11728 * sysdeps/i386/fpu/libm-test-ulps: Update.
11729 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11731
f775c276
KT
117322012-03-01 Kai Tietz <ktietz@redhat.com>
11733
11734 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11735 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11736 containing bit-fields.
11737 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11738 * soft-fp/single.h (_FP_UNION_S): Likewise.
11739 * soft-fp/double.h (_FP_UNION_D): Likewise.
11740
5b8a4d4a
JM
117412012-02-29 Joseph Myers <joseph@codesourcery.com>
11742
0bab47b6
JM
11743 [BZ #13786]
11744 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11745 not include ../strcmp.S.
11746 [USE_AS_STRNCASECMP_L]: Likewise.
11747 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11748 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11749 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11750 (__strncasecmp_l_ia32): Define as alias to
11751 __strncasecmp_l_nonascii.
11752
0fcad3e2
JM
11753 [BZ #5794]
11754 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11755 * sysdeps/i386/fpu/libm-test-ulps: Update.
11756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11757
5b8a4d4a
JM
11758 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11760
8fdceb2e
JL
117612012-02-29 Jeff Law <law@redhat.com>
11762
11763 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11764 out of bounds read.
11765
1f393a11
MP
117662012-02-29 Marek Polacek <polacek@redhat.com>
11767
11768 [BZ #13706]
11769 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11770 * elf/Makefile: Add rules to run tst-unused-dep.out.
11771
8847f037
DM
117722012-02-28 David S. Miller <davem@davemloft.net>
11773
11774 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11775 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11776 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11777 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11778 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11779 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11780
169d7f11
JM
117812012-02-29 Joseph Myers <joseph@codesourcery.com>
11782
11783 * math/libm-test.inc (llround_test): Move one test from
11784 lround_test. Use TEST_f_L in moved test.
11785 (lround_test): Move misplaced test to llround_test. Add testcase
11786 from bug 2561.
11787
39adf059
UD
117882012-02-28 Ulrich Drepper <drepper@gmail.com>
11789
11790 * sysdeps/x86_64/fpu/e_expf.S: New file.
11791 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11792
71b5d1c5
SB
117932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11794
11795 [BZ #13637]
11796 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11797 of remain_len that may cause incomplete multi-byte character and
11798 false match.
11799 * posix/bug-regex33.c: New file.
11800 * posix/Makefile (tests): Add bug-regex33.
11801
1f77f049
JM
118022012-02-28 Joseph Myers <joseph@codesourcery.com>
11803
11804 * manual/macros.texi: New file.
11805 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11806 * manual/libc.texinfo: Include macros.texi.
11807 * manual/creatute.texi: Likewise.
11808 * manual/install.texi: Likewise.
11809 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11810 @glibcadj{} in references to the GNU C Library.
11811 * manual/charset.texi: Likewise.
11812 * manual/conf.texi: Likewise.
11813 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11814 when not using those macros.
11815 * manual/creature.texi: Likewise.
11816 * manual/crypt.texi: Likewise.
11817 * manual/errno.texi: Likewise.
11818 * manual/filesys.texi: Likewise.
11819 * manual/header.texi: Likewise.
11820 * manual/install.texi: Likewise.
11821 * manual/intro.texi: Likewise.
11822 * manual/io.texi: Likewise.
11823 * manual/job.texi: Likewise.
11824 * manual/lang.texi: Likewise.
11825 * manual/libc.texiinfo: Likewise.
11826 * manual/llio.texi: Likewise.
11827 * manual/locale.texi: Likewise.
11828 * manual/maint.texi: Likewise.
11829 * manual/math.texi: Likewise.
11830 * manual/memory.texi: Likewise.
11831 * manual/message.texi: Likewise.
11832 * manual/nss.texi: Likewise.
11833 * manual/pattern.texi: Likewise.
11834 * manual/process.texi: Likewise.
11835 * manual/resource.texi: Likewise.
11836 * manual/search.texi: Likewise.
11837 * manual/setjmp.texi: Likewise.
11838 * manual/signal.texi: Likewise.
11839 * manual/socket.texi: Likewise.
11840 * manual/startup.texi: Likewise.
11841 * manual/stdio.texi: Likewise.
11842 * manual/string.texi: Likewise.
11843 * manual/sysinfo.texi: Likewise.
11844 * manual/syslog.texi: Likewise.
11845 * manual/terminal.texi: Likewise.
11846 * manual/time.texi: Likewise.
11847 * manual/users.texi: Likewise.
11848 * INSTALL: Regenerated.
11849 * NOTES: Regenerated.
d40c5d54 11850 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11851
450bf206
AS
118522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11853
11854 * include/dirent.h: Include <dirstream.h> before
11855 <dirent/dirent.h>.
11856
741a235b
DM
118572012-02-28 David S. Miller <davem@davemloft.net>
11858
11859 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11860 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11861 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11862 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11863
d6b5aa58
DM
118642012-02-27 David S. Miller <davem@davemloft.net>
11865
1aff59a3
DM
11866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11868 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11869 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11870
d6b5aa58
DM
11871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11872 frame pointer instead of stack pointer relative arg slot.
11873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11874 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11875 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11876
433f48bf
CD
118772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11878
11879 [BZ #3992]
11880 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11881
d674b76d
DM
118822012-02-27 David S. Miller <davem@davemloft.net>
11883
11884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11888 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11889 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11890 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11891 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11892
0e7727f7
JM
118932012-02-27 Joseph Myers <joseph@codesourcery.com>
11894
11895 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11896 later. Allow versions 5-9.
43be4ca2 11897 * configure: Regenerated.
0e7727f7
JM
11898 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11899 required minimum version and 4.6 as recommended version. Do not
11900 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11901 * INSTALL: Regenerated.
0e7727f7 11902
a78bc654
DM
119032012-02-27 David S. Miller <davem@davemloft.net>
11904
428d5830
DM
11905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11909 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11910 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11911 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11912 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11913
a78bc654
DM
11914 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11915 manipulate bits before adding and subtracting TWO112[sx].
11916 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11917
4579f81c
RM
119182012-02-27 Roland McGrath <roland@hack.frob.com>
11919
36c8acb4
RM
11920 [BZ #13775]
11921 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11922 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11923 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11924 being in POSIX, because they are in 1003.1-2008.
11925
84ad622b
RM
11926 * rt/tst-aio.c: Include <fcntl.h>.
11927 * rt/tst-aio7.c: Likewise.
11928 * rt/tst-aio64.c: Likewise.
11929
4579f81c
RM
11930 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11931
abd923db
JM
119322012-02-27 Joseph Myers <joseph@codesourcery.com>
11933
11934 * manual/install.texi (--with-headers): Describe headers as
11935 interface headers, not private headers.
11936 (Specific advice for GNU/Linux systems): Describe use of headers
11937 from "make headers_install", not private headers from older
11938 kernels.
43be4ca2 11939 * INSTALL: Regenerated.
abd923db
JM
11940 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11941 Change to 2.6.19.
11942 * sysdeps/unix/sysv/linux/configure: Regenerated.
11943
6664049b
JM
11944 * manual/llio.texi (fclean): Remove documentation.
11945
bb8b6697
JM
11946 * manual/Makefile (libc-texi-generated): New variable. Include
11947 version.texi.
11948 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11949 $(libc-texi-generated), not duplicated list of files.
11950 (version.texi, stamp-version): New rules.
11951 (realclean): Remove $(libc-texi-generated), not individual files
11952 from that list. Do not remove dir-add.texinfo.
11953 * manual/libc.texinfo: Comment out uses of edition numbers and
11954 references to printed manual. Remove last-updated dates.
11955 (EDITION): Comment out.
11956 (ISBN): Likewise.
11957 (VERSION, UPDATED): Remove.
11958 (version.texi): Include.
11959
12e5c3b9
AS
119602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11961
11962 * sysdeps/posix/spawni.c: Include <signal.h>.
11963 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11964 * sysdeps/pthread/aio_fsync.c: Likewise.
11965
4efeffc1 119662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11967
ba63ba08
UD
11968 * conform/Makefile (tests): Run only when not cross-compiling and
11969 when fast-check is not defined.
11970
d94a4670
UD
11971 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11972 * conform/data/limits.h-data: Fixes for POSIX2008.
11973 * conform/run-conformtest.sh: Run all tests.
11974 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11975 headers.
11976 * include/bits/dlfcn.h: Likewise.
11977 * include/langinfo.h: Likewise.
11978 * include/monetary.h: Likewise.
11979 * include/sys/poll.h: Likewise.
11980
11981 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11982 for __USE_GNU.
11983 * posix/spawn.h: Define __need_sigset_t.
11984 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11985 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11986 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11987 to get sigevent_t only.
11988 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11989 only for __USE_GNU.
11990 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11991 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11992 process_vm_writev only for __USE_GNU.
11993 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11994
11995 * conform/Makefile: For now ignore errors from run-conformtest.
11996 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11997 POSIX to avoid namespace pollution. Don't prepend headers.
11998 * conform/data/aio.h-data: Fixes for POSIX testing.
11999 * conform/data/fcntl.h-data: Likewise.
12000 * conform/data/glob.h-data: Likewise.
12001 * conform/data/grp.h-data: Likewise.
12002 * conform/data/pthread.h-data: Likewise.
12003 * conform/data/pwd.h-data: Likewise.
12004 * conform/data/signal.h-data: Likewise.
12005 * conform/data/spawn.h-data: Likewise.
12006 * conform/data/stdio.h-data: Likewise.
12007 * conform/data/stdlib.h-data: Likewise.
12008 * conform/data/stropts.h-data: Likewise.
12009 * conform/data/sys/mman.h-data: Likewise.
12010 * conform/data/sys/stat.h-data: Likewise.
12011 * conform/data/sys/types.h-data: Likewise.
12012 * conform/data/sys/wait.h-data: Likewise.
12013 * conform/data/time.h-data: Likewise.
12014 * conform/data/unistd.h-data: Likewise.
12015 * conform/data/utime.h-data: Likewise.
12016
12017 * io/sys/stat.h: fchmod was always in POSIX.
12018 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12019 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12020 * rt/aio.h: Define __need_timespec before including <time.h>.
12021 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12022 struct. Add forward declaration of pthread_attr_t and use it in
12023 sigevent.
12024 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12025 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12026 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12027 always remove CLK_TCK definition.
12028
c20105c3
AS
120292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12030
12031 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12032
7a270350
UD
120332012-02-25 Ulrich Drepper <drepper@gmail.com>
12034
31341567
UD
12035 * conform/run-conformtest.sh: New file.
12036 * conform/Makefile: Run run-conformtest for tests.
12037 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12038 support.
12039
12040 * conform/data/uchar.h-data: New file.
12041 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12042 * conform/data/arpa/inet.h-data: Likewise.
12043 * conform/data/assert.h-data: Likewise.
12044 * conform/data/complex.h-data: Likewise.
12045 * conform/data/cpio.h-data: Likewise.
12046 * conform/data/ctype.h-data: Likewise.
12047 * conform/data/dirent.h-data: Likewise.
12048 * conform/data/dlfcn.h-data: Likewise.
12049 * conform/data/errno.h-data: Likewise.
12050 * conform/data/fcntl.h-data: Likewise.
12051 * conform/data/float.h-data: Likewise.
12052 * conform/data/fmtmsg.h-data: Likewise.
12053 * conform/data/fnmatch.h-data: Likewise.
12054 * conform/data/ftw.h-data: Likewise.
12055 * conform/data/glob.h-data: Likewise.
12056 * conform/data/grp.h-data: Likewise.
12057 * conform/data/iconv.h-data: Likewise.
12058 * conform/data/inttypes.h-data: Likewise.
12059 * conform/data/langinfo.h-data: Likewise.
12060 * conform/data/libgen.h-data: Likewise.
12061 * conform/data/limits.h-data: Likewise.
12062 * conform/data/locale.h-data: Likewise.
12063 * conform/data/math.h-data: Likewise.
12064 * conform/data/monetary.h-data: Likewise.
12065 * conform/data/mqueue.h-data: Likewise.
12066 * conform/data/ndbm.h-data: Likewise.
12067 * conform/data/net/if.h-data: Likewise.
12068 * conform/data/netdb.h-data: Likewise.
12069 * conform/data/netinet/in.h-data: Likewise.
12070 * conform/data/nl_types.h-data: Likewise.
12071 * conform/data/poll.h-data: Likewise.
12072 * conform/data/pthread.h-data: Likewise.
12073 * conform/data/pwd.h-data: Likewise.
12074 * conform/data/regex.h-data: Likewise.
12075 * conform/data/sched.h-data: Likewise.
12076 * conform/data/search.h-data: Likewise.
12077 * conform/data/semaphore.h-data: Likewise.
12078 * conform/data/setjmp.h-data: Likewise.
12079 * conform/data/signal.h-data: Likewise.
12080 * conform/data/spawn.h-data: Likewise.
12081 * conform/data/stdarg.h-data: Likewise.
12082 * conform/data/stdio.h-data: Likewise.
12083 * conform/data/stdlib.h-data: Likewise.
12084 * conform/data/string.h-data: Likewise.
12085 * conform/data/strings.h-data: Likewise.
12086 * conform/data/stropts.h-data: Likewise.
12087 * conform/data/sys/ipc.h-data: Likewise.
12088 * conform/data/sys/mman.h-data: Likewise.
12089 * conform/data/sys/msg.h-data: Likewise.
12090 * conform/data/sys/resource.h-data: Likewise.
12091 * conform/data/sys/select.h-data: Likewise.
12092 * conform/data/sys/sem.h-data: Likewise.
12093 * conform/data/sys/shm.h-data: Likewise.
12094 * conform/data/sys/socket.h-data: Likewise.
12095 * conform/data/sys/stat.h-data: Likewise.
12096 * conform/data/sys/statvfs.h-data: Likewise.
12097 * conform/data/sys/time.h-data: Likewise.
12098 * conform/data/sys/timeb.h-data: Likewise.
12099 * conform/data/sys/times.h-data: Likewise.
12100 * conform/data/sys/types.h-data: Likewise.
12101 * conform/data/sys/uio.h-data: Likewise.
12102 * conform/data/sys/un.h-data: Likewise.
12103 * conform/data/sys/utsname.h-data: Likewise.
12104 * conform/data/sys/wait.h-data: Likewise.
12105 * conform/data/syslog.h-data: Likewise.
12106 * conform/data/tar.h-data: Likewise.
12107 * conform/data/termios.h-data: Likewise.
12108 * conform/data/utime.h-data: Likewise.
12109 * conform/data/utmpx.h-data: Likewise.
12110 * conform/data/varargs.h-data: Likewise.
12111 * conform/data/wchar.h-data: Likewise.
12112 * conform/data/wctype.h-data: Likewise.
12113 * conform/data/wordexp.h-data: Likewise.
12114
12115 * include/stropts.h: New file.
12116 * include/uchar.h: New file.
12117 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12118 * include/assert.h: Likewise.
12119 * include/ctype.h: Likewise.
12120 * include/dirent.h: Likewise.
12121 * include/dlfcn.h: Likewise.
12122 * include/fcntl.h: Likewise.
12123 * include/fnmatch.h: Likewise.
12124 * include/glob.h: Likewise.
12125 * include/grp.h: Likewise.
12126 * include/libio.h: Likewise.
12127 * include/locale.h: Likewise.
12128 * include/math.h: Likewise.
12129 * include/net/if.h: Likewise.
12130 * include/netdb.h: Likewise.
12131 * include/netinet/in.h: Likewise.
12132 * include/pthread.h: Likewise.
12133 * include/pwd.h: Likewise.
12134 * include/regex.h: Likewise.
12135 * include/sched.h: Likewise.
12136 * include/search.h: Likewise.
12137 * include/setjmp.h: Likewise.
12138 * include/signal.h: Likewise.
12139 * include/stdio.h: Likewise.
12140 * include/stdlib.h: Likewise.
12141 * include/string.h: Likewise.
12142 * include/sys/cdefs.h: Likewise.
12143 * include/sys/mman.h: Likewise.
12144 * include/sys/msg.h: Likewise.
12145 * include/sys/resource.h: Likewise.
12146 * include/sys/select.h: Likewise.
12147 * include/sys/socket.h: Likewise.
12148 * include/sys/stat.h: Likewise.
12149 * include/sys/statvfs.h: Likewise.
12150 * include/sys/time.h: Likewise.
12151 * include/sys/times.h: Likewise.
12152 * include/sys/uio.h: Likewise.
12153 * include/sys/utsname.h: Likewise.
12154 * include/sys/wait.h: Likewise.
12155 * include/termios.h: Likewise.
12156 * include/time.h: Likewise.
12157 * include/ulimit.h: Likewise.
12158 * include/unistd.h: Likewise.
12159 * include/utime.h: Likewise.
12160 * include/wchar.h: Likewise.
12161 * include/wctype.h: Likewise.
12162 * include/wordexp.h: Likewise.
12163
12164 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12165
7a270350
UD
12166 * time/time.h: TIME_UTC must be a macro.
12167 Make timespec_get available for ISO C11 only as well.
12168
7724defc
UD
121692012-02-24 Ulrich Drepper <drepper@gmail.com>
12170
12171 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12172 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12173
6b1d1d46
JM
121742012-02-24 Joseph Myers <joseph@codesourcery.com>
12175
12176 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12177
0f8bbd69
JM
121782012-02-24 Joseph Myers <joseph@codesourcery.com>
12179
12180 * manual/texinfo.tex: Update to version 2012-01-19.16.
12181
66ab80bc
JM
121822012-02-24 Joseph Myers <joseph@codesourcery.com>
12183
12184 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12185
74981cc5
RM
121862012-02-24 Roland McGrath <roland@hack.frob.com>
12187
ee968201
RM
12188 [BZ #13738]
12189 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12190 * manual/fdl-1.3.texi: New file.
12191 * manual/fdl-1.1.texi: File removed.
12192
74981cc5
RM
12193 [BZ #13738]
12194 * manual/libc.texinfo (FDL_VERSION): New @set.
12195 Use it for mention of FDL in cover text.
12196 (Documentation License): Use it in @include file name.
12197
7bb764bc
JM
121982012-02-22 Joseph Myers <joseph@codesourcery.com>
12199 Roland McGrath <roland@hack.frob.com>
12200
12201 [BZ #5461]
12202 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12203 not LONG_LONG_MAX and LONG_LONG_MIN.
12204 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12205 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12206 name.
12207 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12208
6cbeae47
JM
122092012-02-22 Joseph Myers <joseph@codesourcery.com>
12210
12211 [BZ #2547]
12212 [BZ #11365]
12213 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12214 manipulate bits before adding and subtracting TWO23[sx].
12215 * math/libm-test.inc (nearbyint_test): Add more tests.
12216
fe45ce09
JM
122172012-02-22 Joseph Myers <joseph@codesourcery.com>
12218
12219 [BZ #2548]
12220 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12221 bits before adding and subtracting TWO23[sx].
12222 * math/libm-test.inc (rint_test): Add more tests.
12223 (rint_test_tonearest): Likewise.
12224 (rint_test_towardzero): Likewise.
12225 (rint_test_downward): Likewise.
12226 (rint_test_upward: Likewise.
12227
ff3b3d82
JM
122282012-02-22 Joseph Myers <joseph@codesourcery.com>
12229
12230 [BZ #10110]
12231 * include/stdc-predef.h: New file. Extracted from features.h.
12232 * include/features.h: Include stdc-predef.h.
12233 * Makefile (headers): Add stdc-predef.h.
12234 * CONFORMANCE (Compiler limitations): Update.
12235
ef0aab35
JM
122362012-02-22 Joseph Myers <joseph@codesourcery.com>
12237
12238 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12239
58639409
DM
122402012-02-21 David S. Miller <davem@davemloft.net>
12241
12242 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12243 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12244
c0e70b25
DM
122452012-02-20 David S. Miller <davem@davemloft.net>
12246
12247 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12248 using a normal save/restore sequence, rather than allocating a
12249 dummy stack frame just to store a frame pointer and restore.
12250 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12251
fb06851d
JM
122522012-02-21 Joseph Myers <joseph@codesourcery.com>
12253
12254 * manual/install.texi: Fix stray word in line-wrapped comment.
12255
7a8b71c3
DM
122562012-02-20 David S. Miller <davem@davemloft.net>
12257
d510c123
DM
12258 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12259 both binutils and gcc support GOTDATA.
12260
0722d7c2
DM
12261 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12262 "rd %pc" in the PIC register setup sequences.
12263
3d2b3019
DM
12264 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12265 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12266 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12267 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12268 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12270 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12271 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12273 (SYSCALL_ERROR_HANDLER): Likewise.
12274 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12275 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12276 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12277 (SYSCALL_ERROR_HANDLER): Likewise.
12278
c80098a9
DM
12279 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12280 (HAVE_GCC_GOTDATA): New.
12281 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12282 relocation support in both binutils and gcc.
12283 * sysdeps/sparc/elf/configure: Regenerate.
12284
3a2545a0
DM
12285 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12286 * sysdeps/sparc/sparc32/elf/configure: Delete.
12287 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12288 * sysdeps/sparc/sparc64/elf/configure: Delete.
12289 * sysdeps/sparc/elf/configure.in: New file.
12290 * sysdeps/sparc/elf/configure: Generate.
12291
7a8b71c3
DM
12292 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12293 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12294 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12295 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12296 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12297
f1e86fca
JM
122982012-02-21 Joseph Myers <joseph@codesourcery.com>
12299
12300 * manual/install.texi: Do not mention specific glibc version
12301 numbers.
12302 * manual/libc.texinfo (VERSION, UPDATED): Update.
12303 (@copying): Use @copyright{} and range of years.
12304
0e7dfaef
JM
123052012-02-21 Joseph Myers <joseph@codesourcery.com>
12306
12307 [BZ #13695]
12308 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12309 [crti.S not in sysdirs] (generated): Do not append.
12310 [crti.S not in sysdirs] (omit-deps): Likewise.
12311 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12312 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12313 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12314 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12315 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12316 Likewise.
12317 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12318 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12319 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12320 * csu/defs.awk: Remove file.
12321 * sysdeps/generic/initfini.c: Likewise.
12322 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12323 variable.
12324 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12325 Likewise.
12326
599af3ca
JM
123272012-02-20 Joseph Myers <joseph@codesourcery.com>
12328
12329 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12330 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12331 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12332 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12333 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12334 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12335 <bits/epoll.h>.
12336 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12337 (__EPOLL_PACKED): Define to empty if not defined by
12338 <bits/epoll.h>.
12339 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12341 bits/epoll.h.
12342
0e499750
JM
123432012-02-20 Joseph Myers <joseph@codesourcery.com>
12344
12345 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12346 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12347 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12348 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12349 <bits/timerfd.h>.
12350 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12352 bits/timerfd.h.
12353
5ad91f6e
JM
123542012-02-20 Joseph Myers <joseph@codesourcery.com>
12355
12356 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12357 in C locale.
12358 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12359 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12360 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12362
06b99b02
AJ
123632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12364
12365 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12366 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12367
7638c0fd
AS
123682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12369
12370 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12371 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12372 defined.
12373 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12374 Likewise.
12375 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12376 entry for 2.16.
12377
92221550
AJ
123782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12379
12380 * math/w_acos.c: Use non-signaling floating-point comparisons.
12381 * math/w_acosf.c: Likewise.
12382 * math/w_acosh.c: Likewise.
12383 * math/w_acoshf.c: Likewise.
12384 * math/w_acoshl.c: Likewise.
12385 * math/w_acosl.c: Likewise.
12386 * math/w_asin.c: Likewise.
12387 * math/w_asinf.c: Likewise.
12388 * math/w_asinl.c: Likewise.
12389 * math/w_atanh.c: Likewise.
12390 * math/w_atanhf.c: Likewise.
12391 * math/w_atanhl.c: Likewise.
12392 * math/w_exp2.c: Likewise.
12393 * math/w_exp2f.c: Likewise.
12394 * math/w_exp2l.c: Likewise.
12395 * math/w_j0.c: Likewise.
12396 * math/w_j0f.c: Likewise.
12397 * math/w_j0l.c: Likewise.
12398 * math/w_j1.c: Likewise.
12399 * math/w_j1f.c: Likewise.
12400 * math/w_j1l.c: Likewise.
12401 * math/w_jn.c: Likewise.
12402 * math/w_jnf.c: Likewise.
12403 * math/w_log.c: Likewise.
12404 * math/w_log10.c: Likewise.
12405 * math/w_log10f.c: Likewise.
12406 * math/w_log10l.c: Likewise.
12407 * math/w_log2.c: Likewise.
12408 * math/w_log2f.c: Likewise.
12409 * math/w_log2l.c: Likewise.
12410 * math/w_logf.c: Likewise.
12411 * math/w_logl.c: Likewise.
12412 * math/w_sqrt.c: Likewise.
12413 * math/w_sqrtf.c: Likewise.
12414 * math/w_sqrtl.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12417 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12418 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12419 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12420
ebaf36eb
JM
124212012-02-19 Joseph Myers <joseph@codesourcery.com>
12422
12423 [BZ #9739]
12424 * manual/string.texi (strnlen): Use correct parameter name in
12425 equivalent expression.
12426
71c254a6
JM
124272012-02-19 Joseph Myers <joseph@codesourcery.com>
12428
12429 [BZ #11174]
12430 * manual/users.texi (seteuid): Consistently use neweuid for
12431 argument name.
12432
16d2c631
JM
124332012-02-19 Joseph Myers <joseph@codesourcery.com>
12434
12435 [BZ #13704]
12436 * manual/nss.texi (Services in the NSS configuration): Correct
12437 list of services in example configuration file.
12438
cd837b09
NB
124392012-02-19 Nick Bowler <nbowler@draconx.ca>
12440
12441 [BZ #11322]
12442 * manual/arith.texi: Remove statements about negative zero
12443 behaving identically to zero.
12444
02c4bbad
JM
124452012-02-18 Joseph Myers <joseph@codesourcery.com>
12446
12447 [BZ #5993]
12448 * manual/install.texi: Do not document upgrading from libc5.
12449
366842e7
JM
124502012-02-18 Joseph Myers <joseph@codesourcery.com>
12451
12452 [BZ #4596]
12453 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12454
dd54084d
DM
124552012-02-18 David S. Miller <davem@davemloft.net>
12456
12457 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12458 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12459 %o7 across the call.
12460 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12461 instead.
12462 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12463 SETUP_PIC_REG_LEAF.
12464 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12465 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12466 * sysdeps/sparc/crtn.S: Likewise.
12467
2bcc53a3
UD
124682012-02-17 Ulrich Drepper <drepper@gmail.com>
12469
12470 * aout/Makefile: Remove.
12471
09c093b5
RK
124722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12473
12474 [BZ #13058]
12475 * manual/examples/argp-ex1.c (main): Format definition in GNU
12476 style.
12477 * manual/examples/argp-ex2.c (main): Likewise.
12478 * manual/examples/argp-ex3.c (main): Likewise.
12479 * manual/examples/argp-ex4.c (main): Likewise.
12480 * manual/examples/longopt.c (main): Use new-style prototype
12481 definition.
12482 * manual/examples/strncat.c (main): Specify return type and use
12483 (void) for arguments.
12484 * manual/examples/subopt.c (main): Use char **argv argument.
12485
2ee633a2
JM
124862012-02-17 Joseph Myers <joseph@codesourcery.com>
12487
12488 [BZ #5077]
12489 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12490 rounding modes.
12491
0520adde
FB
124922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12493
12494 [BZ #6907]
12495 * manual/string.texi (strchr): Change when strchrnul is
12496 recommended.
12497
3f4081cd
DGM
124982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12499
12500 [BZ #174]
12501 * manual/locale.texi (setlocale): Document LOCPATH.
12502
d1b10e78
JM
125032012-02-17 Joseph Myers <joseph@codesourcery.com>
12504
12505 [BZ #10210]
12506 * manual/process.texi (execle): Move @dots{} before last argument.
12507
79c6869c
PB
125082012-02-17 Paul Bolle <pebolle@tiscali.nl>
12509
12510 [BZ #12047]
12511 * manual/charset.texi (Generic Charset Conversion): Fix typo
12512 (LC_TYPE -> LC_CTYPE).
12513
cc6e48bc
NB
125142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12515
12516 [BZ #5805]
12517 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12518 (scalbnf): Likewise.
12519 (scalbnl): Likewise.
12520 (scalbln): Likewise.
12521 (scalblnf): Likewise.
12522 (scalblnl): Likewise.
12523 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12524 (vwarnx): Likewise.
12525 (verr): Likewise.
12526 (verrx): Likewise.
12527 * manual/filesys.texi (telldir): Use braces around return type.
12528 * manual/llio.texi (mmap): Add space after comma.
12529 (mmap64): Likewise.
12530 * manual/math.texi (jn): Use @var{} on parameter names.
12531 (jnf): Likewise.
12532 (jnl): Likewise.
12533 (yn): Likewise.
12534 (ynf): Likewise.
12535 (ynl): Likewise.
12536 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12537 line.
12538 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12539 "...".
12540 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12541 (sched_get_priority_max): Likewise.
12542 * manual/signal.texi (sigvec): Add space after comma.
12543 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12544 names.
12545 (if_indextoname): Likewise.
12546 (if_freenameindex): Likewise.
12547 (sendto): Use ',' instead of '.' in prototype.
12548 * manual/startup.texi (syscall): Use @dots{} instead of literal
12549 "...".
12550 * manual/stdio.texi (__fpending): Separate initial words of
12551 paragraph from @deftypefun line.
12552 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12553 "...".
12554 (vsyslog): Use @var{} on parameter names.
12555 * manual/terminal.texi (stty): Use @var{} on parameter names.
12556 * manual/users.texi (getutmp): Use @var{} on parameter names.
12557 (getutmpx): Likewise.
12558
5b23062f
JM
125592012-02-17 Joseph Myers <joseph@codesourcery.com>
12560
12561 [BZ #6884]
12562 * manual/stdio.texi (fopen): Fix typos in description of
12563 ",ccs=STRING".
12564
8dee4833
AJ
125652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12566
12567 [BZ #4026]
12568 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12569 get clock_id definition.
12570
9078ce93
TS
125712012-02-17 Thomas Schwinge <thomas@schwinge.name>
12572
12573 [BZ #4822]
12574 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12575 (madvise): Cast every argument to void on its own.
12576
3835c55f
JM
125772012-02-17 Joseph Myers <joseph@codesourcery.com>
12578
12579 [BZ #9902]
12580 * manual/startup.texi (Exit Status): Fix typo.
12581
35c47e37
JM
125822012-02-17 Joseph Myers <joseph@codesourcery.com>
12583
12584 [BZ #10140]
12585 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12586 * manual/examples/argp-ex2.c: Likewise.
12587 * manual/examples/argp-ex3.c: Likewise.
12588
e3b69ca7
RH
125892012-02-16 Richard Henderson <rth@redhat.com>
12590
12591 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12592 * sysdeps/s390/s390-32/initfini.c: Remove.
12593 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12594 * sysdeps/s390/s390-64/initfini.c: Remove.
12595
df83af67
KK
125962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12597
12598 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12599 compiler output for sysdeps/generic/initfini.c.
12600 * sysdeps/sh/elf/initfini.c: Remove file.
12601
f63f3380
DM
126022012-02-16 David S. Miller <davem@davemloft.net>
12603
fb59b3a4
DM
12604 [BZ #11494]
12605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12606
f63f3380
DM
12607 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12608 * sysdeps/sparc/crti.S: New file.
12609 * sysdeps/sparc/crtn.S: New file.
12610 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12611 * sysdeps/sparc/sparc64/Makefile: Likewise.
12612
df6a4a4a
MF
126132012-02-15 Mike Frysinger <vapier@gentoo.org>
12614
6dd8f3dc 12615 [BZ #3335]
df6a4a4a
MF
12616 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12617
1cac7236
RM
126182012-02-15 Roland McGrath <roland@hack.frob.com>
12619
d2c736f8
RM
12620 [BZ #4822]
12621 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12622
1cac7236
RM
12623 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12624 (write, read, close): Likewise.
12625 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12626
8e475601
JM
126272012-02-15 Joseph Myers <joseph@codesourcery.com>
12628
12629 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12630 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12631 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12632 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12633 <bits/signalfd.h>.
12634 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12636 bits/signalfd.h.
12637
ed656b40
MP
126382012-02-14 Marek Polacek <polacek@redhat.com>
12639
12640 * sysdeps/x86_64/crti.S: New file.
12641 * sysdeps/x86_64/crtn.S: New file.
12642 * sysdeps/x86_64/elf/initfini.c: Remove file.
12643
2a979d3a
JM
126442012-02-13 Joseph Myers <joseph@codesourcery.com>
12645
12646 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12647 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12648 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12649 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12650 <bits/inotify.h>.
12651 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12653 bits/inotify.h.
12654
2a418ac3
JM
126552012-02-13 Joseph Myers <joseph@codesourcery.com>
12656
12657 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12658 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12659 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12660 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12661 <bits/eventfd.h>.
12662 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12664 bits/eventfd.h.
12665
fb779be7
TS
126662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12667
e19e83c5
RM
12668 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12669 __feraiseexcept instead of feraiseexcept.
7c35ffed 12670
fb779be7
TS
12671 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12672 nanosleep invocations.
12673 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12674 strings, and add error checking for a nanosleep invocations.
12675
59ba27a6
PE
126762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12677
12678 Replace FSF snail mail address with URLs, as per GNU coding standards.
12679 Most of the snail mail addresses were wrong anyway, and omitting
12680 them makes the source code easier to maintain. Almost all of the
12681 changes are to license notices and to locale LC_IDENTIFICATION
12682 addresses, except for this one:
12683 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12684 not its snail mail address.
12685
57b957eb
RH
126862012-02-09 Richard Henderson <rth@twiddle.net>
12687
af850b1c
RH
12688 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12689 of kernel-features.h.
12690
57b957eb
RH
12691 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12692
6b73181a
MP
126932012-02-08 Marek Polacek <polacek@redhat.com>
12694
12695 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12696 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12697 * sysdeps/gnu/_G_config.h: Likewise.
12698 * sysdeps/generic/_G_config.h: Likewise.
12699
26ecc33a
AS
127002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12701
6c6dbc63
AS
12702 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12703 tests.
12704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12705
e216c012
AS
12706 * sysdeps/powerpc/powerpc32/crti.S: New file.
12707 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12708 * sysdeps/powerpc/powerpc64/crti.S: New file.
12709 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12710
26ecc33a
AS
12711 * Makeconfig (have-initfini): Don't set.
12712 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12713 * configure.in (nopic_initfini): Don't substitute.
12714 * config.h.in (HAVE_INITFINI): Don't #undef.
12715 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12716 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12717
3add8e13
JM
127182012-02-08 Joseph Myers <joseph@codesourcery.com>
12719
12720 Support crti.S and crtn.S provided directly by architectures.
12721 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12722 [crti.S in sysdirs] (omit-deps): Likewise.
12723 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12724 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12725 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12726 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12727 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12728 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12729 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12730 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12731 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12732 compiler output for sysdeps/generic/initfini.c.
12733 * sysdeps/i386/elf/Makefile: Remove file.
12734 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12735
a22f12b4
MP
127362012-02-07 Marek Polacek <polacek@redhat.com>
12737
12738 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12739 * sysdeps/gnu/_G_config.h: Likewise.
12740 * sysdeps/mach/hurd/_G_config.h: Likewise.
12741
148cf100
MP
127422012-02-07 Marek Polacek <polacek@redhat.com>
12743
12744 * math/Makefile (tests): Add tst-CMPLX2.
12745 * math/tst-CMPLX2.c: New file.
12746
cfdc0dd7
AS
127472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12748
84ba42c4
AS
12749 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12750
cfdc0dd7
AS
12751 * math/libm-test.inc (jn_test): Add missing L suffix.
12752
622c86f4
MP
127532012-02-06 Marek Polacek <polacek@redhat.com>
12754
12755 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12756 * sysdeps/i386/fpu/e_powf.S: Likewise.
12757 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12758 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12759 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12760 * sysdeps/i386/fpu/e_pow.S: Likewise.
12761 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12762 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12763 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12764 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12765 * sysdeps/i386/fpu/e_log2.S: Likewise.
12766 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12767 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12768 * sysdeps/i386/fpu/e_powl.S: Likewise.
12769 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12770 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12771 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12772 * sysdeps/i386/fpu/e_logl.S: Likewise.
12773 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12774 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12775 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12776 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12777 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12778 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12779 * sysdeps/i386/fpu/e_log.S: Likewise.
12780 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12781 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12782 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12783 * sysdeps/i386/fpu/e_logf.S: Likewise.
12784 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12785 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12786 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12787 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12788 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12789 * sysdeps/i386/fpu/e_log10.S: Likewise.
12790 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12791 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12792 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12793 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12794 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12795 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12796 * sysdeps/i386/asm-syntax.h: Likewise.
12797 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12798 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12799 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12800 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12801 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12802 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12803 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12804 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12805 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12806 * sysdeps/powerpc/sysdep.h: Likewise.
12807 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12808 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12809
d4a54ac6
JM
128102012-02-06 Joseph Myers <joseph@codesourcery.com>
12811
12812 [BZ #411]
12813 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12814
314054ea
JM
128152012-02-06 Joseph Myers <joseph@codesourcery.com>
12816
12817 * sysdeps/i386/sysdep.h: Include <features.h>.
12818 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12819 version.
12820
d8e0ca50
JM
128212012-02-05 Joseph Myers <joseph@codesourcery.com>
12822
12823 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12824 Define.
12825 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12826 LOAD_PIC_REG_STR.
12827
b1da7dd9
JM
128282012-02-03 Joseph Myers <joseph@codesourcery.com>
12829
12830 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12831 (SETUP_PIC_REG): Use GET_PC_THUNK.
12832 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12833 macro.
12834
9a1d9254
JM
128352012-02-03 Joseph Myers <joseph@codesourcery.com>
12836
12837 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12838 for non-PIC compilation.
12839 (SETUP_PIC_REG): Add .p2align directive.
12840 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12841 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12842 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12843 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12844 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12845 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12846 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12847 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12848 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12849 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12850 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12851 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12852 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12853 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12854 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12855 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12856 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12857 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12858 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12859 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12860 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12861 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12862 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12863 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12864 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12865 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12866 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12867 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12868 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12869 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12870 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12871 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12872 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12873 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12874 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12875 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12876 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12877 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12878 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12879 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12880 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12881
65dc3b75
JM
128822012-02-03 Joseph Myers <joseph@codesourcery.com>
12883
12884 * math/tst-CMPLX.c: Include <stdio.h>.
12885
d55bf177
JM
128862012-01-31 Joseph Myers <joseph@codesourcery.com>
12887
12888 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12889 float.
12890 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12891 * sysdeps/sparc/bits/mathdef.h: Likewise.
12892
69db4f8f
MP
128932012-01-31 Marek Polacek <polacek@redhat.com>
12894
12895 * libio/libio.h: Don't define _PARAMS.
12896 * locale/programs/config.h: Don't define PARAMS.
12897 * stdlib/strtol_l.c: Likewise.
12898 (__strtol_l): Remove PARAMS from the prototype.
12899
41b81892
UD
129002012-01-31 Ulrich Drepper <drepper@gmail.com>
12901
3b49edc0
UD
12902 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12903 names. Just use the correct names. Remove unnecessary wrapper
12904 functions.
12905 * malloc/arena.c: Likewise.
12906 * malloc/hooks.c: Likewise.
12907
41b81892
UD
12908 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12909 ARENA_TEST says not to. Simplify test for creation of a new arena.
12910 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12911
27a25b6e
UD
129122012-01-30 Ulrich Drepper <drepper@gmail.com>
12913
12914 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12915 into tail calls.
12916 (update_get_addr): New function.
12917 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12918 GET_ADDR_MODULE parameter.
12919
c8a89e7d
JM
129202012-01-30 Joseph Myers <joseph@codesourcery.com>
12921
12922 * crypt/cert.c: Remove __STDC__ conditionals.
12923 * crypt/crypt-entry.c: Likewise.
12924 * crypt/crypt_util.c: Likewise.
12925 * libio/filedoalloc.c: Likewise.
12926 * libio/fileops.c: Likewise.
12927 * libio/genops.c: Likewise.
12928 * libio/iofclose.c: Likewise.
12929 * libio/iofdopen.c: Likewise.
12930 * libio/iofopen.c: Likewise.
12931 * libio/iofopen64.c: Likewise.
12932 * libio/iogetdelim.c: Likewise.
12933 * libio/iopopen.c: Likewise.
12934 * libio/obprintf.c: Likewise.
12935 * libio/oldfileops.c: Likewise.
12936 * libio/oldiofclose.c: Likewise.
12937 * libio/oldiofdopen.c: Likewise.
12938 * libio/oldiofopen.c: Likewise.
12939 * libio/oldiopopen.c: Likewise.
12940 * libio/wfiledoalloc.c: Likewise.
12941 * libio/wgenops.c: Likewise.
12942 * locale/programs/xmalloc.c: Likewise.
12943 * misc/syslog.c: Likewise.
12944 * stdio-common/xbug.c: Likewise.
12945 * string/memchr.c: Likewise.
12946 * string/memcmp.c: Likewise.
12947 * string/memrchr.c: Likewise.
12948 * string/rawmemchr.c: Likewise.
12949 * sysdeps/posix/getcwd.c: Likewise.
12950 * time/strftime_l.c: Likewise.
12951
3b100462
JM
129522012-01-30 Joseph Myers <joseph@codesourcery.com>
12953
12954 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12955 * config.make.in (config-cflags-sse2avx): Define.
12956 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12957 Fix typo.
12958
607998af
CM
129592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12960
12961 * scripts/config.guess: Update from upstream config git repository.
12962 * scripts/config.sub: Likewise.
12963
3601428f
CM
129642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12965
3ac8b282
CM
12966 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12967 (EM_NUM): Update.
12968 (R_TILEPRO_*, R_TILEGX_*): New macros.
12969
e034841e
CM
12970 * scripts/firstversions.awk: Fix bug in version range handling.
12971
540d7568
CM
12972 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12973
3601428f
CM
12974 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12975
463de862
CM
12976 * include/sys/epoll.h: New file.
12977 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12978 libc_hidden_def.
12979
73139a76
UD
129802012-01-28 Ulrich Drepper <drepper@gmail.com>
12981
96bc5b45
UD
12982 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12983 Avoid unnecessary __WORDSIZE == 64 test.
12984 (fmaxf): Use VEX format if possible.
12985 (fmax): Likewise.
12986 (fminf): Likewise.
12987 (fmin): Likewise.
12988
56f6f6a2
UD
12989 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12990 * math/math_private.h: Remove libc_fegetround* and
12991 libc_fesetround*.
12992 * sysdeps/i386/configure.in: Check for -msse2avx.
12993 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12994 also if SSE2AVX is defined.
12995 Remove libc_fegetround* and libc_fesetround*.
12996 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12997 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12998 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12999 of HAS_YMM_USABLE.
13000 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13001 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13002 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13003 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13004 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13005
73139a76
UD
13006 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13007
d73f93a4
AZ
130082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13009
13010 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13011 size is not set.
13012 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13013
6ee65ed6
UD
130142012-01-27 Ulrich Drepper <drepper@gmail.com>
13015
13016 [BZ #13618]
13017 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13018 relocation.
13019 * Makeconfig (libm): Define.
13020 * elf/Makefile: Add rules to build and run tst-relsort1.
13021 * elf/tst-relsort1.c: New file.
13022 * elf/tst-relsort1mod1.c: New file.
13023 * elf/tst-relsort1mod2.c: New file.
13024
8db21882
JM
130252012-01-27 Joseph Myers <joseph@codesourcery.com>
13026
13027 * math/s_ldexp.c: Remove __STDC__ conditionals.
13028 * math/s_ldexpf.c: Likewise.
13029 * math/s_ldexpl.c: Likewise.
13030 * math/s_nextafter.c: Likewise.
13031 * math/s_nexttowardf.c: Likewise.
13032 * math/s_significand.c: Likewise.
13033 * math/s_significandf.c: Likewise.
13034 * math/s_significandl.c: Likewise.
13035 * math/w_jnl.c: Likewise.
13036 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13037 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13038 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13039 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13040 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13041 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13042 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13043 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13044 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13045 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13046 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13048 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13049 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13050 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13052 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13053 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13055 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13056 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13057 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13058 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13059 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13060 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13061 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13062 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13063 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13064 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13065 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13066 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13067 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13068 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13069 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13070 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13071 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13072 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13073 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13074 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13075 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13076 * sysdeps/ieee754/k_standard.c: Likewise.
13077 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13078 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13079 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13080 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13081 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13082 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13083 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13085 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13086 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13088 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13089 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13091 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13092 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13093 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13094 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13095 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13096 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13097 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13098 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13099 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13105 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13107 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13108 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13109 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13112 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13113 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13114 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13115 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13116 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13117 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13118 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13119 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13120 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13121 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13122 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13123 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13124 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13125 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13126 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13127 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13128 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13129 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13130 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13131 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13132 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13133 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13134 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13135 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13137 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13138 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13139 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13143 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13144 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13145 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13146 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13147 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13148 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13149 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13150 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13151 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13152 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13153 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13154 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13155 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13156 * sysdeps/ieee754/s_matherr.c: Likewise.
13157 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13158 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13159 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13161
965a54a4
JM
131622012-01-26 Joseph Myers <joseph@codesourcery.com>
13163
13164 * crypt/md5.h: Remove __STDC__ conditionals.
13165 * libio/libioP.h: Likewise.
13166 * locale/programs/config.h: Likewise.
13167 * sysdeps/generic/sysdep.h: Likewise.
13168 * sysdeps/i386/asm-syntax.h: Likewise.
13169 * sysdeps/s390/asm-syntax.h: Likewise.
13170 * sysdeps/unix/sysdep.h: Likewise.
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13173
7071ad79
JM
131742012-01-26 Joseph Myers <joseph@codesourcery.com>
13175
13176 * libio/libio.h: Remove __STDC__ conditionals.
13177 * malloc/obstack.h: Likewise.
13178 * math/complex.h: Likewise.
13179 * math/math.h: Likewise.
13180 * sysdeps/generic/_G_config.h: Likewise.
13181 * sysdeps/gnu/_G_config.h: Likewise.
13182 * sysdeps/mach/hurd/_G_config.h: Likewise.
13183 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13184 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13185 * sysdeps/sparc/bits/mathdef.h: Likewise.
13186
afc5ed09
UD
131872012-01-26 Ulrich Drepper <drepper@gmail.com>
13188
13189 [BZ #13583]
13190 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13191 Clean up HAS_* macros.
afc5ed09 13192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13193 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13194 possible.
13195 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13196 HAS_AVX.
13197 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13198 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13199 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13200 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13201 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13202
bdb6de1d
JM
132032012-01-25 Joseph Myers <joseph@codesourcery.com>
13204
13205 * elf/tst-unique3.cc (gets): Remove declaration.
13206 * elf/tst-unique3lib.cc (gets): Likewise.
13207 * elf/tst-unique3lib2.cc (gets): Likewise.
13208 * elf/tst-unique4.cc (gets): Likewise.
13209
b15549e6
UD
132102012-01-24 Ulrich Drepper <drepper@gmail.com>
13211
13212 * include/stdio.h: Add C++ protection. Add gets declarations and
13213 definitions.
13214 * debug/tst-chk1.c: Don't declare gets here.
13215 * stdio-common/tst-gets.c: Likewise.
13216
a037381f
JM
132172012-01-24 Joseph Myers <joseph@codesourcery.com>
13218
13219 * posix/glob: Remove directory.
13220
f1d4aa75
JM
132212012-01-24 Joseph Myers <joseph@codesourcery.com>
13222
13223 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13224
81c0c964
PT
132252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13226
13227 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13228 of the non-standard EPFNOSUPPORT.
13229
0ea698ae
ST
132302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13231
13232 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13233 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13234 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13235
d220b117
UD
132362012-01-21 Ulrich Drepper <drepper@gmail.com>
13237
13238 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13239
3e1aa84e
UD
132402012-01-20 Ulrich Drepper <drepper@gmail.com>
13241
13242 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13243 transient errors.
13244 * nscd/grpcache.c (cache_addgr): Likewise.
13245 * nscd/hstcache.c (cache_addhst): Likewise.
13246 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13247 * nscd/pwdcache.c (cache_addpw): Likewise.
13248 * nscd/servicescache.c (cache_addserv): Likewise.
13249
400aa020
UD
132502012-01-16 Ulrich Drepper <drepper@gmail.com>
13251
d77e7869
UD
13252 * malloc/malloc.c: Various cleanups.
13253 * malloc/hooks.c: Likewise.
13254
400aa020
UD
13255 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13256 * stdlib/bug-fmtmsg1.c: New file.
13257
13258 * stdlib/fmtmsg.c (init): Add missing unlock.
13259 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13260
e0a309cf
MP
132612012-01-12 Marek Polacek <polacek@redhat.com>
13262
13263 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13264 and _GNU_SOURCE.
13265
929d11c7
WS
132662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13267
13268 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13269 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13270 macro to ensure uniqueness of label name.
13271 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13272 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13273
41d0e869
UD
132742012-01-11 Ulrich Drepper <drepper@gmail.com>
13275
0cc5ed3b
UD
13276 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13277
41d0e869
UD
13278 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13279 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13280 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13282
a47a831a
UD
132832012-01-10 Ulrich Drepper <drepper@gmail.com>
13284
daa891c0
UD
13285 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13286
13287 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13288 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13289 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13290
e58ef0f2
UD
13291 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13292
a47a831a 13293 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13294 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13295 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13297
13298 * math/bits/math-finite.h: Add ldexp support.
13299
a0bfc9c7
MP
133002012-01-10 Marek Polacek <polacek@redhat.com>
13301
13302 * locale/programs/localedef.h (show_archive_content): Add noreturn
13303 attribute.
13304
d6e97a1d
UD
133052012-01-09 Ulrich Drepper <drepper@gmail.com>
13306
13307 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13308
d5835c26
UD
133092012-01-08 Ulrich Drepper <drepper@gmail.com>
13310
e5f484c6
UD
13311 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13312
d5835c26
UD
13313 * io/Makefile (headers): Add bits/poll2.h.
13314
d1f741e9
WS
133152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13316
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13318 typo #include statement.
13319
ec09c1c4
UD
133202012-01-08 Ulrich Drepper <drepper@gmail.com>
13321
13322 * include/sys/cdefs.h: Define __attribute_alloc_size.
13323 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13324 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13325 * elf/pldd.c: Likewise.
13326 * iconv/iconv_charmap.c: Likewise.
13327 * iconv/iconvconfig.c: Likewise.
13328 * iconv/strtab.c: Likewise.
13329 * locale/programs/locale.c: Likewise.
13330 * locale/programs/localedef.h: Likewise.
13331 * locale/programs/simple-hash.c: Likewise.
13332 * nscd/nscd.h: Likewise.
13333 * nss/makedb.c: Likewise.
13334 * sysdeps/generic/ldconfig.h: Likewise.
13335 * locale/programs/localedef.c: Remove xmalloc prototype.
13336 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13337
20b38e03
PP
133382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13339
13340 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13341 appropriate.
13342
a0da5fe1
UD
133432012-01-08 Ulrich Drepper <drepper@gmail.com>
13344
1d5a644a 13345 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13346 * math/tst-CMPLX.c: New file.
1d5a644a 13347
8784a6db
UD
13348 * math/complex.h (CMPLXL): Fix typo.
13349
d9a216c0
UD
13350 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13351 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13352 GLIBC_2.16.
13353 * debug/tst-chk1.c: Add poll and ppoll tests.
13354 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13355 * include/sys/poll.h: Add hidden proto for ppoll.
13356 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13357 * sysdeps/mach/hurd/ppoll.c: Likewise.
13358 * io/ppoll.c: Likewise.
13359 * debug/poll_chk.c: New file.
13360 * debug/ppoll_chk.c: New file.
13361 * include/bits/poll2.h: New file.
13362 * io/bits/poll2.h: New file.
13363
ac097f5c
UD
13364 [BZ #1350]
13365 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13366
2119dcfa
UD
13367 * configure.in: static is always set to yes. Remove.
13368 * config.make.in: Don't set build-static.
13369 * Makeconfig: Remove use of build-static.
13370 * dlfcn/Makefile: Likewise.
13371 * elf/Makefile: Likewise.
13372 * math/Makefile: Likewise.
13373 * misc/Makefile: Likewise.
13374 * nptl/Makefile: Likewise.
13375 * sysdeps/mach/hurd/Makefile: Likewise.
13376
121766a9
UD
13377 * configure.in: PWD_P is not used anymore.
13378 * config.make.in: Remove PWD_P entry.
13379
51a1d39c 13380 * configure.in: Remove last remnants of RANLIB.
8720d066 13381 No need to check for signed size_t anymore.
215f4bdc
UD
13382 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13383 and IA-64.
3857022a 13384 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13385 * aclocal.m4: Likewise.
13386
d3ed7225
UD
13387 * wcsmbs/mbrtoc16.c: Implement using towc function.
13388 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13389 * wcsmbs/wcsmbsload.c: Likewise.
13390 * iconv/gconv_simple.c: Likewise.
13391 * iconv/gconv_int.h: Likewise.
13392 * iconv/gconv_builtin.h: Likewise.
13393 * iconv/iconv_prog.c: Remove CHAR16 handling.
13394
13395 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13396
13397 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13398
a0da5fe1
UD
13399 * configure.in: Remove --with-elf and --enable-bounded options.
13400 Dont set base_machine for ia64. More non-ELF conditions removed.
13401 Remove testing and setting of leading underscore information.
13402 * config.make.in (build-bounded): Set to no.
13403 * config.h.in: Remove NO_UNDERSCORES entry.
13404 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13405 them.
13406 * csu/start.c: Remove !NO_UNDERSCORE code.
13407 * locale/localeinfo.h: Likewise.
13408 * sysdeps/generic/machine-gmon.h: Likewise.
13409 * sysdeps/generic/sysdep.h: Likewise.
13410 * sysdeps/i386/sysdep.h: Likewise.
13411 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13412 * sysdeps/mach/sysdep.h: Likewise.
13413 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13414 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13415 * sysdeps/sh/sysdep.h: Likewise.
13416 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13417 * sysdeps/unix/i386/sysdep.S: Likewise.
13418 * sysdeps/unix/sparc/start.c: Likewise.
13419 * sysdeps/unix/sparc/sysdep.S: Likewise.
13420 * sysdeps/unix/sparc/sysdep.h: Likewise.
13421 * sysdeps/unix/start.c: Likewise.
13422 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13423 * sysdeps/x86_64/sysdep.h: Likewise.
13424
df78418a
UD
134252012-01-07 Ulrich Drepper <drepper@gmail.com>
13426
a784e502
UD
13427 [BZ #13553]
13428 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13429 for non-gcc.
13430 * argp/argp-fmtstream.h: Use const instead __const.
13431 * argp/argp.h: Likewise.
13432 * assert/assert.h: Likewise.
13433 * bits/fenv.h: Likewise.
13434 * bits/sched.h: Likewise.
13435 * bits/sigset.h: Likewise.
13436 * bits/sigthread.h: Likewise.
13437 * catgets/nl_types.h: Likewise.
13438 * conform/data/pthread.h-data: Likewise.
13439 * crypt/crypt-private.h: Likewise.
13440 * crypt/crypt.h: Likewise.
13441 * crypt/crypt_util.c: Likewise.
13442 * ctype/ctype.h: Likewise.
13443 * debug/execinfo.h: Likewise.
13444 * debug/mbsnrtowcs_chk.c: Likewise.
13445 * debug/mbsrtowcs_chk.c: Likewise.
13446 * debug/wcsnrtombs_chk.c: Likewise.
13447 * debug/wcsrtombs_chk.c: Likewise.
13448 * debug/wcstombs_chk.c: Likewise.
13449 * dirent/dirent.h: Likewise.
13450 * dlfcn/dlfcn.h: Likewise.
13451 * elf/neededtest4.c: Likewise.
13452 * grp/grp.h: Likewise.
13453 * gshadow/gshadow.h: Likewise.
13454 * iconv/gconv.h: Likewise.
13455 * iconv/gconv_int.h: Likewise.
13456 * iconv/gconv_simple.c: Likewise.
13457 * iconv/iconv.h: Likewise.
13458 * iconv/loop.c: Likewise.
13459 * iconv/skeleton.c: Likewise.
13460 * include/aio.h: Likewise.
13461 * include/aliases.h: Likewise.
13462 * include/argz.h: Likewise.
13463 * include/arpa/inet.h: Likewise.
13464 * include/assert.h: Likewise.
13465 * include/dirent.h: Likewise.
13466 * include/dlfcn.h: Likewise.
13467 * include/execinfo.h: Likewise.
13468 * include/fcntl.h: Likewise.
13469 * include/fenv.h: Likewise.
13470 * include/glob.h: Likewise.
13471 * include/grp.h: Likewise.
13472 * include/libintl.h: Likewise.
13473 * include/mntent.h: Likewise.
13474 * include/netdb.h: Likewise.
13475 * include/pwd.h: Likewise.
13476 * include/rpc/netdb.h: Likewise.
13477 * include/sched.h: Likewise.
13478 * include/search.h: Likewise.
13479 * include/shadow.h: Likewise.
13480 * include/signal.h: Likewise.
13481 * include/stdio.h: Likewise.
13482 * include/stdlib.h: Likewise.
13483 * include/string.h: Likewise.
13484 * include/sys/socket.h: Likewise.
13485 * include/sys/stat.h: Likewise.
13486 * include/sys/statfs.h: Likewise.
13487 * include/sys/statvfs.h: Likewise.
13488 * include/sys/syslog.h: Likewise.
13489 * include/sys/time.h: Likewise.
13490 * include/sys/uio.h: Likewise.
13491 * include/time.h: Likewise.
13492 * include/unistd.h: Likewise.
13493 * include/utmp.h: Likewise.
13494 * include/wchar.h: Likewise.
13495 * include/wctype.h: Likewise.
13496 * inet/aliases.h: Likewise.
13497 * inet/arpa/inet.h: Likewise.
13498 * inet/netinet/ether.h: Likewise.
13499 * inet/netinet/in.h: Likewise.
13500 * intl/libintl.h: Likewise.
13501 * io/bits/fcntl2.h: Likewise.
13502 * io/fcntl.h: Likewise.
13503 * io/ftw.h: Likewise.
13504 * io/sys/poll.h: Likewise.
13505 * io/sys/stat.h: Likewise.
13506 * io/sys/statfs.h: Likewise.
13507 * io/sys/statvfs.h: Likewise.
13508 * io/utime.h: Likewise.
13509 * libio/bits/stdio.h: Likewise.
13510 * libio/bits/stdio2.h: Likewise.
13511 * libio/libio.h: Likewise.
13512 * libio/libioP.h: Likewise.
13513 * libio/stdio.h: Likewise.
13514 * locale/lc-ctype.c: Likewise.
13515 * locale/locale.h: Likewise.
13516 * login/utmp.h: Likewise.
13517 * malloc/arena.c: Likewise.
13518 * malloc/malloc.c: Likewise.
13519 * malloc/malloc.h: Likewise.
13520 * malloc/mcheck.c: Likewise.
13521 * malloc/mtrace.c: Likewise.
13522 * math/bits/mathcalls.h: Likewise.
13523 * math/fenv.h: Likewise.
13524 * math/math_private.h: Likewise.
13525 * misc/bits/error.h: Likewise.
13526 * misc/bits/syslog.h: Likewise.
13527 * misc/err.h: Likewise.
13528 * misc/error.h: Likewise.
13529 * misc/fstab.h: Likewise.
13530 * misc/mntent.h: Likewise.
13531 * misc/regexp.h: Likewise.
13532 * misc/search.h: Likewise.
13533 * misc/sgtty.h: Likewise.
13534 * misc/sys/mman.h: Likewise.
13535 * misc/sys/syslog.h: Likewise.
13536 * misc/sys/uio.h: Likewise.
13537 * misc/sys/xattr.h: Likewise.
13538 * misc/ttyent.h: Likewise.
13539 * nis/rpcsvc/ypclnt.h: Likewise.
13540 * nss/nss.h: Likewise.
13541 * posix/bits/unistd.h: Likewise.
13542 * posix/fnmatch.h: Likewise.
13543 * posix/glob.h: Likewise.
13544 * posix/sched.h: Likewise.
13545 * posix/spawn.h: Likewise.
13546 * posix/sys/wait.h: Likewise.
13547 * posix/unistd.h: Likewise.
13548 * posix/wordexp.h: Likewise.
13549 * pwd/pwd.h: Likewise.
13550 * resolv/netdb.h: Likewise.
13551 * resource/sys/resource.h: Likewise.
13552 * rt/aio.h: Likewise.
13553 * rt/bits/mqueue2.h: Likewise.
13554 * rt/mqueue.h: Likewise.
13555 * shadow/shadow.h: Likewise.
13556 * signal/signal.h: Likewise.
13557 * socket/send.c: Likewise.
13558 * socket/sendto.c: Likewise.
13559 * socket/sys/socket.h: Likewise.
13560 * stdio-common/printf.h: Likewise.
13561 * stdlib/bits/stdlib.h: Likewise.
13562 * stdlib/fmtmsg.h: Likewise.
13563 * stdlib/monetary.h: Likewise.
13564 * stdlib/stdlib.h: Likewise.
13565 * stdlib/ucontext.h: Likewise.
13566 * streams/stropts.h: Likewise.
13567 * string/argz.h: Likewise.
13568 * string/bits/string2.h: Likewise.
13569 * string/string.h: Likewise.
13570 * string/strings.h: Likewise.
13571 * sunrpc/rpc/auth.h: Likewise.
13572 * sunrpc/rpc/auth_des.h: Likewise.
13573 * sunrpc/rpc/clnt.h: Likewise.
13574 * sunrpc/rpc/netdb.h: Likewise.
13575 * sunrpc/rpc/pmap_clnt.h: Likewise.
13576 * sunrpc/rpc/xdr.h: Likewise.
13577 * sysdeps/generic/inttypes.h: Likewise.
13578 * sysdeps/generic/net/if.h: Likewise.
13579 * sysdeps/generic/sys/swap.h: Likewise.
13580 * sysdeps/gnu/net/if.h: Likewise.
13581 * sysdeps/gnu/utmpx.h: Likewise.
13582 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13583 * sysdeps/i386/i486/bits/string.h: Likewise.
13584 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13585 * sysdeps/s390/bits/string.h: Likewise.
13586 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13587 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13588 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13589 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13590 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13591 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13592 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13593 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13594 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13595 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13596 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13597 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13598 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13599 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13600 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13601 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13602 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13604 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13605 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13606 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13607 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13608 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13609 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13610 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13611 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13612 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13613 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13614 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13615 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13616 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13617 * sysvipc/sys/ipc.h: Likewise.
13618 * sysvipc/sys/msg.h: Likewise.
13619 * sysvipc/sys/sem.h: Likewise.
13620 * sysvipc/sys/shm.h: Likewise.
13621 * termios/termios.h: Likewise.
13622 * time/sys/time.h: Likewise.
13623 * time/time.h: Likewise.
13624 * wcsmbs/bits/wchar2.h: Likewise.
13625 * wcsmbs/uchar.h: Likewise.
13626 * wcsmbs/wchar.h: Likewise.
13627 * wctype/wctype.h: Likewise.
13628
0269750c
UD
13629 [BZ #13551]
13630 * Makeconfig: Remove all but ELF support including AIX support.
13631 * Makerules: Likewise.
13632 * config.h.in: Likewise.
13633 * config.make.in: Likewise.
13634 * configure: Likewise.
13635 * configure.in: Likewise.
13636 * csu/Makefile: Likewise.
13637 * csu/version.c: Likewise.
13638 * debug/Makefile: Likewise.
13639 * dlfcn/Makefile: Likewise.
13640 * elf/Makefile: Likewise.
13641 * extra-lib.mk: Likewise.
13642 * iconv/Makefile: Likewise.
13643 * include/libc-symbols.h: Likewise.
13644 * include/shlib-compat.h: Likewise.
13645 * resolv/Makefile: Likewise.
13646 * resolv/res_libc.c: Likewise.
13647 * rt/Makefile: Likewise.
13648 * sysdeps/i386/asm-syntax.h: Likewise.
13649 * sysdeps/i386/sysdep.h: Likewise.
13650 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13651 * sysdeps/mach/sysdep.h: Likewise.
13652 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13653 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13654 * sysdeps/s390/asm-syntax.h: Likewise.
13655 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13656 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13657 * sysdeps/sh/sysdep.h: Likewise.
13658 * sysdeps/unix/sparc/sysdep.h: Likewise.
13659 * sysdeps/wordsize-32/divdi3.c: Likewise.
13660 * sysdeps/x86_64/sysdep.h: Likewise.
13661
00bbd29b
UD
13662 * argp/Versions: Remove _argp_unlock_xxx.
13663
13664 [BZ #13559]
13665 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13666 * abilist/libBrokenLocale.abilist: Likewise.
13667 * abilist/libanl.abilist: Likewise.
13668 * abilist/libc.abilist: Likewise.
13669 * abilist/libcrypt.abilist: Likewise.
13670 * abilist/libdl.abilist: Likewise.
13671 * abilist/libm.abilist: Likewise.
13672 * abilist/libnsl.abilist: Likewise.
13673 * abilist/libpthread.abilist: Likewise.
13674 * abilist/libresolv.abilist: Likewise.
13675 * abilist/librt.abilist: Likewise.
13676 * abilist/libthread_db.abilist: Likewise.
13677 * abilist/libutil.abilist: Likewise.
13678 * abilist/libnss_db.abilist: New file.
13679
13680 * scripts/abilist.awk: Add support for indirect functions.
13681
a2693a0e
UD
13682 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13683
3f05895f
UD
13684 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13685
ecb6fb48
UD
13686 * shlib-versions: Remove entries for ports architectures.
13687
664f8cb9
UD
13688 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13689 files in ports.
13690 * elf/stackguard-macros.h: Remove support for IA-64.
13691 * elf/tst-auditmod1.c: Likewise.
13692 * sysdeps/generic/ldsodefs.h: Likewise.
13693
7ae81d88
UD
13694 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13695 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13696 configure files.
13697
bdeba135
UD
13698 [BZ #13552]
13699 * configure.in: Remove --enable-omitfp support.
13700 * FAQ.in: Adjust.
13701 * config.make.in: Likewise.
13702 * Makeconfig: Likewise.
13703 * manual/install.texi: Likewise.
13704
d75a0a62
UD
13705 In case anyone cares, the IA-64 architecture could move to ports.
13706 * sysdeps/ia64/*: Removed.
13707 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13708 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13709
dcc9756b
UD
13710 [BZ #13555]
13711 * configure.in: Remove entries for unsupported architectures.
13712
d3761ebc 13713 [BZ #13533]
9954432e
UD
13714 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13715 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13716 routines.
13717 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13718 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13719 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13720 fall back to using wcrtomb.
13721 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13722 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13723 renaming.
13724 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13725 * wcsmbs/tst-c16c32-1.c: New file.
13726
13727 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13728 local variable.
13729
c3a87236
UD
13730 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13731
28926a1b
UD
13732 * elf/tst-unique3.cc: Add explicit declaration of gets.
13733 * elf/tst-unique3lib.cc: Likewise.
13734 * elf/tst-unique3lib2.cc: Likewise.
13735 * elf/tst-unique4.cc: Likewise.
13736
df78418a
UD
13737 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13738
8ecd6b2a
JM
137392012-01-06 Joseph Myers <joseph@codesourcery.com>
13740
13741 [BZ #13566]
13742 * assert/assert.h (static_assert): Don't define for C++.
13743 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13744 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13745
9f115170
UD
137462012-01-03 Ulrich Drepper <drepper@gmail.com>
13747
5e0d0300
UD
13748 * iconv/loop.c (single loop): Fix assertion in storing of
13749 remaining bytes.
13750
9f115170
UD
13751 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13752
81fb02b0
UD
137532012-01-01 Ulrich Drepper <drepper@gmail.com>
13754
13755 * posix/getconf.c: Update copyright year.
13756 * nss/getent.c: Likewise.
a316c1f6 13757 * nss/makedb.c: Likewise.
81fb02b0
UD
13758 * iconv/iconvconfig.c: Likewise.
13759 * iconv/iconv_prog.c: Likewise.
13760 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13761 * elf/pldd.c: Likewise.
13762 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13763 * catgets/gencat.c: Likewise.
13764 * csu/version.c: Likewise.
13765 * elf/ldd.bash.in: Likewise.
13766 * elf/sprof.c (print_version): Likewise.
13767 * locale/programs/locale.c: Likewise.
13768 * locale/programs/localedef.c: Likewise.
a316c1f6 13769 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13770 * nscd/nscd.c (print_version): Likewise.
13771 * debug/xtrace.sh: Likewise.
13772 * malloc/memusage.sh: Likewise.
13773 * malloc/mtrace.pl: Likewise.
13774 * debug/catchsegv.sh: Likewise.
13775
2ba92745
JJ
137762011-12-30 Jakub Jelinek <jakub@redhat.com>
13777
13778 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13779 pure attribute.
13780
dadebdae
UD
137812011-12-24 Ulrich Drepper <drepper@gmail.com>
13782
d3761ebc 13783 [BZ #13533]
db6af3eb
UD
13784 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13785 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13786 transformations.
13787 * iconv/gconv_int.h: Likewise.
13788 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13789 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13790 from libc for GLIBC_2.16.
13791 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13792 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13793 * wcsmbs/uchar.h: Really define mbstate_t.
13794 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13795 * wcsmbs/c16rtomb.c: New file.
13796 * wcsmbs/mbrtoc16.c: New file.
13797 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13798 for C/POSIX locale.
13799 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13800 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13801
dadebdae
UD
13802 * wcsmbs/wchar.h: Add missing __restrict.
13803
67371b56
UD
138042011-12-23 Ulrich Drepper <drepper@gmail.com>
13805
74033a25
UD
13806 [BZ #13532]
13807 * time/Makefile (routines): Add timespec_get.
13808 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13809 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13810 timespec for ISO C11.
13811 * time/timespec_get.c: New file.
13812 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13813 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13814
380d7e87
UD
13815 [BZ #13531]
13816 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13817 * stdlib/stdlib.h: Declare aligned_alloc.
13818 * Versions.def: Add GLIBC_2.16 for libc.
13819 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13820
4e9e7a35
UD
13821 [BZ 13527]
13822 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13823 ISO C11.
13824
380d7e87 13825 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13826 code.
13827
03a71829
UD
13828 [BZ #13528]
13829 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13830
839e283e
UD
13831 [BZ #13529]
13832 * assert/assert.h (static_assert): Define.
13833
ce5294e2 13834 * version.h: Update for 2.16 development version.
90fa7312 13835
8d44e150 13836 [BZ #13526]
d7809905
UD
13837 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13838 _ISOC11_SOURCE.
13839
c0da14cd
UD
13840 * version.h (RELEASE): Bump for 2.15 release.
13841 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13842
530a3249
MP
13843 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13844 Patch by Marek Polacek <mpolacek@redhat.com>.
13845
67371b56
UD
13846 * bits/byteswap.h: Protect long long constants with __extension__.
13847 * sysdeps/i386/bits/byteswap.h: Likewise.
13848 * sysdeps/ia64/bits/byteswap.h: Likewise.
13849 * sysdeps/s390/bits/byteswap.h: Likewise.
13850 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13851
15db4de1
LD
138522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13853
13854 [BZ #13540]
bbe315ea
LD
13855 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13856 destination buffer.
15db4de1
LD
13857 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13858
2b2596b1
MP
138592011-12-23 Marek Polacek <polacek@redhat.com>
13860
13861 * elf/dl-addr.c (determine_info): Add inline keyword.
13862 * elf/tst-auditmod4b.c (check_avx): Likewise.
13863 * elf/tst-auditmod6b.c (check_avx): Likewise.
13864 * elf/tst-auditmod6c.c (check_avx): Likewise.
13865 * elf/tst-auditmod7b.c (check_avx): Likewise.
13866
70c6c246
UD
138672011-12-23 Ulrich Drepper <drepper@gmail.com>
13868
13869 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13870 !__SSE_MATH__.
13871
c044cf14
LD
138722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13873
15db4de1 13874 [BZ #13540]
c044cf14
LD
13875 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13876 processing for last bytes.
13877
6b13d9d9
BH
138782011-08-06 Bruno Haible <bruno@clisp.org>
13879
d455f537
BH
13880 [BZ #13061]
13881 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13882 U+0385, not to U+1FEE.
13883
6b13d9d9
BH
13884 [BZ #13062]
13885 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13886 entry for U+00A5 U+0301.
13887
db910efd
UD
138882011-12-22 Ulrich Drepper <drepper@gmail.com>
13889
27deeafc
UD
13890 [BZ #13166]
13891 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13892 buffer for the output is too small.
13893
aed9d171
UD
13894 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13895 optimization.
13896
db910efd
UD
13897 [BZ #13185]
13898 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13899 SSE flags if possible.
13900
2bd779ae
LD
139012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13902
e7f9dac3 13903 [BZ #13540]
2bd779ae
LD
13904 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13905 processing for last bytes.
13906
154bfc16
JM
139072011-12-22 Joseph Myers <joseph@codesourcery.com>
13908
13909 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13910 (syscall-list-default-options, syscall-list-default-condition)
13911 (syscall-list-includes): Define.
13912 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13913 list of ABIs and options and #if conditions for each ABI. Do not
13914 handle common syscalls between ABIs specially.
13915 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13916 Remove.
13917 (syscall-list-variants, syscall-list-32bit-options)
13918 (syscall-list-32bit-condition, syscall-list-64bit-options)
13919 (syscall-list-64bit-condition): Define.
13920 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13921 (syscall-list-variants, syscall-list-32bit-options)
13922 (syscall-list-32bit-condition, syscall-list-64bit-options)
13923 (syscall-list-64bit-condition): Define.
13924 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13925 Remove.
13926 (syscall-list-variants, syscall-list-32bit-options)
13927 (syscall-list-32bit-condition, syscall-list-64bit-options)
13928 (syscall-list-64bit-condition): Define.
13929 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13930 Remove.
13931 (syscall-list-variants, syscall-list-32bit-options)
13932 (syscall-list-32bit-condition, syscall-list-64bit-options)
13933 (syscall-list-64bit-condition): Define.
13934
21eaf3a5
UD
139352011-12-22 Ulrich Drepper <drepper@gmail.com>
13936
16c6f992
UD
13937 * locale/iso-639.def: Add brx entry.
13938
41043168
UD
13939 [BZ #13328]
13940 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13941 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13942
21eaf3a5
UD
13943 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13944 __feraiseexcept_renamed.
13945
e3a851a2
UD
139462011-12-21 Ulrich Drepper <drepper@gmail.com>
13947
4920765e
UD
13948 [BZ #13538]
13949 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13950 EPOLLET with unsigned values.
13951 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13952 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13953
e3a851a2
UD
13954 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13955 to large cancellation.
13956 * math/s_cacoshf.c: Likewise.
13957 * math/s_cacoshl.c: Likewise.
13958
b27e24b8
RK
139592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13960
13961 [BZ #13305]
aebefeee 13962 [BZ #12786]
b27e24b8
RK
13963 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13964 * math/s_cacoshf.c: Likewise.
13965 * math/s_cacoshl.c: Likewise.
13966
ee190f67
UD
139672011-12-21 Ulrich Drepper <drepper@gmail.com>
13968
13969 [BZ #13439]
13970 * iconv/gconv.h: Define __GCONV_SWAP.
13971 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13972 * iconvdata/utf-16.c: Likewise.
13973 * iconvdata/utf-32.c: Likewise.
13974
707f25df
AS
139752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13976
13977 [BZ #13524]
13978 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13979 numerator after shifting it by one limb.
13980
d2daaa1e
RÁE
139812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13982
13983 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13984 under [__USE_EXTERN_INLINES].
13985
a4647e72
UD
139862011-12-17 Ulrich Drepper <drepper@gmail.com>
13987
13988 [BZ #13446]
13989 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13990
f0b264f1
AZ
139912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13992
13993 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13994 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13995 optimized code.
13996 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13997 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13998 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13999 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14000 for strncasecmp/strncasecmp_l compilation.
14001 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14002 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14003
8ef4f244
MP
140042011-12-08 Marek Polacek <mpolacek@redhat.com>
14005
14006 [BZ #13484]
14007 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14008 of __asm__.
14009
97ac2654
UD
140102011-12-17 Ulrich Drepper <drepper@gmail.com>
14011
14012 [BZ #13506]
14013 * time/tzfile.c (__tzfile_read): Check values from file header.
14014
91d2a845
WS
140152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14016
14017 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14018 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14019 * powerpc/powerpc32/dl-start.S: Likewise.
14020 * powerpc/powerpc32/elf/start.S: Likewise.
14021 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14022 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14023 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14024 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14025 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14026 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14027 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14028 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14029 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14030 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14031 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14032 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14033 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14034 * powerpc/powerpc32/memset.S: Likewise.
14035 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14036 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14037 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14038 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14039 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14040 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14041 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14042 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14043 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14044 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14045 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14046 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14047 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14048
a1267ba1
AZ
140492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14050
14051 * math/libm-test.inc: Added more nearbyint tests.
14052 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14053 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14054 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14055 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14056
ad8ac1bd
RL
140572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14058
14059 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14060 FD_CLOEXEC.
14061
1d3e4b61
UD
140622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14063
14064 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14065 Add wcscpy-ssse3 wcscpy-c.
14066 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14067 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14068 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14069 * sysdeps/x86_64/wcschr.S: New file.
14070 * sysdeps/x86_64/wcsrchr.S: New file.
14071 * string/test-strcmp.c: Remove checking of wcscmp function for
14072 wrong alignments.
14073 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14074 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14075 wcsrchr-sse2 wcsrchr-c.
14076 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14077 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14078 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14079 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14080 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14081 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14082 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14083 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14084 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14085 * wcsmbc/wcschr.c (WCSCHR): New macro.
14086
5b330a2d
UD
140872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14088
14089 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14090 * wcsmbs/test-wcsrchr.c: New file.
14091 * string/test-strrchr.c: Add wcsrchr support.
14092 (WIDE): New macro.
14093 * wcsmbs/test-wcscpy.c: New file.
14094 * string/test-strcpy.c: Add wcscpy support.
14095 (WIDE): New macro.
26428b7c 14096
f039c043
UD
140972011-12-10 Ulrich Drepper <drepper@gmail.com>
14098
14099 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14100 the inner loop.
14101
850fb039
AS
141022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14103
14104 [BZ #13472]
14105 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14106
4efbd5cb
UD
141072011-12-04 Ulrich Drepper <drepper@gmail.com>
14108
52ff5dd0 14109 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14110 Minor optimizations.
52ff5dd0 14111
4efbd5cb
UD
14112 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14113 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14114 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14115
8a426e12
UD
141162011-12-03 Ulrich Drepper <drepper@gmail.com>
14117
aff2453d
UD
14118 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14119 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14120 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14121 for gcc to avoid warnings.
14122 * inet/Makefile (tests): Add tst-checks.
14123 * inet/tst-checks.c: New file.
14124
14125 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14126 warning.
14127
14128 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14129 __wmemcmp_sse2.
14130
14131 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14132 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14133
8a426e12
UD
14134 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14135
9bea3473
UD
141362011-12-02 Ulrich Drepper <drepper@gmail.com>
14137
3a965496
UD
14138 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14139 problem.
14140
9bea3473
UD
14141 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14142
f101631b
UD
141432011-11-29 Joseph Myers <joseph@codesourcery.com>
14144
14145 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14146 conditional on GCC version.
14147 (__arch_compare_and_exchange_val_8_acq)
14148 (__arch_compare_and_exchange_val_16_acq)
14149 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14150 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14151 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14152
a98275aa
UD
141532011-12-02 Joseph Myers <joseph@codesourcery.com>
14154
14155 * sysdeps/sh/backtrace.c: New file.
14156
d4cc29a2
AS
141572011-12-02 Andreas Schwab <schwab@redhat.com>
14158
14159 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14160 parenthesis.
14161
6257af2d
AS
141622011-12-01 Andreas Schwab <schwab@redhat.com>
14163
14164 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14165 falling back to utime.
14166
b5f44c1a
AS
141672011-11-30 Andreas Schwab <schwab@redhat.com>
14168
14169 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14170 expectations for float.
14171
f3a6cc0a
AS
141722011-11-29 Andreas Schwab <schwab@redhat.com>
14173
14174 * locale/weight.h (findidx): Add parameter len.
14175 * locale/weightwc.h (findidx): Likewise.
14176 * posix/fnmatch_loop.c (FCT): Adjust caller.
14177 * posix/regcomp.c (build_equiv_class): Likewise.
14178 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14179 * posix/regexec.c (check_node_accept_bytes): Likewise.
14180 * string/strcoll_l.c (STRCOLL): Likewise.
14181 * string/strxfrm_l.c (STRXFRM): Likewise.
14182
9d65ea3a
UD
141832011-11-17 Ulrich Drepper <drepper@gmail.com>
14184
14185 * Makefile.in: Remove CVSOPT handling.
14186 * configure.in: Remove use of AC_REVISION.
14187 * iconvdata/Makefile (distribute): No need to filter out CVS.
14188 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14189 handling.
14190
5583a086
AS
141912011-11-16 Andreas Schwab <schwab@redhat.com>
14192
14193 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14194 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14195 [USE_AS_STRNCASECMP_L]: Likewise.
14196 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14197 NO_TLS_DIRECT_SEG_REFS.
14198 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14199 Fix argument offsets for non-PIC.
14200 [USE_AS_STRNCASECMP_L]: Likewise.
14201 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14202 NO_TLS_DIRECT_SEG_REFS.
14203
d62a8200
UD
142042011-11-15 Ulrich Drepper <drepper@gmail.com>
14205
9d65ea3a 14206 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14207 O_CLOEXEC.
14208 * locale/loadlocale.c (_nl_load_locale): Likewise.
14209
09f93bd3
AS
142102011-11-15 Andreas Schwab <schwab@redhat.com>
14211
446514f9
AS
14212 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14213 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14214 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14215 (SYSCALL_GETTIME): Set errno on error.
14216
09f93bd3
AS
14217 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14218 count references to noai6ai_cached.
14219
312be3f9
UD
142202011-11-15 Ulrich Drepper <drepper@gmail.com>
14221
14222 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14223
14224 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14225 FD_CLOEXEC for /proc/self/maps.
14226
14227 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14228 FD_CLOEXEC for /proc/meminfo.
14229
14230 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14231 gai.conf.
14232
14233 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14234 FD_CLOEXEC for given file.
14235
14236 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14237
14238 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14239 FD_CLOEXEC for /etc/hosts.
14240 (_gethtent): Likewise.
14241
14242 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14243
14244 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14245 cancellation and set FD_CLOEXEC for /etc/netgroup.
14246
14247 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14248 reading /etc/publickey.
14249
14250 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14251 allow cancellation when reading /etc/group.
14252
14253 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14254 cancellation.
14255 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14256
14257 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14258 when using data file.
14259
14260 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14261
14262 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14263 (write_nis_obj): Use "c" and "e" in fopen.
14264
14265 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14266
14267 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14268
14269 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14270
14271 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14272
14273 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14274 locale.alias.
14275
14276 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14277
14278 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14279
14280 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14281
14282 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14283 file parsing and set FD_CLOEXEC.
14284
82af0fa8
UD
142852011-11-14 Ulrich Drepper <drepper@gmail.com>
14286
14287 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14288
a5fb313c
AS
142892011-11-14 Andreas Schwab <schwab@redhat.com>
14290
14291 * malloc/arena.c (arena_get2): Don't call reused_arena when
14292 _int_new_arena failed.
14293
6abf3465
UD
142942011-11-14 Ulrich Drepper <drepper@gmail.com>
14295
14296 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14297 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14298 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14299 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14300 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14301 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14302 to compile strcasecmp and strncasecmp.
14303 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14304 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14305
14306 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14307
76e3966e
UD
143082011-11-13 Ulrich Drepper <drepper@gmail.com>
14309
14310 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14311 locale-defines.sym to gen-as-const-headers.
14312 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14313 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14315 to compile strcasecmp and strncasecmp.
14316 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14317 strcasecmp_l and strncasecmp_l.
14318 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14319 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14320 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14321 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14322 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14323 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14324 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14325 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14326 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14327 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14328 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14329
ab26144e
UD
143302011-11-12 Ulrich Drepper <drepper@gmail.com>
14331
7edb22ef
UD
14332 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14333 result of SYSDEP_GETTIME_CPU to retval.
14334 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14335 parameter list to macro. Remove trailing semicolon. Adjust users.
14336
9694fc44
UD
14337 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14338 variable.
14339
8ad89ef8
UD
14340 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14341 mantissa words.
14342 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14343
0c822ef9
UD
14344 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14345 from unused variable.
14346
874e0564
UD
14347 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14348 DWARF definitions.
14349 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14350 for assembling.
14351
3a2edc79
UD
14352 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14353 over namespaces.
14354
f3c2577f
UD
14355 * sunrpc/rpc_prot.c (rejected): Fix case value.
14356
294ce126
UD
14357 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14358 unsigned long long int to avoid warnings in shift.
14359
5e2b63c6
UD
14360 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14361 of use of trans.
14362 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14363 variable tmp.
14364
e7f4b08e
UD
14365 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14366 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14367 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14368
ab26144e
UD
14369 * nis/nis_table.c (nis_list): Use variable of correct type for
14370 result of __follow_path call.
14371
8a6d5255
AZ
143722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14373
14374 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14375 of math functions ceil, trunc, floor, round, and sqrt, when
14376 avaliable on the platform.
14377 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14378 name clash.
14379 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14380 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14381 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14382
aaddc98c
MP
143832011-10-30 Marek Polacek <mpolacek@redhat.com>
14384
14385 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14386 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14387
95b7042b
RM
143882011-11-11 Roland McGrath <roland@hack.frob.com>
14389
14390 * include/unistd.h: Fix __readlink return type.
14391 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14392
57769839
UD
143932011-11-11 Ulrich Drepper <drepper@gmail.com>
14394
14395 * stdlib/ucontext.h: Undo last change for makecontext.
14396
edc5984d
AS
143972011-11-11 Andreas Schwab <schwab@redhat.com>
14398
98591e58
AS
14399 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14400
edc5984d
AS
14401 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14402 * setjmp/setjmp.h: Mark functions as non-leaf.
14403 * setjmp/bits/setjmp2.h: Likewise.
14404 * stdlib/ucontext.h: Likewise.
14405
77cdc054
AS
144062011-11-10 Andreas Schwab <schwab@redhat.com>
14407
14408 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14409 (reused_arena): Don't check arena limit.
14410 (arena_get2): Atomically check arena limit.
14411
fe72eebd
UD
144122011-11-08 Ulrich Drepper <drepper@gmail.com>
14413
5f078c32
UD
14414 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14415 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14416
fe72eebd
UD
14417 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14418 instructions.
14419
ae1bc2fa
AS
144202011-11-07 Andreas Schwab <schwab@redhat.com>
14421
7583a88d
AS
14422 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14423 handler when locking.
14424
ae1bc2fa
AS
14425 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14426 Fix size of allocated buffer.
14427
10fb0bfa
AS
144282011-11-04 Andreas Schwab <schwab@redhat.com>
14429
998832a4
AS
14430 [BZ #10103]
14431 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14432 declarations for long double functions.
14433 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14434
10fb0bfa
AS
14435 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14436
3d7ba52b
AS
144372011-11-03 Andreas Schwab <schwab@redhat.com>
14438
a9ae54a1
AS
14439 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14440 installed.
14441
3d7ba52b
AS
14442 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14443 is disabled.
14444
bc8db248
ST
144452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14446
14447 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14448
45b96dd6
AS
144492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14450
647776f6
AS
14451 * include/alloca.h (stackinfo_alloca_round): Define.
14452 (extend_alloca): Use it.
14453 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14454 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14455 here.
14456
d91a8b93
AS
14457 * scripts/check-local-headers.sh: Ignore libaudit.h.
14458
45b96dd6
AS
14459 * nscd/Makefile (extra-objs): Make recursively expanded.
14460
432d41ce
UD
144612011-11-01 Ulrich Drepper <drepper@gmail.com>
14462
34372fc6
UD
14463 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14464 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14465
fadb59f8
UD
14466 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14467 * posix/tst-rfc3484-2.c: Likewise.
14468 * posix/tst-rfc3484-3.c: Likewise.
14469
78239589
UD
14470 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14471 process_vm_writev.
14472 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14473 process_vm_writev.
14474 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14475 process_vm_writev from libc using GLIBC_2.15 version.
14476
432d41ce
UD
14477 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14478
02f9c6cf
PP
144792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14480
14481 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14482 stack usage.
14483
3a2c0242
UD
144842011-10-31 Ulrich Drepper <drepper@gmail.com>
14485
f4ec4833
UD
14486 [BZ #13367]
14487 * nss/getent.c (initgroups_keys): Show error message in case no group
14488 names are given.
14489
3a2c0242
UD
14490 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14491 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14492 __bump_nl_timestamp.
14493 * nscd/connections (nscd_init): When host database is served open
14494 netlink socket and request notification about configuration changes.
14495 (main_loop_poll): Track netlink file descriptor and bump timestamp
14496 in case data becomes available.
14497 (main_loop_epoll): Likewise.
14498 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14499 (database_pers_head): Add extra_data fileds.
14500 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14501 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14502 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14503 Adjust caller.
14504 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14505 in6ai data, call __free_in6ai.
14506 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14507 Add -DHAVE_NETLINK.
14508 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14509 interface information. Reuse previous data if netlink timestamp
14510 is not changed.
14511 (__bump_nl_timestamp): New function.
14512 (__free_in6ai): New function.
14513
636064eb
UD
145142011-10-30 Ulrich Drepper <drepper@gmail.com>
14515
14516 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14517 close_not_cancel_no_status here.
14518 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14519
9beb2334
UD
145202011-10-29 Ulrich Drepper <drepper@gmail.com>
14521
6ef76f3b
UD
14522 [BZ #13276]
14523 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14524 return value.
14525
0ffc4f3e 14526 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14527 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14528 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14529
cb95113e
UD
145302011-07-03 Andreas Jaeger <aj@suse.de>
14531
14532 [BZ #10709]
14533 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14534 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14535 * math/libm-test.inc (sin_test): Add test case.
14536
a1b560ff
UD
145372011-10-29 Ulrich Drepper <drepper@gmail.com>
14538
c9aaface
UD
14539 [BZ #13337]
14540 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14541 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14542
d272e7f1
UD
14543 * elf/chroot_canon.c (chroot_canon): Cleanups.
14544
1bc33071
UD
14545 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14546
1760874d
TJ
14547 [BZ #13335]
14548 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14549 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14550
51d91b18
UD
14551 * string/test-strchr.c: Make usable for strchrnul testing.
14552 * string/test-strchrnul.c: New file.
14553 * string/Makefile (strop-tests): Add strchrnul.
14554
a1b560ff 14555 * po/it.po: Update from translation team.
b611fb81 14556 * po/es.po: Likewise.
a1b560ff 14557
a5b81e1f
UD
145582011-10-28 Ulrich Drepper <drepper@gmail.com>
14559
fd52bc6d
UD
14560 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14561 the three constants needed as parameters. Drop the others.
14562 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14563 __m128i_strloadu_tolower.
52e4b9eb
UD
14564 Create and initialize variable zero and use it in all the places
14565 where _mm_setzero_si128 was used.
fd52bc6d 14566
a5b81e1f
UD
14567 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14568 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14569 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14570 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14571 anymore.
14572 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14573 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14574 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14575 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14576 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14577 __mpranred, __mptan.
14578 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14579 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14580 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14581 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14582 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14583 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14584 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14585 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14586 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14587
b4343346
AS
145882011-10-28 Andreas Schwab <schwab@redhat.com>
14589
0c92d8a8
AS
14590 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14591 redefine if SHARED.
14592 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14593
b4343346
AS
14594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14595 wide char related routines to wcsmbs subdir.
14596
3871f58f
AS
145972011-10-27 Andreas Schwab <schwab@redhat.com>
14598
14599 [BZ #13344]
14600 * misc/sys/cdefs.h (__THROWNL): Define.
14601 * posix/unistd.h: Use __THREADNL instead of __THREAD
14602 for memory synchronization functions.
14603
94d44d9f
RM
146042011-10-26 Roland McGrath <roland@hack.frob.com>
14605
21b64b15 14606 [BZ #13349]
94d44d9f
RM
14607 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14608 doesn't exist.
14609 * manual/stdio.texi (Obstack Streams): Node removed.
14610
f6ce9294
AS
146112011-10-26 Andreas Schwab <schwab@redhat.com>
14612
80479147
AS
14613 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14614 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14615 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14616
f6ce9294
AS
14617 * math/math_private.h (math_force_eval): Allow non-addressable
14618 arguments.
14619 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14620
618280a1
UD
146212011-10-25 Ulrich Drepper <drepper@gmail.com>
14622
e0016b11
UD
14623 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14624 file is not needed.
14625
14626 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14627 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14628 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14629 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14630 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14631 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14632 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14633 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14634 Add AVX variants.
14635 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14636 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14637 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14638 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14639 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14640 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14641 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14642 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14643 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14644 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14645 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14646 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14647 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14648 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14649 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14650 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14651 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14652 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14653 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14654
14655 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14656 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14657
618280a1
UD
14658 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14659 place. Use VEX encoding when compiling for AVX.
14660
37822576
AS
146612011-10-25 Andreas Schwab <schwab@redhat.com>
14662
1f1e1947
AS
14663 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14664 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14665
37822576
AS
14666 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14667
31ea014d
UD
146682011-10-25 Ulrich Drepper <drepper@gmail.com>
14669
d7826aa1 14670 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14671 useless if() expression.
d7826aa1
UD
14672 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14673 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14674 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14675 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14676 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14677 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14678 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14679 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14680 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14681 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14682 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14683 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14684 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14685 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14686 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14687 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14688 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14690 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14691
31ea014d
UD
14692 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14693
16437fec
AS
146942011-10-25 Andreas Schwab <schwab@redhat.com>
14695
14696 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14697 condition.
14698 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14699
31d3cc00
UD
147002011-10-25 Ulrich Drepper <drepper@gmail.com>
14701
14702 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14703 .text section. Avoid duplicate constants.
14704 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14705 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14706 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14707 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14708 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14709 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14712 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14714 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14715 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14716 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14717 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14718 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14719 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14720 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14721 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14722 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14723 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14724 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14725 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14726 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14727 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14728 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14729 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14730 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14731 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14732 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14733 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14734 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14735 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14736 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14737 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14738 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14739 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14740 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14741 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14742 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14743 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14744 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14745 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14746 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14747 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14748 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14749
58985aa9
UD
147502011-10-24 Ulrich Drepper <drepper@gmail.com>
14751
202c9deb
UD
14752 * sysdeps/x86_64/dla.h: Move to ...
14753 * sysdeps/x86_64/fpu/dla.h: ...here.
14754 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14755 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14756
af968f62
UD
14757 * config.make.in: Add have-mfma4 entry.
14758 * configure.in: Substitute libc_cv_cc_fma4.
14759 * math/Makefile (dbl-only-routines): Add sincostab.
14760 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14761 Use __sincostab not sincos.
14762 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14763 name is a macro.
14764 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14765 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14766 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14768 using __copysign.
14769 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14770 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14771 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14772 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14773 and __inv.
14774 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14775 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14776 __copysign.
14777 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14778 define aliases when function name is a macro.
14779 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14780 sysdeps/ieee754/dbl-64/sincos.tbl.
14781 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14782 fma4-enabled routines.
14783 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14784 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14785 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14786 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14787 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14788 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14789 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14790 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14791 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14792 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14793 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14794 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14795 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14796 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14797 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14798 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14799 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14800 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14801 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14802 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14803 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14804 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14805 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14806 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14807 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14808 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14809 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14810 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14811 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14812 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14813
58985aa9
UD
14814 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14815 rename.
14816 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14824
a201fbcf
AS
148252011-10-24 Andreas Schwab <schwab@redhat.com>
14826
14827 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14828
fc2ee42a
LD
148292011-10-23 Ulrich Drepper <drepper@gmail.com>
14830
bb3129bd
UD
14831 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14832
0275fff8
UD
14833 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14834 prediction.
14835 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14836
2fa2ae85
UD
14837 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14838 Remove unused variable magic_bits.
14839 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14840
fc2ee42a
LD
14841 * string/strnlen.c: Define and use STRNLEN macro.
14842 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14843 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14844 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14845 * wcsmbs/wcslen.c: Define and use WCSLEN.
14846 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14847 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14848 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14849 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14850 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14851 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14852 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14853
ce7dd29f
LD
148542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14855
14856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14857 strnlen-sse2-no-bsf.
14858 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14860 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14861 Add strnlen support.
14862 (USE_AS_STRNLEN): New macro.
14863 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14864 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14865 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14866 * sysdeps/x86_64/wcslen.S: New file.
14867
979c70a3
MZ
148682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14869
14870 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14871 XMM-moves are used for copying on small sizes.
14872
2d09f82f
LD
148732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14874
14875 * wcsmbs/Makefile (strop-tests): Add wcschr.
14876 * wcsmbs/test-wcschr.c: New file.
14877 * string/test-strchr.c: Update.
14878 Add wcschr support.
14879 (WIDE): New macro.
14880
619fccca
LD
148812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14882
2d09f82f 14883 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14884 * wcsmbs/test-wcslen.c: New file.
14885 * string/test-strlen.c: Update.
14886 Add wcslen support.
14887 (WIDE): New macro.
14888
09f699ea
UD
148892011-10-23 Ulrich Drepper <drepper@gmail.com>
14890
14891 * po/it.po: Update from translation team.
14892
95584d3b
LD
148932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14894
14895 * sysdeps/x86_64/wcscmp.S: Update.
14896 Fix wrong comparison semantics.
14897 wcscmp shall use signed comparison not unsigned.
14898 Don't use substraction to avoid overflow bug.
14899 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14900 * wcsmbc/wcscmp.c: Likewise.
14901 * string/test-strcmp.c: Likewise.
14902 Add new tests to check cases with negative values.
14903
c8b3296b
UD
149042011-10-23 Ulrich Drepper <drepper@gmail.com>
14905
14906 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14907 * sysdeps/x86_64/dla.h: ...here. New file.
14908 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14909 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14910 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14911 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14912 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14913 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14914 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14915 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14916 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14917
246ad57a
AS
149182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14919
14920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14921 __ynl_finite aliases.
14922
a1a87169
UD
149232011-10-22 Ulrich Drepper <drepper@gmail.com>
14924
0d355eb7
UD
14925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14926
a1a87169
UD
14927 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14928 define DLA_FMA.
14929 [DLA_FMA] (EMULV): Use DLA_FMA.
14930 [DLA_FMA] (MUL12): Use EMULV.
14931 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14932 that are not needed.
14933 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14934 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14937 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14938 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14939 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14940
ee2aafe0
AS
149412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14942
14943 * math/s_nan.c: Undef __nan.
14944 * math/s_nanf.c: Undef __nanf.
14945 * math/s_nanl.c: Undef __nanl.
14946 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14947 "math_private.h".
14948
bc62c2fb
UD
149492011-10-22 Ulrich Drepper <drepper@gmail.com>
14950
77425c63
UD
14951 * math/s_catan.c: Add branch predictions.
14952 * math/s_catanf.c: Likewise.
14953 * math/s_catanh.c: Likewise.
14954 * math/s_catanhf.c: Likewise.
14955 * math/s_catanhl.c: Likewise.
14956 * math/s_catanl.c: Likewise.
14957 * math/s_cexp.c: Likewise.
14958 * math/s_cexpf.c: Likewise.
14959 * math/s_cexpl.c: Likewise.
14960 * math/s_clog.c: Likewise.
14961 * math/s_clog10.c: Likewise.
14962 * math/s_clog10f.c: Likewise.
14963 * math/s_clog10l.c: Likewise.
14964 * math/s_clogf.c: Likewise.
14965 * math/s_clogl.c: Likewise.
14966 * math/s_csqrt.c: Likewise.
14967 * math/s_csqrtf.c: Likewise.
14968 * math/s_csqrtl.c: Likewise.
14969 * math/s_ctanf.c: Likewise.
14970 * math/s_ctanh.c: Likewise.
14971 * math/s_ctanhf.c: Likewise.
14972 * math/s_ctanhl.c: Likewise.
14973 * math/s_ctanl.c: Likewise.
14974
bc62c2fb
UD
14975 * math/math_private.h: Define __nan, __nanf, __nanl.
14976 * math/s_cacosh.c: Include <math_private.h>.
14977 * math/s_cacoshl.c: Likewise.
14978 * math/s_casinh.c: Likewise.
14979 * math/s_casinhf.c: Likewise.
14980 * math/s_casinhl.c: Likewise.
14981 * math/s_ccos.c: Rely entire on ccosh.
14982 * math/s_ccosf.c: Rely entire on ccoshf.
14983 * math/s_ccosl.c: Rely entirely on ccoshl.
14984 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14985 Remove tests for FE_INVALID.
14986 * math/s_ccoshf.c: Likewise.
14987 * math/s_ccoshl.c: Likewise.
14988 * math/s_csin.c: Likewise.
14989 * math/s_csinf.c: Likewise.
14990 * math/s_csinh.c Likewise.
14991 * math/s_csinhf.c: Likewise.
14992 * math/s_csinhl.c: Likewise.
14993 * math/s_csinl.c: Likewise.
14994 * math/s_ctan.c: Likewise.
14995 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14996 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14997 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14998
8ec250a4
UD
149992011-10-21 Ulrich Drepper <drepper@gmail.com>
15000
c196fed8
UD
15001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15002 compilation problems.
15003
8ec250a4
UD
15004 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15005 __builtin_expect.
15006
8d4f46c6
UD
150072011-10-20 Ulrich Drepper <drepper@gmail.com>
15008
ed72b654
UD
15009 * sysdeps/i386/configure.in: Test for -mfma4 option.
15010 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15011 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15012 COMMON_CPUID_INDEX_80000001.
15013 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15014 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15015 use it if FMA3 is not supported.
15016 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15017
8d4f46c6
UD
15018 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15019 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15020
d45c60c2
AS
150212011-10-20 Andreas Schwab <schwab@redhat.com>
15022
15023 [BZ #12892]
15024 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15025 it would create a cycle with a link time dependency.
15026
d9a4d2ab
UD
150272011-10-19 Ulrich Drepper <drepper@gmail.com>
15028
855d1560
UD
15029 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15030 instruction.
15031 * string/Makefile (strop-tests): Add rawmemchr.
15032 * string/test-rawmemchr.c: New file.
15033
d9a4d2ab
UD
15034 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15035 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15036 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15037 when compiling str{,n}casecmp and when AVX is available. Hook up
15038 new optimized code in initializers.
15039
8f3b1ffe
AS
150402011-10-19 Andreas Schwab <schwab@redhat.com>
15041
15042 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15043 __feraiseexcept instead of feraiseexcept.
15044
d38f1dba
UD
150452011-10-18 Ulrich Drepper <drepper@gmail.com>
15046
d9a8d0ab
UD
15047 * math/math_private.h: Define defaults for libc_fetestexcept and
15048 libc_feupdateenv.
15049 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15050 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15051 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15052 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15053 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15054 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15055 libc_fetestexcept and libc_feupdateenv.
15056
4855e3dd
UD
15057 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15058 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15059 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15060 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15061 libc_feholdexcept_setround.
15062
581d30e3
UD
15063 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15064 Add s_nearbyint-c and s_nearbyintf-c.
15065 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15066 nearbyintf inlines.
15067 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15068 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15069 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15070 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15071
d38f1dba
UD
15072 * math/math_private.h: Define defaults for libc_fegetround,
15073 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15074 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15075 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15076 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15077 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15078 standard functions.
15079 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15080 Remove comments and hacks for old compiler versions.
15081 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15082 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15083 libc_feholdexceptl.
15084
caa6c9d8
AS
150852011-10-18 Andreas Schwab <schwab@redhat.com>
15086
15087 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15088 (__feraiseexcept_renamed): Add __NTH.
15089 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15090 namespace violations.
15091
97c066e6
UD
150922011-10-17 Ulrich Drepper <drepper@gmail.com>
15093
99ce7b04
UD
15094 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15095
1004d182
UD
15096 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15097
228a984d
UD
15098 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15099 recently added interfaces.
15100 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15101
c8553a6a
UD
15102 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15103 about macro parameter expansion.
15104
ed22dcf6
UD
15105 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15106 __NO_MATH_INLINES is defined. Cleanups.
15107
15108 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15109 and __floorf is target has SSE4.1.
15110 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15111 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15112 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15113 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15114
b171c137
UD
15115 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15116 name.
15117 (floorf): Likewise.
15118
97c066e6
UD
15119 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15120
629f62ef
AS
151212011-10-17 Andreas Schwab <schwab@redhat.com>
15122
49a43d80
AS
15123 * misc/sys/cdefs.h: Fix last change.
15124
629f62ef
AS
15125 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15126 database lookup.
15127
e453f6cd
UD
151282011-10-16 Ulrich Drepper <drepper@gmail.com>
15129
aa78043a
UD
15130 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15131
ad0f5cad
UD
15132 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15133 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15134 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15135 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15136 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15137 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15138 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15139 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15140 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15141 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15142 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15143 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15144 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15145 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15146 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15147 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15148 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15149 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15150 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15151 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15152 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15153 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15154
15155 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15156 ceil, ceilf, floor, floorf.
15157
15158 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15159 Perform IRELATIVE relocations last.
15160
e453f6cd
UD
15161 * elf/do-rel.h: Add another parameter nrelative, replacing the
15162 local variable with the same name. Change name of the function
15163 to end in Rel or Rela (uppercase).
15164 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15165 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15166 elf_dynamic_do_##reloc function.
15167
fd5bdc09
UD
151682011-10-15 Ulrich Drepper <drepper@gmail.com>
15169
79b195b5
UD
15170 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15171 is sufficient, at least on modern CPUs.
15172
d4a28569
UD
15173 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15174
b61099b5
UD
15175 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15176 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15177
bcf01e6d
UD
15178 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15179 __expl_finite.
15180 * math/bits/math-finite.h: Add entries for exp.
15181 * math/e_expl.c: Add __*_finite alias.
15182 * sysdeps/i386/fpu/e_exp.S: Likewise.
15183 * sysdeps/i386/fpu/e_expf.S: Likewise.
15184 * sysdeps/i386/fpu/e_expl.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15186 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15187 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15188 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15189 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15190 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15191 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15192
ba1a0d59
UD
15193 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15194 is sufficient, at least on modern CPUs.
15195
fd5bdc09
UD
15196 * ctype/ctype-info.c (__ctype_init): Define.
15197 * include/ctype.h (__ctype_init): Declare.
15198 (__ctype_b_loc): The variable is always initialized.
15199 (__ctype_toupper_loc): Likewise.
15200 (__ctype_tolower_loc): Likewise.
15201 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15202 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15203
7872cfb0
AS
152042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15205
b468825a
AS
15206 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15207
7872cfb0
AS
15208 * configure.in: Also look in $cxxmachine/include for C++ system
15209 headers.
15210
be13f7bf
LD
152112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15212
15213 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15214 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15215 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15216 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15217 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15218 (USE_AS_WMEMCMP): New macro.
15219 Fixing indents.
15220 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15221 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15222 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15223 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15225 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15226 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15227 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15228 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15229 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15230 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15231 (USE_AS_WMEMCMP): New macro.
15232 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15233 * sysdeps/string/test-memcmp.c: Update.
15234 Fix simple_wmemcmp.
15235 Add new tests.
15236 * wcsmbs/wmemcmp.c: Update.
15237 (WMEMCMP): New macro.
15238 Fix overflow bug.
15239
556a2007
AJ
152402011-10-12 Andreas Jaeger <aj@suse.de>
15241
15242 [BZ #13268]
15243 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15244
538faaa7
UD
152452011-10-15 Ulrich Drepper <drepper@gmail.com>
15246
ab6737ff
UD
15247 * libio/iofwide.c (do_length): Avoid warning.
15248
538faaa7
UD
15249 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15250
396a21b1
UD
152512011-10-14 Ulrich Drepper <drepper@gmail.com>
15252
cdf2901f
UD
15253 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15254
38ad40ce
UD
15255 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15256 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15257 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15258 * sysdeps/i386/i686/fpu/e_log.S: New file.
15259 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15260 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15261
396a21b1
UD
15262 * ctype/ctype.h: Add support for inlined isXXX functions when
15263 compiling C++ code.
15264
6b1f68c9
AS
152652011-10-14 Andreas Schwab <schwab@redhat.com>
15266
349290c0
AS
15267 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15268
6b1f68c9
AS
15269 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15270
f2282d42
RM
152712011-10-13 Roland McGrath <roland@hack.frob.com>
15272
15273 [BZ #13291]
15274 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15275
5298ffa8
AS
152762011-10-13 Andreas Schwab <schwab@redhat.com>
15277
714fad23
AS
15278 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15279 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15280 feraiseexcept.
15281
81dcc7fb
AS
15282 * sysdeps/x86_64/memrchr.S: Check for zero size.
15283
5298ffa8
AS
15284 * string/stratcliff.c: Add memrchr tests.
15285
951fbcec
LD
152862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15287
15288 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15289 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15290 rawmemchr-sse2 rawmemchr-sse2-bsf.
15291 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15292 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15293 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15294 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15295 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15296 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15297 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15298 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15299 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15300 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15301 * string/memrchr.c (MEMRCHR): New macro.
15302
0ac5ae23
UD
153032011-10-12 Ulrich Drepper <drepper@gmail.com>
15304
15305 Add integration with gcc's -ffinite-math-only and optimize wrapper
15306 functions in libm.
15307 * Versions.def: Define GLIBC_2.15 version for libm.
15308 * math/Makefile (headers): Add bits/math-finite.h.
15309 * math/bits/math-finite.h: New file.
15310 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15311 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15312 * math/e_acoshl.c: Add __*_finite alias.
15313 * math/e_acosl.c: Likewise.
15314 * math/e_asinl.c: Likewise.
15315 * math/e_atan2l.c: Likewise.
15316 * math/e_atanhl.c: Likewise.
15317 * math/e_coshl.c: Likewise.
15318 * math/e_exp10.c: Likewise.
15319 * math/e_exp10f.c: Likewise.
15320 * math/e_exp10l.c: Likewise.
15321 * math/e_exp2l.c: Likewise.
15322 * math/e_fmodl.c: Likewise.
15323 * math/e_gammal_r.c: Likewise.
15324 * math/e_hypotl.c: Likewise.
15325 * math/e_j0l.c: Likewise.
15326 * math/e_j1l.c: Likewise.
15327 * math/e_jnl.c: Likewise.
15328 * math/e_lgammal_r.c: Likewise.
15329 * math/e_log10l.c: Likewise.
15330 * math/e_log2l.c: Likewise.
15331 * math/e_logl.c: Likewise.
15332 * math/e_powl.c: Likewise.
15333 * math/e_sinhl.c: Likewise.
15334 * math/e_sqrtl.c: Likewise.
15335 * math/e_scalb.c: Completely rewritten and optimized.
15336 * math/e_scalbf.c: Likewise.
15337 * math/e_scalbl.c: Likewise.
15338 * math/w_acos.c: Likewise.
15339 * math/w_acosf.c: Likewise.
15340 * math/w_acosl.c: Likewise.
15341 * math/w_acosh.c: Likewise.
15342 * math/w_acoshf.c: Likewise.
15343 * math/w_acoshl.c: Likewise.
15344 * math/w_asin.c: Likewise.
15345 * math/w_asinf.c: Likewise.
15346 * math/w_asinl.c: Likewise.
15347 * math/w_atan2.c: Likewise.
15348 * math/w_atan2f.c: Likewise.
15349 * math/w_atan2l.c: Likewise.
15350 * math/w_atanh.c: Likewise.
15351 * math/w_atanhf.c: Likewise.
15352 * math/w_atanhl.c: Likewise.
15353 * math/w_exp10.c: Likewise.
15354 * math/w_exp10f.c: Likewise.
15355 * math/w_exp10l.c: Likewise.
15356 * math/w_fmod.c: Likewise.
15357 * math/w_fmodf.c: Likewise.
15358 * math/w_fmodl.c: Likewise.
15359 * math/w_j0.c: Likewise.
15360 * math/w_j0f.c: Likewise.
15361 * math/w_j0l.c: Likewise.
15362 * math/w_j1.c: Likewise.
15363 * math/w_j1f.c: Likewise.
15364 * math/w_j1l.c: Likewise.
15365 * math/w_jn.c: Likewise.
15366 * math/w_jnf.c: Likewise.
15367 * math/w_log.c: Likewise.
15368 * math/w_logf.c: Likewise.
15369 * math/w_logl.c: Likewise.
15370 * math/w_log10.c: Likewise.
15371 * math/w_log10f.c: Likewise.
15372 * math/w_log10l.c: Likewise.
15373 * math/w_log2.c: Likewise.
15374 * math/w_log2f.c: Likewise.
15375 * math/w_log2l.c: Likewise.
15376 * math/w_pow.c: Likewise.
15377 * math/w_powf.c: Likewise.
15378 * math/w_powl.c: Likewise.
15379 * math/w_remainder.c: Likewise.
15380 * math/w_remainderf.c: Likewise.
15381 * math/w_remainderl.c: Likewise.
15382 * math/w_scalb.c: Likewise.
15383 * math/w_scalbf.c: Likewise.
15384 * math/w_scalbl.c: Likewise.
15385 * math/w_sqrt.c: Likewise.
15386 * math/w_sqrtf.c: Likewise.
15387 * math/w_sqrtl.c: Likewise.
15388 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15389 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15390 used.
15391 * math/math_private.h: Declare __kernel_standard_f.
15392 * math/w_cosh.c: Remove cruft and optimize a bit.
15393 * math/w_coshf.c: Likewise.
15394 * math/w_coshl.c: Likewise.
15395 * math/w_exp2.c: Likewise.
15396 * math/w_exp2f.c: Likewise.
15397 * math/w_exp2l.c: Likewise.
15398 * math/w_hypot.c: Likewise.
15399 * math/w_hypotf.c: Likewise.
15400 * math/w_hypotl.c: Likewise.
15401 * math/w_lgamma.c: Likewise.
15402 * math/w_lgamma_r.c: Likewise.
15403 * math/w_lgammaf.c: Likewise.
15404 * math/w_lgammaf_r.c: Likewise.
15405 * math/w_lgammal.c: Likewise.
15406 * math/w_lgammal_r.c: Likewise.
15407 * math/w_sinh.c: Likewise.
15408 * math/w_sinhf.c: Likewise.
15409 * math/w_sinhl.c: Likewise.
15410 * math/w_tgamma.c: Likewise.
15411 * math/w_tgammaf.c: Likewise.
15412 * math/w_tgammal.c: Likewise.
15413 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15414 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15415 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15416 Minor optimizations. Pretty printing. Remove cruft.
15417 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15418 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15419 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15420 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15421 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15422 * sysdeps/i386/fpu/e_asin.S: Likewise.
15423 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15424 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15425 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15426 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15427 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15428 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15429 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15430 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15431 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15432 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15433 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15434 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15435 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15436 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15437 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15438 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15439 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15440 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15441 * sysdeps/i386/fpu/e_log.S: Likewise.
15442 * sysdeps/i386/fpu/e_log10.S: Likewise.
15443 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15444 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15445 * sysdeps/i386/fpu/e_log2.S: Likewise.
15446 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15447 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15448 * sysdeps/i386/fpu/e_logf.S: Likewise.
15449 * sysdeps/i386/fpu/e_logl.S: Likewise.
15450 * sysdeps/i386/fpu/e_pow.S: Likewise.
15451 * sysdeps/i386/fpu/e_powf.S: Likewise.
15452 * sysdeps/i386/fpu/e_powl.S: Likewise.
15453 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15454 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15455 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15456 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15457 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15458 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15459 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15460 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15461 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15462 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15463 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15465 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15466 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15467 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15468 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15469 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15470 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15471 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15472 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15473 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15474 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15475 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15476 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15478 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15479 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15480 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15481 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15482 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15483 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15484 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15485 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15486 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15487 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15488 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15489 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15490 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15491 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15492 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15493 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15494 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15495 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15496 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15497 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15498 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15499 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15500 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15501 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15502 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15503 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15512 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15513 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15522 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15531 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15532 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15533 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15534 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15539 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15542 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15545 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15546 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15547 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15548 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15550 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15553 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15554 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15555 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15556 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15557 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15558 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15559 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15560 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15561 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15562 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15563 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15564 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15565 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15566 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15567 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15568 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15569 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15570 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15571 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15572 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15573 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15574 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15575 (__isnanf): Likewise.
15576 (__isinf_ns): Likewise.
15577 (__isinf_nsf): Likewise.
15578 (__finite): Likewise.
15579 (__finitef): Likewise.
15580 (__ieee754_sqrt): Define as macro.
15581 (__ieee754_sqrtf): Define as macro.
15582 (__ieee754_sqrtl): Define as macro.
15583 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15584 inlined copy.
15585 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15586 __FINITE_MATH_ONLY__ consistent.
15587 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15588
12cc2fcd
AS
155892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15590
a843a204
AS
15591 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15592 of rawmemchr.
15593
12cc2fcd
AS
15594 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15595
c853acd5
UD
155962011-10-09 Ulrich Drepper <drepper@gmail.com>
15597
15598 * po/ja.po: Update from translation team.
15599
c658d255
RM
156002011-10-08 Roland McGrath <roland@hack.frob.com>
15601
110946e4
RM
15602 * locale/programs/locarchive.c (prepare_address_space): New function.
15603 (create_archive, enlarge_archive, open_archive): Use it.
15604
50604220
RM
15605 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15606 inside [SHARED], where it is used.
15607
c658d255
RM
15608 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15609
15610 * nss/getent.c (netgroup_keys): Remove unused variable.
15611 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15612
6a621eb7
UD
156132011-10-08 Ulrich Drepper <drepper@gmail.com>
15614
7edb55ce
UD
15615 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15616 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15617 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15618 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15619 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15620 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15621 * math/Makefile (libm-calls): Add s_isinf_ns.
15622 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15623 * math/multc3.c: Likewise.
15624 * math/s_casin.c: Likewise.
15625 * math/s_casinf.c: Likewise.
15626 * math/s_casinl.c: Likewise.
15627 * math/s_ccos.c: Likewise.
15628 * math/s_ccosf.c: Likewise.
15629 * math/s_ccosl.c: Likewise.
15630 * math/s_ctan.c: Likewise.
15631 * math/s_ctanf.c: Likewise.
15632 * math/s_ctanh.c: Likewise.
15633 * math/s_ctanhf.c: Likewise.
15634 * math/s_ctanhl.c: Likewise.
15635 * math/s_ctanl.c: Likewise.
15636 * math/w_fmod.c: Likewise.
15637 * math/w_fmodf.c: Likewise.
15638 * math/w_fmodl.c: Likewise.
15639 * math/w_remainder.c: Likewise.
15640 * math/w_remainderf.c: Likewise.
15641 * math/w_remainderl.c: Likewise.
15642 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15643 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15644 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15645 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15646 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15647 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15648 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15649 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15650
187da0ae
UD
15651 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15652 of the number.
15653 * stdio-common/printf_fphex.c: Likewise.
15654 * stdio-common/printf_size.c: Likewise.
15655
9277c064
UD
15656 * math/e_exp10.c: Include math_private.h using <...> not "...".
15657 * math/e_exp10f.c: Likewise.
15658 * math/e_exp10l.c: Likewise.
15659 * math/e_exp2l.c: Likewise.
15660 * math/e_j0l.c: Likewise.
15661 * math/e_j1l.c: Likewise.
15662 * math/e_jnl.c: Likewise.
15663 * math/e_lgammal_r.c: Likewise.
15664 * math/e_rem_pio2l.c: Likewise.
15665 * math/e_scalb.c: Likewise.
15666 * math/e_scalbf.c: Likewise.
15667 * math/e_scalbl.c: Likewise.
15668 * math/k_cosl.c: Likewise.
15669 * math/k_sinl.c: Likewise.
15670 * math/k_tanl.c: Likewise.
15671 * math/s_cacoshf.c: Likewise.
15672 * math/s_catan.c: Likewise.
15673 * math/s_catanf.c: Likewise.
15674 * math/s_catanh.c: Likewise.
15675 * math/s_catanhf.c: Likewise.
15676 * math/s_catanhl.c: Likewise.
15677 * math/s_catanl.c: Likewise.
15678 * math/s_ccosh.c: Likewise.
15679 * math/s_ccoshf.c: Likewise.
15680 * math/s_ccoshl.c: Likewise.
15681 * math/s_cexp.c: Likewise.
15682 * math/s_cexpf.c: Likewise.
15683 * math/s_cexpl.c: Likewise.
15684 * math/s_clog.c: Likewise.
15685 * math/s_clog10.c: Likewise.
15686 * math/s_clog10f.c: Likewise.
15687 * math/s_clog10l.c: Likewise.
15688 * math/s_clogf.c: Likewise.
15689 * math/s_clogl.c: Likewise.
15690 * math/s_csin.c: Likewise.
15691 * math/s_csinf.c: Likewise.
15692 * math/s_csinh.c: Likewise.
15693 * math/s_csinhf.c: Likewise.
15694 * math/s_csinhl.c: Likewise.
15695 * math/s_csinl.c: Likewise.
15696 * math/s_csqrt.c: Likewise.
15697 * math/s_csqrtf.c: Likewise.
15698 * math/s_csqrtl.c: Likewise.
15699 * math/s_ctan.c: Likewise.
15700 * math/s_ctanf.c: Likewise.
15701 * math/s_ctanh.c: Likewise.
15702 * math/s_ctanhf.c: Likewise.
15703 * math/s_ctanhl.c: Likewise.
15704 * math/s_ctanl.c: Likewise.
15705 * math/s_ldexp.c: Likewise.
15706 * math/s_ldexpf.c: Likewise.
15707 * math/s_ldexpl.c: Likewise.
15708 * math/s_significand.c: Likewise.
15709 * math/s_significandf.c: Likewise.
15710 * math/s_significandl.c: Likewise.
15711 * math/w_acos.c: Likewise.
15712 * math/w_acosf.c: Likewise.
15713 * math/w_acosh.c: Likewise.
15714 * math/w_acoshf.c: Likewise.
15715 * math/w_acoshl.c: Likewise.
15716 * math/w_acosl.c: Likewise.
15717 * math/w_asin.c: Likewise.
15718 * math/w_asinf.c: Likewise.
15719 * math/w_asinl.c: Likewise.
15720 * math/w_atan2.c: Likewise.
15721 * math/w_atan2f.c: Likewise.
15722 * math/w_atan2l.c: Likewise.
15723 * math/w_atanh.c: Likewise.
15724 * math/w_atanhf.c: Likewise.
15725 * math/w_atanhl.c: Likewise.
15726 * math/w_cosh.c: Likewise.
15727 * math/w_coshf.c: Likewise.
15728 * math/w_coshl.c: Likewise.
15729 * math/w_dremf.c: Likewise.
15730 * math/w_exp10.c: Likewise.
15731 * math/w_exp10f.c: Likewise.
15732 * math/w_exp10l.c: Likewise.
15733 * math/w_exp2.c: Likewise.
15734 * math/w_exp2f.c: Likewise.
15735 * math/w_fmod.c: Likewise.
15736 * math/w_fmodf.c: Likewise.
15737 * math/w_fmodl.c: Likewise.
15738 * math/w_hypot.c: Likewise.
15739 * math/w_hypotf.c: Likewise.
15740 * math/w_hypotl.c: Likewise.
15741 * math/w_j0.c: Likewise.
15742 * math/w_j0f.c: Likewise.
15743 * math/w_j0l.c: Likewise.
15744 * math/w_j1.c: Likewise.
15745 * math/w_j1f.c: Likewise.
15746 * math/w_j1l.c: Likewise.
15747 * math/w_jn.c: Likewise.
15748 * math/w_jnf.c: Likewise.
15749 * math/w_jnl.c: Likewise.
15750 * math/w_lgamma.c: Likewise.
15751 * math/w_lgamma_r.c: Likewise.
15752 * math/w_lgammaf.c: Likewise.
15753 * math/w_lgammaf_r.c: Likewise.
15754 * math/w_lgammal.c: Likewise.
15755 * math/w_lgammal_r.c: Likewise.
15756 * math/w_log.c: Likewise.
15757 * math/w_log10.c: Likewise.
15758 * math/w_log10f.c: Likewise.
15759 * math/w_log10l.c: Likewise.
15760 * math/w_log2.c: Likewise.
15761 * math/w_log2f.c: Likewise.
15762 * math/w_log2l.c: Likewise.
15763 * math/w_logf.c: Likewise.
15764 * math/w_logl.c: Likewise.
15765 * math/w_pow.c: Likewise.
15766 * math/w_powf.c: Likewise.
15767 * math/w_powl.c: Likewise.
15768 * math/w_remainder.c: Likewise.
15769 * math/w_remainderf.c: Likewise.
15770 * math/w_remainderl.c: Likewise.
15771 * math/w_scalb.c: Likewise.
15772 * math/w_scalbf.c: Likewise.
15773 * math/w_scalbl.c: Likewise.
15774 * math/w_sinh.c: Likewise.
15775 * math/w_sinhf.c: Likewise.
15776 * math/w_sinhl.c: Likewise.
15777 * math/w_sqrt.c: Likewise.
15778 * math/w_sqrtf.c: Likewise.
15779 * math/w_sqrtl.c: Likewise.
15780 * math/w_tgamma.c: Likewise.
15781 * math/w_tgammaf.c: Likewise.
15782 * math/w_tgammal.c: Likewise.
15783
6a621eb7
UD
15784 * po/ja.po: Update from translation team.
15785
bf582445
AJ
157862011-09-29 Andreas Jaeger <aj@suse.de>
15787
f9efbf3a
AJ
15788 [BZ #13179]
15789 * sunrpc/netname.c (netname2host): Fix logic.
15790
bf582445
AJ
15791 [BZ #6779]
15792 [BZ #6783]
15793 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15794 correctly.
15795 * math/w_remainder.c (__remainder): Likewise.
15796 * math/w_remainderf.c (__remainderf): Likewise.
15797 * math/libm-test.inc (remainder_test): Add test cases.
15798
48693bea
AK
157992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15800
15801 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15802 sdiv_qrnnd.
15803
42622229
LD
158042011-10-07 Ulrich Drepper <drepper@gmail.com>
15805
15806 * string/test-memcmp.c: Avoid unncessary #defines.
15807 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15808
093ecf92
LD
158092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15810
15811 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15812 Use new sse2 version for core i3 - i7 as it's faster
15813 than sse42 version.
15814 (bit_Prefer_PMINUB_for_stringop): New.
15815 * sysdeps/x86_64/rawmemchr.S: Update.
15816 Replace with faster SSE2 version.
15817 * sysdeps/x86_64/memrchr.S: New file.
15818 * sysdeps/x86_64/memchr.S: Update.
15819 Replace with faster SSE2 version.
15820
fde56e5c
MP
158212011-09-12 Marek Polacek <mpolacek@redhat.com>
15822
15823 * elf/dl-load.c (lose): Add cast to avoid warning.
15824
21fd49a9
UD
158252011-10-07 Ulrich Drepper <drepper@gmail.com>
15826
5a06e643
UD
15827 * po/ca.po: Update from translation team.
15828
684ae515
UD
15829 * inet/getnetgrent_r.c: Hook up nscd.
15830 * nscd/Makefile (routines): Add nscd_netgroup.
15831 (nscd-modules): Add netgroupcache.
15832 (CFLAGS-netgroupcache.c): Define.
15833 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15834 (cache_search): Add const to second parameter.
15835 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15836 INNETGR.
15837 (dbs): Add netgrdb entry.
15838 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15839 (verify_persistent_db): Handle netgrdb.
15840 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15841 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15842 GETFDNETGR.
15843 (netgroup_response_header): Define.
15844 (innetgroup_response_header): Define.
15845 (datahead): Add netgroup_response_header and innetgroup_response_header
15846 elements.
15847 * nscd/nscd.conf: Add entries for netgroup cache.
15848 * nscd/nscd.h (dbtype): Add netgrdb.
15849 (_PATH_NSCD_NETGROUP_DB): Define.
15850 (netgroup_iov_disabled): Declare.
15851 (xmalloc, xcalloc, xrealloc): Move declarations here.
15852 (cache_search): Adjust prototype.
15853 Add netgroup-related prototypes.
15854 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15855 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15856 (__nscd_innetgr): Declare.
15857 * nscd/selinux.c (perms): Use access_vector_t as element type and
15858 add netgroup-related initializers.
15859 * nscd/netgroupcache.c: New file.
15860 * nscd/nscd_netgroup.c: New file.
15861 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15862 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15863 For four parameters use innetgr.
15864 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15865 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15866 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15867 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15868
21fd49a9
UD
15869 * nscd/connections.c (register_traced_file): Don't register file
15870 for disabled databases.
15871
054c0457
UD
158722011-10-06 Ulrich Drepper <drepper@gmail.com>
15873
32b63198
UD
15874 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15875
054c0457
UD
15876 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15877 from tree and freeing node.
15878
64031225
JO
158792011-09-25 Jiri Olsa <jolsa@redhat.com>
15880
15881 * nss/nsswitch.c (__nss_database_lookup): Handle
15882 nss_parse_service_list out of memory case.
15883
0490345c
JO
158842011-09-15 Jiri Olsa <jolsa@redhat.com>
15885
15886 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15887 out of memory case.
15888
3a62d00d
AS
158892011-10-04 Andreas Schwab <schwab@redhat.com>
15890
15891 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15892 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15893 pass it down.
15894 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15895 elf_machine_rela, elf_machine_lazy_rel.
15896 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15897 (ELF_DYNAMIC_DO_REL): Likewise.
15898 (ELF_DYNAMIC_DO_RELA): Likewise.
15899 (ELF_DYNAMIC_RELOCATE): Likewise.
15900 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15901 to ELF_DYNAMIC_DO_REL.
15902 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15903 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15904 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15905 elf_machine_rela.
15906 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15907 skip_ifunc, don't call ifunc function if non-zero.
15908 (elf_machine_rela): Likewise.
15909 (elf_machine_lazy_rel): Likewise.
15910 (elf_machine_lazy_rela): Likewise.
15911 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15912 (elf_machine_lazy_rel): Likewise.
15913 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15914 Likewise.
15915 (elf_machine_lazy_rel): Likewise.
15916 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15917 Likewise.
15918 (elf_machine_lazy_rel): Likewise.
15919 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15920 (elf_machine_lazy_rel): Likewise.
15921 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15922 (elf_machine_lazy_rel): Likewise.
15923 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15924 (elf_machine_lazy_rel): Likewise.
15925 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15926 (elf_machine_lazy_rel): Likewise.
15927 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15928 (elf_machine_lazy_rel): Likewise.
15929 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15930 (elf_machine_lazy_rel): Likewise.
15931
68577918
UD
159322011-09-28 Ulrich Drepper <drepper@gmail.com>
15933
15934 * nss/nss_files/files-init.c (_nss_files_init): Use static
15935 initialization for all the *_traced_file variables.
15936
68822d74
AS
159372011-09-28 Andreas Schwab <schwab@redhat.com>
15938
15939 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15940
2056100b
RM
159412011-09-27 Roland McGrath <roland@hack.frob.com>
15942
15943 [BZ #13226]
15944 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15945
32c76b63
AS
159462011-09-27 Andreas Schwab <schwab@redhat.com>
15947
15948 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15949 Reread the line before reparsing it.
15950
bf972c9d
AS
159512011-09-26 Andreas Schwab <schwab@redhat.com>
15952
15953 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15954
e057a1b5
JM
159552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15956 Maxim Kuvyrkov <maxim@codesourcery.com>
15957 Joseph Myers <joseph@codesourcery.com>
15958
15959 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15960 if needed for __stack_chk_guard.
15961
bc7e1c36
RM
159622011-09-19 Roland McGrath <roland@hack.frob.com>
15963
ecb1482f
RM
15964 * sysdeps/posix/spawni.c (script_execute): Always define it.
15965 It will be optimized away if unused.
15966 (maybe_script_execute): New function.
15967 (__spawni): Call it.
15968
bc7e1c36
RM
15969 * Makerules: Don't include tls.make.
15970 (config-tls): Always set to thread.
15971 * tls.make.c: File removed.
15972
1c3b002b
MF
159732011-09-19 Mike Frysinger <vapier@gentoo.org>
15974
15975 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15976 * config.make.in (CPPFLAGS-config): New substituted variable.
15977
2840865d
UD
159782011-09-15 Ulrich Drepper <drepper@gmail.com>
15979
88738eb6
UD
15980 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15981
cbf645a6 15982 [BZ #13192]
2840865d
UD
15983 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15984 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15985
b402e91a
RM
159862011-09-15 Roland McGrath <roland@hack.frob.com>
15987
15988 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15989 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15990 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15991 (CALL_FAIL): Likewise.
15992 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15993 (CALL_FAIL): Macro removed.
15994 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15995
4c1a1f71
UD
159962011-09-15 Ulrich Drepper <drepper@gmail.com>
15997
15998 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15999 for __FINITE_MATH_ONLY__ == 1.
16000
edc121be
AS
160012011-09-15 Andreas Schwab <schwab@redhat.com>
16002
16003 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16004 __ieee754_sqrt instead of sqrt.
16005 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16006 __ieee754_sqrtf instead of sqrtf.
16007 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16008 __floorf instead of floorf.
16009 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16010 __floorf, __truncf instead of floorf, truncf.
16011
cd205654
UD
160122011-09-14 Ulrich Drepper <drepper@gmail.com>
16013
ee4d0315
UD
16014 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16015
cd205654
UD
16016 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16017 __extern_always_inline.
16018 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16019 32-bit.
16020
48b67d71
AS
160212011-09-14 Andreas Schwab <schwab@redhat.com>
16022
16023 * elf/rtld.c (dl_main): Also relocate in dependency order when
16024 doing symbol dependency testing.
16025
1ae12c75
AS
160262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16027
16028 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16029 Always define `refsym'.
16030
995a80df
AS
160312011-09-13 Andreas Schwab <schwab@redhat.com>
16032
e529793b
AS
16033 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16034 (__FD_ELT): Renamed from __FDELT.
16035 * misc/bits/select2.h (__FD_ELT): Likewise.
16036 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16037 __FD_MASK instead of __FDELT, __FDMASK.
16038 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16039 Likewise.
16040 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16041 Likewise.
16042
52d4fef8
AS
16043 * elf/Makefile (gen-ldd): Fix pattern.
16044
995a80df
AS
16045 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16046 (init_tls): Likewise.
16047
8682f8b0
UD
160482011-09-12 Ulrich Drepper <drepper@gmail.com>
16049
16050 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16051
de82006d
AS
160522011-09-12 Andreas Schwab <schwab@redhat.com>
16053
a7c8e6a1
AS
16054 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16055 `struct cmsghdr *' instead of `void *'.
16056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16057 Likewise.
16058
0f31fe77
AS
160592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16060
16061 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16062 if non-absolute.
16063 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16064 ldd_rewrite_script.
0f31fe77 16065
32b4c839
UD
160662011-09-11 Ulrich Drepper <drepper@gmail.com>
16067
83cd1420
UD
16068 * configure.in: Remove --with-tls option.
16069 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16070 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16071 out in case it is missing.
16072 * sysdeps/ia64/elf/configure.in: Likewise.
16073 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16074 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16075 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16076 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16077 * sysdeps/sh/elf/configure.in: Likewise.
16078 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16079 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16080 * sysdeps/x86_64/elf/configure.in: Likewise.
16081 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16082 * sysdeps/mach/hurd/tls.h: Likewise.
16083
633f745d
UD
16084 [BZ #13067]
16085 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16086
f318beb8
UD
16087 [BZ #13090]
16088 * configure.in: Fix use of AC_INIT.
16089
32b4c839
UD
16090 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16091
3ce1f295
UD
160922011-09-10 Ulrich Drepper <drepper@gmail.com>
16093
bb016596
UD
16094 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16095 __set_errno.
8e58439c
UD
16096 * malloc/hooks.c: Likewise.
16097
aebae053 16098 [BZ #11929]
02d46fc4
UD
16099 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16100 variables statically.
16101 (narenas): Initialize.
16102 (list_lock): Initialize.
bb016596
UD
16103 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16104 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16105 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16106 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16107 Add initializers to main_arena and mp_.
16108 (malloc_state): Remove pagesize member. Change all users to use
16109 GLRO(dl_pagesize).
16110
16111 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16112 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16113 is always initialized.
16114
22a89187
UD
16115 * malloc/malloc.c: Removed unused configurations and dead code.
16116 * malloc/arena.c: Likewise.
16117 * malloc/hooks.c: Likewise.
02d46fc4 16118 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16119
d063d164
UD
16120 * include/tls.h: Removed. USE___THREAD must always be defined.
16121 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16122 * elf/dl-libc.c: Likewise.
16123 * elf/dl-tsd.c: Likewise.
16124 * include/errno.h: Likewise.
16125 * include/netdb.h: Likewise.
16126 * include/resolv.h: Likewise.
16127 * inet/herrno-loc.c: Likewise.
16128 * inet/herrno.c: Likewise.
16129 * malloc/arena.c: Likewise.
16130 * malloc/hooks.c: Likewise.
16131 * malloc/malloc.c: Likewise.
16132 * resolv/res-state.c: Likewise.
16133 * resolv/res_libc.c: Likewise.
16134 * sysdeps/i386/dl-machine.h: Likewise.
16135 * sysdeps/ia64/dl-machine.h: Likewise.
16136 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16137 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16138 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16139 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16140 * sysdeps/sh/dl-machine.h: Likewise.
16141 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16142 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16143 * sysdeps/unix/i386/sysdep.S: Likewise.
16144 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16145 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16146 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16147 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16149 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16150 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16152 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16153 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16154 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16155 * sysdeps/x86_64/dl-machine.h: Likewise.
16156 * tls.make.c: Likewise.
16157
3ce1f295
UD
16158 * configure.in: Remove --with-__thread option. Make tests for
16159 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16160 tls_model attribute fail if no support is available. Remove
16161 USE_IN_LIBIO.
16162 * Makeconfig: Adjust for dropped configure option. All features are
16163 now mandatory.
16164 * Makerules: Likewise.
16165 * Versions.def: Likewise.
16166 * argp/argp-fmtstream.c: Likewise.
16167 * argp/argp-fmtstream.h: Likewise.
16168 * argp/argp-help.c: Likewise.
16169 * assert/assert.c: Likewise.
16170 * config.h.in: Likewise.
16171 * config.make.in: Likewise.
16172 * configure: Likewise.
16173 * configure.in: Likewise.
16174 * csu/Versions: Likewise.
16175 * csu/init.c: Likewise.
16176 * elf/tst-audit2.c: Likewise.
16177 * elf/tst-tls10.c: Likewise.
16178 * elf/tst-tls10.h: Likewise.
16179 * elf/tst-tls11.c: Likewise.
16180 * elf/tst-tls12.c: Likewise.
16181 * elf/tst-tls14.c: Likewise.
16182 * elf/tst-tlsmod11.c: Likewise.
16183 * elf/tst-tlsmod12.c: Likewise.
16184 * elf/tst-tlsmod13.c: Likewise.
16185 * elf/tst-tlsmod13a.c: Likewise.
16186 * elf/tst-tlsmod14a.c: Likewise.
16187 * elf/tst-tlsmod15b.c: Likewise.
16188 * elf/tst-tlsmod16a.c: Likewise.
16189 * elf/tst-tlsmod16b.c: Likewise.
16190 * elf/tst-tlsmod7.c: Likewise.
16191 * elf/tst-tlsmod8.c: Likewise.
16192 * elf/tst-tlsmod9.c: Likewise.
16193 * gmon/gmon.c: Likewise.
16194 * grp/fgetgrent_r.c: Likewise.
16195 * grp/putgrent.c: Likewise.
16196 * hurd/fopenport.c: Likewise.
16197 * include/libc-symbols.h: Likewise.
16198 * include/tls.h: Likewise.
16199 * intl/gettextP.h: Likewise.
16200 * intl/loadinfo.h: Likewise.
16201 * locale/global-locale.c: Likewise.
16202 * locale/localeinfo.h: Likewise.
16203 * mach/devstream.c: Likewise.
16204 * malloc/arena.c: Likewise.
16205 * malloc/set-freeres.c: Likewise.
16206 * misc/err.c: Likewise.
16207 * misc/getttyent.c: Likewise.
16208 * misc/mntent_r.c: Likewise.
16209 * posix/getopt.c: Likewise.
16210 * posix/wordexp.c: Likewise.
16211 * pwd/fgetpwent_r.c: Likewise.
16212 * resolv/Versions: Likewise.
16213 * resolv/res_hconf.c: Likewise.
16214 * shadow/fgetspent_r.c: Likewise.
16215 * shadow/putspent.c: Likewise.
16216 * stdio-common/printf_fphex.c: Likewise.
16217 * stdio-common/tmpfile.c: Likewise.
16218 * stdlib/abort.c: Likewise.
16219 * stdlib/fmtmsg.c: Likewise.
16220 * sunrpc/auth_unix.c: Likewise.
16221 * sunrpc/clnt_perr.c: Likewise.
16222 * sunrpc/clnt_tcp.c: Likewise.
16223 * sunrpc/clnt_udp.c: Likewise.
16224 * sunrpc/clnt_unix.c: Likewise.
16225 * sunrpc/openchild.c: Likewise.
16226 * sunrpc/svc_simple.c: Likewise.
16227 * sunrpc/svc_tcp.c: Likewise.
16228 * sunrpc/svc_udp.c: Likewise.
16229 * sunrpc/svc_unix.c: Likewise.
16230 * sunrpc/xdr.c: Likewise.
16231 * sunrpc/xdr_array.c: Likewise.
16232 * sunrpc/xdr_rec.c: Likewise.
16233 * sunrpc/xdr_ref.c: Likewise.
16234 * sunrpc/xdr_stdio.c: Likewise.
16235
1248c1c4
PB
162362011-09-09 Ulrich Drepper <drepper@gmail.com>
16237
16238 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16239
162402011-07-03 Andreas Jaeger <aj@suse.de>
16241
16242 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16243 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16244 regenerate with gen-libm-tests.pl.
16245
162462010-05-12 Petr Baudis <pasky@suse.cz>
16247
16248 [BZ #11589]
16249 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16250 around j0() zero points by switching to j1().
16251 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16252 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16253 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16254 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16255
f22e1074
UD
162562011-09-09 Ulrich Drepper <drepper@gmail.com>
16257
f19009c1
UD
16258 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16259 instead of 0.
16260 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16261 instead of 0. .
16262 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16263 Patch in part by Pavel Roskin <proski@gnu.org>.
16264
3f8cc204
UD
16265 [BZ #13138]
16266 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16267 realloc.
16268 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16269 Free memory block if necessary.
16270
f22e1074
UD
16271 [BZ #12847]
16272 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16273 be NULL. Don't lock in this case.
16274
0a2349f9
RM
162752011-09-09 Roland McGrath <roland@hack.frob.com>
16276
16277 * elf/elf.h (ELFOSABI_GNU): New macro.
16278 (ELFOSABI_LINUX): Define to that.
16279
f3cdd467
DZ
162802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16281
16282 * string/strncat.c (strncat): Undef the symbol in case it has been
16283 defined in bits/string.h.
16284
74718d13
UD
162852011-09-09 Ulrich Drepper <drepper@gmail.com>
16286
633e9e0f
UD
16287 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16288
0a2349f9 16289 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16290 link map.
16291
f9924780
AJ
162922011-08-17 Andreas Jaeger <aj@suse.de>
16293
16294 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16295
7f5517aa
PP
162962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16297 Ian Lance Taylor <iant@google.com>
16298
16299 * math/libm-test.inc (lround_test): New testcase.
16300 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16301
762011fe
UD
163022011-09-08 Ulrich Drepper <drepper@gmail.com>
16303
92963737
UD
16304 * Makefile: Remove support for automatic cvs check-ins.
16305 * Makerules: Likewise.
16306 * config.make.in: Likewise.
16307 * configure.in: Likewise.
16308 * intl/Makefile: Likewise.
16309 * locale/Makefile: Likewise.
16310 * po/Makefile: Likewise.
16311 * posix/Makefile: Likewise.
16312 * sysdeps/gnu/Makefile: Likewise.
16313 * sysdeps/mach/hurd/Makefile: Likewise.
16314 * sysdeps/sparc/sparc32/Makefile: Likewise.
16315
b0727fd8
JS
16316 [BZ #13118]
16317 * posix/Makefile (bug-regex32-ENV): Define.
16318 Patch by John Stanley <jpsinthemix@verizon.net>.
16319
a0f33f99
UD
16320 * misc/Makefile (headers): Add bits/select2.h.
16321 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16322 * misc/bits/select2.h: New file.
16323 * include/bits/select2.h: New file.
16324 * debug/Makefile (routines): Add fdelt_chk.
16325 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16326 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16327 FD_ISSET.
16328 * debug/fdelt_chk.c: New file.
16329
762011fe
UD
16330 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16331 * wcsmbs/test-wmemcmp.c: Likewise.
16332 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16333 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16334
163352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16336
16337 * string/Makefile (strop-tests): Add memcmp.
16338 * string/test-wmemcmp.c: New file.
16339 * string/test-memcmp.c: Add wmemcmp support.
16340
7f513ec8
RM
163412011-09-08 Roland McGrath <roland@hack.frob.com>
16342
0442afb4
RM
16343 [BZ #13153]
16344 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16345 2011-07-19 change.
16346
7f513ec8
RM
16347 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16348 garbage value in a __mach_port_mod_refs call in the cases of the
16349 task-self and thread-self ports.
16350
a12b2239
ST
163512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16352
16353 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16354
610f9ab4
AS
163552011-09-08 Andreas Schwab <schwab@redhat.com>
16356
7f513ec8 16357 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16358
48882a1a
LD
163592011-09-07 Ulrich Drepper <drepper@gmail.com>
16360
b49865be
UD
16361 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16362
fdc86bc9
UD
16363 * elf/dl-libc.c (dlerror_run): Pass back error code from
16364 dl_catch_error.
16365
c966526a
UD
16366 [BZ #13123]
16367 * elf/dl-load.c (lose): Free l_origin if it is valid.
16368
48882a1a
LD
16369 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16370 names.
16371 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16372 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16373 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16374 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16375 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16376 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16377
77a2a8b4
AZ
163782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16379
16380 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16381 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16382 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16383 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16384 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16385 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16386 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16387 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16388 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16389 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16390
24f579d8
AM
163912011-08-15 Alan Modra <amodra@gmail.com>
16392
16393 [BZ #13092]
16394 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16395 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16396 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16397 ppc_mcount to static-only-routines.
16398 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16399 __mcount_internal.
16400 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16401 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16402
3d4837df
UD
164032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16404
16405 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16406 for finite and infinity parameters.
16407
22700377
WS
164082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16409
16410 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16411 and add nop instructions for throughput optimization.
16412 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16413
5025581e
WS
164142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16415
16416 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16417 aligned copy for power7 with vector-scalar instructions.
16418 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16419
08a300c9
L
164202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16421
16422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16423 AVX check.
16424
59178ef9
AS
164252011-09-07 Andreas Schwab <schwab@redhat.com>
16426
16427 [BZ #13144]
16428 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16429 last change.
16430
e38ba7ab
UD
164312011-09-07 Ulrich Drepper <drepper@gmail.com>
16432
16433 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16434 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16435 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16436 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16437 clock_gettime.
16438
d53a73ac
UD
164392011-09-06 Ulrich Drepper <drepper@gmail.com>
16440
fc8bffcc
UD
16441 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16442 Forgot to demangle the pointer.
16443
ceaa0c5d
UD
16444 * sysdeps/i386/sysdep.h: Define atom_text_section.
16445 * sysdeps/x86_64/sysdep.h: Likewise.
16446 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16447 section with atom_text_section.
16448 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16449 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16450 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16451 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16452 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16453
a77d3c17
UD
16454 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16455 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16456 already be defined. Change to take two parameters and don't assign
16457 result to variable. Adjust all users.
16458 Define INTERNAL_GETTIME if not already defined.
16459 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16460 call.
16461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16462 HAVE_CLOCK_GETTIME_VSYSCALL.
16463 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16464
d53a73ac
UD
16465 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16466 gettimeofday vsyscall, just use time.
16467
a8f84144
AS
164682011-09-06 Andreas Schwab <schwab@redhat.com>
16469
16470 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16471 <errno.h>.
16472
ef606249
UD
164732011-09-06 Ulrich Drepper <drepper@gmail.com>
16474
16475 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16476 syscall on x86-64.
16477 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16478 syscall.
16479 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16480 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16481 syscall if possible.
16482
6585cb60
UD
164832011-09-05 Ulrich Drepper <drepper@gmail.com>
16484
16485 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16486 e_ident. Don't pass to find_mapsXX.
16487 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16488
a5f524e4
LD
164892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16490
16491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16492 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16493 * sysdeps/x86_64/multiarch/strchr.S: Update.
16494 Check bit_slow_BSF bit.
16495 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16496 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16497 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16498
554881ef
UD
164992011-09-05 Ulrich Drepper <drepper@gmail.com>
16500
d96de963
UD
16501 [BZ #13134]
16502 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16503 before glibc 2.15.
16504 (tryshell): Define.
16505 (__spawni): Change last parameter to be flag. Test
16506 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16507 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16508 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16509 * posix/spawni.c: Likewise.
16510 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16511 * posix/spawnp.c: Likewise. Change normal version to use
16512 SPAWN_XFLAGS_USE_PATH.
16513 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16514 SPAWN_XFLAGS_TRY_SHELL.
16515
d48e5868
UD
16516 [BZ #13150]
16517 * posix/glob.h: Remove gcc 1.x support.
16518
554881ef
UD
16519 [BZ #13068]
16520 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16521
693fb948
LD
165222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16523
16524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16525 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16526 strrchr-sse2-bsf
16527 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16528 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16529 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16530 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16531 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16532 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16533
1b48c537
UD
165342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16535
49d42c37
UD
16536 * sysdeps/x86_64/wcscmp.S: New file.
16537
1b48c537
UD
16538 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16539 wcscmp-c wcscmp-sse2
16540 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16541 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16542 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16543 * wcsmbs/wcscmp.c: Allow renaming.
16544
15c95c5d
DM
165452011-09-05 David S. Miller <davem@davemloft.net>
16546
16547 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16548 stack slot, rather than the struct return pointer slot.
16549 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16550 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16552 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16553
2f0ad8f3
UD
165542011-09-05 Ulrich Drepper <drepper@gmail.com>
16555
d88ae418
UD
16556 * po/ja.po: Update from translation team.
16557
2f0ad8f3
UD
16558 [BZ #13144]
16559 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16560 kernel in 64-bit binaries.
16561
5f4318d1
DM
165622011-09-01 David S. Miller <davem@davemloft.net>
16563
16564 * elf/elf.h (HWCAP_SPARC_*): Move to..
16565 * sysdeps/sparc/sysdep.h: this new file and add new values.
16566 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16567 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16568 _DL_HWCAP_COUNT to 24.
16569 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16570 entries.
16571 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16572 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16573 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16574 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16575 instead of magic constants.
16576 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16577
3ba57516
DM
165782011-08-31 David S. Miller <davem@davemloft.net>
16579
16580 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16581 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16582 Reimplement to do errno handling inline.
16583 (SYSCALL_ERROR_HANDLER): New macro.
16584 (__SYSCALL_STRING): Do not do errno handling in asm.
16585 (__CLONE_SYSCALL_STRING): Delete.
16586 (__INTERNAL_SYSCALL_STRING): Delete.
16587 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16588 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16589 (PSEUDO): Reimplement to do errno handling inline.
16590 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16591 (SYSCALL_ERROR_HANDLER): New macro.
16592 (__SYSCALL_STRING): Do not do errno handling in asm.
16593 (__CLONE_SYSCALL_STRING): Delete.
16594 (__INTERNAL_SYSCALL_STRING): Delete.
16595 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16596 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16597 i386.
16598 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16599 (inline_syscall*): Add 'err' argument.
16600 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16601 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16602 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16603 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16604
16605 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16606 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16607
2bc17433
AS
166082011-08-30 Andreas Schwab <schwab@redhat.com>
16609
16610 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16611
fbeb5f4d
JO
166122011-08-29 Jiri Olsa <jolsa@redhat.com>
16613
16614 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16615 directive.
16616
ad69cc26
DM
166172011-08-24 David S. Miller <davem@davemloft.net>
16618
16619 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16620
39dd69df
AS
166212011-08-24 Andreas Schwab <schwab@redhat.com>
16622
16623 * elf/Makefile: Add rules to build and run unload8 test.
16624 * elf/unload8.c: New file.
16625 * elf/unload8mod1.c: New file.
16626 * elf/unload8mod1x.c: New file.
16627 * elf/unload8mod2.c: New file.
16628 * elf/unload8mod3.c: New file.
16629
16630 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16631 it wasn't used.
16632
2c0b250a
DM
166332011-08-23 David S. Miller <davem@davemloft.net>
16634
16635 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16636 subtract stack bias.
16637 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16638 %sp not %fp in calculations.
16639 (_JMPBUF_UNWINDS_ADJ): Likewise.
16640
22044b48
DM
16641 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16642 (aio_suspend): Call it to force an exception region around the
16643 AIO_MISC_WAIT() invocation.
16644
2cae4995
AS
166452011-08-23 Andreas Schwab <schwab@redhat.com>
16646
16647 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16648 backslash.
16649
873a772e
AJ
166502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16651
16652 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16653 protection macro.
16654 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16655 and <dl-machine.h>.
16656 (Elf64_FuncDesc): Remove.
16657
25ad0df1
DM
166582011-08-22 David S. Miller <davem@davemloft.net>
16659
16660 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16661 sigaltstack check, add missing cfi directives.
16662 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16663 missing cfi directives, and sigaltstack handling.
16664
e888bcbe
AS
166652011-08-16 Andreas Schwab <schwab@redhat.com>
16666
16667 [BZ #11724]
16668 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16669 object is seen twice.
16670 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16671
16672 * elf/Makefile (distribute): Add tst-initorder2.c.
16673 (tests): Add tst-initorder2.
16674 (modules-names): Add tst-initorder2a tst-initorder2b
16675 tst-initorder2c tst-initorder2d. Add rules to build them.
16676 ($(objpfx)tst-initorder2.out): New rule.
16677 * elf/tst-initorder2.c: New file.
16678 * elf/tst-initorder2.exp: New file.
16679
87162f46
AS
166802011-08-22 Andreas Schwab <schwab@redhat.com>
16681
70538b7f
AS
16682 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16683
f55ffe58
AS
16684 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16685 dependencies back to end of function.
16686
87162f46
AS
16687 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16688 $(elfobjdir)/ld.so.
16689
91b392a4
UD
166902011-08-21 Ulrich Drepper <drepper@gmail.com>
16691
16692 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16693 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16695 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16696 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16697 of __vdso_gettimeofday.
16698 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16699 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16700 attribute_hidden.
16701 (_libc_vdso_platform_setup): Remove initialization of
16702 __vdso_gettimeofday and __vdso_time.
16703
5c43483f
UD
167042011-08-20 Ulrich Drepper <drepper@gmail.com>
16705
775a77e7
UD
16706 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16707 and fgetc_unlocked.
16708 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16709 getc_unlocked.
89f447ed 16710
49c74ba9
UD
16711 * elf/dl-open.c (add_to_global): Report additions to the global scope
16712 for LD_DEBUG=scopes.
16713 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16714 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16715
5c43483f
UD
16716 [BZ #13114]
16717 * stdio-common/Makefile (tests): Add bug24.
16718 * stdio-common/bug24.c: New file.
16719
a101b025
AJ
167202011-08-19 Andreas Jaeger <aj@suse.de>
16721
16722 [BZ #13114]
16723 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16724 non-existant file when using close-on-exec mode.
16725
c88f1766
UD
167262011-08-20 Ulrich Drepper <drepper@gmail.com>
16727
0276a718
UD
16728 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16729 the very first instruction.
16730
c88f1766
UD
16731 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16732 the CFI state in the end.
16733 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16734 inclusion of dl-trampoline.h.
16735 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16736
51ccffa0
AS
167372011-08-19 Andreas Schwab <schwab@redhat.com>
16738
94d7165f
AS
16739 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16740 expectations for long double.
16741
51ccffa0
AS
16742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16743 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16744
fd708658 167452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16746
16747 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16748 artificual limit depends upon the system page size.
16749
44f0a71e
UD
167502011-08-17 Ulrich Drepper <drepper@gmail.com>
16751
16752 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16753 * resolv/Makefile: Define CFLAGS-libresolv.
16754
8de79a24
AS
167552011-08-17 Andreas Schwab <schwab@redhat.com>
16756
16757 * nss/makedb.c (compute_tables): Make variables used in nested
16758 function static.
16759
27724598
UD
167602011-08-17 Ulrich Drepper <drepper@gmail.com>
16761
c5305d88
UD
16762 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16763 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16764 if buffer was too small.
16765
27724598
UD
16766 * elf/pldd.c (main): Attach to all threads in the process.
16767 Rewrite /proc handling to use *at functions.
16768
076fe015
UD
167692011-08-16 Ulrich Drepper <drepper@gmail.com>
16770
174baab3
UD
16771 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16772 specifies first scope to show.
16773 (dl_open_worker): Update callers. Move printing scope of new
16774 object to before the relocation.
44f0a71e 16775 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16776 * sysdeps/generic/ldsodefs.h: Update declaration.
16777
076fe015
UD
16778 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16779 string for the scope number.
16780
a60df2c3
UD
167812011-08-14 Ulrich Drepper <drepper@gmail.com>
16782
16783 * nscd/servicescache.c (cache_addserv): Make sure written is always
16784 initialized.
16785
5e4287d1
RM
167862011-08-14 Roland McGrath <roland@hack.frob.com>
16787
85ae0589
RM
16788 * sysdeps/i386/i486/bits/atomic.h
16789 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16790 statement expression, so as to suppress "set but not used" warning.
16791 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16792
69f63097
RM
16793 * string/strncat.c (STRNCAT): Use prototype definition.
16794
675456ef
RM
16795 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16796 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16797 -Iprograms here.
16798 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16799 (localedef-modules): Add localedef.
16800 (locale-modules): Add locale.
16801
5e4287d1
RM
16802 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16803 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16804 to avoid a warning.
16805
9c96ff23
DM
168062011-08-14 David S. Miller <davem@davemloft.net>
16807
16808 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16809 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16810
f9ddf089
UD
168112011-08-13 Ulrich Drepper <drepper@gmail.com>
16812
44f0a71e 16813 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16814 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16815 * elf/rtld.c (dl_main): Set l_name of vDSO.
16816 Call _dl_show_scope when DL_DEBUG_SCOPES.
16817 (process_dl_debug): Recognize scopes flag and also set it for all.
16818 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16819 Declare _dl_show_scope.
16820
1dc27704
UD
16821 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16822 (do_dlopen): Pass caller_dlopen to dl_open.
16823 (__libc_dlopen_mode): Initialize caller_dlopen.
16824
f9ddf089
UD
16825 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16826 of libc. Make tolower call locale-independent. Optimize a bit by
16827 using isdigit instead of isalnum.
16828 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16829
9ac533d3
UD
168302011-08-12 Ulrich Drepper <drepper@gmail.com>
16831
16832 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16833 was a dependency or dynamically loaded.
16834
89edf2e9
UD
168352011-08-11 Ulrich Drepper <drepper@gmail.com>
16836
8e999d29
UD
16837 * intl/l10nflist.c: Allow architecture-specific pop function.
16838 * sysdeps/x86_64/l10nflist.c: New file.
16839
89edf2e9
UD
16840 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16841 classification.
16842
14d96785
AS
168432011-08-10 Andreas Schwab <schwab@redhat.com>
16844
16845 * include/dirent.h: Add libc_hidden_proto for scandirat and
16846 scandirat64. Don't declare __scandirat64.
16847 * dirent/scandirat.c: Add libc_hidden_def.
16848 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16849 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16850
6761ac04
DM
168512011-08-10 David S. Miller <davem@davemloft.net>
16852
16853 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16854 enum.
16855 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16856 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16857 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16858
c55fbd1e
UD
168592011-08-09 Ulrich Drepper <drepper@gmail.com>
16860
16861 * Versions.def [libc]: Add GLIBC_2.15.
16862 * dirent/Makefile (routines): Add scandirat and scandirat64.
16863 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16864 GLIBC_2.15.
16865 * dirent/dirent.h: Declare scandirat and scandirat64.
16866 * dirent/scandirat.c: New file.
16867 * dirent/scandirat64.c: New file.
16868 * sysdeps/wordsize-64/scandirat.c: New file.
16869 * sysdeps/wordsize-64/scandirat64.c: New file.
16870 * dirent/opendir.c: Define opendirat.
16871 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16872 using scandirat.
16873 * dirent/scandir64.c: Adjust for scandir.c change.
16874 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16875 __scandirat64, and __scandir_cancel_handler.
16876 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16877 additional parameter and use openat instead of open (outside of ld.so).
16878 Add new __opendir as wrapper around __opendirat.
16879 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16880 here without requiring old scandirat implementation.
16881
879165f2
UD
168822011-08-08 Ulrich Drepper <drepper@gmail.com>
16883
16884 * dirent/scandir.c (cancel_handler): Renamed to
16885 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16886 defined. Adjust users.
16887 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16888 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16889
cb7e923b
UD
168902011-08-04 Ulrich Drepper <drepper@gmail.com>
16891
16292edd
UD
16892 * string/test-string.h (IMPL): Use __STRING to expand name and then
16893 stringify it.
16894
cb7e923b
UD
16895 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16896 of cleanups.
16897
cff82933
LD
168982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16899
16900 * string/Makefile: Update.
16901 (strop-tests): Append strncat.
16902 * string/test-wcscmp.c: New file.
16903 New comprehensive test for wcscmp.
16904 * string/test-strcmp.c: Update.
16905 (WIDE): New define.
16906
9be9bfcc
AS
169072011-07-22 Andreas Schwab <schwab@redhat.com>
16908
16909 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16910 line.
16911
2e96f1c7
AS
169122011-07-26 Andreas Schwab <schwab@redhat.com>
16913
16914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16915 encoding to ACE if AI_IDN.
16916
85188888
JJ
169172011-08-01 Jakub Jelinek <jakub@redhat.com>
16918
16919 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16920 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16921
5fa16e9b
LD
169222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16923
16924 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16925 Fix overflow bug in strncat.
16926 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16927
16928 * string/test-strncat.c: Update.
16929 Add new tests for checking overflow bugs.
16930
169312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16932
16933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16934 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16935 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16936 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16937 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16938 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16939 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16940 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16941 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16942
16943 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16944 (USE_AS_STRCAT): Define.
16945 Add strcat and strncat support.
16946 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16947
8c1a459f
AS
169482011-07-25 Andreas Schwab <schwab@redhat.com>
16949
16950 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16951 __n bigger than INT_MAX+1.
16952 (__strncmp_g): Likewise.
16953
bba33c28
UD
169542011-07-23 Ulrich Drepper <drepper@gmail.com>
16955
798be72d
UD
16956 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16957 * libio/stido.h: Likewise.
16958
8accd4dc
UD
16959 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16960 (AF_NFC): Define.
16961 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16962 (AF_NFC): Define.
16963
cbff0d96
UD
16964 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16965 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16966 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16967 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16968 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16969
9191c04a
UD
16970 [BZ #13021]
16971 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16972 installed.
16973
bba33c28
UD
16974 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16975 typo.
16976 (_dl_x86_64_save_sse): Likewise.
16977
90f139dd
UD
169782011-07-22 Ulrich Drepper <drepper@gmail.com>
16979
1aae088a
UD
16980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16981 OSXSAVE.
16982 (_dl_x86_64_save_sse): Likewise.
16983
8e2045f5
UD
16984 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16985
90f139dd
UD
16986 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16987
1d002f25
AS
169882011-07-21 Andreas Schwab <schwab@redhat.com>
16989
16990 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16991 change.
16992 (_dl_x86_64_save_sse): Use correct AVX check.
16993
21137f89
UD
169942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16995
16996 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16997 bug in strncpy/strncat.
16998 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16999
a65c0b7a
UD
170002011-07-21 Ulrich Drepper <drepper@gmail.com>
17001
17002 * string/tester.c (test_strcat): Add tests for different alignments
17003 of source and destination.
17004 (test_strncat): Likewise.
17005
6986b98a
UD
170062011-07-20 Ulrich Drepper <drepper@gmail.com>
17007
90bb2039
UD
17008 [BZ #12852]
17009 * posix/glob.c (glob): Check passed in values before using them in
17010 expressions to avoid some overflows.
17011 (glob_in_dir): Likewise.
17012
5644ef54
UD
17013 [BZ #13007]
17014 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17015 check for AVX enablement so that we don't crash with old kernels and
17016 new hardware.
17017 * elf/tst-audit4.c: Add same checks here.
17018 * elf/tst-audit6.c: Likewise.
17019
17020 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17021
bfc9dc9b
AS
170222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17023
17024 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17025
702e64bb
UD
170262011-07-20 Ulrich Drepper <drepper@gmail.com>
17027
17028 * po/cs.po: Update from translation team.
17029 * po/bg.po: Likewise.
17030
295e904f
MP
170312011-07-12 Marek Polacek <mpolacek@redhat.com>
17032
17033 * misc/sys/cdefs.h: Add support for const attribute.
17034 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17035 to gnu_dev_{major,minor,makedev} functions.
17036
3ff94596
MP
170372011-07-20 Marek Polacek <mpolacek@redhat.com>
17038
17039 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17040
28b59fca
AS
170412011-07-20 Andreas Schwab <schwab@redhat.com>
17042
17043 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17044 strlen results.
17045
19df733e
AK
170462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17047
17048 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17049 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17050 register in order to avoid conflicts with the soft frame pointer
17051 being held in r11 when necessary.
17052 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17053 (INTERNAL_VSYSCALL_NCS): Likewise.
17054
c8835729
MP
170552011-07-14 Marek Polacek <mpolacek@redhat.com>
17056
17057 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17058 * elf/dl-fini.c (_dl_fini): Adjust caller.
17059 * elf/dl-close.c (_dl_close_worker): Likewise.
17060 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17061
b902330c
MP
170622011-07-15 Marek Polacek <mpolacek@redhat.com>
17063
8991e135
MP
17064 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17065 "aux_cache->nlibs < 0".
17066
b902330c
MP
17067 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17068 in the reload-count case.
17069
99710781
LD
170702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17071
17072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17073 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17074 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17075 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17076 * sysdeps/x86_64/multiarch/strcat.S: New file.
17077 * sysdeps/x86_64/multiarch/strncat.S: New file.
17078 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17079 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17080 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17081 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17082 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17083 (USE_AS_STRCAT): Define.
17084 Add strcat and strncat support.
17085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17086 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17087 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17088 * string/strncat.c: Update.
17089 (USE_AS_STRNCAT): Define.
17090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17091 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17092 and i7.
17093 * sysdeps/x86_64/multiarch/init-arch.h
17094 (bit_Prefer_PMINUB_for_stringop): New.
17095 (index_Prefer_PMINUB_for_stringop): Likewise.
17096 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17097 bit_Prefer_PMINUB_for_stringop.
17098
7dc6bd90
UD
170992011-07-19 Ulrich Drepper <drepper@gmail.com>
17100
17101 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17102 buffer64.
17103 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17104 of casting of buffer.
17105 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17106 buffer32 and buffer64.
17107 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17108 writes instead of casting of buffer.
17109 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17110 buffer32.
17111 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17112 casting of buffer.
17113
e0e72284
AS
171142011-07-19 Andreas Schwab <schwab@redhat.com>
17115
17116 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17117
feb1eb0b
UD
171182011-07-19 Ulrich Drepper <drepper@gmail.com>
17119
17120 * nscd/nscd.c (termination_handler): Don't do anything for a database
17121 if it has not yet been initialized.
17122
298711ff
UD
171232011-07-18 Ulrich Drepper <drepper@gmail.com>
17124
17125 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17126
171272011-07-15 Marek Polacek <mpolacek@redhat.com>
17128
17129 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17130
f9d68389
UD
171312011-07-18 Ulrich Drepper <drepper@gmail.com>
17132
17133 * po/nl.po: Update from translation team.
17134 * po/sv.po: Likewise.
17135
db290cf5
RM
171362011-07-16 Roland McGrath <roland@hack.frob.com>
17137
17138 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17139 now disallowed by GCC.
5c550700 17140
fd5e21c7
RM
17141 * configure.in (use-default-link): Default to yes if a test -shared
17142 link meets our qualifications.
17143 * configure: Regenerated.
17144
5c550700
RM
17145 * config.make.in (output-format): New variable.
17146 * configure.in: Check for ld --print-output-format support.
17147 * configure: Regenerated.
17148 * Makerules ($(common-objpfx)format.lds)
17149 [$(output-format) != unknown]: Just use $(output-format),
17150 instead of the linker-script munging.
17151
9fa2c032
RM
171522011-07-14 Roland McGrath <roland@hack.frob.com>
17153
a6928d51
RM
17154 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17155 of $(common-objpfx)shlib.lds.
17156 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17157
661607b3
RM
17158 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17159 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17160
9fa2c032
RM
17161 * configure.in (-z relro check): Adjust test code to add a large
17162 writable data section after it.
17163 * configure: Regenerated.
17164
defe9061
RM
171652011-07-11 Roland McGrath <roland@hack.frob.com>
17166
17167 * configure.in (-z relro check): Fix test code to make the variable
17168 truly const.
17169 * configure: Regenerated.
17170
319b9ad4
UD
171712011-07-11 Ulrich Drepper <drepper@gmail.com>
17172
17173 * nscd/nscd.h (struct traced_file): Define.
17174 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17175 elements. Add traced_files.
17176 (inotify_fd): Declare.
17177 (register_traced_file): Declare.
17178 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17179 (inotify_fd): Export.
17180 (resolv_conf_descr): Remove.
17181 (nscd_init): Move inotify descriptor creation to main.
17182 Don't register files for notification here.
17183 (register_traced_file): New function.
17184 (invalidate_cache): Don't use reset_res to determine whether to call
17185 res_init, go through the list of registered files.
17186 (main_loop_poll): The inotify descriptors are now stored in the
17187 structures for the traced files.
17188 (main_loop_epoll): Likewise
17189 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17190 to __nss_disable_nscd.
17191 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17192 for a database anymore. Check the records for all the registered
17193 files instead.
17194 * nss/Makefile (libnss_files-routines): Add files-init.
17195 (libnss_db-routines): Add db-init.
17196 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17197 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17198 * nss/nss_db/db-init.c: New file.
17199 * nss/nss_files/files-init.c: New file.
17200 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17201 __nss_lookup_function.
17202 (__nss_lookup_function): Call nss_load_library.
17203 (nss_load_all_libraries): New function.
17204 (__nss_disable_nscd): Take parameter with callback function for files
17205 to register. Set is_nscd. Load all the DSOs for the NSS modules
17206 used for the cached services.
17207 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17208 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17209 options for features to all the files in nscd.
17210
17211 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17212
23bee3e8
RM
172132011-07-10 Roland McGrath <roland@hack.frob.com>
17214
17215 * csu/elf-init.c (__libc_csu_init): Comment typo.
17216
46a5b7f0
UD
172172011-07-09 Ulrich Drepper <drepper@gmail.com>
17218
17219 * po/pl.po: Update from translation team.
17220 * po/ja.po: Likewise.
17221 * po/ru.po: Likewise.
17222 * po/ko.po: Likewise.
17223 * po/fr.po: Likewise.
17224
d30cf5bb
RM
172252011-07-09 Roland McGrath <roland@hack.frob.com>
17226
113ddea4
RM
17227 * configure.in (.ctors/.dtors header and trailer check):
17228 Use an empirical test on a built program.
17229 * configure: Regenerated.
17230
574920b4
RM
17231 * configure.in (-z relro check): Use an empirical test on a built DSO.
17232 Detect, but do not require, on ia64.
17233 * configure: Regenerated.
17234
d30cf5bb
RM
17235 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17236 Update tests that use readelf to use $READELF instead.
17237 * configure: Regenerated.
17238
8538fdb3
UD
172392011-07-08 Ulrich Drepper <drepper@gmail.com>
17240
17241 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17242 if the result is not used.
17243
04d08991
AJ
172442011-07-05 Andreas Jaeger <aj@suse.de>
17245
17246 [BZ#9696]
17247 * stdlib/tst-strtod.c: Add testcase.
17248
de283087
AD
172492011-07-07 Ulrich Drepper <drepper@gmail.com>
17250
4e5f31c8 17251 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17252 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17253 The latter has a higher limit. Take additional parameter to pass to
17254 the new function.
17255 (__pathconf): Pass file to __statfs_link_max.
17256 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17257 __statfs_link_max.
17258 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17259 __statfs_link_max.
17260
de283087
AD
17261 [BZ #12868]
17262 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17263 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17264 Handle Lustre.
17265 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17266 (__statfs_filesize_max): Likewise.
17267 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17268
c75fa153
AJ
172692011-07-05 Andreas Jaeger <aj@suse.de>
17270
17271 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17272
1a544854
UD
172732011-07-06 Marek Polacek <mpolacek@redhat.com>
17274
17275 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17276 `status' variable.
17277 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17278 Likewise.
17279
6f0eec67
UD
172802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17281
17282 * Makefile (strop-tests): Add strncat.
17283 * string/test-strncat.c: New file.
17284
aae30307
UD
172852011-06-30 Marek Polacek <mpolacek@redhat.com>
17286
17287 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17288
c0cfb5eb
UD
172892011-06-21 Andreas Jaeger <aj@suse.de>
17290
17291 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17292 Copy rule from iconvdata/Makefile.
17293
01636b21
UD
172942011-07-06 Ulrich Drepper <drepper@gmail.com>
17295
17296 [BZ #12922]
17297 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17298 but no long options are defined, just return 'W'.
17299
9895c8bc
UD
173002011-06-22 Marek Polacek <mpolacek@redhat.com>
17301
17302 [BZ #9696]
17303 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17304
5d4cf042
UD
173052011-07-06 Ulrich Drepper <drepper@gmail.com>
17306
17307 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17308 netgroups to read.
960e5535 17309 (innetgr): Likewise.
5d4cf042 17310
751eb97e
RM
173112011-07-05 Roland McGrath <roland@hack.frob.com>
17312
17313 * config.make.in (install_root): Default to $(DESTDIR).
17314
f15f1e45
UD
173152011-07-05 Ulrich Drepper <drepper@gmail.com>
17316
17317 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17318
4e34ac6a
RM
173192011-07-02 Roland McGrath <roland@hack.frob.com>
17320
5e9b6af4
RM
17321 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17322
84f9ea0f
RM
17323 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17324 containing directory rather than embedding absolute directory names.
17325
ea5ee9f7
RM
17326 * scripts/check-local-headers.sh: Rewritten using awk.
17327 Match by word, not by line. Print error messages for matches.
17328 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17329
1b74661a
RM
17330 * Makerules [shlib-lds-flags empty]:
17331 ($(common-objpfx)libc_pic.opts): New target.
17332 ($(common-objpfx)libc_pic.os.clean): New target.
17333 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17334
17335 * config.make.in (OBJCOPY): New variable.
17336 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17337 * configure: Regenerated.
17338
f781ef40
RM
17339 * config.make.in (use-default-link): New variable.
17340 * configure.in (use_default_link): Grok --with-default-link to set it.
17341 * configure: Regenerated.
17342 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17343 (shlib-lds, shlib-lds-flags): Define to empty.
17344
2d4fa81e
RM
17345 * Makerules (shlib-lds): New variable.
17346 (shlib-lds-flags): New variable.
17347 (build-shlib, build-moduile, build-module-asneeded): Use it.
17348 ($(common-objpfx)libc.so): Use $(shlib-lds).
17349 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17350 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17351
31fffa6b
RM
17352 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17353 DT_FLAGS/DT_FLAGS_1 with zero flags.
17354
4e34ac6a
RM
17355 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17356 linker script munging.
17357
fcfc776b
UD
173582011-07-02 Ulrich Drepper <drepper@gmail.com>
17359
17360 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17361 as 128-bit value.
17362 * crypt/sha512.c (sha512_process_block): Perform total addition using
17363 128-bit if possible.
17364 (__sha512_finish_ctx): Likewise.
17365 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17366 as 64-bit value.
17367 * crypt/sha256.c (SWAP64): Define.
17368 (sha256_process_block): Perform total addition using 64-bit if
17369 possible.
17370 (__sha256_finish_ctx): Likewise.
17371
99231d9a
UD
173722011-07-01 Ulrich Drepper <drepper@gmail.com>
17373
17374 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17375 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17376 * nscd/hstcache.c (cache_addhst): Likewise.
17377 * nscd/grpcache.c (cache_addgr): Likewise.
17378 * nscd/aicache.c (addhstaiX): Likewise
17379 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17380
445b4a53
TK
173812011-07-01 Thorsten Kukuk <kukuk@suse.de>
17382
17383 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17384 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17385 * nscd/hstcache.c (cache_addhst): Likewise.
17386 * nscd/grpcache.c (cache_addgr): Likewise.
17387 * nscd/aicache.c (addhstaiX): Likewise
17388
6d4d8e8e
AS
173892011-07-01 Andreas Schwab <schwab@redhat.com>
17390
17391 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17392 domain only when needed.
17393
89f654c5
AS
173942011-06-30 Andreas Schwab <schwab@redhat.com>
17395
17396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17397 is always restored.
17398
cf3b23ff
UD
173992011-06-29 Ulrich Drepper <drepper@gmail.com>
17400
17401 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17402 are re-adding the entry.
17403 * nscd/servicescache.c (cache_addserv): Likewise.
17404
751626f9
AJ
174052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17406
17407 * sysdeps/generic/dl-irel.h: fix protection against multiple
17408 inclusions.
17409 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17410
9113ea1f
UD
174112011-06-28 Ulrich Drepper <drepper@gmail.com>
17412
5c0b8d90
UD
17413 [BZ #12935]
17414 * malloc/memusage.sh: Fix quoting in message.
17415 * debug/xtrace.sh: Likewise.
17416
9113ea1f
UD
17417 * configure.in: Remove support for --experimental-malloc option, make
17418 it the default.
17419 * config.make.in: Likewise.
17420 * malloc/Makefile: Likewise.
17421
a4172181
AS
174222011-06-27 Andreas Schwab <schwab@redhat.com>
17423
17424 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17425 two-byte characters.
17426
78a7eee7
RM
174272011-06-27 Roland McGrath <roland@hack.frob.com>
17428
62bede13
RM
17429 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17430 AC_CACHE_CHECK invocation.
17431 * configure: Regenerated.
17432
78a7eee7
RM
17433 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17434
5ce33a62
UD
174352011-06-27 Ulrich Drepper <drepper@gmail.com>
17436
034807a9
UD
17437 [BZ #12350]
17438 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17439 bit from old_res_options.
17440
4902da17
UD
17441 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17442
5ce33a62
UD
17443 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17444 value type for setfct.
17445
c2344f56
L
174462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17447
17448 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17449 __gettimeofday instead of gettimeofday.
17450
68468076
UD
174512011-06-26 Ulrich Drepper <drepper@gmail.com>
17452
17453 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17454
acb0d739
L
174552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17456
17457 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17458
17459 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17460 info.
17461
8912479f
L
174622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17463
17464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17465 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17466 strcpy-sse2-unaligned strncpy-sse2-unaligned
17467 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17468 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17469 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17470 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17471 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17472 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17473 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17474 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17475 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17476 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17477 (STRCPY): Support SSE2 and SSSE3 versions.
17478
d5495a11
UD
174792011-06-24 Ulrich Drepper <drepper@gmail.com>
17480
17481 [BZ #12874]
17482 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17483 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17484 kernels which artificially limit size of requests.
17485
0b1cbaae
L
174862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17487
17488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17489 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17490 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17491 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17492 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17493 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17494 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17495 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17496 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17497 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17498 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17499 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17500 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17501 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17502 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17504 Enable unaligned load optimization for Intel Core i3, i5 and i7
17505 processors.
17506 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17507 Define.
17508 (index_Fast_Unaligned_Load): Define.
17509 (HAS_FAST_UNALIGNED_LOAD): Define.
17510
07f494a0
MP
175112011-06-23 Marek Polacek <mpolacek@redhat.com>
17512
17513 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17514
fa3fc0fe
UD
175152011-06-22 Ulrich Drepper <drepper@gmail.com>
17516
17517 [BZ #12907]
17518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17519 until it is clear that the information is realy needed.
17520 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17521
e12df166
AS
175222011-06-22 Andreas Schwab <schwab@redhat.com>
17523
17524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17525
852eb34d
UD
175262011-06-22 Ulrich Drepper <drepper@gmail.com>
17527
84e2a551
UD
17528 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17529 /sys/devices/system/cpu/online if it is usable.
17530
852eb34d
UD
17531 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17532 reading the information from the /proc filesystem to once a second.
17533
6e502e19
UD
175342011-06-21 Andreas Jaeger <aj@suse.de>
17535
17536 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17537 NULL after inclusion of kernel headers.
17538
75d39ff2
UD
175392011-06-21 Ulrich Drepper <drepper@gmail.com>
17540
51f9aa6a
UD
17541 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17542 calls to internal_setent.
17543
c0244a9d
UD
17544 [BZ #12885]
17545 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17546 addresses using gethostbyname4_r ignore IPv4 addresses.
17547
c5e3c2ae
UD
17548 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17549 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17550
75d39ff2
UD
17551 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17552
42675c6f
DM
175532011-06-20 David S. Miller <davem@davemloft.net>
17554
17555 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17556 inclusions.
17557 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17558
17559 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17560 (elf_irel): Use it.
17561 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17562 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17563 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17564 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17565 * sysdeps/x86_64/dl-irel.h: Likewise.
17566
17567 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17568 * elf/dl-sym.c: Likewise.
17569
57912a71
UD
175702011-06-15 Ulrich Drepper <drepper@gmail.com>
17571
17572 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17573 need to dereference resplen2.
17574
ee22793d
AS
175752011-06-14 Andreas Schwab <schwab@redhat.com>
17576
17577 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17578
a9e836b0
UD
175792011-06-15 Ulrich Drepper <drepper@gmail.com>
17580
77fb9117
UD
17581 * Makeconfig: Define vardbdir and inst_vardbdir.
17582 * nss/Makefile: Add rules to install db-Makefile.
17583
40c1b22c
UD
17584 * nss/nss_db/db-XXX.c: Cleanup.
17585
9f2da732
UD
17586 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17587 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17588 GLIBC_PRIVATE.
17589 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17590 * nss/makedb.c: Implement -g option to specify that value strings
17591 are generated and should not be added to table iterated over for
17592 get*ent calls.
17593 * nss/nss_db/db-initgroups.c: New file.
17594
82e9a1f7
UD
17595 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17596 interface.
17597
c41af17e
UD
17598 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17599 (internal_getgrouplist): Adjust to name change.
17600 Update use_initgroups_entry if this is not the first call.
17601 * nss/databases.def: Add initgroups entry.
17602
a9e836b0
UD
17603 * nss/makedb.c (compute_tables): Check result of multiple hash table
17604 sizes to minimize maximum chain length.
17605
2666d441
UD
176062011-06-14 Ulrich Drepper <drepper@gmail.com>
17607
17608 * Versions.def: Add entry for libnss_db.
17609 * shlib-versions: Likewise.
17610 * nss/Makefile: Add rules to build libnss_db.
17611 * nss/Versions: Add libnss_db information. Organize libnss_files
17612 entries better.
17613 * nss/db-Makefile: Add gshadow support. Change rules for the new
17614 makedb progra. Some minor improvements to generate smaller files.
17615 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17616 here from...
17617 * nss/makedb.c: ...here.
17618 Improve database format to be smaller and require less memory at
17619 runtime.
17620 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17621 db anymore.
17622 * nss/nss_db/db-netgrp.c: Likewise.
17623 * nss/nss_db/db-open.c: Likewise.
17624 * nss/nss_files/flies-XXX.x: Adjust comments.
17625 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17626 * nss/nss_files/files-grp.c: Likewise.
17627 * nss/nss_files/files-hosts.c: Likewise.
17628 * nss/nss_files/files-network.c: Likewise.
17629 * nss/nss_files/files-proto.c: Likewise.
17630 * nss/nss_files/files-pwd.c: Likewise.
17631 * nss/nss_files/files-rpc.c: Likewise.
17632 * nss/nss_files/files-service.c: Likewise.
17633 * nss/nss_files/files-sgrp.c: Likewise.
17634 * nss/nss_files/files-spwd.c: Likewise.
17635 * nss/nss_db/db-alias.c: Removed.
17636 * nss/nss_db/dummy-db.h: Removed.
17637
9ee76b5a
UD
176382011-06-02 Ulrich Drepper <drepper@gmail.com>
17639
17640 * nss/makedb.c: Rewritten to not use database library.
17641 * nss/Makefile: Update to build new makedb program.
17642
c71ca1f8
AJ
176432011-06-14 Andreas Jaeger <aj@suse.de>
17644
17645 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17646 memset declaration.
17647
3154bfb8
UD
176482011-06-10 Andreas Schwab <schwab@redhat.com>
17649
17650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17651 tmpbuf.
17652
b350afab
RM
176532011-06-10 Roland McGrath <roland@hack.frob.com>
17654
decd4e50
RM
17655 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17656 * elf/Makefile ($(objpfx)ld.so): Likewise.
17657
5615eaf2
RM
17658 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17659 Don't list ld.so twice in dependencies.
17660
17661 * posix/bug-regex31.c: Include <stdlib.h>.
17662
17663 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17664
17665 * nis/nss_compat/compat-spwd.c
17666 (getspent_next_nss_netgr): Remove unused variable.
17667 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17668
17669 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17670 nonmembers" output to use the right array.
17671
17672 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17673
17674 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17675
17676 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17677 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17678 * catgets/gencat.c (read_input_file): Likewise.
17679 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17680
17681 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17682 variable definition inside #if's controlling its use.
17683
17684 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17685
17686 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17687
17688 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17689
17690 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17691 unreachable code.
17692
17693 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17694
b68e08db
RM
17695 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17696 * configure: Regenerated.
17697
b350afab
RM
17698 * Makerules: Revert last change.
17699 * elf/Makefile: Likewise.
17700
28368601
RM
177012011-06-09 Roland McGrath <roland@hack.frob.com>
17702
17703 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17704 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17705 (reloc-link): Likewise.
17706
11988f8f
UD
177072011-06-09 Ulrich Drepper <drepper@gmail.com>
17708
17709 * elf/Makefile: Add rules to build pldd.
17710 * elf/pldd.c: New file.
17711 * elf/pldd-xx.c: New file.
17712
e80fab37
UD
177132011-06-07 Ulrich Drepper <drepper@gmail.com>
17714
17715 * version.h: Update for 2.15 development version.
17716
9b849836
DM
177172011-06-07 David S. Miller <davem@davemloft.net>
17718
17719 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17720 ifuncs.
17721 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17722 elf_machine_lazy_rel): Likewise.
17723 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17724 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17725 elf_machine_lazy_rel): Likewise.
17726 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17727 dl_hwcap via passed in argument.
17728 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17729 Likewise.
17730
5a31b283
AK
177312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17732
17733 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17734
069e52f8
RM
177352011-06-06 Roland McGrath <roland@hack.frob.com>
17736
17737 [BZ #12849]
17738 * manual/fdl-1.1.texi: New file, verbatim from:
17739 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17740 * manual/lgpl-2.1.texi: New file, verbatim from:
17741 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17742 * manual/Makefile (licenses): New variable, list those new file names.
17743 (texis): Use it.
17744 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17745
17746 * manual/fdl.texi: File removed.
17747 * manual/lesser.texi: File removed.
17748 * manual/libc.texinfo (Copying, Documentation License):
17749 Use new @include file names, put @appendix directive before @include.
17750
f16846a5
JJ
177512011-06-04 Jakub Jelinek <jakub@redhat.com>
17752
17753 [BZ #12841]
17754 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17755 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17756 (mq_open): Add __NTH.
17757
3d29045b
L
177582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17759
17760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17761 Assume Intel Core i3/i5/i7 processor if AVX is available.
17762
8c297311
UD
177632011-05-31 Ulrich Drepper <drepper@gmail.com>
17764
17765 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17766 typo.
17767
c8fc0c91
UD
177682011-05-31 Andreas Schwab <schwab@redhat.com>
17769
17770 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17771 memory. Use alloca_account. Fix memory leak when retrying.
17772
5b27a807
UD
177732011-05-31 Ulrich Drepper <drepper@gmail.com>
17774
356f8bc6
UD
17775 * version.h (RELEASE): Bump for 2.14 release.
17776 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17777
5b27a807
UD
17778 * config.make.in (RANLIB): Remove entry.
17779
01f16ab0
UD
177802011-05-30 Ulrich Drepper <drepper@gmail.com>
17781
41fce8bd
UD
17782 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17783 (libc.pot): Work around missing support for .ksh extension in xgettext.
17784
4769ae77
UD
17785 [BZ #12684]
17786 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17787 if both request failed.
17788 (send_dg): In case of server errors clear resplen or *resplen2.
17789
6b1e7d19
UD
17790 [BZ #12454]
17791 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17792 when there are multiple maps.
17793 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17794 (_dl_fini): Remove test here.
17795
01f16ab0
UD
17796 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17797
b1ebd700
UD
177982011-05-29 Ulrich Drepper <drepper@gmail.com>
17799
7ae22829
UD
17800 [BZ #12350]
17801 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17802 bit from old_res_options.
17803 (gaih_inet): Likewise.
17804
553149f6 17805 [BZ #11099]
18a84741 17806 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17807 as signed.
17808
652ffab1
UD
17809 * resolv/res_init.c (res_setoptions): Make the code more compact.
17810
16985fd0
UD
17811 [BZ #11558]
17812 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17813 set RES_USEVC.
17814
0464f746
UD
17815 [BZ #11634]
17816 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17817
7d17596c
UD
17818 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17819
cf6bbbd7
UD
17820 [BZ #11781]
17821 * malloc/malloc.h: Declare malloc hook variables as volatile.
17822
13f1ab36
UD
17823 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17824 in last patch.
17825
b1ebd700
UD
17826 [BZ #11799]
17827 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17828 raise in the comment.
80e2212d
UD
17829 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17830 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17831 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17832
ce67228d
UD
178332011-05-28 Ulrich Drepper <drepper@gmail.com>
17834
8887a920
UD
17835 [BZ #12811]
17836 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17837 grow the buffers more if it already has to be sufficient.
17838 (build_wcs_upper_buffer): Likewise.
17839 * posix/regexec.c (check_matching): Likewise.
17840 (clean_state_log_if_needed): Likewise.
17841 (extend_buffers): Don't enlarge buffers beyond size of the input
17842 buffer.
17843 Patches mostly by Emil Wojak <emil@wojak.eu>.
17844 * posix/bug-regex32.c: New file.
17845 * posix/Makefile (tests): Add bug-regex32.
17846
4f031072
UD
17847 * locale/findlocale.c (_nl_find_locale): Return right away if
17848 _nl_explode_name failed.
17849 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17850
d0478f0c
UD
17851 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17852
de81b246
UD
17853 * debug/xtrace.sh: Unify messages.
17854 * malloc/memusage.sh: Likewise.
17855
c738465a
UD
17856 [BZ #12813]
17857 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17858 time symbol from vDSO. Substitute with vsyscall if not available.
17859 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17860 __vdso_time.
17861
f1f929d7
UD
17862 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17863 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17864 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17865 Add sendmmsg and internal_sendmmsg.
17866 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17867 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17868 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17869
ce67228d
UD
17870 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17871 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17872 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17873
e57420c6
UD
178742011-05-27 Ulrich Drepper <drepper@gmail.com>
17875
a8509ca5
UD
17876 [BZ #12813]
17877 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17878 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17879 available.
17880 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17881 __vdso_getcpu.
17882
e57420c6
UD
17883 [BZ #12814]
17884 * iconvdata/Makefile (tests): Add bug-iconv9.
17885 * iconvdata/bug-iconv9.c: New file.
17886
4d07db15
AS
178872011-05-27 Andreas Schwab <schwab@redhat.com>
17888
17889 [BZ #12814]
17890 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17891
ea486f69
JJ
178922011-05-25 Jakub Jelinek <jakub@redhat.com>
17893
17894 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17895 (struct user_regs_struct): Change intcs field back to cs.
17896
6f038433
UD
178972011-05-25 Ulrich Drepper <drepper@gmail.com>
17898
17899 * po/ja.po: Update from translation team.
17900
67f86a25
UD
179012011-05-23 Ulrich Drepper <drepper@gmail.com>
17902
17903 [BZ #12795]
17904 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17905 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17906
def7fbd6
AS
179072011-05-20 Andreas Schwab <schwab@redhat.com>
17908
17909 * stdlib/longlong.h: Update from GCC.
17910
f50ef8f1
AS
179112011-05-23 Andreas Schwab <schwab@redhat.com>
17912
17913 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17914 parameter name.
17915 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17916 Add parameter name.
17917 (__sysconf): Pass it down.
17918
de7ce8f1
UD
179192011-05-22 Ulrich Drepper <drepper@gmail.com>
17920
f2962a71
UD
17921 [BZ #12671]
17922 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17923 some situations.
17924 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17925 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17926 add in in __libc_use_alloca calls. Adjust callers.
17927 (glob): Use malloc in some situations.
17928
de7ce8f1
UD
17929 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17930 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17931 pltexit.
17932
aec84f53
UD
179332011-05-21 Ulrich Drepper <drepper@gmail.com>
17934
05bb4a68
UD
17935 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17936 and CLOCK_BOOTTIME_ALARM.
17937
7ea72f99
UD
17938 [BZ #12782]
17939 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17940 is returned.
17941
7e4afad5
UD
17942 * string/_strerror.c (__strerror_r): Print negative errors as signed
17943 numbers.
17944
8e211fec
UD
17945 [BZ #12777]
17946 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17947 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17948 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17949
f7d82dc9
UD
17950 * configure.in: Fix typo in redirection and correct removal of test
17951 files in two cases.
17952
cc9e536d
UD
17953 [BZ #12788]
17954 * locale/setlocale.c (new_composite_name): Fix test to check for
17955 identical name of all categories.
17956
aec84f53
UD
17957 [BZ #12792]
17958 * libio/filedoalloc.c (local_isatty): New function.
17959 (_IO_file_doallocate): Use local_isatty.
17960 * stdio-common/perror.c (perror): In case a new stream is used
17961 forward the stream error.
17962 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17963 error flag.
17964
78e64fdc
RT
179652011-05-20 Ulrich Drepper <drepper@gmail.com>
17966
34a9094f
UD
17967 [BZ #11869]
17968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17969 alloca.
17970 * include/alloca.h (extend_alloca_account): Define.
17971
78e64fdc
RT
17972 [BZ #11857]
17973 * posix/regex.h: Fix comments with documentation of user-accessible
17974 fields after compilation and describe correct free'ing of pattern
17975 after re_compile_pattern.
17976 Patch by Reuben Thomas <rrt@sc3d.org>.
17977
457bddfc
RA
179782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17979
17980 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17981 and -mno-altivec to prevent the compiler from using Altivec and/or
17982 VSX instructions when the corresponding registers are not available.
17983
a4527b51
AS
179842011-05-19 Andreas Schwab <schwab@redhat.com>
17985
17986 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17987
ed690b2f
UD
179882011-05-19 Ulrich Drepper <drepper@gmail.com>
17989
17990 * libio/freopen.c (freopen): Use __dup2, not dup2.
17991 * libio/freopen64.c (freopen64): Likewise.
17992
8db73634
L
179932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17994
17995 [BZ #12775]
17996 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17997 * math/Makefile (tests): Add test-powl.
17998 (CFLAGS-test-powl.c): Define.
17999 * math/test-powl.c: New file.
18000
0a197a9d
L
180012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18002
18003 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18004
ee30c380
UD
180052011-05-17 Ulrich Drepper <drepper@gmail.com>
18006
18007 [BZ #11837]
18008 * iconvdata/gb18030.c: Update to GB18020-2005.
18009
6ce75379
UD
180102011-05-16 Ulrich Drepper <drepper@gmail.com>
18011
a4b89fd8
AR
18012 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18013 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18014 Patch by Aharon Robbins <arnold@skeeve.com>.
18015
ea389b12
UD
18016 [BZ #11892]
18017 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18018 on the stack.
18019
68a3f91f
UD
18020 [BZ #11895]
18021 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18022 through underflows.
18023
15cc7dd1
UD
18024 [BZ #12766]
18025 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18026 point to strings before performing equality test for error_one_per_line
18027 mode.
18028
f3799213
UD
18029 [BZ #11697]
18030 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18031
d79a9c94
UD
18032 [BZ #11820]
18033 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18034 (struct user_fpregs_struct): Avoid __uint*_t types.
18035
56e5eb46
UD
18036 [BZ #6420]
18037 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18038 symbol info. Use it instead of calling _dl_addr locally.
18039 (lock_and_info): New function.
18040 (tr_freehook): Call lock_and_info and pass symbol info as additional
18041 parameter to tr_where.
18042 (tr_mallochook): Likewise.
18043 (tr_reallochook): Likewise.
18044 (tr_memalignhook): Likewise.
18045
6ce75379
UD
18046 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18047 used and couldn't be at all thread-safe.
18048
f8a3b5bf
UD
180492011-05-15 Ulrich Drepper <drepper@gmail.com>
18050
94b7cc37
UD
18051 * libio/freopen.c (freopen): Don't close old file descriptor
18052 before the new one is opened. Instead dup the new file descriptor
18053 to the old one after the new stream is created.
18054 * libio/freopen64.c (freopen64): Likewise.
18055 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18056 * libio/fileops.c (_IO_new_file_close_it): Handle new
18057 _IO_FLAGS2_NOCLOSE flag.
18058 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18059 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18060 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18061 _IO_FLAGS2_NOCLOSE flag.
18062 * include/unistd.h: Add hidden_proto for dup3.
18063 Define __have_dup3.
18064 * io/dup3.c: Define hidden symbol.
18065 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18066
bd25564e
UD
18067 [BZ #7101]
18068 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18069 when an incomplete long option is used.
18070 * posix/tst-getopt_long1.c: New file.
18071 * posix/Makefile (tests): Add tst-getopt_long1.
18072
c84cfef4
UD
18073 [BZ #10138]
18074 * scripts/config.guess: Update from autoconf-2.68.
18075 * scripts/config.sub: Likewise.
18076
3b85df27
UD
18077 [BZ #10157]
18078 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18079 tests into ...
18080 (has_cpuclock): ...this. New function.
18081 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18082 macro here based on has_cpuclock code.
18083
15a856b1
UD
18084 [BZ #10149]
18085 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18086 First byte (not low byte) is now always NUL.
18087 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18088
05f399e6
UD
18089 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18090 Use non-cancelable interfaces.
18091
10a52685 18092 [BZ #9809]
94ecc67d
UD
18093 * locale/iso-639.def: Add entry for Sorani.
18094
f8a3b5bf
UD
18095 [BZ #11901]
18096 * include/stdlib.h: Move include protection to the right place.
18097 Define abort_msg_s. Declare __abort_msg with it.
18098 * stdlib/abort.c (__abort_msg): Adjust type.
18099 * assert/assert.c (__assert_fail_base): New function. Majority
18100 of code from __assert_fail. Allocate memory for __abort_msg with
18101 mmap.
18102 (__assert_fail): Now call __assert_fail_base.
18103 * assert/assert-perr.c: Remove bulk of implementation. Use
18104 __assert_fail_base.
18105 * include/assert.hL Declare __assert_fail_base.
18106 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18107 mmap.
18108 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18109
1af4e298
UD
181102011-05-14 Ulrich Drepper <drepper@gmail.com>
18111
f8a3b5bf 18112 [BZ #11952]
d26dfc60
MG
18113 [BZ #12453]
18114 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18115 until all modules are registered in the DTV.
18116 * elf/Makefile: Add rules to build and run tst-tls19.
18117 * elf/tst-tls19.c: New file.
18118 * elf/tst-tls19mod1.c: New file.
18119 * elf/tst-tls19mod2.c: New file.
18120 * elf/tst-tls19mod3.c: New file.
18121 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18122
2fc54d6f
UD
18123 [BZ #12083]
18124 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18125 correctly.
18126
98d76b46
UD
18127 [BZ #12601]
18128 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18129 two-byte sequence errors.
18130 * iconvdata/Makefile (tests): Add bug-iconv8.
18131 * iconvdata/bug-iconv8.c: New file.
18132
da3c19ef
UD
18133 [BZ #12626]
18134 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18135 buf2 definition.
18136
ca408c15
UD
18137 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18138
d6f67f7d
UD
18139 [BZ #12432]
18140 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18141 (dummy_getcfa): New function.
18142 (init): Get _Unwind_GetCFA address, use dummy if not found.
18143 (backtrace_helper): In recursion check, also check whether CFA changes.
18144 (__backtrace): Completely initialize arg.
18145
1af4e298 18146 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18147 storing incomplete byte sequence in state object. Avoid testing for
18148 guaranteed too small input if we know there is enough data available.
1af4e298 18149
da62f81b
AS
181502011-05-11 Andreas Schwab <schwab@redhat.com>
18151
18152 * Makeconfig (+link-pie): Indent.
18153 * Rules (binaries-pie): Define if $(have-fpie) and
18154 $(build-shared).
18155 (binaries-shared): Also filter out $(binaries-pie).
18156 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18157 * nscd/Makefile (others-pie): Add nscd.
18158 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18159 ($(objpfx)nscd): Remove command override.
18160 * login/Makefile (others-pie): Add pt_chown.
18161 ($(objpfx)pt_chown): Remove command override.
18162 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18163 remove command overrides.
18164
fcabc0f8
UD
181652011-05-13 Ulrich Drepper <drepper@gmail.com>
18166
20030ae6
UD
18167 * libio/tst_putwc.c: Fix error messages.
18168
fcabc0f8
UD
18169 [BZ #12724]
18170 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18171 currently writing and seek to current position when not.
18172 * libio/Makefile (tests): Add bug-fclose1.
18173 * libio/bug-fclose1.c: New file.
18174
320a5dc0
PB
181752011-05-12 Ulrich Drepper <drepper@gmail.com>
18176
18177 [BZ #12511]
18178 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18179 don't set DF_1_NODELETE here.
18180 (do_lookup_x): When entering new entry test for copy relocation
18181 and if necessary set DF_1_NODELETE flag.
18182 * elf/tst-unique4.cc: New file.
18183 * elf/tst-unique4.h: New file.
18184 * elf/tst-unique4lib.cc: New file.
18185 * elf/Makefile: Add rules to build and run tst-unique4.
18186 Patch by Piotr Bury <pbury@goahead.com>.
18187
22836f52
UD
181882011-05-11 Ulrich Drepper <drepper@gmail.com>
18189
f574184a
UD
18190 [BZ #12052]
18191 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18192
e1fb097f
UD
18193 [BZ #12625]
18194 * misc/mntent_r.c (addmntent): Flush the stream after the output
18195
22836f52
UD
18196 [BZ #12393]
18197 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18198 (is_trusted_path_normalize): Skip initial colon. Append slash
18199 to empty buffer. Duplicate is_trusted_path code but allow
18200 constructed patch to be prefix.
18201 (is_dst): Allow $ORIGIN followed by /.
18202 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18203 Correct testing of result of is_trusted_path_normalize
18204 (decompose_rpath): Fix warning.
18205
7b3b0b2a
UD
182062011-05-10 Ulrich Drepper <drepper@gmail.com>
18207
18208 [BZ #11257]
18209 * grp/initgroups.c (internal_getgrouplist): When we found the service
18210 list through the initgroups entry in nsswitch.conf do not always
18211 continue on a successful lookup. Don't always use the
eac80ce2 18212 __nss_group_database value if it is set.
7b3b0b2a
UD
18213 * nss/nsswitch.conf (initgroups): Change action for successful db
18214 lookup to continue for compatibility.
18215
2a81eaa5
UD
182162011-05-09 Ulrich Drepper <drepper@gmail.com>
18217
be97a69e
UD
18218 [BZ #11532]
18219 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18220 and CP774 modules.
18221 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18222 and CP774 modules.
18223 * iconvdata/tst-tables.sh: Likewise.
18224 * iconvdata/cp770.c: New file.
18225 * iconvdata/cp771.c: New file.
18226 * iconvdata/cp772.c: New file.
18227 * iconvdata/cp773.c: New file.
18228 * iconvdata/cp774.c: New file.
18229 * iconvdata/testdata/CP770: New file.
18230 * iconvdata/testdata/CP770..UTF8: New file.
18231 * iconvdata/testdata/CP771: New file.
18232 * iconvdata/testdata/CP771..UTF8: New file.
18233 * iconvdata/testdata/CP772: New file.
18234 * iconvdata/testdata/CP772..UTF8: New file.
18235 * iconvdata/testdata/CP773: New file.
18236 * iconvdata/testdata/CP773..UTF8: New file.
18237 * iconvdata/testdata/CP774: New file.
18238 * iconvdata/testdata/CP774..UTF8: New file.
18239
18240 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18241 END CHARMAP line.
18242 * iconvdata/gen-8bit-gap.sh: Likewise.
18243 * iconvdata/gen-8bit.sh: Likewise.
18244
c1e9e399
UD
18245 * locale/iso-639.def: Add ary entry.
18246
24c55fb3 18247 [BZ #11258]
96b4b1b0
UD
18248 * locale/C-translit.h.in: Add U20A1 transliteration.
18249
bdc2f971
KB
18250 [BZ #12178]
18251 * locale/iso-639.def: Add wae entry.
18252 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18253
2952b117
UD
18254 [BZ #12545]
18255 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18256 for n.
18257
2a81eaa5
UD
18258 [BZ #12711]
18259 * locale/C-translit.h.in: Add entry for U20B9.
18260 Patch by pravin.d.s@gmail.com.
18261
28377d1b
UD
182622011-05-08 Ulrich Drepper <drepper@gmail.com>
18263
7fb90fb8
UD
18264 [BZ #12713]
18265 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18266 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18267 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18268 in rtld. Use *stat64.
7fb90fb8 18269 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18270 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18271 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18272 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18273 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18274 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18275 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18276 __fstatat64 macros.
7fb90fb8
UD
18277 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18278 * dirent/rewinddir.c: Add libc_hidden_def.
18279 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18280 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18281
28377d1b
UD
18282 * include/dirent.h (__alloc_dir): Add flags parameter.
18283 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18284 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18285 __alloc_dir.
18286 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18287 from fdopendir if O_CLOEXEC is already set.
18288
66bdbaa4
AM
182892011-03-15 Alan Modra <amodra@gmail.com>
18290
18291 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18292 l_tls_firstbyte_offset non-zero. Save padding offset in
18293 l_tls_firstbyte_offset for later use.
18294 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18295 freeing static tls block.
18296
95721191
JN
182972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18298
18299 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18300 where #ifdef was intended. The intent is to prevent ARG_MAX from
18301 being defined by the kernel headers.
18302
f87dfb1f
UD
183032011-05-07 Ulrich Drepper <drepper@gmail.com>
18304
18305 [BZ #12734]
18306 * resolv/resolv.h: Define RES_NOTLDQUERY.
18307 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18308 no-tld-query and set RES_NOTLDQUERY.
18309 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18310 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18311 modern BIND to search name as TLD unless forbidden.
18312
47c3cd7a
UD
183132011-05-07 Petr Baudis <pasky@suse.cz>
18314 Ulrich Drepper <drepper@gmail.com>
18315
18316 [BZ #12393]
18317 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18318 (is_trusted_path): ...to here.
c1e9ea35 18319 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18320 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18321 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18322
8a35c912
PP
183232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18324
18325 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18326 __BEGIN/__END_DECLS.
18327
acd41f47
UD
183282011-05-06 Ulrich Drepper <drepper@gmail.com>
18329
18330 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18331 NSS_STATUS_NOTFOUND if no record was found.
18332
597df647
AS
183332011-05-05 Andreas Schwab <schwab@redhat.com>
18334
18335 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18336 (headers-not-in-tirpc): Remove rpc/netdb.h
18337 * resolv/netdb.h: Revert last change.
18338
b9af1301
PP
183392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18340
18341 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18342 circular dependency between libgcc.a and libc.a.
18343
4e34d5f5
AS
183442011-05-05 Andreas Schwab <schwab@redhat.com>
18345
18346 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18347 * nis/Makefile: Don't install rpcsvc/*.
18348 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18349 instead of <rpc/types.h>.
18350 (MAXHOSTNAMELEN): Define.
18351
00ee369c
AS
183522011-05-03 Andreas Schwab <schwab@redhat.com>
18353
18354 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18355
0b592a30
MB
183562011-04-28 Maciej Babinski <mbabinski@google.com>
18357
18358 [BZ #12714]
18359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18360 gethostbyname4_r when IPv6 results are possible.
18361
6e04cbbe
UD
183622011-05-02 Ulrich Drepper <drepper@gmail.com>
18363
18364 [BZ #12723]
18365 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18366 _PC_PIPE_BUF handling.
18367
e4ecafe0
BH
183682011-04-30 Bruno Haible <bruno@clisp.org>
18369
18370 [BZ #12717]
18371 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18372 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18373 to 'int'.
18374 * inet/getnameinfo.c (getnameinfo): Likewise.
18375
125ee683
UD
183762011-04-29 Ulrich Drepper <drepper@gmail.com>
18377
18378 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18379 to groups setting in database lookup.
18380 * nss/nsswitch.conf: Add initgroups entry.
18381
b722481a
EB
183822011-04-22 Ulrich Drepper <drepper@gmail.com>
18383
18384 [BZ #12685]
18385 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18386 mode string.
18387 Patch by Eric Blake <eblake@redhat.com>.
18388
4df46dbd
L
183892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18390
18391 * sunrpc/Makefile (need-export-routines): Add svc_run.
18392 (routines): Remove svc_run.
18393 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18394 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18395 * sunrpc/svc_run.c (svc_run): Likewise.
18396 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18397
e84142d2
UD
183982011-04-21 Ulrich Drepper <drepper@gmail.com>
18399
18400 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18401 problem in reallocation in last patch.
18402
877175d8
UD
184032011-04-20 Ulrich Drepper <drepper@gmail.com>
18404
18405 * sunrpc/Makefile: Move inclusion of Rules.
18406
ab8eed78
UD
184072011-04-19 Ulrich Drepper <drepper@gmail.com>
18408
18409 * nss/nss_files/files-initgroups.c: New file.
18410 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18411 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18412 _nss_files_initgroups_dyn.
18413
e3d8f584
RS
184142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18415
18416 * elf/elf.h (R_ARM_IRELATIVE): Define.
18417
af190f45
UD
184182011-04-19 Ulrich Drepper <drepper@gmail.com>
18419
18420 * po/ru.po: Update from translation team.
18421
53cf59ef
UD
184222011-04-17 Ulrich Drepper <drepper@gmail.com>
18423
18424 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18425 dependencies.
18426
4c559bcd
MF
184272011-02-06 Mike Frysinger <vapier@gentoo.org>
18428
18429 [BZ #12653]
18430 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18431 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18432 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18433 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18434 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18435
4420675c
AS
184362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18437
18438 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18439 differing bytes.
18440 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18441 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18442 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18443
75ea32ab
UD
184442011-04-17 Ulrich Drepper <drepper@gmail.com>
18445
18446 [BZ #12420]
18447 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18448 storing it.
18449 * stdlib/bug-getcontext.c: New file.
18450 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18451
27390476
AK
184522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18453
18454 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18455 instructions into .machine "z9-109".
18456 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18457 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18458
10442705
AK
184592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18460
18461 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18462 between environment variables and auxiliary vector.
18463
7b57bfe5
UD
184642011-04-16 Ulrich Drepper <drepper@gmail.com>
18465
18466 * Makefile: Add rules to build linkobj/libc.so.
18467 * include/libc-symbols.h: Define libc_hidden_nolink.
18468 * include/rpc/auth.h: Mark functions which are to be hidden.
18469 * include/rpc/auth_des.h: Likewise.
18470 * include/rpc/auth_unix.h: Likewise.
18471 * include/rpc/clnt.h: Likewise.
18472 * include/rpc/des_crypt.h: Likewise.
18473 * include/rpc/key_prot.h: Likewise.
18474 * include/rpc/pmap_clnt.h: Likewise.
18475 * include/rpc/pmap_prot.h: Likewise.
18476 * include/rpc/pmap_rmt.h: Likewise.
18477 * include/rpc/rpc_msg.h: Likewise.
18478 * include/rpc/svc.h: Likewise.
18479 * include/rpc/svc_auth.h: Likewise.
18480 * include/rpc/xdr.h: Likewise.
18481 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18482 * nss/Makefile: Likewise.
18483 * sunrpc/Makefile: Don't install headers. Build library with normal
18484 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18485 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18486 for the compat linking library. Remove use of INTDEF/INTUSE.
18487 * sunrpc/auth_none.c: Likewise.
18488 * sunrpc/auth_unix.c: Likewise.
18489 * sunrpc/authdes_prot.c: Likewise.
18490 * sunrpc/authuxprot.c: Likewise.
18491 * sunrpc/clnt_gen.c: Likewise.
18492 * sunrpc/clnt_perr.c: Likewise.
18493 * sunrpc/clnt_raw.c: Likewise.
18494 * sunrpc/clnt_simp.c: Likewise.
18495 * sunrpc/clnt_tcp.c: Likewise.
18496 * sunrpc/clnt_udp.c: Likewise.
18497 * sunrpc/clnt_unix.c: Likewise.
18498 * sunrpc/des_crypt.c: Likewise.
18499 * sunrpc/des_soft.c: Likewise.
18500 * sunrpc/get_myaddr.c: Likewise.
18501 * sunrpc/key_call.c: Likewise.
18502 * sunrpc/key_prot.c: Likewise.
18503 * sunrpc/netname.c: Likewise.
18504 * sunrpc/pm_getmaps.c: Likewise.
18505 * sunrpc/pm_getport.c: Likewise.
18506 * sunrpc/pmap_clnt.c: Likewise.
18507 * sunrpc/pmap_prot.c: Likewise.
18508 * sunrpc/pmap_prot2.c: Likewise.
18509 * sunrpc/pmap_rmt.c: Likewise.
18510 * sunrpc/publickey.c: Likewise.
18511 * sunrpc/rpc_cmsg.c: Likewise.
18512 * sunrpc/rpc_common.c: Likewise.
18513 * sunrpc/rpc_dtable.c: Likewise.
18514 * sunrpc/rpc_prot.c: Likewise.
18515 * sunrpc/rpc_thread.c: Likewise.
18516 * sunrpc/rtime.c: Likewise.
18517 * sunrpc/svc.c: Likewise.
18518 * sunrpc/svc_auth.c: Likewise.
18519 * sunrpc/svc_authux.c: Likewise.
18520 * sunrpc/svc_raw.c: Likewise.
18521 * sunrpc/svc_run.c: Likewise.
18522 * sunrpc/svc_simple.c: Likewise.
18523 * sunrpc/svc_tcp.c: Likewise.
18524 * sunrpc/svc_udp.c: Likewise.
18525 * sunrpc/svc_unix.c: Likewise.
18526 * sunrpc/svcauth_des.c: Likewise.
18527 * sunrpc/xcrypt.c: Likewise.
18528 * sunrpc/xdr.c: Likewise.
18529 * sunrpc/xdr_array.c: Likewise.
18530 * sunrpc/xdr_float.c: Likewise.
18531 * sunrpc/xdr_intXX_t.c: Likewise.
18532 * sunrpc/xdr_mem.c: Likewise.
18533 * sunrpc/xdr_rec.c: Likewise.
18534 * sunrpc/xdr_ref.c: Likewise.
18535 * sunrpc/xdr_sizeof.c: Likewise.
18536 * sunrpc/xdr_stdio.c: Likewise.
18537
e6c61494
UD
185382011-04-10 Ulrich Drepper <drepper@gmail.com>
18539
18540 [BZ #12650]
18541 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18542 * sysdeps/ia64/dl-tls.h: Likewise.
18543 * sysdeps/powerpc/dl-tls.h: Likewise.
18544 * sysdeps/s390/dl-tls.h: Likewise.
18545 * sysdeps/sh/dl-tls.h: Likewise.
18546 * sysdeps/sparc/dl-tls.h: Likewise.
18547 * sysdeps/x86_64/dl-tls.h: Likewise.
18548 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18549
34fe483e
AS
185502011-03-14 Andreas Schwab <schwab@redhat.com>
18551
18552 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18553 rpath element also skip the following colon.
18554 (expand_dynamic_string_token): Add is_path parameter and pass
18555 down to DL_DST_REQUIRED and _dl_dst_substitute.
18556 (decompose_rpath): Call expand_dynamic_string_token with
18557 non-zero is_path. Ignore empty rpaths.
18558 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18559 with zero is_path.
18560
f12a32e6
AS
185612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18562
18563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18564 Make cancelable.
18565
38a7d692
UD
185662011-04-09 Ulrich Drepper <drepper@gmail.com>
18567
18568 [BZ #12655]
18569 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18570 Patch by Filipe David Manana <fdmanana@apache.org>.
18571
e451d22b
AS
185722011-04-07 Andreas Schwab <schwab@redhat.com>
18573
18574 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18575 Maintain aligned stack.
18576 (CHECK_RSP): Remove unused macro.
18577
dedc7c7b
UD
185782011-04-03 Ulrich Drepper <drepper@gmail.com>
18579
18580 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18581 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18582
94521213
UD
185832011-04-02 Ulrich Drepper <drepper@gmail.com>
18584
18585 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18586
8cb700c0 18587 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18588
0354e355
L
185892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18590
18591 [BZ #12518]
18592 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18593 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18594 * sysdeps/x86_64/memmove.c: New file.
18595 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18596 (memcpy): Renamed to ...
18597 (__new_memcpy): This.
18598 (memcpy): Provide GLIBC_2_14 memcpy.
18599 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18600 (memcpy): Provide GLIBC_2_2_5 memcpy.
18601
8593482f
UD
186022011-04-01 Ulrich Drepper <drepper@gmail.com>
18603
18604 [BZ #12631]
18605 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18606
81a5726b
AS
186072011-03-30 Andreas Schwab <schwab@redhat.com>
18608
18609 * misc/syncfs.c: New file.
18610 * misc/Makefile (routines): Add syncfs.
18611 * posix/unistd.h: Declare syncfs.
18612 * sysdeps/unix/syscalls.list: Add syncfs.
18613
00e5419f
AS
186142011-04-01 Andreas Schwab <schwab@redhat.com>
18615
18616 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18617 open_by_handle_at.
18618 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18619 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18621 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18623 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18624 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18625
748876bf
UD
186262011-04-01 Ulrich Drepper <drepper@gmail.com>
18627
658e451d
UD
18628 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18629 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18630 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18631 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18632 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18634 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18635
748876bf
UD
18636 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18637 sync_file_range.c with -fexceptions.
18638 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18639 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18640 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18641 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18642 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18643 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18644 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18645 sync_file_range as cancellation point
18646 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18647 now a wrapper around __call_sync_file_range with cancellation handling.
18648 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18649 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18650 function name to __call_sync_file_range.
18651 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18652 Add call_sync_file_range.
748876bf 18653
6e63d5e1
AS
186542011-04-01 Andreas Schwab <schwab@redhat.com>
18655
18656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18657 bits/timex.h.
6e63d5e1 18658
46998f74
UD
186592011-04-01 Ulrich Drepper <drepper@gmail.com>
18660
4c1423ed
UD
18661 * iconv/iconv.h: Fix typo in comment.
18662 * io/fcntl.h: Likewise.
18663 * libio/stdio.h: Likewise.
18664 * posix/spawn.h: Likewise.
18665 * posix/unistd.h: Likewise.
18666 * stdlib/stdlib.h: Likewise.
18667 * time/time.h: Likewise.
18668 * wcsmbs/wchar.h: Likewise.
18669
158648c0
UD
18670 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18671 open_by_handle): Add.
18672 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18673 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18674 Augment a few comments.
18675 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18676 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18677 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18679 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18680 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18681 open_by_handle.
18682
46998f74
UD
18683 * io/fcntl.h (AT_EMPTY_PATH): Define.
18684
83fe108b
UD
186852011-03-30 Ulrich Drepper <drepper@gmail.com>
18686
18687 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18688 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18689 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18690 to...
18691 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18692 * Versions.def: Add GLIBC_2.14.
18693 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18694 Export.
83fe108b 18695
bb242059
UD
186962011-03-22 Ulrich Drepper <drepper@gmail.com>
18697
18698 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18699 round counter.
18700 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18701
c97a1282
L
187022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18703
18704 [BZ #12597]
18705 * string/test-strncmp.c (do_page_test): New function.
18706 (check2): Likewise.
18707 (test_main): Call check2.
18708 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18709
2a115601
UD
187102011-03-20 Ulrich Drepper <drepper@gmail.com>
18711
18712 [BZ #12587]
18713 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18714 Handle cache information in CPU leaf 4.
18715 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18716
8126d904
UD
187172011-03-18 Ulrich Drepper <drepper@gmail.com>
18718
042c49c6 18719 [BZ #12583]
8126d904
UD
18720 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18721 character representation.
18722 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18723
ccfe366e
RA
187242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18725
18726 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18727 END(__isnan) to END(__isnanf) to match function entry point/label
18728 EALIGN(__isnanf,...).
18729
c6e13027
JJ
187302011-03-10 Jakub Jelinek <jakub@redhat.com>
18731
18732 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18733
33f85a3f
UD
187342011-03-10 Ulrich Drepper <drepper@gmail.com>
18735
028478fa
UD
18736 [BZ #12510]
18737 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18738 copy from the symbol referenced in the relocation to initialize the
18739 used variable.
18740 Patch by Piotr Bury <pbury@goahead.com>.
18741 * elf/Makefile: Add rules to build and tst-unique3.
18742 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18743 * elf/tst-unique3.cc: New file.
18744 * elf/tst-unique3.h: New file.
18745 * elf/tst-unique3lib.cc: New file.
18746 * elf/tst-unique3lib2.cc: New file.
18747
33f85a3f
UD
18748 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18749
03592fc7
MF
187502011-03-10 Mike Frysinger <vapier@gentoo.org>
18751
18752 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18753 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18754 to _start.
03592fc7 18755
6a5ee102
UD
187562011-03-06 Ulrich Drepper <drepper@gmail.com>
18757
18758 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18759 to-be-loaded object along a path to loader is ld.so.
18760
7e4ba49c
HJ
187612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18762 Ulrich Drepper <drepper@gmail.com>
18763
18764 * sysdeps/x86_64/memset.S: After aligning destination, code
18765 branches to different locations depending on the value of
18766 misalignment, when multiarch is enabled. Fix this.
18767
187682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18769
18770 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18771 Set _x86_64_preferred_memory_instruction for AMD processsors.
18772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18773 Set bit_Prefer_SSE_for_memop for AMD processors.
18774
13a804de
UD
187752011-03-04 Ulrich Drepper <drepper@gmail.com>
18776
18777 * libio/fmemopen.c (fmemopen): Optimize a bit.
18778
9d25c392
AS
187792011-03-03 Andreas Schwab <schwab@redhat.com>
18780
18781 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18782
a5543c6a
RM
187832011-03-03 Roland McGrath <roland@redhat.com>
18784
18785 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18786
012d35f7
DM
187872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18788
7e4ba49c 18789 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18790 __bzero_ultra1 instead of __memset_ultra1.
18791
4bff6e01
AS
187922011-02-23 Andreas Schwab <schwab@redhat.com>
18793 Ulrich Drepper <drepper@gmail.com>
18794
18795 [BZ #12509]
18796 * include/link.h (struct link_map): Add l_orig_initfini.
18797 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18798 returning unsuccessfully.
18799 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18800 close of a file loaded at startup, restore the original l_initfini
18801 list.
18802 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18803 list, store the pointer.
18804 * elf/Makefile ($(objpfx)noload-mem): New rule.
18805 (noload-ENV): Define.
18806 (tests): Add $(objpfx)noload-mem.
18807 * elf/noload.c: Include <memcheck.h>.
18808 (main): Call mtrace. Close all opened handles.
18809
f2092faf
AS
188102011-02-17 Andreas Schwab <schwab@redhat.com>
18811
18812 [BZ #12454]
18813 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18814 dependencies are missing.
18815
6c8a2e88
ST
188162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18817
f2092faf 18818 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18819 Hurd needs munmap.
18820 * sysdeps/mach/hurd/ifreq.h: New file.
18821
84a42118
PB
188222011-01-27 Petr Baudis <pasky@suse.cz>
18823 Ulrich Drepper <drepper@gmail.com>
18824
071f805e 18825 [BZ 12445]#
84a42118
PB
18826 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18827 to extend_alloca().
18828 * stdio-common/bug23.c: New file.
18829 * stdio-common/Makefile (tests): Add bug23.
18830
e23fe25b
AS
188312010-09-28 Andreas Schwab <schwab@redhat.com>
18832 Ulrich Drepper <drepper@gmail.com>
18833
18834 [BZ #12489]
18835 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18836 before performing relro protection. At old place add assertion
18837 to make sure nothing changed.
18838
d3f02e10
NS
188392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18840 Glauber de Oliveira Costa <glommer@gmail.com>
18841
18842 * elf/elf.h: Add new ARM TLS relocs.
18843
d55fd7a5
RA
188442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18845
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18847 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18848 cast from r3.
18849 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18850 'tests' variable.
18851 * sysdeps/wordsize-64/tst-writev.c: New file.
18852
2206397e
RA
188532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18854
18855 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18856 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18857 insns in _dl_start to prevent a TOC reference before relocs are
18858 resolved.
18859
e9433893
UD
188602011-02-15 Ulrich Drepper <drepper@gmail.com>
18861
18862 [BZ #12469]
18863 * Makeconfig: Remove RANLIB definition.
18864 * Makerules: Don't use RANLIB.
18865 * aclocal.m4: Remove ranlib test.
18866 * configure.in: No need to check for ranlib.
18867 * elf/rtld-Rules: Don't use RANLIB.
18868
f75286c6
ST
188692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18870
8e31c82d
ST
18871 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18872 protection macro.
18873 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18874 inclusion protection macro.
18875
f75286c6
ST
18876 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18877 SIGRTMIN and SIGRTMAX and print information in that case only when
18878 SIGRTMIN is defined.
18879
c1d0e639
JJ
188802011-02-11 Jakub Jelinek <jakub@redhat.com>
18881
18882 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18883 arginfo fn returning -1.
18884
18885 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18886 and thousands string is zero terminated.
18887
edf9294e
AS
188882011-02-03 Andreas Schwab <schwab@redhat.com>
18889
18890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18891 sysdeps/unix/sysv/linux/bits/socket.h.
18892
2b7e92df
ST
188932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18894
edf9294e
AS
18895 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18896 (__CPU_COUNT): Remove old macros.
18897 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18898 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18899 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18900 (__sched_cpualloc, __sched_cpufree): Add declarations.
18901
a4c7ea7b
UD
189022011-02-05 Ulrich Drepper <drepper@gmail.com>
18903
18904 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18905 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18906 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18907 (readdhstai): Return value of addhstaiX call.
18908 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18909 (addgrbyX): Return value returned by cache_addgr.
18910 (readdgrbyname): Return value returned by addgrbyX.
18911 (readdgrbygid): Likewise.
18912 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18913 (addpwbyX): Return value returned by cache_addpw.
18914 (readdpwbyname): Return value returned by addhstbyX.
18915 (readdpwbyuid): Likewise.
18916 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18917 (addservbyX): Return value returned by cache_addserv.
18918 (readdservbyname): Return value returned by addservbyX:
18919 (readdservbyport): Likewise.
18920 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18921 (addhstbyX): Return value returned by cache_addhst.
18922 (readdhstbyname): Return value returned by addhstbyX.
18923 (readdhstbyaddr): Likewise.
18924 (readdhstbynamev6): Likewise.
18925 (readdhstbyaddrv6): Likewise.
18926 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18927 (readdinitgroups): Return value returned by addinitgroupsX.
18928 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18929 (prune_cache): Keep track of timeout value of re-added entries.
18930 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18931 * nscd/nscd.h: Adjust prototypes of readd* functions.
18932
a0bf67cc
RM
189332011-02-04 Roland McGrath <roland@redhat.com>
18934
18935 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18936 (nis_stats): Likewise.
18937 * nis/nis_modify.c (nis_modify): Likewise.
18938 * nis/nis_remove.c (nis_remove): Likewise.
18939 * nis/nis_add.c (nis_add): Likewise.
18940
18941 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18942
18943 * posix/fnmatch_loop.c: Add some consts.
18944
18945 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18946
435b95eb
L
189472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18948
18949 [BZ #12460]
18950 * config.make.in (config-cflags-novzeroupper): Define.
18951 * configure.in: Substitute libc_cv_cc_novzeroupper.
18952 * elf/Makefile (AVX-CFLAGS): Define.
18953 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18954 (CFLAGS-tst-auditmod4a.c): Likewise.
18955 (CFLAGS-tst-auditmod4b.c): Likewise.
18956 (CFLAGS-tst-auditmod6b.c): Likewise.
18957 (CFLAGS-tst-auditmod6c.c): Likewise.
18958 (CFLAGS-tst-auditmod7b.c): Likewise.
18959 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18960
8517b15e
UD
189612011-02-02 Ulrich Drepper <drepper@gmail.com>
18962
18963 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18964 function to the callback.
18965 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18966
10a656fe
AS
189672011-02-02 Andreas Schwab <schwab@redhat.com>
18968
18969 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18970 of errno.
18971
968dad0a
UD
189722011-01-19 Ulrich Drepper <drepper@gmail.com>
18973
9f94d2ea 18974 [BZ #11724]
968dad0a
UD
18975 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18976 of constructors.
18977 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18978 of destructors.
18979 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18980
18981 [BZ #11724]
18982 * elf/Makefile: Add rules to build and run new test.
18983 * elf/tst-initorder.c: New file.
18984 * elf/tst-initorder.exp: New file.
18985 * elf/tst-initordera1.c: New file.
18986 * elf/tst-initordera2.c: New file.
18987 * elf/tst-initordera3.c: New file.
18988 * elf/tst-initordera4.c: New file.
18989 * elf/tst-initorderb1.c: New file.
18990 * elf/tst-initorderb2.c: New file.
18991 * elf/tst-order-a1.c: New file.
18992 * elf/tst-order-a2.c: New file.
18993 * elf/tst-order-a3.c: New file.
18994 * elf/tst-order-a4.c: New file.
18995 * elf/tst-order-b1.c: New file.
18996 * elf/tst-order-b2.c: New file.
18997 * elf/tst-order-main.c: New file.
18998 New test case by George Gensure <werkt0@gmail.com>.
18999
86e92359
UD
190002010-10-01 Andreas Schwab <schwab@redhat.com>
19001
19002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19003 decoding ACE if AI_CANONIDN.
19004
5d5732b0
UD
190052011-01-18 Ulrich Drepper <drepper@gmail.com>
19006
19007 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19008
a77e8cbc
UD
190092011-01-17 Ulrich Drepper <drepper@gmail.com>
19010
6392473f
UD
19011 * version.h (RELEASE): Bump for 2.13 release.
19012 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19013
620a0529
UD
19014 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19015
18ba70a5
UD
19016 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19017 MADV_NOHUGEPAGE.
32465c3e
UD
19018 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19019 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19020 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19021 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19022 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19023 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19024
c0dafcf1
UD
19025 * posix/getconf.c: Update copyright year.
19026 * catgets/gencat.c: Likewise.
19027 * csu/version.c: Likewise.
19028 * debug/catchsegv.sh: Likewise.
19029 * debug/xtrace.sh: Likewise.
19030 * elf/ldconfig.c: Likewise.
19031 * elf/ldd.bash.in: Likewise.
19032 * elf/sprof.c (print_version): Likewise.
19033 * iconv/iconv_prog.c: Likewise.
19034 * iconv/iconvconfig.c: Likewise.
19035 * locale/programs/locale.c: Likewise.
19036 * locale/programs/localedef.c: Likewise.
19037 * malloc/memusage.sh: Likewise.
19038 * malloc/mtrace.pl: Likewise.
19039 * nscd/nscd.c (print_version): Likewise.
19040 * nss/getent.c: Likewise.
19041
a77e8cbc
UD
19042 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19043 PF_CAIF, and PF_ALG.
19044 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19045
77e8bddf
AS
190462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19047
1f20b93a
AS
19048 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19049 (modules-names): Use them.
19050 (ifunc-test-modules, ifunc-pie-tests): Define.
19051 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19052 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19053 (test-extras): Likewise.
19054 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19055 $(compile-command.c).
19056 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19057 (all-built-dso): Define.
19058 (check-textrel.out, check-execstack.out): Depend on it.
19059
77e8bddf
AS
19060 * configure.in: Don't override --enable-multi-arch.
19061
bc425b33
UD
190622011-01-15 Ulrich Drepper <drepper@gmail.com>
19063
19064 [BZ #6812]
19065 * nscd/hstcache.c (tryagain): Define.
19066 (cache_addhst): Return tryagain not notfound for temporary errors.
19067 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19068 failed.
19069
794c3ad3
UD
190702011-01-14 Ulrich Drepper <drepper@gmail.com>
19071
70181fdd
UD
19072 [BZ #10563]
19073 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19074 to make the syscall.
19075 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19076
794c3ad3
UD
19077 [BZ #12378]
19078 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19079 and fall back to matching as normal character if the string ends before
19080 the matching ']' is found. This is what POSIX requires.
19081 * posix/testfnm.c: Adjust test result.
19082 * posix/globtest.sh: Adjust test result. Add new test.
19083 * posix/tst-fnmatch.input: Likewise.
19084 * posix/tst-fnmatch2.c: Add new test.
19085
68dc9497
AS
190862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19087
19088 * elf/Makefile (check-execstack): Revert last change. Depend on
19089 check-execstack.h.
19090 (check-execstack.h): New target.
19091 (generated): Add check-execstack.h.
19092 * elf/check-execstack.c: Include "check-execstack.h".
19093 (main): Revert last change.
19094 (handle_file): Return zero if GNU_STACK is absent and
19095 DEFAULT_STACK_PERMS doesn't include PF_X.
19096
451f001b
UD
190972011-01-13 Ulrich Drepper <drepper@gmail.com>
19098
cfa28e56
UD
19099 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19100 in child fails because the descriptor is already closed.
8cf8ce17
UD
19101 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19102 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19103 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19104
1086d70d
UD
19105 [BZ #12397]
19106 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19107 syscall.
19108
451f001b
UD
19109 [BZ #10484]
19110 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19111 temporary buffer used to handle multi lookups locally.
a85b5cb4 19112 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19113
08769175
UD
191142011-01-12 Ulrich Drepper <drepper@gmail.com>
19115
19116 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19117 loader is ld.so.
19118
5e49c52e
UD
191192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19120
19121 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19122 alignment for SSE2.
19123
60522a5f
UD
191242011-01-12 Ulrich Drepper <drepper@gmail.com>
19125
19126 [BZ #12394]
19127 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19128 characters. When rounding increased number of integer digits recompute
19129 number of groups.
19130 * stdio-common/tst-grouping.c: New file.
19131 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19132
f257bbd7
UD
191332011-01-09 Ulrich Drepper <drepper@gmail.com>
19134
19135 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19136 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19137
19138 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19139 void.
19140 * bits/select.h: Likewise.
19141
fa9c15cb
UD
191422011-01-08 Ulrich Drepper <drepper@gmail.com>
19143
19144 * po/ja.po: Update from translation team.
19145
16c2895f
DM
191462011-01-04 David S. Miller <davem@sunset.davemloft.net>
19147
19148 [BZ #11155]
19149 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19150 implementation just like for lxstat, fxstatat, et al.
19151
2543fef2
JM
191522010-12-27 Jim Meyering <meyering@redhat.com>
19153
19154 [BZ #12348]
19155 * posix/regexec.c (build_trtable): Return failure indication upon
19156 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19157
98727dbe
UD
191582010-12-25 Ulrich Drepper <drepper@gmail.com>
19159
5bd6dc5c
UD
19160 [BZ #12201]
19161 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19162 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19163 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19164 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19165
97983464
UD
19166 [BZ #12207]
19167 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19168
98727dbe
UD
19169 [BZ #12204]
19170 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19171 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19172
4a531bb0
L
191732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19174
19175 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19176 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19177 script has SORT_BY_INIT_PRIORITY.
19178 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19179 NO_CTORS_DTORS_SECTIONS is defined.
19180 * elf/soinit.c: Likewise.
19181 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19182 NO_CTORS_DTORS_SECTIONS is defined.
19183 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19184 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19185 * sysdeps/sh/init-first.c: Likewise.
19186 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19187
07eb4b71
UD
191882010-12-24 Ulrich Drepper <drepper@gmail.com>
19189
19190 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19191 always use the slow path.
19192
30950a5f
RA
191932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19194
19195 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19196 similar rule which adds the sysdep directories to the header search in
19197 order to pick up the correct platform stackinfo.h.
19198 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19199 perform test if it is, otherwise return successfully without testing.
19200 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19201 DEFAULT_STACK_PERMS define in stackinfo.h.
19202 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19203 defined in stackinfo.h.
19204 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19205 DEFAULT_STACK_PERMS defined in stackinfo.h.
19206 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19207 * sysdeps/ia64/stackinfo.h: Likewise.
19208 * sysdeps/s390/stackinfo.h: Likewise.
19209 * sysdeps/sh/stackinfo.h: Likewise.
19210 * sysdeps/sparc/stackinfo.h: Likewise.
19211 * sysdeps/x86_64/stackinfo.h: Likewise.
19212 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19213 PF_X for powerpc64. Retain PF_X for powerpc32.
19214
db753e2c
UD
192152010-12-19 Ulrich Drepper <drepper@gmail.com>
19216
14b697f7
UD
19217 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19218 accurately.
db753e2c
UD
19219 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19220 GETDENTS_64BIT_ALIGNED.
19221
28300719
UD
192222010-12-14 Ulrich Drepper <dreper@gmail.com>
19223
14b697f7 19224 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19225
4f197237
AS
192262010-12-10 Andreas Schwab <schwab@redhat.com>
19227
dbb0472f
AS
19228 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19229 _GNU_SOURCE.
19230
4f197237
AS
19231 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19232 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19233 Remove __restrict.
19234 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19235 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19236
fb88ac72
UD
192372010-12-09 Ulrich Drepper <drepper@gmail.com>
19238
19239 [BZ #11655]
19240 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19241 are initialized.
19242
42acbb92
JJ
192432010-12-09 Jakub Jelinek <jakub@redhat.com>
19244
19245 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19246
c038d98d
UD
192472010-12-03 Ulrich Drepper <drepper@gmail.com>
19248
19249 * po/it.po: Update from translation team.
19250
3a4a2499
L
192512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19252
19253 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19254 unused codes.
19255
1e24cf6e
UD
192562010-11-30 Ulrich Drepper <drepper@gmail.com>
19257
19258 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19259
a7690819
AS
192602010-11-24 Andreas Schwab <schwab@redhat.com>
19261
19262 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19263 specially.
19264 (gaih_getanswer_slice): Likewise.
19265
3bf8d1b1
JJ
192662010-10-20 Jakub Jelinek <jakub@redhat.com>
19267
19268 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19269
6db52fbb
PB
192702010-05-31 Petr Baudis <pasky@suse.cz>
19271
19272 [BZ #11149]
19273 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19274 silently even in the chroot mode.
19275
eaca7569
UD
192762010-11-22 Ulrich Drepper <drepper@gmail.com>
19277
19278 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19279 last patch a bit. Pretty printing
19280
3056dcdb
UD
192812010-05-31 Petr Baudis <pasky@suse.cz>
19282
19283 [BZ #10085]
19284 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19285 initialization of skip_initgroups_dyn.
19286
cf7c9078
UD
192872010-11-19 Ulrich Drepper <drepper@gmail.com>
19288
19289 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19290 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19291
a1fb5e3e
UD
192922010-11-16 Ulrich Drepper <drepper@gmail.com>
19293
19294 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19295
3540d66b
AS
192962010-11-11 Andreas Schwab <schwab@redhat.com>
19297
19298 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19299 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19300 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19301 ($(objpfx)tst-fnmatch-mem): New rule.
19302 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19303 * posix/tst-fnmatch.c (main): Call mtrace.
19304
13b69574
L
193052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19306
19307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19308 Support Intel processor model 6 and model 0x2c.
19309
da93d214
LM
193102010-11-10 Luis Machado <luisgpm@br.ibm.com>
19311
19312 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19313 signed comparison.
19314
8ca52c6e
L
193152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19316
19317 [BZ #12205]
19318 * string/test-strncasecmp.c (check_result): New function.
19319 (do_one_test): Use it.
19320 (check1): New function.
19321 (test_main): Use it.
19322 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19323 Support strcasecmp and strncasecmp.
19324
69da074d
UD
193252010-11-08 Ulrich Drepper <drepper@gmail.com>
19326
19327 [BZ #12194]
19328 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19329 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19330
ff02d528
L
193312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19332
19333 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19334 IFUNC support.
19335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19336 memset-x86-64.
19337 * sysdeps/x86_64/multiarch/bzero.S: New file.
19338 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19339 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19340 * sysdeps/x86_64/multiarch/memset.S: New file.
19341 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19343 Set bit_Prefer_SSE_for_memop for Intel processors.
19344 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19345 Define.
19346 (index_Prefer_SSE_for_memop): Define.
19347 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19348
344d0b54
LM
193492010-11-04 Luis Machado <luisgpm@br.ibm.com>
19350
19351 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19352 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19353
c0dde15b
UD
193542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19355
19356 [BZ #12191]
19357 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19358 (__x86_64_raw_data_cache_size_half): Likewise.
19359 (__x86_64_raw_shared_cache_size): Likewise.
19360 (__x86_64_raw_shared_cache_size_half): Likewise.
19361
19362 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19363 (__x86_64_raw_data_cache_size_half): Likewise.
19364 (__x86_64_raw_shared_cache_size): Likewise.
19365 (__x86_64_raw_shared_cache_size_half): Likewise.
19366 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19367 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19368 and __x86_64_raw_shared_cache_size_half. Round
19369 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19370 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19371 to multiple of 256 bytes.
19372
0e516e0e
MS
193732010-11-03 Ulrich Drepper <drepper@gmail.com>
19374
19375 [BZ #12167]
19376 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19377 of inacessible symlinks. Verify result of symlink before returning it.
19378 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19379 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19380
0e012e87
ER
193812010-10-28 Erich Ritz <erichritz@gmail.com>
19382
19383 * math/math.h (isinf): Fix typo in comment.
19384
de0ff7bc
UD
193852010-11-01 Ulrich Drepper <drepper@gmail.com>
19386
19387 * po/da.po: Update from translation team.
19388
fa41c84d
UD
193892010-10-26 Ulrich Drepper <drepper@gmail.com>
19390
19391 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19392 is added to the list.
19393
f0967738
AK
193942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19395 Ulrich Drepper <drepper@gmail.com>
19396
19397 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19398 the global list here. Move code to...
19399 (_dl_add_to_namespace_list): ...here. New function.
19400 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19401 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19402 * elf/dl-load.c (lose): Don't remove the element from the list.
19403 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19404 (_dl_map_object): Likewise.
19405
194062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19407
19408 [BZ #12159]
19409 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19410 into all bytes of SSE register.
19411 Patch by Richard Li <richardpku@gmail.com>.
19412
f0967738 194132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19414
19415 [BZ #12140]
19416 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19417 perturbing.
19418
d0b9e94f
MB
194192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19420
19421 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19422 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19423 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19424 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19426 submachine.
19427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19428
8e9f92e9
AS
194292010-10-22 Andreas Schwab <schwab@redhat.com>
19430
19431 * include/dlfcn.h (__RTLD_SECURE): Define.
19432 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19433 mode & __RTLD_SECURE instead.
19434 (open_path): Rename preloaded parameter to secure.
19435 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19436 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19437 * elf/dl-deps.c (openaux): Likewise.
19438 * elf/rtld.c (struct map_args): Remove is_preloaded.
19439 (map_doit): Don't use it.
19440 (dl_main): Likewise.
19441 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19442 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19443
bc96fbda
AS
194442010-09-09 Andreas Schwab <schwab@redhat.com>
19445
19446 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19447 (sysd-rules-targets): Remove duplicates.
19448 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19449 rtld-%.$o dependency.
19450
22cd1c9b
AS
194512010-10-18 Andreas Schwab <schwab@redhat.com>
19452
19453 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19454 _dl_map_object do it.
19455
18edac48
UD
194562010-10-19 Ulrich Drepper <drepper@gmail.com>
19457
19458 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19459 fast fma builtins, define the macros in the C99 standard.
19460 (FP_FAST_FMAF): Likewise.
19461 (FP_FAST_FMAL): Likewise.
19462 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19463
19464 * bits/mathdef.h: Update copyright year.
19465 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19466
d2050124
MM
194672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19468
19469 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19470 builtins, define the macros in the C99 standard.
19471 (FP_FAST_FMAF): Likewise.
19472 (FP_FAST_FMAL): Likewise.
19473 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19474 multiply/add.
19475 (FP_FAST_FMAF): Likewise.
19476
475facd1
JJ
194772010-10-15 Jakub Jelinek <jakub@redhat.com>
19478
19479 [BZ #3268]
19480 * math/libm-test.inc (fma_test): Some new testcases.
19481 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19482 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19483 y and infinite z. Do multiplication by C already in long double.
19484 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19486 y and infinite z. Do bitwise or of inexact bit into u.d.
19487 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19488 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19489 * sysdeps/i386/fpu/s_fma.S: Removed.
19490 * sysdeps/i386/fpu/s_fmal.S: Removed.
19491
7c08a05c
JJ
194922010-10-16 Jakub Jelinek <jakub@redhat.com>
19493
19494 [BZ #3268]
19495 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19496 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19497 computation is not scheduled after fetestexcept. Fix value
19498 of minimum denormal long double.
19499
f3f7372d
JJ
195002010-10-14 Jakub Jelinek <jakub@redhat.com>
19501
19502 [BZ #3268]
19503 * math/libm-test.inc (fma_test): Add some more tests.
19504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19505 correctly.
19506
14d43591
AS
195072010-10-15 Andreas Schwab <schwab@redhat.com>
19508
19509 * scripts/data/localplt-s390-linux-gnu.data: New file.
19510 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19511
5e908464
JJ
195122010-10-13 Jakub Jelinek <jakub@redhat.com>
19513
19514 [BZ #3268]
19515 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19516 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19517 instead of dbl-64.
19518 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19519 inlines.
19520 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19521 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19522 if one of x and y is very large and the other is subnormal.
19523 * sysdeps/s390/fpu/s_fmaf.c: New file.
19524 * sysdeps/s390/fpu/s_fma.c: New file.
19525 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19526 * sysdeps/powerpc/fpu/s_fma.S: New file.
19527 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19528 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19529 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19530
195312010-10-12 Jakub Jelinek <jakub@redhat.com>
19532
19533 [BZ #3268]
19534 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19535 fma tests.
19536 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19537 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19538 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19539 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19540 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19541 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19542 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19543
b833d51f
UD
195442010-10-12 Ulrich Drepper <drepper@redhat.com>
19545
19546 [BZ #12078]
19547 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19548 * posix/bug-regex31.input: Add test case.
19549
1751705d
UD
195502010-10-11 Ulrich Drepper <drepper@gmail.com>
19551
e9b9cbf5
UD
19552 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19553 * posix/bug-regex31.input: New file.
19554
19555 [BZ #12078]
19556 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19557 (parse_sub_exp): Fix last change, use postorder.
19558
ef06edbe
UD
19559 * posix/bug-regex31.c: New file.
19560 * posix/Makefile: Add rules to build and run bug-regex31.
19561
a129c80d
UD
19562 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19563
19564 [BZ #12078]
19565 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19566
b76b818e
UD
19567 [BZ #12108]
19568 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19569 to have entries in sys_siglist.
19570
1751705d
UD
19571 [BZ #12093]
19572 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19573 be NULL.
19574
9ff8d36f
JJ
195752010-10-07 Jakub Jelinek <jakub@redhat.com>
19576
19577 [BZ #3268]
19578 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19579 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19580 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19581 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19582 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19583 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19584 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19585 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19586 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19587 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19588 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19589 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19590 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19591 * math/ftestexcept.c (fetestexcept): Likewise.
19592 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19593 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19594 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19595 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19596 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19597 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19598 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19599
af325969
UD
196002010-10-11 Ulrich Drepper <drepper@gmail.com>
19601
c579b202 19602 [BZ #12107]
af325969
UD
19603 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19604 newline.
19605
67a67b95
UD
196062010-10-06 Ulrich Drepper <drepper@gmail.com>
19607
19608 * string/bug-strstr1.c: New file.
19609 * string/Makefile: Add rules to build and run bug-strstr1.
19610
5fb308bc
EB
196112010-10-05 Eric Blake <eblake@redhat.com>
19612
19613 [BZ #12092]
19614 * string/str-two-way.h (two_way_long_needle): Always clear memory
19615 when skipping input due to the shift table.
19616
45db99c7
UD
196172010-10-03 Ulrich Drepper <drepper@gmail.com>
19618
3b111893
UD
19619 [BZ #12005]
19620 * malloc/mcheck.c: Handle large requests.
19621
45db99c7
UD
19622 [BZ #12077]
19623 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19624 for strncmp and strncasecmp.
19625 * string/stratcliff.c: Add tests for strcmp and strncmp.
19626 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19627
cf7a1eb8
NI
196282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19629
19630 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19631 __set_fpscr.
19632
6484ba5e
AJ
196332010-09-30 Andreas Jaeger <aj@suse.de>
19634
19635 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19636 (CGROUP_SUPER_MAGIC): Define.
19637 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19638 Handle btrfs and cgroup file systems.
19639 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19640 Likewise.
19641
91c42559
LM
196422010-09-27 Luis Machado <luisgpm@br.ibm.com>
19643
19644 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19645 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19646
87a97932
AK
196472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19648
19649 [BZ #12067]
19650 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19651 trying to locate the ELF header.
19652
c21cc9bc
AS
196532010-09-27 Andreas Schwab <schwab@redhat.com>
19654
19655 [BZ #11611]
19656 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19657 Mask out sign-bit copies when constructing f_fsid.
19658
315970f6
PB
196592010-09-24 Petr Baudis <pasky@suse.cz>
19660
19661 * debug/stack_chk_fail_local.c: Add missing licence exception.
19662 * debug/warning-nop.c: Likewise.
19663
1ac7a2c7
JM
196642010-09-15 Joseph Myers <joseph@codesourcery.com>
19665
19666 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19667 implementing getdents64 using getdents syscall, set d_type if
19668 __ASSUME_GETDENTS32_D_TYPE.
19669
56801c50
AS
196702010-09-16 Andreas Schwab <schwab@redhat.com>
19671
19672 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19673 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19674
dda51327
UD
196752010-09-21 Ulrich Drepper <drepper@redhat.com>
19676
19677 [BZ #12037]
19678 * posix/unistd.h: Undo change of feature selection for ftruncate from
19679 2010-01-11.
19680
8ffcee4a
UD
196812010-09-20 Ulrich Drepper <drepper@redhat.com>
19682
a545ecd9 19683 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19684 detection.
19685
e24f0a8b
AS
196862010-09-20 Andreas Schwab <schwab@redhat.com>
19687
19688 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19689 fanotify_mark.
19690 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19691
7291c56f
AS
196922010-09-14 Andreas Schwab <schwab@redhat.com>
19693
19694 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19695 variables after CHECK_SP call.
19696 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19697
bc5fb037
AS
196982010-09-13 Andreas Schwab <schwab@redhat.com>
19699 Ulrich Drepper <drepper@redhat.com>
19700
19701 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19702 re-relocationg ld.so.
19703 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19704 _dl_init_paths call.
19705 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19706 here anymore.
19707
e66e7419
UD
197082010-09-14 Ulrich Drepper <drepper@redhat.com>
19709
19710 * resolv/res_init.c (__res_vinit): Count the default server we added.
19711
c044aa75
CLT
197122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19713 Ulrich Drepper <drepper@redhat.com>
19714
19715 [BZ #11968]
19716 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19717 (____longjmp_chk): Use %ebx for saving value across system call.
19718 Add unwind info.
19719
32cf4069
AS
197202010-09-06 Andreas Schwab <schwab@redhat.com>
19721
19722 * manual/Makefile: Don't mix pattern rules with normal rules.
19723
817328ee
AS
197242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19725
19726 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19727 operation.
19728 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19729 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19730 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19731 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19732 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19733 Likewise.
19734
29fddf61
UD
197352010-09-04 Ulrich Drepper <drepper@redhat.com>
19736
19737 [BZ #11979]
19738 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19739 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19740
0959ffc9
UD
197412010-09-02 Ulrich Drepper <drepper@redhat.com>
19742
19743 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19744 * sysdeps/x86_64/addmul_1.S: Likewise.
19745 * sysdeps/x86_64/lshift.S: Likewise.
19746 * sysdeps/x86_64/mul_1.S: Likewise.
19747 * sysdeps/x86_64/rshift.S: Likewise.
19748 * sysdeps/x86_64/sub_n.S: Likewise.
19749 * sysdeps/x86_64/submul_1.S: Likewise.
19750
ece29840
ST
197512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19752
0959ffc9
UD
19753 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19754 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19755 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19756 * bits/sched.h [__need_schedparam]
ece29840 19757 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19758 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19759 (__defined_schedparam): Define to 1.
ece29840
ST
19760 (__sched_param): New structure, identical to sched_param.
19761 (__need_schedparam): Undefine.
19762
e53a31fe
MF
197632010-08-31 Mike Frysinger <vapier@gentoo.org>
19764
fdc0c10d
MF
19765 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19766 (epoll_create1): Declare.
19767
e53a31fe
MF
19768 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19769
a726d796
AS
197702010-08-31 Andreas Schwab <schwab@redhat.com>
19771
19772 [BZ #7066]
19773 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19774 shifting retval into place.
19775
2f3e3dc7
UD
197762010-09-01 Ulrich Drepper <drepper@redhat.com>
19777
f2933da9
UD
19778 * nis/rpcsvc/nis.h: Update copyright notice.
19779 * nis/rpcsvc/nis.x: Likewise.
19780 * nis/rpcsvc/nis_callback.h: Likewise.
19781 * nis/rpcsvc/nis_callback.x: Likewise.
19782 * nis/rpcsvc/nis_object.x: Likewise.
19783 * nis/rpcsvc/nis_tags.h: Likewise.
19784 * nis/rpcsvc/yp.h: Likewise.
19785 * nis/rpcsvc/yp.x: Likewise.
19786 * nis/rpcsvc/ypupd.h: Likewise.
19787 * nis/yp_xdr.c: Likewise.
19788 * nis/ypupdate_xdr.c: Likewise.
19789
2f3e3dc7
UD
19790 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19791 mainly the body of pmap_getport. Add parameters to specify timeouts.
19792 (pmap_getport): Use __libc_rpc_getport.
19793 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19794 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19795 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19796
f3dcc2f9
AS
197972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19798
19799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19800 fanotify_mark.
19801
6d34eb5b
RM
198022010-08-27 Roland McGrath <roland@redhat.com>
19803
19804 * sysdeps/i386/i686/multiarch/Makefile
19805 (CFLAGS-varshift.c): New variable.
19806
9ea3de11
UD
198072010-08-27 Ulrich Drepper <drepper@redhat.com>
19808
c96d23fc
UD
19809 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19810 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19811
9ea3de11
UD
19812 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19813
19814 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19815
623aac7f
L
198162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19817
19818 * sysdeps/x86_64/strlen.S: Unroll the loop.
19819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19820 strlen-sse2 strlen-sse2-bsf.
19821 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19822 __strlen_no_bsf if bit_Slow_BSF is set.
19823 (__strlen_sse42): Removed.
19824 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19825 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19826
8b2b7715
RM
198272010-08-25 Roland McGrath <roland@redhat.com>
19828
19829 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19830 * sysdeps/x86_64/multiarch/varshift.c: New file.
19831 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19832 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19833 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19834 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19835
e73015f2
L
198362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19837
19838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19839 strlen-sse2 strlen-sse2-bsf.
19840 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19841 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19842 (__strlen_sse2): Removed.
19843 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19844 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19846 bit_Slow_BSF for Atom.
19847 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19848 (index_Slow_BSF): Define.
19849 (HAS_SLOW_BSF): Define.
19850
df24a73e
UD
198512010-08-25 Ulrich Drepper <drepper@redhat.com>
19852
19853 [BZ #10851]
19854 * resolv/res_init.c (__res_vinit): When no server address at all
19855 is given default to loopback.
19856
f2ac4868
RM
198572010-08-24 Roland McGrath <roland@redhat.com>
19858
09055553
RM
19859 * configure.in: Remove config-name.h generation.
19860 * configure: Regenerated.
19861 * config-name.in: File removed.
19862 * scripts/config-uname.sh: New file.
19863 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19864 ($(objdir)config-name.h): New target.
19865
f2ac4868
RM
19866 * sunrpc/rpc_parse.h: Avoid nested comment.
19867
73f27d5e
RH
198682010-08-24 Richard Henderson <rth@redhat.com>
19869 Ulrich Drepper <drepper@redhat.com>
19870 H.J. Lu <hongjiu.lu@intel.com>
19871
19872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19874 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19875 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19876 _mm_alignr_epi8 with _mm_loadu_si128.
19877 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19878 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19879 (__m128i_shift_right): Removed.
19880 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19881 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19882 * sysdeps/x86_64/multiarch/varshift.h: New file.
19883 * sysdeps/x86_64/multiarch/varshift.S: New file.
19884
84b9230c
MF
198852010-08-21 Mike Frysinger <vapier@gentoo.org>
19886
19887 * configure.in: Move assembler checks to before sysdep dir checking.
19888
9bbd0ddc
PB
198892010-08-20 Petr Baudis <pasky@suse.cz>
19890
19891 * LICENSES: Sync the sunrpc license.
19892
9da4bb31
UD
198932010-08-19 Ulrich Drepper <drepper@redhat.com>
19894
a7ab6ec8
UD
19895 * sunrpc/auth_des.c: Update copyright notice once again.
19896 * sunrpc/auth_none.c: Likewise.
19897 * sunrpc/auth_unix.c: Likewise.
19898 * sunrpc/authdes_prot.c: Likewise.
19899 * sunrpc/authuxprot.c: Likewise.
19900 * sunrpc/bindrsvprt.c: Likewise.
19901 * sunrpc/clnt_gen.c: Likewise.
19902 * sunrpc/clnt_perr.c: Likewise.
19903 * sunrpc/clnt_raw.c: Likewise.
19904 * sunrpc/clnt_simp.c: Likewise.
19905 * sunrpc/clnt_tcp.c: Likewise.
19906 * sunrpc/clnt_udp.c: Likewise.
19907 * sunrpc/clnt_unix.c: Likewise.
19908 * sunrpc/des_crypt.c: Likewise.
19909 * sunrpc/des_soft.c: Likewise.
19910 * sunrpc/get_myaddr.c: Likewise.
19911 * sunrpc/getrpcport.c: Likewise.
19912 * sunrpc/key_call.c: Likewise.
19913 * sunrpc/key_prot.c: Likewise.
19914 * sunrpc/openchild.c: Likewise.
19915 * sunrpc/pm_getmaps.c: Likewise.
19916 * sunrpc/pm_getport.c: Likewise.
19917 * sunrpc/pmap_clnt.c: Likewise.
19918 * sunrpc/pmap_prot.c: Likewise.
19919 * sunrpc/pmap_prot2.c: Likewise.
19920 * sunrpc/pmap_rmt.c: Likewise.
19921 * sunrpc/rpc/auth.h: Likewise.
19922 * sunrpc/rpc/auth_unix.h: Likewise.
19923 * sunrpc/rpc/clnt.h: Likewise.
19924 * sunrpc/rpc/des_crypt.h: Likewise.
19925 * sunrpc/rpc/key_prot.h: Likewise.
19926 * sunrpc/rpc/netdb.h: Likewise.
19927 * sunrpc/rpc/pmap_clnt.h: Likewise.
19928 * sunrpc/rpc/pmap_prot.h: Likewise.
19929 * sunrpc/rpc/pmap_rmt.h: Likewise.
19930 * sunrpc/rpc/rpc.h: Likewise.
19931 * sunrpc/rpc/rpc_des.h: Likewise.
19932 * sunrpc/rpc/rpc_msg.h: Likewise.
19933 * sunrpc/rpc/svc.h: Likewise.
19934 * sunrpc/rpc/svc_auth.h: Likewise.
19935 * sunrpc/rpc/types.h: Likewise.
19936 * sunrpc/rpc/xdr.h: Likewise.
19937 * sunrpc/rpc_clntout.c: Likewise.
19938 * sunrpc/rpc_cmsg.c: Likewise.
19939 * sunrpc/rpc_common.c: Likewise.
19940 * sunrpc/rpc_cout.c: Likewise.
19941 * sunrpc/rpc_dtable.c: Likewise.
19942 * sunrpc/rpc_hout.c: Likewise.
19943 * sunrpc/rpc_main.c: Likewise.
19944 * sunrpc/rpc_parse.c: Likewise.
19945 * sunrpc/rpc_parse.h: Likewise.
19946 * sunrpc/rpc_prot.c: Likewise.
19947 * sunrpc/rpc_sample.c: Likewise.
19948 * sunrpc/rpc_scan.c: Likewise.
19949 * sunrpc/rpc_scan.h: Likewise.
19950 * sunrpc/rpc_svcout.c: Likewise.
19951 * sunrpc/rpc_tblout.c: Likewise.
19952 * sunrpc/rpc_util.c: Likewise.
19953 * sunrpc/rpc_util.h: Likewise.
19954 * sunrpc/rpcinfo.c: Likewise.
19955 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19956 * sunrpc/rpcsvc/key_prot.x: Likewise.
19957 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19958 * sunrpc/rpcsvc/mount.x: Likewise.
19959 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19960 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19961 * sunrpc/rpcsvc/rex.x: Likewise.
19962 * sunrpc/rpcsvc/rstat.x: Likewise.
19963 * sunrpc/rpcsvc/rusers.x: Likewise.
19964 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19965 * sunrpc/rpcsvc/spray.x: Likewise.
19966 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19967 * sunrpc/rtime.c: Likewise.
19968 * sunrpc/svc.c: Likewise.
19969 * sunrpc/svc_auth.c: Likewise.
19970 * sunrpc/svc_authux.c: Likewise.
19971 * sunrpc/svc_raw.c: Likewise.
19972 * sunrpc/svc_run.c: Likewise.
19973 * sunrpc/svc_simple.c: Likewise.
19974 * sunrpc/svc_tcp.c: Likewise.
19975 * sunrpc/svc_udp.c: Likewise.
19976 * sunrpc/svc_unix.c: Likewise.
19977 * sunrpc/svcauth_des.c: Likewise.
19978 * sunrpc/xcrypt.c: Likewise.
19979 * sunrpc/xdr.c: Likewise.
19980 * sunrpc/xdr_array.c: Likewise.
19981 * sunrpc/xdr_float.c: Likewise.
19982 * sunrpc/xdr_mem.c: Likewise.
19983 * sunrpc/xdr_rec.c: Likewise.
19984 * sunrpc/xdr_ref.c: Likewise.
19985 * sunrpc/xdr_sizeof.c: Likewise.
19986 * sunrpc/xdr_stdio.c: Likewise.
19987
9da4bb31
UD
19988 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19989 handling.
19990
bdaa77bc
AS
199912010-08-19 Andreas Schwab <schwab@redhat.com>
19992
19993 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19994
fe2f79db
LM
199952010-08-19 Luis Machado <luisgpm@br.ibm.com>
19996
19997 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19998 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19999 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20000 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20001 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20002 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20003 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20004 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20005 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20006 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20007 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20008 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20009 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20010 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20011
b9b42ee0
AB
200122010-07-26 Anton Blanchard <anton@samba.org>
20013
20014 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20015 * malloc/arena.c (heap_trim): Likewise.
20016
1c06ba31
UD
200172010-08-16 Ulrich Drepper <drepper@redhat.com>
20018
20019 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20020 here. Not...
20021 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20022 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20023
f8392f40
L
200242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20025
20026 * sysdeps/i386/elf/Makefile: New file.
20027
3162f12e
AS
200282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20029
20030 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20031 from fanotify_init.
20032 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20033 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20034
28c90b2c
UD
200352010-08-15 Ulrich Drepper <drepper@redhat.com>
20036
20037 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20038 of strncasecmp_l.
1feccb6c 20039 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20040
ca6bb004
UD
200412010-08-14 Ulrich Drepper <drepper@redhat.com>
20042
e9f82e0d
UD
20043 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20044 strncase_l-nonascii.
20045 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20046 Add strncase_l-ssse3.
20047 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20048 * sysdeps/x86_64/strcmp.S: Likewise.
20049 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20050 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20051 * sysdeps/x86_64/strncase.S: New file.
20052 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20053 * sysdeps/x86_64/strncase_l.S: New file.
20054 * string/Makefile (strop-tests): Add strncasecmp.
20055 * string/test-strncasecmp.c: New file.
20056
20057 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20058 warning.
20059
ca6bb004
UD
20060 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20061 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20062
052fa7b3
AS
200632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20064
20065 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20066
962dba78
UD
200672010-08-12 Ulrich Drepper <drepper@redhat.com>
20068
20069 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20070 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20071 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20072
bebff237
AM
200732010-05-01 Alan Modra <amodra@gmail.com>
20074
20075 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20076 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20077 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20078 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20079 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20080 tidying. Don't tail-call __sigjmp_save for static lib.
20081 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20082 save location.
20083 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20084 (CALL_MCOUNT): Add eh info, and nop after bl.
20085 (TAIL_CALL_SYSCALL_ERROR): New macro.
20086 (PSEUDO_RET): Use it.
20087 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20088 Correct save location of integer regs and cr.
20089 (_dl_profile_resolve): Correct cr save location. Delete nops
20090 after bl when SHARED. Reduce cfi size a little by better
20091 placement of cfi directives.
20092 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20093 make a stack frame. Instead use parm save area as a temp.
20094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20095 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20097 Don't make a stack frame for parent, use parm save area.
20098 Increase child stack frame to 112 bytes. Don't save unused reg,
20099 and adjust reg usage. Set up cfi on error recovery and
20100 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20102 (__makecontext): Add dummy nop after jump to exit.
20103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20104 Use correct parm save area and cr save, reduce stack frame.
20105 Correct cfi for possible PSEUDO_RET frame setup.
20106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20107 Branch to local label emitted by PSEUDO_RET rather than
20108 __syscall_error.
20109
02637374
AS
201102010-08-12 Andreas Schwab <schwab@redhat.com>
20111
20112 [BZ #11904]
20113 * locale/programs/locale.c (print_assignment): New function.
20114 (show_locale_vars): Use it.
20115
c3e2f19b
UD
201162010-08-11 Ulrich Drepper <drepper@redhat.com>
20117
3cdaa6ad
UD
20118 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20119 field.
20120 (struct statfs64): Likewise.
20121 (_STATFS_F_FLAGS): Define.
20122 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20123 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20124 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20125 (ST_VALID): Define locally.
20126 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20127 __statvfs_getflags, use the provided value.
20128 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20129 __ASSUME_STATFS_F_FLAGS.
20130
754f7da3
UD
20131 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20132
10b3bedc
UD
20133 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20134 Add sys/fanotify.h.
20135 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20136 fanotify_mask for GLIBC_2.13.
20137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20138 fanotify_init and fanotify_mark.
20139 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20140 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20141
c08fb0d7
UD
20142 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20143 Add prlimit.
20144 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20145 prlimit64 for GLIBC_2.13.
20146 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20147 prlimit64.
20148 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20149 syscall.
20150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20151 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20152 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20153 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20155 add prlimit alias.
20156 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20157
15bac72b
UD
20158 [BZ #11903]
20159 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20160 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20161
c3e2f19b
UD
20162 * nss/Makefile: Add rules to build and run tst-nss-test1.
20163 * shlib-versions: Add entry for libnss_test1.
20164 * nss/nss_test1.c: New file.
20165 * nss/tst-nss-test1.c: New file.
20166
20167 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20168 (__nss_configure_lookup): Set appropriate entry in
20169 __nss_configure_lookup to true.
20170 * nss/nsswitch.h: Define enum with indeces of databases in
20171 databases and __nss_database_custom arrays. Declare
20172 __nss_database_custom.
20173 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20174 to avoid using nscd when custom rules are installed.
20175 * nss/getXXbyYY_r.c: Likewise.
20176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20177
20178 * nss/nss_files/files-parse.c: Whitespace fixes.
20179
f15ce4d8
UD
201802010-08-09 Ulrich Drepper <drepper@redhat.com>
20181
20182 [BZ #11883]
20183 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20184 * posix/fnmatch_loop.c: Likewise.
20185
d22e4cc9
AK
201862010-07-17 Andi Kleen <ak@linux.intel.com>
20187
20188 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20189 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20190 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20191 * Versions.def [GLIBC_2.13]: Add.
20192
805bc17d
UD
201932010-08-06 Ulrich Drepper <drepper@redhat.com>
20194
20195 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20196 Also fail if tpwd after pwuid call is NULL.
20197
5a42321d
ST
201982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20199
20200 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20201 when converting to ms.
20202
fd3ebeda
ST
202032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20204
20205 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20206 EOPNOTSUPP errors with ENOTTY.
20207 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20208 EOPNOTSUPP errors with ENOTTY.
20209
73507d3a
UD
202102010-07-31 Ulrich Drepper <drepper@redhat.com>
20211
20212 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20213 Add strcasecmp_l-ssse3.
20214 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20215 strcasecmp.
20216 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20217 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20218 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20219
fe36dd02
UD
202202010-07-30 Ulrich Drepper <drepper@redhat.com>
20221
66f6765a
UD
20222 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20223
42e08a54
UD
20224 * string/Makefile (strop-tests): Add strcasecmp.
20225 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20226 strcasecmp_l-nonascii.
20227 (gen-as-const-headers): Add locale-defines.sym.
20228 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20229 * sysdeps/x86_64/strcasecmp.S: New file.
20230 * sysdeps/x86_64/strcasecmp_l.S: New file.
20231 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20232 * sysdeps/x86_64/locale-defines.sym: New file.
20233 * string/test-strcasecmp.c: New file.
20234
fe36dd02
UD
20235 * string/test-strcasestr.c: Test both ends of the range of characters.
20236 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20237
48cbc0d6
RM
202382010-07-29 Roland McGrath <roland@redhat.com>
20239
76e6d6bc 20240 [BZ #11856]
48cbc0d6
RM
20241 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20242
880113d9
UD
202432010-07-27 Ulrich Drepper <drepper@redhat.com>
20244
20245 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20246 for ld.so.
20247
deb9cabb
AS
202482010-07-27 Andreas Schwab <schwab@redhat.com>
20249
20250 * manual/memory.texi (Malloc Tunable Parameters): Document
20251 M_PERTURB.
20252
1c7570ff
RM
202532010-07-26 Roland McGrath <roland@redhat.com>
20254
20255 [BZ #11840]
20256 * configure.in (-fgnu89-inline check): Set and substitute
20257 gnu89_inline, not libc_cv_gnu89_inline.
20258 * configure: Regenerated.
20259 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20260
24fb0f88
UD
202612010-07-26 Ulrich Drepper <drepper@redhat.com>
20262
20263 * string/test-strnlen.c: New file.
20264 * string/Makefile (strop-tests): Add strnlen.
20265 * string/tester.c (test_strnlen): Add a few more test cases.
20266 * string/tst-strlen.c: Better error reporting.
20267
20268 * sysdeps/x86_64/strnlen.S: New file.
20269
8e96b93a
UD
202702010-07-24 Ulrich Drepper <drepper@redhat.com>
20271
20272 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20273 lower-latency instructions.
20274
dbc676d4
UD
202752010-07-23 Ulrich Drepper <drepper@redhat.com>
20276
20277 * string/test-strcasestr.c: New file.
20278 * string/test-strstr.c: New file.
20279 * string/Makefile (strop-tests): Add strstr and strcasestr.
20280 * string/str-two-way.h: Don't undefine MAX.
20281 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20282
f6a31e0e
AS
202832010-07-21 Andreas Schwab <schwab@redhat.com>
20284
20285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20286 strcasestr-nonascii.
20287 (CFLAGS-strcasestr-nonascii.c): Define.
20288 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20289 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20290 Remove unused attribute.
20291
5dbc3b6c
RM
202922010-07-20 Roland McGrath <roland@redhat.com>
20293
20294 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20295 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20296 ld.so.cache was broken. With it, there is no way to disable dsocaps
20297 like LD_HWCAP_MASK can disable hwcaps.
20298
23d101d8
EPM
202992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20300
20301 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20302
cc9f2e47
UD
203032010-07-16 Ulrich Drepper <drepper@redhat.com>
20304
20305 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20306 call in strcasestr.
20307 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20308 __strcasestr_sse42_nonascii.
20309 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20310 strcasestr-nonascii.c.
20311 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20312
77c1b069
LM
203132010-06-15 Luis Machado <luisgpm@br.ibm.com>
20314
20315 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20316 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20317 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20318 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20319
440566c3
UD
203202010-07-09 Ulrich Drepper <drepper@redhat.com>
20321
20322 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20323 fcntl.
20324
5be9d05d
AS
203252010-07-06 Andreas Schwab <schwab@redhat.com>
20326
c30b7ee2 20327 [BZ #11577]
5be9d05d
AS
20328 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20329 dl_signal_cerror.
20330
8a492a67
UD
203312010-07-06 Ulrich Drepper <drepper@redhat.com>
20332
20333 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20334 _PC_PIPE_BUF using F_GETPIPE_SZ.
20335
713df3d5
RM
203362010-07-05 Roland McGrath <roland@redhat.com>
20337
20338 * manual/arith.texi (Rounding Functions): Fix rint description
20339 implicit in round description.
20340
702e8f14
UD
203412010-07-02 Ulrich Drepper <drepper@redhat.com>
20342
20343 * elf/Makefile: Fix linking for a few tests to make recent linker
20344 happy.
20345
52ed8be9
AS
203462010-06-30 Andreas Schwab <schwab@redhat.com>
20347
20348 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20349 $(common-objpfx)libc_nonshared.a.
20350
f47c9a11
LM
203512010-06-21 Luis Machado <luisgpm@br.ibm.com>
20352
20353 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20354 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20355 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20356 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20357 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20358 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20359 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20360 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20375 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20376 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20377 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20378 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20379 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20380 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20381 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20382 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20383 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20384 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20385 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20386 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20401
6fb8cbcb
L
204022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20403
20404 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20405 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20406 * string/memmove.c (memmove): Renamed to ...
20407 (MEMMOVE): ...this. Default to memmove.
20408 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20409 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20410 (END_CHK): Define.
20411 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20412 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20413 mempcpy-ssse3-back memmove-ssse3-back.
20414 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20415 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20416 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20417 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20418 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20419 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20420 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20421 * sysdeps/x86_64/multiarch/memmove.c: New file.
20422 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20423 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20424 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20425 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20426 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20427 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20428 Define.
20429 (index_Fast_Copy_Backward): Define.
20430 (HAS_ARCH_FEATURE): Define.
20431 (HAS_FAST_REP_STRING): Define.
20432 (HAS_FAST_COPY_BACKWARD): Define.
20433
4e733bac 204342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20435
20436 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20437 Restore proper fallback handling.
20438
63c4ed22
UD
204392010-06-19 Ulrich Drepper <drepper@redhat.com>
20440
ac2b484c
UD
20441 [BZ #11701]
20442 * posix/group_member.c (__group_member): Correct checking loop.
20443
63c4ed22
UD
20444 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20445 OOM in getpwuid_r correctly. Return error number when the caller
20446 should return, otherwise -1.
20447 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20448 call returning > 0 value.
20449 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20450
765ade4b
AS
204512010-06-07 Andreas Schwab <schwab@redhat.com>
20452
20453 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20454 libc_nonshared.a from targets in modules-names.
20455
80da2e09
KS
204562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20457
20458 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20459 requires it.
20460
158db122
LM
204612010-06-10 Luis Machado <luisgpm@br.ibm.com>
20462
20463 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20464 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20465 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20466 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20467
caa78cf8
AS
204682010-06-02 Andreas Schwab <schwab@redhat.com>
20469
20470 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20471
b2ef2c01
UD
204722010-06-14 Ulrich Drepper <drepper@redhat.com>
20473
20474 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20475 and F_GETPIPE_SZ.
20476 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20477 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20478 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20479 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20480 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20481 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20482
fbd643b6
RM
204832010-06-14 Roland McGrath <roland@redhat.com>
20484
20485 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20486
f32f2869
JJ
204872010-06-07 Jakub Jelinek <jakub@redhat.com>
20488
20489 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20490 __REDIRECT followed by __THROW.
20491 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20492 * posix/getopt.h (getopt): Likewise.
20493
2a50c078
EPM
204942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20495
20496 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20497 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20498 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20499 in AT_FLAGS.
20500 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20501 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20502
eb5ad2eb
LM
205032010-05-28 Luis Machado <luisgpm@br.ibm.com>
20504
20505 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20506
3c88fe1e
L
205072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20508
20509 [BZ #11640]
20510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20511 Properly check family and model.
20512
d2f73151
TY
205132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20514
20515 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20516
ebd2e13d
LM
205172010-05-24 Luis Machado <luisgpm@br.ibm.com>
20518
20519 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20520
b32b8b45
UD
205212010-05-21 Ulrich Drepper <drepper@redhat.com>
20522
20523 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20524 symbol reference.
20525
9acbe24d
AS
205262010-05-19 Andreas Schwab <schwab@redhat.com>
20527
20528 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20529 symbol reference.
20530
f0ccf6ea
AS
205312010-05-21 Andreas Schwab <schwab@redhat.com>
20532
3d04ff3a
AS
20533 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20534 and internal_recvmmsg.
20535 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20536 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20537 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20538 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20539
f0ccf6ea
AS
20540 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20541 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20542 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20543
5b08ac57
AS
205442010-05-20 Andreas Schwab <schwab@redhat.com>
20545
20546 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20547
4828935d
LM
205482010-05-17 Luis Machado <luisgpm@br.ibm.com>
20549
20550 POWER7 optimizations.
20551 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20552 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20553
373d545e
UD
205542010-05-19 Ulrich Drepper <drepper@redhat.com>
20555
20556 * version.h: Update for 2.13 development version.
20557
21a2b1ae
AS
205582010-05-12 Andrew Stubbs <ams@codesourcery.com>
20559
20560 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20561 exceptions. Return 0.
20562
3f7dcb2b
RM
205632010-05-07 Roland McGrath <roland@redhat.com>
20564
20565 * elf/ldconfig.c (main): Add a const.
20566
5f24d53a 205672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20568
a160f8d8
UD
20569 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20570 (args_options): Add no-idn option.
20571 (ahosts_keys_int): Add idn_flags to ai_flags.
20572 (parse_option): Handle 'i' option to clear idn_flags.
20573
5f24d53a
UD
20574 * malloc/malloc.c (_int_free): Possible race in the most recently
20575 added check. Only act on the data if no current modification
20576 happened.
265bb1ce
UD
20577
20578See ChangeLog.17 for earlier changes.
This page took 2.742372 seconds and 5 git commands to generate.