]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Refactor parts of run-program-prefix and built-program-cmd into new run-via-rtld...
[thirdparty/glibc.git] / ChangeLog
CommitLineData
88866099
JM
12012-10-23 Joseph Myers <joseph@codesourcery.com>
2 Jim Blandy <jimb@codesourcery.com>
3
4 * Makeconfig (run-via-rtld-prefix): New variable.
5 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6 (built-program-cmd): Likewise.
7
b4b4c296
AJ
82012-10-22 Andreas Jaeger <aj@suse.de>
9
10 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11 __O_RSYNC if it exists, otherwise to O_SYNC.
12
6fb54a22
JB
132012-10-22 Jim Blandy <jimb@codesourcery.com>
14 Joseph Myers <joseph@codesourcery.com>
15
16 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17 /dev/null.
18 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19 from /dev/null
20 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21 /dev/null.
22
481b90b9
AJ
232012-10-22 Andreas Jaeger <aj@suse.de>
24
2a0e2669
AJ
25 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26 Define always.
27 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28
76e38f9a
AJ
29 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30 bits/fcntl-linux.h.
31
7cd37b43
AJ
32 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34
481b90b9
AJ
35 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36 to __O_LARGEFILE.
37 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
38 to __O_LARGEFILE.
39
aba75984
JB
402012-10-21 Jim Blandy <jimb@codesourcery.com>
41 Joseph Myers <joseph@codesourcery.com>
42
43 * config.make.in (NM): New variable.
44
88d4247f
AJ
452012-10-21 Andreas Jaeger <aj@suse.de>
46
47 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
48 definitions and declarations that are provided by
49 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50
f2eed205
L
512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
52
53 [BZ #14683]
54 * elf/Makefile (tests-static): Add tst-leaks1-static.
55 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56 ($(objpfx)tst-leaks1-static): New rule.
57 ($(objpfx)tst-leaks1-static-mem): Likewise.
58 (tst-leaks1-static-ENV): New macro.
59 * elf/dl-open.c (dl_open_worker): Check the main application
60 only if SHARED is defined.
61 * elf/tst-leaks1-static.c: New file.
62
335e6931
AJ
632012-10-20 Andreas Jaeger <aj@suse.de>
64
65 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
66 generic values for Linux.
67 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
68 and declarations that are provided by <bits/fcntl-linux.h> and
69 include <bits/fcntl-linux.h>.
70 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72
ac5c94d3
RM
732012-10-20 Roland McGrath <roland@hack.frob.com>
74
75 * io/fcntl.h: Move include of <bits/types.h> to the top and
76 include it unconditionally.
77
de54b33a
L
782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
79
228cfb01
L
80 * wcsmbs/Makefile (tests-ifunc): New variable.
81 (tests): Add $(tests-ifunc).
82 * wcsmbs/test-wcschr-ifunc.c: New file.
83 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
84 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
85 * wcsmbs/test-wcslen-ifunc.c: Likewise.
86 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
87 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
88
69f07e5f
L
89 * string/Makefile (tests-ifunc): New variable.
90 (tests): Add $(tests-ifunc).
91 * string/test-memccpy.c (TEST_NAME): New macro.
92 * string/test-memchr.c (TEST_NAME): Likewise.
93 * string/test-memcmp.c (TEST_NAME): Likewise.
94 * string/test-memcpy.c (TEST_NAME): Likewise.
95 * string/test-memmem.c (TEST_NAME): Likewise.
96 * string/test-memmove.c (TEST_NAME): Likewise.
97 * string/test-memset.c (TEST_NAME): Likewise.
98 * string/test-rawmemchr.c (TEST_NAME): Likewise.
99 * string/test-stpcpy.c (TEST_NAME): Likewise.
100 * string/test-stpncpy.c (TEST_NAME): Likewise.
101 * string/test-strcasecmp.c (TEST_NAME): Likewise.
102 * string/test-strcasestr.c (TEST_NAME): Likewise.
103 * string/test-strcat.c (TEST_NAME): Likewise.
104 * string/test-strchr.c (TEST_NAME): Likewise.
105 * string/test-strcmp.c(TEST_NAME): Likewise.
106 * string/test-strcpy.c (TEST_NAME): Likewise.
107 * string/test-strcspn.c (TEST_NAME): Likewise.
108 * string/test-strlen.c (TEST_NAME): Likewise.
109 * string/test-strncasecmp.c (TEST_NAME): Likewise.
110 * string/test-strncmp.c (TEST_NAME): Likewise.
111 * string/test-strncpy.c (TEST_NAME): Likewise.
112 * string/test-strnlen.c (TEST_NAME): Likewise.
113 * string/test-strpbrk.c (TEST_NAME): Likewise.
114 * string/test-strrchr.c (TEST_NAME): Likewise.
115 * string/test-strspn.c (TEST_NAME): Likewise.
116 * string/test-strstr.c (TEST_NAME): Likewise.
117 * string/test-bcopy-ifunc.c: New file.
118 * string/test-bzero-ifunc.c: Likewise.
119 * string/test-memccpy-ifunc.c: Likewise.
120 * string/test-memchr-ifunc.c: Likewise.
121 * string/test-memcmp-ifunc.c: Likewise.
122 * string/test-memcpy-ifunc.c: Likewise.
123 * string/test-memmem-ifunc.c: Likewise.
124 * string/test-memmove-ifunc.c: Likewise.
125 * string/test-mempcpy-ifunc.c: Likewise.
126 * string/test-memset-ifunc.c: Likewise.
127 * string/test-rawmemchr-ifunc.c: Likewise.
128 * string/test-stpcpy-ifunc.c: Likewise.
129 * string/test-stpncpy-ifunc.c: Likewise.
130 * string/test-strcasecmp-ifunc.c: Likewise.
131 * string/test-strcasestr-ifunc.c: Likewise.
132 * string/test-strcat-ifunc.c: Likewise.
133 * string/test-strchr-ifunc.c: Likewise.
134 * string/test-strchrnul-ifunc.c: Likewise.
135 * string/test-strcmp-ifunc.c: Likewise.
136 * string/test-strcpy-ifunc.c: Likewise.
137 * string/test-strcspn-ifunc.c: Likewise.
138 * string/test-strlen-ifunc.c: Likewise.
139 * string/test-strncasecmp-ifunc.c: Likewise.
140 * string/test-strncat-ifunc.c: Likewise.
141 * string/test-strncmp-ifunc.c: Likewise.
142 * string/test-strncpy-ifunc.c: Likewise.
143 * string/test-strnlen-ifunc.c: Likewise.
144 * string/test-strpbrk-ifunc.c: Likewise.
145 * string/test-strrchr-ifunc.c: Likewise.
146 * string/test-strspn-ifunc.c: Likewise.
147 * string/test-strstr-ifunc.c: Likewise.
148
de54b33a
L
149 * debug/Makefile (tests-ifunc): New variable.
150 (tests): Add $(tests-ifunc).
151 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
152 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
153 * debug/test-stpcpy_chk-ifunc.c: New file.
154 * debug/test-strcpy_chk-ifunc.c: Likewise.
155
88481c16
SP
1562012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
157
158 [BZ #13601]
159 * elf/dl-load.c (open_verify): Retry read if the entire ELF
160 header is not read in.
161
135948bd
JM
1622012-10-19 Joseph Myers <joseph@codesourcery.com>
163
89f1c388
JM
164 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
165 script to $(SHELL) as $<. Pass $(common-objpfx) to script
166 directly. Pass built executable to script as
167 $(built-program-cmd).
168 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
169 $testprogram without using LD_LIBRARY_PATH and $ldso.
170
e40a0d21
JM
171 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
172 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
173 $(rtld-installed-name).
174 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
175 (rtld_installed_name): Likewise.
176 (library_path): Likewise.
177 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
178 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
179 $(run-program-prefix) to tst-tables.sh.
180 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
181 it to run tst-table-from and tst-table-to.
182 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
183 Pass it to tst-table.sh.
184 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
185 $(run-program-prefix) to tst-gettext.sh.
186 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
187 tst-translit.sh.
188 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
189 tst-gettext2.sh.
190 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
191 to run tst-gettext.
192 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
193 to run tst-gettext2.
194 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
195 to run tst-translit.
196 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
197 $(run-program-prefix) to tst-mtrace.sh.
198 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
199 to run tst-mtrace.
200 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
201 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
202 $(rtld-installed-name).
203 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
204 (rtld_installed_name): Likewise.
205 (run_program_prefix): New variable. Use it to run wordexp-test.
206
728e272a
JM
207 * Makeconfig (ARCH): Remove all definitions.
208 (machine): Likewise.
209 [ARCH]: Remove conditional code.
210 [!objdir]: Give error.
211 [!objdir] (objpfx): Remove.
212 [!objdir] (common-objpfx): Likewise.
213 [!objdir] (common-objdir): Likewise.
214 * configure.in (config_makefile): Remove. Hardcode Makefile in
215 AC_CONFIG_FILES call.
216 * configure: Regenerated.
217
d528cdcf
JM
218 [BZ #13888]
219 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
220 or TMPDIR.
221 (testout): Likewise.
222
135948bd
JM
223 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
224 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
225 $(rtld-installed-name).
226 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
227 (rtld_installed_name): Likwise.
228 (runit): Remove function.
229 (run_getconf): New variable, Use it for running getconf binary.
230
38c78296
L
2312012-10-18 H.J. Lu <hongjiu.lu@intel.com>
232
233 [BZ #14716]
234 * string/test-memmem.c (check_result): New function.
235 (do_one_test): Use it.
236 (check1): New function.
237 (test_main): Use it.
238
d077f65f
MT
2392012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
240
241 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
242
ced52c71
JM
2432012-10-18 Joseph Myers <joseph@codesourcery.com>
244
245 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
246 (_G_LSEEK64): Likewise.
247 (_G_MMAP64): Likewise.
248 (_G_FSTAT64): Likewise.
249 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
250 (_G_LSEEK64): Likewise.
251 (_G_MMAP64): Likewise.
252 (_G_FSTAT64): Likewise.
253 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
254 unconditional. Call __mmap64 directly.
255 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
256 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
257 __lseek64 directly.
258 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
259 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
260 __mmap64 directly.
261 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
262 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
263 __lseek64 directly.
264 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
265 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
266 __lseek64 directly.
267 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
268 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
269 __lseek64 directly.
270 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
271 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
272 __fxstat64 directly.
273 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
274 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
275 unconditional.
276 (freopen64) [!_G_OPEN64]: Remove conditional code.
277 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
278 unconditional.
279 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
280 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
281 unconditional.
282 (ftello64) [!_G_LSEEK64]: Remove conditional code.
283 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
284 unconditional.
285 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
286 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
287 unconditional.
288 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
289 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
290 unconditional.
291 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
292 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
293 unconditional.
294 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
295 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
296 unconditional.
297 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
298
b741de23
SP
2992012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
300
301 [BZ #12140]
302 * manual/memory.texi (Malloc Tunable Parameters): Add note
303 about free list pointers overwriting some perturb bytes.
304 Wording suggested by Roland McGrath.
305
f9b9d9c9
JM
3062012-10-17 Joseph Myers <joseph@codesourcery.com>
307
308 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
309 (lgamma_test): Likewise.
310 (tgamma_test): Likewise.
311
172a631a
FW
3122012-10-16 Florian Weimer <fweimer@redhat.com>
313
314 [BZ #14700]
315 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
316 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
317
e9f37252
MK
3182012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
319
320 * NEWS: Mention BZ #14716.
321 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
322 when removing AVAILABLE1_USES_J macro.
323
d394eb74
L
3242012-10-12 H.J. Lu <hongjiu.lu@intel.com>
325
326 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
327 (__bswap_64): __uint64_t for unsigned 64-bit int.
328
ca38dc17
AS
3292012-10-12 Andreas Schwab <schwab@linux-m68k.org>
330
331 * include/string.h (memmem): Declare libc hidden alias.
332 * string/memmem.c (memmem): Define libc hidden alias.
333 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
334 __read, __close instead of open, read, close.
335
9a387d1f
L
3362012-10-11 H.J. Lu <hongjiu.lu@intel.com>
337
ac49ecaf
L
338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
339 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
340 global and hidden.
341 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
342 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
343 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
344 Likewise.
345 (__rawmemchr_sse2): Likewise.
346 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
347 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
348 (__strchr_sse2): Likewise.
349 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
350 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
351 (__strcasecmp_sse2): Likewise.
352 (__strncasecmp_sse2): Likewise.
353 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
354 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
355 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
356 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
357 (__strrchr_sse2): Likewise.
358 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
359 ifunc-impl-list.c.
360 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
361 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
362 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
363 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
364 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
365 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
366 * sysdeps/x86_64/multiarch/memset.S: Likewise.
367 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
368 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
369 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
370 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
371 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
372 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
373 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
374 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
375 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
376 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
377 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
378 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
379 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
380 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
381 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
382 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
383 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
384 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
385 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
386 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
387 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
388 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
389 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
390
b090e8ea
L
391 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
392 global and hidden.
393 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
394 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
395 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
396 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
397 Likewise.
398 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
399 Likewise.
400 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
401 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
402 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
403 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
404 ifunc-impl-list.c.
405 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
406 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
407 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
408 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
409 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
410 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
411 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
412 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
413 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
414 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
415 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
416 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
417 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
418 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
419 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
420 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
421 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
422 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
423 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
424 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
425 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
426 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
427 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
428 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
430 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
431 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
432 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
433 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
434 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
435 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
436 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
437 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
438 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
439 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
440 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
441 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
442 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
443 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
444 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
445 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
446
11dd4af6
L
447 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
448 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
449 * include/ifunc-impl-list.h: New file.
450 * misc/ifunc-impl-list.c: Likewise.
451 * misc/Makefile (routines): Add ifunc-impl-list.
452 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
453 * string/test-string.h: Include <ifunc-impl-list.h>.
454 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
455 impl_array): New variables.
456 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
457 are defined.
458 (test_init): Call __libc_ifunc_impl_list to initialize
459 func_list if TEST_IFUNC and TEST_NAME are defined.
460
9a387d1f
L
461 * string/Makefile (strop-tests): Add bcopy and bzero.
462 * string/test-bcopy.c: New file.
463 * string/test-bzero.c: Likewise.
464 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
465 defined.
466 * string/test-memset.c: Support bzero test if TEST_BZERO is
467 defined.
468 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
469 __libc_memmove.
470 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
471 __libc_memset.
472 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
473 of memset.
474
472371b9
JM
4752012-10-10 Joseph Myers <joseph@codesourcery.com>
476
1e4a9536
JM
477 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
478 * configure: Regenerated.
479
d173d12e
JM
480 * Makeconfig (+link-static-before-libc): Don't include
481 $(link-static-libc).
482
472371b9
JM
483 * libio/libio.h (_IO_pos_t): Remove.
484
89a3ad0b
AO
4852012-10-10 Alexandre Oliva <aoliva@redhat.com>
486
487 * NEWS: Add note about FIPS mode. Wording suggested by Roland
488 McGrath.
489
e7451425
AO
4902012-10-10 Alexandre Oliva <aoliva@redhat.com>
491
492 * crypt/crypt-entry.c: Include fips-private.h.
493 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
494 * crypt/md5c-test.c (main): Tolerate disabled MD5.
495 * sysdeps/unix/sysv/linux/fips-private.h: New file.
496 * sysdeps/generic/fips-private.h: New file, dummy fallback.
497
4ba74a35
AO
4982012-10-10 Alexandre Oliva <aoliva@redhat.com>
499
500 * crypt/crypt-private.h: Include stdbool.h.
501 (_ufc_setup_salt_r): Return bool.
502 * crypt/crypt-entry.c: Include errno.h.
503 (__crypt_r): Return NULL with EINVAL for bad salt.
504 * crypt/crypt_util.c (bad_for_salt): New.
505 (_ufc_setup_salt_r): Check that salt is long enough and within
506 the specified alphabet.
507 * crypt/badsalttest.c: New file.
508 * crypt/Makefile (tests): Add it.
509 ($(objpfx)badsalttest): New.
510
f96f1242
MK
5112012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
512
513 * NEWS: Add entry for BZ #14602.
514
0e8e0c1c
JM
5152012-10-09 Joseph Myers <joseph@codesourcery.com>
516
517 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
518 type-generic.
519 * math/libm-test.inc: Update comment listing what functions and
520 macros are tested.
521 (isgreater_test): New function.
522 (isgreaterequal_test): Likewise.
523 (isless_test): Likewise.
524 (islessequal_test): Likewise.
525 (islessgreater_test): Likewise.
526 (isunordered_test): Likewise.
527 (main): Call the new functions.
528
273edc5e
RM
5292012-10-09 Roland McGrath <roland@hack.frob.com>
530
b8493de0
RM
531 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
532 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
533 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
534 * sysdeps/i386/configure: Regenerated.
535 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
536 * sysdeps/mach/configure: Regenerated.
537 * sysdeps/mach/hurd/configure: Regenerated.
538 * sysdeps/powerpc/configure: Regenerated.
539 * sysdeps/powerpc/powerpc32/configure: Regenerated.
540 * sysdeps/powerpc/powerpc64/configure: Regenerated.
541 * sysdeps/s390/s390-32/configure: Regenerated.
542 * sysdeps/s390/s390-64/configure: Regenerated.
543 * sysdeps/sh/configure: Regenerated.
544 * sysdeps/sparc/configure: Regenerated.
545 * sysdeps/unix/sysv/linux/configure: Regenerated.
546 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
547 * sysdeps/x86_64/configure: Regenerated.
548
273edc5e
RM
549 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
550 defined. Don't check if MAP is NULL.
551
c8450f70
JM
5522012-10-09 Joseph Myers <joseph@codesourcery.com>
553
554 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
555 (_G_stat64): Likewise.
556 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
557 (_G_stat64): Likewise.
558 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
559 instead of struct _G_stat64.
560 * libio/fileops.c (mmap_remap_check): Likewise.
561 (decide_maybe_mmap): Likewise.
562 (_IO_new_file_seekoff): Likewise.
563 (_IO_file_stat): Likewise.
564 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
565 _G_off64_t.
566 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
567 instead of struct _G_stat64.
568 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
569
57e605ba
MK
5702012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
571
572 [BZ #14602]
573 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
574 Replace with ...
575 (CHECK_EOL): New macro.
576 (two_way_short_needle): Check beginning of haystack for EOL. Use
577 CHECK_EOL.
578 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
579 Replace with CHECK_EOL.
580 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
581 Replace with CHECK_EOL.
582
ef1bb361
JM
5832012-10-08 Joseph Myers <joseph@codesourcery.com>
584
585 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
586 type-generic.
587 * math/libm-test.inc: Update comment listing what functions and
588 macros are tested.
589 (finite_test): New function.
590 (isinf_test): Likewise.
591 (isnan_test): Likewise.
592 (fpclassify_test): Test subnormal input.
593 (isfinite_test): Likewise.
594 (isnormal_test): Likewise.
595 (main): Call the new functions.
596
55f11534
JN
5972012-10-08 Jonathan Nieder <jrnieder@gmail.com>
598
599 [BZ #14660]
600 * Makerules (%.dynsym): Force C locale when running
601 $(OBJDUMP) --dynamic-syms.
602
1ab29350
AS
6032012-10-08 Andreas Schwab <schwab@linux-m68k.org>
604
605 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
606 <stdint.h>.
607
f1ecb7ef
DM
6082012-10-06 David S. Miller <davem@davemloft.net>
609
610 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
611 upper 32-bits of the length value in %o2 since we use branch-on-register
612 tests which consider the entire 64-bit register.
613
5d41d91a
L
6142012-10-06 H.J. Lu <hongjiu.lu@intel.com>
615
616 * string/test-strstr.c (check2): Add a test for page boundary.
617
3baddb72
DM
6182012-10-05 David S. Miller <davem@davemloft.net>
619
620 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
621 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
622 file.
623 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
624 sysdep_routines.
625 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
626 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
627 and bzero when HWCAP_SPARC_CRYPTO is present.
628
9cee5585
L
6292012-10-05 H.J. Lu <hongjiu.lu@intel.com>
630
d7e0dab9
L
631 [BZ #14602]
632 * string/test-strstr.c (check2): New function.
633 (test_main): Call check2.
634
03759f47
L
635 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
636 and bug-strchr1.
637 * string/bug-strcasestr1.c (do_test): Moved to ...
638 * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
644 * string/test-strchr.c (check1): Here. New function.
645 (do_one_test): Break out result checking code into ...
646 (check_result): This. New function.
647 (do_one_test): Call check_result.
648 (test_main): Call check1.
649 * string/bug-strstr1.c (main): Moved to ...
650 * string/test-strchr.c (check1): Here. New function.
651 (do_one_test): Break out result checking code into ...
652 (check_result): This. New function.
653 (do_one_test): Call check_result.
654 (test_main): Call check1.
655 * string/bug-strcasestr1.c: Removed.
656 * string/bug-strchr1.c: Likewise.
657 * string/bug-strstr1.c: Likewise.
658
53cea63e
L
659 * elf/Makefile (dl-routines): Add hwcaps.
660 * elf/dl-support.c (_dl_important_hwcaps): Removed.
661 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
662 (_dl_important_hwcaps): Moved to ...
663 * elf/dl-hwcaps.c: Here. New file.
664 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
665
9cee5585 666 [BZ #14557]
bb859b06
L
667 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
668 if IS_IN_rtld isn't defined.
669
9cee5585
L
670 * elf/dl-support.c (_dl_sysinfo_map): New.
671 Include "get-dynamic-info.h" and "setup-vdso.h".
672 (_dl_non_dynamic_init): Call setup_vdso.
673 * elf/dynamic-link.h: Don't include <assert.h>.
674 (elf_get_dynamic_info): Moved to ...
675 * elf/get-dynamic-info.h: Here. New file.
676 * elf/dynamic-link.h: Include "get-dynamic-info.h".
677 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
678 * elf/setup-vdso.h: Here. New file.
679 * elf/rtld.c: Include "setup-vdso.h".
680 (dl_main): Call setup_vdso.
681
23c31b76
JM
6822012-10-05 Joseph Myers <joseph@codesourcery.com>
683
28234b07
JM
684 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
685 creal in comment listing functions tested. List finite, isinf,
686 isnan, isless, islessequal, isgreater, isgreaterequal,
687 islessgreater, isunordered, lgamma_r and pow10 as functions and
688 macros not tested. Mention which functions not tested are aliases
689 for other functions. Fix typo. Note that signs of NaNs are not
690 tested.
691
23c31b76
JM
692 * scripts/config.guess: Update from config.git.
693 * scripts/config.sub: Likewise.
694
9043e228
RM
6952012-10-04 Roland McGrath <roland@hack.frob.com>
696
697 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
698 * misc/madvise.c (madvise): Renamed to __madvise.
699 Make madvise a weak alias.
700 * include/sys/mman.h: Declare __madvise.
701 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
702 * sysdeps/unix/syscalls.list
703 (madvise): Make __madvise the strong name, and madvise a weak alias.
704 * sysdeps/unix/sysv/linux/syscalls.list
705 (madvise, mmap): Remove redundant entries.
706 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
707 * malloc/malloc.c (mtrim): Likewise.
708 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
709
f57f8055
RM
7102012-10-03 Roland McGrath <roland@hack.frob.com>
711
712 * sysdeps/mach/hurd/dl-cache.c: File removed.
713 * config.h.in (USE_LDCONFIG): New #undef.
714 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
715 * configure: Regenerated.
716 * elf/Makefile (dl-routines): Add dl-cache only under
717 [$(use-ldconfig) = yes].
718 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
719 cache on [USE_LDCONFIG].
720 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
721 [USE_LDCONFIG].
722 * elf/rtld.c (dl_main): Likewise.
723
5bb0c10a
PT
7242012-10-03 Pino Toscano <toscano.pino@tiscali.it>
725
726 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
727 _SC_LEVEL4_CACHE_LINESIZE.
728
010188c6
RM
7292012-10-03 Roland McGrath <roland@hack.frob.com>
730
731 * sysdeps/unix/bsd/confstr.h: File removed.
732
b6c5ec07
AO
7332012-10-02 Alexandre Oliva <aoliva@redhat.com>
734
735 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
736 sys/sdt-config.h.
737
408223d4
RM
7382012-10-02 Roland McGrath <roland@hack.frob.com>
739
740 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
741 Make 'mapoff' field ElfW(Off) rather than off_t.
742
bb9510dc
DL
7432012-10-02 Dmitry V. Levin <ldv@altlinux.org>
744
fc997c6e
DL
745 * nscd/Makefile: Remove nscd-cflags and all its users.
746 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
747 (CFLAGS-nonlib): Add compiler flags for nscd modules.
748
bb9510dc
DL
749 [BZ #10631]
750 * malloc.c (malloc_printerr): Clarify error message.
751
05699367
L
7522012-10-02 H.J. Lu <hongjiu.lu@intel.com>
753
754 [BZ #14648]
755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
756 Set bit_FMA_Usable if FMA is supported.
757 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
758 macro.
759 (bit_FMA4_Usable): Updated.
760 (index_FMA_Usable): New macro.
761 (CPUID_FMA): Likewise
762 (HAS_FMA): Defined with bit_FMA_Usable.
763
51367701
RM
7642012-10-01 Roland McGrath <roland@hack.frob.com>
765
766 * bits/types.h (__swblk_t): Type removed.
767 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
768 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
769 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
770 (__SWBLK_T_TYPE): Likewise.
771 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
772 (__SWBLK_T_TYPE): Likewise.
773 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
774 (__SWBLK_T_TYPE): Likewise.
775 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
776 (__SWBLK_T_TYPE): Likewise.
777
4d57bf63
JL
7782012-10-01 Patsy Franklin <pfrankli@redhat.com>
779 Honza Horak <hhorak@redhat.com>
780
781 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
782 (xdr_mapname): Use YPMAXMAP as maxsize.
783 (xdr_peername): Use YPMAXPEER as maxsize.
784 (xdr_keydat): Use YPAXRECORD as maxsize.
785 (xdr_valdat): Use YPMAXRECORD as maxsize.
786
93c65d43
RM
7872012-10-01 Roland McGrath <roland@hack.frob.com>
788
497a03d6
RM
789 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
790
93c65d43
RM
791 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
792 * csu/init-first.c: ... here.
793 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
794 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
795 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
796 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
797 * sysdeps/i386/init-first.c: File removed.
798 * sysdeps/sh/init-first.c: File removed.
799
bec749fd
JM
8002012-10-01 Joseph Myers <joseph@codesourcery.com>
801
802 [BZ #14645]
803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
804 if x * y might underflow to zero and z is zero.
805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
806 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
807 * math/libm-test.inc (min_subnorm_value): New variable.
808 (fma_test): Add more tests.
809 (fma_test_towardzero): Likewise.
810 (fma_test_downward): Likewise
811 (fma_test_upward): Likewise.
812 (initialize): Set min_subnorm_value.
813
8ec5b013
JM
8142012-09-29 Joseph Myers <joseph@codesourcery.com>
815
816 [BZ #14638]
817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
818 0 + 0.
819 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
820 mode for addition resulting in exact zero.
821 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
823 exact 0 + 0.
824 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
825 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
826 * math/libm-test.inc (fma_test): Add more tests.
827 (fma_test_towardzero): New function.
828 (fma_test_downward): Likewise.
829 (fma_test_upward): Likewise.
830 (main): Call the new functions.
831
b1fa802e
DM
8322012-09-28 David S. Miller <davem@davemloft.net>
833
834 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
835
d3b9fd9e
RM
8362012-09-28 Roland McGrath <roland@hack.frob.com>
837
ea4d37b3
RM
838 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
839 instead of SIGALRM.
840
ac51c949
RM
841 * sysdeps/gnu/_G_config.h: Moved to ...
842 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
843 * sysdeps/mach/hurd/_G_config.h: Moved to ...
844 * sysdeps/generic/_G_config.h: ... here.
845
28c195f7
RM
846 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
847
848917f9
RM
848 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
849
6bacf05b
RM
850 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
851 Conditionalize target on [libnss_test1.so-version].
852
91363dbb
RM
853 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
854
cc87f7d8
RM
855 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
856 (elfobjdir): Move out of conditionals.
857
b1c608fe
RM
858 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
859 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
860 (__nss_lookup_function): Conditionalize label remove_from_tree on
861 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 862
1d9a6d96
DM
8632012-09-28 David S. Miller <davem@davemloft.net>
864
865 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
866 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
867 file.
868 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
869 sysdep_routines.
870 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
871 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
872 when HWCAP_SPARC_CRYPTO is present.
873
72581615
PT
8742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
875
876 * io/tst-mknodat.c: Create a FIFO instead of a socket.
877
715a900c
JL
8782012-09-28 Andreas Schwab <schwab@linux-m68k.org>
879
880 [BZ #6530]
881 * stdio-common/vfprintf.c (process_string_arg): Revert
882 2000-07-22 change.
883
8842011-09-28 Jonathan Nieder <jrnieder@gmail.com>
885
886 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
887 for testcase.
888 * stdio-common/tst-sprintf.c: Include <locale.h>
889 (main): Test sprintf's handling of incomplete multibyte
890 characters.
891
9bac1d86
L
8922012-09-28 H.J. Lu <hongjiu.lu@intel.com>
893
894 * elf/dl-runtime.c (VERSYMIDX): Removed.
895 * elf/dl-version.c (VERSYMIDX): Likewise.
896 * elf/do-rel.h (VERSYMIDX): Likewise.
897 (VALIDX): Likewise.
898 * elf/dynamic-link.h (VERSYMIDX): Likewise.
899 * elf/rtld.c (VALIDX): Likewise.
900 (ADDRIDX): Likewise.
9bac1d86
L
901 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
902 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
903 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
904 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
905 (VALIDX): Likewise.
906 (ADDRIDX): Likewise.
9bac1d86 907
b31606c0
PT
9082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
909
910 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
911
11541177
JL
9122012-09-28 Dmitry V. Levin <ldv@altlinux.org>
913
914 [BZ #11438]
915 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
916 to global scope.
917 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
918 addresses are in the same scope as 192.0.2/24.
919 * posix/gai.conf: Document new scope table defaults.
920
adb26fae
SP
9212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
922
923 [BZ #5298]
924 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
925 for ftell. Compute offsets from write pointers instead.
926 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
927
4573c6b0
SP
9282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
929
930 [BZ #14543]
931 * libio/Makefile (tests): New test case tst-fseek.
932 * libio/tst-fseek.c: New test case to verify that fseek/ftell
933 combination works in wide mode.
934 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
935 state when the external buffer state changes.
936
aa9bbfe6
DM
9372012-09-27 David S. Miller <davem@davemloft.net>
938
939 [BZ #14376]
940 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
941 pass reloc->r_addend in as the 'high' argument to
942 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
943
784421e7
DM
944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
945
c39bc8b8
PT
9462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
947
948 * rt/tst-aio2.c: Include <pthread.h>.
949 * rt/tst-aio3.c: Likewise.
950
1ccc2399
SE
9512012-09-27 Steve Ellcey <sellcey@mips.com>
952
953 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
954
31ed4153
L
9552012-09-27 H.J. Lu <hongjiu.lu@intel.com>
956
25f5f885
L
957 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
958 contents on [SHARED].
31ed4153 959
b7bfe116
MP
9602012-09-26 Marek Polacek <polacek@redhat.com>
961
962 [BZ #14530]
963 [BZ #13741]
964 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
965 for C++ and GCC <4.3 as well as for non GCC compilers.
966
43c4edba
MT
9672012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
968
969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
970
6a1bf82f
RM
9712012-09-25 Roland McGrath <roland@hack.frob.com>
972
973 * Makefile.in (all, install): Declare with .PHONY.
974 Reported by Michael Hope <michael.hope@linaro.org>.
975
8ad11b9a
TMQMF
9762012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
977
978 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
979 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
980 system header.
981 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
982 Likewise.
983 (sydep_routines): Add the new and the internal functions.
984 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
985 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
987 (GLIBC_2.17): Add the new function.
988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
989 (GLIBC_2.17): Likewise.
990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
991 (GLIBC_2.17): Likewise.
992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
993 (GLIBC_2.17): Likewise.
994 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
995
7e2fca8d
AM
9962012-09-25 Alan Modra <amodra@gmail.com>
997
998 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
999 Add release barrier before setting once_control to say
1000 initialisation is done. Add hints on lwarx. Use macro in
1001 place of isync.
1002 (clear_once_control): Add release barrier.
1003
b87c4b24
JM
10042012-09-25 Joseph Myers <joseph@codesourcery.com>
1005
d032e0d2
JM
1006 [BZ #13629]
1007 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1008 specially.
1009 * math/s_clog10.c (__clog10): Likewise.
1010 * math/s_clog10f.c (__clog10f): Likewise.
1011 * math/s_clog10l.c (__clog10l): Likewise.
1012 * math/s_clogf.c (__clogf): Likewise.
1013 * math/s_clogl.c (__clogl): Likewise.
1014 * math/Makefile (libm-calls): Add x2y2m1.
1015 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1016 (__x2y2m1): Likewise.
1017 (__x2y2m1l): Likewise.
1018 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1019 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1020 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1021 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1022 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1023 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1024 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1025 * sysdeps/i386/fpu/libm-test-ulps: Update.
1026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1027
b87c4b24
JM
1028 [BZ #14621]
1029 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1030 int as type of variable DEPTH.
1031 (glob): Use size_t instead of int as type of variables NEWCOUNT
1032 and OLD_PATHC.
1033
6d3bf199
LD
10342012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1035
22bf5c17
LD
1036 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1037 Add s_sincosf-sse2.
1038 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1039 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1040 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1041 macros for using routine as __sincosf_ia32.
1042 Use macro for function declaration and weak_alias.
1043 * sysdeps/i386/fpu/libm-test-ulps: Update.
1044
1045 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1047
1048 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1049 subnormal argument.
1050 * math/s_cexpf.c (__cexpf): Likewise.
1051 * math/s_csinf.c (__csinf): Likewise.
1052 * math/s_csinhf.c (__csinhf): Likewise.
1053 * math/s_ctanf.c (__ctanf): Likewise.
1054 * math/s_ctanhf.c (__ctanhf): Likewise.
1055 * math/s_ccosh.c (__ccoshf): Likewise.
1056 * math/s_cexp.c (__cexpl): Likewise.
1057 * math/s_csin.c (__csin): Likewise.
1058 * math/s_csinh.c (__csinh): Likewise.
1059 * math/s_ctan.c (__ctan): Likewise.
1060 * math/s_ctanh.c (ctanh): Likewise.
1061 * math/s_ccoshl.c (__ccoshl): Likewise.
1062 * math/s_cexpl.c (__cexpl): Likewise.
1063 * math/s_csinl.c (__csinl): Likewise.
1064 * math/s_csinhl.c (__csinhl): Likewise.
1065 * math/s_ctanl.c (__ctanl): Likewise.
1066 * math/s_ctanhl.c (__ctanhl): Likewise.
1067
203e5603
JM
10682012-09-25 Joseph Myers <joseph@codesourcery.com>
1069
1070 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1071 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1072 (_IO_off_t): Define to __off_t, not _G_off_t.
1073 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1074 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1075 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1076 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1077 type of __dummy and __dummy2 fields.
1078 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1079 (_G_ssize_t): Likewise.
1080 (_G_off_t): Likewise.
1081 (_G_pid_t): Likewise.
1082 (_G_uid_t): Likewise.
1083 (_G_wchar_t): Likewise.
1084 (_G_wint_t): Likewise.
1085 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1086 (_G_ssize_t): Likewise.
1087 (_G_off_t): Likewise.
1088 (_G_pid_t): Likewise.
1089 (_G_uid_t): Likewise.
1090 (_G_wchar_t): Likewise.
1091 (_G_wint_t): Likewise.
1092 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1093 (_G_ssize_t): Likewise.
1094 (_G_off_t): Likewise.
1095 (_G_pid_t): Likewise.
1096 (_G_uid_t): Likewise.
1097 (_G_wchar_t): Likewise.
1098 (_G_wint_t): Likewise.
1099
9fab36eb
SP
11002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1101
1102 * malloc/arena.c: Include malloc-sysdep.h.
1103 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1104 is sufficient to shrink the heap or an unmap is needed.
1105 * sysdeps/generic/malloc-sysdep.h: New file. Define
1106 new function check_may_shrink_heap.
1107 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1108 new function check_may_shrink_heap.
1109
2b4f00d1
SP
11102012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1111
1112 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1113 comments.
1114
9a9028b1
DL
11152012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1116
57c69bef
DL
1117 * catgets/test-gencat.sh: Add "set -e".
1118 * elf/tst-pathopt.sh: Likewise.
1119 * grp/tst_fgetgrent.sh: Likewise.
1120 * iconvdata/run-iconv-test.sh: Likewise.
1121 * intl/tst-gettext.sh: Likewise.
1122 * intl/tst-gettext2.sh: Likewise.
1123 * intl/tst-gettext4.sh: Likewise.
1124 * intl/tst-gettext6.sh: Likewise.
1125 * intl/tst-translit.sh: Likewise.
1126 * io/ftwtest-sh: Likewise.
1127 * libio/test-freopen.sh: Likewise.
1128 * malloc/tst-mtrace.sh: Likewise.
1129 * posix/globtest.sh: Likewise.
1130 * posix/tst-getconf.sh: Likewise.
1131 * posix/wordexp-tst.sh: Likewise.
1132 * stdio-common/tst-printf.sh: Likewise.
1133 * stdio-common/tst-unbputc.sh: Likewise.
1134 * stdlib/tst-fmtmsg.sh: Likewise.
1135 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1136 * catgets/Makefile: Do not specify -e option when running
1137 testsuite shell scripts.
1138 * elf/Makefile: Likewise.
1139 * grp/Makefile: Likewise.
1140 * iconvdata/Makefile: Likewise.
1141 * intl/Makefile: Likewise.
1142 * io/Makefile: Likewise.
1143 * libio/Makefile: Likewise.
1144 * malloc/Makefile: Likewise.
1145 * posix/Makefile: Likewise.
1146 * stdio-common/Makefile: Likewise.
1147 * stdlib/Makefile: Likewise.
1148 * sysdeps/x86_64/Makefile: Likewise.
1149
9a9028b1
DL
1150 * io/ftwtest-sh: Add copyright header.
1151 * posix/globtest.sh: Likewise.
1152 * posix/tst-getconf.sh: Likewise.
1153 * posix/wordexp-tst.sh: Likewise.
1154 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1155
ced6f16e
L
11562012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1157
94b32c39
L
1158 [BZ #13679]
1159 * Makeconfig (+link): Defined as $(+link-static) if
1160 $(build-shared) isn't yes.
1161 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1162 isn't yes.
1163 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1164
189e935b
L
1165 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1166
ced6f16e
L
1167 [BZ #14562]
1168 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1169 new chunk size with MALLOC_ALIGN_MASK.
1170
a9f8e53a
JM
11712012-09-24 Joseph Myers <joseph@codesourcery.com>
1172
1173 [BZ #5044]
1174 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1175 <rounding-mode.h>.
1176 (__printf_fphex): Determine rounding using get_rounding_mode and
1177 round_away.
1178 * stdio-common/tst-printf-round.c (struct hex_test): New
1179 structure.
1180 (hex_tests): New variable.
1181 (test_hex_in_one_mode): New function.
1182 (do_test): Also run tests for hex float output.
1183
43153109
JM
11842012-09-21 Joseph Myers <joseph@codesourcery.com>
1185
1186 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1187 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1188 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1189 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1190 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1191 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1192 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1193 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1194
8a26625d
JM
11952012-09-20 Joseph Myers <joseph@codesourcery.com>
1196
1197 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1198 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1199 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1200 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1201
f3fd569c
DL
12022012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1203
1204 [BZ #14579]
1205 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1206 mode only.
1207 * elf/tst-rtld-load-self.sh: New test.
1208 * elf/Makefile: Run it.
1209
63bbedd4
JM
12102012-09-18 Joseph Myers <joseph@codesourcery.com>
1211
1212 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1213 (tst-writev-ENV): Remove.
1214 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1215
626f8b6a
CM
12162012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1217
1218 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1219
b7aaa4d6
JM
12202012-09-17 Joseph Myers <joseph@codesourcery.com>
1221
1222 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1223 unconditional.
1224 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1225 Likewise.
1226 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1227 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1228 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1229 Likewise.
1230
65513990
L
12312012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1232
1233 [BZ #14587]
1234 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1235 * config.make.in (have-cpp-asm-debuginfo): Removed.
1236 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1237 * configure: Regenerated.
1238
784761be
JM
12392012-09-14 Joseph Myers <joseph@codesourcery.com>
1240
1241 [BZ #5044]
1242 * stdio-common/printf_fp.c: Include <stdbool.h> and
1243 <rounding-mode.h>.
1244 (___printf_fp): Determine rounding using get_rounding_mode and
1245 round_away.
1246 * stdio-common/tst-printf-round.c: New file.
1247 * stdio-common/Makefile (tests): Add tst-printf-round.
1248 (link-libm): New variable.
1249 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1250
9503345f
L
12512012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1252
1253 [BZ #14576]
1254 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1255 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1256 Likewise.
1257 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1258 Likewise.
1259
ad35fc00
JM
12602012-09-13 Joseph Myers <joseph@codesourcery.com>
1261
1262 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1263 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1264 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1265 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1266
6c9b0f68
JM
12672012-09-12 Joseph Myers <joseph@codesourcery.com>
1268
1269 [BZ #14518]
1270 * include/rounding-mode.h: New file.
1271 * sysdeps/generic/get-rounding-mode.h: Likewise.
1272 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1273 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1274 (MAX_VALUE): New macro.
1275 (MIN_VALUE): Likewise.
1276 (overflow_value): New function.
1277 (underflow_value): Likewise.
1278 (round_and_return): Use overflow_value and underflow_value to
1279 determine return values in overflow and underflow cases. Use
1280 round_away to determine rounding depending on rounding mode.
1281 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1282 determine return values in overflow and underflow cases.
1283 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1284 (struct test_results): New structure.
1285 (struct test): Use struct test_results to store expected results
1286 for all rounding modes.
1287 (TEST): Include expected results for all rounding modes.
1288 (test_in_one_mode): New function.
1289 (do_test): Use test_in_one_mode to compute and check results.
1290 Check results for all rounding modes.
1291 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1292 $(link-libm).
1293
19fcedd5
AM
12942012-12-09 Allan McRae <allan@archlinux.org>
1295
1296 * sysdeps/i386/fpu/libm-test-ulps: Update
1297
8bbfd2f1
JM
12982012-09-11 Joseph Myers <joseph@codesourcery.com>
1299
1300 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1301 (_G_int32_t): Likewise.
1302 (_G_uint16_t): Likewise.
1303 (_G_uint32_t): Likewise.
1304 (_G_HAVE_BOOL): Likewise.
1305 (_G_HAVE_ATEXIT): Likewise.
1306 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1307 (_G_HAVE_IO_FILE_OPEN): Likewise.
1308 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1309 (_G_int32_t): Likewise.
1310 (_G_uint16_t): Likewise.
1311 (_G_uint32_t): Likewise.
1312 (_G_HAVE_BOOL): Likewise.
1313 (_G_HAVE_ATEXIT): Likewise.
1314 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1315 (_G_HAVE_IO_FILE_OPEN): Likewise.
1316 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1317 (_G_int32_t): Likewise.
1318 (_G_uint16_t): Likewise.
1319 (_G_uint32_t): Likewise.
1320 (_G_HAVE_BOOL): Likewise.
1321 (_G_HAVE_ATEXIT): Likewise.
1322 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1323 (_G_HAVE_IO_FILE_OPEN): Likewise.
1324
b1dc5912
L
13252012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1326
1327 * csu/libc-tls.c: Update copyright years.
1328
0e886ef9
JM
13292012-09-10 Joseph Myers <joseph@codesourcery.com>
1330
28361c5e
JM
1331 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1332 [!_G_USING_THUNKS]: Remove conditional code.
1333 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1334 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1335
0e886ef9
JM
1336 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1337 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1338 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1339 (_G_VTABLE_LABEL_PREFIX): Likewise.
1340 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1341 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1342 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1343 (_G_VTABLE_LABEL_PREFIX): Likewise.
1344 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1345 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1346 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1347 (_G_VTABLE_LABEL_PREFIX): Likewise.
1348 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1349
bcba7aa2
L
13502012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1351
1352 * libio/Makefile: Include ../Makeconfig before tests.
1353 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1354 only if $(build-shared) is yes.
1355
06585ee8
L
1356 * iconv/gconv_db.c: Update copyright years.
1357
80ccd52c
LD
13582012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1359
1360 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1361 unwind info if defined PIC. Fix special cases description.
1362 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1363
1364 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1365 DP_HI_MASK entry.
1366 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1367
691bc9c1
L
13682012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1369
3d9b46b3
L
1370 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1371
de2139a9
L
1372 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1373 is NULL.
1374
5ca78dd0
L
1375 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1376 (LDLIBS-tst-chk4): This.
1377 (LDFLAGS-tst-chk5): Renamed to ...
1378 (LDLIBS-tst-chk5): This.
1379 (LDFLAGS-tst-chk6): Renamed to ...
1380 (LDLIBS-tst-chk6): This.
1381 (LDFLAGS-tst-lfschk4): Renamed to ...
1382 (LDLIBS-tst-lfschk4): This.
1383 (LDFLAGS-tst-lfschk5): Renamed to ...
1384 (LDLIBS-tst-lfschk5): This.
1385 (LDFLAGS-tst-lfschk6): Renamed to ...
1386 (LDLIBS-tst-lfschk6): This.
1387
691bc9c1
L
1388 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1389 on $(common-objpfx)soversions.mk.
1390
65cafb1c
JM
13912012-09-07 Joseph Myers <joseph@codesourcery.com>
1392
1393 [BZ #10014]
1394 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1395 example host name.
1396
c78ab094
SP
13972012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1398
1399 * malloc/arena.c (arena_get_retry): New function that gets
1400 another arena for the caller to try its request on.
1401 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1402 current arena cannot fulfill the request.
1403 (__libc_memalign): Likewise.
1404 (__libc_memalign): Likewise.
1405 (__libc_pvalloc): Likewise.
1406 (__libc_calloc): Likewise.
1407
01f49f59
JT
14082012-09-05 John Tobey <john.tobey@gmail.com>
1409
1410 [BZ #13542]
1411 * manual/arith.texi (Operations on Complex): Fix description
1412 of carg branch cut.
1413
4c23fed5
JM
14142012-09-06 Joseph Myers <joseph@codesourcery.com>
1415
1d3c8572
JM
1416 [BZ #10014]
1417 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1418 host name.
1419
4c23fed5
JM
1420 [BZ #10038]
1421 * manual/memory.texi (Memory): Make order of menu items match
1422 order of sections.
1423
04570aaa
L
14242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1425
1426 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1427 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1428 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1429
b80af2f4
L
14302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1431
1432 * csu/libc-tls.c (static_dtv): Renamed to ...
1433 (_dl_static_dtv): This. Make it global.
1434 (_dl_initial_dtv): Removed.
1435 (__libc_setup_tls): Updated.
1436 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1437 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1438 DL_INITIAL_DTV.
1439
2abe9f15
PM
14402012-09-06 Petr Machata <pmachata@redhat.com>
1441
1442 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1443 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1444 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1445 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1446
0948c3af
L
14472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1448
1449 [BZ #14545]
1450 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1451 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1452 freeing dtv[-1].
1453
a5055ad1
L
14542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1455
1456 [BZ #14544]
1457 * Makeconfig (link-static-before-libc): Replace $(+prector)
1458 with $(+prectorT).
1459 (link-static-after-libc): Replace $(+postctor) with
1460 $(+postctorT).
1461 (link-bounded): Replace $(+prector)/$(+postctor) with
1462 $(+prectorT)/$(+postctorT).
1463 (+prectorT): New macro.
1464 (+postctorT): Likewise.
1465
ed8c2ecd
JM
14662012-09-06 Joseph Myers <joseph@codesourcery.com>
1467
1468 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1469 (round_str): Handle values above the maximum for IBM long double
1470 as inexact.
1471 * stdlib/tst-strtod-round.c (tests): Regenerated.
1472
14c996c8
AK
14732012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1474
1475 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1476 assembler flag.
1477 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1478 zarch_nohighgprs around the zarch optimized routines.
1479 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1480 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1481 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1482 for zarch.
1483
430d6ce6
DM
14842012-09-05 David S. Miller <davem@davemloft.net>
1485
1486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1487
ff04dda4
DM
1488 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1489 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1490 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1491 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1492 entries.
1493
24d4e01b
AO
14942012-09-05 Alexandre Oliva <aoliva@redhat.com>
1495
1496 * malloc/arena.c: Fold copyright years.
1497 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1498
61d58174
AO
14992012-09-05 Alexandre Oliva <aoliva@redhat.com>
1500
1501 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1502
20196a5e
AO
15032012-09-05 Alexandre Oliva <aoliva@redhat.com>
1504
1505 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1506
5c447383
AO
15072012-09-05 Alexandre Oliva <aoliva@redhat.com>
1508
1509 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1510 change internal state upon failure.
1511
fad64255
AO
15122012-09-05 Alexandre Oliva <aoliva@redhat.com>
1513
1514 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1515 * malloc/memusage.c (mmap): Likewise.
1516 (mmap64, mremap): Likewise. Adjust name in comment.
1517
1ffb8c90
SP
15182012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1519
1520 * libio/fileops.c: Fix typos in comments.
1521 * libio/oldfileops.c: Likewise.
1522 * libio/wfileops.c: Likewise.
1523
6ef9cc37
SP
15242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1525
1526 [BZ #1349]
1527 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1528 (tst-malloc-usable-ENV): Set environment for test case.
1529 * malloc/hooks.c (malloc_check_get_size): New function to get
1530 requested size.
1531 * malloc/malloc.c (musable): Use malloc_check_get_size.
1532 * malloc/tst-malloc-usable.c: New test case.
1533
4d038ae3
AS
15342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1535
1536 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1537
c4e85184
AM
15382012-09-05 Allan McRae <allan@archlinux.org>
1539
b9dafc56 1540 [BZ #13966]
c4e85184
AM
1541 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1542 determine header location.
1543 * configure: Regenerated.
1544
e1343020
AS
15452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1546
1547 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1548 float format.
1549 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1550 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1551 format.
e1343020
AS
1552 (test): Regenerate.
1553
0a9f1987
DM
15542012-09-04 David S. Miller <davem@davemloft.net>
1555
1556 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1557 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1558 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1559
29237804
FW
15602012-09-04 Florian Weimer <fweimer@redhat.com>
1561
1562 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1563 failures.
1564
edb3cb88
FW
1565 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1566
60160d83
JM
15672012-09-04 Joseph Myers <joseph@codesourcery.com>
1568
1569 [BZ #9914]
1570 * libio/iogetdelim.c: Include <limits.h>.
1571 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1572 + len + 1 would overflow.
1573
bcd6c8dc
AJ
15742012-09-03 Andreas Jaeger <aj@suse.de>
1575
1576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1577 * sysdeps/i386/fpu/libm-test-ulps: Update.
1578
4ffffbd2
LD
15792012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1580
1581 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1582 Add s_sinf-sse2, s_conf-sse2.
1583
1584 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1585 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1586 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1587 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1588
1589 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1590 for using routine as __sinf_ia32.
1591 Use macro for function declaration and weak_alias.
1592 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1593 for using routine as __cosf_ia32.
1594 Use macro for function declaration and weak_alias.
1595
1596 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1597 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1598
1599 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1600 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1602
1603 * math/libm-test.inc (cos_test): Add more test cases.
1604 (sin_test): Likewise.
1605 (sincos_test): Likewise.
1606
511fa286
AK
16072012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1608
1609 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1610 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1611 hidden.
1612 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1613
5f30cfec
L
16142012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1615
1616 [BZ #14538]
1617 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1618 first element of the GOT.
1619 (elf_machine_load_address): Return the difference between
1620 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1621
0786794f
AM
16222012-09-01 Allan McRae <allan@archlinux.org>
1623
5f30cfec
L
1624 [BZ #13412]
1625 * configure.in (AWK): Require gawk version 3.0 or later.
1626 * configure: Regenerated.
0786794f 1627
26889eac
JM
16282012-09-01 Joseph Myers <joseph@codesourcery.com>
1629
1630 * sysdeps/unix/sysv/linux/kernel-features.h
1631 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1632 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1633 [__NR_clock_getres]: Make code unconditional.
1634 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1635 (clock_getcpuclockid): Remove code left unreachable by removal of
1636 conditionals.
1637 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1638 code unconditional.
1639 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1640 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1641 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1642 Make code unconditional.
1643 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1644 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1645 * sysdeps/unix/sysv/linux/clock_settime.c
1646 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1647 conditional code.
1648 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1649 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1650
d22e28b0
L
16512012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1652
1653 [BZ #14476]
1654 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1655 scripts/test-installation.pl.
1656
1657 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1658 and $ld_so_version if it is set.
1659
050af9c4
SP
16602012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1661
1662 [BZ #14516]
1663 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1664 failure if reading from procfs failed.
1665 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1666
ad845c0b
JM
16672012-08-27 Joseph Myers <joseph@codesourcery.com>
1668
1669 * sysdeps/unix/sysv/linux/kernel-features.h
1670 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1671 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1672 Remove conditional code.
1673 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1674 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1675 Remove conditional code.
1676 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1677 * sysdeps/unix/sysv/linux/i386/fxstat.c
1678 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1679 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1680 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1681 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1682 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1683 * sysdeps/unix/sysv/linux/i386/lxstat.c
1684 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1685 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1686 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1687 Remove conditional code.
1688 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1689 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1690 Remove conditional code.
1691 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1692 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1693 <kernel-features.h>.
1694 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1695 Remove.
1696 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1697 Remove conditional code.
1698 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1699 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1700 Remove conditional.
1701
5dbf56af
MF
17022012-08-27 Mike Frysinger <vapier@gentoo.org>
1703
1704 [BZ #5400]
1705 * NEWS: Add fixed bug number.
1706
d6e70f43
JM
17072012-08-27 Joseph Myers <joseph@codesourcery.com>
1708
7efb4737
JM
1709 [BZ #14519]
1710 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1711 underflowing exponent in case of negative sign.
1712 * stdlib/tst-strtod-round-data: Add more tests.
1713 * stdlib/tst-strtod-round.c (tests): Regenerated.
1714
af92131a
JM
1715 [BZ #3479]
1716 * stdlib/strtod_l.c (NDIG): Remove.
1717 (HEXNDIG): Likewise.
1718 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1719 smallest representable value.
1720 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1721 lie within an exact representation of 1/2 ulp of the result.
1722 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1723 unconditionally.
1724 (TENS_P9_IDX): Define unconditionally.
1725 (TENS_P9_SIZE): Likewise.
1726 (TENS_P10_IDX): Likewise.
1727 (TENS_P10_SIZE): Likewise.
1728 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1729 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1730 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1731 entries for 10^2^13 and 10^2^14.
1732 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1733 (TENS_P13_IDX): Define.
1734 (TENS_P13_SIZE): Likewise.
1735 (TENS_P14_IDX): Likewise.
1736 (TENS_P14_SIZE): Likewise.
1737 (_fpioconst_pow10): Change array size to
1738 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1739 unconditional.
1740 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1741 1024]: Add entries for 10^2^13 and 10^2^14.
1742 [LAST_POW10 > _LAST_POW10]: Remove #error.
1743 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1744 (_fpioconst_pow10): Change array size to
1745 FPIOCONST_POW10_ARRAY_SIZE.
1746 * stdlib/gen-fpioconst.c: New file.
1747 * stdlib/gen-tst-strtod-round.c: Likewise.
1748 * stdlib/tst-strtod-round-data: Likewise.
1749 * stdlib/tst-strtod-round.c: Likewise.
1750 * stdlib/Makefile (tests): Add tst-strtod-round.
1751
d6e70f43
JM
1752 [BZ #14459]
1753 * stdlib/strtod_l.c: Include <stdint.h>.
1754 (NDEBUG): Do not define.
1755 (round_and_return): Change EXPONENT parameter to type intmax_t.
1756 Rearrange calculations to avoid internal overflow possibilities.
1757 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1758 Rearrange calculations to avoid internal overflow possibilities.
1759 Assert that number fits inside MPNSIZE limbs.
1760 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1761 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1762 calculations and add assertions to avoid internal overflow
1763 possibilities. Add casts to avoid signed/unsigned operations.
1764 * stdlib/tst-strtod-overflow.c: New file.
1765 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1766
1f529f7d
MP
17672012-08-25 Marek Polacek <polacek@redhat.com>
1768
1769 * time/time.h: Fix some typos in comments.
1770
59a629f1
RM
17712012-08-23 Roland McGrath <roland@hack.frob.com>
1772
1773 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1774 * posix/tst-rfc3484-2.c: Likewise.
1775 * posix/tst-rfc3484-3.c: Likewise.
1776
d3bafbc9
SM
17772012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1778
1779 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1780 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1781
4efcc022
JM
17822012-08-23 Joseph Myers <joseph@codesourcery.com>
1783
1784 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1785 #include of fxstatat64.c.
1786
3cc3ef96
RM
17872012-08-22 Roland McGrath <roland@hack.frob.com>
1788
f04e2132
RM
1789 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1790 * shadow/getspent_r.c: Likewise.
1791 * shadow/getspnam.c: Likewise.
1792 * shadow/getspnam_r.c: Likewise.
1793 * gshadow/getsgent.c: Likewise.
1794 * gshadow/getsgent_r.c: Likewise.
1795 * gshadow/getsgnam.c: Likewise.
1796 * gshadow/getsgnam_r.c: Likewise.
1797 * inet/getnetbyad.c: Likewise.
1798 * inet/getnetbyad_r.c: Likewise.
1799 * inet/getnetbynm.c: Likewise.
1800 * inet/getnetbynm_r.c: Likewise.
1801 * inet/getnetent.c: Likewise.
1802 * inet/getnetent_r.c: Likewise.
1803 * inet/getproto.c: Likewise.
1804 * inet/getproto_r.c: Likewise.
1805 * inet/getprtent.c: Likewise.
1806 * inet/getprtent_r.c: Likewise.
1807 * inet/getprtname.c: Likewise.
1808 * inet/getprtname_r.c: Likewise.
1809 * inet/getrpcbyname.c: Likewise.
1810 * inet/getrpcbyname_r.c: Likewise.
1811 * inet/getrpcbynumber.c: Likewise.
1812 * inet/getrpcbynumber_r.c: Likewise.
1813 * inet/getrpcent.c: Likewise.
1814 * inet/getrpcent_r.c: Likewise.
1815 * inet/getaliasent.c: Likewise.
1816 * inet/getaliasent_r.c: Likewise.
1817 * inet/getaliasname.c: Likewise.
1818 * inet/getaliasname_r.c: Likewise.
1819 * nscd/getgrgid_r.c: Likewise.
1820 * nscd/getgrnam_r.c: Likewise.
1821 * nscd/gethstbyad_r.c: Likewise.
1822 * nscd/gethstbynm3_r.c: Likewise.
1823 * nscd/getpwnam_r.c: Likewise.
1824 * nscd/getpwuid_r.c: Likewise.
1825 * nscd/getsrvbynm_r.c: Likewise.
1826 * nscd/getsrvbypt_r.c: Likewise.
1827 * nscd/gai.c: Likewise.
1828
c53d909c
RM
1829 * configure.in (build_nscd): New substituted variable, set
1830 by --disable-build-nscd and defaults to $use_nscd.
1831 * configure: Regenerated.
1832 * config.make.in (build-nscd): New substituted variable.
1833 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1834 Change conditional to require [$(build-nscd) = yes] as well.
1835 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1836
3cc3ef96
RM
1837 [BZ# 13696]
1838 * configure.in (use_nscd): New substituted variable, set by
1839 --disable-nscd. If enabled, define USE_NSCD.
1840 * configure: Regenerated.
1841 * config.h.in: Add USE_NSCD.
1842 * config.make.in (use-nscd): New substituted variable.
1843 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1844 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1845 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1846 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1847 (CFLAGS-getgrnam_r.c): Likewise.
1848 (CFLAGS-initgroups.c): Likewise.
1849 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1850 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1851 Variables removed.
1852 * inet/getnetgrent_r.c
1853 (nscd_setnetgrent): New function, broken out of ...
1854 (setnetgrent): ... here. Call it.
1855 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1856 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1857 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1858 * nscd/Makefile (routines, aux): Move definitions after include of
1859 Makeconfig. Conditionalize on [$(use-nscd) != no].
1860 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1861 Conditionalize on [USE_NSCD].
1862 (is_nscd, nscd_init_cb): Likewise.
1863 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1864 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1865 * nss/nss_db/db-init.c: Likewise.
1866 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1867 [USE_NSCD].
1868 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1869 (make_request): Use it.
1870 (cache_valid_p): New function.
1871 (__check_pf): Use it.
1872 * NEWS: Add item for --disable-nscd.
1873
07e51550
DL
18742012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1875
1876 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1877 to support sed >= 4.2.1-20-ga9bf076.
1878 * configure: Regenerated.
1879
35a5b08b
RM
18802012-08-22 Roland McGrath <roland@hack.frob.com>
1881
1882 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1883 Conditionalize whole body on [IREL].
1884
8479f23a
JL
18852012-08-22 Jeff Law <law@redhat.com>
1886
1887 [BZ #14505]
1888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1889 if the family is PF_UNSPEC.
1890
48da0b21
MF
18912012-08-22 Mike Frysinger <vapier@gentoo.org>
1892
1893 * Makerules (lib-version): Rename from V.
1894 (install-lib-nosubdir): Change V to lib-version.
1895
15d0da8c
WS
18962012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1897
1898 [BZ #14252]
1899 * powerpc32/power6/wcschr.c: New file.
1900 * powerpc32/power6/wcscpy.c: New file.
1901 * powerpc32/power6/wcsrchr.c: New file.
1902 * powerpc64/power6/wcschr.c: New file.
1903 * powerpc64/power6/wcscpy.c: New file.
1904 * powerpc64/power6/wcsrchr.c: New file.
1905
bcca0895
MK
19062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1907
1908 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1909 (two_way_short_needle): Use it.
5a4aaa33
RM
1910 * string/strstr.c (AVAILABLE1_USES_J): Define.
1911 * string/strcasestr.c: Likewise.
99677e57
MK
1912
1913 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1914 array references.
1915 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1916
400726de
MK
1917 [BZ #11607]
1918 * NEWS: Add an entry.
1919 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1920 define their defaults.
1921 (two_way_short_needle): Detect end-of-string on-the-fly.
1922 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1923 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1924 * string/bug-strcasestr1.c: New test.
1925 * string/Makefile: Run it.
1926
20a71f2c
MK
19272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1928
1929 [BZ #11607]
1930 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1931 the first character.
1932
21ad0558
RM
19332012-08-21 Roland McGrath <roland@hack.frob.com>
1934
1935 * csu/elf-init.c (__libc_csu_irel): Function removed.
1936 * csu/libc-start.c (apply_irel): New function.
1937 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1938
0e1d9911
JM
19392012-08-21 Joseph Myers <joseph@codesourcery.com>
1940
1941 * sysdeps/unix/sysv/linux/kernel-features.h
1942 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1943 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1944 <kernel-features.h>.
1945 [__NR_fadvise64_64]: Make code unconditional.
1946 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1947 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1948 !__NR_fadvise64_64)]: Likewise.
1949 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1950 !__NR_fadvise64_64))]: Likewise.
1951 [__NR_fadvise64]: Make code unconditional.
1952 [!__NR_fadvise64]: Remove conditional code.
1953 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1954 <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 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1960 not include <kernel-features.h>.
1961 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1962 unconditional.
1963 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1964 conditional code.
1965 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1966 include <kernel-features.h>.
1967 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1968 unconditional.
1969 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1970 conditional code.
1971
14a50c9d
WS
19722012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1973
1974 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1975 slight instruction rearrangements per scrollpipe analysis.
1976 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1977
c0f4faf0
RM
19782012-08-20 Roland McGrath <roland@hack.frob.com>
1979
696da859
RM
1980 * manual/syslog.texi (syslog; vsyslog, closelog):
1981 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1982 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1983
c0f4faf0
RM
1984 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1985 DSOCAPS to match condition on defining it.
1986
348363b2
JM
19872012-08-20 Joseph Myers <joseph@codesourcery.com>
1988
a35cbf28
JM
1989 * sysdeps/unix/sysv/linux/kernel-features.h
1990 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1992 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1993 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1995 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1996 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1998 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1999 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2000
445f7ecd
JM
2001 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2002 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2003
348363b2
JM
2004 * sysdeps/unix/sysv/linux/kernel-features.h
2005 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2006 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2007 unconditional.
2008 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2009 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2010 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2011 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2012 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2013 Make code unconditional.
2014 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2015 (__mmap64) [!__NR_mmap2]: Likewise.
2016 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2017 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2018 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2019 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2020 [__NR_mmap2]: Make code unconditional.
2021 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2022 (__mmap64) [!__NR_mmap2]: Likewise.
2023
bc5bc0e5
AK
20242012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2025
2026 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2027
88d506de
AJ
20282012-08-18 Andreas Jaeger <aj@suse.de>
2029
2030 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2031
493387d2
MF
20322012-08-18 Mike Frysinger <vapier@gentoo.org>
2033
2034 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2035 * include/unistd.h (__have_sock_cloexec): Likewise.
2036 (__have_pipe2): Likewise.
2037 (__have_dup3): Likewise.
2038
a277af22
MF
20392012-08-18 Mike Frysinger <vapier@gentoo.org>
2040
2041 [BZ #9685]
2042 * include/unistd.h (__have_pipe2): Change define into an extern int.
2043 (__have_dup3): Likewise.
2044 * socket/have_sock_cloexec.c: Include fcntl.h.
2045 (__have_pipe2): New variable.
2046 (__have_dup3): Likewise.
2047
fdab8fd3
MF
20482012-08-17 Mike Frysinger <vapier@gentoo.org>
2049
2050 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2051
31035e80
MP
20522012-08-17 Marek Polacek <polacek@redhat.com>
2053
2054 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2055 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2056
3bd9e993
RM
20572012-08-17 Roland McGrath <roland@hack.frob.com>
2058
c91c505f
RM
2059 * configure.in: Add AC_SUBST for sysheaders.
2060 * configure: Regenerated.
2061 * config.make.in (sysheaders): New substituted variable.
2062
7c6f9d53
RM
2063 * sysdeps/unix/mkfifo.c: Moved ...
2064 * sysdeps/posix/mkfifo.c: ... here.
2065 * sysdeps/unix/mkfifoat.c: Moved ...
2066 * sysdeps/posix/mkfifoat.c: ... here.
2067
2068 * sysdeps/unix/utime.c: Moved ...
2069 * sysdeps/posix/utime.c: ... here.
2070
2071 * sysdeps/unix/time.c: Moved ...
2072 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2073 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2074 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2075
2076 * sysdeps/unix/nice.c: Moved ...
2077 * sysdeps/posix/nice.c: ... here.
2078
2079 * sysdeps/unix/alarm.c: Moved ...
2080 * sysdeps/posix/alarm.c: ... here.
2081
3bd9e993
RM
2082 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2083
d1f09384
JL
20842012-08-17 Jeff Law <law@redhat.com>
2085
2086 * intl/Makefile (codeset_mo): New variable.
2087 ($(codeset_mo)): New target.
2088 (tst-codeset.out): Depend on that. Remove explicit rule.
2089 (tst-gettext3.out, tst-gettext5.out): Likewise.
2090 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2091 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2092 * intl/tst-codeset.sh: Remove.
2093 * intl/tst-gettext3.sh: Likewise.
2094 * intl/tst-gettext5.sh: Likewise.
2095
2ae1ae5c
RM
20962012-08-17 Roland McGrath <roland@hack.frob.com>
2097
c31fdb83
RM
2098 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2099 * sysdeps/unix/syscalls.list: ... here.
2100
a0844057
RM
2101 * sysdeps/posix/getaddrinfo.c
2102 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2103 (gaiconf_init, gaiconf_reload): Use them.
2104 [!_STATBUF_ST_NSEC]
2105 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2106 Define using time_t rather than struct timespec.
2107
750c1f2a
RM
2108 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2109 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2110 Macros removed.
2111 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2112 [!NO_THREADS].
2113 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2114 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2115 Likewise.
2116
2ae1ae5c
RM
2117 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2118 __libc_cleanup_push argument.
2119
e66a42f5
RM
2120 * bits/param.h: New file.
2121 * misc/sys/param.h: New file.
2122 * include/sys/param.h: New file.
2123 * misc/Makefile (headers): Add bits/param.h.
2124 * sysdeps/generic/sys/param.h: File removed.
2125 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2126 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2127 * sysdeps/mach/hurd/bits/param.h: New file.
2128 * sysdeps/mach/hurd/sys/param.h: New file.
2129
b7c08a66
RM
2130 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2131 last change.
2132
b2e1c562
RM
2133 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2134 [_IO_MTSAFE_IO].
2135 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2136 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2137 New macros.
2138
c75ccd4c
RM
2139 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2140 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2141 rather than -D_IO_MTSAFE_IO conditionally.
2142 * stdio-common/Makefile (CPPFLAGS): Likewise.
2143 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2144 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2145 Use $(libio-mtsafe).
2146 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2147 of -D_IO_MTSAFE_IO.
2148 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2149 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2150 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2151 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2152 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2153 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2154 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2155 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2156 (CFLAGS-fread_u_chk.c): Likewise.
2157 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2158 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2159 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2160 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2161 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2162 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2163 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2164 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2165 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2166
2167 * libio/Makefile: Test [$(libc-reentrant) = yes]
2168 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2169
2170 * Makeconfig
2171 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2172 * sysdeps/pthread/configure: File removed.
2173 * sysdeps/pthread/Makeconfig: New file.
2174 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2175 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2176
d9195db8
GB
21772012-08-16 Gary Benson <gbenson@redhat.com>
2178
2179 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2180 unmapping the first object in a namespace.
2181
86466cd9
RM
21822012-08-16 Roland McGrath <roland@hack.frob.com>
2183
2184 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2185 (__internal_setnetgrent): ... this. Add internal_function to
2186 definition. Add libc_hidden_def.
2187 (setnetgrent): Update caller.
2188 (internal_endnetgrent): Renamed to ...
2189 (__internal_endnetgrent): ... this. Add internal_function to
2190 definition. Add libc_hidden_def.
2191 (endnetgrent): Update caller.
2192 (internal_getnetgrent_r): Renamed to ...
2193 (__internal_getnetgrent_r): ... this. Add internal_function to
2194 definition. Add libc_hidden_def.
2195 (__getnetgrent_r): Update caller.
2196 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2197
c3c8283c
JM
21982012-08-16 Joseph Myers <joseph@codesourcery.com>
2199
2200 * stdlib/longlong.h: Update from GCC.
2201
db1ee0a8
RM
22022012-08-16 Roland McGrath <roland@hack.frob.com>
2203
2204 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2205 on _QL, which is set by umul_ppmm but never used.
2206 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2207 variables, which are set by GMP macros but never used.
2208 * stdio-common/_itowa.c (_itowa): Likewise.
2209 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2210 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2211
30f69637
CD
22122012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2213
2214 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2215 struct La_sh_regs is not constant.
2216 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2217 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2218 and struct La_sparc64_regs are not constant.
2219
93a78ac4
JM
22202012-08-16 Joseph Myers <joseph@codesourcery.com>
2221
2222 * sysdeps/unix/sysv/linux/kernel-features.h
2223 (__ASSUME_POSIX_TIMERS): Remove.
2224 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2225 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2226 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2227 Make code unconditional.
2228 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2229 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2230 Make code unconditional.
2231 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2232 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2233 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2234 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2235 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2236 Make code unconditional.
2237 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2238 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2239 (__libc_missing_posix_timers): Remove.
2240
dd924cd7
RM
22412012-08-15 Roland McGrath <roland@hack.frob.com>
2242
4b4f2771
RM
2243 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2244 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2245
601c888b
RM
2246 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2247
176790a7
RM
2248 * elf/dl-sym.c: Include <stdlib.h>.
2249
329bc018
RM
2250 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2251 constants, which avoids warnings in 32-bit builds.
2252
e04e272d
RM
2253 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2254 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2255
952bf94a
RM
2256 * misc/lseek.c: File moved to ...
2257 * io/lseek.c: ... here.
2258
7c99b50a
RM
2259 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2260
dd924cd7
RM
2261 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2262 shifting LEN more than 31 bits at once.
2263
b3f479a8
LD
22642012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2265
2266 [BZ #14195]
8c4ae0d4
RM
2267 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2268 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2269 * string/test-strncasecmp.c (check1): Renamed to...
2270 (bz12205): ...this.
2271 (bz14195): Add new testcase for two empty input strings and N > 0.
2272 (test_main): Call new testcase, adapt for renamed function.
2273
9c55864e
AJ
22742012-08-15 Andreas Jaeger <aj@suse.de>
2275
2276 [BZ #14090]
2277 * crypt/md5test2.c: New test, based on test supplied by Serge
2278 Belyshev <belyshev@depni.sinp.msu.ru>.
2279 * crypt/Makefile (xtests): Add md5test-giant..
2280 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2281
02dcb6c5
PE
22822012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2283
2284 [BZ #14090]
2285 * crypt/md5.c (md5_process_block): Don't assume the buffer
2286 length is less than 2**32.
2287 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2288 length is less than 2**64.
2289
a3f95dcc
RM
22902012-08-15 Roland McGrath <roland@hack.frob.com>
2291
be75d758
RM
2292 * string/str-two-way.h: Include <sys/param.h>.
2293 (MAX): Macro removed.
2294
7312ca90
RM
2295 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2296 Move #define and #undef of memmove to just before and after
2297 including <string.h>.
2298
9a0a5486
RM
2299 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2300 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2301 and after including <string.h>. Move declarations of
2302 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2303 to before #include "string/memmove.c".
2304
67cc348d
RM
2305 * include/dirent.h: Declare __getdirentries.
2306
a3f95dcc
RM
2307 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2308 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2309
ca98e171
MF
23102012-08-14 Mike Frysinger <vapier@gentoo.org>
2311
2312 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2313 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2314 * sysdeps/i386/configure: Regenerated.
2315 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2316 STABS_CURRENT_FILE, and STABS_FUN.
2317 (END): Remove call to STABS_FUN_END.
2318 (STABS_CURRENT_FILE1): Delete.
2319 (STABS_CURRENT_FILE): Likewise.
2320 (STABS_FUN): Likewise.
2321 (STABS_FUN_END): Likewise.
2322 (STABS_FUN2): Likewise.
2323 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2324 * sysdeps/x86_64/configure: Regenerated.
2325
5908bf46
RM
23262012-08-14 Roland McGrath <roland@hack.frob.com>
2327
2328 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2329 * elf/dl-lookup.c: Likewise.
5908bf46 2330
f2c05b9e
JM
23312012-08-14 Joseph Myers <joseph@codesourcery.com>
2332
2333 * sysdeps/unix/sysv/linux/kernel-features.h
2334 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2335 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2336 unconditionally.
2337 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2338 unconditionally.
2339 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2340 condition on __ASSUME_CLONE_THREAD_FLAGS.
2341
e11f5155
AJ
23422012-08-14 Andreas Jaeger <aj@suse.de>
2343
2344 * sysdeps/i386/fpu/libm-test-ulps: Update.
2345
51a9ba86
MK
23462012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2347
2fdd4f78
AJ
2348 * include/atomic.h (atomic_exchange_and_add): Split into ...
2349 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2350 New atomic macros.
51a9ba86 2351
ba6cba9e
MT
23522012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2353
2354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2355
42443a47
JL
23562012-08-13 Jeff Law <law@redhat.com>
2357
2358 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2359 null byte in the output string.
2360
121dce05
JM
23612012-08-10 Joseph Myers <joseph@codesourcery.com>
2362
2363 * sysdeps/unix/sysv/linux/kernel-features.h
2364 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2365 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2366 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2367 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2368 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2369 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2370 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2371
bf51f568
JL
23722012-08-09 Jeff Law <law@redhat.com>
2373
2374 [BZ #13939]
2375 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2376 When avoid_arena is set, don't retry in the that arena. Pick the
2377 next one, whatever it might be.
2378 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2379 (arena_lock): Pass in new parameter to arena_get2.
2380 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2381 arena_get2.
2382 (__libc_malloc): Unify retrying after main arena failure with
2383 __libc_memalign version.
2384 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2385
f85fa270
L
23862012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2387
2388 [BZ #14166]
2389 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2390 to __redirect_strstr.
2391 (__strstr_sse42): Use typeof __redirect_strstr.
2392 (__strstr_ia32): Likewise.
2393 (__libc_strstr): New prototype.
2394 (strstr): Renamed to ...
2395 (__libc_strstr): This.
2396 (strstr): New strong alias of __libc_strstr.
2397 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2398 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2399 __redirect_time.
2400 Include <time.h>.
2401 (__libc_time): New prototype.
2402 (time_ifunc): Replace time with __libc_time.
2403 (time): New strong alias and hidden definition of __libc_time.
2404 (__GI_time): Remove strong alias.
2405 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2406 Include <stddef.h>.
2407 (memmove): Redefined to __redirect_memmove.
2408 (__memmove_sse2): Use typeof __redirect_memmove.
2409 (__memmove_ssse3): Likewise.
2410 (__memmove_ssse3_back): Likewise.
2411 (__libc_memmove): New prototype.
2412 (memmove): Renamed to ...
2413 (__libc_memmove): This.
2414 (memmove): New strong alias of __libc_memmove.
2415
33b4a91e
MS
24162012-08-08 Mark Salter <msalter@redhat.com>
2417
2418 * elf/elf.h
2419 (R_MN10300_TLS_GD): Define.
2420 (R_MN10300_TLS_LD): Likewise.
2421 (R_MN10300_TLS_LDO): Likewise.
2422 (R_MN10300_TLS_GOTIE): Likewise.
2423 (R_MN10300_TLS_IE): Likewise.
2424 (R_MN10300_TLS_LE): Likewise.
2425 (R_MN10300_TLS_DTPMOD): Likewise.
2426 (R_MN10300_TLS_DTPOFF): Likewise.
2427 (R_MN10300_TLS_TPOFF): Likewise.
2428 (R_MN10300_SYM_DIFF): Likewise.
2429 (R_MN10300_ALIGN): Likewise.
2430 (R_MN10300_NUM): Update.
2431
b36137f1
JM
24322012-08-08 Joseph Myers <joseph@codesourcery.com>
2433
2434 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2435 Remove.
2436
cdd915fd
RM
24372012-08-08 Roland McGrath <roland@hack.frob.com>
2438
a2433aac
RM
2439 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2440
cdd915fd
RM
2441 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2442 sysdeps/unix -> sysdeps/posix move.
2443 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2444
bf9b740a
AM
24452012-08-07 Allan McRae <allan@archlinux.org>
2446
2447 [BZ #14303]
2448 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2449 (SUNOS_CPP): Likewise.
2450 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2451 not found.
2452 (open_input): Call CPP using execvp.
2453
93df14ee
JM
24542012-08-07 Joseph Myers <joseph@codesourcery.com>
2455
2456 * sysdeps/unix/sysv/linux/kernel-features.h
2457 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2458 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2459 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2460 (__ASSUME_WAITID_SYSCALL): Likewise.
2461 * sysdeps/unix/sysv/linux/dl-execstack.c
2462 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2463 code unconditional.
2464 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2465 conditional code.
2466 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2467 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2468 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2469 code.
2470 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2471 unconditional.
2472 [__ASSUME_WAITID_SYSCALL]: Likewise.
2473 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2474
d34689de
RM
24752012-08-07 Roland McGrath <roland@hack.frob.com>
2476
a281decc
RM
2477 * sysdeps/unix/closedir.c: Renamed to ...
2478 * sysdeps/posix/closedir.c: ... here.
2479 * sysdeps/unix/dirfd.c: Renamed to ...
2480 * sysdeps/posix/dirfd.c: ... here.
2481 * sysdeps/unix/dirstream.h: Renamed to ...
2482 * sysdeps/posix/dirstream.h: ... here.
2483 * sysdeps/unix/fdopendir.c: Renamed to ...
2484 * sysdeps/posix/fdopendir.c: ... here.
2485 * sysdeps/unix/opendir.c: Renamed to ...
2486 * sysdeps/posix/opendir.c: ... here.
2487 * sysdeps/unix/readdir.c: Renamed to ...
2488 * sysdeps/posix/readdir.c: ... here.
2489 * sysdeps/unix/readdir_r.c: Renamed to ...
2490 * sysdeps/posix/readdir_r.c: ... here.
2491 * sysdeps/unix/rewinddir.c: Renamed to ...
2492 * sysdeps/posix/rewinddir.c: ... here.
2493 * sysdeps/unix/seekdir.c: Renamed to ...
2494 * sysdeps/posix/seekdir.c: ... here.
2495 * sysdeps/unix/telldir.c: Renamed to ...
2496 * sysdeps/posix/telldir.c: ... here.
2497 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2498 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2499 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2500 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2501
22895b47
RM
2502 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2503 * bits/fcntl.h: ... here.
2504
707a53b6
RM
2505 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2506 not 0.
2507 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2508 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2509 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2510 (struct flock): Move l_start, l_len to the beginning.
2511 Use __pid_t for l_pid.
2512 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2513 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2514 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2515 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2516 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2517 [__USE_LARGEFILE64] (struct flock64): New type.
2518 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2519
f0bd3e25
RM
2520 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2521 * bits/dirent.h: ... here.
2522
d34689de
RM
2523 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2524 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2525
6dad2c06
JM
25262012-08-07 Joseph Myers <joseph@codesourcery.com>
2527
2528 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2529 Change from 2.6.0 to 2.6.16.
2530 * sysdeps/unix/sysv/linux/configure: Regenerated.
2531 * sysdeps/unix/sysv/linux/kernel-features.h
2532 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2533 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2534 version.
2535 (__ASSUME_UTIMES): Likewise.
2536 (__ASSUME_CLONE_STOPPED): Remove.
2537 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2538 architectures, not kernel version.
2539 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2540 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2541 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2542 (__ASSUME_WAITID_SYSCALL): Likewise.
2543 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2544 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2545 * README: State 2.6.16 as minimum Linux kernel version. Do not
2546 refer to older versions.
2547
03af9520
RM
25482012-08-06 Roland McGrath <roland@hack.frob.com>
2549
8e49df1d
RM
2550 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2551 Define alphasort64 as an alias.
2552 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2553 Define versionsort64 as an alias.
2554 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2555 Define scandir64 as an alias.
2556 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2557 Define scandirat64 as an alias.
2558 * dirent/alphasort64.c (alphasort64):
2559 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2560 * dirent/versionsort64.c: Likewise.
2561 * dirent/scandir64.c: Likewise.
2562 * dirent/scandirat64.c: Likewise.
2563 * sysdeps/wordsize-64/alphasort.c: File removed.
2564 * sysdeps/wordsize-64/alphasort64.c: File removed.
2565 * sysdeps/wordsize-64/scandir.c: File removed.
2566 * sysdeps/wordsize-64/scandir64.c: File removed.
2567 * sysdeps/wordsize-64/scandirat.c: File removed.
2568 * sysdeps/wordsize-64/scandirat64.c: File removed.
2569 * sysdeps/wordsize-64/versionsort.c: File removed.
2570 * sysdeps/wordsize-64/versionsort64.c: File removed.
2571 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2572 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2573 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2574 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2575 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2576 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2577 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2578 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2579
2580 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2581 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2582 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2584 [defined __arch64__ || defined __sparcv9]
2585 (__INO_T_MATCHES_INO64_T): New macro.
2586 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2587 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2588 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2589 * sysdeps/unix/sysv/linux/bits/dirent.h
2590 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2591 (_DIRENT_MATCHES_DIRENT64): New macro.
2592
03af9520
RM
2593 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2594 Define lockf64 as an alias.
2595 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2596 Define fseeko64 as an alias.
2597 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2598 Define ftello64 as an alias.
2599 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2600 Define _IO_fgetpos64 and fgetpos64 as aliases.
2601 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2602 Define _IO_fsetpos64 and fsetpos64 as aliases.
2603 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2604 Conditionalize body on this.
2605 * libio/fseeko64.c: Likewise.
2606 * libio/ftello64.c: Likewise.
2607 * libio/iofgetpos64.c: Likewise.
2608 * libio/iofsetpos64.c: Likewise.
2609 * sysdeps/wordsize-64/lockf.c: File removed.
2610 * sysdeps/wordsize-64/lockf64.c: File removed.
2611 * sysdeps/wordsize-64/fseeko.c: File removed.
2612 * sysdeps/wordsize-64/fseeko64.c: File removed.
2613 * sysdeps/wordsize-64/ftello.c: File removed.
2614 * sysdeps/wordsize-64/ftello64.c: File removed.
2615 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2616 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2617 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2618 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2619 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2620 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2621 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2622 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2623 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2624 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2625 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2626 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2627 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2628 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2629
2630 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2632 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2633 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2634 [defined __arch64__ || defined __sparcv9]
2635 (__OFF_T_MATCHES_OFF64_T): New macro.
2636 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2637 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2639 (__OFF_T_MATCHES_OFF64_T): New macro.
2640
c5757acd
L
26412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2642
2643 * stdlib/secure-getenv.c (__secure_getenv): Replace
2644 GLIBC_2_16 with GLIBC_2_17.
2645
3a31811e
L
26462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2647
2648 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2649 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2650
faa2bccb
DM
26512012-08-03 David S. Miller <davem@davemloft.net>
2652
2653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2654
85fe1997
JM
26552012-08-03 Joseph Myers <joseph@codesourcery.com>
2656
2657 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2658 Remove.
2659 (__ASSUME_CORRECT_SI_PID): Likewise.
2660 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2661 (__ASSUME_TMPFS_NAME): Likewise.
2662 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2663 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2664 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2665 (HAVE_AUX_SECURE): Make definition unconditional.
2666 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2667 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2668
4f75b7a0
RM
26692012-08-03 Roland McGrath <roland@hack.frob.com>
2670
2671 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2672 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2673 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2674 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2675 __eloop_threshold instead of SYMLOOP_MAX.
2676
2677 * sysdeps/generic/eloop-threshold.h: New file.
2678 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2679 of MAXSYMLINKS.
2680 * elf/chroot_canon.c (chroot_canon): Likewise.
2681
7aab07e4
JM
26822012-08-03 Joseph Myers <joseph@codesourcery.com>
2683
2684 [BZ #13717]
2685 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2686 Change to 2.6.0 everywhere.
2687 * sysdeps/unix/sysv/linux/configure: Regenerated.
2688 * sysdeps/unix/sysv/linux/kernel-features.h
2689 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2690 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2691 kernel versions.
2692 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2693 (__ASSUME_FUTEX_REQUEUE): Remove.
2694 (__ASSUME_STATFS64): Define unconditionally.
2695 (__ASSUME_AT_SECURE): Likewise.
2696 (__ASSUME_CORRECT_SI_PID): Likewise.
2697 (__ASSUME_TGKILL): Define without depending on kernel version for
2698 i386.
2699 (__ASSUME_UTIMES): Likewise.
2700 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2701 kernel version.
2702 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2703 (__ASSUME_TMPFS_NAME): Likewise.
2704 * README: Update reference to Linux kernel versions.
2705
b67e9372
MP
27062012-08-02 Marek Polacek <polacek@redhat.com>
2707
1f529f7d 2708 [BZ# 14150]
b67e9372
MP
2709 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2710 libc_cv_asm_type_prefix with %.
2711 * configure: Regenerated.
d2441631
RM
2712 * include/libc-symbols.h: Remove comment about
2713 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2714 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2715 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2716 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2717 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2718 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2719 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2720 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2721 * elf/tst-unique2mod1.c: Likewise.
2722 * elf/tst-unique1mod2.c: Likewise.
2723 * elf/tst-unique1mod1.c: Likewise.
2724 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2725 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2726 Replace ASM_TYPE_DIRECTIVE with .type.
2727 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2728 * sysdeps/i386/sysdep.h: Likewise.
2729 * sysdeps/x86_64/sysdep.h: Likewise.
2730 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2732 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2733 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2734 * sysdeps/powerpc/powerpc32/sysdep.h:
2735 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2736 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2737 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2738 * sysdeps/i386/fpu/e_powf.S: Likewise.
2739 * sysdeps/i386/fpu/e_expl.S: Likewise.
2740 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2741 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2742 * sysdeps/i386/fpu/e_pow.S: Likewise.
2743 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2744 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2745 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2746 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2747 * sysdeps/i386/fpu/e_log2.S: Likewise.
2748 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2749 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2750 * sysdeps/i386/fpu/e_powl.S: Likewise.
2751 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2752 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2753 * sysdeps/i386/fpu/e_logl.S: Likewise.
2754 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2755 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2756 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2757 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2758 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2759 * sysdeps/i386/fpu/e_log.S: Likewise.
2760 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2761 * sysdeps/i386/fpu/e_logf.S: Likewise.
2762 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2763 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2764 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2765 * sysdeps/i386/fpu/e_log10.S: Likewise.
2766 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2767 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2768 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2769 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2770 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2771 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2772 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2773 * sysdeps/i386/i686/strtok.S: Likewise.
2774 * sysdeps/i386/i386-mcount.S: Likewise.
2775 * sysdeps/i386/strtok.S: Likewise.
2776 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2777 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2778 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2779 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2780 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2781 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2782 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2783 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2784 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2785 * sysdeps/x86_64/_mcount.S: Likewise.
2786 * sysdeps/x86_64/strtok.S: Likewise.
2787 * sysdeps/sh/_mcount.S: Likewise.
2788
2747bf9a
RM
27892012-08-01 Roland McGrath <roland@hack.frob.com>
2790
2791 * libio/iofopen.c: Include <fcntl.h>.
2792 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2793 (_IO_fopen64, fopen64): Define as aliases.
2794 * libio/iofopen64.c: Include <fcntl.h>.
2795 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2796 Conditionalize body on this.
2797 * sysdeps/wordsize-64/iofopen.c: File removed.
2798 * sysdeps/wordsize-64/iofopen64.c: File removed.
2799
3fb791b8
MP
28002012-08-01 Marek Polacek <polacek@redhat.com>
2801
2802 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2803 Use dlfcn directly instead of a variable.
2804 (binfmt-subdir): Do not define.
2805 (dlfcn): Likewise.
2806
a9f1039f
JM
28072012-08-01 Joseph Myers <joseph@codesourcery.com>
2808
23bddc06
JM
2809 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2810 Remove all definitions.
2811 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2812 <kernel-features.h>.
2813 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2814 (miss_F_GETOWN_EX): Remove all definitions.
2815 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2816 macro definition.
2817 [!__ASSUME_FCNTL64]: Remove conditional code.
2818 [__ASSUME_FCNTL64]: Make code unconditional.
2819 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2820 <kernel-features.h>.
2821 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2822 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2823 (lockf64) [__NR_fcntl64]: Make code unconditional.
2824 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2825
a9f1039f
JM
2826 * sysdeps/unix/sysv/linux/kernel-features.h
2827 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2828 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2829 Make code unconditional.
2830 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2831 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2833 [__NR_vfork]: Make code unconditional.
2834 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2835 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2837 [__NR_vfork]: Make code unconditional.
2838 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2839 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2840
09c0ee5f
RM
28412012-08-01 Roland McGrath <roland@hack.frob.com>
2842
48aec5b9
RM
2843 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2844 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2845
cd97c966
RM
2846 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2847 Define mkstemp64 as an alias.
3f55550c
RM
2848 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2849 Define mkstemps64 as an alias.
cd97c966
RM
2850 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2851 Define mkostemp64 as an alias.
b8625cfc
RM
2852 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2853 Define mkostemps64 as an alias.
cd97c966
RM
2854 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2855 Conditionalize body on this.
2856 * misc/mkostemp64.c: Likewise.
b8625cfc 2857 * misc/mkostemps64.c: Likewise.
3f55550c 2858 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2859 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2860 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2861 * sysdeps/wordsize-64/mkostemp.c: File removed.
2862 * sysdeps/wordsize-64/mkstemp.c: File removed.
2863 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2864 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2865 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2866 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2867
09c0ee5f
RM
2868 [BZ #14138]
2869 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2870 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2871 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2872 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2873
2874 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2875 compat_symbol macros from <shlib-compat.h> rather than the underlying
2876 default_symbol_version and symbol_version macros, so that DEFAULT
2877 lines in shlib-versions are respected.
2878 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2879
7e66ee51
FW
28802012-08-01 Florian Weimer <fweimer@redhat.com>
2881
2882 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2883 Declare with warn_unused_result.
2884 (setgid, setregid, setegid, setresgid): Likewise.
2885 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2886 Likewise.
2887 * WUR-REPORT: Remove set*id functions.
2888
d2a54255
PT
28892012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2890
2891 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2892
7ecdb005
RM
28932012-07-31 Roland McGrath <roland@hack.frob.com>
2894
789bd351
RM
2895 * include/sys/socket.h (__libc_accept, __libc_accept4):
2896 Add attribute_hidden.
2897 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2898
40ce302d
RM
2899 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2900 use of PTR_MANGLE.
2901 * inet/getnetgrent_r.c (setup): Likewise.
2902
7ecdb005
RM
2903 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2904
e2eabb2c
DM
29052012-07-31 David S. Miller <davem@davemloft.net>
2906
2907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2908
d0419dbf
JM
29092012-07-31 Joseph Myers <joseph@codesourcery.com>
2910
2911 [BZ #13629]
2912 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2913 value between 1.0 and 2.0 and smaller part has absolute value less
2914 than 1.0.
2915 * math/s_clog10.c (__clog10): Likewise.
2916 * math/s_clog10f.c (__clog10f): Likewise.
2917 * math/s_clog10l.c (__clog10l): Likewise.
2918 * math/s_clogf.c (__clogf): Likewise.
2919 * math/s_clogl.c (__clogl): Likewise.
2920 * math/libm-test.inc (clog_test): Add more tests.
2921 (clog10_test): Likewise.
2922 * sysdeps/i386/fpu/libm-test-ulps: Update.
2923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2924
2bc13872
FW
29252012-07-31 Florian Weimer <fweimer@redhat.com>
2926
2927 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2928 Exit with zero in case no suitable GID is found, and write a
2929 message to standard error.
2930
bea9b193
RM
29312012-07-30 Roland McGrath <roland@hack.frob.com>
2932
2933 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2934 rather than to 1.
2935 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2936 (MAXPATHLEN): Removed.
2937 (NOGROUP, NODEV): New macros.
2938 (setbit, clrbit, isset, isclr): New macros.
2939 (howmany, roundup, powerof2): New macros.
2940 (DEV_BSIZE): New macro.
2941
2942 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2943 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2944
2945 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2946 definition on [!__NO_LONG_DOUBLE_MATH].
2947
2948 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2949 PTR_MANGLE and PTR_DEMANGLE.
2950
2951 * socket/accept4.c (accept4): Rename to __libc_accept4.
2952 Define accept4 as a weak alias.
2953
2954 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2955 on [_DIRENT_HAVE_D_TYPE].
2956 * io/ftw.c (ftw_dir): Likewise.
2957
2958 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2959
2960 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2961
2962 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2963 Use the BSD numbers rather than the arbitrary ones we had.
2964 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2965 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2966 (SIGXCPU, SIGXFSZ): New macros.
2967 (_NSIG): Now 32.
2968
2969 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2970 initializer on [_LIBC_REENTRANT].
2971
2972 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2973 definitions inside [_POSIX_MAPPED_FILES].
2974
2975 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2976
2977 * dirent/opendir.c: Include <fcntl.h>.
2978
2979 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2980 (__libc_getspecific): Likewise.
2981 (__libc_key_create): Likewise.
2982
2983 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2984 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2985 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2986 (tmpfile64): Define as alias.
2987 * sysdeps/wordsize-64/tmpfile.c: File removed.
2988 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2989 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2990 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2991
2992 * stdio-common/vfscanf.c: Include <stdbool.h>.
2993 * nss/makedb.c: Likewise.
2994 * stdio-common/_i18n_number.h: Likewise.
2995 * argp/argp-help.c: Likewise.
2996 * posix/wordexp.c: Likewise.
2997 * sysdeps/posix/spawni.c: Likewise.
2998 * nss/nss_files/files-initgroups.c: Likewise.
2999 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3000 * nss/nss_files/files-initgroups.c: Likewise.
3001 * nss/nss_db/db-netgrp.c: Likewise.
3002 * nss/nss_db/db-initgroups.c: Likewise.
3003 * io/fchmodat.c: Include <sys/stat.h>.
3004
3005 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3006 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3007
3008 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3009 [HAVE_MMAP].
3010
3011 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3012 Add multiple inclusion protection.
3013
e5abc686
DM
30142012-07-27 David S. Miller <davem@davemloft.net>
3015
3016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3017
815e6fa3
GB
30182012-07-27 Gary Benson <gbenson@redhat.com>
3019
3020 [BZ #14298]
3021 * elf/rtld.c: Include <stap-probe.h>.
3022 (dl_main): Added static probes "init_start" and "init_complete".
3023 * elf/dl-load.c: Include <stap-probe.h>.
3024 (lose): Take new parameter "nsid".
3025 Added static probe "map_failed".
3026 (_dl_map_object_from_fd): Pass namespace id to lose.
3027 Added static probe "map_start".
3028 (open_verify): Pass namespace id to lose.
3029 * elf/dl-open.c: Include <stap-probe.h>.
3030 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3031 and "reloc_complete".
3032 * elf/dl-close.c: Include <stap-probe.h>.
3033 (_dl_close_worker): Added static probes "unmap_start" and
3034 "unmap_complete".
3035 * elf/rtld-debugger-interface.txt: New file documenting the above.
3036
9f98c16c
RM
30372012-07-26 Roland McGrath <roland@hack.frob.com>
3038
3039 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3040 rather than a string variable.
3041 * sunrpc/rpc_main.c (h_output): Likewise.
3042 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3043
f3c22df3
PT
30442012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3045
3046 * inet/check_native.c: New file.
3047
3129cfc6
JM
30482012-07-26 Joseph Myers <joseph@codesourcery.com>
3049
da865e95
JM
3050 [BZ #13629]
3051 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3052 if larger part has absolute value 1.0.
3053 * math/s_clog10.c (__clog10): Likewise.
3054 * math/s_clog10f.c (__clog10f): Likewise.
3055 * math/s_clog10l.c (__clog10l): Likewise.
3056 * math/s_clogf.c (__clogf): Likewise.
3057 * math/s_clogl.c (__clogl): Likewise.
3058 * math/libm-test.inc (clog_test): Add more tests.
3059 (clog10_test): Likewise.
3060 * sysdeps/i386/fpu/libm-test-ulps: Update.
3061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3062
3129cfc6
JM
3063 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3064 (pltexit): Likewise.
3065 (La_regs): Likewise.
3066 (La_retval): Likewise.
3067 (int_retval): Likewise.
3068 Update #error for removed macros to refer only to definitions in
3069 tst-audit.h.
3070 * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.c (pltenter): Remove all definitions of
3089 macro.
3090 (pltexit): Likewise.
3091 (La_regs): Likewise.
3092 (La_retval): Likewise.
3093 (int_retval): Likewise.
3094 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3095 macro.
3096 (pltexit): Likewise.
3097 (La_regs): Likewise.
3098 (La_retval): Likewise.
3099 (int_retval): Likewise.
3100 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3101 macro.
3102 (pltexit): Likewise.
3103 (La_regs): Likewise.
3104 (La_retval): Likewise.
3105 (int_retval): Likewise.
3106 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3107 macro definitions in tst-audit.h.
3108 * sysdeps/i386/tst-audit.h: New file.
3109 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3110 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3111 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3112 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3113 * sysdeps/sh/tst-audit.h: Likewise.
3114 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3115 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3116 * sysdeps/x86_64/tst-audit.h: Likewise.
3117
bfc07087
AJ
31182012-07-26 Andreas Jaeger <aj@suse.de>
3119
b1b2aaf8
AJ
3120 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3121 ptrace.
3122
3123 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3124 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3125 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3126 PTRACE_O_MASK.
3127 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3128 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3129 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3130
bfc07087
AJ
3131 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3132 value.
3133
3134 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3135 _sigsys.
3136 (si_call_addr, si_syscall, si_arch): Define new macro.
3137 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3138 _sigsys.
3139 (si_call_addr, si_syscall, si_arch): Define new marcro.
3140 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3141 _sigsys.
3142 (si_call_addr, si_syscall, si_arch): Define new macro.
3143 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3144 _sigsys.
3145 (si_call_addr, si_syscall, si_arch): Define new macro.
3146
89b4b02f
JM
31472012-07-25 Joseph Myers <joseph@codesourcery.com>
3148
3149 [BZ #13717]
3150 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3151 Change to 2.4.21 where previously 2.4.1.
3152 * sysdeps/unix/sysv/linux/configure: Regenerated.
3153 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3154 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3155 Linux kernel version.
3156 (__ASSUME_STD_AUXV): Remove.
3157 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3158 kernel version.
3159 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3160 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3161 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3162 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3163 (__ASSUME_NETLINK_SUPPORT): Likewise.
3164 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3165 (__no_netlink_support): Remove conditional definition.
3166 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3167 Remove.
3168 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3169 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3170 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3171 (if_nameindex_ioctl): Remove.
3172 (if_nameindex_netlink): Do not handle __no_netlink_support.
3173 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3174 code.
3175 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3176 Remove conditional code.
3177 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3178 code.
3179 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3180 unconditional.
3181 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3182 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3183 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3184 Remove.
3185 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3186 [!__ASSUME_STD_AUXV]: Remove conditional code.
3187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3188 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3189 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3191 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3192 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3193 code.
3194 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3196 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3197 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3198 conditional code.
3199 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3201 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3202 code.
3203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3204 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3205 conditional code.
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3207 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3208 code unconditional.
3209 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3210 conditional code.
3211 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3212 unconditional.
3213 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3214 conditional code.
3215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3216 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3217 unconditional.
3218 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3219 conditional code.
3220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3221 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3222 code unconditional.
3223 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3224 conditional code.
3225 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3226 unconditional.
3227 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3228 conditional code.
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3230 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3231 code unconditional.
3232 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3233 conditional code.
3234 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3235 unconditional.
3236 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3237 conditional code.
3238
842a39cd
AS
32392012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3240
3241 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3242 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3243 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3244 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3245 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3246 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3247 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3248 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3249 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3250 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3251 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3252 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3253 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3254 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3255 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3256 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3257 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3258 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3259 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3261 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3262 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3263 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3264
84b3fd84
FW
32652012-07-25 Florian Weimer <fweimer@redhat.com>
3266
3267 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3268 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3269 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3270 Introduce __libc_secure_getenv.
0c7936d5
FW
3271 * stdlib/Versions (2.17): Add secure_getenv
3272 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3273 * stdlib/secure-getenv.c: Rename __secure_getenv to
3274 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3275 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3276 * stdlib/tst-secure-getenv.c: New.
3277 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3278 * manual/startup.texi (Environment Access): Document
3279 secure_getenv.
84b3fd84
FW
3280 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3281 __libc_secure_getenv.
3282 * inet/ruserpass.c (ruserpass): Likewise.
3283 * malloc/mtrace.c (mtrace): Likewise.
3284 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3285 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3286 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3287 * sysdeps/posix/tempname.c: Likewise. Evaluate
3288 HAVE_SECURE_GETENV.
3289 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3290 __secure_getenv to __libc_secure_getenv.
84b3fd84 3291 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3293 Likewise.
3294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3295 Likewise.
3296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3298 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3303
56e49b71
JM
33042012-07-25 Joseph Myers <joseph@codesourcery.com>
3305
3306 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3307 (struct La_i86_retval): Likewise.
3308 (struct La_x86_64_regs): Likewise.
3309 (struct La_x86_64_retval): Likewise.
3310 (struct La_x32_regs): Likewise.
3311 (struct La_x32_retval): Likewise.
3312 (struct La_ppc32_regs): Likewise.
3313 (struct La_ppc32_retval): Likewise.
3314 (struct La_ppc64_regs): Likewise.
3315 (struct La_ppc64_retval): Likewise.
3316 (struct La_sh_regs): Likewise.
3317 (struct La_sh_retval): Likewise.
3318 (struct La_s390_32_regs): Likewise.
3319 (struct La_s390_32_retval): Likewise.
3320 (struct La_s390_64_regs): Likewise.
3321 (struct La_s390_64_retval): Likewise.
3322 (struct La_sparc32_regs): Likewise.
3323 (struct La_sparc32_retval): Likewise.
3324 (struct La_sparc64_regs): Likewise.
3325 (struct La_sparc64_retval): Likewise.
3326 (struct audit_ifaces): Remove architecture-specific pltenter and
3327 pltexit members.
3328 * sysdeps/i386/ldsodefs.h: New file.
3329 * sysdeps/powerpc/ldsodefs.h: Likewise.
3330 * sysdeps/s390/ldsodefs.h: Likewise.
3331 * sysdeps/sh/ldsodefs.h: Likewise.
3332 * sysdeps/sparc/ldsodefs.h: Likewise.
3333 * sysdeps/x86_64/ldsodefs.h: Likewise.
3334
354691b7
MP
33352012-07-25 Marek Polacek <polacek@redhat.com>
3336
3337 [BZ #6808]
3338 * math/libm-test.inc (yn_test): Add another test.
3339 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3340 to ERANGE when the result is +-Inf.
3341 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3342 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3343 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3344 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3345
bf9e2071
JM
33462012-07-24 Joseph Myers <joseph@codesourcery.com>
3347
3348 * conform/data/time.h-data (NULL): Use macro-constant. Require
3349 equal to 0.
3350 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3351 clock_t.
3352 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3353
57633811
TS
33542012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3355
3356 * configure.in <sysdeps resolving>: Correct printing
3357 Implies_before.
3358 * configure: Regenerate.
3359
c23c33b0
TS
33602012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3361
3362 * math/w_ilogb.c: Include <limits.h>.
3363 * math/w_ilogbl.c: Likewise.
3364
b5982523
JM
33652012-07-20 Joseph Myers <joseph@codesourcery.com>
3366
3367 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3368 va_copy. Document allowing for unavailable va_copy only as
3369 pre-C99 compatibility.
3370 * manual/string.texi (Copying and Concatenation): Use va_copy
3371 instead of __va_copy in concat example.
3372
ac4ea442
PT
33732012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3374
3375 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3376 (__sendto): Use create_address_port. Initialize APORT and deallocate
3377 it if not null.
3378
f98eafbd
PT
3379 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3380 with O_NOLINK passed to __file_name_lookup.
3381
898c7aab
PT
3382 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3383 with O_NOLINK passed to __file_name_lookup.
3384
0ced335a
PT
3385 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3386 negative N or less than NGIDS.
3387
b3404dbd
PT
3388 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3389 type to string_t. Set ERANGE as errno and return it if NAME is not big
3390 enough. Use memcpy instead of strncpy.
3391
0f48659e
JM
33922012-07-20 Joseph Myers <joseph@codesourcery.com>
3393
3394 * elf/Makefile (check-data): Remove.
3395 (localplt.data): New vpath directive.
3396 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3397 instead of $(check-data).
3398 * scripts/data/localplt-generic.data: Move to ...
3399 * sysdeps/generic/localplt.data: ... here.
3400 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3401 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3402 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3404 ... here.
3405 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3407 ... here.
3408 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3410 ... here.
3411 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3413 ... here.
3414 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3416 ... here.
3417 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3419 ... here.
3420
d37cbdaa
AZ
34212012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3422
3423 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3424 PPC32 and PPC64 files.
3425 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3426 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3427
46f85fc2
AK
34282012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3429
3430 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3431 __makecontext_ret to ...
3432 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3433 ... here and call exit if uc_link is NULL. New file.
3434 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3435 __makecontext_ret.S.
3436 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3437 __makecontext_ret to ...
3438 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3439 ... here and call exit if uc_link is NULL. New file.
3440 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3441 __makecontext_ret.S.
3442
08f43f9b
AK
34432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3444
3445 * elf/elf.h (R_390_IRELATIVE): New definition.
3446 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3447 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3448 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3449 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3450 (elf_machine_lazy_rel): Likewise.
3451 * sysdeps/s390/dl-irel.h: New file.
3452 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3453 * sysdeps/s390/s390-64/memset.S: New asm code.
3454 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3455 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3456 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3457 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3458 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3459 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3460 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3461 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3462 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3463 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3464 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3465 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3466 * sysdeps/s390/s390-32/memset.S: New asm code.
3467 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3468
3b05db33
MP
34692012-07-17 Marek Polacek <polacek@redhat.com>
3470
3471 [BZ #14349]
3472 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3473 * sysdeps/s390/s390-64/configure.in: Likewise.
3474 * sysdeps/sparc/configure.in: Likewise.
3475 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3476 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3477 * sysdeps/i386/configure.in: Likewise.
3478 * sysdeps/x86_64/configure.in: Likewise.
3479 * sysdeps/sh/configure.in: Likewise.
3480 * sysdeps/s390/s390-32/configure: Regenerated.
3481 * sysdeps/s390/s390-64/configure: Likewise.
3482 * sysdeps/x86_64/configure: Likewise.
3483 * sysdeps/sh/configure: Likewise.
3484 * sysdeps/powerpc/powerpc64/configure: Likewise.
3485 * sysdeps/powerpc/powerpc32/configure: Likewise.
3486 * sysdeps/sparc/configure: Likwise.
3487 * sysdeps/i386/configure: Likewise.
3488
a66877c6
MP
3489 * elf/dl-open.c: Comment fixes.
3490
cfc82fd8
JM
34912012-07-17 Joseph Myers <joseph@codesourcery.com>
3492
bd29910a
JM
3493 * Makefile [CXX] (check-data): Remove.
3494 [CXX] (c++-types.data): New vpath directive.
3495 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3496 vpath. Do not allow for C++ type data being missing.
3497 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3498 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3499 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3500 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3501 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3502 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3503 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3505 ... here.
3506 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3508 ... here.
3509 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3511 ... here.
3512 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3514 ... here.
3515 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3517 ... here.
3518 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3520 ... here.
3521 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3523 ... here.
3524 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3526
cfc82fd8
JM
3527 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3528 definitions to architecture-specific files.
3529 (TLS_IE): Likewise.
3530 (TLS_LD): Likewise.
3531 (TLS_GD): Likewise.
3532 * sysdeps/i386/tls-macros.h: New file.
3533 * sysdeps/powerpc/tls-macros.h: Likewise.
3534 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3535 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3536 * sysdeps/sh/tls-macros.h: Likewise.
3537 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3538 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3539 * sysdeps/x86_64/tls-macros.h: Likewise.
3540
f7db3170
TS
35412012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3542
07cbfc23
TS
3543 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3544 zero value for regular exit case.
3545
f7db3170
TS
3546 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3547 (__start_context): Preserve zero value for regular exit case.
3548
dc97c227
TS
35492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3550 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3551
3552 * manual/setjmp.texi (setcontext): Clarify normal process
3553 termination when uc_link is the null pointer.
3554 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3555 exit call.
3556
d0cd7d02
AS
35572012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3558
3559 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3560 preprocessor. Test for each exception mask separately.
3561
dd318934
AJ
35622012-07-16 Andreas Jaeger <aj@suse.de>
3563
3564 * po/ru.po: Update from translation team.
3565
8048311a
JM
35662012-07-15 Joseph Myers <joseph@codesourcery.com>
3567
3568 * conform/data/string.h-data (NULL): Use macro-constant. Require
3569 equal to 0.
3570 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3571 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3572 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3573 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3574 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3575
b637d46e
AJ
35762012-07-13 Andreas Jaeger <aj@suse.de>
3577
3578 * po/fr.po: Update from translation team.
3579
541428fe
MP
35802012-07-12 Marek Polacek <polacek@redhat.com>
3581
3582 [BZ #14173]
3583 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3584 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3585 loop condition.
3586
ec332e94
JM
35872012-07-12 Joseph Myers <joseph@codesourcery.com>
3588
3589 [BZ #13717]
3590 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3591 Change to 2.4.1 where previously 2.4.0.
3592 * sysdeps/unix/sysv/linux/configure: Regenerated.
3593 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3594 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3595 version.
3596 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3597 (__ASSUME_AT_CLKTCK): Remove.
3598 (__ASSUME_AT_PAGESIZE): Likewise.
3599 (__ASSUME_AT_XID): Likewise.
3600 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3601 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3602 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3603 unconditionally.
3604 (HAVE_AUX_PAGESIZE): Likewise.
3605 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3606 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3607 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3608
7b6e99be
JB
36092012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3610
3611 [BZ #14307]
3612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3613 the temporary buffer used to invoke __gethostbyname2_r,
3614 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3615 host_data / struct gaih_addrtuple.
3616 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3617 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3618 header file nss/nsswitch.h.
3619 * nss/nsswitch.h (global scope): Add definition of implementation
3620 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3621 resolv/nss_dns/dns-host.c).
3622
608404eb
AJ
36232012-07-11 Andreas Jaeger <aj@suse.de>
3624
3625 * po/fr.po: Update from translation team.
3626
71220aca
AJ
3627 * po/sv.po: Update from translation team
3628 * po/fr.po: Another update from translation team.
3629
28cfe843
AZ
36302012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3631
3632 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3633 for subnormals or multiply small sinh result by itself.
3634 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3636
6b90f981
DM
36372012-07-11 David S. Miller <davem@davemloft.net>
3638
3639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3640
c6825772
AS
36412012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3642
3643 [BZ #14347]
3644 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3645 (INTERNAL_MARK): Shift it here.
3646
7b8e0d49
MP
36472012-07-10 Marek Polacek <polacek@redhat.com>
3648
3649 [BZ #14151]
3650 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3651 libc_cv_asm_global_directive with .globl.
3652 * configure: Regenerated.
3653 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3654 with .globl.
3655 * sysdeps/i386/configure: Regenerated.
3656 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3657 with .globl.
3658 * sysdeps/x86_64/configure: Regenerated.
3659 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3660 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3661 * elf/tst-unique2mod2.c: Likewise.
3662 * elf/tst-unique2mod1.c: Likewise.
3663 * elf/tst-unique1mod2.c: Likewise.
3664 * elf/tst-unique1mod1.c: Likewise.
3665 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3666 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3667 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3668 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3669 * sysdeps/mach/sysdep.h: Likewise.
3670 * sysdeps/i386/sysdep.h: Likewise.
3671 * sysdeps/i386/i386-mcount.S: Likewise.
3672 * sysdeps/x86_64/_mcount.S: Likewise.
3673 * sysdeps/x86_64/sysdep.h: Likewise.
3674 * sysdeps/sh/_mcount.S: Likewise.
3675 * sysdeps/sh/sysdep.h: Likewise.
3676 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3677 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3678 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3679 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3680 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3681 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3682 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3683 * locale/localeinfo.h: Likewise.
3684 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3685 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3686
6c55cda3
RM
36872012-07-09 Roland McGrath <roland@hack.frob.com>
3688
3689 [BZ #14336]
3690 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3691 system".
3692 * manual/message.texi (The Uniforum approach): Likewise.
3693 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3694 (glibc iconv Implementation): Likewise.
3695
638a572e
JM
36962012-07-09 Joseph Myers <joseph@codesourcery.com>
3697
3698 [BZ #14337]
3699 * math/s_clog.c (__clog): Avoid scaling a value down where that
3700 could result in underflow.
3701 * math/s_clog10.c (__clog10): Likewise.
3702 * math/s_clog10f.c (__clog10f): Likewise.
3703 * math/s_clog10l.c (__clog10l): Likewise.
3704 * math/s_clogf.c (__clogf): Likewise.
3705 * math/s_clogl.c (__clogl): Likewise.
3706 * math/libm-test.inc (clog_test): Add more tests.
3707 (clog10_test): Likewise.
3708 * sysdeps/i386/fpu/libm-test-ulps: Update.
3709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3710
261f4859
AS
37112012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3712
0abaf3e4
AS
3713 [BZ #14283]
3714 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3715 by 7 not 8 to examine high bit of fractional part.
3716
261f4859
AS
3717 [BZ #14042]
3718 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3719 for call to __mcount_internal.
3720 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3721 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3722 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3723
f17ac40d
JM
37242012-07-06 Joseph Myers <joseph@codesourcery.com>
3725
9ad63c23
JM
3726 [BZ #14154]
3727 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3728 approximation for values within 0x1p-13f of an odd multiple of
3729 pi/4.
3730 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3731 exception. Add more tests.
3732 * sysdeps/i386/fpu/libm-test-ulps: Update.
3733
f17ac40d
JM
3734 [BZ #6778]
3735 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3736 inputs and return -1 for them. Do not check for +Inf in case not
3737 reachable for +Inf.
3738 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3739 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3740 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3741 and return -1 for them. Do not check for +Inf in case not
3742 reachable for +Inf.
3743 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3744 define.
3745 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3746 and return -1 for them. Do not check for +Inf in case not
3747 reachable for +Inf.
3748 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3749 spurious underflow.
3750 * sysdeps/i386/fpu/libm-test-ulps: Update.
3751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3752
fb21f89b
MF
37532012-07-06 Mike Frysinger <vapier@gentoo.org>
3754
3755 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3756
cdfe2c5e
JM
37572012-07-05 Joseph Myers <joseph@codesourcery.com>
3758
3759 [BZ #14157]
3760 [BZ #14331]
3761 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3762 could result in spurious underflow. Scale down values above
3763 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3764 * math/s_csqrtf.c (__csqrtf): Likewise.
3765 * math/s_csqrtl.c (__csqrtl): Likewise.
3766 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3767 spurious underflow.
3768 * sysdeps/i386/fpu/libm-test-ulps: Update.
3769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3770
70d35b67
AS
37712012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3772
704bc459
AS
3773 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3774 xopen-msg.sed.
3775 * catgets/xopen-msg.awk: New file.
3776 * catgets/xopen-msg.sed: Removed.
3777
70d35b67
AS
3778 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3779 po2text.sed.
3780 * intl/po2test.awk: New file.
3781 * intl/po2test.sed: Removed.
3782
ca61cf32
JM
37832012-07-04 Joseph Myers <joseph@codesourcery.com>
3784
3785 [BZ #14328]
3786 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3787 or multiply small sinh result by itself.
3788 * math/s_ctanf.c (__ctanf): Likewise.
3789 * math/s_ctanh.c (__ctanh): Likewise.
3790 * math/s_ctanhf.c (__ctanhf): Likewise.
3791 * math/s_ctanhl.c (__ctanhl): Likewise.
3792 * math/s_ctanl.c (__ctanl): Likewise.
3793 * math/libm-test.inc (ctan_test_tonearest): New function.
3794 (ctan_test_towardzero): Likewise.
3795 (ctan_test_downward): Likewise.
3796 (ctan_test_upward): Likewise.
3797 (ctanh_test_tonearest): Likewise.
3798 (ctanh_test_towardzero): Likewise.
3799 (ctanh_test_downward): Likewise.
3800 (ctanh_test_upward): Likewise.
3801 (main): Call these new functions.
3802 * sysdeps/i386/fpu/libm-test-ulps: Update.
3803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3804
ca48a46a
MF
38052012-07-03 Mike Frysinger <vapier@gentoo.org>
3806
3807 * .gitignore: Delete /ports entry.
3808
9d63d37d
AJ
38092012-07-03 Andreas Jaeger <aj@suse.de>
3810
3811 * po/bg.po: Update from translation team.
3812 * po/cs.po: Likewise.
3813 * po/de.po: Likewise.
3814 * po/hr.po: Likewise.
3815 * po/nl.pl: Likewise.
3816 * po/pl.po: Likewise.
3817 * po/vi.po: Likewise.
3818
370ca3d2
JM
38192012-07-03 Joseph Myers <joseph@codesourcery.com>
3820
95f5a9a8
JM
3821 * Makeconfig [!+link] (+link-before-libc): New variable.
3822 [!+link] (+link-after-libc): Likewise.
3823 [!+link] (+link-tests): Likewise.
3824 [!+link] (+link): Define in terms of $(+link-before-libc) and
3825 $(+link-after-libc).
3826 [!+link-static] (+link-static-before-libc): New variable.
3827 [!+link-static] (+link-static-after-libc): Likewise.
3828 [!+link-static] (+link-static-tests): Likewise.
3829 [!+link-static] (+link-static): Define in terms of
3830 $(+link-static-before-libc) and $(+link-static-after-libc).
3831 [build-shared] (link-libc-before-gnulib): New variable.
3832 [build-shared] (link-libc-tests): Likewise.
3833 [build-shared] (link-libc): Define in terms of
3834 $(link-libc-before-gnulib).
3835 [!build-shared] (link-libc-tests): New variable.
3836 (link-libc-static-tests): New variable.
3837 [!gnulib] (gnulib-arch): New variable.
3838 [!gnulib] (gnulib-tests): Likewise.
3839 [!gnulib] (static-gnulib-arch): Likewise.
3840 [!gnulib] (static-gnulib-tests): Likewise.
3841 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3842 Define with "=" instead of ":=".
3843 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3844 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3845 * Rules (binaries-all-notests): New variable.
3846 (binaries-all-tests): Likewise.
3847 (binaries-static-notests): Likewise.
3848 (binaries-static-tests): Likewise.
3849 (binaries-all): Define using $(binaries-all-notests) and
3850 $(binaries-all-tests).
3851 (binaries-static): Define using $(binaries-static-notests) and
3852 $(binaries-static-tests).
3853 (binaries-shared-tests): New variable.
3854 (binaries-shared-notests): Likewise.
3855 (binaries-shared): Remove variable.
3856 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3857 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3858 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3859 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3860 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3861 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3862 * elf/Makefile (sln-modules): New variable.
3863 (extra-objs): Add $(sln-modules:=.o).
3864 (ldconfig-modules): Add static-stubs.
3865 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3866 * elf/static-stubs.c: New file.
3867
7a845b2c
JM
3868 [BZ #14283]
3869 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3870 by 7 not 8 to examine high bit of fractional part. Use volatile
3871 variables when splitting into final array of floats if
3872 __FLT_EVAL_METHOD__ != 0.
3873 * math/libm-test.inc (cos_test): Add another test.
3874 (sin_test): Likewise.
3875 * sysdeps/i386/fpu/libm-test-ulps: Update.
3876
e2283f38
JM
3877 [BZ #14273]
3878 * math/libm-test.inc (cosh_test): Add more tests.
3879
370ca3d2
JM
3880 * version.h (RELEASE): Set to "development".
3881 (VERSION): Set to "2.16.90".
3882
ee9247c3
CD
38832012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3884
3885 * NEWS: Update copyright. Remove last-updated date.
3886 Mention math library bug fixes and timezone data changes.
3887 * README: Mention GNU/Hurd, x32, and HPPA support status.
3888
4648c381
TS
38892012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3890
3891 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3892
aac78a43
AJ
38932012-06-27 Andreas Jaeger <aj@suse.de>
3894
3895 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3896
ed3dbfad
AJ
38972012-06-25 Andreas Jaeger <aj@suse.de>
3898
3899 * sysdeps/s390/fpu/libm-test-ulps: Update.
3900
4d0ee855
AS
39012012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3902 Thomas Schwinge <thomas@codesourcery.com>
3903
3904 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3905 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3906 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3907 fanotify_mark.
3908
af1bce34
TS
39092012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3910
a9fa33ba
TS
3911 * sysdeps/mach/start.c: Remove file.
3912 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3913 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3914 * sysdeps/sh/init-first.c: Likewise.
3915
58f902b8
TS
3916 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3917 registers for frame unwinding purposes, add CFI directives.
3918 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3919 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3920 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3921 Likewise.
3922
1518f58b
TS
3923 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3924 __fortify_fail returning.
3925 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3926
db9b5059
TS
3927 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3928 sysdeps/sh/____longjmp_chk.S.
3929 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3930 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3931 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3932 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3933
967705fe
TS
3934 * sysdeps/sh/abort-instr.h: New file.
3935 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3936 process in case exit returns.
3937
a9def8c4
TS
3938 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3939 initialize the GOT register before use.
3940
2a649725
TS
3941 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3942 calculation of ARGC > 4.
3943
af1bce34
TS
3944 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3945 meaningful names to some local labels.
3946
d230f50a
KK
39472012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3948 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3949
3950 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3951 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3952 (__arch_compare_and_exchange_val_16_acq): Likewise.
3953 (__arch_compare_and_exchange_val_32_acq): Likewise.
3954 (atomic_exchange_and_add): Fix gUSA sequence.
3955 (atomic_add): Likewise.
3956 (atomic_add_negative): Likewise.
3957 (atomic_add_zero): Likewise.
3958 (atomic_bit_test_set): Likewise.
3959
0479b305
AS
39602012-06-22 Andreas Schwab <schwab@redhat.com>
3961
3962 [BZ #13579]
3963 * include/link.h (struct link_map): Add l_free_initfini.
3964 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3965 l_initfini.
3966 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3967 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3968 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3969 set.
3970
0e3933b9
CD
39712012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3972
3973 * configure.in: Use AC_LANG_SOURCE.
3974 * configure: Regenerate.
3975
4248b1b1
RM
39762012-06-22 Roland McGrath <roland@hack.frob.com>
3977
3978 * configure.in (libc_cv_localstatedir): New substituted variable.
3979 * configure: Regenerated.
3980 * config.make.in (localstatedir): New variable, substituted from
3981 libc_cv_localstatedir.
3982 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3983 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3984 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3985 * sysdeps/gnu/configure: Regenerated.
3986
006dd861
JL
39872012-06-21 Jeff Law <law@redhat.com>
3988
3989 [BZ #14277]
3990 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3991 free. Simplify list management for _LIBC case.
3992
79662d42
JM
39932012-06-21 Joseph Myers <joseph@codesourcery.com>
3994
b7abb4bf
JM
3995 [BZ #14273]
3996 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3997 Clear sign bit of 64-bit integer value before comparing against
3998 overflow value.
3999
79662d42
JM
4000 * sysdeps/mach/configure: Regenerated.
4001
1f150908
L
40022012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4003
4004 [BZ #14278]
4005 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4006
28363bbf
JL
40072012-06-21 Jeff Law <law@redhat.com>
4008
4009 [BZ #13882]
4010 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4011 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4012 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4013 * elf/dl-open.c (dl_open_worker): Likewise.
4014
09615db4
CD
40152012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4016
4017 * scripts/list-sources.sh: Scan PORTS for translations.
4018 * po/libc.pot: Regenerated.
4019
2174c6dd
AJ
40202012-06-21 Andreas Jaeger <aj@suse.de>
4021
4022 [BZ #12194]
4023 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4024 warning.
4025 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4026 * bits/byteswap-16.h (__bswap_16): Likewise.
4027 * bits/byteswap.h (__bswap_constant_16): Likewise.
4028
3ee947b1
L
40292012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4030
4031 [BZ #14117]
a2f34833
L
4032 * sysdeps/i386/fpu_control.h: Removed.
4033 * sysdeps/x86_64/fpu_control.h: Moved to ...
4034 * sysdeps/x86/fpu_control.h: Here.
4035
3ee947b1
L
4036 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4037 (_FPU_SETCW): Likewise.
4038
ed1825f8
L
40392012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4040
25f1282a
L
4041 [BZ #14117]
4042 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4043 * sysdeps/x86/fpu/bits/mathinline.h: This.
4044 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4045
ed1825f8
L
4046 [BZ #14050]
4047 [BZ #14117]
4048 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4049 functions if __x86_64__ is defined.
4050
36d54b74
CLT
40512012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4052
4053 * string/endian.h: Add !__ASSEMBLER__ condition for including
4054 conversion interfaces.
4055
10285c21
JM
40562012-06-15 Joseph Myers <joseph@codesourcery.com>
4057
4058 [BZ #14241]
4059 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4060 of ABS(x) in calculating zero to negative powers other than odd
4061 integers.
4062 * math/libm-test.inc (pow_test): Add more tests.
4063
06c5abbd
AJ
40642012-06-15 Andreas Jaeger <aj@suse.de>
4065
4066 * manual/contrib.texi (Contributors): Update entry of Liubov
4067 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4068 Machado Filho.
4069
a3aeac40
CH
40702012-06-15 Cyril Hrubis <metan@ucw.cz>
4071
4072 * string/string.h: Add __wur to GNU version of strerror_r.
4073
49bdf4c1
L
40742012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4075
4076 [BZ #14229]
4077 * string/Makefile (tests): Add tst-strtok_r.
4078 * string/tst-strtok_r.c: New file.
4079 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4080 RAX_LP/RDX_LP on SAVE_PTR.
4081
834f9b8d
RM
40822012-06-14 Roland McGrath <roland@hack.frob.com>
4083
4084 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4085
75fa1921
JM
40862012-06-14 Joseph Myers <joseph@codesourcery.com>
4087
4088 * libm_test.inc (csqrt_test): Allow more spurious underflow
4089 exceptions.
4090 (j0_test): Likewise.
4091 (j1_test): Likewise.
4092 (y0_test): Likewise.
4093 (y1_test): Likewise.
4094
771766df
CD
40952012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4096
4097 * po/Makefile (libc.pot): Use UTF-8 charset.
4098
ceb9e56b
PP
40992012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4100
4101 [BZ #14210]
4102 Suppress sign-conversion warning from FD_SET.
4103 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4104 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4105 not unsigned long int.
4106 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4107
ddb28975
L
41082012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4109
4110 [BZ #14050]
4111 [BZ #14117]
4112 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4113 __extern_always_inline instead of __extern_inline.
4114 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4115 (__signbit): Likewise.
4116 (__signbitl): Support C++ namespace.
4117 (lrintf): New inline function.
4118 (lrint): Likewise.
4119 (llrintf): Likewise.
4120 (llrint): Likewise.
4121 (fmaxf): Likewise.
4122 (fmax): Likewise.
4123 (fminf): Likewise.
4124 (fmin): Likewise.
4125 (rint): Likewise.
4126 (rintf): Likewise.
4127 (ceil): Likewise.
4128 (ceilf): Likewise.
4129 (floor): Likewise.
4130 (floorf): Likewise.
4131 (nearbyint): Likewise.
4132 (nearbyintf): Likewise.
4133
d7b4fb26
TS
41342012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4135
4136 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4137 non-default versions.
4138
eb55f5c2
RM
41392012-06-11 Roland McGrath <roland@hack.frob.com>
4140
4141 [BZ #14218]
4142 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4143
366af02c
TS
41442012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4145
99ff6e5c
TS
4146 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4147 (FE_UPWARD, FE_DOWNWARD): Don't define.
4148 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4149 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4150
366af02c
TS
4151 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4152 reading it.
4153 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4154 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4155
793ea851
KK
41562012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4157
4158 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4159 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4160 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4161 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4162
a728a38f
L
41632012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4164
4165 [BZ #14117]
c08010c7
L
4166 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4167 * sysdeps/i386/fpu/Implies: New file.
4168 * sysdeps/x86_64/fpu/Implies: Likewise.
4169 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4170 * sysdeps/x86/fpu/bits/fenv.h: This.
4171
a728a38f
L
4172 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4173 __SSE_MATH__.
4174
6e230d11
SP
41752012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4176
4177 [BZ #14134]
4178 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4179 character 0xffff that matches the last element of the
4180 conversion table.
4181
1b671feb
AZ
41822012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4183
4184 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4185 fmodl commit.
4186
6043738b
AZ
41872012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4188
4189 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4190 values higher than 25.6283.
4191
34ae0b32
AZ
41922012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4193
4194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4195 subnormal exponent extraction and add some __builtin_expect.
4196 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4197 Fix for subnormal mantissa calculation.
4198
1214ec8f
MF
41992012-06-04 Mike Frysinger <vapier@gentoo.org>
4200
4201 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4202 cpu2 is -1 and errno is not ENOSYS.
4203
f3d1f93c
L
42042012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4205
4206 [BZ #14117]
0e4a3cd7
L
4207 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4208 * sysdeps/x86/bits/string.h: This.
4209 * sysdeps/x86_64/bits/string.h: Removed.
4210
6704c645
L
4211 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4212 if not compiling for x86-64, but compiling for >= i486.
4213
48495318
L
4214 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4215 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4216
14adcbfc
L
4217 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4218 New macro from Linux kernel 3.4.0.
4219 (FP_XSTATE_MAGIC2): Likewise.
4220 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4221 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4222 (struct _fpx_sw_bytes): New struct.
4223 (struct _xsave_hdr): Likewise.
4224 (struct _ymmh_state): Likewise.
4225 (struct _xstate): Likewise.
4226
68e408ab
L
4227 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4228 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4229 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4230 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4231 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4232 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4233
f3d1f93c
L
4234 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4235 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4236 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4237 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4238 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4239 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4240
d9dc34cd
TMQMF
42412012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4242
4243 [BZ #13743]
4244 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4245 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4246 (sysdep_headers): Include sys/platform/ppc.h.
4247 * sysdeps/powerpc/test-gettimebase.c: Test for
4248 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4249 * manual/Makefile (appendices): Include platform.texi.
4250 * manual/contrib.texi (Contributors): Update @node pointers.
4251 * manual/maint.texi (Maintenance): Likewise.
4252 (Platform): New node.
4253 * manual/platform.texi: New file. Document the new features.
4254
4af3879c
SP
42552012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4256 Jakub Jelinek <jakub@redhat.com>
4257
4258 [BZ #14188]
4259 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4260 where __builtin_expect is unavailable.
4261
2fd6ff13
DM
42622012-06-03 David S. Miller <davem@davemloft.net>
4263
4264 * stdlib/longlong.h: Updated from GCC.
4265
173f7220
AS
42662012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4267
4268 [BZ #14042]
4269 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4270 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4271 __mcount_internal.
4272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4273 (GLIBC_2.16): Likewise.
4274
f34a1c6f
L
42752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4276
4277 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4278
88a4576f
JM
42792012-06-01 Joseph Myers <joseph@codesourcery.com>
4280
ea32bcdd
JM
4281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4282 (default-abi): New variable.
4283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4284 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4285 variable.
4286 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4287 Likewise.
4288 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4289 Likewise.
4290 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4291 Likewise.
4292
88a4576f
JM
4293 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4294 definition. Document in comment.
4295
402fe938
DM
42962012-06-01 David S. Miller <davem@davemloft.net>
4297
4298 * stdlib/longlong.h: Updated from GCC.
4299
3553723f
L
43002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4301
4302 [BZ #14117]
3bd872c4
L
4303 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4304 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4305 sys/debugreg.h sys/io.h here.
4306 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4307 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4308 sys/io.h.
4309 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4310 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4311 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4312 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4313 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4314 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4315
3553723f
L
4316 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4317 Define only if __x86_64__ is defined.
4318
4842e4fe
JM
43192012-06-01 Joseph Myers <joseph@codesourcery.com>
4320
c5bfe3d5
JM
4321 [BZ #14048]
4322 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4323 Use int64_t for variable i.
4324 * math/libm-test.inc (fmod_test): Add more tests.
4325
4842e4fe
JM
4326 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4327 z computation is not scheduled after fetestexcept.
4328 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4329 Use math_force_eval instead of asm to ensure calculation scheduled
4330 before exception test.
4331 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4332 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4333
efb73488
AJ
43342012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4335
4336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4337 computation is not scheduled after fetestexcept.
4338
29bcce7c
L
43392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4340
4341 [BZ #14117]
4342 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4343 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4344
73a68f94
AZ
43452012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4346
4347 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4348 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4349
67b6df78
L
43502012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4351
edf2933a 4352 [BZ #14117]
ebc64a18
L
4353 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4354 <bits/wordsize.h>.
4355 (__WCHAR_MIN): Support __WORDSIZE == 64.
4356 (__WCHAR_MAX): Likewise.
4357
edf2933a
L
4358 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4359 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4360
57c6cf40
L
4361 [BZ #14183]
4362 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4363 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4364
67b6df78 4365 [BZ #14117]
8eb6281e
L
4366 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4367 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4368
aac639f4
L
4369 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4370 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4371
67b6df78
L
4372 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4373 Defined to 1 if __x86_64__ isn't defined.
4374 (_STAT_VER_LINUX_OLD): New.
4375 (st_atime): Remove duplicate.
4376 (st_mtime): Likewise.
4377 (st_ctime): Likewise.
4378
1c2cfe81
DM
43792012-05-31 David S. Miller <davem@davemloft.net>
4380
4381 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4382 entries.
4383
5be8418c
AS
43842012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4385
e7725326
AS
4386 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4387 gen-libm-test.pl.
4388
5be8418c
AS
4389 [BZ #14132]
4390 * elf/dl-reloc.c: Include <_itoa.h>.
4391 (_dl_reloc_bad_type): Remove use of INTUSE.
4392 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4393 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4394 * stdio-common/psiginfo.c (psiginfo): Likewise.
4395 * stdio-common/psignal.c (psignal): Likewise.
4396 * string/strsignal.c (strsignal): Likewise.
4397 * include/signal.h (_sys_siglist): Declare hidden proto.
4398 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4399 INTVARDEF with libc_hidden_data_def.
4400 * stdio-common/itoa-udigits.c: Likewise.
4401 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4402 (_itoa_lower_digits_internal): Remove declaration.
4403 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4404 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4405 (_sys_sigabbrev_internal): Remove aliases.
4406 (_sys_siglist): Define hidden alias.
4407
507352f1
MT
44082012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4409
4410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4411 bits/sysctl.h.
4412
42bbb1c3
L
44132012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4414
4415 [BZ #14117]
6bd784b6
L
4416 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4417 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4418
8bca20f0
L
4419 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4420 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4421 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4422 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4423 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4424 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4425
f9e890a9
L
4426 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4427 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4428 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4429
471101a1
L
4430 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4431 with __addr.
4432 (insw): Likewise.
4433 (insl): Likewise.
4434 (outsb): Likewise.
4435 (outsw): Likewise.
4436 (outsl): Likewise.
4437
6451c862
L
4438 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4439 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4440 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4441
a254b8c9
L
4442 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4443 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4444 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4445 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4446 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4447 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4448
b8dfdd92
L
4449 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4450 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4451
578cd270
L
4452 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4453 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4454
de662f5f
L
4455 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4456 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4457 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4458
25653439
L
4459 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4460 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4461 to ...
4462 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4463
6bad24a0
L
4464 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4465 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4466 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4467
42bbb1c3
L
4468 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4469 for x86-64.
4470 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4471
2d10d547
JM
44722012-05-31 Joseph Myers <joseph@codesourcery.com>
4473
4474 * math/math.h (M_El): Use two more decimal places.
4475 (M_LOG2El): Likewise.
4476 (M_LOG10El): Likewise.
4477 (M_LN2l): Likewise.
4478 (M_LN10l): Likewise.
4479 (M_PIl): Likewise.
4480 (M_PI_2l): Likewise.
4481 (M_PI_4l): Likewise.
4482 (M_1_PIl): Likewise.
4483 (M_2_PIl): Likewise.
4484 (M_2_SQRTPIl): Likewise.
4485 (M_SQRT2l): Likewise.
4486 (M_SQRT1_2l): Likewise.
4487
f230c29b
DM
44882012-05-31 David S. Miller <davem@davemloft.net>
4489
4490 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4491 values between float registers.
4492 * sysdeps/sparc/sparc64/memset.S: Likewise.
4493 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4494
fed806c3
MF
44952012-05-31 Mike Frysinger <vapier@gentoo.org>
4496
4497 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4498 -D_FORTIFY_SOURCE=1.
4499 (CPPFLAGS-tst-longjmp_chk.c): Define.
4500 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4501 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4502 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4503 CFLAGS-tst-wchar-h.c.
4504
30917259
MP
45052012-05-31 Marek Polacek <polacek@redhat.com>
4506
4507 [BZ #14132]
4508 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4509 __endmntent_internal): Remove declaration.
4510 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4511 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4512 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4513
1c58d5dc
DM
45142012-05-30 David S. Miller <davem@davemloft.net>
4515
4516 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4517 (___Q_simulate_exceptions): Use real FP ops rather than writing
4518 into the %fsr.
4519 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4520 Likewise.
4521
7dc00e0d
L
45222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4523
4524 [BZ #14117]
0bd53985
L
4525 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4526 * sysdeps/x86/bits/xtitypes.h: This.
4527
3a257e66
L
4528 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4529 * sysdeps/x86/bits/wordsize.h: This.
4530
62f62904
L
4531 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4532 * sysdeps/x86/bits/huge_vall.h: This.
4533
404fe9d9
L
4534 * sysdeps/i386/bits/select.h: Removed.
4535 * sysdeps/x86_64/bits/select.h: Renamed to ...
4536 * sysdeps/x86/bits/select.h: This.
4537
d48d0446
L
4538 * sysdeps/i386/bits/setjmp.h: Removed.
4539 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4540 * sysdeps/x86/bits/setjmp.h: This.
4541
7dc00e0d
L
4542 * sysdeps/i386/bits/mathdef.h: Removed.
4543 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4544 * sysdeps/x86/bits/mathdef.h: This.
4545
03277f8f
AS
45462012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4547
4548 [BZ #14132]
4549 * include/sys/socket.h (__connect_internal)
4550 (__libc_sa_len_internal): Remove declaration.
4551 (__connect, __libc_sa_len): Declare hidden_proto.
4552 (SA_LEN): Remove use of INTUSE.
4553 * socket/connect.c: Add libc_hidden_def.
4554 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4555 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4556 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4557 alias.
4558 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4559 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4560 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4561 of adding _internal alias.
4562
13764867
L
45632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4564
4565 [BZ #14117]
6bd97696
L
4566 * sysdeps/i386/bits/link.h: Removed.
4567 * sysdeps/i386/bits/linkmap.h: Likewise.
4568 * sysdeps/x86_64/bits/link.h: Renamed to ...
4569 * sysdeps/x86/bits/link.h: This.
4570 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4571 * sysdeps/x86/bits/linkmap.h: This.
4572
f726f0bb
L
4573 * sysdeps/i386/bits/endian.h: Removed.
4574 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4575 * sysdeps/x86/bits/endian.h: This.
4576
13764867
L
4577 * sysdeps/i386/bits/byteswap.h: Removed.
4578 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4579 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4580 * sysdeps/x86/bits/byteswap.h: This.
4581 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4582 * sysdeps/x86/bits/byteswap-16.h: This.
4583 * sysdeps/i386/Implies: Add x86.
4584 * sysdeps/x86_64/Implies: Likewise.
4585
ae251b0b
DM
45862012-05-30 David S. Miller <davem@davemloft.net>
4587
4588 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4589 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4590 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4591 (FP_TRAPPING_EXCEPTIONS): Define.
4592 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4593 (FP_TRAPPING_EXCEPTIONS): Define.
4594 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4595 subnormals only when inexact has been signalled or underflow
4596 exceptions are enabled.
4597 (_FP_PACK_CANONICAL): Likewise.
4598
d5c90867
L
45992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4600
4601 [BZ #14183]
4602 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4603 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4604
63f1549e
RH
46052012-05-30 Richard Henderson <rth@twiddle.net>
4606
8d8f2279
RH
4607 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4608 with #ifndef NOT_IN_libc.
4609
63f1549e
RH
4610 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4611 marked to avoid plt entry.
4612
0ab0291b
L
46132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4614
4615 [BZ #14112]
4616 * Makeconfig (default-abi): New macro.
4617 (abi-includes): Likewise.
4618 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4619 $(abi-$(default-abi)-lib-soname) for soname if defined.
4620 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4621 abi-variants.
4622 * Makefile (installed-stubs): Likewise.
4623 * include/stubs-biarch.h: Removed.
4624 * scripts/lib-names.awk: Only handle one library at a time.
4625 * scripts/soversions.awk: Remove WORDSIZE support.
4626 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4627 entries.
4628 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4629 Removed.
4630 (syscall-list-default-condition): Likewise.
4631 (syscall-list-default-condition): Likewise.
4632 (syscall-list-includes): Likewise.
4633 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4634 syscall-list-* with abi-*. Handle undefined abi-variants.
4635 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4636 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4637 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4638 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4639 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4640 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4641 Removed.
4642 (syscall-list-32-options): Likewise.
4643 (syscall-list-32-condition): Likewise.
4644 (syscall-list-64-options): Likewise.
4645 (syscall-list-64-condition): Likewise.
4646 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4647 macro.
4648 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4649 Renamed to ...
4650 (abi-*): This.
4651 (abi-64-ld-soname): New macro.
4652 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4653 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4654 Renamed to ...
4655 (abi-*): This.
4656 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4657 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4658
4da0431d
JM
46592012-05-30 Joseph Myers <joseph@codesourcery.com>
4660
3a85279c
JM
4661 * sysdeps/unix/sysv/linux/kernel-features.h
4662 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4663 * sysdeps/unix/sysv/linux/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/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 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4676 include <kernel-features.h>.
4677 [!__NR_ftruncate64]: Remove conditional code.
4678 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4679 [__NR_ftruncate64]: Make code unconditional.
4680 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4682 include <kernel-features.h>.
4683 [!__NR_ftruncate64]: Remove conditional code.
4684 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4685 [__NR_ftruncate64]: Make code unconditional.
4686 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4687
4da0431d
JM
4688 * configure.in (libc_cv_fpie): Weaken to a compile test using
4689 LIBC_TRY_CC_OPTION.
4690 * configure: Regenerated.
4691
11ef492c
AK
46922012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4693
4694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4698 Refreshed.
4699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4705 Refreshed.
4706
d66ef399
DM
47072012-05-27 David S. Miller <davem@davemloft.net>
4708
4709 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4710 (___Q_zero): New.
4711 (__Q_simulate_exceptions): Return void. Change to simulate
4712 exceptions by writing into the %fsr.
4713 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4714 (__Qp_handle_exceptions): Likewise.
4715 (numbers): Delete.
4716 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4717 __Qp_handle_exceptions.
4718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4719 __Qp_handle_exceptions.
4720 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4721 as unused and give dummy FP_RND_NEAREST initializer.
4722 (FP_INHIBIT_RESULTS): Define.
4723 (___Q_simulate_exceptions): Update declaration.
4724 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4725 formatting.
4726 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4727 as unused and give dummy FP_RND_NEAREST initializer.
4728 (__Qp_handle_exceptions): Update declaration.
4729 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4730 formatting.
4731
04fb54b5
TS
47322012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4733
4734 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4735 the temporary FPU control word.
4736 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4737 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4738 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4739 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4740 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4741 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4742 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4743 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4744 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4745 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4746 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4747
3f99608f
KK
47482012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4749
4750 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4751 fields.
4752
65a4de4e
CLT
47532012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4754
4755 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4756 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4757 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4758 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4759 Likewise.
4760 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4761 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4762 Likewise.
4763
15749d40
UD
47642012-05-27 Ulrich Drepper <drepper@gmail.com>
4765
4766 * po/h.po: Update from translation team.
4767
25dbcb27
AS
47682012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4769
3d3f8e55
AS
4770 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4771
25dbcb27
AS
4772 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4773 handling of denormals.
4774 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4775 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4776 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4777 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4778 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4779 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4780 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4781 Likewise.
4782
7ad47a80 47832012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4784
4785 [BZ #14152]
4786 * math/libm-test.inc (fma_test): Don't always expect underflow
4787 exception.
4788
9c6ea9fa
SP
47892012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4790
4791 [BZ #12416]
4792 * elf/tst-execstack.c: Include stackinfo.h.
4793 (do_test): Adjust test case to ensure that pthread_getattr_np
4794 behaviour remains the same after marking stack executable.
4795
a8239222
JM
47962012-05-25 Joseph Myers <joseph@codesourcery.com>
4797
4798 * sysdeps/unix/sysv/linux/kernel-features.h
4799 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4800 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4801 kernel-features.h.
4802 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4803 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4804 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4805 kernel-features.h.
4806 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4807 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4808
918b5606
L
48092012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4810
4811 * configure.in: Define the default includes to being none.
4812 * configure: Regenerated.
4813
3a097cc7
RM
48142012-05-25 Roland McGrath <roland@hack.frob.com>
4815
8422c9a5
RM
4816 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4817 * sysdeps/x86_64/setjmp.S: Likewise.
4818 * sysdeps/i386/bsd-setjmp.S: Likewise.
4819 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4820 * sysdeps/i386/setjmp.S: Likewise.
4821 * sysdeps/i386/__longjmp.S: Likewise.
4822 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4823 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4824
3a097cc7
RM
4825 * include/stap-probe.h: New file.
4826 * configure.in: Handle --enable-systemtap.
4827 * configure: Regenerated.
4828 * config.h.in (USE_STAP_PROBE): New #undef.
4829 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4830 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4831 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4832
21708942
JM
48332012-05-25 Joseph Myers <joseph@codesourcery.com>
4834
4835 [BZ #13717]
4836 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4837 to 2.4.0 where earlier.
4838 * sysdeps/unix/sysv/linux/configure: Regenerated.
4839 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4840 <kernel-features.h>.
4841 [__ASSUME_32BITUIDS]: Make code unconditional.
4842 [!__ASSUME_32BITUIDS]: Remove conditional code.
4843 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4844 <kernel-features.h>.
4845 [__ASSUME_32BITUIDS]: Make code unconditional.
4846 [!__ASSUME_32BITUIDS]: Remove conditional code.
4847 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4848 [__ASSUME_32BITUIDS]: Make code unconditional.
4849 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4850 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
4879 <kernel-features.h>.
4880 [__ASSUME_32BITUIDS]: Make code unconditional.
4881 [!__ASSUME_32BITUIDS]: Remove conditional code.
4882 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4883 <kernel-features.h>.
4884 [__ASSUME_32BITUIDS]: Make code unconditional.
4885 [!__ASSUME_32BITUIDS]: Remove conditional code.
4886 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4887 <kernel-features.h>.
4888 [__ASSUME_32BITUIDS]: Make code unconditional.
4889 [!__ASSUME_32BITUIDS]: Remove conditional code.
4890 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4891 <kernel-features.h>.
4892 [__NR_setresgid] (__setresgid): Do not declare.
4893 [__ASSUME_32BITUIDS]: Make code unconditional.
4894 [!__ASSUME_32BITUIDS]: Remove conditional code.
4895 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4896 <kernel-features.h>.
4897 [__NR_setresuid] (__setresuid): Do not declare.
4898 [__ASSUME_32BITUIDS]: Make code unconditional.
4899 [!__ASSUME_32BITUIDS]: Remove conditional code.
4900 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.c: Do not include
4925 <kernel-features.h>.
4926 [__ASSUME_32BITUIDS]: Make code unconditional.
4927 [!__ASSUME_32BITUIDS]: Remove conditional code.
4928 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4929 <kernel-features.h>.
4930 [__ASSUME_32BITUIDS]: Make code unconditional.
4931 [!__ASSUME_32BITUIDS]: Remove conditional code.
4932 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4933 <kernel-features.h>.
4934 [__ASSUME_32BITUIDS]: Make code unconditional.
4935 [!__ASSUME_32BITUIDS]: Remove conditional code.
4936 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4937 <kernel-features.h>.
4938 [__ASSUME_32BITUIDS]: Make code unconditional.
4939 [!__ASSUME_32BITUIDS]: Remove conditional code.
4940 * sysdeps/unix/sysv/linux/kernel-features.h
4941 (__ASSUME_SETRESUID_SYSCALL): Remove.
4942 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4943 (__ASSUME_32BITUIDS): Likewise.
4944 (__ASSUME_LDT_WORKS): Likewise.
4945 (__ASSUME_O_DIRECTORY): Likewise.
4946 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4947 architecture but not kernel version.
4948 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4949 (__ASSUME_MMAP2_SYSCALL): Likewise.
4950 (__ASSUME_STAT64_SYSCALL): Likewise.
4951 (__ASSUME_IPC64): Likewise.
4952 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4953 <kernel-features.h>.
4954 [__ASSUME_32BITUIDS]: Make code unconditional.
4955 [!__ASSUME_32BITUIDS]: Remove conditional code.
4956 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4957 <kernel-features.h>.
4958 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4959 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4960 132096]: Remove conditional code.
4961 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4962 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4963 <kernel-features.h>.
4964 [__ASSUME_32BITUIDS]: Make code unconditional.
4965 [!__ASSUME_32BITUIDS]: Remove conditional code.
4966 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4967 <kernel-features.h>.
4968 [__ASSUME_32BITUIDS]: Make code unconditional.
4969 [!__ASSUME_32BITUIDS]: Remove conditional code.
4970 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4971 <kernel-features.h>.
4972 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4973 unconditional.
4974 (__setresgid): Do not declare.
4975 [__ASSUME_32BITUIDS]: Make code unconditional.
4976 [!__ASSUME_32BITUIDS]: Remove conditional code.
4977 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4978 <kernel-features.h>.
4979 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4980 unconditional.
4981 (__setresuid): Do not declare.
4982 [__ASSUME_32BITUIDS]: Make code unconditional.
4983 [!__ASSUME_32BITUIDS]: Remove conditional code.
4984 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4985 <kernel-features.h>.
4986 [__ASSUME_32BITUIDS]: Make code unconditional.
4987 [!__ASSUME_32BITUIDS]: Remove conditional code.
4988 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4989 <kernel-features.h>.
4990 [__ASSUME_32BITUIDS]: Make code unconditional.
4991 [!__ASSUME_32BITUIDS]: Remove conditional code.
4992
a386f1cc
RH
49932012-05-25 Richard Henderson <rth@twiddle.net>
4994
4995 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4996 dl_hwcap to ifunc resolver.
4997 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4998 elf_ifunc_invoke.
4999 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5000 dl_hwcap to ifunc resolver.
5001 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5002
b6550497
JM
50032012-05-24 Joseph Myers <joseph@codesourcery.com>
5004
5005 [BZ #14153]
5006 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5007 for |x| <= 2**-26, not 2**-57.
5008 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5009 exception.
5010
b0bc23a1
JL
50112012-05-24 Jeff Law <law@redhat.com>
5012
5013 * stdio-common/Makefile (tests): Add bug25.
5014 * stdio-common/bug25.c: New test.
5015
347c92e9
L
50162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5017
5018 [BZ #13576]
5019 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5020 multiple of MALLOC_ALIGNMENT in size.
5021 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5022
6bcc8b3f
JM
50232012-05-24 Joseph Myers <joseph@codesourcery.com>
5024
5025 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5026 Require >= 256.
5027 (FILENAME_MAX): Use macro-int-constant.
5028 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5029 (_IOFBF): Use macro-int-constant.
5030 (_IOLBF): Likewise.
5031 (_IONBF): Likewise.
5032 (SEEK_CUR): Likewise.
5033 (SEEK_END): Likewise.
5034 (SEEK_SET): Likewise.
5035 (TMP_MAX): Likewise.
5036 (EOF): Use macro-int-constant. Require < 0.
5037 (NULL): Use macro-constant. Require == 0.
5038 (stdin): Require type to be FILE *.
5039 (stdout): Likewise.
5040 (stderr): Likewise.
5041 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5042 macro-int-constant.
5043 (EXIT_SUCCESS): Likewise.
5044 (NULL): Use macro-constant. Require == 0.
5045 (RAND_MAX): Use macro-int-constant.
5046 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5047 [C99-based standards] (strtof): Require function.
5048 [C99-based standards] (strtold): Likewise.
5049 [C99-based standards] (strtoll): Likewise.
5050 [C99-based standards] (strtoull): Likewise.
5051 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5052 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5053 [ISO || ISO99 || ISO11] (math.h): Likewise.
5054 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5055 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5056 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5057
d18ea0c5
AS
50582012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5059
5060 [BZ #14132]
56d25bb8
AS
5061 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5062 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5063 * intl/dgettext.c (DCGETTEXT): Likewise.
5064 * intl/gettext.c (DCGETTEXT): Likewise.
5065 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5066 * posix/regex_internal.h (gettext): Likewise.
5067 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5068 Remove declaration.
5069 * include/argz.h (__argz_count_internal)
5070 (__argz_stringify_internal): Remove declaration.
5071 (__argz_count, __argz_stringify): Declare hidden proto.
5072 * intl/dcgettext.c: Remove use of INTDEF.
5073 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5074 * string/argz-stringify.c: Likewise.
5075 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5076 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5077 Declare hidden proto.
d18ea0c5
AS
5078 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5079 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5080 Declare hidden proto.
5081 * include/stdio.h (__asprintf_internal): Don't declare.
5082 (__asprintf): Don't define as macro. Declare hidden proto.
5083 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5084 (__fsetlocking): Declare hidden proto.
5085 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5086 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5087 hidden proto.
5088 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5089 (_IO_setlinebuf): Remove use of INTUSE.
5090 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5091 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5092 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5093 Remove declaration.
5094 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5095 (_IO_do_flush): Remove use of INTUSE.
5096 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5097 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5098 (_IO_adjust_column, _IO_least_wmarker)
5099 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5100 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5101 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5102 (_IO_default_doallocate, _IO_wdefault_doallocate)
5103 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5104 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5105 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5106 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5107 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5108 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5109 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5110 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5111 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5112 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5113 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5114 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5115 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5116 proto.
5117 (_IO_flush_all_internal, _IO_adjust_column_internal)
5118 (_IO_default_uflow_internal, _IO_default_finish_internal)
5119 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5120 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5121 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5122 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5123 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5124 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5125 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5126 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5127 (_IO_file_close_internal, _IO_file_close_it_internal)
5128 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5129 (_IO_file_init_internal, _IO_file_attach_internal)
5130 (_IO_file_fopen_internal, _IO_file_read_internal)
5131 (_IO_file_sync_internal, _IO_file_seek_internal)
5132 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5133 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5134 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5135 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5136 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5137 (_IO_list_all_internal, _IO_link_in_internal)
5138 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5139 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5140 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5141 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5142 (_IO_do_write_internal, _IO_padn_internal)
5143 (_IO_getline_info_internal, _IO_getline_internal)
5144 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5145 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5146 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5147 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5148 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5149 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5150 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5151 with libc_hidden_ver, remove use of INTUSE.
5152 * libio/genops.c: Likewise.
5153 * libio/freopen.c: Likewise.
5154 * libio/freopen64.c: Likewise.
5155 * libio/iofclose.c: Likewise.
5156 * libio/iofdopen.c: Likewise.
5157 * libio/iofflush.c: Likewise.
5158 * libio/iofflush_u.c: Likewise.
5159 * libio/iofgets.c: Likewise.
5160 * libio/iofgets_u.c: Likewise.
5161 * libio/iofopen.c: Likewise.
5162 * libio/iofopncook.c: Likewise.
5163 * libio/iofread.c: Likewise.
5164 * libio/iofread_u.c: Likewise.
5165 * libio/ioftell.c: Likewise.
5166 * libio/iofwrite.c: Likewise.
5167 * libio/iogetline.c: Likewise.
5168 * libio/iogets.c: Likewise.
5169 * libio/iogetwline.c: Likewise.
5170 * libio/iopadn.c: Likewise.
5171 * libio/iopopen.c: Likewise.
5172 * libio/ioseekoff.c: Likewise.
5173 * libio/ioseekpos.c: Likewise.
5174 * libio/iosetbuffer.c: Likewise.
5175 * libio/iosetvbuf.c: Likewise.
5176 * libio/ioungetc.c: Likewise.
5177 * libio/ioungetwc.c: Likewise.
5178 * libio/iovdprintf.c: Likewise.
5179 * libio/iovsprintf.c: Likewise.
5180 * libio/iovsscanf.c: Likewise.
5181 * libio/memstream.c: Likewise.
5182 * libio/obprintf.c: Likewise.
5183 * libio/oldfileops.c: Likewise.
5184 * libio/oldiofclose.c: Likewise.
5185 * libio/oldiofdopen.c: Likewise.
5186 * libio/oldiofopen.c: Likewise.
5187 * libio/oldiopopen.c: Likewise.
5188 * libio/oldstdfiles.c: Likewise.
5189 * libio/putc.c: Likewise.
5190 * libio/setbuf.c: Likewise.
5191 * libio/setlinebuf.c: Likewise.
5192 * libio/stdfiles.c: Likewise.
5193 * libio/strops.c: Likewise.
5194 * libio/vasprintf.c: Likewise.
5195 * libio/vscanf.c: Likewise.
5196 * libio/vsnprintf.c: Likewise.
5197 * libio/vswprintf.c: Likewise.
5198 * libio/wfiledoalloc.c: Likewise.
5199 * libio/wfileops.c: Likewise.
5200 * libio/wgenops.c: Likewise.
5201 * libio/wmemstream.c: Likewise.
5202 * libio/wstrops.c: Likewise.
5203 * libio/__fpurge.c: Likewise.
5204 * libio/__fsetlocking.c: Likewise.
5205 * assert/assert.c: Likewise.
5206 * debug/fgets_chk.c: Likewise.
5207 * debug/fgets_u_chk.c: Likewise.
5208 * debug/fread_chk.c: Likewise.
5209 * debug/fread_u_chk.c: Likewise.
5210 * debug/gets_chk.c: Likewise.
5211 * debug/obprintf_chk.c: Likewise.
5212 * debug/vasprintf_chk.c: Likewise.
5213 * debug/vdprintf_chk.c: Likewise.
5214 * debug/vsnprintf_chk.c: Likewise.
5215 * debug/vsprintf_chk.c: Likewise.
5216 * malloc/mtrace.c: Likewise.
5217 * misc/error.c: Likewise.
5218 * misc/syslog.c: Likewise.
5219 * stdio-common/asprintf.c: Likewise.
5220 * stdio-common/fxprintf.c: Likewise.
5221 * stdio-common/getw.c: Likewise.
5222 * stdio-common/isoc99_fscanf.c: Likewise.
5223 * stdio-common/isoc99_scanf.c: Likewise.
5224 * stdio-common/isoc99_vfscanf.c: Likewise.
5225 * stdio-common/isoc99_vscanf.c: Likewise.
5226 * stdio-common/isoc99_vsscanf.c: Likewise.
5227 * stdio-common/printf-prs.c: Likewise.
5228 * stdio-common/printf_fp.c: Likewise.
5229 * stdio-common/printf_fphex.c: Likewise.
5230 * stdio-common/printf_size.c: Likewise.
5231 * stdio-common/putw.c: Likewise.
5232 * stdio-common/scanf.c: Likewise.
5233 * stdio-common/sprintf.c: Likewise.
5234 * stdio-common/tmpfile.c: Likewise.
5235 * stdio-common/vfprintf.c: Likewise.
5236 * stdio-common/vfscanf.c: Likewise.
5237 * stdlib/strfmon_l.c: Likewise.
5238 * sunrpc/openchild.c: Likewise.
5239 * sunrpc/xdr_stdio.c: Likewise.
5240 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5241 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5242
d6c33fda
RM
52432012-05-24 Roland McGrath <roland@hack.frob.com>
5244
c1487492
RM
5245 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5246
5247 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5248 in the third column, to generate for the shared library an IFUNC
5249 that uses _dl_vdso_vsym.
5250 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5251 * Makeconfig (object-suffixes-noshared): New variable.
5252
5253 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5254 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5255 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5256 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5257
d6c33fda
RM
5258 [BZ #14132]
5259 * include/sys/time.h (__gettimeofday): Remove macro.
5260 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5261 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5262 Remove INTDEF.
5263 (__gettimeofday): Add libc_hidden_def.
5264 (gettimeofday): Add libc_hidden_weak.
5265 * sysdeps/mach/gettimeofday.c: Likewise.
5266 * sysdeps/posix/gettimeofday.c: Likewise.
5267 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5268 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5269 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5270 (__gettimeofday_internal): Remove strong_alias.
5271 (__gettimeofday): Add libc_hidden_def.
5272 (gettimeofday): Add libc_hidden_weak.
5273 * sysdeps/unix/syscalls.list (gettimeofday):
5274 Remove __gettimeofday_internal alias.
5275
b5a2bbe6
L
52762012-05-24 Daniel Jacobowitz <drow@false.org>
5277 H.J. Lu <hongjiu.lu@intel.com>
5278
5279 [BZ #12495]
5280 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5281 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5282 (largebin_index_32_big): New.
5283 (largebin_index): Use it for 16-byte alignment.
5284 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5285 correction with front_misalign.
5286
cfba4fda
L
52872012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5288
7f907421
L
5289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5291 Likewise.
5292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5293 Likewise.
5294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5295 Likewise.
5296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5297 Likewise.
5298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5299 Likewise.
5300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5301 Likewise.
5302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5303 Likewise.
5304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5305 Likewise.
5306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5307 Likewise.
5308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5309 Likewise.
5310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5311 Likewise.
5312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5313 Likewise.
5314
cfba4fda
L
5315 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5316 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5317
80bad0cc
JM
53182012-05-24 Joseph Myers <joseph@codesourcery.com>
5319
7a25eb06
JM
5320 [BZ #10846]
5321 [BZ #14036]
5322 * math/libm-test.inc (exp_test): Add test from bug 14036.
5323 (pow_test): Add test from bug 10846.
5324
795405f9
JM
5325 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5326 and other flags.
5327 (special_function): Do not include flags in test name.
5328 (parse_args): Likewise.
5329 * sysdeps/i386/fpu/libm-test-ulps: Update.
5330 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5331 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5332 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5334
80bad0cc
JM
5335 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5336 exceptions.
5337 * math/libm-test.inc ("Philosophy"): Update comment about
5338 exception testing.
5339 (UNDERFLOW_EXCEPTION): New macro.
5340 (UNDERFLOW_EXCEPTION_OK): Likewise.
5341 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5342 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5343 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5344 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5345 (INVALID_EXCEPTION_OK): Update value.
5346 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5347 (OVERFLOW_EXCEPTION_OK): Likewise.
5348 (IGNORE_ZERO_INF_SIGN): Likewise.
5349 (test_exceptions): Handle underflow exceptions.
5350 (acos_test): Update for underflow exception expectations.
5351 (cexp_test): Likewise.
5352 (clog_test): Likewise.
5353 (clog10_test): Likewise.
5354 (csqrt_test): Likewise.
5355 (ctan_test): Likewise.
5356 (ctanh_test): Likewise.
5357 (exp_test): Likewise.
5358 (exp10_test): Likewise.
5359 (exp2_test): Likewise.
5360 (expm1_test): Likewise.
5361 (fma_test): Likewise.
5362 (j0_test): Likewise.
5363 (jn_test): Likewise.
5364 (nexttoward_test): Likewise.
5365 (pow_test): Likewise.
5366 (scalbn_test): Likewise.
5367 (scalbln_test): Likewise.
5368 (tan_test): Likewise.
5369 (y1_test): Likewise.
5370 * sysdeps/i386/fpu/libm-test-ulps: Update.
5371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5372
9e0e3d0b
DM
53732012-05-23 David S. Miller <davem@davemloft.net>
5374
5375 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5376 (__libc_sigaction): Remove unused local variables.
5377
ccd0a08f
L
53782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5379
5380 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5381
62bdf9a6
PE
53822012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5383
f8591f80
PE
5384 mktime: avoid signed integer overflow
5385 * time/mktime.c (__mktime_internal): Do not mishandle the case
5386 where diff == INT_MIN.
5387
94c7d826
PE
5388 mktime: simplify computation of average
5389 * time/mktime.c (ranged_convert): Use new time_t_avg function
5390 instead of rolling our own (probably-slower) code.
5391
ce73d683
PE
5392 mktime: do not assume signed right shift propagates sign bit
5393 * time/mktime.c (isdst_differ): New static function.
5394 (__mktime_internal): No need to normalize tm_isdst now.
5395 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5396 tm_isdst values.
5397
72a22e59
PE
5398 mktime: merge another wrapv change from gnulib
5399 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5400 from some compilers.
5401
68605433
PE
5402 mktime: remove incorrect attempt at unusual arithmetics
5403 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5404 The code didn't really work on such machines anyway.
5405 (TYPE_MINIMUM): Assume two's complement.
5406 (twos_complement_arithmetic): Verify that long_int and time_t
5407 are two's complement (or unsigned, in the latter case).
5408
03cf7fe3
PE
5409 mktime: check signed shifts on long_int and time_t, too
5410 * time/mktime.c (SHR): Check that shifts work as desired
5411 on the types long_int and time_t too, as SHR is used on
5412 such types.
5413
f04dfbc2
PE
5414 mktime: do not assume 'long' is wide enough
5415 * time/mktime.c (verify): Move decl up.
5416 (long_int): New type.
5417 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5418 to remove assumption in the code that 'long' is wide enough to
5419 store year values. This assumption is not true on x32 and on
5420 some non-glibc platforms.
5421
62bdf9a6
PE
5422 mktime: merge wrapv change from gnulib
5423 * time/mktime.c (WRAPV): New macro.
5424 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5425 (guess_time_tm, __mktime_internal): Do not assume that signed
5426 integer overflow wraps around; modern compilers generate code
5427 where this assumption is no longer valid.
5428
5e292e4f
L
54292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5430
5431 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5432 Replace "jmp L(pseudo_end)" with "ret".
5433 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5434 Likewise.
5435
8caf8c87
AJ
54362012-05-23 Andreas Jaeger <aj@suse.de>
5437
5438 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5439 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5440
1a09dc56
AJ
54412012-05-23 Andreas Jaeger <aj@suse.de>
5442 Maximilian Attems <max@stro.at>
5443
5444 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5445 New macros.
5446
1c87aba0
L
54472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5448
5449 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5450 code so that pseudo_end is just ret and the stack pointer is
5451 correct also for static library in error case.
5452
40e45bd5
JM
54532012-05-23 Joseph Myers <joseph@codesourcery.com>
5454
c2670533
JM
5455 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5456 move to syscalls.list.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5461
40e45bd5
JM
5462 * manual/install.texi (Running make install): Do not mention Linux
5463 kernel version for which pt_chown is not needed.
5464 (Linux): Do not mention problems with nscd with 2.0 kernels.
5465 * INSTALL: Regenerated.
5466
be08eda5
AJ
54672012-05-23 Andreas Jaeger <aj@suse.de>
5468
5469 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5470 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5471 macro.
5472 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5473 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5474 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5475 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5476 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5477 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5478 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5479 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5480 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5481 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5482 * sysdeps/unix/sysv/linux/bits/in.h
5483 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5484
a6a056bb
RM
54852012-05-22 Roland McGrath <roland@hack.frob.com>
5486
5487 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5488 (PREPARE_VERSION): Just use assert instead, it will be elided
5489 under [NDEBUG] anyway.
5490
c9009328
L
54912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5492
5493 * sysdeps/unix/sysv/linux/Makefile: Include
5494 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5495 (sysdep_routines): Remove sysctl.
c9009328
L
5496 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5497 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5498 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5499 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5500 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5501
73338355
AJ
55022012-05-22 Andreas Jaeger <aj@suse.de>
5503
5504 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5505 that pseudo_end is just ret and the stack pointer is correct also
5506 for static library in error case.
5507
d44638b0
PP
55082012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5509
5510 [BZ #14122]
5511 * nss/nsswitch.c (defconfig_entries): New variable.
5512 (__nss_database_lookup): Don't leak defconfig entries.
5513 (nss_parse_service_list): Don't leak on error paths.
5514 (free_database_entries): New function.
5515 (free_defconfig): New function.
5516 (free_mem): Move common code to free_database_entries.
5517
31a39bd8
L
55182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5519
da0331a8
L
5520 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5521 Add arch_prctl.
5522 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5523
31a39bd8
L
5524 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5525 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5527 New macro.
5528 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5529 (INTERNAL_SYSCALL_TYPES): Likewise.
5530 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5531 (LOAD_REGS_TYPES_[1-6]): Likewise.
5532 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5533 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5534
45470df3
AZ
55352012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5536
5537 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5538 copysignl for GLIBC_2_0.
5539 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5540 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5541 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5542 logbl for GLIBC_2_0.
5543 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5544 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5545
98a61bcb
L
55462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5547
a4f6e481
L
5548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5549 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5550
f63d5db6
L
5551 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5552 Use "neg %eax".
5553
98a61bcb
L
5554 * time/mktime.c: Update copyright years.
5555
95770f14
PE
55562012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5557
6226efbd
PE
5558 mktime: merge comment-quoting-style change from gnulib
5559 * time/mktime.c: Quote 'like this' in comments.
5560 The GNU coding standards suggest that we no longer quote `like this',
5561 as "`" and "'" are typically rendered asymmetrically nowadays.
5562 The typical gnulib style is to quote 'like this' when quoting
5563 code, and "like this" when quoting English.
5564
b99e4f78
PE
5565 * time/mktime.c (compile-command): Add "-I.".
5566
643e01e6
PE
5567 mktime: merge mktime-internal.h change from gnulib
5568 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5569
2554247d
PE
5570 mktime: merge time_r change from gnulib
5571 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5572
826dd0ab
PE
5573 mktime: merge DEBUG change from gnulib
5574 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5575 case system <time.h> has a #define.
5576
bd83aabe
PE
5577 mktime: merge <sys/types.h> change from gnulib
5578 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5579 since <time.t> is now guaranteed to define time_t.
5580
95770f14
PE
5581 mktime: merge HAVE_CONFIG_H change from gnulib
5582 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5583
5e1a27a9
L
55842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5585
0e44a77e
L
5586 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5587 Use "neg %eax".
5588
5e1a27a9
L
5589 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5590 __rlim_t cast.
5591 (struct rusage): Use anonymous union to pad each field to
5592 __syscall_slong_t.
5593
46259bec
DM
55942012-05-21 David S. Miller <davem@davemloft.net>
5595
5596 * Makefules (o-iterator): Remove .s cases.
5597 (compile-command.s): Delete.
5598 (COMPILE.s): Delete.
5599 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5600
59f0c22e
JM
56012012-05-21 Joseph Myers <joseph@codesourcery.com>
5602
5603 * configure.in (libc_cv_predef_stack_protector): Only consider
5604 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5605 * configure: Regenerated.
5606
20c07380
L
56072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5608
bbb3154b
L
5609 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5610 New macro. Use R*LP on int and pointer.
5611 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5612 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5613 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5614 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5615
20c07380
L
5616 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5617 [__WORDSIZE_TIME64_COMPAT32] instead of
5618 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5619 (struct utmp): Likewise.
5620 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5621 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5622 Renamed to ...
5623 (__WORDSIZE_TIME64_COMPAT32): This.
5624 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5625 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5626 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5627 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5628 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5629 (__WORDSIZE_TIME64_COMPAT32): New macro.
5630
d8d1017e
AJ
56312012-05-21 Andreas Jaeger <aj@suse.de>
5632
5633 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5634 only if [SHARED]. Add prototype for __wcschr_ia32.
5635
6c7fb145
RM
56362012-05-21 Roland McGrath <roland@hack.frob.com>
5637
5638 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5639 of %rbp unmolested in the jmp_buf while mangling the low bits.
5640 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5641 unmolested high bits of %rbp while demangling the low bits.
5642 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5643
66274218
AJ
56442012-05-21 Andreas Jaeger <aj@suse.de>
5645
07c58f8f
AJ
5646 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5647 * sunrpc/svc_simple.c: Use it for registerrpc.
5648 * sunrpc/xcrypt.c: Use it for passwd2des.
5649
66274218
AJ
5650 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5651
61f65140
L
56522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5653
5654 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5655 Don't define if [__SYSCALL_WORDSIZE != 32].
5656 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5657 New macro.
5658
5fefb436
AJ
56592012-05-21 Bruno Haible <bruno@clisp.org>
5660 Andreas Jaeger <aj@suse.de>
5661
5662 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5663 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5664 inptr and inend for must_buffer_ch.
5665 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5666 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5667 * stdio-common/Makefile (tests): Remove bug15.
5668 (bug15-ENV): Remove macro.
5669 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5670 anymore.
5671
d8e272ab
AJ
56722012-05-19 Andreas Jaeger <aj@suse.de>
5673 Roland McGrath <roland@hack.frob.com>
5674
5675 * manual/contrib.texi: Completely rewritten. It contains now an
5676 alphabetical list of contributors and their contributions.
5677
4a56a162
RH
56782012-05-21 Richard Henderson <rth@twiddle.net>
5679
5680 * misc/getauxval.c (__getauxval): Use unsigned long int.
5681 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5682 (getauxval): Use unsigned long int.
5683
d024d23c
L
56842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5685
5686 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5687
cbc00a03
RM
56882012-05-21 Roland McGrath <roland@hack.frob.com>
5689
5690 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5691 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5692 __alignof__ (long double).
5693
478143fa
AZ
56942012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5695
5696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5697
c7683a6d
RH
56982012-05-20 Richard Henderson <rth@twiddle.net>
5699
5700 * misc/getauxval.c: New file.
5701 * misc/sys/auxv.h: New file.
5702 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5703 (routines): Add getauxval.
5704 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5705 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5706 * elf/dl-sysdep.c (_dl_auxv): Remove.
5707 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5708 * elf/dl-support.c (_dl_auxv): New variable.
5709 (_dl_aux_init): Initialize it.
5710 * manual/startup.texi (Auxiliary Vector): New node.
5711 * sysdeps/generic/bits/hwcap.h: New file.
5712 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5713 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5714 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5715 * sysdeps/sparc/sysdep.h: ... here. Include it.
5716 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5717 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5719 Update.
c7683a6d
RH
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5723 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5728
a6f1845d
AZ
57292012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5730
5731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5732
cbcbe830
DM
57332012-05-19 David S. Miller <davem@davemloft.net>
5734
5735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5736
e0b16cc2
JM
57372012-05-19 Joseph Myers <joseph@codesourcery.com>
5738
5739 [BZ #14123]
5740 * math/s_ccosh.c: Include <float.h>
5741 (__ccosh): Avoid internal overflow calculating sinh and cosh
5742 values before multiplying by sin and cos values.
5743 * math/s_ccoshf.c: Likewise.
5744 * math/s_ccoshl.c: Likewise.
5745 * math/s_csin.c: Likewise.
5746 * math/s_csinf.c: Likewise.
5747 * math/s_csinl.c: Likewise.
5748 * math/s_csinh.c: Likewise.
5749 * math/s_csinhf.c: Likewise.
5750 * math/s_csinhl.c: Likewise.
5751 * math/libm-test.inc (ccos_test): Add more tests.
5752 (ccosh_test): Likewise.
5753 (csin_test): Likewise.
5754 (csinh_test): Likewise.
5755 * sysdeps/i386/fpu/libm-test-ulps: Update.
5756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5757
6ad13e08
L
57582012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5759
f66f0ce8
L
5760 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5761 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5762
6ad13e08
L
5763 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5764
b1d072a7
JM
57652012-05-19 Joseph Myers <joseph@codesourcery.com>
5766
5767 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5768 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5769 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5770 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5771 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5772 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5773 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5774 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5775 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5776 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5777 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5778 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5779 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5780 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5781 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5782 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5783 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5784 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5785 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5786 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5787 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5788 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5789 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5790 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5791 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5792 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5793 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5794 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5795 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5796 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5797 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5798
9eae47cb
AJ
57992012-05-18 Andreas Jaeger <aj@suse.de>
5800
5801 * csu/.gitignore: Delete.
5802
bb07f69f
L
58032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5804
5805 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5806 (timex): Use __syscall_slong_t.
5807
e6bdb741
AJ
58082012-05-18 Andreas Jaeger <aj@suse.de>
5809 Carlos O'Donell <carlos_odonell@mentor.com>
5810
5811 * manual/install.texi (Configuring and compiling): Update
5812 description about files modified in the source directory.
d6c33fda 5813 * INSTALL: Regenerated.
e6bdb741 5814
1b74487e
L
58152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5816
5817 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5818 value. Use "or" to set return value to -1.
5819 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5820 negate return value.
5821
a88b64b9
TMQMF
58222012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5823
5824 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5825 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5826 failure if the compiler has Graphite support disabled.
5827 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5828 Likewise.
5829 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5830 CFLAGS-memmove.c): Likewise.
5831 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5832 Likewise.
5833
3707636e
L
58342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5835
610b8622
L
5836 * sysdeps/x86_64/x32/_itoa.h: New file.
5837
7cd195df
L
5838 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5839 getdents system call only if kernel and user dirents have the
5840 same d_ino and d_off.
5841
94b07d20
L
5842 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5843 LLONG_MAX != LONG_MAX.
5844 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5845 (_fitoa_word): Likewise.
5846
18298070
L
5847 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5848 years.
5849 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5850 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5851 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5852
553c7ea4
L
5853 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5854 include <bits/wordsize.h>. Check __x86_64__ instead of
5855 __WORDSIZE.
5856 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5857 if __x86_64__ is defined. Use anonymous union on fpstate.
5858
3707636e
L
5859 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5860 anonymous union.
5861
b53ef01a
AS
58622012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5863
37fb1dc0
AS
5864 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5865 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5866 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5867 Refer to _rtld_local_ro instead of _rtld_global_ro.
5868 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5869 Likewise.
5870 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5871 Likewise.
5872 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5873 Likewise.
5874 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5875 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5876 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5877
b53ef01a
AS
5878 * sysdeps/powerpc/powerpc32/dl-machine.c
5879 (__elf_machine_runtime_setup) [PROF]: Don't reference
5880 _dl_prof_resolve.
5881
7a185db2
AJ
58822012-05-18 Andreas Jaeger <aj@suse.de>
5883
5884 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5885 function only available for GCCs before 3.4 since GCC 3.4
5886 introduced a builtin.
5887 (lrint): Likewise.
5888 (llrintf): Likewise.
5889 (llrint): Likewise.
5890 (fmaxf): Likewise.
5891 (fmax): Likewise.
5892 (fminf): Likewise.
5893 (fmin): Likewise.
5894 (rint): Likewise.
5895 (rintf): Likewise.
5896 (nearbyint): Likewise.
5897 (nearbyintf): Likewise.
5898 (ceil): Likewise.
5899 (ceilf): Likewise.
5900 (floor): Likewise.
5901 (floorf): Likewise.
5902
3e5aef87
L
59032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5904
428bd707
L
5905 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5906 on both fields and cast pointer to __syscall_ulong_t.
5907
3e5aef87
L
5908 * bits/types.h (__fsword_t): New type.
5909 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5910 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5911 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5912 (__FSWORD_T_TYPE): Likewise.
5913 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5914 (__FSWORD_T_TYPE): Likewise.
5915 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5916 (__FSWORD_T_TYPE): Likewise.
5917 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5918 (__FSWORD_T_TYPE): Likewise.
5919 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5920 __SWORD_TYPE with __fsword_t.
5921 (statfs64): Likewise.
5922
1ba7c3dc
DM
59232012-05-17 David S. Miller <davem@davemloft.net>
5924
5925 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5926
59910343
AJ
59272012-05-17 Andreas Jaeger <aj@suse.de>
5928
5929 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5930 warning.
5931
2e4c1e9e
L
59322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5933
5934 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5935
de7f5ce7
AJ
59362012-05-17 Andreas Jaeger <aj@suse.de>
5937
5938 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5939 when it is used.
5940
286abc3d
CM
59412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5942
5943 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5944
477cc68e
L
59452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5946
5947 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5948 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5949
1a0994f5
CD
59502012-05-17 Andreas Jaeger <aj@suse.de>
5951 Carlos O'Donell <carlos_odonell@mentor.com>
5952
5953 [BZ #14059]
5954 * sysdeps/x86_64/multiarch/init-arch.h
5955 (bit_YMM_Usable): Rename to...
5956 (bit_AVX_Usable): ... this.
5957 (bit_FMA4_Usable): New macro.
5958 (bit_XMM_state): New macro.
5959 (bit_YMM_state): New macro.
5960 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5961 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5962 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5963 (CPUID_OSXSAVE): New macro.
5964 (CPUID_AVX): New macro.
5965 (CPUID_FMA4): New macro.
5966 (index_YMM_Usable): Rename to...
5967 (index_AVX_Usable): ... this.
5968 (HAS_AVX): Use HAS_ARCH_FEATURE.
5969 (HAS_FMA4): Likewise.
5970 (HAS_YMM_USABLE): Remove.
5971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5972 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5973 are present.
5974 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5975 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5976 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5977 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5978 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5979
0af797de
CM
59802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5981
5982 * math/libm-test.c: Support platforms without multiple rounding modes.
5983 * math/bug-nextafter.c: Support platforms without FP exceptions.
5984 * math/bug-nexttoward.c: Likewise.
5985 * math/test-fenv.c: Likewise.
5986 * math/test-misc.c: Likewise.
5987 * stdlib/bug-getcontext.c: Likewise.
5988
e39745ff
AJ
59892012-05-17 Andreas Jaeger <aj@suse.de>
5990
5991 * manual/examples/search.c (critter_cmp): Change signature to
5992 avoid warnings.
5993 * manual/string.texi (Collation Functions): Likewise.
5994
48970aba
L
59952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5996
5997 * bits/types.h: Fold copyright years.
5998 * bits/typesizes.h: Likewise.
5999 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6000 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6001 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6002 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6003 * time/time.h: Likewise.
6004
bedee953
PP
60052012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6006
6007 [BZ #208]
6008 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6009 in instead of returning them. Return void.
6010 (__libc_mallinfo): Accumulate over all arenas.
6011 (__malloc_stats): Adjust for change in int_mallinfo interface.
6012
61653dfb
RM
60132012-05-16 Roland McGrath <roland@hack.frob.com>
6014
30b99d79
RM
6015 [BZ #10375]
6016 * configure.in (NM): Add AC_CHECK_TOOL for it.
6017 (libc_extra_cflags): New substituted variable.
6018 Check for -fstack-protector being used implicitly.
6019 * configure: Regenerated.
6020 * config.make.in (config-extra-cflags): New variable,
6021 gets @libc_extra_cflags@.
6022 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6023
61653dfb
RM
6024 [BZ #10375]
6025 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6026 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6027 * configure: Regenerated.
6028 * config.make.in (CPPUNDEFS): New substituted variable.
6029 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6030 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6031 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6032
661768bb
L
60332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6034
6035 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6036 (mq_attr): Use __syscall_slong_t.
6037
d4261567
L
60382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6039
6040 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6041 Check __x86_64__ instead of __WORDSIZE.
6042 (_STAT_VER_LINUX): Likewise.
6043 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6044 __syscall_ulong_t and __syscall_slong_t.
6045 (stat64): Likewise.
6046
cf3ff365
L
60472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6048
6049 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6050
76cf3e4d
L
60512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6052
6053 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6054
a637753a
L
60552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6056
6057 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6058 __syscall_ulong_t.
6059
d5e05119
L
6060 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6061 include <bits/wordsize.h>. Check __x86_64__ instead of
6062 __WORDSIZE.
6063 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6064 defined.
6065 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6066
f62ee380
L
6067 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6068 include <bits/wordsize.h>. Check __x86_64__ instead of
6069 __WORDSIZE.
6070 (user_regs_struct): Use "__extension__ unsigned long long"
6071 instead of "unsigned long" if __x86_64__ is defined.
6072 (user): Likewise. Pad after pointer field if __ILP32__ is
6073 defined.
6074
4e124ced
JM
60752012-05-16 Joseph Myers <joseph@codesourcery.com>
6076
6a3951a0
JM
6077 * configure.in (makeinfo): Require version 4.5 or later. Allow
6078 versions 5 to 9.
6079 * configure: Regenerated.
6080 * manual/install.texi (texinfo): Increase version requirement to
6081 4.5 or later.
6082 * INSTALL: Regenerated.
6083
4e124ced
JM
6084 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6085
953ca31a
L
60862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6087
6088 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6089
617aca05
L
6090 * sysdeps/x86_64/x32/ffs.c: New file.
6091
5762f7ae
L
6092 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6093 __syscall_ulong_t.
6094 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6095 defined. Use __syscall_ulong_t.
6096 (shminfo): Use __syscall_ulong_t.
6097 (shm_info): Likewise.
6098
a26b6856
L
6099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6100 __syscall_ulong_t.
6101
cb2b9ef7
L
6102 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6103 <bits/wordsize.h>.
6104 (msgqnum_t): Use __syscall_ulong_t.
6105 (msglen_t): Likewise.
6106 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6107 __syscall_ulong_t.
6108
34683bb0
L
6109 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6110 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6111
84a68786
L
6112 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6113
48baa5f1
L
6114 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6115 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6116
180be88b
L
6117 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6118 __syscall_slong_t.
6119
5e90c8ad
L
6120 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6121 include <bits/wordsize.h>. Check __x86_64__ instead of
6122 __WORDSIZE.
6123
23dfb58b
L
6124 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6125 "unsigned long long int" if __x86_64__ is defined.
6126 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6127
ce5d54b0
L
6128 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6129 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6130 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6131
13dc9eac
L
6132 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6133 <stdint.h>.
6134 (GET_PC): Cast to uintptr_t first.
6135 (GET_FRAME): Likewise.
6136 (GET_STACK): Likewise.
6137
a7895d15
L
6138 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6139 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6140 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6141 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6142 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6143 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6144 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6145 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6146 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6147 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6148 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6149 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6150 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6151 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6152 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6153 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6154 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6155 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6156 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6157 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6158 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6159 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6160 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6161 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6162 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6163 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6164 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6165 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6166 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6167
656416c9
AS
61682012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6169
5bd66283
AS
6170 * Makerules (+depfiles): Also collect depfiles from .oS in
6171 $(extra-objs).
6172 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6173 .oS, $(libnldbl-routines)).
6174
656416c9
AS
6175 * Makerules (native-compile-mkdep-flags): Define.
6176 * sunrpc/Makefile (extra-objs): Add $(addprefix
6177 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6178 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6179 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6180 calling $(make-target-directory).
6181
a46f2169
L
61822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6183
6184 * bits/types.h (__snseconds_t): Removed.
6185 * time/time.h (struct timespec): Replace __snseconds_t with
6186 __syscall_slong_t.
6187 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6188 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6189 Likewise.
6190 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6191 (__SNSECONDS_T_TYPE): Likewise.
6192 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6193 (__SNSECONDS_T_TYPE): Likewise.
6194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6195 (__SNSECONDS_T_TYPE): Likewise.
6196
6af6528b
L
61972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6198
6199 * sysdeps/mach/hurd/bits/typesizes.h
6200 (__SYSCALL_SLONG_TYPE): New macro.
6201 (__SYSCALL_ULONG_TYPE): Likewise.
6202
de986b56
L
62032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6204
6205 * bits/types.h (__syscall_slong_t): New type.
6206 (__syscall_ulong_t): Likewise.
6207
6208 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6209 (__SYSCALL_ULONG_TYPE): Likewise.
6210 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6211 (__SYSCALL_SLONG_TYPE): Likewise.
6212 (__SYSCALL_ULONG_TYPE): Likewise.
6213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6214 (__SYSCALL_SLONG_TYPE): Likewise.
6215 (__SYSCALL_ULONG_TYPE): Likewise.
6216 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6217 (__SYSCALL_SLONG_TYPE): Likewise.
6218 (__SYSCALL_ULONG_TYPE): Likewise.
6219
85736dc7
L
62202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6221
6222 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6223 Add sigaltstack-offsets.sym.
6224 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6225 <sigaltstack-offsets.h>.
6226 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6227 longjmp_msg pointer.
6228 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6229 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6230 signal stack.
6231 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6232
cc03b296
JM
62332012-05-15 Joseph Myers <joseph@codesourcery.com>
6234
a9538892
JM
6235 * elf/stackguard-macros.h: Remove file.
6236 * sysdeps/generic/stackguard-macros.h: New file.
6237 * sysdeps/i386/stackguard-macros.h: Likewise.
6238 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6239 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6240 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6241 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6242 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6243 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6244 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6245 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6246 <elf/stackguard-macros.h>.
6247
cc03b296
JM
6248 [BZ #14109]
6249 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6250 __aligned__ in attribute.
6251 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6252 (gregset_t): Likewise.
6253
93171016
L
62542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6255
6256 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6257 * sysdeps/x86_64/64/Implies-after: Here. New file.
6258 * sysdeps/x86_64/x32/Implies-after: New file.
6259
d86813a0
L
62602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6261
6262 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6263 and access return value for _dl_profile_fixup. Use R10_LP to
6264 load frame size.
6265
2953ec75
L
62662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6267
6268 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6269
3b550e9e
L
62702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6271
6272 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6273 * sysdeps/x86_64/x32/sysdep.h: New file.
6274
eda41706
L
62752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6276
6277 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6278 * sysdeps/x86_64/setjmp.S: Likewise.
6279
9ea01d93
AZ
62802012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6281
6282 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6283 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6284 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6285 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6286 remove unused global constant.
6287
02a91938
CM
62882012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6289
6290 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6291 include of <not-cancel.h>.
6292
6540185f
RM
62932012-05-15 Roland McGrath <roland@hack.frob.com>
6294
6295 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6296
509072a0
AJ
62972012-05-15 Jeff Law <law@redhat.com>
6298 Andreas Jaeger <aj@suse.de>
6299
6300 [BZ #13594]
6301 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6302 out from...
6303 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6304 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6305 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6306 code changing __hst_map_handle.map.
6307
ba75122d
RM
63082012-05-15 Roland McGrath <roland@hack.frob.com>
6309
6310 * configure.in (sysnames): Look for Implies-before and Implies-after
6311 files.
6312 * configure: Regenerated.
6313
890d8bd8
L
63142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6315
6316 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6317 8-byte data alignment with LP_SIZE alignment.
6318
f6ee6623
L
63192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6320
6321 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6322 into R10_LP.
6323
ea2626f6
L
63242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6325
6326 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6327
085f715e
L
63282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6329
6330 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6331 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6332 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6333 Likewise.
6334 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6335
be8498fc
L
63362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6337
6338 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6339 (stackinfo_sub_sp): Likewise.
6340
70bc83b9
L
63412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6342
6343 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6344 RAX_LP.
6345
9bc0b730
L
63462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6347
6348 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6349 into R*_LP.
6350
6d2850e7
L
63512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6352
6353 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6354 sizes into R*_LP.
6355
3cb84561
L
63562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6357
6358 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6359
54e2ed81
L
63602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6361
6362 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6363 into R11_LP and load __x86_64_shared_cache_size_half into
6364 R8_LP.
6365
8a17f349
L
63662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6367
6368 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6369 R8_LP.
6370
777b1eea
AZ
63712012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6372
6373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6374 logb for POWER7.
6375 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6376 logbf for POWER7.
6377 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6378 logbl for POWER7.
6379 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6380 powerpc32/power7/fpu/s_logb.c via #include.
6381 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6382 powerpc32/power7/fpu/s_logbf.c via #include.
6383 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6384 powerpc32/power7/fpu/s_logbl.c via #include.
6385
d20d4ac2
JM
63862012-05-15 Joseph Myers <joseph@codesourcery.com>
6387
6388 * README.libm: Remove file.
6389
6cdef1ab
L
63902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6391
6392 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6393 count for x32. Use R*_LP and omit operand-size suffix.
6394
0b254d8f
L
63952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6396
6397 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6398 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6399 * sysdeps/x86_64/x32/shlib-versions: New file.
6400
ceb809dc
RM
64012012-05-14 Roland McGrath <roland@hack.frob.com>
6402
6403 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6404 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6405 Use _dl_fatal_printf instead.
6406
37f1abd4
JM
64072012-05-14 Joseph Myers <joseph@codesourcery.com>
6408
6409 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6410 set if not set by the user. Do not allow for being unset.
6411 * sysdeps/unix/sysv/linux/configure: Regenerated.
6412
11de3a33
L
64132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6414
6415 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6416 the `q' suffix from lea and replace .quad with ASM_ADDR.
6417
e02f153a
L
64182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6419
6420 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6421 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6422 instead of $17.
6423 (PTR_DEMANGLE): Likewise.
6424
520ae0fd
L
64252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6426
6427 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6428 (LP_OP): Likewise.
6429 (ASM_ADDR): Likewise.
6430 (RAX_LP): Likewise.
6431 (RBP_LP): Likewise.
6432 (RBX_LP): Likewise.
6433 (RCX_LP): Likewise.
6434 (RDI_LP): Likewise.
6435 (RSI_LP): Likewise.
6436 (RSP_LP): Likewise.
6437 (R8_LP): Likewise.
6438 (R9_LP): Likewise.
6439 (R10_LP): Likewise.
6440 (R10_LP): Likewise.
6441 (R11_LP): Likewise.
6442 (R12_LP): Likewise.
6443 (R13_LP): Likewise.
6444 (R14_LP): Likewise.
6445 (R15_LP): Likewise.
6446
b985be81
L
64472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6448
6449 * sysdeps/x86_64/x32/dl-machine.h: New file.
6450
6a4888ff
AJ
64512012-05-14 Andreas Jaeger <aj@suse.de>
6452
6453 * manual/Makefile (subdir): Remove export of subdir.
6454 (all): Remove target.
6455 (.PHONY): Remove all from list.
6456 (mkinstalldirs): Remove.
6457 (.PHONY): Remove installdirs from list.
6458 ($(inst_infodir)/libc.info): Use make-target-directory.
6459 (installdirs): Remove.
6460 (subdir_%): Remove.
6461 (glibc-targets): Remove.
6462 (lib): Remove.
6463 (stubs): Remove.
6464 ($(objpfx)stubs ../po/manual.pot): Remove.
6465 ($(objpfx)stamp%): Remove.
6466 (make-target-directory): Remove.
6467 (subdir_install): Remove.
6468 (routines): Remove.
6469 (aux): Remove.
6470 (sources): Remove.
6471 (objects): Remove.
6472 (headers): Remove.
6473
6474 [BZ #13750]
6475 * manual/.gitignore: Remove, it's not needed anymore.
6476 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6477 all files in it.
6478 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6479 directory.
6480 (texis): Renamed to $(objpfx)texis.
6481 (texis-path): New, contains path to generated files.
6482 (chapters.%): Use texis-path for complete path, add extra argument
6483 libc-texinfo.sh.
6484 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6485 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6486 (summary,texi, stamp-summary): Use complete path of
6487 files. Generate files in build dir.
6488 (dir-add.texi): Build in build dir.
6489 (libm-err.texi,stamp-libm-err): Likewise.
6490 (version.texi, stamp-version): Likewise.
6491 (.%c.texi): Likewise.
6492 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6493 (mostlyclean): Remove target.
6494 (realclean): Remove target.
6495 (generated): Add new variable with contents from mostlyclean and
6496 realclean, remove entries duplicated in common-mostlyclean, add
6497 stamp-libm-err and stamp-version.
6498 (generated-dirs): Add libc directory.
6499 ($(inst_infodir)/libc.info): Install files from build dir.
6500
6501 * manual/install.texi (Configuring and compiling): Adjust since
6502 the info files are not part of the tar ball anymore.
6503
7ac77294
AJ
65042012-05-14 Andreas Jaeger <aj@suse.de>
6505
6506 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6507 variable.
6508
ffb7875d
JM
65092012-05-14 Joseph Myers <joseph@codesourcery.com>
6510
6511 [BZ #13717]
6512 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6513 to 2.2.0 where earlier.
6514 * sysdeps/unix/sysv/linux/configure: Regenerated.
6515 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6516 Remove conditional code.
6517 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6518 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6519 Remove conditional code.
6520 [!__NR_lchown]: Likewise.
6521 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6522 [__NR_lchown]: Likewise.
6523 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6524 comment referencing __ASSUME_LCHOWN_SYSCALL.
6525 * sysdeps/unix/sysv/linux/i386/sigaction.c
6526 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6527 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6528 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6529 Remove conditional code.
6530 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6531 (__protocol_available): Remove #if 0 code.
6532 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6533 conditional code.
6534 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6535 * sysdeps/unix/sysv/linux/kernel-features.h
6536 (__ASSUME_GETCWD_SYSCALL): Don't define.
6537 (__ASSUME_REALTIME_SIGNALS): Likewise.
6538 (__ASSUME_PREAD_SYSCALL): Likewise.
6539 (__ASSUME_PWRITE_SYSCALL): Likewise.
6540 (__ASSUME_POLL_SYSCALL): Likewise.
6541 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6542 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6543 non-SPARC.
6544 (__ASSUME_SIOCGIFNAME): Don't define.
6545 (__ASSUME_MSG_NOSIGNAL): Likewise.
6546 (__ASSUME_SENDFILE): Define unconditionally.
6547 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6548 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6549 conditional code.
6550 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6551 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6552 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6553 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6554 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6555 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6556 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6558 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6559 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6561 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6564 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6567 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6570 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6571 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6573 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6576 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6577 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6579 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6581 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6582 Remove conditional code.
6583 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6584 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6585 Remove conditional code.
6586 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6587 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6588 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6589 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6590 Remove conditional code.
6591 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6592 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6593 Remove conditional code.
6594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6595 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6596 Remove conditional code.
6597 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6598 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6599 Remove conditional code.
6600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6601 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6602 Remove conditional code.
6603 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6604 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6605 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6607 * sysdeps/unix/sysv/linux/sigaction.c
6608 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6609 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6610 * sysdeps/unix/sysv/linux/sigpending.c
6611 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6612 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6613 * sysdeps/unix/sysv/linux/sigprocmask.c
6614 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6615 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6616 * sysdeps/unix/sysv/linux/sigsuspend.c
6617 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6618 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6619 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6620 (__libc_missing_rt_sigs): Remove.
6621 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6622 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6623 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6624 Remove conditional code.
6625 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6626 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6627 return 1.
6628 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6629 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6630 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6631 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6632
1bfb7291
AJ
66332012-05-14 Andreas Jaeger <aj@suse.de>
6634
caae5a81
AJ
6635 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6636 it's not used in glibc.
6637 (__coshm1): Likewise.
6638 (__acosh1p): Likewise.
6639 (__sgn): Likewise.
6640
1bfb7291
AJ
6641 * manual/string.texi (Copying and Concatenation): Add missing
6642 variable in concat example.
6643 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6644
c044d724
L
66452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6646
144c5467 6647 [BZ #14103]
c044d724
L
6648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6649 __builtin_clzl with __builtin_clzll.
6650
2523c62b
L
66512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6652
6653 [BZ #14104]
6654 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6655 libc_freeres_ptr.
6656
d7bb4c42
LD
66572012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6658
6659 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6660 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6661 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6662 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6663
9dc4e1fb
MF
66642012-05-14 Mike Frysinger <vapier@gentoo.org>
6665
6666 * NEWS: Update ia64 info.
6667
c7df0112
AS
66682012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6669
6670 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6671 used as bcopy.
6672
dc70356c
TS
66732012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6674
6675 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6676 * sysdeps/unix/syscalls.list (dup3): Likewise.
6677 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6678 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6679
9fb1a21f
L
66802012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6681
6682 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6683 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6684
4822a2a5
L
66852012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6686
6687 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6688 thread pointer.
6689 (TLS_IE): Use mov/add instead of movq/addq to load thread
6690 pointer.
6691 (TLS_GD_PREFIX): New.
6692 (TLS_GD): Use it.
6693
842b81d6
DM
66942012-05-11 David S. Miller <davem@davemloft.net>
6695
6696 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6697 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6698 (_FPU_SETCW): Likewise.
6699
1cf463cd
L
67002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6701
6702 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6703 is 32-byte aligned.
6704
60cc4a18
AS
67052012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6706
6707 [BZ #11837]
6708 * iconvdata/gb18030.c: Update tables.
6709 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6710 characters specially.
6711 (BODY for TO_LOOP): Add encoding of missing ranges.
6712
febb44a4
TS
67132012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6714
6715 [BZ #13673]
6716 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6717 * sysdeps/mach/hurd/dup3.c: Likewise.
6718 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6719 * sysdeps/powerpc/memmove.c:: Likewise.
6720
0a10fb9e
L
67212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6722
6723 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6724 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6725
df8a552f
L
67262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6727
6728 * elf/elf.h (R_X86_64_RELATIVE64): New.
6729 (R_X86_64_NUM): Updated.
6730 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6731 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6732 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6733 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6734 tst-quad1pie tst-quad2pie
6735 (modules-names): Add tst-quadmod1 tst-quadmod2.
6736 ($(objpfx)tst-quad1): New dependency.
6737 ($(objpfx)tst-quad2): Likewise.
6738 ($(objpfx)tst-quad1pie): Likewise.
6739 ($(objpfx)tst-quad2pie): Likewise.
6740 * sysdeps/x86_64/tst-quad1.c: New file.
6741 * sysdeps/x86_64/tst-quad1pie.c: New file.
6742 * sysdeps/x86_64/tst-quad2.c: Likewise.
6743 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6744 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6745 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6746 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6747 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6748
f34d6f84
ST
67492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6750
f42d41d1
ST
6751 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6752 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6753 * streams/stropts.h (t_scalar_t): Define type.
6754
3c3571fc
ST
6755 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6756 (_PATH_PRESERVE): Set to "/var/lib".
6757 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6758
61f06bd3
ST
6759 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6760 instead of int.
6761
918d4d71
ST
6762 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6763 if __dir_mkfile succeeded.
6764
f34d6f84
ST
6765 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6766 checking for _hurd_dtablesize. Unlock it right after having
6767 finished _hurd_dtable allocation.
6768
10589b4a
TS
67692012-05-10 Thomas Schwinge <thomas@schwinge.name>
6770
674cdbc7
TS
6771 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6772 * sysdeps/mach/hurd/configure: Regenerated.
6773 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6774 special-casing to...
6775 * sysdeps/gnu/configure.in: ... this new file.
6776 * sysdeps/unix/sysv/linux/configure: Regenerated.
6777 * sysdeps/gnu/configure: New generated file.
6778
8e41b99f
TS
6779 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6780 for Linux: use nsec instead of usec, as well as:
6781 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6782 members of type struct timespec.
6783 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6784 New macros.
6785 (struct stat64): Likewise.
6786 (_STATBUF_ST_NSEC): New macro.
6787 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6788
10589b4a
TS
6789 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6790 __strtoul_internal rather than strtoul.
6791
63643c85
PT
67922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6793
6794 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6795 and reject them.
6796
3faebe6a
ST
67972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6798
6799 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6800 which preserves existing values.
6801 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6802
c6474b07
PT
68032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6804
6805 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6806 TIMEOUT values. Return EINVAL for NFDS values either negative or
6807 greater than FD_SETSIZE.
6808
1043890b
ST
68092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6810
6811 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6812 allocated, call __vm_protect to finish enabling the existing space, and
6813 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6814 allocate the remainder.
6815
37ed8b9b
PT
68162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6817
6818 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6819 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6820
db653660
ST
68212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6822
37ed8b9b
PT
6823 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6824 sysdeps/mach/hurd/readlink.c.
b29d4053 6825
db653660
ST
6826 * posix/tst-sysconf.c (posix_options): Only use
6827 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6828 _POSIX_SYNCHRONIZED_IO when they are defined
6829 * sysdeps/mach/hurd/bits/posix_opt.h:
6830 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6831 (_XOPEN_REALTIME): Undefine macro.
6832 (_XOPEN_REALTIME_THREADS): Undefine macro.
6833 (_XOPEN_SHM): Undefine macro.
6834 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6835 macro to -1.
6836 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6837 macro to -1.
6838 (_POSIX_ASYNC_IO): Undefine macro.
6839 (_POSIX_PRIORITIZED_IO): Undefine macro.
6840 (_POSIX_SPIN_LOCKS): Define macro to -1.
6841
ee16e894
ST
6842 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6843 SA_NODEFER, SA_RESETHAND.
6844 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6845 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6846 F_DUPFD_CLOEXEC.
6847
6103ae3b
TS
68482012-05-10 Thomas Schwinge <thomas@schwinge.name>
6849
6850 * elf/Makefile (pldd-modules): Define unconditionally.
6851
80b4e5f3
TS
68522012-05-10 Thomas Schwinge <thomas@schwinge.name>
6853
6854 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6855
edadcbd6
ST
68562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6857
6858 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6859 Return ENOENT when name is empty.
6860 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6861
80694780
TS
68622012-05-10 Thomas Schwinge <thomas@schwinge.name>
6863
1792c087
TS
6864 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6865
80694780
TS
6866 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6867
6b645f0d
ST
68682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6869
80694780
TS
6870 Fix mlock in all cases except non-readable pages.
6871 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6872 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6873
6b645f0d
ST
6874 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6875 (__mkdir): When path is `/', just fail with EEXIST.
6876 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6877
e468f8a3
TS
68782012-05-10 Thomas Schwinge <thomas@schwinge.name>
6879
6880 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6881 <sys/uio.h> (for writev).
6882 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6883 and <sys/param.h> (for MIN).
6884
a4186cff
PT
68852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6886
6887 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6888 REQUESTED_TIME. Properly set the remaining time and return EINTR
6889 if interrupted.
6890
510bbf14
TS
68912012-05-10 Thomas Schwinge <thomas@schwinge.name>
6892
6893 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6894 Depend on against $(link-rpcuserlibs).
6895
5d5722e8
ST
68962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6897
a4186cff
PT
6898 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6899 (__libc_stack_end): Do not use attribute_relro.
6900 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6901 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6902 to libthread-provided value.
a4186cff
PT
6903 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6904 attribute_relro.
5d5722e8 6905
37233df9
TS
69062012-05-10 Thomas Schwinge <thomas@schwinge.name>
6907
be971a2b
TS
6908 [BZ #3748]
6909 * bits/libc-lock.h (__libc_once_get): New macro.
6910 * sysdeps/mach/bits/libc-lock.h: Likewise.
6911 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6912 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6913 instead of using implementation details.
6914
37233df9
TS
6915 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6916 * libio/freopen.c: Likewise.
6917 * libio/freopen64.c: Likewise.
6918 * misc/syslog.c: Likewise.
6919 * nscd/connections.c: Likewise.
6920 * nscd/netgroupcache.c: Likewise.
6921 * sysdeps/posix/getcwd.c: Likewise.
6922
38de94a5
RM
69232012-05-10 Roland McGrath <roland@hack.frob.com>
6924
6925 * math/w_ilogbf.c: Add #include <limits.h>.
6926
67530489
ST
69272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6928
a4186cff 6929 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6930 path instead of returning without unlocking.
6931
67530489
ST
6932 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6933 immediate-write ioctls.
6934 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6935
5aa3a74a
TS
69362012-05-10 Thomas Schwinge <thomas@schwinge.name>
6937
18bad2ae
TS
6938 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6939 __builtin_frame_address instead of making assumptions about the
6940 location of the return address relative to DATA. Force early load of
6941 the return address.
6942 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6943 __builtin_frame_address.
6944
5aa3a74a
TS
6945 dup3 for GNU Hurd.
6946 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6947 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6948 implement dup3 and do some further code clean-ups.
6949 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6950 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6951
ecd0de9a
ST
69522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6953
cd9fa985
ST
6954 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6955
a4186cff
PT
6956 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6957 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6958 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6959 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6960 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6961 d->port.lock.
802ca5a5 6962
a4186cff
PT
6963 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6964 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6965 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6966
bcf55240
TS
69672012-05-10 Thomas Schwinge <thomas@schwinge.name>
6968
6960eb42
TS
6969 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6970 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6971 definitions.
6972
eb43375f
TS
6973 accept4 for GNU Hurd.
6974 * include/sys/socket.h (__libc_accept4): New prototype.
6975 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6976 to implement __libc_accept4.
6977 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6978 __libc_accept4.
6979 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6980
bcf55240
TS
6981 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6982 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6983 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6984 signal-defines.sym.
6985
6178c55b
ST
69862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6987
a4186cff 6988 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6989
6f080c2f
TS
69902012-05-10 Thomas Schwinge <thomas@schwinge.name>
6991
6992 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6993 assertion on O_CLOEXEC flag.
6994 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6995 * hurd/intern-fd.c: Likewise.
6996 * hurd/port2fd.c: Likewise.
6997
bcfe3a54
ST
69982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6999
7000 [BZ #3906]
7001 * bits/in.h (IPV6_PKTINFO): Define new macro.
7002 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7003
89c9aa49
AZ
70042012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7005
7006 [BZ #13954]
7007 [BZ #13955]
7008 [BZ #13956]
7009 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7010 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7011 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7012 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7013 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7014 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7015 * math/libm-test.inc (logb_test) : Additional logb tests.
7016
021db4be
AJ
70172012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7018 Andreas Jaeger <aj@suse.de>
7019
7020 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7021 * configure: Regenerated.
7022 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7023 * config.make.in (link-obsolete-rpc): New substituted variable.
7024 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7025 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7026 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7027 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7028 so that libc.a contains the symbols.
7029 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7030 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7031 * sunrpc/auth_none.c: Likewise.
7032 * sunrpc/auth_unix.c: Likewise.
7033 * sunrpc/authdes_prot.c: Likewise.
7034 * sunrpc/authuxprot.c: Likewise.
7035 * sunrpc/clnt_gen.c: Likewise.
7036 * sunrpc/clnt_perr.c: Likewise.
7037 * sunrpc/clnt_raw.c: Likewise.
7038 * sunrpc/clnt_simp.c: Likewise.
7039 * sunrpc/clnt_tcp.c: Likewise.
7040 * sunrpc/clnt_udp.c: Likewise.
7041 * sunrpc/clnt_unix.c: Likewise.
7042 * sunrpc/des_crypt.c: Likewise.
7043 * sunrpc/des_soft.c: Likewise.
7044 * sunrpc/get_myaddr.c: Likewise.
7045 * sunrpc/key_call.c: Likewise.
7046 * sunrpc/key_prot.c: Likewise.
7047 * sunrpc/netname.c: Likewise.
7048 * sunrpc/pm_getmaps.c: Likewise.
7049 * sunrpc/pm_getport.c: Likewise.
7050 * sunrpc/pmap_clnt.c: Likewise.
7051 * sunrpc/pmap_prot.c: Likewise.
7052 * sunrpc/pmap_prot2.c: Likewise.
7053 * sunrpc/pmap_rmt.c: Likewise.
7054 * sunrpc/publickey.c: Likewise.
7055 * sunrpc/rpc_cmsg.c: Likewise.
7056 * sunrpc/rpc_common.c: Likewise.
7057 * sunrpc/rpc_dtable.c: Likewise.
7058 * sunrpc/rpc_prot.c: Likewise.
7059 * sunrpc/rpc_thread.c: Likewise.
7060 * sunrpc/rtime.c: Likewise.
7061 * sunrpc/svc.c: Likewise.
7062 * sunrpc/svc_auth.c: Likewise.
7063 * sunrpc/svc_raw.c: Likewise.
7064 * sunrpc/svc_run.c: Likewise.
7065 * sunrpc/svc_tcp.c: Likewise.
7066 * sunrpc/svc_udp.c: Likewise.
7067 * sunrpc/svc_unix.c: Likewise.
7068 * sunrpc/svcauth_des.c: Likewise.
7069 * sunrpc/xcrypt.c: Likewise.
7070 * sunrpc/xdr.c: Likewise.
7071 * sunrpc/xdr_array.c: Likewise.
7072 * sunrpc/xdr_float.c: Likewise.
7073 * sunrpc/xdr_intXX_t.c: Likewise.
7074 * sunrpc/xdr_mem.c: Likewise.
7075 * sunrpc/xdr_rec.c: Likewise.
7076 * sunrpc/xdr_ref.c: Likewise.
7077 * sunrpc/xdr_sizeof.c: Likewise.
7078 * sunrpc/xdr_stdio.c: Likewise.
7079
b5c086a2
RM
70802012-05-10 Roland McGrath <roland@hack.frob.com>
7081
7082 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7083 change. Update copyright years.
7084
6d74dd09
JM
70852012-05-10 Joseph Myers <joseph@codesourcery.com>
7086
7087 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7088
28e72501
MK
70892012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7090 Joseph Myers <joseph@codesourcery.com>
7091 Paul Pluzhnikov <ppluzhnikov@google.com>
7092
7093 [BZ #14012]
7094 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7095 requiring rpcgen.
7096 [cross-compiling] (extra-libs): Likewise.
7097 [cross-compiling] (extra-libs-others): Likewise.
7098 [cross-compiling] (librpcsvc-routines): Likewise.
7099 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7100 [cross-compiling] (omit-deps): Likewise.
7101 (sunrpc-CPPFLAGS): New variable.
7102 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7103 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7104 (cross-rpcgen-objs): New variable.
7105 (extra-objs): Append $(cross-rpcgen-objs).
7106 ($(cross-rpcgen-objs)): New rule.
7107 ($(objpfx)cross-rpcgen): Likewise.
7108 (rpcgen-cmd): Define to use $(built-program-file). Expand
7109 comment.
7110 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7111 ($(objpfx)x%.stmp): Likewise.
7112 * sunrpc/proto.h [IS_IN_build] (_): Define.
7113 [IS_IN_build] (_libc_intl_domainname): Likewise.
7114
c8c59454
L
71152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7116
7117 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7118 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7119 and R_X86_64_TPOFF64.
7120
6f27cd16
JM
71212012-05-10 Joseph Myers <joseph@codesourcery.com>
7122
7123 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7124 sysdeps/unix/sysv/syscalls.list.
7125 (stime): Likewise.
7126 (utime): Likewise.
7127 * sysdeps/unix/sysv/syscalls.list: Remove file.
7128
02467e1c
PE
71292012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7130
7131 [BZ #3440]
7132 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7133 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7134 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7135 (__LC_IDENTIFICATION): Make these macros useful in #if
7136 expressions, as required by C99.
7137
da392631
AS
71382012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7139
7140 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7141 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7142 after this.
7143
8115f29b
L
71442012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7145
7146 * stdlib/longlong.h: Updated from GCC.
7147
bdd74070
AJ
71482012-05-09 Andreas Jaeger <aj@suse.de>
7149
edfe0dbe
AJ
7150 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7151 default is first entry.
7152 (run_mode): Set type.
7153 (main): Remove informal message about syslog.
7154 (options): Fix typo.
7155
bcfe3a54
ST
7156 [BZ #14053]
7157 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7158 to asm.
bcfe3a54
ST
7159 (lrint): Likewise.
7160 (llrintf): Likewise.
7161 (llrint): Likewise.
7162 (rint): Likewise.
7163 (rintf): Likewise.
7164 (nearbyint): Likewise.
7165 (nearbyintf): Likewise.
bdd74070 7166
91d8d69e
AJ
71672012-05-09 Andreas Jaeger <aj@suse.de>
7168 Pedro Alves <palves@redhat.com>
7169
7170 * nscd/nscd.c (run_mode): Use enum.
7171 (main): Cleanup coding style issue.
7172
bb90b80b
AJ
71732012-05-09 Alexandre Oliva <aoliva@redhat.com>
7174 Andreas Jaeger <aj@suse.de>
7175
bcfe3a54
ST
7176 * nscd/nscd.c (go_background): Replaced with...
7177 (run_mode): ... this.
bb90b80b 7178 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7179 (options): Add -F --foreground.
7180 (main): Implement it.
7181 (parse_opt): Parse it.
bb90b80b 7182
1a4b75a1
AJ
71832012-05-09 Andreas Jaeger <aj@suse.de>
7184
7185 [BZ #14083]
7186 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7187 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7188 -Wconversion warning.
7189 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7190 Likewise.
7191
b1cc2472
JM
71922012-05-09 Joseph Myers <joseph@codesourcery.com>
7193
7194 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7195 == 0.
7196 (LC_ALL): Use macro-int-constant.
7197 (LC_COLLATE): Likewise.
7198 (LC_CTYPE): Likewise.
7199 (LC_MESSAGES): Likewise.
7200 (LC_MONETARY): Likewise.
7201 (LC_NUMERIC): Likewise.
7202 (LC_TIME): Likewise.
7203 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7204 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7205 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7206 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7207 Specify type.
7208 [C99-based standards] (float_t): Expect type.
7209 [C99-based standards] (double_t): Expect type.
7210 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7211 type.
7212 [C99-based standards] (HUGE_VALL): Likewise.
7213 [C99-based standards] (INFINITY): Likewise.
7214 [C99-based standards] (NAN): Likewise.
7215 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7216 [C99-based standards] (FP_NAN): Likewise.
7217 [C99-based standards] (FP_NORMAL): Likewise.
7218 [C99-based standards] (FP_SUBNORMAL): Likewise.
7219 [C99-based standards] (FP_ZERO): Likewise.
7220 [C99-based standards] (FP_FAST_FMA): Use
7221 optional-macro-int-constant. Specify type. Require == 1.
7222 [C99-based standards] (FP_FAST_FMAF): Likewise.
7223 [C99-based standards] (FP_FAST_FMAL): Likewise.
7224 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7225 [C99-based standards] (FP_ILOGBNAN): Likewise.
7226 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7227 Specify type.
7228 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7229 [C99-based standards] (math_errhandling): Specify type.
7230 [ISO99 || ISO11] (signgam): Do not allow.
7231 [non-C99-based standards] (copysignf): Do not allow.
7232 [non-C99-based standards] (exp2f): Likewise.
7233 [non-C99-based standards] (log2f): Likewise.
7234 [non-C99-based standards] (modff): Allow.
7235 [non-C99-based standards] (erff): Do not allow.
7236 [non-C99-based standards] (erfcf): Likewise.
7237 [non-C99-based standards] (gammaf): Likewise.
7238 [non-C99-based standards] (hypotf): Likewise.
7239 [non-C99-based standards] (j0f): Likewise.
7240 [non-C99-based standards] (j1f): Likewise.
7241 [non-C99-based standards] (jnf): Likewise.
7242 [non-C99-based standards] (lgammaf): Likewise.
7243 [non-C99-based standards] (tgammaf): Likewise.
7244 [non-C99-based standards] (y0f): Likewise.
7245 [non-C99-based standards] (y1f): Likewise.
7246 [non-C99-based standards] (ynf): Likewise.
7247 [non-C99-based standards] (isnanf): Likewise.
7248 [non-C99-based standards] (acoshf): Likewise.
7249 [non-C99-based standards] (asinhf): Likewise.
7250 [non-C99-based standards] (atanhf): Likewise.
7251 [non-C99-based standards] (cbrtf): Likewise.
7252 [non-C99-based standards] (expm1f): Likewise.
7253 [non-C99-based standards] (ilogbf): Likewise.
7254 [non-C99-based standards] (log1pf): Likewise.
7255 [non-C99-based standards] (logbf): Likewise.
7256 [non-C99-based standards] (nextafterf): Likewise.
7257 [non-C99-based standards] (remainderf): Likewise.
7258 [non-C99-based standards] (rintf): Likewise.
7259 [non-C99-based standards] (scalbf): Likewise.
7260 [non-C99-based standards] (copysignl): Likewise.
7261 [non-C99-based standards] (exp2l): Likewise.
7262 [non-C99-based standards] (log2l): Likewise.
7263 [non-C99-based standards] (modfl): Allow.
7264 [non-C99-based standards] (erfl): Do not allow.
7265 [non-C99-based standards] (erfcl): Likewise.
7266 [non-C99-based standards] (gammal): Likewise.
7267 [non-C99-based standards] (hypotl): Likewise.
7268 [non-C99-based standards] (j0l): Likewise.
7269 [non-C99-based standards] (j1l): Likewise.
7270 [non-C99-based standards] (jnl): Likewise.
7271 [non-C99-based standards] (lgammal): Likewise.
7272 [non-C99-based standards] (tgammal): Likewise.
7273 [non-C99-based standards] (y0l): Likewise.
7274 [non-C99-based standards] (y1l): Likewise.
7275 [non-C99-based standards] (ynl): Likewise.
7276 [non-C99-based standards] (isnanl): Likewise.
7277 [non-C99-based standards] (acoshl): Likewise.
7278 [non-C99-based standards] (asinhl): Likewise.
7279 [non-C99-based standards] (atanhl): Likewise.
7280 [non-C99-based standards] (cbrtl): Likewise.
7281 [non-C99-based standards] (expm1l): Likewise.
7282 [non-C99-based standards] (ilogbl): Likewise.
7283 [non-C99-based standards] (log1pl): Likewise.
7284 [non-C99-based standards] (logbl): Likewise.
7285 [non-C99-based standards] (nextafterl): Likewise.
7286 [non-C99-based standards] (remainderl): Likewise.
7287 [non-C99-based standards] (rintl): Likewise.
7288 [non-C99-based standards] (scalbl): Likewise.
7289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7290 [non-C99-based standards] (FP_*): Do not allow.
7291 [C99-based standards] (FP_*): Change to
7292 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7293 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7294 allow.
7295 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7296 (SIG_ERR): Likewise.
7297 [X/Open-based standards] (SIG_HOLD): Likewise.
7298 (SIG_IGN): Likewise.
7299 (SIGABRT): Use macro-int-constant. Specify type. Require
7300 positive value.
7301 (SIGFPE): Likewise.
7302 (SIGILL): Likewise.
7303 (SIGINT): Likewise.
7304 (SIGSEGV): Likewise.
7305 (SIGTER): Likewise.
7306 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7307 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7308 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7309 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7310 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7311 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7312 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7313 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7314 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7315 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7316 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7317 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7318 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7319 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7320 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7321 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7322 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7323 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7324 [X/Open-based standards] (SIGTRAP): Likewise.
7325 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7326 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7327 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7328 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7329 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7330 allow.
7331
b9f1922d
IW
73322012-05-08 Ian Wienand <ianw@vmware.com>
7333
7334 [BZ #14080]
7335 * time/tzset.c (__tzset_parse_tz): Update default rules for
7336 daylight time changes in the Energy Policy Act of 2005.
7337
1db86e88
AJ
73382012-05-09 Andreas Jaeger <aj@suse.de>
7339
7340 [BZ #13983]
7341 * elf/ldconfig.c (parse_conf): Change string to make clear that
7342 ldconfig only issued a warning if ld.so.conf does not exist.
7343
dee4a4e3
DM
73442012-05-08 David S. Miller <davem@davemloft.net>
7345
ee0db190
DM
7346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7347 movxtod instead of popping the value on the stack.
7348
dee4a4e3
DM
7349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7350
6a43ec98
CD
73512012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7352
7353 * config.h.in: Add HAVE_ARM_PCS_VFP.
7354
05c2c961
RMG
73552012-05-08 Roland Mc Grath <roland@hack.frob.com>
7356
bcfe3a54
ST
7357 [BZ #13979]
7358 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7359 checking but the checks are disabled for any reason.
05c2c961 7360
4b30f61a
L
73612012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7362
7363 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7364 and ELF64_R_TYPE with ELFW(R_TYPE).
7365
eee2bc67
JM
73662012-05-08 Joseph Myers <joseph@codesourcery.com>
7367
7ea5391a
JM
7368 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7369 (ulimit): Likewise.
7370
eee2bc67
JM
7371 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7372 (settimeofday): Likewise.
7373
abb66a67
MF
73742012-05-08 Mike Frysinger <vapier@gentoo.org>
7375
7376 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7377 a struct th_u2 inside the union, and move tu_block/tu_code into
7378 a new th_u3 union of tu_block/tu_code inside of that. Move
7379 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7380 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7381 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7382 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7383 (th_stuff): Change to th_u1.tu_stuff.
7384 (th_data): Define.
7385 (th_msg): Change to th_u1.th_u2.tu_data.
7386
7f18b530
DM
73872012-05-07 David S. Miller <davem@davemloft.net>
7388
05760585
DM
7389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7390
7f18b530
DM
7391 [BZ #14074]
7392 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7393 (SETUP_PIC_REG): Use it.
7394 (SETUP_PIC_REG_LEAF): Use it.
7395
495fd99f
JM
73962012-05-07 Joseph Myers <joseph@codesourcery.com>
7397
7398 [BZ #13885]
7399 [BZ #13923]
7400 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7401 USE_AS_EXPM1L.
7402 (EXPL_FINITE): Likewise.
7403 (FLDLOG): Likewise.
7404 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7405 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7406 e_expl.S.
7407 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7408 USE_AS_EXPM1L.
7409 (EXPL_FINITE): Likewise.
7410 (FLDLOG): Likewise.
7411 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7412 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7413 e_expl.S.
7414 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7415 test of -max_value argument for long double.
7416 * sysdeps/i386/fpu/libm-test-ulps: Update.
7417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7418
6693d694
DM
74192012-05-06 David S. Miller <davem@davemloft.net>
7420
7421 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7422 quad soft-float symbols whose references which are compiler
7423 generated.
7424 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7425
6c23e11c
JM
74262012-05-06 Joseph Myers <joseph@codesourcery.com>
7427
d8b82cad
JM
7428 [BZ #13884]
7429 [BZ #13914]
7430 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7431 USE_AS_EXP10L.
7432 (EXPL_FINITE): Likewise.
7433 (FLDLOG): Likewise.
7434 (c0): Likewise.
7435 (c1): Likewise.
7436 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7437 Adjust comments for base varying.
7438 (__expl_finite): Change alias to EXPL_FINITE.
7439 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7440 e_expl.S.
7441 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7442 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7443 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7444 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7445 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7446 USE_AS_EXP10L.
7447 (EXPL_FINITE): Likewise.
7448 (FLDLOG): Likewise.
7449 (c0): Likewise.
7450 (c1): Likewise.
7451 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7452 Adjust comments for base varying.
7453 (__expl_finite): Change alias to EXPL_FINITE.
7454 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7455 tests for bugs.
7456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7457
6c23e11c
JM
7458 [BZ #14064]
7459 * math/libm-test.inc (check_float_internal): Correct ulp
7460 calculation for subnormal expected results.
7461
29ba805c
AJ
74622012-05-06 Andreas Jaeger <aj@suse.de>
7463
7464 * Makeconfig (+math-flags): New, set to -frounding-math.
7465 (+cflags): Add +math-flags so that all of glibc gets compiled with
7466 it.
7467
7468 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7469
7b17aeda
JM
74702012-05-05 Joseph Myers <joseph@codesourcery.com>
7471
5779f134
JM
7472 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7473 Disable one test.
7474
41498f4d
JM
7475 [BZ #13787]
7476 [BZ #13922]
7477 [BZ #14036]
7478 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7479 (__ieee754_expl): Allow for and saturate large arguments.
7480 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7481 (u_threshold): Likewise.
7482 (__exp): Call __ieee754_exp before checking for overflow and
7483 underflow.
7484 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7485 (u_threshold): Likewise.
7486 (__expf): Call __ieee754_expf before checking for overflow and
7487 underflow.
7488 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7489 (u_threshold): Likewise.
7490 (__expl): Call __ieee754_expl before checking for overflow and
7491 underflow.
7492 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7493 (__ieee754_expl): Allow for and saturate large arguments.
7494 * math/libm-test.inc (exp_test): Add another test. Do not allow
7495 missing overflow exception on overflow.
7496 (expm1_test): Do not allow missing overflow exception on overflow.
7497
6698b8bf
JM
7498 * sysdeps/i386/fpu/e_expl.c: Move to ...
7499 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7500 rather than using inline asm.
7501 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7502 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7503 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7504
7b17aeda
JM
7505 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7506 (nice): Likewise.
7507 (poll): Likewise.
7508 (signal): Likewise.
7509 (time): Likewise.
7510 (times): Likewise.
7511
f7c85819
JM
75122012-05-04 Joseph Myers <joseph@codesourcery.com>
7513
7514 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7515 sysdeps/unix/common/syscalls.list.
7516 (fchmod): Likewise.
7517 (fchown): Likewise.
7518 (ftruncate): Likewise.
7519 (getrusage): Likewise.
7520 (gettimeofday): Likewise.
7521 (setpgid): Likewise.
7522 (setregid): Likewise.
7523 (setreuid): Likewise.
7524 (sigaction): Likewise.
7525 (truncate): Likewise.
7526 (vhangup): Likewise.
7527 * sysdeps/unix/common/syscalls.list: Remove file.
7528 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7529 * sysdeps/unix/sysv/linux/Implies: Likewise.
7530
336270d0
L
75312012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7532
7533 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7535 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7536 Moved to ...
7537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7538 Here.
7539 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7540 to ...
7541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7542 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7543 to ...
7544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7545 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7546 to ...
7547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7548 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7549 to ...
7550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7551 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7552 to ...
7553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7554 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7555 to ...
7556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7557 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7558 to ...
7559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7560 Here.
7561 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7562 to ...
7563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7564 Here.
7565 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7566 to ...
7567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7568 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7569 Moved to ...
7570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7571 Here.
7572 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7573 to ...
7574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7575
d128e450
JM
75762012-05-04 Joseph Myers <joseph@codesourcery.com>
7577
fa8ee516
JM
7578 * sysdeps/unix/common/bits/dirent.h: Remove file.
7579 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7580
d128e450
JM
7581 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7582 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7583 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7584 * sysdeps/unix/bsd/isatty.c: Likewise.
7585 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7586 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7587 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7588
ff8faaf0 75892012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7590
62881be4 7591 [BZ #13563]
31dc8730
AZ
7592 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7593 long double comparison inaccuracies.
7594 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7596
6fef930c
AS
75972012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7598
7599 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7600 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7601
8f203e6c
JM
76022012-05-04 Joseph Myers <joseph@codesourcery.com>
7603
7604 [BZ #14049]
7605 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7606 nonzero digits before rounding a hex value.
7607 * stdlib/tst-strtod.c (tests): Add another test.
7608
5197d9c2
AK
76092012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7610
7611 * sysdeps/s390/fpu/libm-test-ulps: Update.
7612
f0c1dedf
AJ
76132012-05-03 Andreas Jaeger <aj@suse.de>
7614
7615 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7616 does not get optimized out.
7617 (malloc_opt_barrier): New.
7618
a65ef2ae 76192012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7620 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7621
2b942cb7 7622 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7623 intermediate file deletion.
2b942cb7 7624 (generated): Add .symlist files.
a65ef2ae 7625
54b71e02
JM
76262012-05-03 Joseph Myers <joseph@codesourcery.com>
7627
7628 [BZ #13775]
7629 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7630 Redirect under this condition.
7631 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7632 [__USE_GNU] (__dprintf_chk): Not under this condition.
7633 [__USE_GNU] (__vdprintf_chk): Likewise.
7634 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7635 under this condition.
7636 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7637 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7638 [__USE_XOPEN2K8] (vdprintf): Likewise.
7639 [__USE_GNU] (__dprintf_chk): Not under this condition.
7640 [__USE_GNU] (__vdprintf_chk): Likewise.
7641 [__USE_GNU] (dprintf): Likewise.
7642 [__USE_GNU] (vdprintf): Likewise.
7643
d3dfcc41
RM
76442012-05-03 Roland McGrath <roland@hack.frob.com>
7645
7646 * elf/Makefile (common-generated): Set this instead of generated for
7647 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7648 $(all-built-dso)-derived lists.
7649
7ac30cc5
AJ
76502012-05-03 Andreas Jaeger <aj@suse.de>
7651
0c51e550
AJ
7652 * sysdeps/i386/fpu/libm-test-ulps: Update.
7653
7ac30cc5
AJ
7654 * FAQ: Removed.
7655 * FAQ.in: Likewise.
7656 * scripts/gen-FAQ.pl: Likewise.
7657 * manual/install.texi (Installation): Point to online location of
7658 FAQ.
7659 * Makefile (files-for-dist): Remove FAQ.
7660 (FAQ): Remove.
7661
d4c2917f
AM
76622012-05-02 Allan McRae <allan@archlinux.org>
7663
7664 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7665 (LDFLAGS-reldepmod5.so): Likewise.
7666 (LDFLAGS-reldep6mod1.so): Likewise.
7667 (LDFLAGS-reldep6mod4.so): Likewise.
7668 (LDFLAGS-reldep8mod3.so): Likewise.
7669 (LDFLAGS-unload4mod1.so): Likewise.
7670 (LDFLAGS-unload4mod2.so): Likewise.
7671 (LDFLAGS-tst-initorder): Likewise.
7672 (LDFLAGS-tst-initordera2.so): Likewise.
7673 (LDFLAGS-tst-initordera3.so): Likewise.
7674 (LDFLAGS-tst-initordera4.so): Likewise.
7675 (LDFLAGS-tst-initorderb2.so): Likewise.
7676 (LDFLAGS-noload): Likewise.
7677 (LDFLAGS-next): Likewise.
7678 (LDFLAGS-order2mod1.so): Likewise.
7679 (LDFLAGS-order2mod2.so): Likewise.
7680 (LDFLAGS-tst-initorder2): Likewise.
7681 (LDFLAGS-tst-initorder2a.so): Likewise.
7682 (LDFLAGS-tst-initorder2b.so): Likewise.
7683 (LDFLAGS-tst-initorder2c.so): Likewise.
7684 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7685
d77f993f
DM
76862012-05-02 David S. Miller <davem@davemloft.net>
7687
7688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7689
171a70b4
PP
76902012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7691
7692 [BZ #14055]
7693 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7694
0be196ad
AJ
76952012-05-02 Andreas Jaeger <aj@suse.de>
7696
7697 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7698 since we manipulate rounding mode.
7699 (CPPFLAGS-test-idouble.c): Likewise.
7700 (CPPFLAGS-test-ifloat.c): Likewise.
7701 (CFLAGS-test-ldouble.c): Likewise.
7702 (CFLAGS-test-double.c): Likewise.
7703 (CFLAGS-test-float.c): Likewise.
7704 (CFLAGS-test-misc.c): Likewise.
7705 (CFLAGS-test-test-fenv.c): Likewise.
7706
4f9d04aa
AZ
77072012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7708
2b942cb7
RM
7709 [BZ #2550]
7710 [BZ #2570]
7711 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7712 comparisons to determine direction to adjust input.
4f9d04aa 7713
82a79e7d
RM
77142012-05-01 Roland McGrath <roland@hack.frob.com>
7715
f5a01ca9
RM
7716 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7717 output to the target.
7718
90fe4186
RM
7719 * scripts/localplt.awk: New file.
7720 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7721 (check-localplt-CFLAGS): Variable removed.
7722 ($(all-built-dso:=.jmprel)): New static pattern rule.
7723 (generated): Add those targets.
7724 (localplt-built-dso): New variable.
7725 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7726
7727 * elf/check-localplt.c: File removed.
7728
82397ed6
RM
7729 * scripts/check-execstack.awk: New file.
7730 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7731 (check-execstack-CFLAGS): Variable removed.
7732 ($(objpfx)check-execstack.h): Target removed.
7733 ($(objpfx)execstack-default): New target.
7734 (generated): Add that instead of check-execstack.h.
7735 ($(all-built-dso:=.phdr)): New static pattern rule.
7736 (generated): Add those targets.
7737 * elf/check-execstack.c: File removed.
7738
82a79e7d
RM
7739 * scripts/check-textrel.awk: New file.
7740 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7741 (check-textrel-CFLAGS): Variable removed.
7742 (all-built-dso): Use := to define.o
7743 ($(all-built-dso:=.dyn)): New static pattern rule.
7744 (generated): Add those targets.
7745 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7746 * config.make.in (READELF): New substituted variable.
7747 * elf/check-textrel.c: File removed.
7748
62fde54f 77492012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7750
615605c9
JM
7751 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7752 allow.
7753 * conform/data/ctype.h-data [C99-based standards] (isblank):
7754 Expect function.
7755 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7756 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7757 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7758 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7759 Specify type. Require positive value.
7760 (EILSEQ): Likewise.
7761 (ERANGE): Likewise.
7762 [ISO || POSIX] (EILSEQ): Do not expect.
7763 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7764 Specify type. Require positive value.
7765 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7766 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7767 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7768 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7769 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7770 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7771 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7772 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7773 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7774 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7775 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7776 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7777 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7778 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7779 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7780 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7781 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7782 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7783 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7784 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7785 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7786 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7787 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7788 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7789 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7790 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7791 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7792 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7793 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7794 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7795 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7796 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7797 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7798 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7799 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7800 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7801 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7802 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7803 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7804 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7805 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7806 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7807 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7808 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7809 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7810 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7811 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7812 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7813 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7814 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7815 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7816 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7817 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7818 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7819 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7820 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7821 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7822 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7823 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7824 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7825 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7826 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7827 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7828 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7829 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7830 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7831 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7832 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7833 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7834 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7835 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7836 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7837 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7838 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7839 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7840 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7841 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7842 Require >= 2.
7843 (FLT_ROUNDS): Expect as macro, not constant.
7844 (FLT_MANT_DIG): Use macro-int-constant.
7845 (DBL_MANT_DIG): Likewise.
7846 (LDBL_MANT_DIG): Likewise.
7847 (FLT_DIG): Likewise.
7848 (DBL_DIG): Likewise.
7849 (LDBL_DIG): Likewise.
7850 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7851 (DBL_MIN_EXP): Likewise.
7852 (LDBL_MIN_EXP): Likewise.
7853 (FLT_MAX_EXP): Use macro-int-constant.
7854 (DBL_MAX_EXP): Likewise.
7855 (LDBL_MAX_EXP): Likewise.
7856 (FLT_MAX_10_EXP): Likewise.
7857 (DBL_MAX_10_EXP): Likewise.
7858 (LDBL_MAX_10_EXP): Likewise.
7859 (FLT_MAX): Use macro-constant.
7860 (DBL_MAX): Likewise.
7861 (LDBL_MAX): Likewise.
7862 (FLT_EPSILON): Use macro-constant. Give upper bound.
7863 (DBL_EPSILON): Likewise.
7864 (LDBL_EPSILON): Likewise.
7865 (FLT_MIN): Likewise.
7866 (DBL_MIN): Likewise.
7867 (LDBL_MIN): Likewise.
7868 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7869 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7870 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7871 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7872 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7873 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7874 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7875 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7876 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7877 [ISO11] (FLT_TRUE_MIN): Likewise.
7878 [ISO11] (LDBL_TRUE_MIN): Likewise.
7879 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7880 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7881 (SCHAR_MIN): Use macro-int-constant. Specify type.
7882 (SCHAR_MAX): Likewise.
7883 (UCHAR_MAX): Likewise.
7884 (CHAR_MIN): Likewise.
7885 (CHAR_MAX): Likewise.
7886 (MB_LEN_MAX): Use macro-int-constant.
7887 (SHRT_MIN): Use macro-int-constant. Specify type.
7888 (SHRT_MAX): Likewise.
7889 (USHRT_MAX): Likewise.
7890 (INT_MAX): Likewise.
7891 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7892 bound negative.
7893 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7894 bound with "U".
7895 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7896 bound with "L".
7897 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7898 bound negative. Suffix upper bound with "L".
7899 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7900 bound with "UL".
7901 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7902 Specify type.
7903 [C99-based standards] (LLONG_MAX): Likewise.
7904 [C99-based standards] (ULLONG_MAX): Likewise.
7905 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7906 == 0.
7907 [ISO11] (max_align_t): Require type.
7908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7909
c9140a62
JM
7910 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7911 from $CFLAGS, without defining away __attribute__ calls.
7912 (checknamespace): Use $CFLAGS_namespace.
7913
9af0bf29
JM
7914 * conform/conformtest.pl (@keywords): Only include C99 keywords
7915 for standards based on C99 or C11.
7916
343222a2
JM
7917 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7918 Disable tests.
7919 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7920 UNIX98]: Likewise.
7921
661f8cf0
JM
7922 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7923 usability of symbols in #if.
7924
ee74b9cb
JM
7925 * conform/conformtest.pl: If macro or constant types start
7926 "promoted:", expect the symbol to be of the following type
7927 promoted by the integer promotions.
62fde54f 7928
aafc49b3
JM
7929 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7930 in one place. Also handle "macro-constant".
7931
fefdf574
JM
7932 * conform/conformtest.pl: Only accept expected macro values with
7933 "==". Parse all "macro" lines in one place.
7934 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7935
f2d922fe
JM
7936 * conform/conformtest.pl: Handle braced types on "constant" lines
7937 instead of handling "typed-constant".
7938 * conform/data/signal.h-data: Use "constant" instead of
7939 "typed-constant".
7940
d22956c9
JM
7941 * conform/conformtest.pl: Handle "optional-" at start of lines in
7942 one place rather than duplicating several cases. Handle each
7943 format of "macro" line with initial "optional-".
7944
028e2e38
JM
7945 * conform/conformtest.pl: Only accept expected constant or
7946 optional-constant values with "==". Parse all "constant" lines in
7947 one place. Parse all "optional-constant" lines in one place.
7948 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7949 * conform/data/fmtmsg.h-data: Likewise.
7950 * conform/data/netinet/in.h-data: Likewise.
7951 * conform/data/tar.h-data: Likewise.
7952 * conform/data/limits.h-data: Use "==" form on "constant" and
7953 "optional-constant" lines.
7954
1b8f2850
JM
7955 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7956 Use -std=c99 for XOPEN2K.
7957 (@knownproblems): Remove.
7958 (newtoken): Don't check %isknown.
7959
a05a144b
JM
7960 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7961 Do not expect macro.
7962 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7963 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7964 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7965 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7966 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7967 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7968 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7969 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7970 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7971 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7972 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7973 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7974 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7975 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7976 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7977 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7978 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7979 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7980 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7981 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7982 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7983 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7984 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7985 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7986 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7987 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7988 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7989 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7990 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7991 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7992 [XPG3] (acosh): Likewise.
7993 [XPG3] (asinh): Likewise.
7994 [XPG3] (atanh): Likewise.
7995 [XPG3] (cbrt): Likewise.
7996 [XPG3] (expm1): Likewise.
7997 [XPG3] (ilogb): Likewise.
7998 [XPG3] (log1p): Likewise.
7999 [XPG3] (logb): Likewise.
8000 [XPG3] (nextafter): Likewise.
8001 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8002 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8003 [XPG3] (remainder): Likewise.
8004 [XPG3] (rint): Likewise.
8005 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8006 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8007 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8008 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8009 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8010 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8011 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8012 [UNIX98 || XOPEN2K] (scalb): Expect.
8013 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8014 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8015 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8016 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8017 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8018 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8019 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8020 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8021 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8022 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8023 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8024 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8025 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8026 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8027 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8028 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8029 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8030 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8031 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8032 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8033 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8034 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8035 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8036 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8037 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8038 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8039 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8040 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8041 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8042 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8043 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8044 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8045 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8046 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8047 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8048 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8049 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8050 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8051 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8052 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8053 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8054 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8055 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8056 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8057 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8058 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8059 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8060 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8061 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8062 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8063 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8064 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8065 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8066 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8067 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8068 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8069 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8070 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8071 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8072 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8073 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8074 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8075 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8076 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8077 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8078 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8079 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8080 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8081 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8082 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8083 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8084 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8085 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8086 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8087 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8088 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8089 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8090 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8091 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8092 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8093 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8094 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8095 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8096 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8097 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8098 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8099 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8100 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8101 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8102 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8103 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8104 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8105 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8106 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8107 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8108 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8109 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8110 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8111 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8112 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8113 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8114 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8115 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8116 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8117 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8118 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8119 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8120 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8121 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8122 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8123 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8124 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8125 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8126 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8127 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8128 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8129 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8130 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8131 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8132 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8133 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8134 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8135 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8136 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8137 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8138 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8139 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8140 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8141 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8142 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8143 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8144 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8145 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8146 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8147 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8148 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8149 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8150
73c5ebe3
JM
8151 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8152 _XOPEN_SOURCE_EXTENDED for XPG4.
8153
39c33b6c
JM
8154 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8155
62fde54f
JM
8156 * Makeconfig (localtime): Remove variable.
8157 (inst_localtime-file): Likewise.
8158
0741d64c
AS
81592012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8160
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8162 Update.
8163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8164 Update.
8165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8166 Update.
8167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8168 Update.
8169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8170 Update.
8171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8172 Update.
8173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8174 Update.
8175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8176 Update.
8177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8178 Update.
8179
7cb029ee
JM
81802012-05-01 Joseph Myers <joseph@codesourcery.com>
8181
8182 [BZ #2550]
8183 [BZ #2570]
8184 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8185 comparisons to determine direction to adjust input.
8186 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8187 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8188 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8189 Likewise.
8190 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8191 Likewise.
8192 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8193 Likewise.
8194 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8195 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8196 Likewise.
8197 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8198 Likewise.
8199 * math/libm-test.inc (nexttoward_test): Add more tests.
8200
412bd966
AS
82012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8202
8203 [BZ #14040]
8204 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8205 in version GLIBC_2.1, not GLIBC_2.0.
8206 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8207 Likewise.
8208
9568c0c2
JM
82092012-04-30 Joseph Myers <joseph@codesourcery.com>
8210
adfbc8ac
JM
8211 [BZ #13942]
8212 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8213 (1 - x) * (1 + x).
8214 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8215 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8216 * math/libm-test.inc (acos_test): Add more tests.
8217 (asin_test): Likewise.
8218 * sysdeps/i386/fpu/libm-test-ulps: Update.
8219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8220
5ba3cc69
JM
8221 [BZ #14034]
8222 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8223 of square root.
8224 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8225 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8226 * math/libm-test.inc (acos_test_tonearest): New function.
8227 (acos_test_towardzero): Likewise.
8228 (acos_test_downward): Likewise.
8229 (acos_test_upward): Likewise.
8230 (asin_test_tonearest): Likewise.
8231 (asin_test_towardzero): Likewise.
8232 (asin_test_downward): Likewise.
8233 (asin_test_upward): Likewise.
8234 (main): Call the new functions.
8235 * sysdeps/i386/fpu/libm-test-ulps: Update.
8236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8237
9568c0c2
JM
8238 [BZ #13884]
8239 [BZ #13924]
8240 * math/e_exp10.c: Include <float.h>.
8241 (__ieee754_exp10): Handle underflow here rather than multiplying
8242 large negative argument by M_LN10.
8243 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8244 of __ieee754_expf.
8245 * math/e_exp10l.c: Include <float.h>.
8246 (__ieee754_exp10l): Handle underflow here rather than multiplying
8247 large negative argument by M_LN10l.
8248 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8249 spurious overflow exception on underflow.
8250
5ac3ea17
MP
82512012-04-29 Marek Polacek <polacek@redhat.com>
8252
8253 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8254 (__fortify_function): New macro.
8255 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8256 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8257 __extern_always_inline.
8258 * libio/bits/stdio2.h: Likewise.
8259 * libio/bits/stdio.h: Likewise.
8260 * string/string.h: Likewise.
8261 * string/bits/string3.h: Likewise.
8262 * include/stdio.h: Likewise.
8263 * stdlib/bits/stdlib.h: Likewise.
8264 * stdlib/stdlib.h: Likewise.
8265 * rt/bits/mqueue2.h: Likewise.
8266 * rt/mqueue.h: Likewise.
8267 * posix/bits/unistd.h: Likewise.
8268 * posix/unistd.h: Likewise.
8269 * io/bits/poll2.h: Likewise.
8270 * io/bits/fcntl2.h: Likewise.
8271 * io/fcntl.h: Likewise.
8272 * io/sys/poll.h: Likewise.
8273 * misc/bits/syslog.h: Likewise.
8274 * misc/bits/syslog-ldbl.h: Likewise.
8275 * misc/sys/syslog.h: Likewise.
8276 * socket/bits/socket2.h: Likewise.
8277 * socket/sys/socket.h: Likewise.
8278 * debug/tst-chk1.c: Likewise.
8279 * wcsmbs/bits/wchar2.h: Likewise.
8280 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8281 * wcsmbs/wchar.h: Likewise.
8282
ecf0ebfb
AJ
82832012-04-29 Andreas Jaeger <aj@suse.de>
8284
8285 * Makerules (tests): Remove enable-check-abi protection.
8286 (check-abi-warn): Remove.
8287 (check-abi-%): Remove check-abi-warn usage.
8288
8289 * configure.in: Remove check-abi configure option.
8290 * configure: Regenerated.
8291 * config.make.in (enable-check-abi): Remove.
8292
6d5c57fa
AS
82932012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8294
24c5d07e 8295 [BZ #14033]
ded5180a
AS
8296 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8297 double functions to double *_finite functions.
8298
7e0d315d
AS
8299 [BZ #13941]
8300 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8301 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8302 LDBL_MIN_EXP.
8303 * stdio-common/Makefile (tests): Add tst-sprintf3.
8304 * stdio-common/tst-sprintf3.c: New file.
8305
6d5c57fa
AS
8306 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8307 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8308
0749ff8b
JM
83092012-04-28 Joseph Myers <joseph@codesourcery.com>
8310
8311 * conform/conformtest.pl: Remove duplicate typed-constant
8312 handling.
8313
8dbd5d7b
DM
83142012-04-28 David S. Miller <davem@davemloft.net>
8315
8316 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8317 (check-abi-%): Remove AWK script prerequisite and explicit
8318 abilist directory.
8319 (check-abi): Rewrite to just diff the symlist with the abilist.
8320 (config-tls, config-abi-config): Delete, no longer used.
8321 (update-abi-%): Remove AWK script and explicit abilist directory.
8322 (update-abi): Rewrite to simply compare and conditionally copy the
8323 symlist and the sysdep abilist file. Remove update-abi-config
8324 checks.
8325 * abilist/ld.abilist: Remove.
8326 * abilist/libBrokenLocale.abilist: Remove.
8327 * abilist/libanl.abilist: Remove.
8328 * abilist/libcrypt.abilist: Remove.
8329 * abilist/libdl.abilist: Remove.
8330 * abilist/librt.abilist: Remove.
8331 * abilist/libthread_db.abilist: Remove.
8332 * abilist/libutil.abilist: Remove.
8333 * scripts/extract-abilist.awk: Remove.
8334 * scripts/merge-abilist.awk: Remove.
8335 * sysdeps/generic/libcidn.abilist: New file.
8336 * sysdeps/generic/libnss_compat.abilist: New file.
8337 * sysdeps/generic/libnss_db.abilist: New file.
8338 * sysdeps/generic/libnss_dns.abilist: New file.
8339 * sysdeps/generic/libnss_files.abilist: New file.
8340 * sysdeps/generic/libnss_hesiod.abilist: New file.
8341 * sysdeps/generic/libnss_nis.abilist: New file.
8342 * sysdeps/generic/libnss_nisplus.abilist: New file.
8343 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8344 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8345 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8346 file.
8347 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8348 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8349 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8350 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8351 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8352 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8353 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8354 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8355 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8356 file.
8357 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8358 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8359 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8360 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8361 file.
8362 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8363 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8364 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8365 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8366 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8367 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8368 file.
8369 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8370 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8371 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8372 file.
8373 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8375 New file.
8376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8377 New file.
8378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8379 New file.
8380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8381 New file.
8382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8383 New file.
8384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8385 New file.
8386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8387 New file.
8388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8389 New file.
8390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8391 New file.
8392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8393 New file.
8394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8395 New file.
8396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8397 New file.
8398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8399 New file.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8401 file.
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8403 New file.
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8405 New file.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8407 file.
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8409 New file.
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8411 New file.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8413 file.
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8415 New file.
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8417 New file.
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8419 New file.
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8421 New file.
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8423 New file.
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8425 New file.
8426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8428 file.
8429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8430 New file.
8431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8432 file.
8433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8434 file.
8435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8436 file.
8437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8438 file.
8439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8440 file.
8441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8442 New file.
8443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8444 file.
8445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8446 file.
8447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8448 New file.
8449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8450 file.
8451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8453 file.
8454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8455 New file.
8456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8457 file.
8458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8459 file.
8460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8461 file.
8462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8463 file.
8464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8465 file.
8466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8467 New file.
8468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8469 file.
8470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8471 file.
8472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8473 New file.
8474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8475 file.
8476 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8477 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8478 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8479 file.
8480 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8481 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8482 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8483 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8484 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8485 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8486 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8487 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8488 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8489 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8492 file.
8493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8494 New file.
8495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8496 file.
8497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8498 file.
8499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8500 file.
8501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8502 file.
8503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8504 file.
8505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8506 New file.
8507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8508 New file.
8509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8510 file.
8511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8512 New file.
8513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8514 file.
8515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8517 file.
8518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8519 New file.
8520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8521 file.
8522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8523 file.
8524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8525 file.
8526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8527 file.
8528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8529 file.
8530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8531 New file.
8532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8533 New file.
8534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8535 file.
8536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8537 New file.
8538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8539 file.
8540
41d73a1b
JM
85412012-04-28 Joseph Myers <joseph@codesourcery.com>
8542
8543 * conform/conformtest.pl: Fix typo in handling typed-constant from
8544 allow-header.
8545
28aeeda4
JM
85462012-04-27 Joseph Myers <joseph@codesourcery.com>
8547
adae8f5e
JM
8548 * README: Cut down references to pre-2.6 Linux kernels and
8549 Linuxthreads. Update lists of configurations in libc and ports
8550 and sort alphabetically. Say "or newer" with Linux kernel version
8551 requirements.
8552
28aeeda4
JM
8553 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8554
a462cb63
RA
85552012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8556
8557 [BZ #887]
8558 * math/libm-test.inc (logb_test_downward): New test to expose
8559 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8560 rounding mode.
8561
6ad3493e
JM
85622012-04-27 Joseph Myers <joseph@codesourcery.com>
8563
8564 [BZ #14027]
8565 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8566 to be done.
8567 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8568 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8569
2ce4f015
JM
85702012-04-26 Joseph Myers <joseph@codesourcery.com>
8571
5aeb141a
JM
8572 * sysdeps/unix/i386/brk.S: Remove file.
8573 * sysdeps/unix/i386/dl-brk.S: Likewise.
8574 * sysdeps/unix/i386/pipe.S: Likewise.
8575 * sysdeps/unix/i386/sigreturn.S: Likewise.
8576 * sysdeps/unix/i386/syscall.S: Likewise.
8577 * sysdeps/unix/i386/vfork.S: Likewise.
8578 * sysdeps/unix/i386/wait.S: Likewise.
8579
7143acae
JM
8580 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8581 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8582
2ce4f015
JM
8583 * configure.in (arm*-none*): Do not allow without
8584 --enable-hacker-mode.
8585 (netbsd*): Remove case setting base_os.
8586 (386bsd*): Likewise.
8587 (freebsd*): Likewise.
8588 (bsdi*): Likewise.
8589 (osf*): Likewise.
8590 (sunos*): Likewise.
8591 (ultrix*): Likewise.
8592 (newsos*): Likewise.
8593 (dynix*): Likewise.
8594 (*bsd*): Likewise.
8595 (sysv*): Likewise.
8596 (isc*): Likewise.
8597 (esix*): Likewise.
8598 (sco*): Likewise.
8599 (minix*): Likewise.
8600 (irix4*): Likewise.
8601 (irix6*): Likewise.
8602 (solaris[2-9]*): Likewise.
8603 (none): Likewise.
8604 * configure: Regenerated.
8605
0ac229c8
AZ
86062012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8607
8608 [BZ #11521]
8609 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8610 overflow or cancellation in calculating denominator.
8611 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8612 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8613 down expression to avoid unexpected rounding in newer GCCs.
8614 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8615
33f244f4
DM
86162012-04-26 David S. Miller <davem@davemloft.net>
8617
8618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8619 long-double compat symbols.
8620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8633
cfa1f3e8
DM
86342012-04-25 David S. Miller <davem@davemloft.net>
8635
8636 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8637 HWCAP_* values only after the memory barriers have been defined.
8638 (atomic_full_barrier): Define.
8639 (atomic_read_barrier): Define.
8640 (atomic_write_barrier): Define.
8641
6e236b92
SP
86422012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8643
8644 * shlib-versions: Add libgcc_s version information.
8645 * sysdeps/generic/libgcc_s.h: Remove.
8646 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8647 libgcc_s.h.
8648 * sysdeps/gnu/unwind-resume.c: Likewise.
8649 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8650
aab39a09
DM
86512012-04-25 David S. Miller <davem@davemloft.net>
8652
8653 * sysdeps/unix/sparc/brk.S: Delete.
8654 * sysdeps/unix/sparc/dl-brk.S: Delete.
8655 * sysdeps/unix/sparc/pipe.S: Delete.
8656 * sysdeps/unix/sparc/sysdep.S: Delete.
8657 * sysdeps/unix/sparc/sysdep.h: Delete.
8658 * sysdeps/unix/sparc/vfork.S: Delete.
8659 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8660 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8661 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8662 ret_ERRVAL, r0, r1, MOVE): Define.
8663 (JUMPTARGET): Remove.
8664 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8665 sysdeps/unix/sparc/sysdep.h
8666 (ENTRY, END): Remove.
8667 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8668
a3cc4f48
JM
86692012-04-25 Joseph Myers <joseph@codesourcery.com>
8670
2ed8cda2
JM
8671 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8672 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8673 -DIS_IN_build.
8674
35d76d59
JM
8675 * timezone/README: Update upstream location and email address for
8676 tzcode and tzdata.
8677 * timezone/zdump.c: Update from tzcode 2012b.
8678 * timezone/zic.c: Likewise.
8679
a3cc4f48
JM
8680 * configure.in (libc_cv_as_needed): Remove test.
8681 * configure: Regenerated.
8682 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8683 conditional definition.
8684 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8685 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8686 * config.make.in (have-as-needed): Remove variable.
8687
ceab42c3
SP
86882012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8689 Paul Pluzhnikov <ppluzhnikov@google.com>
8690
8691 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8692 strings correctly.
8693
3ce2865f
CLT
86942012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8695
8696 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8697 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8698 * sysdeps/sh/strlen.S: Likewise.
8699
f37e0d68
JM
87002012-04-24 Joseph Myers <joseph@codesourcery.com>
8701
ae186e9a
JM
8702 * sysdeps/unix/fork.S: Remove file.
8703 * sysdeps/unix/i386/fork.S: Likewise.
8704 * sysdeps/unix/sparc/fork.S: Likewise.
8705
b96914af
JM
8706 * sysdeps/unix/system.c: Remove file.
8707 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8708
f37e0d68
JM
8709 * sysdeps/unix/getegid.S: Remove file.
8710 * sysdeps/unix/geteuid.S: Likewise.
8711
87ef29ca
RM
87122012-04-24 Roland McGrath <roland@hack.frob.com>
8713
83bcd236
RM
8714 * scripts/check-localplt.awk: New file.
8715 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8716 of diff.
8717 * scripts/data/localplt-generic.data: Add a comment.
8718
87ef29ca
RM
8719 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8720 NODE when __dir_mkfile failed.
8721 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8722 Reported by Ludovic Courtès <ludo@gnu.org>.
8723
e5a6e567
AJ
87242012-04-24 Andreas Jaeger <aj@suse.de>
8725
8726 * Makerules (common-clean): Also remove gen-as-const-headers
8727 files.
8728
c1820385
JM
87292012-04-24 Joseph Myers <joseph@codesourcery.com>
8730
8731 * Makerules (native-compile): Do not change working directory for
8732 build. Use $(OUTPUT_OPTION) in command.
8733 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8734
94e02fc4
AZ
87352012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8736
8737 [BZ #13886]
8738 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8739 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8740 * math/libm-test.inc (floor_test): Add more tests.
8741 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8742
3a533ca3
JM
87432012-04-24 Joseph Myers <joseph@codesourcery.com>
8744
940ab4b3
JM
8745 * sysdeps/unix/getdents.c: Remove file.
8746 * sysdeps/unix/sysv/getdents.c: Likewise.
8747 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8748
90e037bd
JM
8749 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8750 sysdeps/unix/mman/syscalls.list.
8751 (mmap): Likewise.
8752 (mprotect): Likewise.
8753 (msync): Likewise.
8754 (munmap): Likewise.
8755 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8756 * sysdeps/unix/mman/syscalls.list: Remove.
8757 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8758
3a533ca3
JM
8759 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8760 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8761 * configure: Regenerated.
8762 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8763 $(libgcc_s_suffix).
8764 * config.make.in (libgcc_s_suffix): Remove variable.
8765
1ad743de
JM
87662012-04-23 Joseph Myers <joseph@codesourcery.com>
8767
4ad451e2
JM
8768 * sysdeps/unix/sysv/gethostname.c: Move to ...
8769 * sysdeps/posix/gethostname.c: ... here.
8770
5e37ce39
JM
8771 * sysdeps/unix/execve.S: Remove file.
8772
1ad743de
JM
8773 * sysdeps/unix/_exit.S: Remove file.
8774
4e681b5b
AJ
87752012-04-23 Andreas Jaeger <aj@suse.de>
8776
8777 [BZ #13739]
8778 * manual/Makefile: Remove make dist support, there's no
8779 need for a stand-alone documentation tar ball.
8780 (TEXI2DVI): Define always, it's not in Makeconfig.
8781 (dist): Removed.
8782 (tar-it): Removed.
8783 (edition): Removed.
8784 (glibc-doc-$(edition).tar): Removed
8785 (%.Z): Removed.
8786 (%.gz): Removed.
8787 (%.uu): Removed.
8788 (ETAGS): Remove, it's in Makeconfig.
8789 (move-if-change): Remove, it's in Makeconfig.
8790
c0baea34
PE
87912013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8792
8793 [BZ #13970]
8794 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8795 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8796 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8797 (strtod_l, strtof_l, strtold_l): Remove __wur.
8798 It is not necessarily an error to ignore strtol's return value.
8799 One can reliably look at the stored endptr to decide whether
8800 the number had valid syntax.
8801
7c0616fa
AJ
88022012-04-21 Andreas Jaeger <aj@suse.de>
8803
803cb6b7 8804 [BZ #13739]
7c0616fa
AJ
8805 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8806
b0fe253f
JM
88072012-04-21 Joseph Myers <joseph@codesourcery.com>
8808
8809 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8810 * sysdeps/unix/sysv/Versions: Remove file.
8811
8280f22d
MT
88122012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8813
8814 [BZ #13927]
8815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8816
75ce411f 88172012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8818
8819 [BZ #7064]
8820 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8821 version from __vm86.
8822
097d59fa
JM
88232012-04-20 Joseph Myers <joseph@codesourcery.com>
8824
a90f3bcb
JM
8825 * sysdeps/unix/common/lxstat.c: Remove file.
8826 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8827
edc7ea78
JM
8828 * sysdeps/unix/sysv/Makefile: Remove file.
8829
cb78c221
JM
8830 * sysdeps/unix/sysv/direct.h: Remove file.
8831
efa6a45f
JM
8832 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8833 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8834 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8835 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8836 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8837 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8838 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8839
9c9f2d0c
JM
8840 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8841
4541c83b
JM
8842 * sysdeps/unix/xmknod.c: Remove file.
8843 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8844
f5d153a0
JM
8845 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8846
aa746595
JM
8847 * sysdeps/unix/sysv/i386/time.S: Remove file.
8848
cce5905e
JM
8849 * sysdeps/unix/fxstat.c: Remove file.
8850 * sysdeps/unix/xstat.c: Likewise.
8851 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8852
37fa3841
JM
8853 * sysdeps/unix/sysv/sigaction.c: Remove file.
8854
ff1962a3
JM
8855 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8856 (sysdep_headers): Remove variable.
8857 [termio.h not in sysdep_headers] (generated): Likewise.
8858 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8859 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8860 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8861 * sysdeps/unix/sysv/tcflow.c: Likewise.
8862 * sysdeps/unix/sysv/tcflush.c: Likewise.
8863 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8864 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8865 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8866 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8867 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8868
e7740d31
JM
8869 * sysdeps/unix/siglist.c: Remove file.
8870
ee06f18b
JM
8871 * sysdeps/unix/getppid.S: Remove file.
8872
097d59fa
JM
8873 * sysdeps/unix/mkdir.c: Remove file.
8874 * sysdeps/unix/rmdir.c: Likewise.
8875
ff3d51ec
AS
88762012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8877
8878 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8879 ERR_MAX value.
8880 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8881 errlist-compat value.
8882
50f81fd7
DM
88832012-04-18 David S. Miller <davem@davemloft.net>
8884
8885 * sysdeps/generic/memcopy.h (reg_char): Delete.
8886 * debug/strcat_chk.c: Use char, not reg_char.
8887 * debug/strcpy_chk.c: Likewise.
8888 * debug/strncat_chk.c: Likewise.
8889 * debug/strncpy_chk.c: Likewise.
8890 * string/memchr.c: Likewise.
8891 * string/memrchr.c: Likewise.
8892 * string/rawmemchr.c: Likewise.
8893 * string/strcat.c: Likewise.
8894 * string/strchr.c: Likewise.
8895 * string/strchrnul.c: Likewise.
8896 * string/strcmp.c: Likewise.
8897 * string/strcpy.c: Likewise.
8898 * string/strncat.c: Likewise.
8899 * string/strncmp.c: Likewise.
8900 * string/strncpy.c: Likewise.
8901
8ff41c46
WS
89022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8903
8904 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8905 __builtin_memcopy is called when src and dest ranges are known to not
8906 overlap.
8907
6b652f46
WS
89082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8909
8910 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8911 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8912 fwd_align_merge macro call.
8913 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8914 bwd_align_merge macro call.
8915 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8916
b282631e
WS
89172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8918
8919 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8920 bwd_align_merge macros.
8921 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8922 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8923 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8924
95aa737c
DM
89252012-04-18 David S. Miller <davem@davemloft.net>
8926
8927 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8928
7a99a614
AJ
89292012-04-18 Andreas Jaeger <aj@suse.de>
8930
8931 [BZ# 6794]
8932 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8933 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8934 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8935
8936 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8937 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8938 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8939
8940 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8941 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8942 Adjust for changed ldbl-128 files.
8943
8944 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8945 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8946 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8947
e5270c23
DM
89482012-04-17 David S. Miller <davem@davemloft.net>
8949
8950 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8951
fb5e92c9
AS
89522012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8953
8954 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8955 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8956 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8957 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8958 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8959 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8960
76da7265
AZ
89612012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8962
8963 [BZ #6794]
8964 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8965 * math/libm-test.inc: Add ilogb errno and exception tests.
8966 * math/w_ilogb.c: New file: ilogb wrapper.
8967 * math/w_ilogbf.c: New file: ilogbf wrapper.
8968 * math/w_ilogbl.c: New file: ilogbl wrapper.
8969 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8970 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8971 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8972 exception being thrown with 0.0 as argument.
8973 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8974 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8975 exception being thrown with 0.0 as argument.
8976 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8977 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8978 exception being thrown with 0.0 as argument.
8979 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8980 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8981 exception being thrown with 0.0 as argument.
8982 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8983 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8984 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8985 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8986 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8987 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8988 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8989 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8990 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8991
0396e69d
PB
89922012-04-17 Petr Baudis <pasky@ucw.cz>
8993
8994 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8995 with altivec.
8996
750b5926
MP
89972012-04-16 Marek Polacek <polacek@redhat.com>
8998
8999 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9000
751728a1
MP
90012012-04-16 Marek Polacek <polacek@redhat.com>
9002
9003 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9004 operands of fdivp instruction.
9005
34a27407
L
90062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9007
9008 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9009 * elf/tst-auditmod3b.c: Likewise.
9010 * elf/tst-auditmod4b.c: Likewise.
9011 * elf/tst-auditmod5b.c: Likewise.
9012 * elf/tst-auditmod6b.c: Likewise.
9013 * elf/tst-auditmod6c.c: Likewise.
9014 * elf/tst-auditmod7b.c: Likewise.
9015 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9016 * sysdeps/x86_64/preconfigure.in: Likewise.
9017 * sysdeps/x86_64/preconfigure: Regenerated.
9018
7e73e17d
L
90192012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9020
9021 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9022 __ILP32__.
9023
c7a6ab72
AB
90242012-04-13 Antoine Balestrat <merkil33@gmail.com>
9025
9026 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9027 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9028
a9e8e0e0
CL
90292012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9030
9031 [BZ #13973]
9032 * locale/iso-639.def: Fix gl language name. Spotted by
9033 Yaron Shahrabani.
9034
ec98af7d
RM
90352012-04-12 Roland McGrath <roland@hack.frob.com>
9036
9037 [BZ #2074]
9038 * libio/libio.h (__io_write_fn): Update comment.
9039
247c3ede
PB
90402012-04-12 Petr Baudis <pasky@ucw.cz>
9041
9042 [BZ #2074]
9043 * stdio.texi (Hook Functions): The user provided writer function
9044 is not allowed to return -1.
9045
55939d6d
DM
90462012-04-11 David S. Miller <davem@davemloft.net>
9047
9048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9049
90020f5a
MF
90502012-04-11 Mike Frysinger <vapier@gentoo.org>
9051
9052 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9053 Add a leading slash to rtkaio.
9054
288f9098
JM
90552012-04-11 Jim Meyering <meyering@redhat.com>
9056
90020f5a
MF
9057 [BZ #11959]
9058 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9059 It is not necessarily an error to ignore fwrite's return
9060 value. One can reliably use ferror to test for errors after
9061 the fact.
288f9098 9062
4be2b570
L
90632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9064
9065 * bits/types.h (__snseconds_t): New type.
9066 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9067
9068 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9069 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9070 (__SNSECONDS_T_TYPE): Likewise.
9071 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9072 (__SNSECONDS_T_TYPE): Likewise.
9073 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9074 (__SNSECONDS_T_TYPE): Likewise.
9075
288f9098 90762012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9077
9078 [BZ #2636]
9079 * manual/time.texi (Processor Time): Return type of times is
9080 elapsed real time since an arbitrary point in the past.
9081 (CPU Time): Move CLK_TCK from here...
9082 (Processor Time): ...to here. Correct description.
9083 * manual/conf.texi (Constants for Sysconf): Correct description of
9084 _SC_CLK_TCK.
9085
d7dd4413
DM
90862012-04-10 David S. Miller <davem@davemloft.net>
9087
9088 [BZ #13967]
9089 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9090 where the is a gap between DT_REL(A) and DT_JMPREL.
9091
b46068fc
L
90922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9093
9094 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9095 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9096 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9097
73d65cc3
SP
90982012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9099
9100 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9101 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9102 (dl_main): Handle --inhibit-cache.
9103 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9104 _dl_inhibit_cache.
9105 * elf/dl-load.c (_dl_map_object): Use it.
9106 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9107
bcc8d661
JM
91082012-04-09 Joseph Myers <joseph@codesourcery.com>
9109
8f9a2fae
JM
9110 [BZ #13872]
9111 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9112 (__ieee754_powl): Saturate large exponents rather than testing for
9113 overflow of y*log2(x).
9114 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9115 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9116 exceptions.
9117
bcc8d661
JM
9118 [BZ #11521]
9119 * math/s_ctan.c: Include <float.h>.
9120 (__ctan): Avoid internal overflow or cancellation in calculating
9121 denominator.
9122 * math/s_ctanf.c: Likewise.
9123 * math/s_ctanl.c: Likewise.
9124 * math/s_ctanh.c: Likewise.
9125 * math/s_ctanhf.c: Likewise.
9126 * math/s_ctanhl.c: Likewise.
9127 * math/libm-test.inc (ctan_test): Add more tests.
9128 (ctanh_test): Likewise.
9129 * sysdeps/i386/fpu/libm-test-ulps: Update.
9130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9131
823fbbb4
AJ
91322012-04-09 Andreas Jaeger <aj@suse.de>
9133
03879793
AJ
9134 [BZ #6894]
9135 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9136 is an optional BSD extension.
9137
823fbbb4
AJ
9138 [BZ #10254]
9139 * manual/stdio.texi (Opening Streams): Document additional fopen
9140 parameters.
9141
8de131cb
RM
91422012-04-09 Roland McGrath <roland@hack.frob.com>
9143
9144 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9145 %eax without telling the compiler.
9146
c0ed9d7d
CD
91472012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9148
9149 [BZ # 13963]
9150 * manual/install.texi: Use sourceware.org.
9151
c483f6b4
JM
91522012-04-09 Joseph Myers <joseph@codesourcery.com>
9153
d7dd9453
JM
9154 [BZ #13873]
9155 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9156 (__ieee754_pow): Generate overflow and underflow using huge*huge
9157 and tiny*tiny rather than just returning constant infinity or zero
9158 for large exponents.
9159 * math/libm-test.inc (pow_test): Require overflow exceptions for
9160 applicable cases of large exponents.
9161
c483f6b4
JM
9162 [BZ #706]
9163 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9164 (__ieee754_pow): Use iterative multiplication algorithm only for
9165 integer exponents with absolute value below 1024. Check for odd
9166 integer exponents when using algorithm for real exponents.
9167 * math/libm-test.inc (pow_test): Add more tests.
9168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9169
d2de7579
JM
91702012-04-08 Joseph Myers <joseph@codesourcery.com>
9171
9172 [BZ #13705]
9173 * math/libm-test.inc (exp_test): Do not allow overflow exception
9174 on underflow test.
9175
f77f1232
AJ
91762012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9177
9178 [BZ #13705]
9179 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9180 instead of __kernel_standard_f.
9181
3884932b
MF
91822012-04-08 Mike Frysinger <vapier@gentoo.org>
9183
9184 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9185 * sysdeps/x86_64/memset_chk.S: Likewise.
9186
54472e9c
AJ
91872012-04-08 Andreas Jaeger <aj@suse.de>
9188
6ab0fbfc
AJ
9189 [BZ #10153]
9190 * manual/startup.texi (Environment Access): Describe return value
9191 for putenv and setenv.
9192
61efba8c
AJ
9193 [BZ #6895]
9194 * manual/filesys.texi (Directory Entries): Add description for
9195 DT_LNK.
9196
95c3f29a
AJ
9197 [BZ #6890]
9198 * manual/filesys.texi (Directory Entries): Clarify that it's file
9199 system not operating system in the description of DT_UNKNOWN.
9200
54472e9c
AJ
9201 [BZ #6578]
9202 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9203
624254b1
SC
92042012-04-08 Stephen Compall <s11@member.fsf.org>
9205
9206 [BZ #6649]
9207 * manual/llio.texi (Opening and Closing Files): Add cross
9208 reference to explain mode argument.
9209
1e4920e0
MF
92102012-04-07 Mike Frysinger <vapier@gentoo.org>
9211
9212 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9213 * sysdeps/x86_64/memset_chk.S: Likewise.
9214
5ed848f3
DM
92152012-04-07 David S. Miller <davem@davemloft.net>
9216
9217 * elf/elf.h (R_SPARC_WDISP10): Define.
9218 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9219 R_SPARC_SIZE32.
9220 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9221 R_SPARC_SIZE64 and R_SPARC_H34.
9222
96154cd8
CD
92232012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9224
9225 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9226 conditions and remove no longer applicable assertion.
9227
9904dc47
L
92282012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9229
9230 * bits/byteswap.h: Include <features.h>.
9231 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9232 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9233
f8887d0a
L
92342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9235
9236 * bits/byteswap.h (__bswap_16): Removed.
9237 Include <bits/byteswap-16.h> to get __bswap_16.
9238 * sysdeps/i386/bits/byteswap.h: Likewise.
9239 * sysdeps/s390/bits/byteswap.h: Likewise.
9240 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9241 * bits/byteswap-16.h: New file.
9242 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9243 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9244 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9245 * string/Makefile (headers): Add bits/byteswap-16.h.
9246
62470f60
PP
92472012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9248
9249 [BZ #13895]
9250 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9251 extra indirection.
9252 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9253 * nss/tst-nss-static.c: New.
9254
4dad7bab
RM
92552012-04-06 Robert Millan <rmh@gnu.org>
9256
9257 [BZ #6486]
9258 * manual/llio.texi (File Position Primitive): lseek
9259 refers to WHENCE when it really means OFFSET.
9260
e9142a17
AJ
92612012-04-06 Andreas Jaeger <aj@suse.de>
9262
2c040eff
AJ
9263 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9264 strncmp declarations.
9265
e9142a17
AJ
9266 * abilist/libc.abilist: Add __poll and __ppoll.
9267
ff9f1c5f
DM
92682012-04-05 David S. Miller <davem@davemloft.net>
9269
dcd2ae90
DM
9270 * scripts/check-local-headers.sh: Accept a host triplet in the
9271 path matched by the exclude regexp.
9272
993eb054
DM
9273 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9274 definition.
9275 * sysdeps/powerpc/powerpc32/dl-machine.h
9276 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9277 * sysdeps/s390/s390-32/dl-machine.h
9278 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9279 * sysdeps/sparc/sparc32/dl-machine.h
9280 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9281 * sysdeps/sparc/sparc64/dl-machine.h
9282 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9283
ff9f1c5f
DM
9284 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9285 lazy binding.
48e2e132 9286 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9287 undefined symbol errors.
9288
48e2e132 9289 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9290 DT_NEEDED entries.
9291
e80d6f94
MM
92922012-04-05 Michael Matz <matz@suse.de>
9293
9294 [BZ #13592]
9295 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9296
349fa79f
AJ
92972012-04-05 Andreas Jaeger <aj@suse.de>
9298
9299 [BZ #13908]
9300 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9301 comment.
9302
f402708f
KK
93032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9304
9305 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9306 which ROUND is no valid rounding mode.
9307
2ecccfc9
KK
93082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9309
9310 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9311 read again.
9312 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9313
8a53f50f
KK
93142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9315
9316 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9317 an exception using FPU order intentionally.
9318
93192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9320
9321 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9322 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9323 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9324 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9325
d653abb7
SJ
93262012-04-05 Simon Josefsson <simon@josefsson.org>
9327
9328 [BZ #12340]
9329 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9330 EINVAL when BUFLEN is too smal.
9331
c3b1bf7d
TS
93322012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9333
9334 [BZ #13553]
9335 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9336 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9337
b1aa60f3
AJ
93382012-04-03 Andreas Jaeger <aj@suse.de>
9339
c3b1bf7d 9340 [BZ #13938]
67f60a26
AJ
9341 * manual/setjmp.texi (System V contexts): Fix sentence.
9342
b1aa60f3
AJ
9343 [BZ #13926]
9344 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9345 New macro for this case.
9346 [!__GNUC__] (__bswap_64): New inline function for this case.
9347 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9348 * bits/byteswap.h: Likewise.
9349 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9350 ull, guard with __GLIBC_HAVE_LONG_LONG.
9351
9352 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9353 __GLIBC_HAVE_LONG_LONG.
9354
9355 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9356 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9357
39c59c35
TMQMF
93582012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9359
9360 [BZ #13691]
9361 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9362 inptr and inend, rather than using last_ch.
9363
135ffda8
DM
93642012-04-02 David S. Miller <davem@davemloft.net>
9365
9366 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9367 * stdio-common/printf-parse.h (read_int): Change return type to
9368 'int', return -1 on INT_MAX overflow.
9369 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9370 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9371 overflows INT_MAX. Check for overflow of in-format-string precision
9372 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9373 SIZE_MAX not INT_MAX for integer overflow test.
9374 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9375 skip the construct in the format string but do not record anything.
9376 * stdio-common/bug22.c: Adjust to test both width/prevision
9377 INT_MAX overflow as well as total length INT_MAX overflow. Check
9378 explicitly for proper errno values.
9379
228c019e
TS
93802012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9381
302cadd3
TS
9382 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9383 CHAR_MAX.
9384 * string/test-strcmp.c [! WIDE]: Likewise.
9385 * time/tst-mktime2.c: Likewise for INT_MAX.
9386 * string/test-string.h: #include <sys/param.h> for MIN.
9387
228c019e
TS
9388 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9389 * sysdeps/i386/init-first.c (init): Likewise.
9390 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9391 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9392 * sysdeps/sh/init-first.c (init): Likewise.
9393
cfa633f5
UD
93942012-04-01 Ulrich Drepper <drepper@gmail.com>
9395
9396 * po/ru.po: Update from translation team.
d1635ef8 9397 * po/vi.po: Likewise.
cfa633f5 9398
6cd0a5ea
SP
93992012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9400
9401 * resolv/nss_dns/dns-host.c: Merge copyright years.
9402
4b43400f
LD
94032012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9404
9405 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9406 Optimize memcpy with prefetch if
9407 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9408 src, dst pointers have unequal 16 byte alignments.
9409
48c41d04
SP
94102012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9411
9412 [BZ #13928]
9413 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9414 from a CNAME entry and return the minimum ttl for the query.
9415 (gaih_getanswer_slice): Likewise.
9416
b8dc394d
JL
94172012-03-30 Jeff Law <law@redhat.com>
9418
9419 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9420 due to long keys.
9421 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9422 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9423
2f5a5ed0
JL
9424 * resolv/nss_dns/dns-host.c: Update copyright year.
9425
1d39e359
UD
94262012-03-30 Ulrich Drepper <drepper@gmail.com>
9427
c030f70c 9428 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9429 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9430
1d39e359
UD
9431 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9432 comments for sendmmsg.
9433
94342012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9435
9436 [BZ #13691]
9437 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9438 with only 1 character between 0x0041 and 0x01b0.
9439 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9440 * wcsmbs/tst-mbsnrtowcs.c: New file.
9441
20fde227
DM
94422012-03-29 David S. Miller <davem@davemloft.net>
9443
9444 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9445 small copies by hand.
9446
984a4237
JL
94472012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9448
9449 [BZ #13761]
9450 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9451 _nss_compat_initgroups_dyn): Fall back to malloc/free
9452 for large group memberships.
9453
18c9d62b
DM
94542012-03-28 David S. Miller <davem@davemloft.net>
9455
88d85d4f
DM
9456 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9457 that branches into memcpy.
9458 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9459 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9460 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9461 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9463 bits.
9464 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9465 implementation too.
9466 * sysdeps/sparc/mempcpy.S: New file.
9467
e5aa83e1
DM
9468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9469 the IFUNC routine in the libc case.
9470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9471
88570753
DM
9472 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9473 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9474 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9475 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9476 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9477 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9478 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9479 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9480
249d7567
DM
9481 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9482 loop to 256 bytes instead of 64 bytes and fix test signedness.
9483
18c9d62b
DM
9484 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9485 * sysdeps/sparc/sparc32/Makefile: rather than here...
9486 * sysdeps/sparc/sparc64/Makefile: and here.
9487
05f3d1f6
UD
94882012-03-28 Ulrich Drepper <drepper@gmail.com>
9489
9490 * malloc/mallocbug.c: Avoid warnings about unused variables.
9491
86ae07a8
JL
94922012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9493
9494 [BZ #13760]
9495 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9496 in the right place. Discard and retry query if response is
9497 larger than input buffer size.
9498
41bf21a1
JM
94992012-03-28 Joseph Myers <joseph@codesourcery.com>
9500
d6270972
JM
9501 [BZ #369]
9502 [BZ #2678]
9503 [BZ #3866]
9504 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9505 x for large integer exponent.
9506 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9507 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9508 sign of result as needed afterwards.
9509 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9510 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9511 result for underflowing pow the same as for overflow.
9512 (__kernel_standard_l): Handle powl overflow and underflow here
9513 rather than calling __kernel_standard.
9514 * math/libm-test.inc (pow_test): Add more tests.
9515
414fca03 9516 [BZ #3868]
41bf21a1
JM
9517 [BZ #13879]
9518 [BZ #13910]
9519 [BZ #13911]
9520 [BZ #13912]
9521 [BZ #13913]
9522 [BZ #13915]
9523 [BZ #13916]
9524 [BZ #13917]
9525 [BZ #13918]
9526 [BZ #13919]
9527 [BZ #13920]
9528 [BZ #13921]
9529 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9530 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9531 (__kernel_standard_l): New function.
9532 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9533 __kernel_standard.
9534 * math/w_acosl.c (__acosl): Likewise.
9535 * math/w_asinl.c (__asinl): Likewise.
9536 * math/w_atan2l.c (__atan2l): Likewise.
9537 * math/w_atanhl.c (__atanhl): Likewise.
9538 * math/w_coshl.c (__coshl): Likewise.
9539 * math/w_exp10l.c (__exp10l): Likewise.
9540 * math/w_exp2l.c (__exp2l): Likewise.
9541 * math/w_fmodl.c (__fmodl): Likewise.
9542 * math/w_hypotl.c (__hypotl): Likewise.
9543 * math/w_j0l.c (__j0l, __y0l): Likewise.
9544 * math/w_j1l.c (__j1l, __y1l): Likewise.
9545 * math/w_jnl.c (__jnl, __ynl): Likewise.
9546 * math/w_lgammal.c (__lgammal): Likewise.
9547 * math/w_log10l.c (__log10l): Likewise.
9548 * math/w_log2l.c (__log2l): Likewise.
9549 * math/w_logl.c (__logl): Likewise.
9550 * math/w_powl.c (__powl): Likewise.
9551 * math/w_remainderl.c (__remainderl): Likewise.
9552 * math/w_scalbl.c (sysv_scalbl): Likewise.
9553 * math/w_sinhl.c (__sinhl): Likewise.
9554 * math/w_sqrtl.c (__sqrtl): Likewise.
9555 * math/w_tgammal.c (__tgammal): Likewise.
9556 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9557 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9558 * math/libm-test.inc (acos_test): Add more tests.
9559 (acosh_test): Likewise.
9560 (asin_test): Likewise.
9561 (atanh_test): Likewise.
9562 (exp_test): Likewise.
9563 (exp10_test): Likewise.
9564 (exp2_test): Likewise.
9565 (expm1_test): Likewise.
9566 (lgamma_test): Likewise.
9567 (log_test): Likewise.
9568 (log10_test): Likewise.
9569 (log1p_test): Likewise.
9570 (log2_test): Likewise.
9571 (pow_test): Do not allow some spurious overflow exceptions.
9572 (sqrt_test): Add more tests.
9573 (tgamma_test): Likewise.
9574 (y0_test): Likewise.
9575 (y1_test): Likewise.
9576 (yn_test): Likewise.
9577
dd62fda6
AB
95782012-03-27 Anton Blanchard <anton@samba.org>
9579
9580 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9581 MAP_HUGETLB.
9582 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9583 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9584 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9585
1e3cdfda
AJ
95862012-03-27 David S. Miller <davem@davemloft.net>
9587
b855ab85
DM
9588 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9589
1e3cdfda
AJ
9590 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9591 have-as-vis3 check.
9592
95932012-03-27 Andreas Jaeger <aj@suse.de>
9594
9595 * sysdeps/x86_64/elf/configure.in: Moved to ...
9596 * sysdeps/x86_64/configure.in: ... here.
9597 * sysdeps/x86_64/elf/start.S: Moved to ...
9598 * sysdeps/x86_64/start.S: ... here.
9599 * sysdeps/x86_64/elf/configure: Delete.
9600
9601 * sysdeps/x86_64/configure.in: Merge contents from
9602 sysdeps/i386/configure.in (without i686 check).
9603
9604 * sysdeps/i386/elf/Versions: Merge into ...
9605 * sysdeps/i386/Versions: ... this.
9606 * sysdeps/i386/elf/Versions: Delete file.
9607 * sysdeps/i386/elf/start.S: Moved to ...
9608 * sysdeps/i386/start.S: ...here.
9609 * sysdeps/i386/elf/configure.in: Merge into...
9610 * sysdeps/i386/configure.in: ...here.
9611 * sysdeps/i386/elf/configure.in: Delete file.
9612 * sysdeps/i386/elf/configure: Delete file.
9613
9614 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9615 * debug/backtracesyms.c: ... here.
9616 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9617 * debug/backtracesymsfd.c: ... here.
9618 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9619 * sysdeps/generic/ifunc-sel.h: ... here.
9620
9621 * sysdeps/unix/i386/start.c: Delete file.
9622 * sysdeps/unix/sparc/start.c: Delete file.
9623 * sysdeps/unix/start.c: Delete file.
9624
9625 * sysdeps/sh/elf/configure.in: Moved to ...
9626 * sysdeps/sh/configure.in: ... here.
9627 * sysdeps/sh/elf/start.S: Moved to ...
9628 * sysdeps/sh/start.S: ... here.
9629 * sysdeps/sh/elf/configure: Delete file.
9630
9631 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9632 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9633 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9634 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9635 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9636 * sysdeps/powerpc/powerpc64/start.S: here.
9637 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9638 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9639 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9640 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9641 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9642
9643 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9644 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9645 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9646 * sysdeps/powerpc/powerpc32/start.S: ... here.
9647 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9648 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9649 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9650
9651 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9652 * sysdeps/powerpc/ifunc-sel.h: ... here.
9653 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9654 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9655
9656 * sysdeps/sparc/elf/configure.in: Moved to ...
9657 * sysdeps/sparc/configure.in: ... here.
9658 * sysdeps/sparc/elf/configure: Delete file.
9659 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9660 * sysdeps/sparc/sparc32/start.S: ... here.
9661 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9662 * sysdeps/sparc/sparc64/start.S: ... here.
9663 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9664 * sysdeps/sparc/sparc32/Makefile: ... this.
9665 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9666 * sysdeps/sparc/sparc64/Makefile: ... this.
9667
9668 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9669 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9670 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9671 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9672 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9673 * sysdeps/s390/s390-32/setjmp.S: ... here.
9674 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9675 * sysdeps/s390/s390-32/configure.in: ... here.
9676 * sysdeps/s390/s390-32/elf/configure: Delete file.
9677 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9678 * sysdeps/s390/s390-32/start.S: ... here.
9679
9680 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9681 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9682 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9683 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9684 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9685 * sysdeps/s390/s390-64/setjmp.S: ... here.
9686 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9687 * sysdeps/s390/s390-64/configure.in: ... here
9688 * sysdeps/s390/s390-64/elf/configure: Delete file.
9689 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9690 * sysdeps/s390/s390-64/start.S: ... here.
9691 * sysdeps/s390/s390-64/elf/configure: Delete.
9692
9693 * configure.in: Remove support for elf directories in sysdeps.
9694
9695 * configure: Regenerated.
9696 * sysdeps/i386/configure: Regenerated.
9697 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9698 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9699 * sysdeps/s390/s390-32/configure: Regenerated.
9700 * sysdeps/s390/s390-64/configure: Regenerated.
9701 * sysdeps/sh/configure: Regenerated.
9702 * sysdeps/sparc/configure: Regenerated.
9703 * sysdeps/x86_64/configure: Regenerated.
9704
a3f61311
AS
97052012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9706
c876e002
AS
9707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9708
a3f61311
AS
9709 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9710 denormal result into account.
9711
ac4c54f0
RM
97122012-03-25 Roland McGrath <roland@hack.frob.com>
9713
9714 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9715 Reported by Allan McRae <allan@archlinux.org>.
9716
6a9b9c02
JL
97172012-03-23 Jeff Law <law@redhat.com>
9718
9719 * nss/getnssent.c (__nss_getent): Fix typo.
9720
4c42a0c1
DM
97212012-03-23 David S. Miller <davem@davemloft.net>
9722
9723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9724
1532c7ac
L
97252012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9726
9727 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9728 to pad to uint64_t for each field.
9729 (dl_tls_index): Replace unsigned long with uint64_t.
9730
3ff42526
PP
97312012-03-23 Daniel Jacobowitz <dmj@google.com>
9732 Paul Pluzhnikov <ppluzhnikov@google.com>
9733
9734 [BZ #6528]
9735 * grp/Makefile (otherlibs): Don't set it.
9736 * inet/Makefile (otherlibs): Likewise.
9737 * login/Makefile (otherlibs): Likewise.
9738 * nscd/Makefile (otherlibs): Likewise.
9739 * posix/Makefile (otherlibs): Likewise.
9740 * pwd/Makefile (otherlibs): Likewise.
9741 * rt/Makefile (otherlibs): Likewise.
9742 * sunrpc/Makefile (otherlibs): Likewise.
9743 * nss/Makefile (otherlibs): Likewise.
9744 Add libnss_files to routines and static-only-routines.
9745 ($(objpfx)getent): Remove rule.
9746 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9747 static-only-routines.
9748
7c69cd14
JM
97492012-03-22 Joseph Myers <joseph@codesourcery.com>
9750
9751 [BZ #13892]
9752 * math/s_cexp.c: Include <float.h>.
9753 (__cexp): Handle exp result overflowing not necessarily
9754 overflowing both real and imaginary parts of result.
9755 * math/s_cexpf.c: Likewise.
9756 * math/s_cexpl.c: Likewise.
9757 * math/libm-test.inc (cexp_test): Add more tests.
9758 * sysdeps/i386/fpu/libm-test-ulps: Update.
9759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9760
81b035fe
L
97612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9762
9763 * include/link.h (ELFW): New macro.
9764 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9765 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9766
1da7940c
L
97672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9768
9769 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9770 with uint64_t.
9771
b749dbb9
L
97722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9773
9774 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9775 declaration.
9776 (struct La_x32_retval): Likewise.
9777
2ff87f3f
L
97782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9779
9780 * sysdeps/x86_64/preconfigure.in: New file.
9781 * sysdeps/x86_64/preconfigure: New generated file.
9782
c0df8e69
JM
97832012-03-22 Joseph Myers <joseph@codesourcery.com>
9784
48e44791
JM
9785 [BZ #13824]
9786 * math/e_exp2l.c: Include <float.h>.
9787 (__ieee754_exp2l): Handle overflow and underflow cases
9788 separately. Only pass fractional part of argument to
9789 __ieee754_expl.
9790 * math/libm-test.inc (exp2_test): Add more tests.
9791
c0df8e69
JM
9792 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9793 negating x to take absolute value.
9794 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9795 Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9797 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9798 Likewise.
9799 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9800 computing low part if x was negated.
9801 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9802
c8e43ba7
L
98032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9804
9805 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9806 la_x32_gnu_pltexit.
9807 (pltexit): Cast int_retval to ptrdiff_t.
9808 * elf/tst-auditmod3b.c: Likewise.
9809 * elf/tst-auditmod4b.c: Likewise.
9810 * elf/tst-auditmod5b.c: Likewise.
9811 * elf/tst-auditmod6b.c: Likewise.
9812 * elf/tst-auditmod6c.c: Likewise.
9813 * elf/tst-auditmod7b.c: Likewise.
9814
9815 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9816 and x32_gnu_pltexit.
9817
9818 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9819 __ELF_NATIVE_CLASS.
9820 (La_x32_regs): New macro.
9821 (La_x32_retval): Likewise.
9822 (la_x32_gnu_pltenter): New function prototype.
9823 (la_x32_gnu_pltexit): Likewise.
9824
7998fa78
AS
98252012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9826
dcb33988
AS
9827 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9828 exponent.
9829
233fc563
AS
9830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9831
7998fa78
AS
9832 * configure.in (libc_cv_cc_nofma): Check for option to disable
9833 generation of FMA instructions.
9834 * configure: Regenerate.
9835 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9836 * sysdeps/ieee754/dbl-64/Makefile: New file.
9837 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9838 Remove brandred-fma4.
9839 (CFLAGS-brandred-fma4.c): Remove.
9840 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9841 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9842 define.
9843 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9844 define.
9845
8e95c99a
L
98462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9847
9848 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9849 LLONG_MAX != LONG_MAX.
9850 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9851 (_fitoa_word): Likewise.
9852 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9853 LLONG_MAX != LONG_MAX.
9854 * stdio-common/_itowa.h: Include <_itoa.h>.
9855 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9856 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9857 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9858 only if not defined.
9859 (_ITOA_WORD_TYPE): Likewise.
9860 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9861 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9862
6f4db457
DM
98632012-03-21 David S. Miller <davem@davemloft.net>
9864
9865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9866
7785fe5a
L
98672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9868
9869 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9870 of x86_64 when setting libc_cv_slibdir, libdir and
9871 libc_cv_localedir.
9872 * sysdeps/unix/sysv/linux/configure: Regenerated.
9873
4535cd55
JM
98742012-03-21 Joseph Myers <joseph@codesourcery.com>
9875
9876 * manual/lang.texi (Old Varargs): Remove section.
9877 (How Variadic): Update menu.
9878 (va_start): Do not mention varargs.h.
9879
17228132
TS
98802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9881 Joseph Myers <joseph@codesourcery.com>
9882
9883 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9884 link test.
9885 * configure: Regenerated.
9886
8149f976
TS
98872012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9888
05f3d1f6
UD
9889 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9890 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9891 conformtest.pl
8149f976 9892
1a4ac776
JM
98932012-03-21 Joseph Myers <joseph@codesourcery.com>
9894
be22ce65
JM
9895 * NOTES: Remove.
9896 * Makefile (files-for-dist): Remove NOTES.
9897 (NOTES): Remove rule.
9898 * README: Don't refer to NOTES.
9899 * manual/creature.texi: Don't include macros.texi.
9900 * manual/intro.texi (creature.texi): Remove comment referring to
9901 NOTES.
9902
40b601fb
JM
9903 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9904 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9905 * configure: Regenerated.
9906 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9907 LIBC_TRY_CC_OPTION.
9908 (libc_cv_as_i686): Likewise.
9909 (libc_cv_cc_avx): Likewise.
9910 (libc_cv_cc_sse2avx): Likewise.
9911 (libc_cv_cc_fma4): Likewise.
9912 (libc_cv_cc_novzeroupper): Likewise.
9913 * sysdeps/i386/configure: Regenerated.
9914
1a4ac776
JM
9915 [BZ #13883]
9916 * sysdeps/i386/fpu/s_cexp.S: Remove.
9917 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9918 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9919 * math/libm-test.inc (cexp_test): Add more tests.
9920 * sysdeps/i386/fpu/libm-test-ulps: Update.
9921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9922
a458e7fe
AM
99232012-03-21 Allan McRae <allan@archlinux.org>
9924
9925 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9926
0cb7efc5
JM
99272012-03-21 Joseph Myers <joseph@codesourcery.com>
9928
9929 [BZ #13871]
9930 * math/w_exp2.c: Do not include <float.h>.
9931 (o_threshold, u_threshold): Remove.
9932 (__exp2): Calculate result before checking finiteness and calling
9933 __kernel_standard.
9934 * math/w_exp2f.c: Likewise.
9935 * math/w_exp2l.c: Likewise.
9936 * math/libm-test.inc (exp2_test): Require overflow exception for
9937 1e6 input.
2460d3aa
JM
9938
9939 [BZ #3866]
9940 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9941 range of signed 64-bit integers before using fistpll. Remove
9942 checks for whether integers fit in mantissa bits.
9943 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9944 the range of signed 32-bit integers before using fistpl. Remove
9945 checks for whether integers fit in mantissa bits.
9946 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9947 (__ieee754_powl): Test for y outside the range of signed 64-bit
9948 integers before using fistpll. Reduce 64-bit values to 63-bit
9949 ones as needed.
9950 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9951 divide-by-zero is raised for zero to large negative powers.
9952 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9953 (__ieee754_powl): Test for y outside the range of signed 64-bit
9954 integers before using fistpll. Reduce 64-bit values to 63-bit
9955 ones as needed.
9956 * math/libm-test.inc (pow_test): Add more tests.
9957
eb96ffb0
L
99582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9959
9960 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9961 <stdio-common/_itoa.h>.
9962 * debug/segfault.c: Likewise.
9963 * elf/dl-cache.c: Likewise.
9964 * elf/dl-minimal.c: Likewise.
9965 * elf/dl-misc.c: Likewise.
9966 * elf/dl-sysdep.c: Likewise.
9967 * elf/dl-version.c: Likewise.
9968 * elf/rtld.c: Likewise.
9969 * hurd/hurdsock.c: Likewise.
9970 * hurd/lookup-retry.c: Likewise.
9971 * malloc/malloc.c: Likewise.
9972 * malloc/mtrace.c: Likewise.
9973 * nscd/nscd_getgr_r.c: Likewise.
9974 * nscd/nscd_getpw_r.c: Likewise.
9975 * nscd/nscd_getserv_r.c: Likewise.
9976 * posix/getopt_init.c: Likewise.
9977 * posix/wordexp.c: Likewise.
9978 * stdio-common/_itoa.c: Likewise.
9979 * stdio-common/printf_fphex.c: Likewise.
9980 * stdio-common/vfprintf.c: Likewise.
9981 * string/_strerror.c: Likewise.
9982 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9983 * sysdeps/i386/i686/hp-timing.h: Likewise.
9984 * sysdeps/mach/_strerror.c: Likewise.
9985 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9986 * sysdeps/mach/hurd/sethostid.c: Likewise.
9987 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9988 * sysdeps/mach/xpg-strerror.c: Likewise.
9989 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9990 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9991 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9992 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9993 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9994 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9995 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9996 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9997 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9998 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9999 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10000 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10001 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10002 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10003 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10004 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10005 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10006 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10007 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10008 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10009 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10010
10011 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10012
10013 * stdio-common/_itoa.h: Moved to ...
10014 * sysdeps/generic/_itoa.h: Here.
10015
10016 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10017
10018 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10019 instead of "_itoa.h" and "_itowa.h".
10020 * stdio-common/vfprintf.: Likewise.
10021
d1af992d
L
100222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10023
10024 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10025 <bits/wordsize.h>.
10026 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10027 (__signbit): Likwise.
10028 (llrintf): Likwise.
10029 (llrint): Likwise.
10030
114883e0
L
100312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10032
10033 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10034 __WORDSIZE != 64.
10035
c135cc1b
JM
100362012-03-20 Joseph Myers <joseph@codesourcery.com>
10037
10038 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10039 OVERFLOW_EXCEPTION_OK.
10040 * math/libm-test.inc ("Philosophy"): Update comment about
10041 exception testing.
10042 (OVERFLOW_EXCEPTION): Define.
10043 (OVERFLOW_EXCEPTION_OK): Likewise.
10044 (INVALID_EXCEPTION_OK): Renumber.
10045 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10046 (IGNORE_ZERO_INF_SIGN): Likewise.
10047 (test_exceptions): Handle FE_OVERFLOW.
10048 (exp10_test): Expect overflow exceptions.
10049 (exp2_test): Likewise.
10050 (expm1_test): Likewise.
10051 (nextafter_test): Likewise.
10052 (pow_test): Likewise.
10053 (scalbn_test): Likewise.
10054 (scalbln_test): Likewise.
10055
95443d88
L
100562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10057
10058 * sysdeps/x86_64/bits/atomic.h
10059 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10060 64bit integer.
10061 (atomic_exchange_acq): Likewise.
10062 (__arch_exchange_and_add_body): Likewise.
10063 (__arch_add_body): Likewise.
10064 (atomic_add_negative): Likewise.
10065 (atomic_add_zero): Likewise.
10066
490df6c4
L
100672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10068
c2722551 10069 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10070 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10071
5e52b189
L
100722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10073
10074 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10075 Check __x86_64__ instead of __WORDSIZE.
10076
a9879d4c
L
100772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10078
10079 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10080
5df98260
DM
100812012-03-19 David S. Miller <davem@davemloft.net>
10082
e1497744
DM
10083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10084
5df98260
DM
10085 * sysdeps/sparc/fpu/fenv_private.h: New file.
10086 * sysdeps/sparc/fpu/math_private.h: Use it.
10087 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10088 Remove.
10089 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10090 (libc_feholdexcept_setroundl): Remove.
10091 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10092 Remove.
10093 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10094 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10095
b4c35121
L
100962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10097
10098 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10099 int64_t instead of long int.
10100 (INSERT_WORDS64): Likwise.
10101
56965fd7
L
101022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10103
10104 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10105 _Unwind_GetCFA return to _Unwind_Ptr first.
10106
83d1aec8
JM
101072012-03-19 Joseph Myers <joseph@codesourcery.com>
10108
1897ad44
JM
10109 [BZ #13629]
10110 * math/s_clog.c: Include <float.h>.
10111 (__clog): Scale large or subnormal inputs.
10112 * math/s_clogf.c: Likewise.
10113 * math/s_clogl.c: Likewise.
10114 * math/s_clog10.c: Include <float.h>.
10115 (M_LOG10_2): Define.
10116 (__clog10): Scale large or subnormal inputs.
10117 * math/s_clog10f.c: Likewise.
10118 * math/s_clog10l.c: Likewise.
10119 * math/libm-test.inc (clog_test): Add more tests.
10120 (clog10_test): Likewise.
10121 * sysdeps/i386/fpu/libm-test-ulps: Update.
10122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10123
7726d6a9
JM
10124 [BZ #11451]
10125 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10126 x and y.
10127 * math/libm-test.inc (atan2_test): Add another test.
10128
83d1aec8
JM
10129 * Makerules (common-objdir-compile): Remove.
10130 * sysdeps/unix/Makefile (config-generated): Do not add
10131 $(unix-generated) to variable.
10132 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10133 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10134 Remove rule.
10135 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10136 Likewise.
10137 [generic bits/local_lim.h] (before-compile): Do not append to
10138 variable.
10139 [generic bits/local_lim.h] (common-generated): Likewise.
10140 [generic sys/param.h] (before-compile): Do not append to variable.
10141 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10142 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10143 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10144 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10145 include.
10146 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10147 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10148 [generic sys/param.h] ($(addprefix
10149 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10150 [generic sys/param.h] (common-generated): Do not append to
10151 variable.
10152 [generic sys/param.h] (sysdep_headers): Likewise.
10153 [generic bits/errno.h] (before-compile): Do not append to
10154 variable.
10155 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10156 rule.
10157 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10158 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10159 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10160 [generic bits/errno.h] (common-generated): Do not append to
10161 variable.
10162 [generic bits/ioctls.h] (before-compile): Do not append to
10163 variable.
10164 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10165 rule.
10166 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10167 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10168 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10169 rule.
10170 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10171 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10172 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10173 [generic bits/ioctls.h] (common-generated): Do not append to
10174 variable.
10175 [generic sys/syscall.h] (syscall.h): Remove variable.
10176 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10177 rule.
10178 [generic sys/syscall.h] (before-compile): Do not append to
10179 variable.
10180 [generic sys/syscall.h] (common-generated): Likewise.
10181 * sysdeps/unix/errnos-tmpl.c: Remove file.
10182 * sysdeps/unix/errnos.awk: Likewise.
10183 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10184 * sysdeps/unix/ioctls.awk: Likewise.
10185 * sysdeps/unix/mk-local_lim.c: Likewise.
10186 * sysdeps/unix/snarf-ioctls: Likewise.
10187
4851a949
RH
101882012-03-19 Richard Henderson <rth@twiddle.net>
10189
bd37f2ee
RH
10190 * sysdeps/i386/fpu/fenv_private.h: New file.
10191 * sysdeps/i386/fpu/math_private.h: Use it.
10192 (math_opt_barrier, math_force_eval): Remove.
10193 (libc_feholdexcept_setround_53bit): Remove.
10194 (libc_feupdateenv_53bit): Remove.
10195 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10196 (math_opt_barrier, math_force_eval): Remove.
10197 (libc_feholdexcept): Remove.
10198 (libc_feholdexcept_setround): Remove.
10199 (libc_fetestexcept, libc_fesetenv): Remove.
10200 (libc_feupdateenv_test): Remove.
10201 (libc_feupdateenv, libc_feholdsetround): Remove.
10202 (libc_feresetround): Remove.
10203
d0adc922
RH
10204 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10205 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10206
0fe0f1f8
RH
10207 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10208 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10209 (libc_feupdateenv_testl): New.
10210 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10211 (libc_feupdateenv_testf): New.
10212 (libc_feupdateenv): Use libc_feupdateenv_test.
10213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10214 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10215
eb92c487
RH
10216 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10217 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10218 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10219 (libc_feresetround_noex): New.
10220 (libc_feresetround_noexf): New.
10221 (libc_feresetround_noexl): New.
10222 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10223 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10224 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10225 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10226 SET_RESTORE_ROUND.
10227 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10229 (__cos): Likewise.
10230 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10231 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10232 SET_RESTORE_ROUND_NOEX.
10233 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10234 SET_RESTORE_ROUND_NOEXF.
10235 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10236 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10237 (libc_feholdsetroundf): New.
10238 (libc_feresetround, libc_feresetroundf): New.
10239
7d2e8012
RH
10240 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10241 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10242 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10243
b4dabbb4
RH
10244 * sysdeps/generic/math_private.h: Include <fenv.h>.
10245 (default_libc_feholdexcept): New.
10246 (default_libc_feholdexcept_setround): New.
10247 (default_libc_fesetenv, default_libc_feupdateenv): New.
10248 (libc_feholdexcept): Only define if undefined.
10249 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10250 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10251 (libc_feholdexcept_setroundl): Likewise.
10252 (libc_feholdexcept_setround_53bit): Likewise.
10253 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10254 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10255 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10256 (libc_feupdateenv_53bit): Likewise.
10257 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10258 (libc_feholdexcept): Convert from macro to inline function.
10259 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10260 (libc_fesetenv, libc_feupdateenv): Likewise.
10261
4851a949
RH
10262 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10263 not previously defined.
10264 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10265 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10266 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10267 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10268 * sysdeps/ieee754/flt-32/math_private.h: New file.
10269 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10270 math_private.h below SET_FLOAT_WORD.
10271 (__isnan, __isinf_ns, __finite): Remove.
10272 (__isnanf, __isinf_nsf, __finitef): Remove.
10273
e79d442e
AS
102742012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10275
10276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10277
90b80344
DM
102782012-03-17 David S. Miller <davem@davemloft.net>
10279
10280 [BZ #6471]
10281 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10282 for 2.16.
10283
edc21804
DM
102842012-03-16 David S. Miller <davem@davemloft.net>
10285
77e927af
DM
10286 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10287 warnings.
10288
374976dd
DM
10289 [BZ #6471]
10290 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10291 properly.
10292 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10293 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10294 sysdep_routines when subdir is sysvipc.
10295 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10296 __getshmlba helper.
10297
edc21804
DM
10298 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10299
473c3ef3
L
103002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10301
10302 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10303 [__LP64__].
10304
eb0f39b6
L
103052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10306
10307 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10308 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10309 (__lround): Renamed to ...
10310 (__llround): This. Replace long int with long long int.
10311 Define lround functions as aliases of llround functions.
10312 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10313
6b6cd74b
L
103142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10315
10316 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10317 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10318 adresses to uintptr_t. Replace "long int" and "unsigned long
10319 int" with "greg_t" on va_arg.
10320
f1a77b01
L
103212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10322
10323 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10324 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10325
10326 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10327 Move e_machine check before EI_CLASS check. Handle x32
10328 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10329 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10330 SKIP_EM_IA_64 and include
10331 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10332
10333 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10334 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10335 (add_system_dir): New macro.
10336
10337 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10338 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10339
11b90b9f
JM
103402012-03-16 Joseph Myers <joseph@codesourcery.com>
10341
c36e1d23
JM
10342 [BZ #2551]
10343 [BZ #2552]
10344 [BZ #2553]
10345 [BZ #2554]
10346 [BZ #2562]
10347 [BZ #2563]
10348 [BZ #2565]
10349 [BZ #2566]
10350 [BZ #2576]
10351 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10352 (y0): Likewise.
10353 * math/w_j0f.c (j0f): Likewise.
10354 (y0f): Likewise.
10355 * math/w_j0l.c (__j0l): Likewise.
10356 (__y0l): Likewise.
10357 * math/w_j1.c (j1): Likewise.
10358 (y1): Likewise.
10359 * math/w_j1f.c (j1f): Likewise.
10360 (y1f): Likewise.
10361 * math/w_j1l.c (__j1l): Likewise.
10362 (__y1l): Likewise.
10363 * math/w_jn.c (jn): Likewise.
10364 (yn): Likewise.
10365 * math/w_jnf.c (jnf): Likewise.
10366 (ynf): Likewise.
10367 * math/w_jnl.c (__jnl): Likewise.
10368 (__ynl): Likewise.
10369 * math/libm-test.inc (j0_test): Add more tests.
10370 (j1_test): Likewise.
10371 (jn_test): Likewise. Add trailing semicolon to existing test.
10372 (y0_test): Likewise.
10373 (y1_test): Likewise.
10374 * sysdeps/i386/fpu/libm-test-ulps: Update.
10375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10376
11b90b9f
JM
10377 [BZ #13851]
10378 [BZ #13854]
10379 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10380 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10381 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10382 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10383 (__tanl): Set errno for infinite argument.
10384 * sysdeps/i386/fpu/mptan.c: Remove.
10385 * sysdeps/i386/fpu/s_tan.S: Likewise.
10386 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10387 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10388 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10389 * math/libm-test.inc (tan_test): Add more tests and enable more
10390 tests for double and long double.
10391 * sysdeps/i386/fpu/libm-test-ulps: Update.
10392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10393
6a1bd2a1
JK
103942012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10395
10396 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10397 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10398
10a803e0
RM
103992012-03-16 Roland McGrath <roland@hack.frob.com>
10400
10401 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10402 * configure.in: Use it for both main tree and add-ons.
10403 * configure: Regenerated.
10404
f196c7f7
L
104052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10406
10407 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10408
8848d99d
JM
104092012-03-16 Joseph Myers <joseph@codesourcery.com>
10410
96cbe7f4
JM
10411 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10412 in comment.
10413
8848d99d
JM
10414 [BZ #13851]
10415 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10416 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10417 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10418 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10419 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10420 infinite argument.
10421 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10422 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10423 != 0 for prec == 2.
10424 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10425 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10426 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10427 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10428 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10429 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10430 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10431 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10432 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10433 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10434 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10435 * math/libm-test.inc (cos_test): Add more tests and enable more
10436 tests for long double.
10437 (sin_test): Likewise.
10438 (sincos_test): Likewise.
10439 * sysdeps/i386/fpu/libm-test-ulps: Update.
10440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10441
dd7f4703
DM
104422012-03-16 David S. Miller <davem@davemloft.net>
10443
10444 * sysdeps/sparc/fpu/math_private.h: New file.
10445
006f1daa
DM
104462012-03-15 David S. Miller <davem@davemloft.net>
10447
c0c83bc8
DM
10448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10449 file.
e6a62e18 10450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10452 file.
e6a62e18
DM
10453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10459 sysdep routines.
10460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10461
88cb87d9
DM
10462 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10463 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10464
006f1daa 10465 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10467 sparc-ifunc.h
006f1daa 10468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10470 Likewise.
10471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10472 Likewise.
006f1daa
DM
10473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10477 Likewise.
006f1daa
DM
10478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10483 Likewise.
10484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10485 Likewise.
006f1daa
DM
10486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10492 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10493 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10502 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10504 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10505 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10506 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10507 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10508 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10509 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10510
11e0098e
AS
105112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10512
10513 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10514 scaling.
10515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10516
e85b09d0
AJ
105172012-03-15 Andreas Jaeger <aj@suse.de>
10518
10519 [BZ #13852]
10520 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10521 ieee754/flt-32 implementation for sin, cos and sincos.
10522 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10523 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10524 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10525 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10526 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10527 ieee754/flt-32 implementation for tan.
10528
10529 * math/libm-test.inc (cos_test): Enable some large input tests for
10530 float as well
10531 (sin_test): Likewise.
10532 (sincos_test): Likewise.
10533 (tan_test): Add tests for large input.
10534
10535 * sysdeps/i386/fpu/libm-test-ulps: Update.
10536
81c64153
AJ
105372012-03-15 Andreas Jaeger <aj@suse.de>
10538
10539 [BZ #13658]
10540 * math/libm-test.inc (cos_test): Add more test cases.
10541 (sin_test): Likewise.
10542 (sincos_test): Likewise.
10543
7bbfa5c6
AJ
105442012-03-15 Andreas Jaeger <aj@suse.de>
10545
10546 [BZ #13837]
10547 * math/libm-test.inc (cos_test): Add a test case for large input
10548 value.
10549 (sin_test): Likewise.
10550 (sincos_test): Likewise.
10551
105522012-03-15 Andreas Jaeger <aj@suse.de>,
10553 Joseph Myers <joseph@codesourcery.com>
10554
10555 [BZ #13658]
0671f479 10556 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10557 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10558 * sysdeps/i386/fpu/branred.c: Likewise.
10559 * sysdeps/i386/fpu/dosincos.c: Likewise.
10560 * sysdeps/i386/fpu/mpa.c: Likewise.
10561 * sysdeps/i386/fpu/s_cos.S: Likewise.
10562 * sysdeps/i386/fpu/s_sin.S: Likewise.
10563 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10564 * sysdeps/i386/fpu/sincos32.c: Likewise.
10565
10566 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10567 Define.
10568 (libc_feupdateenv_53bit): Define.
10569 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10570 Define.
10571 (libc_feupdateenv_53bit): Define.
10572
10573 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10574 53 bit (without extend i386 double precision).
10575
10576 * math/libm-test.inc (sincos_test): Add tests for large input.
10577 (sin): Likewise.
10578 (cos): Likewise.
10579
10580 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10581
9cad04ea
AS
105822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10583
10584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10585
f7062b9a
DM
105862012-03-15 David S. Miller <davem@davemloft.net>
10587
10588 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10589 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10590 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10591 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10604 file.
f7062b9a 10605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10607 file.
f7062b9a 10608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10610 file.
f7062b9a 10611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10613 file.
f7062b9a
DM
10614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10615 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10616 fmin/fmax sysdep routines.
10617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10618
7bd951ff
DM
106192012-03-14 David S. Miller <davem@davemloft.net>
10620
559398ab
DM
10621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10626 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10627 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10628 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10641 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10642 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10643 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10644 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10645 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10646 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10647 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10648 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10649 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10650 routines.
10651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10652 file.
559398ab 10653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10655 file.
559398ab 10656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10658 file.
559398ab 10659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10661 file.
559398ab 10662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10664 file.
559398ab 10665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10667 file.
10668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10669 file.
10670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10671 file.
10672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10673 file.
10674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10675 New file.
10676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10677 file.
10678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10679 file.
559398ab 10680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10682 file.
559398ab 10683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10685 file.
559398ab 10686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10688 file.
559398ab 10689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10691 VIS3 routines.
559398ab
DM
10692
10693 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10694 New file.
10695
5a1c1e32
DM
10696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10697
eae47a36
DM
10698 * sysdeps/sparc/configure.in: New file.
10699 * sysdeps/sparc/configure: Generate.
10700 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10701 * configure: Regenerate.
10702 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10703 * config.make.in (have-as-vis3): New.
10704 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10705 available use -Av9d instead of -Av9a.
10706 * sysdeps/sparc/sparc64/Makefile: Likewise.
10707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10709 New file.
10710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10711 file.
10712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10713 New file.
10714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10715 file.
eae47a36
DM
10716 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10717 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10718 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10721
c0c83bc8
DM
10722 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10723 fzeros/fnegs to load 0x80000000 into a float register instead of
10724 using the stack.
7bd951ff
DM
10725 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10726
bd951ccb
JM
107272012-03-14 Joseph Myers <joseph@codesourcery.com>
10728
10729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10730 bits/syscall.h.
10731 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10732 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10733 ($(inst_includedir)/bits/syscall.h): Remove rule.
10734 ($(objpfx)bits/syscall.d): Include instead of
10735 $(objpfx)syscall-list.d.
10736 (generated): Change syscall-list.h and syscall-list.d to
10737 bits/syscall.h and bits/syscall.d.
10738
bb4e6db2
RM
107392012-03-14 Roland McGrath <roland@hack.frob.com>
10740
10741 [BZ #13846]
10742 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10743
aa4a2ae1
JM
107442012-03-14 Joseph Myers <joseph@codesourcery.com>
10745
e456826d
JM
10746 [BZ #13841]
10747 * math/s_csqrt.c: Include <float.h>.
10748 (__csqrt): Scale large or subnormal inputs.
10749 * math/s_csqrtf.c: Likewise.
10750 * math/s_csqrtl.c: Likewise.
10751 * math/libm-test.inc (csqrt_test): Add more tests.
10752 * sysdeps/i386/fpu/libm-test-ulps: Update.
10753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10754
aa4a2ae1
JM
10755 [BZ #13840]
10756 * math/libm-test.inc (hypot_test): Add more tests.
10757
7c10fd35
DM
107582012-03-13 David S. Miller <davem@davemloft.net>
10759
10760 [BZ #13840]
10761 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10762 double-precision for the calculation instead of scaling.
10763
f453b98b
JM
107642012-03-13 Joseph Myers <joseph@codesourcery.com>
10765
10766 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10767 manipulate bits before adding and subtracting TWO52[sx].
10768 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10769 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10770 Likewise.
10771 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10772
09a3453f
DM
107732012-03-13 David S. Miller <davem@davemloft.net>
10774
8e59da90
DM
10775 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10776 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10778 rtld-global-offsets.h
10779 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10780
2a8ab7f2
DM
10781 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10782 large parameters.
10783
10f62770
DM
10784 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10785
5f0bdb18
DM
10786 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10787 'err' in the ifdef scope in which it is actually used.
10788
09a3453f
DM
10789 * nss/nss_db/db-init.c: Include string.h
10790
b4b2eb5e
DM
107912012-03-12 David S. Miller <davem@davemloft.net>
10792
98bb2f1c
DM
10793 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10794 masking out of the most significant byte of random value used.
10795 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10796 Fix coding style in previous change.
10797
b4b2eb5e
DM
10798 * sysdeps/unix/sysv/linux/kernel-features.h
10799 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10800 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10801 expression.
10802 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10803 later.
10804
6e226b09
DM
108052012-03-11 David S. Miller <davem@davemloft.net>
10806
a1bcbd40
DM
10807 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10808 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10809 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10810 for 'resultvar' otherwise things get truncated on 64-bit.
10811
cb9d6174
DM
10812 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10813 Fix masking out of the most significant byte of random value used.
10814
6e226b09
DM
10815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10816
058c132d
AS
108172012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10818
10819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10820
2d2cd515
DM
108212012-03-09 David S. Miller <davem@davemloft.net>
10822
10823 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10824 variables with appropriate CPP guards.
10825 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10826 frame pointer, not the stack pointer. Correct layout comments. Fix test
10827 on resulting framesize and the management of the outregs buffer for pltexit.
10828 Preserve floating point return values across _dl_call_pltexit call.
10829 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10830 framesize and the management of the outregs buffer for pltexit.
10831 Preserve floating point return values across _dl_call_pltexit
10832 call.
10833 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10834 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10835 (print_exit): Fix format string for return register value.
10836
9a07f9d0
JM
108372012-03-10 Joseph Myers <joseph@codesourcery.com>
10838
10839 * sunrpc/Makefile (others): Add rpcgen.
10840 ($(objpfx)rpcgen): Remove special build rule and dependency on
10841 libc.
10842 * sunrpc/rpcgen.c: New file.
10843
547b5e30
PE
108442012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10845
c524201a
PE
10846 [BZ #13673]
10847 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10848 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10849 * sysdeps/i386/crti.S: Likewise.
10850 * sysdeps/i386/crtn.S: Likewise.
10851 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10852 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10853 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10854 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10855 * sysdeps/sh/crti.S: Likewise.
10856 * sysdeps/sh/crtn.S: Likewise.
10857 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10858
7b6235f2
PE
10859 [BZ #13673]
10860 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10861 with URL.
10862 * locale/programs/locfile-kw.gperf: Likewise.
10863 * locale/programs/charmap-kw.h: Regenerated.
10864 * locale/programs/locfile-kw.h: Likewise.
10865
547b5e30
PE
10866 [BZ #13673]
10867 * intl/plural.y: Replace FSF snail mail address with URL.
10868 * intl/plural.c: Regenerated.
10869
5f0a5dae
RH
108702012-03-09 Richard Henderson <rth@twiddle.net>
10871
10872 * include/math_private.h: Remove file.
10873 * math/math_private.h: Move file ...
10874 * sysdeps/generic/math_private.h: ... here.
10875
b8c03620
RH
10876 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10877 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10878 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10879
4e234f5d 10880 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10881 and <math_private.h>.
10882 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10883 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10884 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10885 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10886 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10890 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10891 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10893 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10894 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10895 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10896 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10897 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10898 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10899 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10900 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10901 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10903 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10904 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10928 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10929 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10931 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10932 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10946 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10962 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10964 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10965 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10966 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10968 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10969 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10970 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10971 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10972 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10973 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10974 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10975 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10976 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10977 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10978 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10979 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10980 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10981 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10982 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10983 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10984 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10985 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10986 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10987 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10988 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10989 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10990 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10991 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10992 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10993 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10994 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10995 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10996 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10997 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10998 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10999 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11000 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11001 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11002 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11003 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11004 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11005 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11006 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11007 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11008 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11009 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11010 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11011 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11012 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11013 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11014 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11015 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11016 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11017 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11018 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11019 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11020 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11021 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11022 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11023 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11024 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11025 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11026 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11027 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11028 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11029 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11030 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11031 * sysdeps/ieee754/k_standard.c: Likewise.
11032 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11033 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11034 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11035 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11036 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11037 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11038 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11039 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11040 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11041 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11044 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11045 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11046 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11147 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11151 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11152 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11154 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11159 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11164 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11180 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11181 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11182 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11185 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11187 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11192 * sysdeps/ieee754/s_lib_version.c: Likewise.
11193 * sysdeps/ieee754/s_matherr.c: Likewise.
11194 * sysdeps/ieee754/s_signgam.c: Likewise.
11195 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11196 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11197 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11198 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11199 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11200 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11201 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11202 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11203 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11204 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11205 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11206 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11207 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11208 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11209 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11210 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11211 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11212 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11213 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11214 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11215 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11216
1991fa03
JM
112172012-03-09 Joseph Myers <joseph@codesourcery.com>
11218
11219 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11220 * sunrpc/rpc_main.c: Likewise.
11221 * sunrpc/rpc_svcout.c: Likewise.
11222
60d6f5a6
DM
112232012-03-09 David S. Miller <davem@davemloft.net>
11224
11225 * include/math_private.h: New file.
11226
4962050e
JM
112272012-03-09 Joseph Myers <joseph@codesourcery.com>
11228
02a6f887
JM
11229 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11230 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11231 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11232 from <bits/socket_type.h>.
11233 (enum __socket_type): Don't define here.
11234 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11235 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11236 bits/socket_type.h.
11237
c6e013c1
JM
11238 [BZ #13566]
11239 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11240 checking __USE_GNU.
11241
4962050e
JM
11242 * Makerules ($(inst_includedir)/%.h): New rule.
11243 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11244 (install-others): Remove variable setting.
11245 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11246
38842f45
RH
112472012-03-08 Richard Henderson <rth@twiddle.net>
11248
67bb6da6
RH
11249 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11250 from macro to inline function; merge with the
11251 !__LIBC_INTERNAL_MATH_INLINES version.
11252 (__ieee754_sqrtf): Likewise.
11253
15194b4b
RH
11254 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11255 to inline function.
11256 (__rintf, __floor, __floorf): Likewise.
11257
64e21ede
RH
11258 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11259 macro to inline function.
11260 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11261
38842f45
RH
11262 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11263 not <math/math_private.h>.
11264
c64bf5fe
DM
112652012-03-08 David S. Miller <davem@davemloft.net>
11266
11267 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11268 copyright year.
11269 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11270
82d86f28
TS
112712012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11272
11273 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11274 normalization.
11275 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11276 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11277
aea5d727
UD
112782012-03-08 Ulrich Drepper <drepper@gmail.com>
11279
11280 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11281 be defined individually, they must be defined as a block. Define
11282 S for printing a string instead of hidint the different by using a
11283 macro for adding the 'l'.
11284 * stdio-common/tst-fphex-wide.c: Adjust.
11285
70bca0a3
MP
112862012-03-07 Marek Polacek <polacek@redhat.com>
11287
11288 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11289
65b81130
MP
112902012-03-08 Marek Polacek <polacek@redhat.com>
11291
11292 [BZ #13806]
11293 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11294 * stdio-common/tst-fphex.c: Define a few macros to make the
11295 test reusable. Use them.
11296 * stdio-common/tst-fphex-wide.c: New file.
11297
07037eeb
JM
112982012-03-08 Joseph Myers <joseph@codesourcery.com>
11299
a7a93d50
JM
11300 [BZ #6911]
11301 * manual/macros.texi (gnusystems): New macro.
11302 (nongnusystems): Likewise.
11303 (gnulinuxhurdsystems): Likewise.
11304 (gnuhurdsystems): Likewise..
11305 (gnulinuxsystems): Likewise.
11306 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11307 variants of the GNU system, not "GNU system".
11308 * manual/conf.texi: Likewise.
11309 * manual/errno.texi: Likewise. Update example of errno macro
11310 expansion.
11311 * manual/filesys.texi: Likewise.
11312 (getumask): Document as specific to GNU/Hurd.
11313 * manual/install.texi: Likewise. Reword some references to
11314 GNU/Linux.
11315 * manual/intro.texi: Likewise.
11316 * manual/io.texi: Likewise.
11317 (File Name Portability): Detail which constraints are inapplicable
11318 to all GNU systems and which are only inapplicable to GNU/Hurd.
11319 * manual/job.texi: Likewise.
11320 * manual/llio.texi: Likewise.
11321 (O_NOCTTY): Document as present on GNU/Linux.
11322 * manual/maint.texi: Likewise.
11323 * manual/memory.texi: Likewise.
11324 * manual/pattern.texi: Likewise.
11325 * manual/pipe.texi: Likewise.
11326 * manual/process.texi: Likewise.
11327 * manual/resource.texi: Likewise.
11328 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11329 child on GNU/Hurd.
11330 * manual/setjmp.texi: Likewise.
11331 * manual/signal.texi: Likewise.
11332 * manual/startup.texi: Likewise.
11333 * manual/stdio.texi: Likewise.
11334 * manual/terminal.texi: Likewise.
11335 (ONLCR): Document as POSIX.
11336 (OXTABS): Document availability on GNU/Linux as XTABS.
11337 (ONOEOT): Document availability separately from other bits.
11338 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11339 * manual/time.texi: Likewise.
11340 * manual/users.texi: Likewise.
11341 * INSTALL: Regenerated.
11342 * sysdeps/gnu/errlist.c: Regenerated.
11343
07037eeb
JM
11344 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11345 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11346 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11347 puts.
11348 * configure: Regenerated.
11349
d1d3431a
JM
113502012-03-07 Joseph Myers <joseph@codesourcery.com>
11351
af6a1e37
JM
11352 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11353 default includes instead of AC_HEADER_CHECK.
11354 * sysdeps/i386/configure: Regenerated.
11355
d1d3431a
JM
11356 [BZ #10716]
11357 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11358 * math/s_cacoshf.c (__cacoshf): Likewise.
11359 * math/s_cacoshl.c (__cacoshl): Likewise.
11360 * math/s_casinh.c (__casinh): Set signs of result from argument.
11361 * math/s_casinhf.c (__casinhf): Likewise.
11362 * math/s_casinhl.c (__casinhl): Likewise.
11363 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11364 (casinh_test): Add more tests.
11365 * sysdeps/i386/fpu/libm-test-ulps: Update.
11366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11367
482ff4da
UD
113682012-03-07 Ulrich Drepper <drepper@gmail.com>
11369
872fda05
UD
11370 * po/zh_TW.po: Update from translation team.
11371
a4300c7a
UD
11372 * login/Makefile (distribute): Remove variable.
11373 * catgets/Makefile: Likewise.
11374 * mach/Makefile: Likewise.
11375 * malloc/Makefile: Likewise.
11376 * misc/Makefile: Likewise.
11377 * iconv/Makefile: Likewise.
11378 * nscd/Makefile: Likewise.
11379 * hurd/Makefile: Likewise.
11380 * manual/Makefile: Likewise.
11381 * locale/Makefile: Likewise.
11382 * intl/Makefile: Likewise.
11383 * conform/Makefile: Likewise.
11384 * nss/Makefile: Likewise.
11385 * time/Makefile: Likewise.
11386 * soft-fp/Makefile: Likewise.
11387 * dirent/Makefile: Likewise.
11388 * gmon/Makefile: Likewise.
11389 * po/Makefile: Likewise.
11390 * rt/Makefile: Likewise.
11391 * socket/Makefile: Likewise.
11392 * math/Makefile: Likewise.
11393 * signal/Makefile: Likewise.
11394 * debug/Makefile: Likewise.
11395 * elf/Makefile: Likewise.
11396 * timezone/Makefile: Likewise.
11397 * stdlib/Makefile: Likewise.
11398 * iconvdata/Makefile: Likewise.
11399 * sunrpc/Makefile: Likewise.
11400 * io/Makefile: Likewise.
11401 * argp/Makefile: Likewise.
11402 * inet/Makefile: Likewise.
11403 * hesiod/Makefile: Likewise.
11404 * grp/Makefile: Likewise.
11405 * csu/Makefile: Likewise.
11406 * wctype/Makefile: Likewise.
11407 * crypt/Makefile: Likewise.
11408 * libio/Makefile: Likewise.
11409 * string/Makefile: Likewise.
11410 * nis/Makefile: Likewise.
11411 * resolv/Makefile: Likewise.
11412 * stdio-common/Makefile: Likewise.
11413 * wcsmbs/Makefile: Likewise.
11414 * dlfcn/Makefile: Likewise.
11415 * posix/Makefile: Likewise.
11416
3b7c4e74 11417 [BZ #6959]
482ff4da
UD
11418 * timezone/Makefile: Don't install timezone files, just the programs
11419 and scripts.
11420
f72ed77d
UD
114212012-03-06 Ulrich Drepper <drepper@gmail.com>
11422
a000466f
UD
11423 * nss/databases.def: Add missing gshadow entry.
11424
f72ed77d
UD
11425 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11426
a53b7a4e
MP
114272012-03-06 Marek Polacek <polacek@redhat.com>
11428
11429 [BZ #13726]
11430 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11431 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11432 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11433 * stdio-common/tst-long-dbl-fphex.c: New file.
11434
e9258400
DM
114352012-03-06 David S. Miller <davem@davemloft.net>
11436
11437 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11438 (set_obp_int): New function.
11439 (get_obp_int): New function.
11440 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11441 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11442 Avoid unused variable warnings on 'val' and use builtin_expect.
11443 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11444 __builtin_expect.
e9258400
DM
11445 (INLINE_CLONE_SYSCALL): Likewise.
11446
3bd2c723
DM
114472012-03-05 David S. Miller <davem@davemloft.net>
11448
11449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11450
bbb78d03
AS
114512012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11452
884c5db4
AS
11453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11454
bbb78d03
AS
11455 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11456 only for |x| >= 40.
11457 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11458
1c9f702a 114592012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11460
11461 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11462 Replace gettimeofday with __vdso_gettimeofday.
11463
7be16f82
RM
11464 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11465 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11466 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11467
11468 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11469 time with __vdso_time.
11470
ed58a00f
JM
114712012-03-05 Joseph Myers <joseph@codesourcery.com>
11472
11473 * manual/lang.texi (size_t): Note types to which size_t may be
11474 equivalent with the GNU C Library, but do not describe when
11475 differences between them are significant.
11476
30ee4ced
AJ
114772012-03-05 Andreas Jaeger <aj@suse.de>
11478
11479 * sysdeps/i386/fpu/libm-test-ulps: Update.
11480
b7cd39e8
JM
114812012-03-05 Joseph Myers <joseph@codesourcery.com>
11482
11483 [BZ #3976]
11484 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11485 (__ieee754_pow): Save and restore rounding mode and use
11486 round-to-nearest for main computations.
11487 * math/libm-test.inc (pow_test_tonearest): New function.
11488 (pow_test_towardzero): Likewise.
11489 (pow_test_downward): Likewise.
11490 (pow_test_upward): Likewise.
11491 (main): Call the new functions.
11492 * sysdeps/i386/fpu/libm-test-ulps: Update.
11493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11494
11495 [BZ #3976]
11496 * math/libm-test.inc (cosh_test_tonearest): New function.
11497 (cosh_test_towardzero): Likewise.
11498 (cosh_test_downward): Likewise.
11499 (cosh_test_upward): Likewise.
11500 (sinh_test_tonearest): Likewise.
11501 (sinh_test_towardzero): Likewise.
11502 (sinh_test_downward): Likewise.
11503 (sinh_test_upward): Likewise.
11504 (main): Call the new functions.
11505 * sysdeps/i386/fpu/libm-test-ulps: Update.
11506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11507
6c6a98c9
TV
115082012-03-05 Tom de Vries <tom@codesourcery.com>
11509
11510 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11511 default stack guard is set in last bytes.
11512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11513
21bb2d2e 115142012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11515
21bb2d2e 11516 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11517
21bb2d2e
AJ
11518 [BZ #13656]
11519 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11520 possibly allocate from heap instead of stack.
11521 * stdio-common/bug-vfprintf-nargs.c: New file.
11522 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11523
c6922934
AS
115242012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11525
11526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11527
bc957d53
MP
115282012-03-03 Marek Polacek <polacek@redhat.com>
11529
11530 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11531 * math/math_private.h: Likewise.
11532 * stdlib/tst-strtod.c: Likewise.
11533 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11534 * sysdeps/x86_64/bits/atomic.h: Likewise.
11535
6358490d
DM
115362012-03-02 David S. Miller <davem@davemloft.net>
11537
11538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11542 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11543 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11544 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11545 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11546
01ae168d
RM
115472012-03-02 Roland McGrath <roland@hack.frob.com>
11548
d9a17c07
RM
11549 [BZ #13792]
11550 * manual/examples/README: New file, says the example source files
11551 can be used under GPL>=2.
11552 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11553 line containing just "*/".
11554 * manual/examples/add.c: Add copyright header (GPL>=2).
11555 * manual/examples/argp-ex1.c: Likewise.
11556 * manual/examples/argp-ex2.c: Likewise.
11557 * manual/examples/argp-ex3.c: Likewise.
11558 * manual/examples/argp-ex4.c: Likewise.
11559 * manual/examples/atexit.c: Likewise.
11560 * manual/examples/db.c: Likewise.
11561 * manual/examples/dir.c: Likewise.
11562 * manual/examples/dir2.c: Likewise.
11563 * manual/examples/execinfo.c: Likewise.
11564 * manual/examples/filecli.c: Likewise.
11565 * manual/examples/filesrv.c: Likewise.
11566 * manual/examples/fmtmsgexpl.c: Likewise.
11567 * manual/examples/genpass.c: Likewise.
11568 * manual/examples/inetcli.c: Likewise.
11569 * manual/examples/inetsrv.c: Likewise.
11570 * manual/examples/isockad.c: Likewise.
11571 * manual/examples/longopt.c: Likewise.
11572 * manual/examples/memopen.c: Likewise.
11573 * manual/examples/memstrm.c: Likewise.
11574 * manual/examples/mkfsock.c: Likewise.
11575 * manual/examples/mkisock.c: Likewise.
11576 * manual/examples/mygetpass.c: Likewise.
11577 * manual/examples/pipe.c: Likewise.
11578 * manual/examples/popen.c: Likewise.
11579 * manual/examples/rprintf.c: Likewise.
11580 * manual/examples/search.c: Likewise.
11581 * manual/examples/select.c: Likewise.
11582 * manual/examples/setjmp.c: Likewise.
11583 * manual/examples/sigh1.c: Likewise.
11584 * manual/examples/sigusr.c: Likewise.
11585 * manual/examples/stpcpy.c: Likewise.
11586 * manual/examples/strdupa.c: Likewise.
11587 * manual/examples/strftim.c: Likewise.
11588 * manual/examples/strncat.c: Likewise.
11589 * manual/examples/subopt.c: Likewise.
11590 * manual/examples/swapcontext.c: Likewise.
11591 * manual/examples/termios.c: Likewise.
11592 * manual/examples/testopt.c: Likewise.
11593 * manual/examples/testpass.c: Likewise.
11594 * manual/examples/timeval_subtract.c: Likewise.
11595
01ae168d
RM
11596 [BZ #13792]
11597 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11598 function to ...
11599 * manual/timeval_subtract.c.texi: ... here, new file.
11600
49efa33d
DM
116012012-03-02 David S. Miller <davem@davemloft.net>
11602
11603 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11604
28afd92d
JM
116052012-03-02 Joseph Myers <joseph@codesourcery.com>
11606
804360ed
JM
11607 [BZ #3976]
11608 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11609 (__sin): Save and restore rounding mode and use round-to-nearest
11610 for all computations.
11611 (__cos): Save and restore rounding mode and use round-to-nearest
11612 for all computations.
11613 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11614 <fenv.h>.
11615 (tan): Save and restore rounding mode and use round-to-nearest for
11616 all computations.
11617 * math/libm-test.inc (cos_test_tonearest): New function.
11618 (cos_test_towardzero): Likewise.
11619 (cos_test_downward): Likewise.
11620 (cos_test_upward): Likewise.
11621 (sin_test_tonearest): Likewise.
11622 (sin_test_towardzero): Likewise.
11623 (sin_test_downward): Likewise.
11624 (sin_test_upward): Likewise.
11625 (tan_test_tonearest): Likewise.
11626 (tan_test_towardzero): Likewise.
11627 (tan_test_downward): Likewise.
11628 (tan_test_upward): Likewise.
11629 (main): Call the new functions.
11630 * sysdeps/i386/fpu/libm-test-ulps: Update.
11631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11632
a6d06d7b
JM
11633 [BZ #10135]
11634 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11635 small n, then large n, before computing and testing k+n.
11636 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11637 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11638 Likewise.
11639 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11640 Likewise.
11641 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11642 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11643 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11644 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11645 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11646 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11647 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11648 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11649 * math/libm-test.inc (scalbn_test): Add more tests.
11650 (scalbln_test): Likewise.
11651
07e12bb3
JM
11652 * manual/filesys.texi (mode_t): Describe constraints on size and
11653 signedness, not exact equivalence to a particular type.
11654 (ino_t): Likewise.
11655 (ino64_t): Likewise.
11656 (dev_t): Likewise.
11657 (nlink_t): Likewise.
11658 (blkcnt_t): Likewise.
11659 (blkcnt64_t): Likewise.
11660 * manual/llio.texi (off_t): Likewise.
11661
28afd92d
JM
11662 [BZ #3976]
11663 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11664 (__ieee754_exp): Save and restore rounding mode and use
11665 round-to-nearest for all computations.
11666 * math/libm-test.inc (exp_test_tonearest): New function.
11667 (exp_test_towardzero): Likewise.
11668 (exp_test_downward): Likewise.
11669 (exp_test_upward): Likewise.
11670 (main): Call the new functions.
11671 * sysdeps/i386/fpu/libm-test-ulps: Update.
11672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11673
b1eeb65d
CD
116742012-03-01 Chris Demetriou <cgd@google.com>
11675
11676 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11677 have predictable order.
11678
53362a4b
DM
116792012-03-01 David S. Miller <davem@davemloft.net>
11680
3c969083
DM
11681 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11682
759707de
DM
11683 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11684 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11685 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11686 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11687
dfdb8ff2
DM
11688 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11689 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11690 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11692 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11693 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11694 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11695 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11696 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11697
ead89f96
DM
11698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11699
7f66bd07
DM
11700 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11701 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11702 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11703
53362a4b
DM
11704 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11705 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11706 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11707 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11708 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11709 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11710 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11711 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11712 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11713 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11714 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11715 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11716 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11717 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11718 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11719 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11720 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11721 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11722 * sysdeps/sparc/elf/configure: Regenerated.
11723
7b1902cb
JM
117242012-03-01 Joseph Myers <joseph@codesourcery.com>
11725
bec039bc
JM
11726 * configure.in (AS, LD): Require binutils 2.20 or later.
11727 * configure: Regenerated.
11728 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11729 as required minimum version.
11730 * INSTALL: Regenerated.
11731
7b1902cb
JM
11732 [BZ #2541]
11733 [BZ #4108]
11734 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11735 before squaring exponent.
11736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11737 bottom long double and 27 bits of top long double before squaring
11738 exponent.
11739 * math/libm-test.inc (erfc_test): Add more tests.
11740 * sysdeps/i386/fpu/libm-test-ulps: Update.
11741 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11743
f775c276
KT
117442012-03-01 Kai Tietz <ktietz@redhat.com>
11745
11746 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11747 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11748 containing bit-fields.
11749 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11750 * soft-fp/single.h (_FP_UNION_S): Likewise.
11751 * soft-fp/double.h (_FP_UNION_D): Likewise.
11752
5b8a4d4a
JM
117532012-02-29 Joseph Myers <joseph@codesourcery.com>
11754
0bab47b6
JM
11755 [BZ #13786]
11756 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11757 not include ../strcmp.S.
11758 [USE_AS_STRNCASECMP_L]: Likewise.
11759 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11760 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11761 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11762 (__strncasecmp_l_ia32): Define as alias to
11763 __strncasecmp_l_nonascii.
11764
0fcad3e2
JM
11765 [BZ #5794]
11766 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11767 * sysdeps/i386/fpu/libm-test-ulps: Update.
11768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11769
5b8a4d4a
JM
11770 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11772
8fdceb2e
JL
117732012-02-29 Jeff Law <law@redhat.com>
11774
11775 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11776 out of bounds read.
11777
1f393a11
MP
117782012-02-29 Marek Polacek <polacek@redhat.com>
11779
11780 [BZ #13706]
11781 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11782 * elf/Makefile: Add rules to run tst-unused-dep.out.
11783
8847f037
DM
117842012-02-28 David S. Miller <davem@davemloft.net>
11785
11786 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11787 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11788 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11789 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11790 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11791 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11792
169d7f11
JM
117932012-02-29 Joseph Myers <joseph@codesourcery.com>
11794
11795 * math/libm-test.inc (llround_test): Move one test from
11796 lround_test. Use TEST_f_L in moved test.
11797 (lround_test): Move misplaced test to llround_test. Add testcase
11798 from bug 2561.
11799
39adf059
UD
118002012-02-28 Ulrich Drepper <drepper@gmail.com>
11801
11802 * sysdeps/x86_64/fpu/e_expf.S: New file.
11803 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11804
71b5d1c5
SB
118052012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11806
11807 [BZ #13637]
11808 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11809 of remain_len that may cause incomplete multi-byte character and
11810 false match.
11811 * posix/bug-regex33.c: New file.
11812 * posix/Makefile (tests): Add bug-regex33.
11813
1f77f049
JM
118142012-02-28 Joseph Myers <joseph@codesourcery.com>
11815
11816 * manual/macros.texi: New file.
11817 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11818 * manual/libc.texinfo: Include macros.texi.
11819 * manual/creatute.texi: Likewise.
11820 * manual/install.texi: Likewise.
11821 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11822 @glibcadj{} in references to the GNU C Library.
11823 * manual/charset.texi: Likewise.
11824 * manual/conf.texi: Likewise.
11825 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11826 when not using those macros.
11827 * manual/creature.texi: Likewise.
11828 * manual/crypt.texi: Likewise.
11829 * manual/errno.texi: Likewise.
11830 * manual/filesys.texi: Likewise.
11831 * manual/header.texi: Likewise.
11832 * manual/install.texi: Likewise.
11833 * manual/intro.texi: Likewise.
11834 * manual/io.texi: Likewise.
11835 * manual/job.texi: Likewise.
11836 * manual/lang.texi: Likewise.
11837 * manual/libc.texiinfo: Likewise.
11838 * manual/llio.texi: Likewise.
11839 * manual/locale.texi: Likewise.
11840 * manual/maint.texi: Likewise.
11841 * manual/math.texi: Likewise.
11842 * manual/memory.texi: Likewise.
11843 * manual/message.texi: Likewise.
11844 * manual/nss.texi: Likewise.
11845 * manual/pattern.texi: Likewise.
11846 * manual/process.texi: Likewise.
11847 * manual/resource.texi: Likewise.
11848 * manual/search.texi: Likewise.
11849 * manual/setjmp.texi: Likewise.
11850 * manual/signal.texi: Likewise.
11851 * manual/socket.texi: Likewise.
11852 * manual/startup.texi: Likewise.
11853 * manual/stdio.texi: Likewise.
11854 * manual/string.texi: Likewise.
11855 * manual/sysinfo.texi: Likewise.
11856 * manual/syslog.texi: Likewise.
11857 * manual/terminal.texi: Likewise.
11858 * manual/time.texi: Likewise.
11859 * manual/users.texi: Likewise.
11860 * INSTALL: Regenerated.
11861 * NOTES: Regenerated.
d40c5d54 11862 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11863
450bf206
AS
118642012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11865
11866 * include/dirent.h: Include <dirstream.h> before
11867 <dirent/dirent.h>.
11868
741a235b
DM
118692012-02-28 David S. Miller <davem@davemloft.net>
11870
11871 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11872 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11873 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11874 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11875
d6b5aa58
DM
118762012-02-27 David S. Miller <davem@davemloft.net>
11877
1aff59a3
DM
11878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11880 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11881 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11882
d6b5aa58
DM
11883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11884 frame pointer instead of stack pointer relative arg slot.
11885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11886 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11887 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11888
433f48bf
CD
118892012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11890
11891 [BZ #3992]
11892 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11893
d674b76d
DM
118942012-02-27 David S. Miller <davem@davemloft.net>
11895
11896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11900 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11901 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11902 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11903 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11904
0e7727f7
JM
119052012-02-27 Joseph Myers <joseph@codesourcery.com>
11906
11907 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11908 later. Allow versions 5-9.
43be4ca2 11909 * configure: Regenerated.
0e7727f7
JM
11910 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11911 required minimum version and 4.6 as recommended version. Do not
11912 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11913 * INSTALL: Regenerated.
0e7727f7 11914
a78bc654
DM
119152012-02-27 David S. Miller <davem@davemloft.net>
11916
428d5830
DM
11917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11921 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11922 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11923 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11924 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11925
a78bc654
DM
11926 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11927 manipulate bits before adding and subtracting TWO112[sx].
11928 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11929
4579f81c
RM
119302012-02-27 Roland McGrath <roland@hack.frob.com>
11931
36c8acb4
RM
11932 [BZ #13775]
11933 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11934 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11935 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11936 being in POSIX, because they are in 1003.1-2008.
11937
84ad622b
RM
11938 * rt/tst-aio.c: Include <fcntl.h>.
11939 * rt/tst-aio7.c: Likewise.
11940 * rt/tst-aio64.c: Likewise.
11941
4579f81c
RM
11942 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11943
abd923db
JM
119442012-02-27 Joseph Myers <joseph@codesourcery.com>
11945
11946 * manual/install.texi (--with-headers): Describe headers as
11947 interface headers, not private headers.
11948 (Specific advice for GNU/Linux systems): Describe use of headers
11949 from "make headers_install", not private headers from older
11950 kernels.
43be4ca2 11951 * INSTALL: Regenerated.
abd923db
JM
11952 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11953 Change to 2.6.19.
11954 * sysdeps/unix/sysv/linux/configure: Regenerated.
11955
6664049b
JM
11956 * manual/llio.texi (fclean): Remove documentation.
11957
bb8b6697
JM
11958 * manual/Makefile (libc-texi-generated): New variable. Include
11959 version.texi.
11960 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11961 $(libc-texi-generated), not duplicated list of files.
11962 (version.texi, stamp-version): New rules.
11963 (realclean): Remove $(libc-texi-generated), not individual files
11964 from that list. Do not remove dir-add.texinfo.
11965 * manual/libc.texinfo: Comment out uses of edition numbers and
11966 references to printed manual. Remove last-updated dates.
11967 (EDITION): Comment out.
11968 (ISBN): Likewise.
11969 (VERSION, UPDATED): Remove.
11970 (version.texi): Include.
11971
12e5c3b9
AS
119722012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11973
11974 * sysdeps/posix/spawni.c: Include <signal.h>.
11975 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11976 * sysdeps/pthread/aio_fsync.c: Likewise.
11977
4efeffc1 119782012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11979
ba63ba08
UD
11980 * conform/Makefile (tests): Run only when not cross-compiling and
11981 when fast-check is not defined.
11982
d94a4670
UD
11983 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11984 * conform/data/limits.h-data: Fixes for POSIX2008.
11985 * conform/run-conformtest.sh: Run all tests.
11986 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11987 headers.
11988 * include/bits/dlfcn.h: Likewise.
11989 * include/langinfo.h: Likewise.
11990 * include/monetary.h: Likewise.
11991 * include/sys/poll.h: Likewise.
11992
11993 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11994 for __USE_GNU.
11995 * posix/spawn.h: Define __need_sigset_t.
11996 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11997 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11998 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11999 to get sigevent_t only.
12000 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12001 only for __USE_GNU.
12002 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12003 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12004 process_vm_writev only for __USE_GNU.
12005 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12006
12007 * conform/Makefile: For now ignore errors from run-conformtest.
12008 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12009 POSIX to avoid namespace pollution. Don't prepend headers.
12010 * conform/data/aio.h-data: Fixes for POSIX testing.
12011 * conform/data/fcntl.h-data: Likewise.
12012 * conform/data/glob.h-data: Likewise.
12013 * conform/data/grp.h-data: Likewise.
12014 * conform/data/pthread.h-data: Likewise.
12015 * conform/data/pwd.h-data: Likewise.
12016 * conform/data/signal.h-data: Likewise.
12017 * conform/data/spawn.h-data: Likewise.
12018 * conform/data/stdio.h-data: Likewise.
12019 * conform/data/stdlib.h-data: Likewise.
12020 * conform/data/stropts.h-data: Likewise.
12021 * conform/data/sys/mman.h-data: Likewise.
12022 * conform/data/sys/stat.h-data: Likewise.
12023 * conform/data/sys/types.h-data: Likewise.
12024 * conform/data/sys/wait.h-data: Likewise.
12025 * conform/data/time.h-data: Likewise.
12026 * conform/data/unistd.h-data: Likewise.
12027 * conform/data/utime.h-data: Likewise.
12028
12029 * io/sys/stat.h: fchmod was always in POSIX.
12030 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12031 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12032 * rt/aio.h: Define __need_timespec before including <time.h>.
12033 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12034 struct. Add forward declaration of pthread_attr_t and use it in
12035 sigevent.
12036 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12037 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12038 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12039 always remove CLK_TCK definition.
12040
c20105c3
AS
120412012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12042
12043 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12044
7a270350
UD
120452012-02-25 Ulrich Drepper <drepper@gmail.com>
12046
31341567
UD
12047 * conform/run-conformtest.sh: New file.
12048 * conform/Makefile: Run run-conformtest for tests.
12049 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12050 support.
12051
12052 * conform/data/uchar.h-data: New file.
12053 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12054 * conform/data/arpa/inet.h-data: Likewise.
12055 * conform/data/assert.h-data: Likewise.
12056 * conform/data/complex.h-data: Likewise.
12057 * conform/data/cpio.h-data: Likewise.
12058 * conform/data/ctype.h-data: Likewise.
12059 * conform/data/dirent.h-data: Likewise.
12060 * conform/data/dlfcn.h-data: Likewise.
12061 * conform/data/errno.h-data: Likewise.
12062 * conform/data/fcntl.h-data: Likewise.
12063 * conform/data/float.h-data: Likewise.
12064 * conform/data/fmtmsg.h-data: Likewise.
12065 * conform/data/fnmatch.h-data: Likewise.
12066 * conform/data/ftw.h-data: Likewise.
12067 * conform/data/glob.h-data: Likewise.
12068 * conform/data/grp.h-data: Likewise.
12069 * conform/data/iconv.h-data: Likewise.
12070 * conform/data/inttypes.h-data: Likewise.
12071 * conform/data/langinfo.h-data: Likewise.
12072 * conform/data/libgen.h-data: Likewise.
12073 * conform/data/limits.h-data: Likewise.
12074 * conform/data/locale.h-data: Likewise.
12075 * conform/data/math.h-data: Likewise.
12076 * conform/data/monetary.h-data: Likewise.
12077 * conform/data/mqueue.h-data: Likewise.
12078 * conform/data/ndbm.h-data: Likewise.
12079 * conform/data/net/if.h-data: Likewise.
12080 * conform/data/netdb.h-data: Likewise.
12081 * conform/data/netinet/in.h-data: Likewise.
12082 * conform/data/nl_types.h-data: Likewise.
12083 * conform/data/poll.h-data: Likewise.
12084 * conform/data/pthread.h-data: Likewise.
12085 * conform/data/pwd.h-data: Likewise.
12086 * conform/data/regex.h-data: Likewise.
12087 * conform/data/sched.h-data: Likewise.
12088 * conform/data/search.h-data: Likewise.
12089 * conform/data/semaphore.h-data: Likewise.
12090 * conform/data/setjmp.h-data: Likewise.
12091 * conform/data/signal.h-data: Likewise.
12092 * conform/data/spawn.h-data: Likewise.
12093 * conform/data/stdarg.h-data: Likewise.
12094 * conform/data/stdio.h-data: Likewise.
12095 * conform/data/stdlib.h-data: Likewise.
12096 * conform/data/string.h-data: Likewise.
12097 * conform/data/strings.h-data: Likewise.
12098 * conform/data/stropts.h-data: Likewise.
12099 * conform/data/sys/ipc.h-data: Likewise.
12100 * conform/data/sys/mman.h-data: Likewise.
12101 * conform/data/sys/msg.h-data: Likewise.
12102 * conform/data/sys/resource.h-data: Likewise.
12103 * conform/data/sys/select.h-data: Likewise.
12104 * conform/data/sys/sem.h-data: Likewise.
12105 * conform/data/sys/shm.h-data: Likewise.
12106 * conform/data/sys/socket.h-data: Likewise.
12107 * conform/data/sys/stat.h-data: Likewise.
12108 * conform/data/sys/statvfs.h-data: Likewise.
12109 * conform/data/sys/time.h-data: Likewise.
12110 * conform/data/sys/timeb.h-data: Likewise.
12111 * conform/data/sys/times.h-data: Likewise.
12112 * conform/data/sys/types.h-data: Likewise.
12113 * conform/data/sys/uio.h-data: Likewise.
12114 * conform/data/sys/un.h-data: Likewise.
12115 * conform/data/sys/utsname.h-data: Likewise.
12116 * conform/data/sys/wait.h-data: Likewise.
12117 * conform/data/syslog.h-data: Likewise.
12118 * conform/data/tar.h-data: Likewise.
12119 * conform/data/termios.h-data: Likewise.
12120 * conform/data/utime.h-data: Likewise.
12121 * conform/data/utmpx.h-data: Likewise.
12122 * conform/data/varargs.h-data: Likewise.
12123 * conform/data/wchar.h-data: Likewise.
12124 * conform/data/wctype.h-data: Likewise.
12125 * conform/data/wordexp.h-data: Likewise.
12126
12127 * include/stropts.h: New file.
12128 * include/uchar.h: New file.
12129 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12130 * include/assert.h: Likewise.
12131 * include/ctype.h: Likewise.
12132 * include/dirent.h: Likewise.
12133 * include/dlfcn.h: Likewise.
12134 * include/fcntl.h: Likewise.
12135 * include/fnmatch.h: Likewise.
12136 * include/glob.h: Likewise.
12137 * include/grp.h: Likewise.
12138 * include/libio.h: Likewise.
12139 * include/locale.h: Likewise.
12140 * include/math.h: Likewise.
12141 * include/net/if.h: Likewise.
12142 * include/netdb.h: Likewise.
12143 * include/netinet/in.h: Likewise.
12144 * include/pthread.h: Likewise.
12145 * include/pwd.h: Likewise.
12146 * include/regex.h: Likewise.
12147 * include/sched.h: Likewise.
12148 * include/search.h: Likewise.
12149 * include/setjmp.h: Likewise.
12150 * include/signal.h: Likewise.
12151 * include/stdio.h: Likewise.
12152 * include/stdlib.h: Likewise.
12153 * include/string.h: Likewise.
12154 * include/sys/cdefs.h: Likewise.
12155 * include/sys/mman.h: Likewise.
12156 * include/sys/msg.h: Likewise.
12157 * include/sys/resource.h: Likewise.
12158 * include/sys/select.h: Likewise.
12159 * include/sys/socket.h: Likewise.
12160 * include/sys/stat.h: Likewise.
12161 * include/sys/statvfs.h: Likewise.
12162 * include/sys/time.h: Likewise.
12163 * include/sys/times.h: Likewise.
12164 * include/sys/uio.h: Likewise.
12165 * include/sys/utsname.h: Likewise.
12166 * include/sys/wait.h: Likewise.
12167 * include/termios.h: Likewise.
12168 * include/time.h: Likewise.
12169 * include/ulimit.h: Likewise.
12170 * include/unistd.h: Likewise.
12171 * include/utime.h: Likewise.
12172 * include/wchar.h: Likewise.
12173 * include/wctype.h: Likewise.
12174 * include/wordexp.h: Likewise.
12175
12176 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12177
7a270350
UD
12178 * time/time.h: TIME_UTC must be a macro.
12179 Make timespec_get available for ISO C11 only as well.
12180
7724defc
UD
121812012-02-24 Ulrich Drepper <drepper@gmail.com>
12182
12183 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12184 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12185
6b1d1d46
JM
121862012-02-24 Joseph Myers <joseph@codesourcery.com>
12187
12188 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12189
0f8bbd69
JM
121902012-02-24 Joseph Myers <joseph@codesourcery.com>
12191
12192 * manual/texinfo.tex: Update to version 2012-01-19.16.
12193
66ab80bc
JM
121942012-02-24 Joseph Myers <joseph@codesourcery.com>
12195
12196 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12197
74981cc5
RM
121982012-02-24 Roland McGrath <roland@hack.frob.com>
12199
ee968201
RM
12200 [BZ #13738]
12201 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12202 * manual/fdl-1.3.texi: New file.
12203 * manual/fdl-1.1.texi: File removed.
12204
74981cc5
RM
12205 [BZ #13738]
12206 * manual/libc.texinfo (FDL_VERSION): New @set.
12207 Use it for mention of FDL in cover text.
12208 (Documentation License): Use it in @include file name.
12209
7bb764bc
JM
122102012-02-22 Joseph Myers <joseph@codesourcery.com>
12211 Roland McGrath <roland@hack.frob.com>
12212
12213 [BZ #5461]
12214 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12215 not LONG_LONG_MAX and LONG_LONG_MIN.
12216 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12217 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12218 name.
12219 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12220
6cbeae47
JM
122212012-02-22 Joseph Myers <joseph@codesourcery.com>
12222
12223 [BZ #2547]
12224 [BZ #11365]
12225 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12226 manipulate bits before adding and subtracting TWO23[sx].
12227 * math/libm-test.inc (nearbyint_test): Add more tests.
12228
fe45ce09
JM
122292012-02-22 Joseph Myers <joseph@codesourcery.com>
12230
12231 [BZ #2548]
12232 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12233 bits before adding and subtracting TWO23[sx].
12234 * math/libm-test.inc (rint_test): Add more tests.
12235 (rint_test_tonearest): Likewise.
12236 (rint_test_towardzero): Likewise.
12237 (rint_test_downward): Likewise.
12238 (rint_test_upward: Likewise.
12239
ff3b3d82
JM
122402012-02-22 Joseph Myers <joseph@codesourcery.com>
12241
12242 [BZ #10110]
12243 * include/stdc-predef.h: New file. Extracted from features.h.
12244 * include/features.h: Include stdc-predef.h.
12245 * Makefile (headers): Add stdc-predef.h.
12246 * CONFORMANCE (Compiler limitations): Update.
12247
ef0aab35
JM
122482012-02-22 Joseph Myers <joseph@codesourcery.com>
12249
12250 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12251
58639409
DM
122522012-02-21 David S. Miller <davem@davemloft.net>
12253
12254 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12255 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12256
c0e70b25
DM
122572012-02-20 David S. Miller <davem@davemloft.net>
12258
12259 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12260 using a normal save/restore sequence, rather than allocating a
12261 dummy stack frame just to store a frame pointer and restore.
12262 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12263
fb06851d
JM
122642012-02-21 Joseph Myers <joseph@codesourcery.com>
12265
12266 * manual/install.texi: Fix stray word in line-wrapped comment.
12267
7a8b71c3
DM
122682012-02-20 David S. Miller <davem@davemloft.net>
12269
d510c123
DM
12270 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12271 both binutils and gcc support GOTDATA.
12272
0722d7c2
DM
12273 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12274 "rd %pc" in the PIC register setup sequences.
12275
3d2b3019
DM
12276 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12277 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12278 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12279 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12280 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12282 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12283 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12284 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12285 (SYSCALL_ERROR_HANDLER): Likewise.
12286 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12287 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12289 (SYSCALL_ERROR_HANDLER): Likewise.
12290
c80098a9
DM
12291 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12292 (HAVE_GCC_GOTDATA): New.
12293 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12294 relocation support in both binutils and gcc.
12295 * sysdeps/sparc/elf/configure: Regenerate.
12296
3a2545a0
DM
12297 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12298 * sysdeps/sparc/sparc32/elf/configure: Delete.
12299 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12300 * sysdeps/sparc/sparc64/elf/configure: Delete.
12301 * sysdeps/sparc/elf/configure.in: New file.
12302 * sysdeps/sparc/elf/configure: Generate.
12303
7a8b71c3
DM
12304 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12305 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12306 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12307 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12308 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12309
f1e86fca
JM
123102012-02-21 Joseph Myers <joseph@codesourcery.com>
12311
12312 * manual/install.texi: Do not mention specific glibc version
12313 numbers.
12314 * manual/libc.texinfo (VERSION, UPDATED): Update.
12315 (@copying): Use @copyright{} and range of years.
12316
0e7dfaef
JM
123172012-02-21 Joseph Myers <joseph@codesourcery.com>
12318
12319 [BZ #13695]
12320 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12321 [crti.S not in sysdirs] (generated): Do not append.
12322 [crti.S not in sysdirs] (omit-deps): Likewise.
12323 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12324 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12325 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12326 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12327 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12328 Likewise.
12329 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12330 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12331 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12332 * csu/defs.awk: Remove file.
12333 * sysdeps/generic/initfini.c: Likewise.
12334 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12335 variable.
12336 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12337 Likewise.
12338
599af3ca
JM
123392012-02-20 Joseph Myers <joseph@codesourcery.com>
12340
12341 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12342 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12343 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12344 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12345 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12346 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12347 <bits/epoll.h>.
12348 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12349 (__EPOLL_PACKED): Define to empty if not defined by
12350 <bits/epoll.h>.
12351 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12353 bits/epoll.h.
12354
0e499750
JM
123552012-02-20 Joseph Myers <joseph@codesourcery.com>
12356
12357 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12358 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12359 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12360 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12361 <bits/timerfd.h>.
12362 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12364 bits/timerfd.h.
12365
5ad91f6e
JM
123662012-02-20 Joseph Myers <joseph@codesourcery.com>
12367
12368 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12369 in C locale.
12370 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12371 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12372 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12374
06b99b02
AJ
123752012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12376
12377 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12378 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12379
7638c0fd
AS
123802012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12381
12382 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12383 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12384 defined.
12385 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12386 Likewise.
12387 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12388 entry for 2.16.
12389
92221550
AJ
123902012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12391
12392 * math/w_acos.c: Use non-signaling floating-point comparisons.
12393 * math/w_acosf.c: Likewise.
12394 * math/w_acosh.c: Likewise.
12395 * math/w_acoshf.c: Likewise.
12396 * math/w_acoshl.c: Likewise.
12397 * math/w_acosl.c: Likewise.
12398 * math/w_asin.c: Likewise.
12399 * math/w_asinf.c: Likewise.
12400 * math/w_asinl.c: Likewise.
12401 * math/w_atanh.c: Likewise.
12402 * math/w_atanhf.c: Likewise.
12403 * math/w_atanhl.c: Likewise.
12404 * math/w_exp2.c: Likewise.
12405 * math/w_exp2f.c: Likewise.
12406 * math/w_exp2l.c: Likewise.
12407 * math/w_j0.c: Likewise.
12408 * math/w_j0f.c: Likewise.
12409 * math/w_j0l.c: Likewise.
12410 * math/w_j1.c: Likewise.
12411 * math/w_j1f.c: Likewise.
12412 * math/w_j1l.c: Likewise.
12413 * math/w_jn.c: Likewise.
12414 * math/w_jnf.c: Likewise.
12415 * math/w_log.c: Likewise.
12416 * math/w_log10.c: Likewise.
12417 * math/w_log10f.c: Likewise.
12418 * math/w_log10l.c: Likewise.
12419 * math/w_log2.c: Likewise.
12420 * math/w_log2f.c: Likewise.
12421 * math/w_log2l.c: Likewise.
12422 * math/w_logf.c: Likewise.
12423 * math/w_logl.c: Likewise.
12424 * math/w_sqrt.c: Likewise.
12425 * math/w_sqrtf.c: Likewise.
12426 * math/w_sqrtl.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12429 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12430 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12431 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12432
ebaf36eb
JM
124332012-02-19 Joseph Myers <joseph@codesourcery.com>
12434
12435 [BZ #9739]
12436 * manual/string.texi (strnlen): Use correct parameter name in
12437 equivalent expression.
12438
71c254a6
JM
124392012-02-19 Joseph Myers <joseph@codesourcery.com>
12440
12441 [BZ #11174]
12442 * manual/users.texi (seteuid): Consistently use neweuid for
12443 argument name.
12444
16d2c631
JM
124452012-02-19 Joseph Myers <joseph@codesourcery.com>
12446
12447 [BZ #13704]
12448 * manual/nss.texi (Services in the NSS configuration): Correct
12449 list of services in example configuration file.
12450
cd837b09
NB
124512012-02-19 Nick Bowler <nbowler@draconx.ca>
12452
12453 [BZ #11322]
12454 * manual/arith.texi: Remove statements about negative zero
12455 behaving identically to zero.
12456
02c4bbad
JM
124572012-02-18 Joseph Myers <joseph@codesourcery.com>
12458
12459 [BZ #5993]
12460 * manual/install.texi: Do not document upgrading from libc5.
12461
366842e7
JM
124622012-02-18 Joseph Myers <joseph@codesourcery.com>
12463
12464 [BZ #4596]
12465 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12466
dd54084d
DM
124672012-02-18 David S. Miller <davem@davemloft.net>
12468
12469 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12470 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12471 %o7 across the call.
12472 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12473 instead.
12474 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12475 SETUP_PIC_REG_LEAF.
12476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12477 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12478 * sysdeps/sparc/crtn.S: Likewise.
12479
2bcc53a3
UD
124802012-02-17 Ulrich Drepper <drepper@gmail.com>
12481
12482 * aout/Makefile: Remove.
12483
09c093b5
RK
124842012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12485
12486 [BZ #13058]
12487 * manual/examples/argp-ex1.c (main): Format definition in GNU
12488 style.
12489 * manual/examples/argp-ex2.c (main): Likewise.
12490 * manual/examples/argp-ex3.c (main): Likewise.
12491 * manual/examples/argp-ex4.c (main): Likewise.
12492 * manual/examples/longopt.c (main): Use new-style prototype
12493 definition.
12494 * manual/examples/strncat.c (main): Specify return type and use
12495 (void) for arguments.
12496 * manual/examples/subopt.c (main): Use char **argv argument.
12497
2ee633a2
JM
124982012-02-17 Joseph Myers <joseph@codesourcery.com>
12499
12500 [BZ #5077]
12501 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12502 rounding modes.
12503
0520adde
FB
125042012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12505
12506 [BZ #6907]
12507 * manual/string.texi (strchr): Change when strchrnul is
12508 recommended.
12509
3f4081cd
DGM
125102012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12511
12512 [BZ #174]
12513 * manual/locale.texi (setlocale): Document LOCPATH.
12514
d1b10e78
JM
125152012-02-17 Joseph Myers <joseph@codesourcery.com>
12516
12517 [BZ #10210]
12518 * manual/process.texi (execle): Move @dots{} before last argument.
12519
79c6869c
PB
125202012-02-17 Paul Bolle <pebolle@tiscali.nl>
12521
12522 [BZ #12047]
12523 * manual/charset.texi (Generic Charset Conversion): Fix typo
12524 (LC_TYPE -> LC_CTYPE).
12525
cc6e48bc
NB
125262012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12527
12528 [BZ #5805]
12529 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12530 (scalbnf): Likewise.
12531 (scalbnl): Likewise.
12532 (scalbln): Likewise.
12533 (scalblnf): Likewise.
12534 (scalblnl): Likewise.
12535 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12536 (vwarnx): Likewise.
12537 (verr): Likewise.
12538 (verrx): Likewise.
12539 * manual/filesys.texi (telldir): Use braces around return type.
12540 * manual/llio.texi (mmap): Add space after comma.
12541 (mmap64): Likewise.
12542 * manual/math.texi (jn): Use @var{} on parameter names.
12543 (jnf): Likewise.
12544 (jnl): Likewise.
12545 (yn): Likewise.
12546 (ynf): Likewise.
12547 (ynl): Likewise.
12548 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12549 line.
12550 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12551 "...".
12552 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12553 (sched_get_priority_max): Likewise.
12554 * manual/signal.texi (sigvec): Add space after comma.
12555 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12556 names.
12557 (if_indextoname): Likewise.
12558 (if_freenameindex): Likewise.
12559 (sendto): Use ',' instead of '.' in prototype.
12560 * manual/startup.texi (syscall): Use @dots{} instead of literal
12561 "...".
12562 * manual/stdio.texi (__fpending): Separate initial words of
12563 paragraph from @deftypefun line.
12564 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12565 "...".
12566 (vsyslog): Use @var{} on parameter names.
12567 * manual/terminal.texi (stty): Use @var{} on parameter names.
12568 * manual/users.texi (getutmp): Use @var{} on parameter names.
12569 (getutmpx): Likewise.
12570
5b23062f
JM
125712012-02-17 Joseph Myers <joseph@codesourcery.com>
12572
12573 [BZ #6884]
12574 * manual/stdio.texi (fopen): Fix typos in description of
12575 ",ccs=STRING".
12576
8dee4833
AJ
125772012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12578
12579 [BZ #4026]
12580 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12581 get clock_id definition.
12582
9078ce93
TS
125832012-02-17 Thomas Schwinge <thomas@schwinge.name>
12584
12585 [BZ #4822]
12586 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12587 (madvise): Cast every argument to void on its own.
12588
3835c55f
JM
125892012-02-17 Joseph Myers <joseph@codesourcery.com>
12590
12591 [BZ #9902]
12592 * manual/startup.texi (Exit Status): Fix typo.
12593
35c47e37
JM
125942012-02-17 Joseph Myers <joseph@codesourcery.com>
12595
12596 [BZ #10140]
12597 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12598 * manual/examples/argp-ex2.c: Likewise.
12599 * manual/examples/argp-ex3.c: Likewise.
12600
e3b69ca7
RH
126012012-02-16 Richard Henderson <rth@redhat.com>
12602
12603 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12604 * sysdeps/s390/s390-32/initfini.c: Remove.
12605 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12606 * sysdeps/s390/s390-64/initfini.c: Remove.
12607
df83af67
KK
126082012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12609
12610 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12611 compiler output for sysdeps/generic/initfini.c.
12612 * sysdeps/sh/elf/initfini.c: Remove file.
12613
f63f3380
DM
126142012-02-16 David S. Miller <davem@davemloft.net>
12615
fb59b3a4
DM
12616 [BZ #11494]
12617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12618
f63f3380
DM
12619 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12620 * sysdeps/sparc/crti.S: New file.
12621 * sysdeps/sparc/crtn.S: New file.
12622 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12623 * sysdeps/sparc/sparc64/Makefile: Likewise.
12624
df6a4a4a
MF
126252012-02-15 Mike Frysinger <vapier@gentoo.org>
12626
6dd8f3dc 12627 [BZ #3335]
df6a4a4a
MF
12628 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12629
1cac7236
RM
126302012-02-15 Roland McGrath <roland@hack.frob.com>
12631
d2c736f8
RM
12632 [BZ #4822]
12633 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12634
1cac7236
RM
12635 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12636 (write, read, close): Likewise.
12637 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12638
8e475601
JM
126392012-02-15 Joseph Myers <joseph@codesourcery.com>
12640
12641 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12642 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12643 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12644 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12645 <bits/signalfd.h>.
12646 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12647 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12648 bits/signalfd.h.
12649
ed656b40
MP
126502012-02-14 Marek Polacek <polacek@redhat.com>
12651
12652 * sysdeps/x86_64/crti.S: New file.
12653 * sysdeps/x86_64/crtn.S: New file.
12654 * sysdeps/x86_64/elf/initfini.c: Remove file.
12655
2a979d3a
JM
126562012-02-13 Joseph Myers <joseph@codesourcery.com>
12657
12658 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12659 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12660 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12661 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12662 <bits/inotify.h>.
12663 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12665 bits/inotify.h.
12666
2a418ac3
JM
126672012-02-13 Joseph Myers <joseph@codesourcery.com>
12668
12669 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12670 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12671 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12672 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12673 <bits/eventfd.h>.
12674 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12676 bits/eventfd.h.
12677
fb779be7
TS
126782012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12679
e19e83c5
RM
12680 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12681 __feraiseexcept instead of feraiseexcept.
7c35ffed 12682
fb779be7
TS
12683 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12684 nanosleep invocations.
12685 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12686 strings, and add error checking for a nanosleep invocations.
12687
59ba27a6
PE
126882012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12689
12690 Replace FSF snail mail address with URLs, as per GNU coding standards.
12691 Most of the snail mail addresses were wrong anyway, and omitting
12692 them makes the source code easier to maintain. Almost all of the
12693 changes are to license notices and to locale LC_IDENTIFICATION
12694 addresses, except for this one:
12695 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12696 not its snail mail address.
12697
57b957eb
RH
126982012-02-09 Richard Henderson <rth@twiddle.net>
12699
af850b1c
RH
12700 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12701 of kernel-features.h.
12702
57b957eb
RH
12703 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12704
6b73181a
MP
127052012-02-08 Marek Polacek <polacek@redhat.com>
12706
12707 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12708 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12709 * sysdeps/gnu/_G_config.h: Likewise.
12710 * sysdeps/generic/_G_config.h: Likewise.
12711
26ecc33a
AS
127122012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12713
6c6dbc63
AS
12714 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12715 tests.
12716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12717
e216c012
AS
12718 * sysdeps/powerpc/powerpc32/crti.S: New file.
12719 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12720 * sysdeps/powerpc/powerpc64/crti.S: New file.
12721 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12722
26ecc33a
AS
12723 * Makeconfig (have-initfini): Don't set.
12724 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12725 * configure.in (nopic_initfini): Don't substitute.
12726 * config.h.in (HAVE_INITFINI): Don't #undef.
12727 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12728 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12729
3add8e13
JM
127302012-02-08 Joseph Myers <joseph@codesourcery.com>
12731
12732 Support crti.S and crtn.S provided directly by architectures.
12733 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12734 [crti.S in sysdirs] (omit-deps): Likewise.
12735 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12736 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12737 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12738 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12739 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12740 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12741 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12742 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12743 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12744 compiler output for sysdeps/generic/initfini.c.
12745 * sysdeps/i386/elf/Makefile: Remove file.
12746 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12747
a22f12b4
MP
127482012-02-07 Marek Polacek <polacek@redhat.com>
12749
12750 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12751 * sysdeps/gnu/_G_config.h: Likewise.
12752 * sysdeps/mach/hurd/_G_config.h: Likewise.
12753
148cf100
MP
127542012-02-07 Marek Polacek <polacek@redhat.com>
12755
12756 * math/Makefile (tests): Add tst-CMPLX2.
12757 * math/tst-CMPLX2.c: New file.
12758
cfdc0dd7
AS
127592012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12760
84ba42c4
AS
12761 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12762
cfdc0dd7
AS
12763 * math/libm-test.inc (jn_test): Add missing L suffix.
12764
622c86f4
MP
127652012-02-06 Marek Polacek <polacek@redhat.com>
12766
12767 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12768 * sysdeps/i386/fpu/e_powf.S: Likewise.
12769 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12770 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12771 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12772 * sysdeps/i386/fpu/e_pow.S: Likewise.
12773 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12774 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12775 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12776 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12777 * sysdeps/i386/fpu/e_log2.S: Likewise.
12778 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12779 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12780 * sysdeps/i386/fpu/e_powl.S: Likewise.
12781 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12782 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12783 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12784 * sysdeps/i386/fpu/e_logl.S: Likewise.
12785 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12786 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12787 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12788 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12789 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12790 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12791 * sysdeps/i386/fpu/e_log.S: Likewise.
12792 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12793 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12794 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12795 * sysdeps/i386/fpu/e_logf.S: Likewise.
12796 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12797 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12798 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12799 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12800 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12801 * sysdeps/i386/fpu/e_log10.S: Likewise.
12802 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12803 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12804 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12805 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12806 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12807 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12808 * sysdeps/i386/asm-syntax.h: Likewise.
12809 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12810 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12811 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12812 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12813 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12814 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12815 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12816 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12817 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12818 * sysdeps/powerpc/sysdep.h: Likewise.
12819 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12820 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12821
d4a54ac6
JM
128222012-02-06 Joseph Myers <joseph@codesourcery.com>
12823
12824 [BZ #411]
12825 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12826
314054ea
JM
128272012-02-06 Joseph Myers <joseph@codesourcery.com>
12828
12829 * sysdeps/i386/sysdep.h: Include <features.h>.
12830 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12831 version.
12832
d8e0ca50
JM
128332012-02-05 Joseph Myers <joseph@codesourcery.com>
12834
12835 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12836 Define.
12837 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12838 LOAD_PIC_REG_STR.
12839
b1da7dd9
JM
128402012-02-03 Joseph Myers <joseph@codesourcery.com>
12841
12842 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12843 (SETUP_PIC_REG): Use GET_PC_THUNK.
12844 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12845 macro.
12846
9a1d9254
JM
128472012-02-03 Joseph Myers <joseph@codesourcery.com>
12848
12849 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12850 for non-PIC compilation.
12851 (SETUP_PIC_REG): Add .p2align directive.
12852 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12853 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12854 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12855 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12856 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12857 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12858 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12859 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12860 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12861 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12862 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12863 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12864 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12865 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12866 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12867 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12868 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12869 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12870 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12871 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12872 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12873 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12874 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12875 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12876 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12877 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12878 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12879 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12880 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12881 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12882 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12883 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12884 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12885 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12886 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12887 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12888 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12889 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12890 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12891 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12892 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12893
65dc3b75
JM
128942012-02-03 Joseph Myers <joseph@codesourcery.com>
12895
12896 * math/tst-CMPLX.c: Include <stdio.h>.
12897
d55bf177
JM
128982012-01-31 Joseph Myers <joseph@codesourcery.com>
12899
12900 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12901 float.
12902 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12903 * sysdeps/sparc/bits/mathdef.h: Likewise.
12904
69db4f8f
MP
129052012-01-31 Marek Polacek <polacek@redhat.com>
12906
12907 * libio/libio.h: Don't define _PARAMS.
12908 * locale/programs/config.h: Don't define PARAMS.
12909 * stdlib/strtol_l.c: Likewise.
12910 (__strtol_l): Remove PARAMS from the prototype.
12911
41b81892
UD
129122012-01-31 Ulrich Drepper <drepper@gmail.com>
12913
3b49edc0
UD
12914 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12915 names. Just use the correct names. Remove unnecessary wrapper
12916 functions.
12917 * malloc/arena.c: Likewise.
12918 * malloc/hooks.c: Likewise.
12919
41b81892
UD
12920 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12921 ARENA_TEST says not to. Simplify test for creation of a new arena.
12922 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12923
27a25b6e
UD
129242012-01-30 Ulrich Drepper <drepper@gmail.com>
12925
12926 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12927 into tail calls.
12928 (update_get_addr): New function.
12929 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12930 GET_ADDR_MODULE parameter.
12931
c8a89e7d
JM
129322012-01-30 Joseph Myers <joseph@codesourcery.com>
12933
12934 * crypt/cert.c: Remove __STDC__ conditionals.
12935 * crypt/crypt-entry.c: Likewise.
12936 * crypt/crypt_util.c: Likewise.
12937 * libio/filedoalloc.c: Likewise.
12938 * libio/fileops.c: Likewise.
12939 * libio/genops.c: Likewise.
12940 * libio/iofclose.c: Likewise.
12941 * libio/iofdopen.c: Likewise.
12942 * libio/iofopen.c: Likewise.
12943 * libio/iofopen64.c: Likewise.
12944 * libio/iogetdelim.c: Likewise.
12945 * libio/iopopen.c: Likewise.
12946 * libio/obprintf.c: Likewise.
12947 * libio/oldfileops.c: Likewise.
12948 * libio/oldiofclose.c: Likewise.
12949 * libio/oldiofdopen.c: Likewise.
12950 * libio/oldiofopen.c: Likewise.
12951 * libio/oldiopopen.c: Likewise.
12952 * libio/wfiledoalloc.c: Likewise.
12953 * libio/wgenops.c: Likewise.
12954 * locale/programs/xmalloc.c: Likewise.
12955 * misc/syslog.c: Likewise.
12956 * stdio-common/xbug.c: Likewise.
12957 * string/memchr.c: Likewise.
12958 * string/memcmp.c: Likewise.
12959 * string/memrchr.c: Likewise.
12960 * string/rawmemchr.c: Likewise.
12961 * sysdeps/posix/getcwd.c: Likewise.
12962 * time/strftime_l.c: Likewise.
12963
3b100462
JM
129642012-01-30 Joseph Myers <joseph@codesourcery.com>
12965
12966 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12967 * config.make.in (config-cflags-sse2avx): Define.
12968 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12969 Fix typo.
12970
607998af
CM
129712012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12972
12973 * scripts/config.guess: Update from upstream config git repository.
12974 * scripts/config.sub: Likewise.
12975
3601428f
CM
129762012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12977
3ac8b282
CM
12978 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12979 (EM_NUM): Update.
12980 (R_TILEPRO_*, R_TILEGX_*): New macros.
12981
e034841e
CM
12982 * scripts/firstversions.awk: Fix bug in version range handling.
12983
540d7568
CM
12984 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12985
3601428f
CM
12986 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12987
463de862
CM
12988 * include/sys/epoll.h: New file.
12989 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12990 libc_hidden_def.
12991
73139a76
UD
129922012-01-28 Ulrich Drepper <drepper@gmail.com>
12993
96bc5b45
UD
12994 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12995 Avoid unnecessary __WORDSIZE == 64 test.
12996 (fmaxf): Use VEX format if possible.
12997 (fmax): Likewise.
12998 (fminf): Likewise.
12999 (fmin): Likewise.
13000
56f6f6a2
UD
13001 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13002 * math/math_private.h: Remove libc_fegetround* and
13003 libc_fesetround*.
13004 * sysdeps/i386/configure.in: Check for -msse2avx.
13005 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13006 also if SSE2AVX is defined.
13007 Remove libc_fegetround* and libc_fesetround*.
13008 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13009 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13010 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13011 of HAS_YMM_USABLE.
13012 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13013 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13014 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13015 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13016 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13017
73139a76
UD
13018 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13019
d73f93a4
AZ
130202012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13021
13022 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13023 size is not set.
13024 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13025
6ee65ed6
UD
130262012-01-27 Ulrich Drepper <drepper@gmail.com>
13027
13028 [BZ #13618]
13029 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13030 relocation.
13031 * Makeconfig (libm): Define.
13032 * elf/Makefile: Add rules to build and run tst-relsort1.
13033 * elf/tst-relsort1.c: New file.
13034 * elf/tst-relsort1mod1.c: New file.
13035 * elf/tst-relsort1mod2.c: New file.
13036
8db21882
JM
130372012-01-27 Joseph Myers <joseph@codesourcery.com>
13038
13039 * math/s_ldexp.c: Remove __STDC__ conditionals.
13040 * math/s_ldexpf.c: Likewise.
13041 * math/s_ldexpl.c: Likewise.
13042 * math/s_nextafter.c: Likewise.
13043 * math/s_nexttowardf.c: Likewise.
13044 * math/s_significand.c: Likewise.
13045 * math/s_significandf.c: Likewise.
13046 * math/s_significandl.c: Likewise.
13047 * math/w_jnl.c: Likewise.
13048 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13049 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13050 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13051 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13052 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13053 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13055 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13060 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13061 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13062 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13067 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13068 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13069 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13070 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13071 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13072 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13073 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13074 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13075 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13076 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13077 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13078 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13079 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13080 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13081 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13082 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13083 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13084 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13085 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13086 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13087 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13088 * sysdeps/ieee754/k_standard.c: Likewise.
13089 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13091 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13092 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13093 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13094 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13095 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13096 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13097 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13098 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13099 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13105 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13107 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13108 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13109 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13112 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13113 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13114 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13115 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13116 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13117 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13118 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13119 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13120 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13121 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13122 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13123 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13124 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13125 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13126 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13127 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13128 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13129 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13130 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13131 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13132 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13133 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13134 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13135 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13138 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13139 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13143 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13144 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13145 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13146 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13147 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13148 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13149 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13150 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13151 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13152 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13153 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13154 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13155 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13156 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13160 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13163 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13164 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13165 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13166 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13168 * sysdeps/ieee754/s_matherr.c: Likewise.
13169 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13170 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13171 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13172 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13173
965a54a4
JM
131742012-01-26 Joseph Myers <joseph@codesourcery.com>
13175
13176 * crypt/md5.h: Remove __STDC__ conditionals.
13177 * libio/libioP.h: Likewise.
13178 * locale/programs/config.h: Likewise.
13179 * sysdeps/generic/sysdep.h: Likewise.
13180 * sysdeps/i386/asm-syntax.h: Likewise.
13181 * sysdeps/s390/asm-syntax.h: Likewise.
13182 * sysdeps/unix/sysdep.h: Likewise.
13183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13185
7071ad79
JM
131862012-01-26 Joseph Myers <joseph@codesourcery.com>
13187
13188 * libio/libio.h: Remove __STDC__ conditionals.
13189 * malloc/obstack.h: Likewise.
13190 * math/complex.h: Likewise.
13191 * math/math.h: Likewise.
13192 * sysdeps/generic/_G_config.h: Likewise.
13193 * sysdeps/gnu/_G_config.h: Likewise.
13194 * sysdeps/mach/hurd/_G_config.h: Likewise.
13195 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13196 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13197 * sysdeps/sparc/bits/mathdef.h: Likewise.
13198
afc5ed09
UD
131992012-01-26 Ulrich Drepper <drepper@gmail.com>
13200
13201 [BZ #13583]
13202 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13203 Clean up HAS_* macros.
afc5ed09 13204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13205 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13206 possible.
13207 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13208 HAS_AVX.
13209 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13210 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13211 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13212 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13213 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13214
bdb6de1d
JM
132152012-01-25 Joseph Myers <joseph@codesourcery.com>
13216
13217 * elf/tst-unique3.cc (gets): Remove declaration.
13218 * elf/tst-unique3lib.cc (gets): Likewise.
13219 * elf/tst-unique3lib2.cc (gets): Likewise.
13220 * elf/tst-unique4.cc (gets): Likewise.
13221
b15549e6
UD
132222012-01-24 Ulrich Drepper <drepper@gmail.com>
13223
13224 * include/stdio.h: Add C++ protection. Add gets declarations and
13225 definitions.
13226 * debug/tst-chk1.c: Don't declare gets here.
13227 * stdio-common/tst-gets.c: Likewise.
13228
a037381f
JM
132292012-01-24 Joseph Myers <joseph@codesourcery.com>
13230
13231 * posix/glob: Remove directory.
13232
f1d4aa75
JM
132332012-01-24 Joseph Myers <joseph@codesourcery.com>
13234
13235 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13236
81c0c964
PT
132372012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13238
13239 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13240 of the non-standard EPFNOSUPPORT.
13241
0ea698ae
ST
132422011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13243
13244 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13245 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13246 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13247
d220b117
UD
132482012-01-21 Ulrich Drepper <drepper@gmail.com>
13249
13250 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13251
3e1aa84e
UD
132522012-01-20 Ulrich Drepper <drepper@gmail.com>
13253
13254 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13255 transient errors.
13256 * nscd/grpcache.c (cache_addgr): Likewise.
13257 * nscd/hstcache.c (cache_addhst): Likewise.
13258 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13259 * nscd/pwdcache.c (cache_addpw): Likewise.
13260 * nscd/servicescache.c (cache_addserv): Likewise.
13261
400aa020
UD
132622012-01-16 Ulrich Drepper <drepper@gmail.com>
13263
d77e7869
UD
13264 * malloc/malloc.c: Various cleanups.
13265 * malloc/hooks.c: Likewise.
13266
400aa020
UD
13267 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13268 * stdlib/bug-fmtmsg1.c: New file.
13269
13270 * stdlib/fmtmsg.c (init): Add missing unlock.
13271 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13272
e0a309cf
MP
132732012-01-12 Marek Polacek <polacek@redhat.com>
13274
13275 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13276 and _GNU_SOURCE.
13277
929d11c7
WS
132782012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13279
13280 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13281 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13282 macro to ensure uniqueness of label name.
13283 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13284 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13285
41d0e869
UD
132862012-01-11 Ulrich Drepper <drepper@gmail.com>
13287
0cc5ed3b
UD
13288 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13289
41d0e869
UD
13290 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13291 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13292 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13293 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13294
a47a831a
UD
132952012-01-10 Ulrich Drepper <drepper@gmail.com>
13296
daa891c0
UD
13297 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13298
13299 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13300 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13301 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13302
e58ef0f2
UD
13303 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13304
a47a831a 13305 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13306 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13307 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13308 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13309
13310 * math/bits/math-finite.h: Add ldexp support.
13311
a0bfc9c7
MP
133122012-01-10 Marek Polacek <polacek@redhat.com>
13313
13314 * locale/programs/localedef.h (show_archive_content): Add noreturn
13315 attribute.
13316
d6e97a1d
UD
133172012-01-09 Ulrich Drepper <drepper@gmail.com>
13318
13319 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13320
d5835c26
UD
133212012-01-08 Ulrich Drepper <drepper@gmail.com>
13322
e5f484c6
UD
13323 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13324
d5835c26
UD
13325 * io/Makefile (headers): Add bits/poll2.h.
13326
d1f741e9
WS
133272011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13328
13329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13330 typo #include statement.
13331
ec09c1c4
UD
133322012-01-08 Ulrich Drepper <drepper@gmail.com>
13333
13334 * include/sys/cdefs.h: Define __attribute_alloc_size.
13335 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13336 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13337 * elf/pldd.c: Likewise.
13338 * iconv/iconv_charmap.c: Likewise.
13339 * iconv/iconvconfig.c: Likewise.
13340 * iconv/strtab.c: Likewise.
13341 * locale/programs/locale.c: Likewise.
13342 * locale/programs/localedef.h: Likewise.
13343 * locale/programs/simple-hash.c: Likewise.
13344 * nscd/nscd.h: Likewise.
13345 * nss/makedb.c: Likewise.
13346 * sysdeps/generic/ldconfig.h: Likewise.
13347 * locale/programs/localedef.c: Remove xmalloc prototype.
13348 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13349
20b38e03
PP
133502012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13351
13352 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13353 appropriate.
13354
a0da5fe1
UD
133552012-01-08 Ulrich Drepper <drepper@gmail.com>
13356
1d5a644a 13357 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13358 * math/tst-CMPLX.c: New file.
1d5a644a 13359
8784a6db
UD
13360 * math/complex.h (CMPLXL): Fix typo.
13361
d9a216c0
UD
13362 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13363 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13364 GLIBC_2.16.
13365 * debug/tst-chk1.c: Add poll and ppoll tests.
13366 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13367 * include/sys/poll.h: Add hidden proto for ppoll.
13368 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13369 * sysdeps/mach/hurd/ppoll.c: Likewise.
13370 * io/ppoll.c: Likewise.
13371 * debug/poll_chk.c: New file.
13372 * debug/ppoll_chk.c: New file.
13373 * include/bits/poll2.h: New file.
13374 * io/bits/poll2.h: New file.
13375
ac097f5c
UD
13376 [BZ #1350]
13377 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13378
2119dcfa
UD
13379 * configure.in: static is always set to yes. Remove.
13380 * config.make.in: Don't set build-static.
13381 * Makeconfig: Remove use of build-static.
13382 * dlfcn/Makefile: Likewise.
13383 * elf/Makefile: Likewise.
13384 * math/Makefile: Likewise.
13385 * misc/Makefile: Likewise.
13386 * nptl/Makefile: Likewise.
13387 * sysdeps/mach/hurd/Makefile: Likewise.
13388
121766a9
UD
13389 * configure.in: PWD_P is not used anymore.
13390 * config.make.in: Remove PWD_P entry.
13391
51a1d39c 13392 * configure.in: Remove last remnants of RANLIB.
8720d066 13393 No need to check for signed size_t anymore.
215f4bdc
UD
13394 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13395 and IA-64.
3857022a 13396 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13397 * aclocal.m4: Likewise.
13398
d3ed7225
UD
13399 * wcsmbs/mbrtoc16.c: Implement using towc function.
13400 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13401 * wcsmbs/wcsmbsload.c: Likewise.
13402 * iconv/gconv_simple.c: Likewise.
13403 * iconv/gconv_int.h: Likewise.
13404 * iconv/gconv_builtin.h: Likewise.
13405 * iconv/iconv_prog.c: Remove CHAR16 handling.
13406
13407 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13408
13409 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13410
a0da5fe1
UD
13411 * configure.in: Remove --with-elf and --enable-bounded options.
13412 Dont set base_machine for ia64. More non-ELF conditions removed.
13413 Remove testing and setting of leading underscore information.
13414 * config.make.in (build-bounded): Set to no.
13415 * config.h.in: Remove NO_UNDERSCORES entry.
13416 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13417 them.
13418 * csu/start.c: Remove !NO_UNDERSCORE code.
13419 * locale/localeinfo.h: Likewise.
13420 * sysdeps/generic/machine-gmon.h: Likewise.
13421 * sysdeps/generic/sysdep.h: Likewise.
13422 * sysdeps/i386/sysdep.h: Likewise.
13423 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13424 * sysdeps/mach/sysdep.h: Likewise.
13425 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13426 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13427 * sysdeps/sh/sysdep.h: Likewise.
13428 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13429 * sysdeps/unix/i386/sysdep.S: Likewise.
13430 * sysdeps/unix/sparc/start.c: Likewise.
13431 * sysdeps/unix/sparc/sysdep.S: Likewise.
13432 * sysdeps/unix/sparc/sysdep.h: Likewise.
13433 * sysdeps/unix/start.c: Likewise.
13434 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13435 * sysdeps/x86_64/sysdep.h: Likewise.
13436
df78418a
UD
134372012-01-07 Ulrich Drepper <drepper@gmail.com>
13438
a784e502
UD
13439 [BZ #13553]
13440 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13441 for non-gcc.
13442 * argp/argp-fmtstream.h: Use const instead __const.
13443 * argp/argp.h: Likewise.
13444 * assert/assert.h: Likewise.
13445 * bits/fenv.h: Likewise.
13446 * bits/sched.h: Likewise.
13447 * bits/sigset.h: Likewise.
13448 * bits/sigthread.h: Likewise.
13449 * catgets/nl_types.h: Likewise.
13450 * conform/data/pthread.h-data: Likewise.
13451 * crypt/crypt-private.h: Likewise.
13452 * crypt/crypt.h: Likewise.
13453 * crypt/crypt_util.c: Likewise.
13454 * ctype/ctype.h: Likewise.
13455 * debug/execinfo.h: Likewise.
13456 * debug/mbsnrtowcs_chk.c: Likewise.
13457 * debug/mbsrtowcs_chk.c: Likewise.
13458 * debug/wcsnrtombs_chk.c: Likewise.
13459 * debug/wcsrtombs_chk.c: Likewise.
13460 * debug/wcstombs_chk.c: Likewise.
13461 * dirent/dirent.h: Likewise.
13462 * dlfcn/dlfcn.h: Likewise.
13463 * elf/neededtest4.c: Likewise.
13464 * grp/grp.h: Likewise.
13465 * gshadow/gshadow.h: Likewise.
13466 * iconv/gconv.h: Likewise.
13467 * iconv/gconv_int.h: Likewise.
13468 * iconv/gconv_simple.c: Likewise.
13469 * iconv/iconv.h: Likewise.
13470 * iconv/loop.c: Likewise.
13471 * iconv/skeleton.c: Likewise.
13472 * include/aio.h: Likewise.
13473 * include/aliases.h: Likewise.
13474 * include/argz.h: Likewise.
13475 * include/arpa/inet.h: Likewise.
13476 * include/assert.h: Likewise.
13477 * include/dirent.h: Likewise.
13478 * include/dlfcn.h: Likewise.
13479 * include/execinfo.h: Likewise.
13480 * include/fcntl.h: Likewise.
13481 * include/fenv.h: Likewise.
13482 * include/glob.h: Likewise.
13483 * include/grp.h: Likewise.
13484 * include/libintl.h: Likewise.
13485 * include/mntent.h: Likewise.
13486 * include/netdb.h: Likewise.
13487 * include/pwd.h: Likewise.
13488 * include/rpc/netdb.h: Likewise.
13489 * include/sched.h: Likewise.
13490 * include/search.h: Likewise.
13491 * include/shadow.h: Likewise.
13492 * include/signal.h: Likewise.
13493 * include/stdio.h: Likewise.
13494 * include/stdlib.h: Likewise.
13495 * include/string.h: Likewise.
13496 * include/sys/socket.h: Likewise.
13497 * include/sys/stat.h: Likewise.
13498 * include/sys/statfs.h: Likewise.
13499 * include/sys/statvfs.h: Likewise.
13500 * include/sys/syslog.h: Likewise.
13501 * include/sys/time.h: Likewise.
13502 * include/sys/uio.h: Likewise.
13503 * include/time.h: Likewise.
13504 * include/unistd.h: Likewise.
13505 * include/utmp.h: Likewise.
13506 * include/wchar.h: Likewise.
13507 * include/wctype.h: Likewise.
13508 * inet/aliases.h: Likewise.
13509 * inet/arpa/inet.h: Likewise.
13510 * inet/netinet/ether.h: Likewise.
13511 * inet/netinet/in.h: Likewise.
13512 * intl/libintl.h: Likewise.
13513 * io/bits/fcntl2.h: Likewise.
13514 * io/fcntl.h: Likewise.
13515 * io/ftw.h: Likewise.
13516 * io/sys/poll.h: Likewise.
13517 * io/sys/stat.h: Likewise.
13518 * io/sys/statfs.h: Likewise.
13519 * io/sys/statvfs.h: Likewise.
13520 * io/utime.h: Likewise.
13521 * libio/bits/stdio.h: Likewise.
13522 * libio/bits/stdio2.h: Likewise.
13523 * libio/libio.h: Likewise.
13524 * libio/libioP.h: Likewise.
13525 * libio/stdio.h: Likewise.
13526 * locale/lc-ctype.c: Likewise.
13527 * locale/locale.h: Likewise.
13528 * login/utmp.h: Likewise.
13529 * malloc/arena.c: Likewise.
13530 * malloc/malloc.c: Likewise.
13531 * malloc/malloc.h: Likewise.
13532 * malloc/mcheck.c: Likewise.
13533 * malloc/mtrace.c: Likewise.
13534 * math/bits/mathcalls.h: Likewise.
13535 * math/fenv.h: Likewise.
13536 * math/math_private.h: Likewise.
13537 * misc/bits/error.h: Likewise.
13538 * misc/bits/syslog.h: Likewise.
13539 * misc/err.h: Likewise.
13540 * misc/error.h: Likewise.
13541 * misc/fstab.h: Likewise.
13542 * misc/mntent.h: Likewise.
13543 * misc/regexp.h: Likewise.
13544 * misc/search.h: Likewise.
13545 * misc/sgtty.h: Likewise.
13546 * misc/sys/mman.h: Likewise.
13547 * misc/sys/syslog.h: Likewise.
13548 * misc/sys/uio.h: Likewise.
13549 * misc/sys/xattr.h: Likewise.
13550 * misc/ttyent.h: Likewise.
13551 * nis/rpcsvc/ypclnt.h: Likewise.
13552 * nss/nss.h: Likewise.
13553 * posix/bits/unistd.h: Likewise.
13554 * posix/fnmatch.h: Likewise.
13555 * posix/glob.h: Likewise.
13556 * posix/sched.h: Likewise.
13557 * posix/spawn.h: Likewise.
13558 * posix/sys/wait.h: Likewise.
13559 * posix/unistd.h: Likewise.
13560 * posix/wordexp.h: Likewise.
13561 * pwd/pwd.h: Likewise.
13562 * resolv/netdb.h: Likewise.
13563 * resource/sys/resource.h: Likewise.
13564 * rt/aio.h: Likewise.
13565 * rt/bits/mqueue2.h: Likewise.
13566 * rt/mqueue.h: Likewise.
13567 * shadow/shadow.h: Likewise.
13568 * signal/signal.h: Likewise.
13569 * socket/send.c: Likewise.
13570 * socket/sendto.c: Likewise.
13571 * socket/sys/socket.h: Likewise.
13572 * stdio-common/printf.h: Likewise.
13573 * stdlib/bits/stdlib.h: Likewise.
13574 * stdlib/fmtmsg.h: Likewise.
13575 * stdlib/monetary.h: Likewise.
13576 * stdlib/stdlib.h: Likewise.
13577 * stdlib/ucontext.h: Likewise.
13578 * streams/stropts.h: Likewise.
13579 * string/argz.h: Likewise.
13580 * string/bits/string2.h: Likewise.
13581 * string/string.h: Likewise.
13582 * string/strings.h: Likewise.
13583 * sunrpc/rpc/auth.h: Likewise.
13584 * sunrpc/rpc/auth_des.h: Likewise.
13585 * sunrpc/rpc/clnt.h: Likewise.
13586 * sunrpc/rpc/netdb.h: Likewise.
13587 * sunrpc/rpc/pmap_clnt.h: Likewise.
13588 * sunrpc/rpc/xdr.h: Likewise.
13589 * sysdeps/generic/inttypes.h: Likewise.
13590 * sysdeps/generic/net/if.h: Likewise.
13591 * sysdeps/generic/sys/swap.h: Likewise.
13592 * sysdeps/gnu/net/if.h: Likewise.
13593 * sysdeps/gnu/utmpx.h: Likewise.
13594 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13595 * sysdeps/i386/i486/bits/string.h: Likewise.
13596 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13597 * sysdeps/s390/bits/string.h: Likewise.
13598 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13599 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13600 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13601 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13602 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13603 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13604 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13605 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13606 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13607 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13608 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13609 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13610 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13611 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13612 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13613 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13614 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13615 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13616 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13617 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13618 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13619 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13620 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13621 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13622 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13623 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13624 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13625 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13626 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13627 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13628 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13629 * sysvipc/sys/ipc.h: Likewise.
13630 * sysvipc/sys/msg.h: Likewise.
13631 * sysvipc/sys/sem.h: Likewise.
13632 * sysvipc/sys/shm.h: Likewise.
13633 * termios/termios.h: Likewise.
13634 * time/sys/time.h: Likewise.
13635 * time/time.h: Likewise.
13636 * wcsmbs/bits/wchar2.h: Likewise.
13637 * wcsmbs/uchar.h: Likewise.
13638 * wcsmbs/wchar.h: Likewise.
13639 * wctype/wctype.h: Likewise.
13640
0269750c
UD
13641 [BZ #13551]
13642 * Makeconfig: Remove all but ELF support including AIX support.
13643 * Makerules: Likewise.
13644 * config.h.in: Likewise.
13645 * config.make.in: Likewise.
13646 * configure: Likewise.
13647 * configure.in: Likewise.
13648 * csu/Makefile: Likewise.
13649 * csu/version.c: Likewise.
13650 * debug/Makefile: Likewise.
13651 * dlfcn/Makefile: Likewise.
13652 * elf/Makefile: Likewise.
13653 * extra-lib.mk: Likewise.
13654 * iconv/Makefile: Likewise.
13655 * include/libc-symbols.h: Likewise.
13656 * include/shlib-compat.h: Likewise.
13657 * resolv/Makefile: Likewise.
13658 * resolv/res_libc.c: Likewise.
13659 * rt/Makefile: Likewise.
13660 * sysdeps/i386/asm-syntax.h: Likewise.
13661 * sysdeps/i386/sysdep.h: Likewise.
13662 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13663 * sysdeps/mach/sysdep.h: Likewise.
13664 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13665 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13666 * sysdeps/s390/asm-syntax.h: Likewise.
13667 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13668 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13669 * sysdeps/sh/sysdep.h: Likewise.
13670 * sysdeps/unix/sparc/sysdep.h: Likewise.
13671 * sysdeps/wordsize-32/divdi3.c: Likewise.
13672 * sysdeps/x86_64/sysdep.h: Likewise.
13673
00bbd29b
UD
13674 * argp/Versions: Remove _argp_unlock_xxx.
13675
13676 [BZ #13559]
13677 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13678 * abilist/libBrokenLocale.abilist: Likewise.
13679 * abilist/libanl.abilist: Likewise.
13680 * abilist/libc.abilist: Likewise.
13681 * abilist/libcrypt.abilist: Likewise.
13682 * abilist/libdl.abilist: Likewise.
13683 * abilist/libm.abilist: Likewise.
13684 * abilist/libnsl.abilist: Likewise.
13685 * abilist/libpthread.abilist: Likewise.
13686 * abilist/libresolv.abilist: Likewise.
13687 * abilist/librt.abilist: Likewise.
13688 * abilist/libthread_db.abilist: Likewise.
13689 * abilist/libutil.abilist: Likewise.
13690 * abilist/libnss_db.abilist: New file.
13691
13692 * scripts/abilist.awk: Add support for indirect functions.
13693
a2693a0e
UD
13694 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13695
3f05895f
UD
13696 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13697
ecb6fb48
UD
13698 * shlib-versions: Remove entries for ports architectures.
13699
664f8cb9
UD
13700 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13701 files in ports.
13702 * elf/stackguard-macros.h: Remove support for IA-64.
13703 * elf/tst-auditmod1.c: Likewise.
13704 * sysdeps/generic/ldsodefs.h: Likewise.
13705
7ae81d88
UD
13706 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13707 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13708 configure files.
13709
bdeba135
UD
13710 [BZ #13552]
13711 * configure.in: Remove --enable-omitfp support.
13712 * FAQ.in: Adjust.
13713 * config.make.in: Likewise.
13714 * Makeconfig: Likewise.
13715 * manual/install.texi: Likewise.
13716
d75a0a62
UD
13717 In case anyone cares, the IA-64 architecture could move to ports.
13718 * sysdeps/ia64/*: Removed.
13719 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13720 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13721
dcc9756b
UD
13722 [BZ #13555]
13723 * configure.in: Remove entries for unsupported architectures.
13724
d3761ebc 13725 [BZ #13533]
9954432e
UD
13726 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13727 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13728 routines.
13729 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13730 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13731 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13732 fall back to using wcrtomb.
13733 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13734 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13735 renaming.
13736 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13737 * wcsmbs/tst-c16c32-1.c: New file.
13738
13739 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13740 local variable.
13741
c3a87236
UD
13742 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13743
28926a1b
UD
13744 * elf/tst-unique3.cc: Add explicit declaration of gets.
13745 * elf/tst-unique3lib.cc: Likewise.
13746 * elf/tst-unique3lib2.cc: Likewise.
13747 * elf/tst-unique4.cc: Likewise.
13748
df78418a
UD
13749 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13750
8ecd6b2a
JM
137512012-01-06 Joseph Myers <joseph@codesourcery.com>
13752
13753 [BZ #13566]
13754 * assert/assert.h (static_assert): Don't define for C++.
13755 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13756 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13757
9f115170
UD
137582012-01-03 Ulrich Drepper <drepper@gmail.com>
13759
5e0d0300
UD
13760 * iconv/loop.c (single loop): Fix assertion in storing of
13761 remaining bytes.
13762
9f115170
UD
13763 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13764
81fb02b0
UD
137652012-01-01 Ulrich Drepper <drepper@gmail.com>
13766
13767 * posix/getconf.c: Update copyright year.
13768 * nss/getent.c: Likewise.
a316c1f6 13769 * nss/makedb.c: Likewise.
81fb02b0
UD
13770 * iconv/iconvconfig.c: Likewise.
13771 * iconv/iconv_prog.c: Likewise.
13772 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13773 * elf/pldd.c: Likewise.
13774 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13775 * catgets/gencat.c: Likewise.
13776 * csu/version.c: Likewise.
13777 * elf/ldd.bash.in: Likewise.
13778 * elf/sprof.c (print_version): Likewise.
13779 * locale/programs/locale.c: Likewise.
13780 * locale/programs/localedef.c: Likewise.
a316c1f6 13781 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13782 * nscd/nscd.c (print_version): Likewise.
13783 * debug/xtrace.sh: Likewise.
13784 * malloc/memusage.sh: Likewise.
13785 * malloc/mtrace.pl: Likewise.
13786 * debug/catchsegv.sh: Likewise.
13787
2ba92745
JJ
137882011-12-30 Jakub Jelinek <jakub@redhat.com>
13789
13790 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13791 pure attribute.
13792
dadebdae
UD
137932011-12-24 Ulrich Drepper <drepper@gmail.com>
13794
d3761ebc 13795 [BZ #13533]
db6af3eb
UD
13796 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13797 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13798 transformations.
13799 * iconv/gconv_int.h: Likewise.
13800 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13801 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13802 from libc for GLIBC_2.16.
13803 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13804 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13805 * wcsmbs/uchar.h: Really define mbstate_t.
13806 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13807 * wcsmbs/c16rtomb.c: New file.
13808 * wcsmbs/mbrtoc16.c: New file.
13809 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13810 for C/POSIX locale.
13811 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13812 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13813
dadebdae
UD
13814 * wcsmbs/wchar.h: Add missing __restrict.
13815
67371b56
UD
138162011-12-23 Ulrich Drepper <drepper@gmail.com>
13817
74033a25
UD
13818 [BZ #13532]
13819 * time/Makefile (routines): Add timespec_get.
13820 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13821 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13822 timespec for ISO C11.
13823 * time/timespec_get.c: New file.
13824 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13825 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13826
380d7e87
UD
13827 [BZ #13531]
13828 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13829 * stdlib/stdlib.h: Declare aligned_alloc.
13830 * Versions.def: Add GLIBC_2.16 for libc.
13831 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13832
4e9e7a35
UD
13833 [BZ 13527]
13834 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13835 ISO C11.
13836
380d7e87 13837 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13838 code.
13839
03a71829
UD
13840 [BZ #13528]
13841 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13842
839e283e
UD
13843 [BZ #13529]
13844 * assert/assert.h (static_assert): Define.
13845
ce5294e2 13846 * version.h: Update for 2.16 development version.
90fa7312 13847
8d44e150 13848 [BZ #13526]
d7809905
UD
13849 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13850 _ISOC11_SOURCE.
13851
c0da14cd
UD
13852 * version.h (RELEASE): Bump for 2.15 release.
13853 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13854
530a3249
MP
13855 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13856 Patch by Marek Polacek <mpolacek@redhat.com>.
13857
67371b56
UD
13858 * bits/byteswap.h: Protect long long constants with __extension__.
13859 * sysdeps/i386/bits/byteswap.h: Likewise.
13860 * sysdeps/ia64/bits/byteswap.h: Likewise.
13861 * sysdeps/s390/bits/byteswap.h: Likewise.
13862 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13863
15db4de1
LD
138642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13865
13866 [BZ #13540]
bbe315ea
LD
13867 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13868 destination buffer.
15db4de1
LD
13869 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13870
2b2596b1
MP
138712011-12-23 Marek Polacek <polacek@redhat.com>
13872
13873 * elf/dl-addr.c (determine_info): Add inline keyword.
13874 * elf/tst-auditmod4b.c (check_avx): Likewise.
13875 * elf/tst-auditmod6b.c (check_avx): Likewise.
13876 * elf/tst-auditmod6c.c (check_avx): Likewise.
13877 * elf/tst-auditmod7b.c (check_avx): Likewise.
13878
70c6c246
UD
138792011-12-23 Ulrich Drepper <drepper@gmail.com>
13880
13881 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13882 !__SSE_MATH__.
13883
c044cf14
LD
138842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13885
15db4de1 13886 [BZ #13540]
c044cf14
LD
13887 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13888 processing for last bytes.
13889
6b13d9d9
BH
138902011-08-06 Bruno Haible <bruno@clisp.org>
13891
d455f537
BH
13892 [BZ #13061]
13893 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13894 U+0385, not to U+1FEE.
13895
6b13d9d9
BH
13896 [BZ #13062]
13897 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13898 entry for U+00A5 U+0301.
13899
db910efd
UD
139002011-12-22 Ulrich Drepper <drepper@gmail.com>
13901
27deeafc
UD
13902 [BZ #13166]
13903 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13904 buffer for the output is too small.
13905
aed9d171
UD
13906 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13907 optimization.
13908
db910efd
UD
13909 [BZ #13185]
13910 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13911 SSE flags if possible.
13912
2bd779ae
LD
139132011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13914
e7f9dac3 13915 [BZ #13540]
2bd779ae
LD
13916 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13917 processing for last bytes.
13918
154bfc16
JM
139192011-12-22 Joseph Myers <joseph@codesourcery.com>
13920
13921 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13922 (syscall-list-default-options, syscall-list-default-condition)
13923 (syscall-list-includes): Define.
13924 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13925 list of ABIs and options and #if conditions for each ABI. Do not
13926 handle common syscalls between ABIs specially.
13927 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13928 Remove.
13929 (syscall-list-variants, syscall-list-32bit-options)
13930 (syscall-list-32bit-condition, syscall-list-64bit-options)
13931 (syscall-list-64bit-condition): Define.
13932 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13933 (syscall-list-variants, syscall-list-32bit-options)
13934 (syscall-list-32bit-condition, syscall-list-64bit-options)
13935 (syscall-list-64bit-condition): Define.
13936 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13937 Remove.
13938 (syscall-list-variants, syscall-list-32bit-options)
13939 (syscall-list-32bit-condition, syscall-list-64bit-options)
13940 (syscall-list-64bit-condition): Define.
13941 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13942 Remove.
13943 (syscall-list-variants, syscall-list-32bit-options)
13944 (syscall-list-32bit-condition, syscall-list-64bit-options)
13945 (syscall-list-64bit-condition): Define.
13946
21eaf3a5
UD
139472011-12-22 Ulrich Drepper <drepper@gmail.com>
13948
16c6f992
UD
13949 * locale/iso-639.def: Add brx entry.
13950
41043168
UD
13951 [BZ #13328]
13952 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13953 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13954
21eaf3a5
UD
13955 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13956 __feraiseexcept_renamed.
13957
e3a851a2
UD
139582011-12-21 Ulrich Drepper <drepper@gmail.com>
13959
4920765e
UD
13960 [BZ #13538]
13961 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13962 EPOLLET with unsigned values.
13963 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13964 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13965
e3a851a2
UD
13966 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13967 to large cancellation.
13968 * math/s_cacoshf.c: Likewise.
13969 * math/s_cacoshl.c: Likewise.
13970
b27e24b8
RK
139712011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13972
13973 [BZ #13305]
aebefeee 13974 [BZ #12786]
b27e24b8
RK
13975 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13976 * math/s_cacoshf.c: Likewise.
13977 * math/s_cacoshl.c: Likewise.
13978
ee190f67
UD
139792011-12-21 Ulrich Drepper <drepper@gmail.com>
13980
13981 [BZ #13439]
13982 * iconv/gconv.h: Define __GCONV_SWAP.
13983 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13984 * iconvdata/utf-16.c: Likewise.
13985 * iconvdata/utf-32.c: Likewise.
13986
707f25df
AS
139872011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13988
13989 [BZ #13524]
13990 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13991 numerator after shifting it by one limb.
13992
d2daaa1e
RÁE
139932011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13994
13995 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13996 under [__USE_EXTERN_INLINES].
13997
a4647e72
UD
139982011-12-17 Ulrich Drepper <drepper@gmail.com>
13999
14000 [BZ #13446]
14001 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14002
f0b264f1
AZ
140032011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14004
14005 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14006 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14007 optimized code.
14008 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14009 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14010 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14011 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14012 for strncasecmp/strncasecmp_l compilation.
14013 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14014 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14015
8ef4f244
MP
140162011-12-08 Marek Polacek <mpolacek@redhat.com>
14017
14018 [BZ #13484]
14019 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14020 of __asm__.
14021
97ac2654
UD
140222011-12-17 Ulrich Drepper <drepper@gmail.com>
14023
14024 [BZ #13506]
14025 * time/tzfile.c (__tzfile_read): Check values from file header.
14026
91d2a845
WS
140272011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14028
14029 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14030 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14031 * powerpc/powerpc32/dl-start.S: Likewise.
14032 * powerpc/powerpc32/elf/start.S: Likewise.
14033 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14034 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14035 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14036 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14037 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14038 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14039 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14040 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14041 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14042 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14043 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14044 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14045 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14046 * powerpc/powerpc32/memset.S: Likewise.
14047 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14048 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14049 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14050 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14051 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14052 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14053 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14054 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14055 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14056 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14057 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14058 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14059 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14060
a1267ba1
AZ
140612011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14062
14063 * math/libm-test.inc: Added more nearbyint tests.
14064 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14065 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14066 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14067 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14068
ad8ac1bd
RL
140692011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14070
14071 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14072 FD_CLOEXEC.
14073
1d3e4b61
UD
140742011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14075
14076 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14077 Add wcscpy-ssse3 wcscpy-c.
14078 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14079 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14080 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14081 * sysdeps/x86_64/wcschr.S: New file.
14082 * sysdeps/x86_64/wcsrchr.S: New file.
14083 * string/test-strcmp.c: Remove checking of wcscmp function for
14084 wrong alignments.
14085 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14086 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14087 wcsrchr-sse2 wcsrchr-c.
14088 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14089 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14090 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14091 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14092 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14093 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14094 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14095 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14096 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14097 * wcsmbc/wcschr.c (WCSCHR): New macro.
14098
5b330a2d
UD
140992011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14100
14101 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14102 * wcsmbs/test-wcsrchr.c: New file.
14103 * string/test-strrchr.c: Add wcsrchr support.
14104 (WIDE): New macro.
14105 * wcsmbs/test-wcscpy.c: New file.
14106 * string/test-strcpy.c: Add wcscpy support.
14107 (WIDE): New macro.
26428b7c 14108
f039c043
UD
141092011-12-10 Ulrich Drepper <drepper@gmail.com>
14110
14111 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14112 the inner loop.
14113
850fb039
AS
141142011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14115
14116 [BZ #13472]
14117 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14118
4efbd5cb
UD
141192011-12-04 Ulrich Drepper <drepper@gmail.com>
14120
52ff5dd0 14121 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14122 Minor optimizations.
52ff5dd0 14123
4efbd5cb
UD
14124 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14125 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14126 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14127
8a426e12
UD
141282011-12-03 Ulrich Drepper <drepper@gmail.com>
14129
aff2453d
UD
14130 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14131 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14132 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14133 for gcc to avoid warnings.
14134 * inet/Makefile (tests): Add tst-checks.
14135 * inet/tst-checks.c: New file.
14136
14137 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14138 warning.
14139
14140 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14141 __wmemcmp_sse2.
14142
14143 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14144 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14145
8a426e12
UD
14146 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14147
9bea3473
UD
141482011-12-02 Ulrich Drepper <drepper@gmail.com>
14149
3a965496
UD
14150 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14151 problem.
14152
9bea3473
UD
14153 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14154
f101631b
UD
141552011-11-29 Joseph Myers <joseph@codesourcery.com>
14156
14157 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14158 conditional on GCC version.
14159 (__arch_compare_and_exchange_val_8_acq)
14160 (__arch_compare_and_exchange_val_16_acq)
14161 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14162 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14163 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14164
a98275aa
UD
141652011-12-02 Joseph Myers <joseph@codesourcery.com>
14166
14167 * sysdeps/sh/backtrace.c: New file.
14168
d4cc29a2
AS
141692011-12-02 Andreas Schwab <schwab@redhat.com>
14170
14171 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14172 parenthesis.
14173
6257af2d
AS
141742011-12-01 Andreas Schwab <schwab@redhat.com>
14175
14176 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14177 falling back to utime.
14178
b5f44c1a
AS
141792011-11-30 Andreas Schwab <schwab@redhat.com>
14180
14181 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14182 expectations for float.
14183
f3a6cc0a
AS
141842011-11-29 Andreas Schwab <schwab@redhat.com>
14185
14186 * locale/weight.h (findidx): Add parameter len.
14187 * locale/weightwc.h (findidx): Likewise.
14188 * posix/fnmatch_loop.c (FCT): Adjust caller.
14189 * posix/regcomp.c (build_equiv_class): Likewise.
14190 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14191 * posix/regexec.c (check_node_accept_bytes): Likewise.
14192 * string/strcoll_l.c (STRCOLL): Likewise.
14193 * string/strxfrm_l.c (STRXFRM): Likewise.
14194
9d65ea3a
UD
141952011-11-17 Ulrich Drepper <drepper@gmail.com>
14196
14197 * Makefile.in: Remove CVSOPT handling.
14198 * configure.in: Remove use of AC_REVISION.
14199 * iconvdata/Makefile (distribute): No need to filter out CVS.
14200 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14201 handling.
14202
5583a086
AS
142032011-11-16 Andreas Schwab <schwab@redhat.com>
14204
14205 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14206 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14207 [USE_AS_STRNCASECMP_L]: Likewise.
14208 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14209 NO_TLS_DIRECT_SEG_REFS.
14210 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14211 Fix argument offsets for non-PIC.
14212 [USE_AS_STRNCASECMP_L]: Likewise.
14213 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14214 NO_TLS_DIRECT_SEG_REFS.
14215
d62a8200
UD
142162011-11-15 Ulrich Drepper <drepper@gmail.com>
14217
9d65ea3a 14218 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14219 O_CLOEXEC.
14220 * locale/loadlocale.c (_nl_load_locale): Likewise.
14221
09f93bd3
AS
142222011-11-15 Andreas Schwab <schwab@redhat.com>
14223
446514f9
AS
14224 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14225 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14226 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14227 (SYSCALL_GETTIME): Set errno on error.
14228
09f93bd3
AS
14229 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14230 count references to noai6ai_cached.
14231
312be3f9
UD
142322011-11-15 Ulrich Drepper <drepper@gmail.com>
14233
14234 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14235
14236 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14237 FD_CLOEXEC for /proc/self/maps.
14238
14239 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14240 FD_CLOEXEC for /proc/meminfo.
14241
14242 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14243 gai.conf.
14244
14245 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14246 FD_CLOEXEC for given file.
14247
14248 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14249
14250 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14251 FD_CLOEXEC for /etc/hosts.
14252 (_gethtent): Likewise.
14253
14254 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14255
14256 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14257 cancellation and set FD_CLOEXEC for /etc/netgroup.
14258
14259 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14260 reading /etc/publickey.
14261
14262 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14263 allow cancellation when reading /etc/group.
14264
14265 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14266 cancellation.
14267 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14268
14269 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14270 when using data file.
14271
14272 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14273
14274 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14275 (write_nis_obj): Use "c" and "e" in fopen.
14276
14277 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14278
14279 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14280
14281 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14282
14283 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14284
14285 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14286 locale.alias.
14287
14288 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14289
14290 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14291
14292 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14293
14294 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14295 file parsing and set FD_CLOEXEC.
14296
82af0fa8
UD
142972011-11-14 Ulrich Drepper <drepper@gmail.com>
14298
14299 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14300
a5fb313c
AS
143012011-11-14 Andreas Schwab <schwab@redhat.com>
14302
14303 * malloc/arena.c (arena_get2): Don't call reused_arena when
14304 _int_new_arena failed.
14305
6abf3465
UD
143062011-11-14 Ulrich Drepper <drepper@gmail.com>
14307
14308 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14309 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14310 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14311 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14312 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14313 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14314 to compile strcasecmp and strncasecmp.
14315 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14316 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14317
14318 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14319
76e3966e
UD
143202011-11-13 Ulrich Drepper <drepper@gmail.com>
14321
14322 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14323 locale-defines.sym to gen-as-const-headers.
14324 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14325 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14327 to compile strcasecmp and strncasecmp.
14328 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14329 strcasecmp_l and strncasecmp_l.
14330 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14331 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14332 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14333 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14334 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14335 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14336 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14337 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14338 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14339 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14340 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14341
ab26144e
UD
143422011-11-12 Ulrich Drepper <drepper@gmail.com>
14343
7edb22ef
UD
14344 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14345 result of SYSDEP_GETTIME_CPU to retval.
14346 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14347 parameter list to macro. Remove trailing semicolon. Adjust users.
14348
9694fc44
UD
14349 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14350 variable.
14351
8ad89ef8
UD
14352 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14353 mantissa words.
14354 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14355
0c822ef9
UD
14356 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14357 from unused variable.
14358
874e0564
UD
14359 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14360 DWARF definitions.
14361 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14362 for assembling.
14363
3a2edc79
UD
14364 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14365 over namespaces.
14366
f3c2577f
UD
14367 * sunrpc/rpc_prot.c (rejected): Fix case value.
14368
294ce126
UD
14369 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14370 unsigned long long int to avoid warnings in shift.
14371
5e2b63c6
UD
14372 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14373 of use of trans.
14374 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14375 variable tmp.
14376
e7f4b08e
UD
14377 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14378 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14379 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14380
ab26144e
UD
14381 * nis/nis_table.c (nis_list): Use variable of correct type for
14382 result of __follow_path call.
14383
8a6d5255
AZ
143842011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14385
14386 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14387 of math functions ceil, trunc, floor, round, and sqrt, when
14388 avaliable on the platform.
14389 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14390 name clash.
14391 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14392 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14393 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14394
aaddc98c
MP
143952011-10-30 Marek Polacek <mpolacek@redhat.com>
14396
14397 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14398 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14399
95b7042b
RM
144002011-11-11 Roland McGrath <roland@hack.frob.com>
14401
14402 * include/unistd.h: Fix __readlink return type.
14403 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14404
57769839
UD
144052011-11-11 Ulrich Drepper <drepper@gmail.com>
14406
14407 * stdlib/ucontext.h: Undo last change for makecontext.
14408
edc5984d
AS
144092011-11-11 Andreas Schwab <schwab@redhat.com>
14410
98591e58
AS
14411 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14412
edc5984d
AS
14413 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14414 * setjmp/setjmp.h: Mark functions as non-leaf.
14415 * setjmp/bits/setjmp2.h: Likewise.
14416 * stdlib/ucontext.h: Likewise.
14417
77cdc054
AS
144182011-11-10 Andreas Schwab <schwab@redhat.com>
14419
14420 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14421 (reused_arena): Don't check arena limit.
14422 (arena_get2): Atomically check arena limit.
14423
fe72eebd
UD
144242011-11-08 Ulrich Drepper <drepper@gmail.com>
14425
5f078c32
UD
14426 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14427 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14428
fe72eebd
UD
14429 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14430 instructions.
14431
ae1bc2fa
AS
144322011-11-07 Andreas Schwab <schwab@redhat.com>
14433
7583a88d
AS
14434 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14435 handler when locking.
14436
ae1bc2fa
AS
14437 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14438 Fix size of allocated buffer.
14439
10fb0bfa
AS
144402011-11-04 Andreas Schwab <schwab@redhat.com>
14441
998832a4
AS
14442 [BZ #10103]
14443 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14444 declarations for long double functions.
14445 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14446
10fb0bfa
AS
14447 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14448
3d7ba52b
AS
144492011-11-03 Andreas Schwab <schwab@redhat.com>
14450
a9ae54a1
AS
14451 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14452 installed.
14453
3d7ba52b
AS
14454 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14455 is disabled.
14456
bc8db248
ST
144572011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14458
14459 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14460
45b96dd6
AS
144612011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14462
647776f6
AS
14463 * include/alloca.h (stackinfo_alloca_round): Define.
14464 (extend_alloca): Use it.
14465 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14466 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14467 here.
14468
d91a8b93
AS
14469 * scripts/check-local-headers.sh: Ignore libaudit.h.
14470
45b96dd6
AS
14471 * nscd/Makefile (extra-objs): Make recursively expanded.
14472
432d41ce
UD
144732011-11-01 Ulrich Drepper <drepper@gmail.com>
14474
34372fc6
UD
14475 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14476 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14477
fadb59f8
UD
14478 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14479 * posix/tst-rfc3484-2.c: Likewise.
14480 * posix/tst-rfc3484-3.c: Likewise.
14481
78239589
UD
14482 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14483 process_vm_writev.
14484 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14485 process_vm_writev.
14486 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14487 process_vm_writev from libc using GLIBC_2.15 version.
14488
432d41ce
UD
14489 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14490
02f9c6cf
PP
144912011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14492
14493 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14494 stack usage.
14495
3a2c0242
UD
144962011-10-31 Ulrich Drepper <drepper@gmail.com>
14497
f4ec4833
UD
14498 [BZ #13367]
14499 * nss/getent.c (initgroups_keys): Show error message in case no group
14500 names are given.
14501
3a2c0242
UD
14502 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14503 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14504 __bump_nl_timestamp.
14505 * nscd/connections (nscd_init): When host database is served open
14506 netlink socket and request notification about configuration changes.
14507 (main_loop_poll): Track netlink file descriptor and bump timestamp
14508 in case data becomes available.
14509 (main_loop_epoll): Likewise.
14510 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14511 (database_pers_head): Add extra_data fileds.
14512 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14513 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14514 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14515 Adjust caller.
14516 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14517 in6ai data, call __free_in6ai.
14518 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14519 Add -DHAVE_NETLINK.
14520 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14521 interface information. Reuse previous data if netlink timestamp
14522 is not changed.
14523 (__bump_nl_timestamp): New function.
14524 (__free_in6ai): New function.
14525
636064eb
UD
145262011-10-30 Ulrich Drepper <drepper@gmail.com>
14527
14528 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14529 close_not_cancel_no_status here.
14530 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14531
9beb2334
UD
145322011-10-29 Ulrich Drepper <drepper@gmail.com>
14533
6ef76f3b
UD
14534 [BZ #13276]
14535 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14536 return value.
14537
0ffc4f3e 14538 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14539 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14540 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14541
cb95113e
UD
145422011-07-03 Andreas Jaeger <aj@suse.de>
14543
14544 [BZ #10709]
14545 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14546 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14547 * math/libm-test.inc (sin_test): Add test case.
14548
a1b560ff
UD
145492011-10-29 Ulrich Drepper <drepper@gmail.com>
14550
c9aaface
UD
14551 [BZ #13337]
14552 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14553 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14554
d272e7f1
UD
14555 * elf/chroot_canon.c (chroot_canon): Cleanups.
14556
1bc33071
UD
14557 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14558
1760874d
TJ
14559 [BZ #13335]
14560 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14561 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14562
51d91b18
UD
14563 * string/test-strchr.c: Make usable for strchrnul testing.
14564 * string/test-strchrnul.c: New file.
14565 * string/Makefile (strop-tests): Add strchrnul.
14566
a1b560ff 14567 * po/it.po: Update from translation team.
b611fb81 14568 * po/es.po: Likewise.
a1b560ff 14569
a5b81e1f
UD
145702011-10-28 Ulrich Drepper <drepper@gmail.com>
14571
fd52bc6d
UD
14572 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14573 the three constants needed as parameters. Drop the others.
14574 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14575 __m128i_strloadu_tolower.
52e4b9eb
UD
14576 Create and initialize variable zero and use it in all the places
14577 where _mm_setzero_si128 was used.
fd52bc6d 14578
a5b81e1f
UD
14579 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14580 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14581 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14582 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14583 anymore.
14584 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14585 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14586 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14587 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14588 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14589 __mpranred, __mptan.
14590 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14591 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14592 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14593 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14594 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14595 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14596 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14597 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14598 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14599
b4343346
AS
146002011-10-28 Andreas Schwab <schwab@redhat.com>
14601
0c92d8a8
AS
14602 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14603 redefine if SHARED.
14604 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14605
b4343346
AS
14606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14607 wide char related routines to wcsmbs subdir.
14608
3871f58f
AS
146092011-10-27 Andreas Schwab <schwab@redhat.com>
14610
14611 [BZ #13344]
14612 * misc/sys/cdefs.h (__THROWNL): Define.
14613 * posix/unistd.h: Use __THREADNL instead of __THREAD
14614 for memory synchronization functions.
14615
94d44d9f
RM
146162011-10-26 Roland McGrath <roland@hack.frob.com>
14617
21b64b15 14618 [BZ #13349]
94d44d9f
RM
14619 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14620 doesn't exist.
14621 * manual/stdio.texi (Obstack Streams): Node removed.
14622
f6ce9294
AS
146232011-10-26 Andreas Schwab <schwab@redhat.com>
14624
80479147
AS
14625 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14626 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14627 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14628
f6ce9294
AS
14629 * math/math_private.h (math_force_eval): Allow non-addressable
14630 arguments.
14631 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14632
618280a1
UD
146332011-10-25 Ulrich Drepper <drepper@gmail.com>
14634
e0016b11
UD
14635 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14636 file is not needed.
14637
14638 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14639 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14640 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14641 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14642 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14643 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14644 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14645 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14646 Add AVX variants.
14647 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14648 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14649 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14650 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14651 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14652 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14653 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14654 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14655 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14656 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14657 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14658 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14659 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14660 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14661 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14662 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14663 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14664 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14665 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14666
14667 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14668 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14669
618280a1
UD
14670 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14671 place. Use VEX encoding when compiling for AVX.
14672
37822576
AS
146732011-10-25 Andreas Schwab <schwab@redhat.com>
14674
1f1e1947
AS
14675 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14676 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14677
37822576
AS
14678 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14679
31ea014d
UD
146802011-10-25 Ulrich Drepper <drepper@gmail.com>
14681
d7826aa1 14682 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14683 useless if() expression.
d7826aa1
UD
14684 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14685 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14686 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14687 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14688 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14689 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14690 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14691 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14693 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14694 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14695 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14696 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14697 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14698 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14699 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14700 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14702 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14703
31ea014d
UD
14704 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14705
16437fec
AS
147062011-10-25 Andreas Schwab <schwab@redhat.com>
14707
14708 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14709 condition.
14710 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14711
31d3cc00
UD
147122011-10-25 Ulrich Drepper <drepper@gmail.com>
14713
14714 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14715 .text section. Avoid duplicate constants.
14716 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14718 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14720 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14721 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14723 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14724 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14725 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14726 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14727 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14728 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14729 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14730 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14732 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14733 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14734 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14735 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14736 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14737 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14738 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14739 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14740 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14741 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14742 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14743 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14744 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14745 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14746 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14747 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14748 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14749 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14750 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14751 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14752 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14753 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14754 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14755 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14756 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14757 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14758 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14759 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14760 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14761
58985aa9
UD
147622011-10-24 Ulrich Drepper <drepper@gmail.com>
14763
202c9deb
UD
14764 * sysdeps/x86_64/dla.h: Move to ...
14765 * sysdeps/x86_64/fpu/dla.h: ...here.
14766 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14767 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14768
af968f62
UD
14769 * config.make.in: Add have-mfma4 entry.
14770 * configure.in: Substitute libc_cv_cc_fma4.
14771 * math/Makefile (dbl-only-routines): Add sincostab.
14772 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14773 Use __sincostab not sincos.
14774 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14775 name is a macro.
14776 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14777 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14778 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14779 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14780 using __copysign.
14781 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14782 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14783 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14784 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14785 and __inv.
14786 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14787 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14788 __copysign.
14789 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14790 define aliases when function name is a macro.
14791 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14792 sysdeps/ieee754/dbl-64/sincos.tbl.
14793 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14794 fma4-enabled routines.
14795 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14796 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14797 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14798 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14799 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14800 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14801 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14802 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14803 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14804 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14805 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14806 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14807 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14808 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14809 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14810 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14811 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14812 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14813 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14814 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14815 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14816 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14817 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14818 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14819 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14820 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14821 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14822 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14823 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14824 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14825
58985aa9
UD
14826 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14827 rename.
14828 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14829 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14830 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14831 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14832 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14833 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14834 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14835 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14836
a201fbcf
AS
148372011-10-24 Andreas Schwab <schwab@redhat.com>
14838
14839 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14840
fc2ee42a
LD
148412011-10-23 Ulrich Drepper <drepper@gmail.com>
14842
bb3129bd
UD
14843 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14844
0275fff8
UD
14845 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14846 prediction.
14847 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14848
2fa2ae85
UD
14849 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14850 Remove unused variable magic_bits.
14851 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14852
fc2ee42a
LD
14853 * string/strnlen.c: Define and use STRNLEN macro.
14854 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14855 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14856 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14857 * wcsmbs/wcslen.c: Define and use WCSLEN.
14858 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14859 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14860 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14861 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14862 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14863 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14864 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14865
ce7dd29f
LD
148662011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14867
14868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14869 strnlen-sse2-no-bsf.
14870 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14871 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14872 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14873 Add strnlen support.
14874 (USE_AS_STRNLEN): New macro.
14875 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14876 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14877 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14878 * sysdeps/x86_64/wcslen.S: New file.
14879
979c70a3
MZ
148802011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14881
14882 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14883 XMM-moves are used for copying on small sizes.
14884
2d09f82f
LD
148852011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14886
14887 * wcsmbs/Makefile (strop-tests): Add wcschr.
14888 * wcsmbs/test-wcschr.c: New file.
14889 * string/test-strchr.c: Update.
14890 Add wcschr support.
14891 (WIDE): New macro.
14892
619fccca
LD
148932011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14894
2d09f82f 14895 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14896 * wcsmbs/test-wcslen.c: New file.
14897 * string/test-strlen.c: Update.
14898 Add wcslen support.
14899 (WIDE): New macro.
14900
09f699ea
UD
149012011-10-23 Ulrich Drepper <drepper@gmail.com>
14902
14903 * po/it.po: Update from translation team.
14904
95584d3b
LD
149052011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14906
14907 * sysdeps/x86_64/wcscmp.S: Update.
14908 Fix wrong comparison semantics.
14909 wcscmp shall use signed comparison not unsigned.
14910 Don't use substraction to avoid overflow bug.
14911 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14912 * wcsmbc/wcscmp.c: Likewise.
14913 * string/test-strcmp.c: Likewise.
14914 Add new tests to check cases with negative values.
14915
c8b3296b
UD
149162011-10-23 Ulrich Drepper <drepper@gmail.com>
14917
14918 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14919 * sysdeps/x86_64/dla.h: ...here. New file.
14920 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14925 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14929
246ad57a
AS
149302011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14931
14932 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14933 __ynl_finite aliases.
14934
a1a87169
UD
149352011-10-22 Ulrich Drepper <drepper@gmail.com>
14936
0d355eb7
UD
14937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14938
a1a87169
UD
14939 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14940 define DLA_FMA.
14941 [DLA_FMA] (EMULV): Use DLA_FMA.
14942 [DLA_FMA] (MUL12): Use EMULV.
14943 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14944 that are not needed.
14945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14946 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14947 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14948 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14950 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14951 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14952
ee2aafe0
AS
149532011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14954
14955 * math/s_nan.c: Undef __nan.
14956 * math/s_nanf.c: Undef __nanf.
14957 * math/s_nanl.c: Undef __nanl.
14958 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14959 "math_private.h".
14960
bc62c2fb
UD
149612011-10-22 Ulrich Drepper <drepper@gmail.com>
14962
77425c63
UD
14963 * math/s_catan.c: Add branch predictions.
14964 * math/s_catanf.c: Likewise.
14965 * math/s_catanh.c: Likewise.
14966 * math/s_catanhf.c: Likewise.
14967 * math/s_catanhl.c: Likewise.
14968 * math/s_catanl.c: Likewise.
14969 * math/s_cexp.c: Likewise.
14970 * math/s_cexpf.c: Likewise.
14971 * math/s_cexpl.c: Likewise.
14972 * math/s_clog.c: Likewise.
14973 * math/s_clog10.c: Likewise.
14974 * math/s_clog10f.c: Likewise.
14975 * math/s_clog10l.c: Likewise.
14976 * math/s_clogf.c: Likewise.
14977 * math/s_clogl.c: Likewise.
14978 * math/s_csqrt.c: Likewise.
14979 * math/s_csqrtf.c: Likewise.
14980 * math/s_csqrtl.c: Likewise.
14981 * math/s_ctanf.c: Likewise.
14982 * math/s_ctanh.c: Likewise.
14983 * math/s_ctanhf.c: Likewise.
14984 * math/s_ctanhl.c: Likewise.
14985 * math/s_ctanl.c: Likewise.
14986
bc62c2fb
UD
14987 * math/math_private.h: Define __nan, __nanf, __nanl.
14988 * math/s_cacosh.c: Include <math_private.h>.
14989 * math/s_cacoshl.c: Likewise.
14990 * math/s_casinh.c: Likewise.
14991 * math/s_casinhf.c: Likewise.
14992 * math/s_casinhl.c: Likewise.
14993 * math/s_ccos.c: Rely entire on ccosh.
14994 * math/s_ccosf.c: Rely entire on ccoshf.
14995 * math/s_ccosl.c: Rely entirely on ccoshl.
14996 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14997 Remove tests for FE_INVALID.
14998 * math/s_ccoshf.c: Likewise.
14999 * math/s_ccoshl.c: Likewise.
15000 * math/s_csin.c: Likewise.
15001 * math/s_csinf.c: Likewise.
15002 * math/s_csinh.c Likewise.
15003 * math/s_csinhf.c: Likewise.
15004 * math/s_csinhl.c: Likewise.
15005 * math/s_csinl.c: Likewise.
15006 * math/s_ctan.c: Likewise.
15007 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15008 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15009 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15010
8ec250a4
UD
150112011-10-21 Ulrich Drepper <drepper@gmail.com>
15012
c196fed8
UD
15013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15014 compilation problems.
15015
8ec250a4
UD
15016 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15017 __builtin_expect.
15018
8d4f46c6
UD
150192011-10-20 Ulrich Drepper <drepper@gmail.com>
15020
ed72b654
UD
15021 * sysdeps/i386/configure.in: Test for -mfma4 option.
15022 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15023 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15024 COMMON_CPUID_INDEX_80000001.
15025 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15026 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15027 use it if FMA3 is not supported.
15028 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15029
8d4f46c6
UD
15030 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15031 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15032
d45c60c2
AS
150332011-10-20 Andreas Schwab <schwab@redhat.com>
15034
15035 [BZ #12892]
15036 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15037 it would create a cycle with a link time dependency.
15038
d9a4d2ab
UD
150392011-10-19 Ulrich Drepper <drepper@gmail.com>
15040
855d1560
UD
15041 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15042 instruction.
15043 * string/Makefile (strop-tests): Add rawmemchr.
15044 * string/test-rawmemchr.c: New file.
15045
d9a4d2ab
UD
15046 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15047 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15048 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15049 when compiling str{,n}casecmp and when AVX is available. Hook up
15050 new optimized code in initializers.
15051
8f3b1ffe
AS
150522011-10-19 Andreas Schwab <schwab@redhat.com>
15053
15054 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15055 __feraiseexcept instead of feraiseexcept.
15056
d38f1dba
UD
150572011-10-18 Ulrich Drepper <drepper@gmail.com>
15058
d9a8d0ab
UD
15059 * math/math_private.h: Define defaults for libc_fetestexcept and
15060 libc_feupdateenv.
15061 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15062 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15063 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15064 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15065 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15066 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15067 libc_fetestexcept and libc_feupdateenv.
15068
4855e3dd
UD
15069 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15070 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15071 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15072 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15073 libc_feholdexcept_setround.
15074
581d30e3
UD
15075 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15076 Add s_nearbyint-c and s_nearbyintf-c.
15077 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15078 nearbyintf inlines.
15079 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15080 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15081 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15082 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15083
d38f1dba
UD
15084 * math/math_private.h: Define defaults for libc_fegetround,
15085 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15086 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15087 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15088 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15089 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15090 standard functions.
15091 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15092 Remove comments and hacks for old compiler versions.
15093 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15094 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15095 libc_feholdexceptl.
15096
caa6c9d8
AS
150972011-10-18 Andreas Schwab <schwab@redhat.com>
15098
15099 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15100 (__feraiseexcept_renamed): Add __NTH.
15101 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15102 namespace violations.
15103
97c066e6
UD
151042011-10-17 Ulrich Drepper <drepper@gmail.com>
15105
99ce7b04
UD
15106 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15107
1004d182
UD
15108 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15109
228a984d
UD
15110 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15111 recently added interfaces.
15112 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15113
c8553a6a
UD
15114 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15115 about macro parameter expansion.
15116
ed22dcf6
UD
15117 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15118 __NO_MATH_INLINES is defined. Cleanups.
15119
15120 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15121 and __floorf is target has SSE4.1.
15122 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15123 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15124 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15125 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15126
b171c137
UD
15127 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15128 name.
15129 (floorf): Likewise.
15130
97c066e6
UD
15131 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15132
629f62ef
AS
151332011-10-17 Andreas Schwab <schwab@redhat.com>
15134
49a43d80
AS
15135 * misc/sys/cdefs.h: Fix last change.
15136
629f62ef
AS
15137 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15138 database lookup.
15139
e453f6cd
UD
151402011-10-16 Ulrich Drepper <drepper@gmail.com>
15141
aa78043a
UD
15142 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15143
ad0f5cad
UD
15144 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15145 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15146 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15147 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15148 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15149 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15150 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15151 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15152 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15153 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15154 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15155 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15156 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15157 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15158 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15159 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15160 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15161 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15162 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15163 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15164 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15165 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15166
15167 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15168 ceil, ceilf, floor, floorf.
15169
15170 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15171 Perform IRELATIVE relocations last.
15172
e453f6cd
UD
15173 * elf/do-rel.h: Add another parameter nrelative, replacing the
15174 local variable with the same name. Change name of the function
15175 to end in Rel or Rela (uppercase).
15176 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15177 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15178 elf_dynamic_do_##reloc function.
15179
fd5bdc09
UD
151802011-10-15 Ulrich Drepper <drepper@gmail.com>
15181
79b195b5
UD
15182 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15183 is sufficient, at least on modern CPUs.
15184
d4a28569
UD
15185 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15186
b61099b5
UD
15187 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15188 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15189
bcf01e6d
UD
15190 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15191 __expl_finite.
15192 * math/bits/math-finite.h: Add entries for exp.
15193 * math/e_expl.c: Add __*_finite alias.
15194 * sysdeps/i386/fpu/e_exp.S: Likewise.
15195 * sysdeps/i386/fpu/e_expf.S: Likewise.
15196 * sysdeps/i386/fpu/e_expl.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15198 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15199 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15200 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15202 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15203 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15204
ba1a0d59
UD
15205 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15206 is sufficient, at least on modern CPUs.
15207
fd5bdc09
UD
15208 * ctype/ctype-info.c (__ctype_init): Define.
15209 * include/ctype.h (__ctype_init): Declare.
15210 (__ctype_b_loc): The variable is always initialized.
15211 (__ctype_toupper_loc): Likewise.
15212 (__ctype_tolower_loc): Likewise.
15213 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15214 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15215
7872cfb0
AS
152162011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15217
b468825a
AS
15218 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15219
7872cfb0
AS
15220 * configure.in: Also look in $cxxmachine/include for C++ system
15221 headers.
15222
be13f7bf
LD
152232011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15224
15225 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15226 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15227 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15228 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15229 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15230 (USE_AS_WMEMCMP): New macro.
15231 Fixing indents.
15232 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15233 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15234 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15235 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15237 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15238 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15239 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15240 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15241 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15242 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15243 (USE_AS_WMEMCMP): New macro.
15244 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15245 * sysdeps/string/test-memcmp.c: Update.
15246 Fix simple_wmemcmp.
15247 Add new tests.
15248 * wcsmbs/wmemcmp.c: Update.
15249 (WMEMCMP): New macro.
15250 Fix overflow bug.
15251
556a2007
AJ
152522011-10-12 Andreas Jaeger <aj@suse.de>
15253
15254 [BZ #13268]
15255 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15256
538faaa7
UD
152572011-10-15 Ulrich Drepper <drepper@gmail.com>
15258
ab6737ff
UD
15259 * libio/iofwide.c (do_length): Avoid warning.
15260
538faaa7
UD
15261 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15262
396a21b1
UD
152632011-10-14 Ulrich Drepper <drepper@gmail.com>
15264
cdf2901f
UD
15265 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15266
38ad40ce
UD
15267 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15268 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15269 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15270 * sysdeps/i386/i686/fpu/e_log.S: New file.
15271 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15272 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15273
396a21b1
UD
15274 * ctype/ctype.h: Add support for inlined isXXX functions when
15275 compiling C++ code.
15276
6b1f68c9
AS
152772011-10-14 Andreas Schwab <schwab@redhat.com>
15278
349290c0
AS
15279 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15280
6b1f68c9
AS
15281 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15282
f2282d42
RM
152832011-10-13 Roland McGrath <roland@hack.frob.com>
15284
15285 [BZ #13291]
15286 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15287
5298ffa8
AS
152882011-10-13 Andreas Schwab <schwab@redhat.com>
15289
714fad23
AS
15290 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15291 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15292 feraiseexcept.
15293
81dcc7fb
AS
15294 * sysdeps/x86_64/memrchr.S: Check for zero size.
15295
5298ffa8
AS
15296 * string/stratcliff.c: Add memrchr tests.
15297
951fbcec
LD
152982011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15299
15300 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15301 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15302 rawmemchr-sse2 rawmemchr-sse2-bsf.
15303 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15304 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15305 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15306 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15307 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15308 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15309 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15310 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15311 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15312 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15313 * string/memrchr.c (MEMRCHR): New macro.
15314
0ac5ae23
UD
153152011-10-12 Ulrich Drepper <drepper@gmail.com>
15316
15317 Add integration with gcc's -ffinite-math-only and optimize wrapper
15318 functions in libm.
15319 * Versions.def: Define GLIBC_2.15 version for libm.
15320 * math/Makefile (headers): Add bits/math-finite.h.
15321 * math/bits/math-finite.h: New file.
15322 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15323 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15324 * math/e_acoshl.c: Add __*_finite alias.
15325 * math/e_acosl.c: Likewise.
15326 * math/e_asinl.c: Likewise.
15327 * math/e_atan2l.c: Likewise.
15328 * math/e_atanhl.c: Likewise.
15329 * math/e_coshl.c: Likewise.
15330 * math/e_exp10.c: Likewise.
15331 * math/e_exp10f.c: Likewise.
15332 * math/e_exp10l.c: Likewise.
15333 * math/e_exp2l.c: Likewise.
15334 * math/e_fmodl.c: Likewise.
15335 * math/e_gammal_r.c: Likewise.
15336 * math/e_hypotl.c: Likewise.
15337 * math/e_j0l.c: Likewise.
15338 * math/e_j1l.c: Likewise.
15339 * math/e_jnl.c: Likewise.
15340 * math/e_lgammal_r.c: Likewise.
15341 * math/e_log10l.c: Likewise.
15342 * math/e_log2l.c: Likewise.
15343 * math/e_logl.c: Likewise.
15344 * math/e_powl.c: Likewise.
15345 * math/e_sinhl.c: Likewise.
15346 * math/e_sqrtl.c: Likewise.
15347 * math/e_scalb.c: Completely rewritten and optimized.
15348 * math/e_scalbf.c: Likewise.
15349 * math/e_scalbl.c: Likewise.
15350 * math/w_acos.c: Likewise.
15351 * math/w_acosf.c: Likewise.
15352 * math/w_acosl.c: Likewise.
15353 * math/w_acosh.c: Likewise.
15354 * math/w_acoshf.c: Likewise.
15355 * math/w_acoshl.c: Likewise.
15356 * math/w_asin.c: Likewise.
15357 * math/w_asinf.c: Likewise.
15358 * math/w_asinl.c: Likewise.
15359 * math/w_atan2.c: Likewise.
15360 * math/w_atan2f.c: Likewise.
15361 * math/w_atan2l.c: Likewise.
15362 * math/w_atanh.c: Likewise.
15363 * math/w_atanhf.c: Likewise.
15364 * math/w_atanhl.c: Likewise.
15365 * math/w_exp10.c: Likewise.
15366 * math/w_exp10f.c: Likewise.
15367 * math/w_exp10l.c: Likewise.
15368 * math/w_fmod.c: Likewise.
15369 * math/w_fmodf.c: Likewise.
15370 * math/w_fmodl.c: Likewise.
15371 * math/w_j0.c: Likewise.
15372 * math/w_j0f.c: Likewise.
15373 * math/w_j0l.c: Likewise.
15374 * math/w_j1.c: Likewise.
15375 * math/w_j1f.c: Likewise.
15376 * math/w_j1l.c: Likewise.
15377 * math/w_jn.c: Likewise.
15378 * math/w_jnf.c: Likewise.
15379 * math/w_log.c: Likewise.
15380 * math/w_logf.c: Likewise.
15381 * math/w_logl.c: Likewise.
15382 * math/w_log10.c: Likewise.
15383 * math/w_log10f.c: Likewise.
15384 * math/w_log10l.c: Likewise.
15385 * math/w_log2.c: Likewise.
15386 * math/w_log2f.c: Likewise.
15387 * math/w_log2l.c: Likewise.
15388 * math/w_pow.c: Likewise.
15389 * math/w_powf.c: Likewise.
15390 * math/w_powl.c: Likewise.
15391 * math/w_remainder.c: Likewise.
15392 * math/w_remainderf.c: Likewise.
15393 * math/w_remainderl.c: Likewise.
15394 * math/w_scalb.c: Likewise.
15395 * math/w_scalbf.c: Likewise.
15396 * math/w_scalbl.c: Likewise.
15397 * math/w_sqrt.c: Likewise.
15398 * math/w_sqrtf.c: Likewise.
15399 * math/w_sqrtl.c: Likewise.
15400 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15401 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15402 used.
15403 * math/math_private.h: Declare __kernel_standard_f.
15404 * math/w_cosh.c: Remove cruft and optimize a bit.
15405 * math/w_coshf.c: Likewise.
15406 * math/w_coshl.c: Likewise.
15407 * math/w_exp2.c: Likewise.
15408 * math/w_exp2f.c: Likewise.
15409 * math/w_exp2l.c: Likewise.
15410 * math/w_hypot.c: Likewise.
15411 * math/w_hypotf.c: Likewise.
15412 * math/w_hypotl.c: Likewise.
15413 * math/w_lgamma.c: Likewise.
15414 * math/w_lgamma_r.c: Likewise.
15415 * math/w_lgammaf.c: Likewise.
15416 * math/w_lgammaf_r.c: Likewise.
15417 * math/w_lgammal.c: Likewise.
15418 * math/w_lgammal_r.c: Likewise.
15419 * math/w_sinh.c: Likewise.
15420 * math/w_sinhf.c: Likewise.
15421 * math/w_sinhl.c: Likewise.
15422 * math/w_tgamma.c: Likewise.
15423 * math/w_tgammaf.c: Likewise.
15424 * math/w_tgammal.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15426 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15427 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15428 Minor optimizations. Pretty printing. Remove cruft.
15429 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15430 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15431 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15432 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15433 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15434 * sysdeps/i386/fpu/e_asin.S: Likewise.
15435 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15436 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15437 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15438 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15439 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15440 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15441 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15442 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15443 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15444 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15445 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15446 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15447 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15448 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15449 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15450 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15451 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15452 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15453 * sysdeps/i386/fpu/e_log.S: Likewise.
15454 * sysdeps/i386/fpu/e_log10.S: Likewise.
15455 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15456 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15457 * sysdeps/i386/fpu/e_log2.S: Likewise.
15458 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15459 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15460 * sysdeps/i386/fpu/e_logf.S: Likewise.
15461 * sysdeps/i386/fpu/e_logl.S: Likewise.
15462 * sysdeps/i386/fpu/e_pow.S: Likewise.
15463 * sysdeps/i386/fpu/e_powf.S: Likewise.
15464 * sysdeps/i386/fpu/e_powl.S: Likewise.
15465 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15466 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15467 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15468 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15469 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15470 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15471 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15472 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15473 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15474 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15475 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15477 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15478 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15479 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15480 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15481 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15482 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15483 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15484 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15485 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15487 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15488 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15489 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15490 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15491 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15492 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15493 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15494 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15495 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15496 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15497 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15498 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15499 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15500 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15501 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15502 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15503 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15504 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15505 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15506 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15507 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15508 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15509 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15510 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15511 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15512 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15513 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15514 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15515 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15522 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15531 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15532 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15534 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15546 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15553 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15554 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15557 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15559 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15560 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15562 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15565 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15566 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15567 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15568 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15569 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15570 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15571 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15572 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15573 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15574 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15575 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15576 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15577 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15578 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15579 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15580 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15581 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15582 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15583 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15584 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15585 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15586 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15587 (__isnanf): Likewise.
15588 (__isinf_ns): Likewise.
15589 (__isinf_nsf): Likewise.
15590 (__finite): Likewise.
15591 (__finitef): Likewise.
15592 (__ieee754_sqrt): Define as macro.
15593 (__ieee754_sqrtf): Define as macro.
15594 (__ieee754_sqrtl): Define as macro.
15595 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15596 inlined copy.
15597 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15598 __FINITE_MATH_ONLY__ consistent.
15599 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15600
12cc2fcd
AS
156012011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15602
a843a204
AS
15603 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15604 of rawmemchr.
15605
12cc2fcd
AS
15606 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15607
c853acd5
UD
156082011-10-09 Ulrich Drepper <drepper@gmail.com>
15609
15610 * po/ja.po: Update from translation team.
15611
c658d255
RM
156122011-10-08 Roland McGrath <roland@hack.frob.com>
15613
110946e4
RM
15614 * locale/programs/locarchive.c (prepare_address_space): New function.
15615 (create_archive, enlarge_archive, open_archive): Use it.
15616
50604220
RM
15617 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15618 inside [SHARED], where it is used.
15619
c658d255
RM
15620 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15621
15622 * nss/getent.c (netgroup_keys): Remove unused variable.
15623 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15624
6a621eb7
UD
156252011-10-08 Ulrich Drepper <drepper@gmail.com>
15626
7edb55ce
UD
15627 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15628 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15629 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15630 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15631 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15632 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15633 * math/Makefile (libm-calls): Add s_isinf_ns.
15634 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15635 * math/multc3.c: Likewise.
15636 * math/s_casin.c: Likewise.
15637 * math/s_casinf.c: Likewise.
15638 * math/s_casinl.c: Likewise.
15639 * math/s_ccos.c: Likewise.
15640 * math/s_ccosf.c: Likewise.
15641 * math/s_ccosl.c: Likewise.
15642 * math/s_ctan.c: Likewise.
15643 * math/s_ctanf.c: Likewise.
15644 * math/s_ctanh.c: Likewise.
15645 * math/s_ctanhf.c: Likewise.
15646 * math/s_ctanhl.c: Likewise.
15647 * math/s_ctanl.c: Likewise.
15648 * math/w_fmod.c: Likewise.
15649 * math/w_fmodf.c: Likewise.
15650 * math/w_fmodl.c: Likewise.
15651 * math/w_remainder.c: Likewise.
15652 * math/w_remainderf.c: Likewise.
15653 * math/w_remainderl.c: Likewise.
15654 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15655 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15656 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15657 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15658 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15659 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15660 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15661 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15662
187da0ae
UD
15663 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15664 of the number.
15665 * stdio-common/printf_fphex.c: Likewise.
15666 * stdio-common/printf_size.c: Likewise.
15667
9277c064
UD
15668 * math/e_exp10.c: Include math_private.h using <...> not "...".
15669 * math/e_exp10f.c: Likewise.
15670 * math/e_exp10l.c: Likewise.
15671 * math/e_exp2l.c: Likewise.
15672 * math/e_j0l.c: Likewise.
15673 * math/e_j1l.c: Likewise.
15674 * math/e_jnl.c: Likewise.
15675 * math/e_lgammal_r.c: Likewise.
15676 * math/e_rem_pio2l.c: Likewise.
15677 * math/e_scalb.c: Likewise.
15678 * math/e_scalbf.c: Likewise.
15679 * math/e_scalbl.c: Likewise.
15680 * math/k_cosl.c: Likewise.
15681 * math/k_sinl.c: Likewise.
15682 * math/k_tanl.c: Likewise.
15683 * math/s_cacoshf.c: Likewise.
15684 * math/s_catan.c: Likewise.
15685 * math/s_catanf.c: Likewise.
15686 * math/s_catanh.c: Likewise.
15687 * math/s_catanhf.c: Likewise.
15688 * math/s_catanhl.c: Likewise.
15689 * math/s_catanl.c: Likewise.
15690 * math/s_ccosh.c: Likewise.
15691 * math/s_ccoshf.c: Likewise.
15692 * math/s_ccoshl.c: Likewise.
15693 * math/s_cexp.c: Likewise.
15694 * math/s_cexpf.c: Likewise.
15695 * math/s_cexpl.c: Likewise.
15696 * math/s_clog.c: Likewise.
15697 * math/s_clog10.c: Likewise.
15698 * math/s_clog10f.c: Likewise.
15699 * math/s_clog10l.c: Likewise.
15700 * math/s_clogf.c: Likewise.
15701 * math/s_clogl.c: Likewise.
15702 * math/s_csin.c: Likewise.
15703 * math/s_csinf.c: Likewise.
15704 * math/s_csinh.c: Likewise.
15705 * math/s_csinhf.c: Likewise.
15706 * math/s_csinhl.c: Likewise.
15707 * math/s_csinl.c: Likewise.
15708 * math/s_csqrt.c: Likewise.
15709 * math/s_csqrtf.c: Likewise.
15710 * math/s_csqrtl.c: Likewise.
15711 * math/s_ctan.c: Likewise.
15712 * math/s_ctanf.c: Likewise.
15713 * math/s_ctanh.c: Likewise.
15714 * math/s_ctanhf.c: Likewise.
15715 * math/s_ctanhl.c: Likewise.
15716 * math/s_ctanl.c: Likewise.
15717 * math/s_ldexp.c: Likewise.
15718 * math/s_ldexpf.c: Likewise.
15719 * math/s_ldexpl.c: Likewise.
15720 * math/s_significand.c: Likewise.
15721 * math/s_significandf.c: Likewise.
15722 * math/s_significandl.c: Likewise.
15723 * math/w_acos.c: Likewise.
15724 * math/w_acosf.c: Likewise.
15725 * math/w_acosh.c: Likewise.
15726 * math/w_acoshf.c: Likewise.
15727 * math/w_acoshl.c: Likewise.
15728 * math/w_acosl.c: Likewise.
15729 * math/w_asin.c: Likewise.
15730 * math/w_asinf.c: Likewise.
15731 * math/w_asinl.c: Likewise.
15732 * math/w_atan2.c: Likewise.
15733 * math/w_atan2f.c: Likewise.
15734 * math/w_atan2l.c: Likewise.
15735 * math/w_atanh.c: Likewise.
15736 * math/w_atanhf.c: Likewise.
15737 * math/w_atanhl.c: Likewise.
15738 * math/w_cosh.c: Likewise.
15739 * math/w_coshf.c: Likewise.
15740 * math/w_coshl.c: Likewise.
15741 * math/w_dremf.c: Likewise.
15742 * math/w_exp10.c: Likewise.
15743 * math/w_exp10f.c: Likewise.
15744 * math/w_exp10l.c: Likewise.
15745 * math/w_exp2.c: Likewise.
15746 * math/w_exp2f.c: Likewise.
15747 * math/w_fmod.c: Likewise.
15748 * math/w_fmodf.c: Likewise.
15749 * math/w_fmodl.c: Likewise.
15750 * math/w_hypot.c: Likewise.
15751 * math/w_hypotf.c: Likewise.
15752 * math/w_hypotl.c: Likewise.
15753 * math/w_j0.c: Likewise.
15754 * math/w_j0f.c: Likewise.
15755 * math/w_j0l.c: Likewise.
15756 * math/w_j1.c: Likewise.
15757 * math/w_j1f.c: Likewise.
15758 * math/w_j1l.c: Likewise.
15759 * math/w_jn.c: Likewise.
15760 * math/w_jnf.c: Likewise.
15761 * math/w_jnl.c: Likewise.
15762 * math/w_lgamma.c: Likewise.
15763 * math/w_lgamma_r.c: Likewise.
15764 * math/w_lgammaf.c: Likewise.
15765 * math/w_lgammaf_r.c: Likewise.
15766 * math/w_lgammal.c: Likewise.
15767 * math/w_lgammal_r.c: Likewise.
15768 * math/w_log.c: Likewise.
15769 * math/w_log10.c: Likewise.
15770 * math/w_log10f.c: Likewise.
15771 * math/w_log10l.c: Likewise.
15772 * math/w_log2.c: Likewise.
15773 * math/w_log2f.c: Likewise.
15774 * math/w_log2l.c: Likewise.
15775 * math/w_logf.c: Likewise.
15776 * math/w_logl.c: Likewise.
15777 * math/w_pow.c: Likewise.
15778 * math/w_powf.c: Likewise.
15779 * math/w_powl.c: Likewise.
15780 * math/w_remainder.c: Likewise.
15781 * math/w_remainderf.c: Likewise.
15782 * math/w_remainderl.c: Likewise.
15783 * math/w_scalb.c: Likewise.
15784 * math/w_scalbf.c: Likewise.
15785 * math/w_scalbl.c: Likewise.
15786 * math/w_sinh.c: Likewise.
15787 * math/w_sinhf.c: Likewise.
15788 * math/w_sinhl.c: Likewise.
15789 * math/w_sqrt.c: Likewise.
15790 * math/w_sqrtf.c: Likewise.
15791 * math/w_sqrtl.c: Likewise.
15792 * math/w_tgamma.c: Likewise.
15793 * math/w_tgammaf.c: Likewise.
15794 * math/w_tgammal.c: Likewise.
15795
6a621eb7
UD
15796 * po/ja.po: Update from translation team.
15797
bf582445
AJ
157982011-09-29 Andreas Jaeger <aj@suse.de>
15799
f9efbf3a
AJ
15800 [BZ #13179]
15801 * sunrpc/netname.c (netname2host): Fix logic.
15802
bf582445
AJ
15803 [BZ #6779]
15804 [BZ #6783]
15805 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15806 correctly.
15807 * math/w_remainder.c (__remainder): Likewise.
15808 * math/w_remainderf.c (__remainderf): Likewise.
15809 * math/libm-test.inc (remainder_test): Add test cases.
15810
48693bea
AK
158112011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15812
15813 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15814 sdiv_qrnnd.
15815
42622229
LD
158162011-10-07 Ulrich Drepper <drepper@gmail.com>
15817
15818 * string/test-memcmp.c: Avoid unncessary #defines.
15819 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15820
093ecf92
LD
158212011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15822
15823 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15824 Use new sse2 version for core i3 - i7 as it's faster
15825 than sse42 version.
15826 (bit_Prefer_PMINUB_for_stringop): New.
15827 * sysdeps/x86_64/rawmemchr.S: Update.
15828 Replace with faster SSE2 version.
15829 * sysdeps/x86_64/memrchr.S: New file.
15830 * sysdeps/x86_64/memchr.S: Update.
15831 Replace with faster SSE2 version.
15832
fde56e5c
MP
158332011-09-12 Marek Polacek <mpolacek@redhat.com>
15834
15835 * elf/dl-load.c (lose): Add cast to avoid warning.
15836
21fd49a9
UD
158372011-10-07 Ulrich Drepper <drepper@gmail.com>
15838
5a06e643
UD
15839 * po/ca.po: Update from translation team.
15840
684ae515
UD
15841 * inet/getnetgrent_r.c: Hook up nscd.
15842 * nscd/Makefile (routines): Add nscd_netgroup.
15843 (nscd-modules): Add netgroupcache.
15844 (CFLAGS-netgroupcache.c): Define.
15845 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15846 (cache_search): Add const to second parameter.
15847 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15848 INNETGR.
15849 (dbs): Add netgrdb entry.
15850 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15851 (verify_persistent_db): Handle netgrdb.
15852 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15853 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15854 GETFDNETGR.
15855 (netgroup_response_header): Define.
15856 (innetgroup_response_header): Define.
15857 (datahead): Add netgroup_response_header and innetgroup_response_header
15858 elements.
15859 * nscd/nscd.conf: Add entries for netgroup cache.
15860 * nscd/nscd.h (dbtype): Add netgrdb.
15861 (_PATH_NSCD_NETGROUP_DB): Define.
15862 (netgroup_iov_disabled): Declare.
15863 (xmalloc, xcalloc, xrealloc): Move declarations here.
15864 (cache_search): Adjust prototype.
15865 Add netgroup-related prototypes.
15866 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15867 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15868 (__nscd_innetgr): Declare.
15869 * nscd/selinux.c (perms): Use access_vector_t as element type and
15870 add netgroup-related initializers.
15871 * nscd/netgroupcache.c: New file.
15872 * nscd/nscd_netgroup.c: New file.
15873 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15874 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15875 For four parameters use innetgr.
15876 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15877 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15878 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15879 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15880
21fd49a9
UD
15881 * nscd/connections.c (register_traced_file): Don't register file
15882 for disabled databases.
15883
054c0457
UD
158842011-10-06 Ulrich Drepper <drepper@gmail.com>
15885
32b63198
UD
15886 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15887
054c0457
UD
15888 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15889 from tree and freeing node.
15890
64031225
JO
158912011-09-25 Jiri Olsa <jolsa@redhat.com>
15892
15893 * nss/nsswitch.c (__nss_database_lookup): Handle
15894 nss_parse_service_list out of memory case.
15895
0490345c
JO
158962011-09-15 Jiri Olsa <jolsa@redhat.com>
15897
15898 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15899 out of memory case.
15900
3a62d00d
AS
159012011-10-04 Andreas Schwab <schwab@redhat.com>
15902
15903 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15904 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15905 pass it down.
15906 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15907 elf_machine_rela, elf_machine_lazy_rel.
15908 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15909 (ELF_DYNAMIC_DO_REL): Likewise.
15910 (ELF_DYNAMIC_DO_RELA): Likewise.
15911 (ELF_DYNAMIC_RELOCATE): Likewise.
15912 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15913 to ELF_DYNAMIC_DO_REL.
15914 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15915 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15916 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15917 elf_machine_rela.
15918 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15919 skip_ifunc, don't call ifunc function if non-zero.
15920 (elf_machine_rela): Likewise.
15921 (elf_machine_lazy_rel): Likewise.
15922 (elf_machine_lazy_rela): Likewise.
15923 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15924 (elf_machine_lazy_rel): Likewise.
15925 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15926 Likewise.
15927 (elf_machine_lazy_rel): Likewise.
15928 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15929 Likewise.
15930 (elf_machine_lazy_rel): Likewise.
15931 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15932 (elf_machine_lazy_rel): Likewise.
15933 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15934 (elf_machine_lazy_rel): Likewise.
15935 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15936 (elf_machine_lazy_rel): Likewise.
15937 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15938 (elf_machine_lazy_rel): Likewise.
15939 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15940 (elf_machine_lazy_rel): Likewise.
15941 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15942 (elf_machine_lazy_rel): Likewise.
15943
68577918
UD
159442011-09-28 Ulrich Drepper <drepper@gmail.com>
15945
15946 * nss/nss_files/files-init.c (_nss_files_init): Use static
15947 initialization for all the *_traced_file variables.
15948
68822d74
AS
159492011-09-28 Andreas Schwab <schwab@redhat.com>
15950
15951 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15952
2056100b
RM
159532011-09-27 Roland McGrath <roland@hack.frob.com>
15954
15955 [BZ #13226]
15956 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15957
32c76b63
AS
159582011-09-27 Andreas Schwab <schwab@redhat.com>
15959
15960 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15961 Reread the line before reparsing it.
15962
bf972c9d
AS
159632011-09-26 Andreas Schwab <schwab@redhat.com>
15964
15965 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15966
e057a1b5
JM
159672011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15968 Maxim Kuvyrkov <maxim@codesourcery.com>
15969 Joseph Myers <joseph@codesourcery.com>
15970
15971 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15972 if needed for __stack_chk_guard.
15973
bc7e1c36
RM
159742011-09-19 Roland McGrath <roland@hack.frob.com>
15975
ecb1482f
RM
15976 * sysdeps/posix/spawni.c (script_execute): Always define it.
15977 It will be optimized away if unused.
15978 (maybe_script_execute): New function.
15979 (__spawni): Call it.
15980
bc7e1c36
RM
15981 * Makerules: Don't include tls.make.
15982 (config-tls): Always set to thread.
15983 * tls.make.c: File removed.
15984
1c3b002b
MF
159852011-09-19 Mike Frysinger <vapier@gentoo.org>
15986
15987 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15988 * config.make.in (CPPFLAGS-config): New substituted variable.
15989
2840865d
UD
159902011-09-15 Ulrich Drepper <drepper@gmail.com>
15991
88738eb6
UD
15992 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15993
cbf645a6 15994 [BZ #13192]
2840865d
UD
15995 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15996 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15997
b402e91a
RM
159982011-09-15 Roland McGrath <roland@hack.frob.com>
15999
16000 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16001 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16002 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16003 (CALL_FAIL): Likewise.
16004 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16005 (CALL_FAIL): Macro removed.
16006 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16007
4c1a1f71
UD
160082011-09-15 Ulrich Drepper <drepper@gmail.com>
16009
16010 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16011 for __FINITE_MATH_ONLY__ == 1.
16012
edc121be
AS
160132011-09-15 Andreas Schwab <schwab@redhat.com>
16014
16015 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16016 __ieee754_sqrt instead of sqrt.
16017 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16018 __ieee754_sqrtf instead of sqrtf.
16019 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16020 __floorf instead of floorf.
16021 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16022 __floorf, __truncf instead of floorf, truncf.
16023
cd205654
UD
160242011-09-14 Ulrich Drepper <drepper@gmail.com>
16025
ee4d0315
UD
16026 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16027
cd205654
UD
16028 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16029 __extern_always_inline.
16030 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16031 32-bit.
16032
48b67d71
AS
160332011-09-14 Andreas Schwab <schwab@redhat.com>
16034
16035 * elf/rtld.c (dl_main): Also relocate in dependency order when
16036 doing symbol dependency testing.
16037
1ae12c75
AS
160382011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16039
16040 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16041 Always define `refsym'.
16042
995a80df
AS
160432011-09-13 Andreas Schwab <schwab@redhat.com>
16044
e529793b
AS
16045 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16046 (__FD_ELT): Renamed from __FDELT.
16047 * misc/bits/select2.h (__FD_ELT): Likewise.
16048 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16049 __FD_MASK instead of __FDELT, __FDMASK.
16050 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16051 Likewise.
16052 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16053 Likewise.
16054
52d4fef8
AS
16055 * elf/Makefile (gen-ldd): Fix pattern.
16056
995a80df
AS
16057 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16058 (init_tls): Likewise.
16059
8682f8b0
UD
160602011-09-12 Ulrich Drepper <drepper@gmail.com>
16061
16062 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16063
de82006d
AS
160642011-09-12 Andreas Schwab <schwab@redhat.com>
16065
a7c8e6a1
AS
16066 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16067 `struct cmsghdr *' instead of `void *'.
16068 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16069 Likewise.
16070
0f31fe77
AS
160712011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16072
16073 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16074 if non-absolute.
16075 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16076 ldd_rewrite_script.
0f31fe77 16077
32b4c839
UD
160782011-09-11 Ulrich Drepper <drepper@gmail.com>
16079
83cd1420
UD
16080 * configure.in: Remove --with-tls option.
16081 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16082 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16083 out in case it is missing.
16084 * sysdeps/ia64/elf/configure.in: Likewise.
16085 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16086 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16087 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16088 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16089 * sysdeps/sh/elf/configure.in: Likewise.
16090 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16091 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16092 * sysdeps/x86_64/elf/configure.in: Likewise.
16093 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16094 * sysdeps/mach/hurd/tls.h: Likewise.
16095
633f745d
UD
16096 [BZ #13067]
16097 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16098
f318beb8
UD
16099 [BZ #13090]
16100 * configure.in: Fix use of AC_INIT.
16101
32b4c839
UD
16102 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16103
3ce1f295
UD
161042011-09-10 Ulrich Drepper <drepper@gmail.com>
16105
bb016596
UD
16106 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16107 __set_errno.
8e58439c
UD
16108 * malloc/hooks.c: Likewise.
16109
aebae053 16110 [BZ #11929]
02d46fc4
UD
16111 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16112 variables statically.
16113 (narenas): Initialize.
16114 (list_lock): Initialize.
bb016596
UD
16115 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16116 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16117 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16118 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16119 Add initializers to main_arena and mp_.
16120 (malloc_state): Remove pagesize member. Change all users to use
16121 GLRO(dl_pagesize).
16122
16123 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16124 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16125 is always initialized.
16126
22a89187
UD
16127 * malloc/malloc.c: Removed unused configurations and dead code.
16128 * malloc/arena.c: Likewise.
16129 * malloc/hooks.c: Likewise.
02d46fc4 16130 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16131
d063d164
UD
16132 * include/tls.h: Removed. USE___THREAD must always be defined.
16133 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16134 * elf/dl-libc.c: Likewise.
16135 * elf/dl-tsd.c: Likewise.
16136 * include/errno.h: Likewise.
16137 * include/netdb.h: Likewise.
16138 * include/resolv.h: Likewise.
16139 * inet/herrno-loc.c: Likewise.
16140 * inet/herrno.c: Likewise.
16141 * malloc/arena.c: Likewise.
16142 * malloc/hooks.c: Likewise.
16143 * malloc/malloc.c: Likewise.
16144 * resolv/res-state.c: Likewise.
16145 * resolv/res_libc.c: Likewise.
16146 * sysdeps/i386/dl-machine.h: Likewise.
16147 * sysdeps/ia64/dl-machine.h: Likewise.
16148 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16149 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16150 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16151 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16152 * sysdeps/sh/dl-machine.h: Likewise.
16153 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16154 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16155 * sysdeps/unix/i386/sysdep.S: Likewise.
16156 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16157 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16158 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16159 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16160 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16161 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16162 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16163 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16166 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16167 * sysdeps/x86_64/dl-machine.h: Likewise.
16168 * tls.make.c: Likewise.
16169
3ce1f295
UD
16170 * configure.in: Remove --with-__thread option. Make tests for
16171 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16172 tls_model attribute fail if no support is available. Remove
16173 USE_IN_LIBIO.
16174 * Makeconfig: Adjust for dropped configure option. All features are
16175 now mandatory.
16176 * Makerules: Likewise.
16177 * Versions.def: Likewise.
16178 * argp/argp-fmtstream.c: Likewise.
16179 * argp/argp-fmtstream.h: Likewise.
16180 * argp/argp-help.c: Likewise.
16181 * assert/assert.c: Likewise.
16182 * config.h.in: Likewise.
16183 * config.make.in: Likewise.
16184 * configure: Likewise.
16185 * configure.in: Likewise.
16186 * csu/Versions: Likewise.
16187 * csu/init.c: Likewise.
16188 * elf/tst-audit2.c: Likewise.
16189 * elf/tst-tls10.c: Likewise.
16190 * elf/tst-tls10.h: Likewise.
16191 * elf/tst-tls11.c: Likewise.
16192 * elf/tst-tls12.c: Likewise.
16193 * elf/tst-tls14.c: Likewise.
16194 * elf/tst-tlsmod11.c: Likewise.
16195 * elf/tst-tlsmod12.c: Likewise.
16196 * elf/tst-tlsmod13.c: Likewise.
16197 * elf/tst-tlsmod13a.c: Likewise.
16198 * elf/tst-tlsmod14a.c: Likewise.
16199 * elf/tst-tlsmod15b.c: Likewise.
16200 * elf/tst-tlsmod16a.c: Likewise.
16201 * elf/tst-tlsmod16b.c: Likewise.
16202 * elf/tst-tlsmod7.c: Likewise.
16203 * elf/tst-tlsmod8.c: Likewise.
16204 * elf/tst-tlsmod9.c: Likewise.
16205 * gmon/gmon.c: Likewise.
16206 * grp/fgetgrent_r.c: Likewise.
16207 * grp/putgrent.c: Likewise.
16208 * hurd/fopenport.c: Likewise.
16209 * include/libc-symbols.h: Likewise.
16210 * include/tls.h: Likewise.
16211 * intl/gettextP.h: Likewise.
16212 * intl/loadinfo.h: Likewise.
16213 * locale/global-locale.c: Likewise.
16214 * locale/localeinfo.h: Likewise.
16215 * mach/devstream.c: Likewise.
16216 * malloc/arena.c: Likewise.
16217 * malloc/set-freeres.c: Likewise.
16218 * misc/err.c: Likewise.
16219 * misc/getttyent.c: Likewise.
16220 * misc/mntent_r.c: Likewise.
16221 * posix/getopt.c: Likewise.
16222 * posix/wordexp.c: Likewise.
16223 * pwd/fgetpwent_r.c: Likewise.
16224 * resolv/Versions: Likewise.
16225 * resolv/res_hconf.c: Likewise.
16226 * shadow/fgetspent_r.c: Likewise.
16227 * shadow/putspent.c: Likewise.
16228 * stdio-common/printf_fphex.c: Likewise.
16229 * stdio-common/tmpfile.c: Likewise.
16230 * stdlib/abort.c: Likewise.
16231 * stdlib/fmtmsg.c: Likewise.
16232 * sunrpc/auth_unix.c: Likewise.
16233 * sunrpc/clnt_perr.c: Likewise.
16234 * sunrpc/clnt_tcp.c: Likewise.
16235 * sunrpc/clnt_udp.c: Likewise.
16236 * sunrpc/clnt_unix.c: Likewise.
16237 * sunrpc/openchild.c: Likewise.
16238 * sunrpc/svc_simple.c: Likewise.
16239 * sunrpc/svc_tcp.c: Likewise.
16240 * sunrpc/svc_udp.c: Likewise.
16241 * sunrpc/svc_unix.c: Likewise.
16242 * sunrpc/xdr.c: Likewise.
16243 * sunrpc/xdr_array.c: Likewise.
16244 * sunrpc/xdr_rec.c: Likewise.
16245 * sunrpc/xdr_ref.c: Likewise.
16246 * sunrpc/xdr_stdio.c: Likewise.
16247
1248c1c4
PB
162482011-09-09 Ulrich Drepper <drepper@gmail.com>
16249
16250 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16251
162522011-07-03 Andreas Jaeger <aj@suse.de>
16253
16254 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16255 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16256 regenerate with gen-libm-tests.pl.
16257
162582010-05-12 Petr Baudis <pasky@suse.cz>
16259
16260 [BZ #11589]
16261 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16262 around j0() zero points by switching to j1().
16263 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16264 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16265 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16266 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16267
f22e1074
UD
162682011-09-09 Ulrich Drepper <drepper@gmail.com>
16269
f19009c1
UD
16270 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16271 instead of 0.
16272 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16273 instead of 0. .
16274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16275 Patch in part by Pavel Roskin <proski@gnu.org>.
16276
3f8cc204
UD
16277 [BZ #13138]
16278 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16279 realloc.
16280 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16281 Free memory block if necessary.
16282
f22e1074
UD
16283 [BZ #12847]
16284 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16285 be NULL. Don't lock in this case.
16286
0a2349f9
RM
162872011-09-09 Roland McGrath <roland@hack.frob.com>
16288
16289 * elf/elf.h (ELFOSABI_GNU): New macro.
16290 (ELFOSABI_LINUX): Define to that.
16291
f3cdd467
DZ
162922011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16293
16294 * string/strncat.c (strncat): Undef the symbol in case it has been
16295 defined in bits/string.h.
16296
74718d13
UD
162972011-09-09 Ulrich Drepper <drepper@gmail.com>
16298
633e9e0f
UD
16299 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16300
0a2349f9 16301 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16302 link map.
16303
f9924780
AJ
163042011-08-17 Andreas Jaeger <aj@suse.de>
16305
16306 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16307
7f5517aa
PP
163082011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16309 Ian Lance Taylor <iant@google.com>
16310
16311 * math/libm-test.inc (lround_test): New testcase.
16312 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16313
762011fe
UD
163142011-09-08 Ulrich Drepper <drepper@gmail.com>
16315
92963737
UD
16316 * Makefile: Remove support for automatic cvs check-ins.
16317 * Makerules: Likewise.
16318 * config.make.in: Likewise.
16319 * configure.in: Likewise.
16320 * intl/Makefile: Likewise.
16321 * locale/Makefile: Likewise.
16322 * po/Makefile: Likewise.
16323 * posix/Makefile: Likewise.
16324 * sysdeps/gnu/Makefile: Likewise.
16325 * sysdeps/mach/hurd/Makefile: Likewise.
16326 * sysdeps/sparc/sparc32/Makefile: Likewise.
16327
b0727fd8
JS
16328 [BZ #13118]
16329 * posix/Makefile (bug-regex32-ENV): Define.
16330 Patch by John Stanley <jpsinthemix@verizon.net>.
16331
a0f33f99
UD
16332 * misc/Makefile (headers): Add bits/select2.h.
16333 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16334 * misc/bits/select2.h: New file.
16335 * include/bits/select2.h: New file.
16336 * debug/Makefile (routines): Add fdelt_chk.
16337 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16338 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16339 FD_ISSET.
16340 * debug/fdelt_chk.c: New file.
16341
762011fe
UD
16342 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16343 * wcsmbs/test-wmemcmp.c: Likewise.
16344 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16345 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16346
163472011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16348
16349 * string/Makefile (strop-tests): Add memcmp.
16350 * string/test-wmemcmp.c: New file.
16351 * string/test-memcmp.c: Add wmemcmp support.
16352
7f513ec8
RM
163532011-09-08 Roland McGrath <roland@hack.frob.com>
16354
0442afb4
RM
16355 [BZ #13153]
16356 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16357 2011-07-19 change.
16358
7f513ec8
RM
16359 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16360 garbage value in a __mach_port_mod_refs call in the cases of the
16361 task-self and thread-self ports.
16362
a12b2239
ST
163632011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16364
16365 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16366
610f9ab4
AS
163672011-09-08 Andreas Schwab <schwab@redhat.com>
16368
7f513ec8 16369 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16370
48882a1a
LD
163712011-09-07 Ulrich Drepper <drepper@gmail.com>
16372
b49865be
UD
16373 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16374
fdc86bc9
UD
16375 * elf/dl-libc.c (dlerror_run): Pass back error code from
16376 dl_catch_error.
16377
c966526a
UD
16378 [BZ #13123]
16379 * elf/dl-load.c (lose): Free l_origin if it is valid.
16380
48882a1a
LD
16381 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16382 names.
16383 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16384 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16385 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16386 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16387 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16388 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16389
77a2a8b4
AZ
163902011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16391
16392 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16393 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16394 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16395 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16396 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16397 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16398 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16399 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16400 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16401 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16402
24f579d8
AM
164032011-08-15 Alan Modra <amodra@gmail.com>
16404
16405 [BZ #13092]
16406 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16407 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16408 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16409 ppc_mcount to static-only-routines.
16410 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16411 __mcount_internal.
16412 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16413 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16414
3d4837df
UD
164152011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16416
16417 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16418 for finite and infinity parameters.
16419
22700377
WS
164202011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16421
16422 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16423 and add nop instructions for throughput optimization.
16424 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16425
5025581e
WS
164262011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16427
16428 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16429 aligned copy for power7 with vector-scalar instructions.
16430 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16431
08a300c9
L
164322011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16433
16434 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16435 AVX check.
16436
59178ef9
AS
164372011-09-07 Andreas Schwab <schwab@redhat.com>
16438
16439 [BZ #13144]
16440 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16441 last change.
16442
e38ba7ab
UD
164432011-09-07 Ulrich Drepper <drepper@gmail.com>
16444
16445 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16446 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16447 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16448 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16449 clock_gettime.
16450
d53a73ac
UD
164512011-09-06 Ulrich Drepper <drepper@gmail.com>
16452
fc8bffcc
UD
16453 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16454 Forgot to demangle the pointer.
16455
ceaa0c5d
UD
16456 * sysdeps/i386/sysdep.h: Define atom_text_section.
16457 * sysdeps/x86_64/sysdep.h: Likewise.
16458 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16459 section with atom_text_section.
16460 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16461 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16462 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16463 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16464 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16465
a77d3c17
UD
16466 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16467 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16468 already be defined. Change to take two parameters and don't assign
16469 result to variable. Adjust all users.
16470 Define INTERNAL_GETTIME if not already defined.
16471 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16472 call.
16473 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16474 HAVE_CLOCK_GETTIME_VSYSCALL.
16475 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16476
d53a73ac
UD
16477 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16478 gettimeofday vsyscall, just use time.
16479
a8f84144
AS
164802011-09-06 Andreas Schwab <schwab@redhat.com>
16481
16482 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16483 <errno.h>.
16484
ef606249
UD
164852011-09-06 Ulrich Drepper <drepper@gmail.com>
16486
16487 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16488 syscall on x86-64.
16489 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16490 syscall.
16491 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16492 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16493 syscall if possible.
16494
6585cb60
UD
164952011-09-05 Ulrich Drepper <drepper@gmail.com>
16496
16497 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16498 e_ident. Don't pass to find_mapsXX.
16499 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16500
a5f524e4
LD
165012011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16502
16503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16504 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16505 * sysdeps/x86_64/multiarch/strchr.S: Update.
16506 Check bit_slow_BSF bit.
16507 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16508 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16509 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16510
554881ef
UD
165112011-09-05 Ulrich Drepper <drepper@gmail.com>
16512
d96de963
UD
16513 [BZ #13134]
16514 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16515 before glibc 2.15.
16516 (tryshell): Define.
16517 (__spawni): Change last parameter to be flag. Test
16518 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16519 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16520 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16521 * posix/spawni.c: Likewise.
16522 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16523 * posix/spawnp.c: Likewise. Change normal version to use
16524 SPAWN_XFLAGS_USE_PATH.
16525 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16526 SPAWN_XFLAGS_TRY_SHELL.
16527
d48e5868
UD
16528 [BZ #13150]
16529 * posix/glob.h: Remove gcc 1.x support.
16530
554881ef
UD
16531 [BZ #13068]
16532 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16533
693fb948
LD
165342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16535
16536 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16537 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16538 strrchr-sse2-bsf
16539 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16540 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16541 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16542 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16543 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16544 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16545
1b48c537
UD
165462011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16547
49d42c37
UD
16548 * sysdeps/x86_64/wcscmp.S: New file.
16549
1b48c537
UD
16550 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16551 wcscmp-c wcscmp-sse2
16552 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16553 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16554 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16555 * wcsmbs/wcscmp.c: Allow renaming.
16556
15c95c5d
DM
165572011-09-05 David S. Miller <davem@davemloft.net>
16558
16559 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16560 stack slot, rather than the struct return pointer slot.
16561 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16562 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16564 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16565
2f0ad8f3
UD
165662011-09-05 Ulrich Drepper <drepper@gmail.com>
16567
d88ae418
UD
16568 * po/ja.po: Update from translation team.
16569
2f0ad8f3
UD
16570 [BZ #13144]
16571 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16572 kernel in 64-bit binaries.
16573
5f4318d1
DM
165742011-09-01 David S. Miller <davem@davemloft.net>
16575
16576 * elf/elf.h (HWCAP_SPARC_*): Move to..
16577 * sysdeps/sparc/sysdep.h: this new file and add new values.
16578 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16579 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16580 _DL_HWCAP_COUNT to 24.
16581 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16582 entries.
16583 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16584 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16585 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16587 instead of magic constants.
16588 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16589
3ba57516
DM
165902011-08-31 David S. Miller <davem@davemloft.net>
16591
16592 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16593 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16594 Reimplement to do errno handling inline.
16595 (SYSCALL_ERROR_HANDLER): New macro.
16596 (__SYSCALL_STRING): Do not do errno handling in asm.
16597 (__CLONE_SYSCALL_STRING): Delete.
16598 (__INTERNAL_SYSCALL_STRING): Delete.
16599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16600 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16601 (PSEUDO): Reimplement to do errno handling inline.
16602 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16603 (SYSCALL_ERROR_HANDLER): New macro.
16604 (__SYSCALL_STRING): Do not do errno handling in asm.
16605 (__CLONE_SYSCALL_STRING): Delete.
16606 (__INTERNAL_SYSCALL_STRING): Delete.
16607 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16608 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16609 i386.
16610 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16611 (inline_syscall*): Add 'err' argument.
16612 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16613 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16614 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16615 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16616
16617 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16618 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16619
2bc17433
AS
166202011-08-30 Andreas Schwab <schwab@redhat.com>
16621
16622 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16623
fbeb5f4d
JO
166242011-08-29 Jiri Olsa <jolsa@redhat.com>
16625
16626 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16627 directive.
16628
ad69cc26
DM
166292011-08-24 David S. Miller <davem@davemloft.net>
16630
16631 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16632
39dd69df
AS
166332011-08-24 Andreas Schwab <schwab@redhat.com>
16634
16635 * elf/Makefile: Add rules to build and run unload8 test.
16636 * elf/unload8.c: New file.
16637 * elf/unload8mod1.c: New file.
16638 * elf/unload8mod1x.c: New file.
16639 * elf/unload8mod2.c: New file.
16640 * elf/unload8mod3.c: New file.
16641
16642 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16643 it wasn't used.
16644
2c0b250a
DM
166452011-08-23 David S. Miller <davem@davemloft.net>
16646
16647 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16648 subtract stack bias.
16649 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16650 %sp not %fp in calculations.
16651 (_JMPBUF_UNWINDS_ADJ): Likewise.
16652
22044b48
DM
16653 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16654 (aio_suspend): Call it to force an exception region around the
16655 AIO_MISC_WAIT() invocation.
16656
2cae4995
AS
166572011-08-23 Andreas Schwab <schwab@redhat.com>
16658
16659 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16660 backslash.
16661
873a772e
AJ
166622011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16663
16664 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16665 protection macro.
16666 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16667 and <dl-machine.h>.
16668 (Elf64_FuncDesc): Remove.
16669
25ad0df1
DM
166702011-08-22 David S. Miller <davem@davemloft.net>
16671
16672 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16673 sigaltstack check, add missing cfi directives.
16674 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16675 missing cfi directives, and sigaltstack handling.
16676
e888bcbe
AS
166772011-08-16 Andreas Schwab <schwab@redhat.com>
16678
16679 [BZ #11724]
16680 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16681 object is seen twice.
16682 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16683
16684 * elf/Makefile (distribute): Add tst-initorder2.c.
16685 (tests): Add tst-initorder2.
16686 (modules-names): Add tst-initorder2a tst-initorder2b
16687 tst-initorder2c tst-initorder2d. Add rules to build them.
16688 ($(objpfx)tst-initorder2.out): New rule.
16689 * elf/tst-initorder2.c: New file.
16690 * elf/tst-initorder2.exp: New file.
16691
87162f46
AS
166922011-08-22 Andreas Schwab <schwab@redhat.com>
16693
70538b7f
AS
16694 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16695
f55ffe58
AS
16696 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16697 dependencies back to end of function.
16698
87162f46
AS
16699 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16700 $(elfobjdir)/ld.so.
16701
91b392a4
UD
167022011-08-21 Ulrich Drepper <drepper@gmail.com>
16703
16704 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16705 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16707 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16708 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16709 of __vdso_gettimeofday.
16710 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16711 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16712 attribute_hidden.
16713 (_libc_vdso_platform_setup): Remove initialization of
16714 __vdso_gettimeofday and __vdso_time.
16715
5c43483f
UD
167162011-08-20 Ulrich Drepper <drepper@gmail.com>
16717
775a77e7
UD
16718 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16719 and fgetc_unlocked.
16720 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16721 getc_unlocked.
89f447ed 16722
49c74ba9
UD
16723 * elf/dl-open.c (add_to_global): Report additions to the global scope
16724 for LD_DEBUG=scopes.
16725 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16726 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16727
5c43483f
UD
16728 [BZ #13114]
16729 * stdio-common/Makefile (tests): Add bug24.
16730 * stdio-common/bug24.c: New file.
16731
a101b025
AJ
167322011-08-19 Andreas Jaeger <aj@suse.de>
16733
16734 [BZ #13114]
16735 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16736 non-existant file when using close-on-exec mode.
16737
c88f1766
UD
167382011-08-20 Ulrich Drepper <drepper@gmail.com>
16739
0276a718
UD
16740 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16741 the very first instruction.
16742
c88f1766
UD
16743 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16744 the CFI state in the end.
16745 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16746 inclusion of dl-trampoline.h.
16747 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16748
51ccffa0
AS
167492011-08-19 Andreas Schwab <schwab@redhat.com>
16750
94d7165f
AS
16751 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16752 expectations for long double.
16753
51ccffa0
AS
16754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16755 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16756
fd708658 167572011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16758
16759 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16760 artificual limit depends upon the system page size.
16761
44f0a71e
UD
167622011-08-17 Ulrich Drepper <drepper@gmail.com>
16763
16764 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16765 * resolv/Makefile: Define CFLAGS-libresolv.
16766
8de79a24
AS
167672011-08-17 Andreas Schwab <schwab@redhat.com>
16768
16769 * nss/makedb.c (compute_tables): Make variables used in nested
16770 function static.
16771
27724598
UD
167722011-08-17 Ulrich Drepper <drepper@gmail.com>
16773
c5305d88
UD
16774 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16775 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16776 if buffer was too small.
16777
27724598
UD
16778 * elf/pldd.c (main): Attach to all threads in the process.
16779 Rewrite /proc handling to use *at functions.
16780
076fe015
UD
167812011-08-16 Ulrich Drepper <drepper@gmail.com>
16782
174baab3
UD
16783 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16784 specifies first scope to show.
16785 (dl_open_worker): Update callers. Move printing scope of new
16786 object to before the relocation.
44f0a71e 16787 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16788 * sysdeps/generic/ldsodefs.h: Update declaration.
16789
076fe015
UD
16790 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16791 string for the scope number.
16792
a60df2c3
UD
167932011-08-14 Ulrich Drepper <drepper@gmail.com>
16794
16795 * nscd/servicescache.c (cache_addserv): Make sure written is always
16796 initialized.
16797
5e4287d1
RM
167982011-08-14 Roland McGrath <roland@hack.frob.com>
16799
85ae0589
RM
16800 * sysdeps/i386/i486/bits/atomic.h
16801 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16802 statement expression, so as to suppress "set but not used" warning.
16803 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16804
69f63097
RM
16805 * string/strncat.c (STRNCAT): Use prototype definition.
16806
675456ef
RM
16807 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16808 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16809 -Iprograms here.
16810 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16811 (localedef-modules): Add localedef.
16812 (locale-modules): Add locale.
16813
5e4287d1
RM
16814 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16815 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16816 to avoid a warning.
16817
9c96ff23
DM
168182011-08-14 David S. Miller <davem@davemloft.net>
16819
16820 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16821 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16822
f9ddf089
UD
168232011-08-13 Ulrich Drepper <drepper@gmail.com>
16824
44f0a71e 16825 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16826 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16827 * elf/rtld.c (dl_main): Set l_name of vDSO.
16828 Call _dl_show_scope when DL_DEBUG_SCOPES.
16829 (process_dl_debug): Recognize scopes flag and also set it for all.
16830 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16831 Declare _dl_show_scope.
16832
1dc27704
UD
16833 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16834 (do_dlopen): Pass caller_dlopen to dl_open.
16835 (__libc_dlopen_mode): Initialize caller_dlopen.
16836
f9ddf089
UD
16837 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16838 of libc. Make tolower call locale-independent. Optimize a bit by
16839 using isdigit instead of isalnum.
16840 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16841
9ac533d3
UD
168422011-08-12 Ulrich Drepper <drepper@gmail.com>
16843
16844 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16845 was a dependency or dynamically loaded.
16846
89edf2e9
UD
168472011-08-11 Ulrich Drepper <drepper@gmail.com>
16848
8e999d29
UD
16849 * intl/l10nflist.c: Allow architecture-specific pop function.
16850 * sysdeps/x86_64/l10nflist.c: New file.
16851
89edf2e9
UD
16852 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16853 classification.
16854
14d96785
AS
168552011-08-10 Andreas Schwab <schwab@redhat.com>
16856
16857 * include/dirent.h: Add libc_hidden_proto for scandirat and
16858 scandirat64. Don't declare __scandirat64.
16859 * dirent/scandirat.c: Add libc_hidden_def.
16860 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16861 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16862
6761ac04
DM
168632011-08-10 David S. Miller <davem@davemloft.net>
16864
16865 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16866 enum.
16867 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16868 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16869 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16870
c55fbd1e
UD
168712011-08-09 Ulrich Drepper <drepper@gmail.com>
16872
16873 * Versions.def [libc]: Add GLIBC_2.15.
16874 * dirent/Makefile (routines): Add scandirat and scandirat64.
16875 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16876 GLIBC_2.15.
16877 * dirent/dirent.h: Declare scandirat and scandirat64.
16878 * dirent/scandirat.c: New file.
16879 * dirent/scandirat64.c: New file.
16880 * sysdeps/wordsize-64/scandirat.c: New file.
16881 * sysdeps/wordsize-64/scandirat64.c: New file.
16882 * dirent/opendir.c: Define opendirat.
16883 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16884 using scandirat.
16885 * dirent/scandir64.c: Adjust for scandir.c change.
16886 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16887 __scandirat64, and __scandir_cancel_handler.
16888 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16889 additional parameter and use openat instead of open (outside of ld.so).
16890 Add new __opendir as wrapper around __opendirat.
16891 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16892 here without requiring old scandirat implementation.
16893
879165f2
UD
168942011-08-08 Ulrich Drepper <drepper@gmail.com>
16895
16896 * dirent/scandir.c (cancel_handler): Renamed to
16897 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16898 defined. Adjust users.
16899 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16900 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16901
cb7e923b
UD
169022011-08-04 Ulrich Drepper <drepper@gmail.com>
16903
16292edd
UD
16904 * string/test-string.h (IMPL): Use __STRING to expand name and then
16905 stringify it.
16906
cb7e923b
UD
16907 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16908 of cleanups.
16909
cff82933
LD
169102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16911
16912 * string/Makefile: Update.
16913 (strop-tests): Append strncat.
16914 * string/test-wcscmp.c: New file.
16915 New comprehensive test for wcscmp.
16916 * string/test-strcmp.c: Update.
16917 (WIDE): New define.
16918
9be9bfcc
AS
169192011-07-22 Andreas Schwab <schwab@redhat.com>
16920
16921 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16922 line.
16923
2e96f1c7
AS
169242011-07-26 Andreas Schwab <schwab@redhat.com>
16925
16926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16927 encoding to ACE if AI_IDN.
16928
85188888
JJ
169292011-08-01 Jakub Jelinek <jakub@redhat.com>
16930
16931 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16932 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16933
5fa16e9b
LD
169342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16935
16936 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16937 Fix overflow bug in strncat.
16938 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16939
16940 * string/test-strncat.c: Update.
16941 Add new tests for checking overflow bugs.
16942
169432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16944
16945 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16946 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16947 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16948 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16949 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16950 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16951 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16952 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16953 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16954
16955 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16956 (USE_AS_STRCAT): Define.
16957 Add strcat and strncat support.
16958 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16959
8c1a459f
AS
169602011-07-25 Andreas Schwab <schwab@redhat.com>
16961
16962 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16963 __n bigger than INT_MAX+1.
16964 (__strncmp_g): Likewise.
16965
bba33c28
UD
169662011-07-23 Ulrich Drepper <drepper@gmail.com>
16967
798be72d
UD
16968 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16969 * libio/stido.h: Likewise.
16970
8accd4dc
UD
16971 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16972 (AF_NFC): Define.
16973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16974 (AF_NFC): Define.
16975
cbff0d96
UD
16976 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16977 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16978 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16979 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16980 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16981
9191c04a
UD
16982 [BZ #13021]
16983 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16984 installed.
16985
bba33c28
UD
16986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16987 typo.
16988 (_dl_x86_64_save_sse): Likewise.
16989
90f139dd
UD
169902011-07-22 Ulrich Drepper <drepper@gmail.com>
16991
1aae088a
UD
16992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16993 OSXSAVE.
16994 (_dl_x86_64_save_sse): Likewise.
16995
8e2045f5
UD
16996 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16997
90f139dd
UD
16998 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16999
1d002f25
AS
170002011-07-21 Andreas Schwab <schwab@redhat.com>
17001
17002 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17003 change.
17004 (_dl_x86_64_save_sse): Use correct AVX check.
17005
21137f89
UD
170062011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17007
17008 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17009 bug in strncpy/strncat.
17010 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17011
a65c0b7a
UD
170122011-07-21 Ulrich Drepper <drepper@gmail.com>
17013
17014 * string/tester.c (test_strcat): Add tests for different alignments
17015 of source and destination.
17016 (test_strncat): Likewise.
17017
6986b98a
UD
170182011-07-20 Ulrich Drepper <drepper@gmail.com>
17019
90bb2039
UD
17020 [BZ #12852]
17021 * posix/glob.c (glob): Check passed in values before using them in
17022 expressions to avoid some overflows.
17023 (glob_in_dir): Likewise.
17024
5644ef54
UD
17025 [BZ #13007]
17026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17027 check for AVX enablement so that we don't crash with old kernels and
17028 new hardware.
17029 * elf/tst-audit4.c: Add same checks here.
17030 * elf/tst-audit6.c: Likewise.
17031
17032 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17033
bfc9dc9b
AS
170342011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17035
17036 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17037
702e64bb
UD
170382011-07-20 Ulrich Drepper <drepper@gmail.com>
17039
17040 * po/cs.po: Update from translation team.
17041 * po/bg.po: Likewise.
17042
295e904f
MP
170432011-07-12 Marek Polacek <mpolacek@redhat.com>
17044
17045 * misc/sys/cdefs.h: Add support for const attribute.
17046 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17047 to gnu_dev_{major,minor,makedev} functions.
17048
3ff94596
MP
170492011-07-20 Marek Polacek <mpolacek@redhat.com>
17050
17051 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17052
28b59fca
AS
170532011-07-20 Andreas Schwab <schwab@redhat.com>
17054
17055 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17056 strlen results.
17057
19df733e
AK
170582011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17059
17060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17061 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17062 register in order to avoid conflicts with the soft frame pointer
17063 being held in r11 when necessary.
17064 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17065 (INTERNAL_VSYSCALL_NCS): Likewise.
17066
c8835729
MP
170672011-07-14 Marek Polacek <mpolacek@redhat.com>
17068
17069 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17070 * elf/dl-fini.c (_dl_fini): Adjust caller.
17071 * elf/dl-close.c (_dl_close_worker): Likewise.
17072 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17073
b902330c
MP
170742011-07-15 Marek Polacek <mpolacek@redhat.com>
17075
8991e135
MP
17076 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17077 "aux_cache->nlibs < 0".
17078
b902330c
MP
17079 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17080 in the reload-count case.
17081
99710781
LD
170822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17083
17084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17085 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17086 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17087 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17088 * sysdeps/x86_64/multiarch/strcat.S: New file.
17089 * sysdeps/x86_64/multiarch/strncat.S: New file.
17090 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17091 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17092 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17093 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17094 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17095 (USE_AS_STRCAT): Define.
17096 Add strcat and strncat support.
17097 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17098 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17099 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17100 * string/strncat.c: Update.
17101 (USE_AS_STRNCAT): Define.
17102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17103 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17104 and i7.
17105 * sysdeps/x86_64/multiarch/init-arch.h
17106 (bit_Prefer_PMINUB_for_stringop): New.
17107 (index_Prefer_PMINUB_for_stringop): Likewise.
17108 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17109 bit_Prefer_PMINUB_for_stringop.
17110
7dc6bd90
UD
171112011-07-19 Ulrich Drepper <drepper@gmail.com>
17112
17113 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17114 buffer64.
17115 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17116 of casting of buffer.
17117 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17118 buffer32 and buffer64.
17119 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17120 writes instead of casting of buffer.
17121 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17122 buffer32.
17123 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17124 casting of buffer.
17125
e0e72284
AS
171262011-07-19 Andreas Schwab <schwab@redhat.com>
17127
17128 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17129
feb1eb0b
UD
171302011-07-19 Ulrich Drepper <drepper@gmail.com>
17131
17132 * nscd/nscd.c (termination_handler): Don't do anything for a database
17133 if it has not yet been initialized.
17134
298711ff
UD
171352011-07-18 Ulrich Drepper <drepper@gmail.com>
17136
17137 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17138
171392011-07-15 Marek Polacek <mpolacek@redhat.com>
17140
17141 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17142
f9d68389
UD
171432011-07-18 Ulrich Drepper <drepper@gmail.com>
17144
17145 * po/nl.po: Update from translation team.
17146 * po/sv.po: Likewise.
17147
db290cf5
RM
171482011-07-16 Roland McGrath <roland@hack.frob.com>
17149
17150 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17151 now disallowed by GCC.
5c550700 17152
fd5e21c7
RM
17153 * configure.in (use-default-link): Default to yes if a test -shared
17154 link meets our qualifications.
17155 * configure: Regenerated.
17156
5c550700
RM
17157 * config.make.in (output-format): New variable.
17158 * configure.in: Check for ld --print-output-format support.
17159 * configure: Regenerated.
17160 * Makerules ($(common-objpfx)format.lds)
17161 [$(output-format) != unknown]: Just use $(output-format),
17162 instead of the linker-script munging.
17163
9fa2c032
RM
171642011-07-14 Roland McGrath <roland@hack.frob.com>
17165
a6928d51
RM
17166 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17167 of $(common-objpfx)shlib.lds.
17168 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17169
661607b3
RM
17170 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17171 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17172
9fa2c032
RM
17173 * configure.in (-z relro check): Adjust test code to add a large
17174 writable data section after it.
17175 * configure: Regenerated.
17176
defe9061
RM
171772011-07-11 Roland McGrath <roland@hack.frob.com>
17178
17179 * configure.in (-z relro check): Fix test code to make the variable
17180 truly const.
17181 * configure: Regenerated.
17182
319b9ad4
UD
171832011-07-11 Ulrich Drepper <drepper@gmail.com>
17184
17185 * nscd/nscd.h (struct traced_file): Define.
17186 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17187 elements. Add traced_files.
17188 (inotify_fd): Declare.
17189 (register_traced_file): Declare.
17190 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17191 (inotify_fd): Export.
17192 (resolv_conf_descr): Remove.
17193 (nscd_init): Move inotify descriptor creation to main.
17194 Don't register files for notification here.
17195 (register_traced_file): New function.
17196 (invalidate_cache): Don't use reset_res to determine whether to call
17197 res_init, go through the list of registered files.
17198 (main_loop_poll): The inotify descriptors are now stored in the
17199 structures for the traced files.
17200 (main_loop_epoll): Likewise
17201 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17202 to __nss_disable_nscd.
17203 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17204 for a database anymore. Check the records for all the registered
17205 files instead.
17206 * nss/Makefile (libnss_files-routines): Add files-init.
17207 (libnss_db-routines): Add db-init.
17208 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17209 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17210 * nss/nss_db/db-init.c: New file.
17211 * nss/nss_files/files-init.c: New file.
17212 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17213 __nss_lookup_function.
17214 (__nss_lookup_function): Call nss_load_library.
17215 (nss_load_all_libraries): New function.
17216 (__nss_disable_nscd): Take parameter with callback function for files
17217 to register. Set is_nscd. Load all the DSOs for the NSS modules
17218 used for the cached services.
17219 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17220 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17221 options for features to all the files in nscd.
17222
17223 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17224
23bee3e8
RM
172252011-07-10 Roland McGrath <roland@hack.frob.com>
17226
17227 * csu/elf-init.c (__libc_csu_init): Comment typo.
17228
46a5b7f0
UD
172292011-07-09 Ulrich Drepper <drepper@gmail.com>
17230
17231 * po/pl.po: Update from translation team.
17232 * po/ja.po: Likewise.
17233 * po/ru.po: Likewise.
17234 * po/ko.po: Likewise.
17235 * po/fr.po: Likewise.
17236
d30cf5bb
RM
172372011-07-09 Roland McGrath <roland@hack.frob.com>
17238
113ddea4
RM
17239 * configure.in (.ctors/.dtors header and trailer check):
17240 Use an empirical test on a built program.
17241 * configure: Regenerated.
17242
574920b4
RM
17243 * configure.in (-z relro check): Use an empirical test on a built DSO.
17244 Detect, but do not require, on ia64.
17245 * configure: Regenerated.
17246
d30cf5bb
RM
17247 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17248 Update tests that use readelf to use $READELF instead.
17249 * configure: Regenerated.
17250
8538fdb3
UD
172512011-07-08 Ulrich Drepper <drepper@gmail.com>
17252
17253 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17254 if the result is not used.
17255
04d08991
AJ
172562011-07-05 Andreas Jaeger <aj@suse.de>
17257
17258 [BZ#9696]
17259 * stdlib/tst-strtod.c: Add testcase.
17260
de283087
AD
172612011-07-07 Ulrich Drepper <drepper@gmail.com>
17262
4e5f31c8 17263 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17264 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17265 The latter has a higher limit. Take additional parameter to pass to
17266 the new function.
17267 (__pathconf): Pass file to __statfs_link_max.
17268 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17269 __statfs_link_max.
17270 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17271 __statfs_link_max.
17272
de283087
AD
17273 [BZ #12868]
17274 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17275 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17276 Handle Lustre.
17277 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17278 (__statfs_filesize_max): Likewise.
17279 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17280
c75fa153
AJ
172812011-07-05 Andreas Jaeger <aj@suse.de>
17282
17283 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17284
1a544854
UD
172852011-07-06 Marek Polacek <mpolacek@redhat.com>
17286
17287 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17288 `status' variable.
17289 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17290 Likewise.
17291
6f0eec67
UD
172922011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17293
17294 * Makefile (strop-tests): Add strncat.
17295 * string/test-strncat.c: New file.
17296
aae30307
UD
172972011-06-30 Marek Polacek <mpolacek@redhat.com>
17298
17299 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17300
c0cfb5eb
UD
173012011-06-21 Andreas Jaeger <aj@suse.de>
17302
17303 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17304 Copy rule from iconvdata/Makefile.
17305
01636b21
UD
173062011-07-06 Ulrich Drepper <drepper@gmail.com>
17307
17308 [BZ #12922]
17309 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17310 but no long options are defined, just return 'W'.
17311
9895c8bc
UD
173122011-06-22 Marek Polacek <mpolacek@redhat.com>
17313
17314 [BZ #9696]
17315 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17316
5d4cf042
UD
173172011-07-06 Ulrich Drepper <drepper@gmail.com>
17318
17319 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17320 netgroups to read.
960e5535 17321 (innetgr): Likewise.
5d4cf042 17322
751eb97e
RM
173232011-07-05 Roland McGrath <roland@hack.frob.com>
17324
17325 * config.make.in (install_root): Default to $(DESTDIR).
17326
f15f1e45
UD
173272011-07-05 Ulrich Drepper <drepper@gmail.com>
17328
17329 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17330
4e34ac6a
RM
173312011-07-02 Roland McGrath <roland@hack.frob.com>
17332
5e9b6af4
RM
17333 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17334
84f9ea0f
RM
17335 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17336 containing directory rather than embedding absolute directory names.
17337
ea5ee9f7
RM
17338 * scripts/check-local-headers.sh: Rewritten using awk.
17339 Match by word, not by line. Print error messages for matches.
17340 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17341
1b74661a
RM
17342 * Makerules [shlib-lds-flags empty]:
17343 ($(common-objpfx)libc_pic.opts): New target.
17344 ($(common-objpfx)libc_pic.os.clean): New target.
17345 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17346
17347 * config.make.in (OBJCOPY): New variable.
17348 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17349 * configure: Regenerated.
17350
f781ef40
RM
17351 * config.make.in (use-default-link): New variable.
17352 * configure.in (use_default_link): Grok --with-default-link to set it.
17353 * configure: Regenerated.
17354 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17355 (shlib-lds, shlib-lds-flags): Define to empty.
17356
2d4fa81e
RM
17357 * Makerules (shlib-lds): New variable.
17358 (shlib-lds-flags): New variable.
17359 (build-shlib, build-moduile, build-module-asneeded): Use it.
17360 ($(common-objpfx)libc.so): Use $(shlib-lds).
17361 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17362 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17363
31fffa6b
RM
17364 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17365 DT_FLAGS/DT_FLAGS_1 with zero flags.
17366
4e34ac6a
RM
17367 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17368 linker script munging.
17369
fcfc776b
UD
173702011-07-02 Ulrich Drepper <drepper@gmail.com>
17371
17372 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17373 as 128-bit value.
17374 * crypt/sha512.c (sha512_process_block): Perform total addition using
17375 128-bit if possible.
17376 (__sha512_finish_ctx): Likewise.
17377 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17378 as 64-bit value.
17379 * crypt/sha256.c (SWAP64): Define.
17380 (sha256_process_block): Perform total addition using 64-bit if
17381 possible.
17382 (__sha256_finish_ctx): Likewise.
17383
99231d9a
UD
173842011-07-01 Ulrich Drepper <drepper@gmail.com>
17385
17386 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17387 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17388 * nscd/hstcache.c (cache_addhst): Likewise.
17389 * nscd/grpcache.c (cache_addgr): Likewise.
17390 * nscd/aicache.c (addhstaiX): Likewise
17391 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17392
445b4a53
TK
173932011-07-01 Thorsten Kukuk <kukuk@suse.de>
17394
17395 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17396 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17397 * nscd/hstcache.c (cache_addhst): Likewise.
17398 * nscd/grpcache.c (cache_addgr): Likewise.
17399 * nscd/aicache.c (addhstaiX): Likewise
17400
6d4d8e8e
AS
174012011-07-01 Andreas Schwab <schwab@redhat.com>
17402
17403 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17404 domain only when needed.
17405
89f654c5
AS
174062011-06-30 Andreas Schwab <schwab@redhat.com>
17407
17408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17409 is always restored.
17410
cf3b23ff
UD
174112011-06-29 Ulrich Drepper <drepper@gmail.com>
17412
17413 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17414 are re-adding the entry.
17415 * nscd/servicescache.c (cache_addserv): Likewise.
17416
751626f9
AJ
174172011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17418
17419 * sysdeps/generic/dl-irel.h: fix protection against multiple
17420 inclusions.
17421 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17422
9113ea1f
UD
174232011-06-28 Ulrich Drepper <drepper@gmail.com>
17424
5c0b8d90
UD
17425 [BZ #12935]
17426 * malloc/memusage.sh: Fix quoting in message.
17427 * debug/xtrace.sh: Likewise.
17428
9113ea1f
UD
17429 * configure.in: Remove support for --experimental-malloc option, make
17430 it the default.
17431 * config.make.in: Likewise.
17432 * malloc/Makefile: Likewise.
17433
a4172181
AS
174342011-06-27 Andreas Schwab <schwab@redhat.com>
17435
17436 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17437 two-byte characters.
17438
78a7eee7
RM
174392011-06-27 Roland McGrath <roland@hack.frob.com>
17440
62bede13
RM
17441 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17442 AC_CACHE_CHECK invocation.
17443 * configure: Regenerated.
17444
78a7eee7
RM
17445 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17446
5ce33a62
UD
174472011-06-27 Ulrich Drepper <drepper@gmail.com>
17448
034807a9
UD
17449 [BZ #12350]
17450 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17451 bit from old_res_options.
17452
4902da17
UD
17453 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17454
5ce33a62
UD
17455 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17456 value type for setfct.
17457
c2344f56
L
174582011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17459
17460 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17461 __gettimeofday instead of gettimeofday.
17462
68468076
UD
174632011-06-26 Ulrich Drepper <drepper@gmail.com>
17464
17465 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17466
acb0d739
L
174672011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17468
17469 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17470
17471 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17472 info.
17473
8912479f
L
174742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17475
17476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17477 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17478 strcpy-sse2-unaligned strncpy-sse2-unaligned
17479 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17480 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17481 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17482 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17483 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17484 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17485 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17486 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17487 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17488 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17489 (STRCPY): Support SSE2 and SSSE3 versions.
17490
d5495a11
UD
174912011-06-24 Ulrich Drepper <drepper@gmail.com>
17492
17493 [BZ #12874]
17494 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17495 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17496 kernels which artificially limit size of requests.
17497
0b1cbaae
L
174982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17499
17500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17501 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17502 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17503 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17504 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17505 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17506 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17507 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17508 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17509 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17510 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17511 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17512 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17513 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17514 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17516 Enable unaligned load optimization for Intel Core i3, i5 and i7
17517 processors.
17518 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17519 Define.
17520 (index_Fast_Unaligned_Load): Define.
17521 (HAS_FAST_UNALIGNED_LOAD): Define.
17522
07f494a0
MP
175232011-06-23 Marek Polacek <mpolacek@redhat.com>
17524
17525 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17526
fa3fc0fe
UD
175272011-06-22 Ulrich Drepper <drepper@gmail.com>
17528
17529 [BZ #12907]
17530 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17531 until it is clear that the information is realy needed.
17532 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17533
e12df166
AS
175342011-06-22 Andreas Schwab <schwab@redhat.com>
17535
17536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17537
852eb34d
UD
175382011-06-22 Ulrich Drepper <drepper@gmail.com>
17539
84e2a551
UD
17540 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17541 /sys/devices/system/cpu/online if it is usable.
17542
852eb34d
UD
17543 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17544 reading the information from the /proc filesystem to once a second.
17545
6e502e19
UD
175462011-06-21 Andreas Jaeger <aj@suse.de>
17547
17548 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17549 NULL after inclusion of kernel headers.
17550
75d39ff2
UD
175512011-06-21 Ulrich Drepper <drepper@gmail.com>
17552
51f9aa6a
UD
17553 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17554 calls to internal_setent.
17555
c0244a9d
UD
17556 [BZ #12885]
17557 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17558 addresses using gethostbyname4_r ignore IPv4 addresses.
17559
c5e3c2ae
UD
17560 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17561 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17562
75d39ff2
UD
17563 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17564
42675c6f
DM
175652011-06-20 David S. Miller <davem@davemloft.net>
17566
17567 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17568 inclusions.
17569 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17570
17571 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17572 (elf_irel): Use it.
17573 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17574 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17575 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17576 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17577 * sysdeps/x86_64/dl-irel.h: Likewise.
17578
17579 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17580 * elf/dl-sym.c: Likewise.
17581
57912a71
UD
175822011-06-15 Ulrich Drepper <drepper@gmail.com>
17583
17584 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17585 need to dereference resplen2.
17586
ee22793d
AS
175872011-06-14 Andreas Schwab <schwab@redhat.com>
17588
17589 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17590
a9e836b0
UD
175912011-06-15 Ulrich Drepper <drepper@gmail.com>
17592
77fb9117
UD
17593 * Makeconfig: Define vardbdir and inst_vardbdir.
17594 * nss/Makefile: Add rules to install db-Makefile.
17595
40c1b22c
UD
17596 * nss/nss_db/db-XXX.c: Cleanup.
17597
9f2da732
UD
17598 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17599 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17600 GLIBC_PRIVATE.
17601 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17602 * nss/makedb.c: Implement -g option to specify that value strings
17603 are generated and should not be added to table iterated over for
17604 get*ent calls.
17605 * nss/nss_db/db-initgroups.c: New file.
17606
82e9a1f7
UD
17607 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17608 interface.
17609
c41af17e
UD
17610 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17611 (internal_getgrouplist): Adjust to name change.
17612 Update use_initgroups_entry if this is not the first call.
17613 * nss/databases.def: Add initgroups entry.
17614
a9e836b0
UD
17615 * nss/makedb.c (compute_tables): Check result of multiple hash table
17616 sizes to minimize maximum chain length.
17617
2666d441
UD
176182011-06-14 Ulrich Drepper <drepper@gmail.com>
17619
17620 * Versions.def: Add entry for libnss_db.
17621 * shlib-versions: Likewise.
17622 * nss/Makefile: Add rules to build libnss_db.
17623 * nss/Versions: Add libnss_db information. Organize libnss_files
17624 entries better.
17625 * nss/db-Makefile: Add gshadow support. Change rules for the new
17626 makedb progra. Some minor improvements to generate smaller files.
17627 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17628 here from...
17629 * nss/makedb.c: ...here.
17630 Improve database format to be smaller and require less memory at
17631 runtime.
17632 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17633 db anymore.
17634 * nss/nss_db/db-netgrp.c: Likewise.
17635 * nss/nss_db/db-open.c: Likewise.
17636 * nss/nss_files/flies-XXX.x: Adjust comments.
17637 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17638 * nss/nss_files/files-grp.c: Likewise.
17639 * nss/nss_files/files-hosts.c: Likewise.
17640 * nss/nss_files/files-network.c: Likewise.
17641 * nss/nss_files/files-proto.c: Likewise.
17642 * nss/nss_files/files-pwd.c: Likewise.
17643 * nss/nss_files/files-rpc.c: Likewise.
17644 * nss/nss_files/files-service.c: Likewise.
17645 * nss/nss_files/files-sgrp.c: Likewise.
17646 * nss/nss_files/files-spwd.c: Likewise.
17647 * nss/nss_db/db-alias.c: Removed.
17648 * nss/nss_db/dummy-db.h: Removed.
17649
9ee76b5a
UD
176502011-06-02 Ulrich Drepper <drepper@gmail.com>
17651
17652 * nss/makedb.c: Rewritten to not use database library.
17653 * nss/Makefile: Update to build new makedb program.
17654
c71ca1f8
AJ
176552011-06-14 Andreas Jaeger <aj@suse.de>
17656
17657 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17658 memset declaration.
17659
3154bfb8
UD
176602011-06-10 Andreas Schwab <schwab@redhat.com>
17661
17662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17663 tmpbuf.
17664
b350afab
RM
176652011-06-10 Roland McGrath <roland@hack.frob.com>
17666
decd4e50
RM
17667 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17668 * elf/Makefile ($(objpfx)ld.so): Likewise.
17669
5615eaf2
RM
17670 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17671 Don't list ld.so twice in dependencies.
17672
17673 * posix/bug-regex31.c: Include <stdlib.h>.
17674
17675 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17676
17677 * nis/nss_compat/compat-spwd.c
17678 (getspent_next_nss_netgr): Remove unused variable.
17679 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17680
17681 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17682 nonmembers" output to use the right array.
17683
17684 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17685
17686 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17687
17688 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17689 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17690 * catgets/gencat.c (read_input_file): Likewise.
17691 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17692
17693 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17694 variable definition inside #if's controlling its use.
17695
17696 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17697
17698 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17699
17700 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17701
17702 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17703 unreachable code.
17704
17705 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17706
b68e08db
RM
17707 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17708 * configure: Regenerated.
17709
b350afab
RM
17710 * Makerules: Revert last change.
17711 * elf/Makefile: Likewise.
17712
28368601
RM
177132011-06-09 Roland McGrath <roland@hack.frob.com>
17714
17715 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17716 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17717 (reloc-link): Likewise.
17718
11988f8f
UD
177192011-06-09 Ulrich Drepper <drepper@gmail.com>
17720
17721 * elf/Makefile: Add rules to build pldd.
17722 * elf/pldd.c: New file.
17723 * elf/pldd-xx.c: New file.
17724
e80fab37
UD
177252011-06-07 Ulrich Drepper <drepper@gmail.com>
17726
17727 * version.h: Update for 2.15 development version.
17728
9b849836
DM
177292011-06-07 David S. Miller <davem@davemloft.net>
17730
17731 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17732 ifuncs.
17733 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17734 elf_machine_lazy_rel): Likewise.
17735 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17736 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17737 elf_machine_lazy_rel): Likewise.
17738 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17739 dl_hwcap via passed in argument.
17740 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17741 Likewise.
17742
5a31b283
AK
177432011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17744
17745 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17746
069e52f8
RM
177472011-06-06 Roland McGrath <roland@hack.frob.com>
17748
17749 [BZ #12849]
17750 * manual/fdl-1.1.texi: New file, verbatim from:
17751 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17752 * manual/lgpl-2.1.texi: New file, verbatim from:
17753 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17754 * manual/Makefile (licenses): New variable, list those new file names.
17755 (texis): Use it.
17756 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17757
17758 * manual/fdl.texi: File removed.
17759 * manual/lesser.texi: File removed.
17760 * manual/libc.texinfo (Copying, Documentation License):
17761 Use new @include file names, put @appendix directive before @include.
17762
f16846a5
JJ
177632011-06-04 Jakub Jelinek <jakub@redhat.com>
17764
17765 [BZ #12841]
17766 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17767 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17768 (mq_open): Add __NTH.
17769
3d29045b
L
177702011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17771
17772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17773 Assume Intel Core i3/i5/i7 processor if AVX is available.
17774
8c297311
UD
177752011-05-31 Ulrich Drepper <drepper@gmail.com>
17776
17777 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17778 typo.
17779
c8fc0c91
UD
177802011-05-31 Andreas Schwab <schwab@redhat.com>
17781
17782 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17783 memory. Use alloca_account. Fix memory leak when retrying.
17784
5b27a807
UD
177852011-05-31 Ulrich Drepper <drepper@gmail.com>
17786
356f8bc6
UD
17787 * version.h (RELEASE): Bump for 2.14 release.
17788 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17789
5b27a807
UD
17790 * config.make.in (RANLIB): Remove entry.
17791
01f16ab0
UD
177922011-05-30 Ulrich Drepper <drepper@gmail.com>
17793
41fce8bd
UD
17794 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17795 (libc.pot): Work around missing support for .ksh extension in xgettext.
17796
4769ae77
UD
17797 [BZ #12684]
17798 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17799 if both request failed.
17800 (send_dg): In case of server errors clear resplen or *resplen2.
17801
6b1e7d19
UD
17802 [BZ #12454]
17803 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17804 when there are multiple maps.
17805 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17806 (_dl_fini): Remove test here.
17807
01f16ab0
UD
17808 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17809
b1ebd700
UD
178102011-05-29 Ulrich Drepper <drepper@gmail.com>
17811
7ae22829
UD
17812 [BZ #12350]
17813 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17814 bit from old_res_options.
17815 (gaih_inet): Likewise.
17816
553149f6 17817 [BZ #11099]
18a84741 17818 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17819 as signed.
17820
652ffab1
UD
17821 * resolv/res_init.c (res_setoptions): Make the code more compact.
17822
16985fd0
UD
17823 [BZ #11558]
17824 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17825 set RES_USEVC.
17826
0464f746
UD
17827 [BZ #11634]
17828 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17829
7d17596c
UD
17830 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17831
cf6bbbd7
UD
17832 [BZ #11781]
17833 * malloc/malloc.h: Declare malloc hook variables as volatile.
17834
13f1ab36
UD
17835 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17836 in last patch.
17837
b1ebd700
UD
17838 [BZ #11799]
17839 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17840 raise in the comment.
80e2212d
UD
17841 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17842 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17843 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17844
ce67228d
UD
178452011-05-28 Ulrich Drepper <drepper@gmail.com>
17846
8887a920
UD
17847 [BZ #12811]
17848 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17849 grow the buffers more if it already has to be sufficient.
17850 (build_wcs_upper_buffer): Likewise.
17851 * posix/regexec.c (check_matching): Likewise.
17852 (clean_state_log_if_needed): Likewise.
17853 (extend_buffers): Don't enlarge buffers beyond size of the input
17854 buffer.
17855 Patches mostly by Emil Wojak <emil@wojak.eu>.
17856 * posix/bug-regex32.c: New file.
17857 * posix/Makefile (tests): Add bug-regex32.
17858
4f031072
UD
17859 * locale/findlocale.c (_nl_find_locale): Return right away if
17860 _nl_explode_name failed.
17861 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17862
d0478f0c
UD
17863 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17864
de81b246
UD
17865 * debug/xtrace.sh: Unify messages.
17866 * malloc/memusage.sh: Likewise.
17867
c738465a
UD
17868 [BZ #12813]
17869 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17870 time symbol from vDSO. Substitute with vsyscall if not available.
17871 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17872 __vdso_time.
17873
f1f929d7
UD
17874 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17875 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17876 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17877 Add sendmmsg and internal_sendmmsg.
17878 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17879 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17880 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17881
ce67228d
UD
17882 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17883 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17884 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17885
e57420c6
UD
178862011-05-27 Ulrich Drepper <drepper@gmail.com>
17887
a8509ca5
UD
17888 [BZ #12813]
17889 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17890 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17891 available.
17892 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17893 __vdso_getcpu.
17894
e57420c6
UD
17895 [BZ #12814]
17896 * iconvdata/Makefile (tests): Add bug-iconv9.
17897 * iconvdata/bug-iconv9.c: New file.
17898
4d07db15
AS
178992011-05-27 Andreas Schwab <schwab@redhat.com>
17900
17901 [BZ #12814]
17902 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17903
ea486f69
JJ
179042011-05-25 Jakub Jelinek <jakub@redhat.com>
17905
17906 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17907 (struct user_regs_struct): Change intcs field back to cs.
17908
6f038433
UD
179092011-05-25 Ulrich Drepper <drepper@gmail.com>
17910
17911 * po/ja.po: Update from translation team.
17912
67f86a25
UD
179132011-05-23 Ulrich Drepper <drepper@gmail.com>
17914
17915 [BZ #12795]
17916 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17917 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17918
def7fbd6
AS
179192011-05-20 Andreas Schwab <schwab@redhat.com>
17920
17921 * stdlib/longlong.h: Update from GCC.
17922
f50ef8f1
AS
179232011-05-23 Andreas Schwab <schwab@redhat.com>
17924
17925 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17926 parameter name.
17927 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17928 Add parameter name.
17929 (__sysconf): Pass it down.
17930
de7ce8f1
UD
179312011-05-22 Ulrich Drepper <drepper@gmail.com>
17932
f2962a71
UD
17933 [BZ #12671]
17934 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17935 some situations.
17936 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17937 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17938 add in in __libc_use_alloca calls. Adjust callers.
17939 (glob): Use malloc in some situations.
17940
de7ce8f1
UD
17941 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17942 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17943 pltexit.
17944
aec84f53
UD
179452011-05-21 Ulrich Drepper <drepper@gmail.com>
17946
05bb4a68
UD
17947 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17948 and CLOCK_BOOTTIME_ALARM.
17949
7ea72f99
UD
17950 [BZ #12782]
17951 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17952 is returned.
17953
7e4afad5
UD
17954 * string/_strerror.c (__strerror_r): Print negative errors as signed
17955 numbers.
17956
8e211fec
UD
17957 [BZ #12777]
17958 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17959 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17960 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17961
f7d82dc9
UD
17962 * configure.in: Fix typo in redirection and correct removal of test
17963 files in two cases.
17964
cc9e536d
UD
17965 [BZ #12788]
17966 * locale/setlocale.c (new_composite_name): Fix test to check for
17967 identical name of all categories.
17968
aec84f53
UD
17969 [BZ #12792]
17970 * libio/filedoalloc.c (local_isatty): New function.
17971 (_IO_file_doallocate): Use local_isatty.
17972 * stdio-common/perror.c (perror): In case a new stream is used
17973 forward the stream error.
17974 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17975 error flag.
17976
78e64fdc
RT
179772011-05-20 Ulrich Drepper <drepper@gmail.com>
17978
34a9094f
UD
17979 [BZ #11869]
17980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17981 alloca.
17982 * include/alloca.h (extend_alloca_account): Define.
17983
78e64fdc
RT
17984 [BZ #11857]
17985 * posix/regex.h: Fix comments with documentation of user-accessible
17986 fields after compilation and describe correct free'ing of pattern
17987 after re_compile_pattern.
17988 Patch by Reuben Thomas <rrt@sc3d.org>.
17989
457bddfc
RA
179902011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17991
17992 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17993 and -mno-altivec to prevent the compiler from using Altivec and/or
17994 VSX instructions when the corresponding registers are not available.
17995
a4527b51
AS
179962011-05-19 Andreas Schwab <schwab@redhat.com>
17997
17998 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17999
ed690b2f
UD
180002011-05-19 Ulrich Drepper <drepper@gmail.com>
18001
18002 * libio/freopen.c (freopen): Use __dup2, not dup2.
18003 * libio/freopen64.c (freopen64): Likewise.
18004
8db73634
L
180052011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18006
18007 [BZ #12775]
18008 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18009 * math/Makefile (tests): Add test-powl.
18010 (CFLAGS-test-powl.c): Define.
18011 * math/test-powl.c: New file.
18012
0a197a9d
L
180132011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18014
18015 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18016
ee30c380
UD
180172011-05-17 Ulrich Drepper <drepper@gmail.com>
18018
18019 [BZ #11837]
18020 * iconvdata/gb18030.c: Update to GB18020-2005.
18021
6ce75379
UD
180222011-05-16 Ulrich Drepper <drepper@gmail.com>
18023
a4b89fd8
AR
18024 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18025 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18026 Patch by Aharon Robbins <arnold@skeeve.com>.
18027
ea389b12
UD
18028 [BZ #11892]
18029 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18030 on the stack.
18031
68a3f91f
UD
18032 [BZ #11895]
18033 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18034 through underflows.
18035
15cc7dd1
UD
18036 [BZ #12766]
18037 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18038 point to strings before performing equality test for error_one_per_line
18039 mode.
18040
f3799213
UD
18041 [BZ #11697]
18042 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18043
d79a9c94
UD
18044 [BZ #11820]
18045 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18046 (struct user_fpregs_struct): Avoid __uint*_t types.
18047
56e5eb46
UD
18048 [BZ #6420]
18049 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18050 symbol info. Use it instead of calling _dl_addr locally.
18051 (lock_and_info): New function.
18052 (tr_freehook): Call lock_and_info and pass symbol info as additional
18053 parameter to tr_where.
18054 (tr_mallochook): Likewise.
18055 (tr_reallochook): Likewise.
18056 (tr_memalignhook): Likewise.
18057
6ce75379
UD
18058 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18059 used and couldn't be at all thread-safe.
18060
f8a3b5bf
UD
180612011-05-15 Ulrich Drepper <drepper@gmail.com>
18062
94b7cc37
UD
18063 * libio/freopen.c (freopen): Don't close old file descriptor
18064 before the new one is opened. Instead dup the new file descriptor
18065 to the old one after the new stream is created.
18066 * libio/freopen64.c (freopen64): Likewise.
18067 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18068 * libio/fileops.c (_IO_new_file_close_it): Handle new
18069 _IO_FLAGS2_NOCLOSE flag.
18070 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18071 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18072 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18073 _IO_FLAGS2_NOCLOSE flag.
18074 * include/unistd.h: Add hidden_proto for dup3.
18075 Define __have_dup3.
18076 * io/dup3.c: Define hidden symbol.
18077 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18078
bd25564e
UD
18079 [BZ #7101]
18080 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18081 when an incomplete long option is used.
18082 * posix/tst-getopt_long1.c: New file.
18083 * posix/Makefile (tests): Add tst-getopt_long1.
18084
c84cfef4
UD
18085 [BZ #10138]
18086 * scripts/config.guess: Update from autoconf-2.68.
18087 * scripts/config.sub: Likewise.
18088
3b85df27
UD
18089 [BZ #10157]
18090 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18091 tests into ...
18092 (has_cpuclock): ...this. New function.
18093 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18094 macro here based on has_cpuclock code.
18095
15a856b1
UD
18096 [BZ #10149]
18097 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18098 First byte (not low byte) is now always NUL.
18099 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18100
05f399e6
UD
18101 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18102 Use non-cancelable interfaces.
18103
10a52685 18104 [BZ #9809]
94ecc67d
UD
18105 * locale/iso-639.def: Add entry for Sorani.
18106
f8a3b5bf
UD
18107 [BZ #11901]
18108 * include/stdlib.h: Move include protection to the right place.
18109 Define abort_msg_s. Declare __abort_msg with it.
18110 * stdlib/abort.c (__abort_msg): Adjust type.
18111 * assert/assert.c (__assert_fail_base): New function. Majority
18112 of code from __assert_fail. Allocate memory for __abort_msg with
18113 mmap.
18114 (__assert_fail): Now call __assert_fail_base.
18115 * assert/assert-perr.c: Remove bulk of implementation. Use
18116 __assert_fail_base.
18117 * include/assert.hL Declare __assert_fail_base.
18118 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18119 mmap.
18120 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18121
1af4e298
UD
181222011-05-14 Ulrich Drepper <drepper@gmail.com>
18123
f8a3b5bf 18124 [BZ #11952]
d26dfc60
MG
18125 [BZ #12453]
18126 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18127 until all modules are registered in the DTV.
18128 * elf/Makefile: Add rules to build and run tst-tls19.
18129 * elf/tst-tls19.c: New file.
18130 * elf/tst-tls19mod1.c: New file.
18131 * elf/tst-tls19mod2.c: New file.
18132 * elf/tst-tls19mod3.c: New file.
18133 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18134
2fc54d6f
UD
18135 [BZ #12083]
18136 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18137 correctly.
18138
98d76b46
UD
18139 [BZ #12601]
18140 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18141 two-byte sequence errors.
18142 * iconvdata/Makefile (tests): Add bug-iconv8.
18143 * iconvdata/bug-iconv8.c: New file.
18144
da3c19ef
UD
18145 [BZ #12626]
18146 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18147 buf2 definition.
18148
ca408c15
UD
18149 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18150
d6f67f7d
UD
18151 [BZ #12432]
18152 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18153 (dummy_getcfa): New function.
18154 (init): Get _Unwind_GetCFA address, use dummy if not found.
18155 (backtrace_helper): In recursion check, also check whether CFA changes.
18156 (__backtrace): Completely initialize arg.
18157
1af4e298 18158 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18159 storing incomplete byte sequence in state object. Avoid testing for
18160 guaranteed too small input if we know there is enough data available.
1af4e298 18161
da62f81b
AS
181622011-05-11 Andreas Schwab <schwab@redhat.com>
18163
18164 * Makeconfig (+link-pie): Indent.
18165 * Rules (binaries-pie): Define if $(have-fpie) and
18166 $(build-shared).
18167 (binaries-shared): Also filter out $(binaries-pie).
18168 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18169 * nscd/Makefile (others-pie): Add nscd.
18170 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18171 ($(objpfx)nscd): Remove command override.
18172 * login/Makefile (others-pie): Add pt_chown.
18173 ($(objpfx)pt_chown): Remove command override.
18174 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18175 remove command overrides.
18176
fcabc0f8
UD
181772011-05-13 Ulrich Drepper <drepper@gmail.com>
18178
20030ae6
UD
18179 * libio/tst_putwc.c: Fix error messages.
18180
fcabc0f8
UD
18181 [BZ #12724]
18182 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18183 currently writing and seek to current position when not.
18184 * libio/Makefile (tests): Add bug-fclose1.
18185 * libio/bug-fclose1.c: New file.
18186
320a5dc0
PB
181872011-05-12 Ulrich Drepper <drepper@gmail.com>
18188
18189 [BZ #12511]
18190 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18191 don't set DF_1_NODELETE here.
18192 (do_lookup_x): When entering new entry test for copy relocation
18193 and if necessary set DF_1_NODELETE flag.
18194 * elf/tst-unique4.cc: New file.
18195 * elf/tst-unique4.h: New file.
18196 * elf/tst-unique4lib.cc: New file.
18197 * elf/Makefile: Add rules to build and run tst-unique4.
18198 Patch by Piotr Bury <pbury@goahead.com>.
18199
22836f52
UD
182002011-05-11 Ulrich Drepper <drepper@gmail.com>
18201
f574184a
UD
18202 [BZ #12052]
18203 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18204
e1fb097f
UD
18205 [BZ #12625]
18206 * misc/mntent_r.c (addmntent): Flush the stream after the output
18207
22836f52
UD
18208 [BZ #12393]
18209 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18210 (is_trusted_path_normalize): Skip initial colon. Append slash
18211 to empty buffer. Duplicate is_trusted_path code but allow
18212 constructed patch to be prefix.
18213 (is_dst): Allow $ORIGIN followed by /.
18214 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18215 Correct testing of result of is_trusted_path_normalize
18216 (decompose_rpath): Fix warning.
18217
7b3b0b2a
UD
182182011-05-10 Ulrich Drepper <drepper@gmail.com>
18219
18220 [BZ #11257]
18221 * grp/initgroups.c (internal_getgrouplist): When we found the service
18222 list through the initgroups entry in nsswitch.conf do not always
18223 continue on a successful lookup. Don't always use the
eac80ce2 18224 __nss_group_database value if it is set.
7b3b0b2a
UD
18225 * nss/nsswitch.conf (initgroups): Change action for successful db
18226 lookup to continue for compatibility.
18227
2a81eaa5
UD
182282011-05-09 Ulrich Drepper <drepper@gmail.com>
18229
be97a69e
UD
18230 [BZ #11532]
18231 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18232 and CP774 modules.
18233 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18234 and CP774 modules.
18235 * iconvdata/tst-tables.sh: Likewise.
18236 * iconvdata/cp770.c: New file.
18237 * iconvdata/cp771.c: New file.
18238 * iconvdata/cp772.c: New file.
18239 * iconvdata/cp773.c: New file.
18240 * iconvdata/cp774.c: New file.
18241 * iconvdata/testdata/CP770: New file.
18242 * iconvdata/testdata/CP770..UTF8: New file.
18243 * iconvdata/testdata/CP771: New file.
18244 * iconvdata/testdata/CP771..UTF8: New file.
18245 * iconvdata/testdata/CP772: New file.
18246 * iconvdata/testdata/CP772..UTF8: New file.
18247 * iconvdata/testdata/CP773: New file.
18248 * iconvdata/testdata/CP773..UTF8: New file.
18249 * iconvdata/testdata/CP774: New file.
18250 * iconvdata/testdata/CP774..UTF8: New file.
18251
18252 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18253 END CHARMAP line.
18254 * iconvdata/gen-8bit-gap.sh: Likewise.
18255 * iconvdata/gen-8bit.sh: Likewise.
18256
c1e9e399
UD
18257 * locale/iso-639.def: Add ary entry.
18258
24c55fb3 18259 [BZ #11258]
96b4b1b0
UD
18260 * locale/C-translit.h.in: Add U20A1 transliteration.
18261
bdc2f971
KB
18262 [BZ #12178]
18263 * locale/iso-639.def: Add wae entry.
18264 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18265
2952b117
UD
18266 [BZ #12545]
18267 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18268 for n.
18269
2a81eaa5
UD
18270 [BZ #12711]
18271 * locale/C-translit.h.in: Add entry for U20B9.
18272 Patch by pravin.d.s@gmail.com.
18273
28377d1b
UD
182742011-05-08 Ulrich Drepper <drepper@gmail.com>
18275
7fb90fb8
UD
18276 [BZ #12713]
18277 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18278 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18279 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18280 in rtld. Use *stat64.
7fb90fb8 18281 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18282 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18283 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18284 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18285 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18286 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18287 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18288 __fstatat64 macros.
7fb90fb8
UD
18289 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18290 * dirent/rewinddir.c: Add libc_hidden_def.
18291 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18292 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18293
28377d1b
UD
18294 * include/dirent.h (__alloc_dir): Add flags parameter.
18295 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18296 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18297 __alloc_dir.
18298 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18299 from fdopendir if O_CLOEXEC is already set.
18300
66bdbaa4
AM
183012011-03-15 Alan Modra <amodra@gmail.com>
18302
18303 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18304 l_tls_firstbyte_offset non-zero. Save padding offset in
18305 l_tls_firstbyte_offset for later use.
18306 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18307 freeing static tls block.
18308
95721191
JN
183092011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18310
18311 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18312 where #ifdef was intended. The intent is to prevent ARG_MAX from
18313 being defined by the kernel headers.
18314
f87dfb1f
UD
183152011-05-07 Ulrich Drepper <drepper@gmail.com>
18316
18317 [BZ #12734]
18318 * resolv/resolv.h: Define RES_NOTLDQUERY.
18319 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18320 no-tld-query and set RES_NOTLDQUERY.
18321 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18322 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18323 modern BIND to search name as TLD unless forbidden.
18324
47c3cd7a
UD
183252011-05-07 Petr Baudis <pasky@suse.cz>
18326 Ulrich Drepper <drepper@gmail.com>
18327
18328 [BZ #12393]
18329 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18330 (is_trusted_path): ...to here.
c1e9ea35 18331 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18332 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18333 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18334
8a35c912
PP
183352011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18336
18337 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18338 __BEGIN/__END_DECLS.
18339
acd41f47
UD
183402011-05-06 Ulrich Drepper <drepper@gmail.com>
18341
18342 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18343 NSS_STATUS_NOTFOUND if no record was found.
18344
597df647
AS
183452011-05-05 Andreas Schwab <schwab@redhat.com>
18346
18347 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18348 (headers-not-in-tirpc): Remove rpc/netdb.h
18349 * resolv/netdb.h: Revert last change.
18350
b9af1301
PP
183512011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18352
18353 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18354 circular dependency between libgcc.a and libc.a.
18355
4e34d5f5
AS
183562011-05-05 Andreas Schwab <schwab@redhat.com>
18357
18358 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18359 * nis/Makefile: Don't install rpcsvc/*.
18360 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18361 instead of <rpc/types.h>.
18362 (MAXHOSTNAMELEN): Define.
18363
00ee369c
AS
183642011-05-03 Andreas Schwab <schwab@redhat.com>
18365
18366 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18367
0b592a30
MB
183682011-04-28 Maciej Babinski <mbabinski@google.com>
18369
18370 [BZ #12714]
18371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18372 gethostbyname4_r when IPv6 results are possible.
18373
6e04cbbe
UD
183742011-05-02 Ulrich Drepper <drepper@gmail.com>
18375
18376 [BZ #12723]
18377 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18378 _PC_PIPE_BUF handling.
18379
e4ecafe0
BH
183802011-04-30 Bruno Haible <bruno@clisp.org>
18381
18382 [BZ #12717]
18383 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18384 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18385 to 'int'.
18386 * inet/getnameinfo.c (getnameinfo): Likewise.
18387
125ee683
UD
183882011-04-29 Ulrich Drepper <drepper@gmail.com>
18389
18390 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18391 to groups setting in database lookup.
18392 * nss/nsswitch.conf: Add initgroups entry.
18393
b722481a
EB
183942011-04-22 Ulrich Drepper <drepper@gmail.com>
18395
18396 [BZ #12685]
18397 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18398 mode string.
18399 Patch by Eric Blake <eblake@redhat.com>.
18400
4df46dbd
L
184012011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18402
18403 * sunrpc/Makefile (need-export-routines): Add svc_run.
18404 (routines): Remove svc_run.
18405 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18406 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18407 * sunrpc/svc_run.c (svc_run): Likewise.
18408 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18409
e84142d2
UD
184102011-04-21 Ulrich Drepper <drepper@gmail.com>
18411
18412 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18413 problem in reallocation in last patch.
18414
877175d8
UD
184152011-04-20 Ulrich Drepper <drepper@gmail.com>
18416
18417 * sunrpc/Makefile: Move inclusion of Rules.
18418
ab8eed78
UD
184192011-04-19 Ulrich Drepper <drepper@gmail.com>
18420
18421 * nss/nss_files/files-initgroups.c: New file.
18422 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18423 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18424 _nss_files_initgroups_dyn.
18425
e3d8f584
RS
184262011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18427
18428 * elf/elf.h (R_ARM_IRELATIVE): Define.
18429
af190f45
UD
184302011-04-19 Ulrich Drepper <drepper@gmail.com>
18431
18432 * po/ru.po: Update from translation team.
18433
53cf59ef
UD
184342011-04-17 Ulrich Drepper <drepper@gmail.com>
18435
18436 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18437 dependencies.
18438
4c559bcd
MF
184392011-02-06 Mike Frysinger <vapier@gentoo.org>
18440
18441 [BZ #12653]
18442 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18443 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18444 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18445 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18446 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18447
4420675c
AS
184482011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18449
18450 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18451 differing bytes.
18452 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18453 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18454 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18455
75ea32ab
UD
184562011-04-17 Ulrich Drepper <drepper@gmail.com>
18457
18458 [BZ #12420]
18459 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18460 storing it.
18461 * stdlib/bug-getcontext.c: New file.
18462 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18463
27390476
AK
184642011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18465
18466 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18467 instructions into .machine "z9-109".
18468 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18469 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18470
10442705
AK
184712011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18472
18473 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18474 between environment variables and auxiliary vector.
18475
7b57bfe5
UD
184762011-04-16 Ulrich Drepper <drepper@gmail.com>
18477
18478 * Makefile: Add rules to build linkobj/libc.so.
18479 * include/libc-symbols.h: Define libc_hidden_nolink.
18480 * include/rpc/auth.h: Mark functions which are to be hidden.
18481 * include/rpc/auth_des.h: Likewise.
18482 * include/rpc/auth_unix.h: Likewise.
18483 * include/rpc/clnt.h: Likewise.
18484 * include/rpc/des_crypt.h: Likewise.
18485 * include/rpc/key_prot.h: Likewise.
18486 * include/rpc/pmap_clnt.h: Likewise.
18487 * include/rpc/pmap_prot.h: Likewise.
18488 * include/rpc/pmap_rmt.h: Likewise.
18489 * include/rpc/rpc_msg.h: Likewise.
18490 * include/rpc/svc.h: Likewise.
18491 * include/rpc/svc_auth.h: Likewise.
18492 * include/rpc/xdr.h: Likewise.
18493 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18494 * nss/Makefile: Likewise.
18495 * sunrpc/Makefile: Don't install headers. Build library with normal
18496 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18497 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18498 for the compat linking library. Remove use of INTDEF/INTUSE.
18499 * sunrpc/auth_none.c: Likewise.
18500 * sunrpc/auth_unix.c: Likewise.
18501 * sunrpc/authdes_prot.c: Likewise.
18502 * sunrpc/authuxprot.c: Likewise.
18503 * sunrpc/clnt_gen.c: Likewise.
18504 * sunrpc/clnt_perr.c: Likewise.
18505 * sunrpc/clnt_raw.c: Likewise.
18506 * sunrpc/clnt_simp.c: Likewise.
18507 * sunrpc/clnt_tcp.c: Likewise.
18508 * sunrpc/clnt_udp.c: Likewise.
18509 * sunrpc/clnt_unix.c: Likewise.
18510 * sunrpc/des_crypt.c: Likewise.
18511 * sunrpc/des_soft.c: Likewise.
18512 * sunrpc/get_myaddr.c: Likewise.
18513 * sunrpc/key_call.c: Likewise.
18514 * sunrpc/key_prot.c: Likewise.
18515 * sunrpc/netname.c: Likewise.
18516 * sunrpc/pm_getmaps.c: Likewise.
18517 * sunrpc/pm_getport.c: Likewise.
18518 * sunrpc/pmap_clnt.c: Likewise.
18519 * sunrpc/pmap_prot.c: Likewise.
18520 * sunrpc/pmap_prot2.c: Likewise.
18521 * sunrpc/pmap_rmt.c: Likewise.
18522 * sunrpc/publickey.c: Likewise.
18523 * sunrpc/rpc_cmsg.c: Likewise.
18524 * sunrpc/rpc_common.c: Likewise.
18525 * sunrpc/rpc_dtable.c: Likewise.
18526 * sunrpc/rpc_prot.c: Likewise.
18527 * sunrpc/rpc_thread.c: Likewise.
18528 * sunrpc/rtime.c: Likewise.
18529 * sunrpc/svc.c: Likewise.
18530 * sunrpc/svc_auth.c: Likewise.
18531 * sunrpc/svc_authux.c: Likewise.
18532 * sunrpc/svc_raw.c: Likewise.
18533 * sunrpc/svc_run.c: Likewise.
18534 * sunrpc/svc_simple.c: Likewise.
18535 * sunrpc/svc_tcp.c: Likewise.
18536 * sunrpc/svc_udp.c: Likewise.
18537 * sunrpc/svc_unix.c: Likewise.
18538 * sunrpc/svcauth_des.c: Likewise.
18539 * sunrpc/xcrypt.c: Likewise.
18540 * sunrpc/xdr.c: Likewise.
18541 * sunrpc/xdr_array.c: Likewise.
18542 * sunrpc/xdr_float.c: Likewise.
18543 * sunrpc/xdr_intXX_t.c: Likewise.
18544 * sunrpc/xdr_mem.c: Likewise.
18545 * sunrpc/xdr_rec.c: Likewise.
18546 * sunrpc/xdr_ref.c: Likewise.
18547 * sunrpc/xdr_sizeof.c: Likewise.
18548 * sunrpc/xdr_stdio.c: Likewise.
18549
e6c61494
UD
185502011-04-10 Ulrich Drepper <drepper@gmail.com>
18551
18552 [BZ #12650]
18553 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18554 * sysdeps/ia64/dl-tls.h: Likewise.
18555 * sysdeps/powerpc/dl-tls.h: Likewise.
18556 * sysdeps/s390/dl-tls.h: Likewise.
18557 * sysdeps/sh/dl-tls.h: Likewise.
18558 * sysdeps/sparc/dl-tls.h: Likewise.
18559 * sysdeps/x86_64/dl-tls.h: Likewise.
18560 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18561
34fe483e
AS
185622011-03-14 Andreas Schwab <schwab@redhat.com>
18563
18564 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18565 rpath element also skip the following colon.
18566 (expand_dynamic_string_token): Add is_path parameter and pass
18567 down to DL_DST_REQUIRED and _dl_dst_substitute.
18568 (decompose_rpath): Call expand_dynamic_string_token with
18569 non-zero is_path. Ignore empty rpaths.
18570 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18571 with zero is_path.
18572
f12a32e6
AS
185732011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18574
18575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18576 Make cancelable.
18577
38a7d692
UD
185782011-04-09 Ulrich Drepper <drepper@gmail.com>
18579
18580 [BZ #12655]
18581 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18582 Patch by Filipe David Manana <fdmanana@apache.org>.
18583
e451d22b
AS
185842011-04-07 Andreas Schwab <schwab@redhat.com>
18585
18586 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18587 Maintain aligned stack.
18588 (CHECK_RSP): Remove unused macro.
18589
dedc7c7b
UD
185902011-04-03 Ulrich Drepper <drepper@gmail.com>
18591
18592 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18593 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18594
94521213
UD
185952011-04-02 Ulrich Drepper <drepper@gmail.com>
18596
18597 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18598
8cb700c0 18599 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18600
0354e355
L
186012011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18602
18603 [BZ #12518]
18604 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18605 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18606 * sysdeps/x86_64/memmove.c: New file.
18607 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18608 (memcpy): Renamed to ...
18609 (__new_memcpy): This.
18610 (memcpy): Provide GLIBC_2_14 memcpy.
18611 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18612 (memcpy): Provide GLIBC_2_2_5 memcpy.
18613
8593482f
UD
186142011-04-01 Ulrich Drepper <drepper@gmail.com>
18615
18616 [BZ #12631]
18617 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18618
81a5726b
AS
186192011-03-30 Andreas Schwab <schwab@redhat.com>
18620
18621 * misc/syncfs.c: New file.
18622 * misc/Makefile (routines): Add syncfs.
18623 * posix/unistd.h: Declare syncfs.
18624 * sysdeps/unix/syscalls.list: Add syncfs.
18625
00e5419f
AS
186262011-04-01 Andreas Schwab <schwab@redhat.com>
18627
18628 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18629 open_by_handle_at.
18630 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18631 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18632 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18633 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18635 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18637
748876bf
UD
186382011-04-01 Ulrich Drepper <drepper@gmail.com>
18639
658e451d
UD
18640 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18641 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18642 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18643 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18644 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18645 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18646 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18647
748876bf
UD
18648 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18649 sync_file_range.c with -fexceptions.
18650 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18651 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18652 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18653 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18654 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18655 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18656 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18657 sync_file_range as cancellation point
18658 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18659 now a wrapper around __call_sync_file_range with cancellation handling.
18660 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18661 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18662 function name to __call_sync_file_range.
18663 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18664 Add call_sync_file_range.
748876bf 18665
6e63d5e1
AS
186662011-04-01 Andreas Schwab <schwab@redhat.com>
18667
18668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18669 bits/timex.h.
6e63d5e1 18670
46998f74
UD
186712011-04-01 Ulrich Drepper <drepper@gmail.com>
18672
4c1423ed
UD
18673 * iconv/iconv.h: Fix typo in comment.
18674 * io/fcntl.h: Likewise.
18675 * libio/stdio.h: Likewise.
18676 * posix/spawn.h: Likewise.
18677 * posix/unistd.h: Likewise.
18678 * stdlib/stdlib.h: Likewise.
18679 * time/time.h: Likewise.
18680 * wcsmbs/wchar.h: Likewise.
18681
158648c0
UD
18682 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18683 open_by_handle): Add.
18684 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18685 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18686 Augment a few comments.
18687 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18689 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18690 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18691 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18692 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18693 open_by_handle.
18694
46998f74
UD
18695 * io/fcntl.h (AT_EMPTY_PATH): Define.
18696
83fe108b
UD
186972011-03-30 Ulrich Drepper <drepper@gmail.com>
18698
18699 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18700 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18701 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18702 to...
18703 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18704 * Versions.def: Add GLIBC_2.14.
18705 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18706 Export.
83fe108b 18707
bb242059
UD
187082011-03-22 Ulrich Drepper <drepper@gmail.com>
18709
18710 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18711 round counter.
18712 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18713
c97a1282
L
187142011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18715
18716 [BZ #12597]
18717 * string/test-strncmp.c (do_page_test): New function.
18718 (check2): Likewise.
18719 (test_main): Call check2.
18720 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18721
2a115601
UD
187222011-03-20 Ulrich Drepper <drepper@gmail.com>
18723
18724 [BZ #12587]
18725 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18726 Handle cache information in CPU leaf 4.
18727 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18728
8126d904
UD
187292011-03-18 Ulrich Drepper <drepper@gmail.com>
18730
042c49c6 18731 [BZ #12583]
8126d904
UD
18732 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18733 character representation.
18734 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18735
ccfe366e
RA
187362011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18737
18738 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18739 END(__isnan) to END(__isnanf) to match function entry point/label
18740 EALIGN(__isnanf,...).
18741
c6e13027
JJ
187422011-03-10 Jakub Jelinek <jakub@redhat.com>
18743
18744 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18745
33f85a3f
UD
187462011-03-10 Ulrich Drepper <drepper@gmail.com>
18747
028478fa
UD
18748 [BZ #12510]
18749 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18750 copy from the symbol referenced in the relocation to initialize the
18751 used variable.
18752 Patch by Piotr Bury <pbury@goahead.com>.
18753 * elf/Makefile: Add rules to build and tst-unique3.
18754 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18755 * elf/tst-unique3.cc: New file.
18756 * elf/tst-unique3.h: New file.
18757 * elf/tst-unique3lib.cc: New file.
18758 * elf/tst-unique3lib2.cc: New file.
18759
33f85a3f
UD
18760 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18761
03592fc7
MF
187622011-03-10 Mike Frysinger <vapier@gentoo.org>
18763
18764 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18765 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18766 to _start.
03592fc7 18767
6a5ee102
UD
187682011-03-06 Ulrich Drepper <drepper@gmail.com>
18769
18770 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18771 to-be-loaded object along a path to loader is ld.so.
18772
7e4ba49c
HJ
187732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18774 Ulrich Drepper <drepper@gmail.com>
18775
18776 * sysdeps/x86_64/memset.S: After aligning destination, code
18777 branches to different locations depending on the value of
18778 misalignment, when multiarch is enabled. Fix this.
18779
187802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18781
18782 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18783 Set _x86_64_preferred_memory_instruction for AMD processsors.
18784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18785 Set bit_Prefer_SSE_for_memop for AMD processors.
18786
13a804de
UD
187872011-03-04 Ulrich Drepper <drepper@gmail.com>
18788
18789 * libio/fmemopen.c (fmemopen): Optimize a bit.
18790
9d25c392
AS
187912011-03-03 Andreas Schwab <schwab@redhat.com>
18792
18793 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18794
a5543c6a
RM
187952011-03-03 Roland McGrath <roland@redhat.com>
18796
18797 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18798
012d35f7
DM
187992011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18800
7e4ba49c 18801 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18802 __bzero_ultra1 instead of __memset_ultra1.
18803
4bff6e01
AS
188042011-02-23 Andreas Schwab <schwab@redhat.com>
18805 Ulrich Drepper <drepper@gmail.com>
18806
18807 [BZ #12509]
18808 * include/link.h (struct link_map): Add l_orig_initfini.
18809 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18810 returning unsuccessfully.
18811 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18812 close of a file loaded at startup, restore the original l_initfini
18813 list.
18814 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18815 list, store the pointer.
18816 * elf/Makefile ($(objpfx)noload-mem): New rule.
18817 (noload-ENV): Define.
18818 (tests): Add $(objpfx)noload-mem.
18819 * elf/noload.c: Include <memcheck.h>.
18820 (main): Call mtrace. Close all opened handles.
18821
f2092faf
AS
188222011-02-17 Andreas Schwab <schwab@redhat.com>
18823
18824 [BZ #12454]
18825 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18826 dependencies are missing.
18827
6c8a2e88
ST
188282011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18829
f2092faf 18830 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18831 Hurd needs munmap.
18832 * sysdeps/mach/hurd/ifreq.h: New file.
18833
84a42118
PB
188342011-01-27 Petr Baudis <pasky@suse.cz>
18835 Ulrich Drepper <drepper@gmail.com>
18836
071f805e 18837 [BZ 12445]#
84a42118
PB
18838 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18839 to extend_alloca().
18840 * stdio-common/bug23.c: New file.
18841 * stdio-common/Makefile (tests): Add bug23.
18842
e23fe25b
AS
188432010-09-28 Andreas Schwab <schwab@redhat.com>
18844 Ulrich Drepper <drepper@gmail.com>
18845
18846 [BZ #12489]
18847 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18848 before performing relro protection. At old place add assertion
18849 to make sure nothing changed.
18850
d3f02e10
NS
188512011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18852 Glauber de Oliveira Costa <glommer@gmail.com>
18853
18854 * elf/elf.h: Add new ARM TLS relocs.
18855
d55fd7a5
RA
188562011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18857
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18859 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18860 cast from r3.
18861 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18862 'tests' variable.
18863 * sysdeps/wordsize-64/tst-writev.c: New file.
18864
2206397e
RA
188652011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18866
18867 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18868 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18869 insns in _dl_start to prevent a TOC reference before relocs are
18870 resolved.
18871
e9433893
UD
188722011-02-15 Ulrich Drepper <drepper@gmail.com>
18873
18874 [BZ #12469]
18875 * Makeconfig: Remove RANLIB definition.
18876 * Makerules: Don't use RANLIB.
18877 * aclocal.m4: Remove ranlib test.
18878 * configure.in: No need to check for ranlib.
18879 * elf/rtld-Rules: Don't use RANLIB.
18880
f75286c6
ST
188812011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18882
8e31c82d
ST
18883 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18884 protection macro.
18885 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18886 inclusion protection macro.
18887
f75286c6
ST
18888 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18889 SIGRTMIN and SIGRTMAX and print information in that case only when
18890 SIGRTMIN is defined.
18891
c1d0e639
JJ
188922011-02-11 Jakub Jelinek <jakub@redhat.com>
18893
18894 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18895 arginfo fn returning -1.
18896
18897 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18898 and thousands string is zero terminated.
18899
edf9294e
AS
189002011-02-03 Andreas Schwab <schwab@redhat.com>
18901
18902 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18903 sysdeps/unix/sysv/linux/bits/socket.h.
18904
2b7e92df
ST
189052011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18906
edf9294e
AS
18907 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18908 (__CPU_COUNT): Remove old macros.
18909 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18910 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18911 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18912 (__sched_cpualloc, __sched_cpufree): Add declarations.
18913
a4c7ea7b
UD
189142011-02-05 Ulrich Drepper <drepper@gmail.com>
18915
18916 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18917 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18918 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18919 (readdhstai): Return value of addhstaiX call.
18920 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18921 (addgrbyX): Return value returned by cache_addgr.
18922 (readdgrbyname): Return value returned by addgrbyX.
18923 (readdgrbygid): Likewise.
18924 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18925 (addpwbyX): Return value returned by cache_addpw.
18926 (readdpwbyname): Return value returned by addhstbyX.
18927 (readdpwbyuid): Likewise.
18928 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18929 (addservbyX): Return value returned by cache_addserv.
18930 (readdservbyname): Return value returned by addservbyX:
18931 (readdservbyport): Likewise.
18932 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18933 (addhstbyX): Return value returned by cache_addhst.
18934 (readdhstbyname): Return value returned by addhstbyX.
18935 (readdhstbyaddr): Likewise.
18936 (readdhstbynamev6): Likewise.
18937 (readdhstbyaddrv6): Likewise.
18938 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18939 (readdinitgroups): Return value returned by addinitgroupsX.
18940 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18941 (prune_cache): Keep track of timeout value of re-added entries.
18942 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18943 * nscd/nscd.h: Adjust prototypes of readd* functions.
18944
a0bf67cc
RM
189452011-02-04 Roland McGrath <roland@redhat.com>
18946
18947 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18948 (nis_stats): Likewise.
18949 * nis/nis_modify.c (nis_modify): Likewise.
18950 * nis/nis_remove.c (nis_remove): Likewise.
18951 * nis/nis_add.c (nis_add): Likewise.
18952
18953 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18954
18955 * posix/fnmatch_loop.c: Add some consts.
18956
18957 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18958
435b95eb
L
189592011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18960
18961 [BZ #12460]
18962 * config.make.in (config-cflags-novzeroupper): Define.
18963 * configure.in: Substitute libc_cv_cc_novzeroupper.
18964 * elf/Makefile (AVX-CFLAGS): Define.
18965 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18966 (CFLAGS-tst-auditmod4a.c): Likewise.
18967 (CFLAGS-tst-auditmod4b.c): Likewise.
18968 (CFLAGS-tst-auditmod6b.c): Likewise.
18969 (CFLAGS-tst-auditmod6c.c): Likewise.
18970 (CFLAGS-tst-auditmod7b.c): Likewise.
18971 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18972
8517b15e
UD
189732011-02-02 Ulrich Drepper <drepper@gmail.com>
18974
18975 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18976 function to the callback.
18977 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18978
10a656fe
AS
189792011-02-02 Andreas Schwab <schwab@redhat.com>
18980
18981 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18982 of errno.
18983
968dad0a
UD
189842011-01-19 Ulrich Drepper <drepper@gmail.com>
18985
9f94d2ea 18986 [BZ #11724]
968dad0a
UD
18987 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18988 of constructors.
18989 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18990 of destructors.
18991 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18992
18993 [BZ #11724]
18994 * elf/Makefile: Add rules to build and run new test.
18995 * elf/tst-initorder.c: New file.
18996 * elf/tst-initorder.exp: New file.
18997 * elf/tst-initordera1.c: New file.
18998 * elf/tst-initordera2.c: New file.
18999 * elf/tst-initordera3.c: New file.
19000 * elf/tst-initordera4.c: New file.
19001 * elf/tst-initorderb1.c: New file.
19002 * elf/tst-initorderb2.c: New file.
19003 * elf/tst-order-a1.c: New file.
19004 * elf/tst-order-a2.c: New file.
19005 * elf/tst-order-a3.c: New file.
19006 * elf/tst-order-a4.c: New file.
19007 * elf/tst-order-b1.c: New file.
19008 * elf/tst-order-b2.c: New file.
19009 * elf/tst-order-main.c: New file.
19010 New test case by George Gensure <werkt0@gmail.com>.
19011
86e92359
UD
190122010-10-01 Andreas Schwab <schwab@redhat.com>
19013
19014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19015 decoding ACE if AI_CANONIDN.
19016
5d5732b0
UD
190172011-01-18 Ulrich Drepper <drepper@gmail.com>
19018
19019 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19020
a77e8cbc
UD
190212011-01-17 Ulrich Drepper <drepper@gmail.com>
19022
6392473f
UD
19023 * version.h (RELEASE): Bump for 2.13 release.
19024 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19025
620a0529
UD
19026 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19027
18ba70a5
UD
19028 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19029 MADV_NOHUGEPAGE.
32465c3e
UD
19030 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19031 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19032 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19033 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19034 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19035 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19036
c0dafcf1
UD
19037 * posix/getconf.c: Update copyright year.
19038 * catgets/gencat.c: Likewise.
19039 * csu/version.c: Likewise.
19040 * debug/catchsegv.sh: Likewise.
19041 * debug/xtrace.sh: Likewise.
19042 * elf/ldconfig.c: Likewise.
19043 * elf/ldd.bash.in: Likewise.
19044 * elf/sprof.c (print_version): Likewise.
19045 * iconv/iconv_prog.c: Likewise.
19046 * iconv/iconvconfig.c: Likewise.
19047 * locale/programs/locale.c: Likewise.
19048 * locale/programs/localedef.c: Likewise.
19049 * malloc/memusage.sh: Likewise.
19050 * malloc/mtrace.pl: Likewise.
19051 * nscd/nscd.c (print_version): Likewise.
19052 * nss/getent.c: Likewise.
19053
a77e8cbc
UD
19054 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19055 PF_CAIF, and PF_ALG.
19056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19057
77e8bddf
AS
190582011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19059
1f20b93a
AS
19060 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19061 (modules-names): Use them.
19062 (ifunc-test-modules, ifunc-pie-tests): Define.
19063 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19064 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19065 (test-extras): Likewise.
19066 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19067 $(compile-command.c).
19068 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19069 (all-built-dso): Define.
19070 (check-textrel.out, check-execstack.out): Depend on it.
19071
77e8bddf
AS
19072 * configure.in: Don't override --enable-multi-arch.
19073
bc425b33
UD
190742011-01-15 Ulrich Drepper <drepper@gmail.com>
19075
19076 [BZ #6812]
19077 * nscd/hstcache.c (tryagain): Define.
19078 (cache_addhst): Return tryagain not notfound for temporary errors.
19079 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19080 failed.
19081
794c3ad3
UD
190822011-01-14 Ulrich Drepper <drepper@gmail.com>
19083
70181fdd
UD
19084 [BZ #10563]
19085 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19086 to make the syscall.
19087 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19088
794c3ad3
UD
19089 [BZ #12378]
19090 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19091 and fall back to matching as normal character if the string ends before
19092 the matching ']' is found. This is what POSIX requires.
19093 * posix/testfnm.c: Adjust test result.
19094 * posix/globtest.sh: Adjust test result. Add new test.
19095 * posix/tst-fnmatch.input: Likewise.
19096 * posix/tst-fnmatch2.c: Add new test.
19097
68dc9497
AS
190982010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19099
19100 * elf/Makefile (check-execstack): Revert last change. Depend on
19101 check-execstack.h.
19102 (check-execstack.h): New target.
19103 (generated): Add check-execstack.h.
19104 * elf/check-execstack.c: Include "check-execstack.h".
19105 (main): Revert last change.
19106 (handle_file): Return zero if GNU_STACK is absent and
19107 DEFAULT_STACK_PERMS doesn't include PF_X.
19108
451f001b
UD
191092011-01-13 Ulrich Drepper <drepper@gmail.com>
19110
cfa28e56
UD
19111 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19112 in child fails because the descriptor is already closed.
8cf8ce17
UD
19113 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19114 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19115 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19116
1086d70d
UD
19117 [BZ #12397]
19118 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19119 syscall.
19120
451f001b
UD
19121 [BZ #10484]
19122 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19123 temporary buffer used to handle multi lookups locally.
a85b5cb4 19124 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19125
08769175
UD
191262011-01-12 Ulrich Drepper <drepper@gmail.com>
19127
19128 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19129 loader is ld.so.
19130
5e49c52e
UD
191312011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19132
19133 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19134 alignment for SSE2.
19135
60522a5f
UD
191362011-01-12 Ulrich Drepper <drepper@gmail.com>
19137
19138 [BZ #12394]
19139 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19140 characters. When rounding increased number of integer digits recompute
19141 number of groups.
19142 * stdio-common/tst-grouping.c: New file.
19143 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19144
f257bbd7
UD
191452011-01-09 Ulrich Drepper <drepper@gmail.com>
19146
19147 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19148 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19149
19150 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19151 void.
19152 * bits/select.h: Likewise.
19153
fa9c15cb
UD
191542011-01-08 Ulrich Drepper <drepper@gmail.com>
19155
19156 * po/ja.po: Update from translation team.
19157
16c2895f
DM
191582011-01-04 David S. Miller <davem@sunset.davemloft.net>
19159
19160 [BZ #11155]
19161 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19162 implementation just like for lxstat, fxstatat, et al.
19163
2543fef2
JM
191642010-12-27 Jim Meyering <meyering@redhat.com>
19165
19166 [BZ #12348]
19167 * posix/regexec.c (build_trtable): Return failure indication upon
19168 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19169
98727dbe
UD
191702010-12-25 Ulrich Drepper <drepper@gmail.com>
19171
5bd6dc5c
UD
19172 [BZ #12201]
19173 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19174 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19175 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19176 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19177
97983464
UD
19178 [BZ #12207]
19179 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19180
98727dbe
UD
19181 [BZ #12204]
19182 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19183 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19184
4a531bb0
L
191852010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19186
19187 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19188 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19189 script has SORT_BY_INIT_PRIORITY.
19190 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19191 NO_CTORS_DTORS_SECTIONS is defined.
19192 * elf/soinit.c: Likewise.
19193 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19194 NO_CTORS_DTORS_SECTIONS is defined.
19195 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19196 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19197 * sysdeps/sh/init-first.c: Likewise.
19198 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19199
07eb4b71
UD
192002010-12-24 Ulrich Drepper <drepper@gmail.com>
19201
19202 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19203 always use the slow path.
19204
30950a5f
RA
192052010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19206
19207 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19208 similar rule which adds the sysdep directories to the header search in
19209 order to pick up the correct platform stackinfo.h.
19210 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19211 perform test if it is, otherwise return successfully without testing.
19212 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19213 DEFAULT_STACK_PERMS define in stackinfo.h.
19214 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19215 defined in stackinfo.h.
19216 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19217 DEFAULT_STACK_PERMS defined in stackinfo.h.
19218 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19219 * sysdeps/ia64/stackinfo.h: Likewise.
19220 * sysdeps/s390/stackinfo.h: Likewise.
19221 * sysdeps/sh/stackinfo.h: Likewise.
19222 * sysdeps/sparc/stackinfo.h: Likewise.
19223 * sysdeps/x86_64/stackinfo.h: Likewise.
19224 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19225 PF_X for powerpc64. Retain PF_X for powerpc32.
19226
db753e2c
UD
192272010-12-19 Ulrich Drepper <drepper@gmail.com>
19228
14b697f7
UD
19229 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19230 accurately.
db753e2c
UD
19231 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19232 GETDENTS_64BIT_ALIGNED.
19233
28300719
UD
192342010-12-14 Ulrich Drepper <dreper@gmail.com>
19235
14b697f7 19236 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19237
4f197237
AS
192382010-12-10 Andreas Schwab <schwab@redhat.com>
19239
dbb0472f
AS
19240 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19241 _GNU_SOURCE.
19242
4f197237
AS
19243 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19244 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19245 Remove __restrict.
19246 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19247 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19248
fb88ac72
UD
192492010-12-09 Ulrich Drepper <drepper@gmail.com>
19250
19251 [BZ #11655]
19252 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19253 are initialized.
19254
42acbb92
JJ
192552010-12-09 Jakub Jelinek <jakub@redhat.com>
19256
19257 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19258
c038d98d
UD
192592010-12-03 Ulrich Drepper <drepper@gmail.com>
19260
19261 * po/it.po: Update from translation team.
19262
3a4a2499
L
192632010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19264
19265 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19266 unused codes.
19267
1e24cf6e
UD
192682010-11-30 Ulrich Drepper <drepper@gmail.com>
19269
19270 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19271
a7690819
AS
192722010-11-24 Andreas Schwab <schwab@redhat.com>
19273
19274 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19275 specially.
19276 (gaih_getanswer_slice): Likewise.
19277
3bf8d1b1
JJ
192782010-10-20 Jakub Jelinek <jakub@redhat.com>
19279
19280 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19281
6db52fbb
PB
192822010-05-31 Petr Baudis <pasky@suse.cz>
19283
19284 [BZ #11149]
19285 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19286 silently even in the chroot mode.
19287
eaca7569
UD
192882010-11-22 Ulrich Drepper <drepper@gmail.com>
19289
19290 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19291 last patch a bit. Pretty printing
19292
3056dcdb
UD
192932010-05-31 Petr Baudis <pasky@suse.cz>
19294
19295 [BZ #10085]
19296 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19297 initialization of skip_initgroups_dyn.
19298
cf7c9078
UD
192992010-11-19 Ulrich Drepper <drepper@gmail.com>
19300
19301 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19302 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19303
a1fb5e3e
UD
193042010-11-16 Ulrich Drepper <drepper@gmail.com>
19305
19306 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19307
3540d66b
AS
193082010-11-11 Andreas Schwab <schwab@redhat.com>
19309
19310 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19311 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19312 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19313 ($(objpfx)tst-fnmatch-mem): New rule.
19314 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19315 * posix/tst-fnmatch.c (main): Call mtrace.
19316
13b69574
L
193172010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19318
19319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19320 Support Intel processor model 6 and model 0x2c.
19321
da93d214
LM
193222010-11-10 Luis Machado <luisgpm@br.ibm.com>
19323
19324 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19325 signed comparison.
19326
8ca52c6e
L
193272010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19328
19329 [BZ #12205]
19330 * string/test-strncasecmp.c (check_result): New function.
19331 (do_one_test): Use it.
19332 (check1): New function.
19333 (test_main): Use it.
19334 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19335 Support strcasecmp and strncasecmp.
19336
69da074d
UD
193372010-11-08 Ulrich Drepper <drepper@gmail.com>
19338
19339 [BZ #12194]
19340 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19341 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19342
ff02d528
L
193432010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19344
19345 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19346 IFUNC support.
19347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19348 memset-x86-64.
19349 * sysdeps/x86_64/multiarch/bzero.S: New file.
19350 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19351 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19352 * sysdeps/x86_64/multiarch/memset.S: New file.
19353 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19355 Set bit_Prefer_SSE_for_memop for Intel processors.
19356 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19357 Define.
19358 (index_Prefer_SSE_for_memop): Define.
19359 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19360
344d0b54
LM
193612010-11-04 Luis Machado <luisgpm@br.ibm.com>
19362
19363 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19364 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19365
c0dde15b
UD
193662010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19367
19368 [BZ #12191]
19369 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19370 (__x86_64_raw_data_cache_size_half): Likewise.
19371 (__x86_64_raw_shared_cache_size): Likewise.
19372 (__x86_64_raw_shared_cache_size_half): Likewise.
19373
19374 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19375 (__x86_64_raw_data_cache_size_half): Likewise.
19376 (__x86_64_raw_shared_cache_size): Likewise.
19377 (__x86_64_raw_shared_cache_size_half): Likewise.
19378 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19379 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19380 and __x86_64_raw_shared_cache_size_half. Round
19381 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19382 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19383 to multiple of 256 bytes.
19384
0e516e0e
MS
193852010-11-03 Ulrich Drepper <drepper@gmail.com>
19386
19387 [BZ #12167]
19388 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19389 of inacessible symlinks. Verify result of symlink before returning it.
19390 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19391 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19392
0e012e87
ER
193932010-10-28 Erich Ritz <erichritz@gmail.com>
19394
19395 * math/math.h (isinf): Fix typo in comment.
19396
de0ff7bc
UD
193972010-11-01 Ulrich Drepper <drepper@gmail.com>
19398
19399 * po/da.po: Update from translation team.
19400
fa41c84d
UD
194012010-10-26 Ulrich Drepper <drepper@gmail.com>
19402
19403 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19404 is added to the list.
19405
f0967738
AK
194062010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19407 Ulrich Drepper <drepper@gmail.com>
19408
19409 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19410 the global list here. Move code to...
19411 (_dl_add_to_namespace_list): ...here. New function.
19412 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19413 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19414 * elf/dl-load.c (lose): Don't remove the element from the list.
19415 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19416 (_dl_map_object): Likewise.
19417
194182010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19419
19420 [BZ #12159]
19421 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19422 into all bytes of SSE register.
19423 Patch by Richard Li <richardpku@gmail.com>.
19424
f0967738 194252010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19426
19427 [BZ #12140]
19428 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19429 perturbing.
19430
d0b9e94f
MB
194312010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19432
19433 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19434 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19435 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19436 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19438 submachine.
19439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19440
8e9f92e9
AS
194412010-10-22 Andreas Schwab <schwab@redhat.com>
19442
19443 * include/dlfcn.h (__RTLD_SECURE): Define.
19444 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19445 mode & __RTLD_SECURE instead.
19446 (open_path): Rename preloaded parameter to secure.
19447 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19448 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19449 * elf/dl-deps.c (openaux): Likewise.
19450 * elf/rtld.c (struct map_args): Remove is_preloaded.
19451 (map_doit): Don't use it.
19452 (dl_main): Likewise.
19453 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19454 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19455
bc96fbda
AS
194562010-09-09 Andreas Schwab <schwab@redhat.com>
19457
19458 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19459 (sysd-rules-targets): Remove duplicates.
19460 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19461 rtld-%.$o dependency.
19462
22cd1c9b
AS
194632010-10-18 Andreas Schwab <schwab@redhat.com>
19464
19465 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19466 _dl_map_object do it.
19467
18edac48
UD
194682010-10-19 Ulrich Drepper <drepper@gmail.com>
19469
19470 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19471 fast fma builtins, define the macros in the C99 standard.
19472 (FP_FAST_FMAF): Likewise.
19473 (FP_FAST_FMAL): Likewise.
19474 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19475
19476 * bits/mathdef.h: Update copyright year.
19477 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19478
d2050124
MM
194792010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19480
19481 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19482 builtins, define the macros in the C99 standard.
19483 (FP_FAST_FMAF): Likewise.
19484 (FP_FAST_FMAL): Likewise.
19485 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19486 multiply/add.
19487 (FP_FAST_FMAF): Likewise.
19488
475facd1
JJ
194892010-10-15 Jakub Jelinek <jakub@redhat.com>
19490
19491 [BZ #3268]
19492 * math/libm-test.inc (fma_test): Some new testcases.
19493 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19494 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19495 y and infinite z. Do multiplication by C already in long double.
19496 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19498 y and infinite z. Do bitwise or of inexact bit into u.d.
19499 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19500 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19501 * sysdeps/i386/fpu/s_fma.S: Removed.
19502 * sysdeps/i386/fpu/s_fmal.S: Removed.
19503
7c08a05c
JJ
195042010-10-16 Jakub Jelinek <jakub@redhat.com>
19505
19506 [BZ #3268]
19507 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19509 computation is not scheduled after fetestexcept. Fix value
19510 of minimum denormal long double.
19511
f3f7372d
JJ
195122010-10-14 Jakub Jelinek <jakub@redhat.com>
19513
19514 [BZ #3268]
19515 * math/libm-test.inc (fma_test): Add some more tests.
19516 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19517 correctly.
19518
14d43591
AS
195192010-10-15 Andreas Schwab <schwab@redhat.com>
19520
19521 * scripts/data/localplt-s390-linux-gnu.data: New file.
19522 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19523
5e908464
JJ
195242010-10-13 Jakub Jelinek <jakub@redhat.com>
19525
19526 [BZ #3268]
19527 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19528 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19529 instead of dbl-64.
19530 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19531 inlines.
19532 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19534 if one of x and y is very large and the other is subnormal.
19535 * sysdeps/s390/fpu/s_fmaf.c: New file.
19536 * sysdeps/s390/fpu/s_fma.c: New file.
19537 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19538 * sysdeps/powerpc/fpu/s_fma.S: New file.
19539 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19540 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19541 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19542
195432010-10-12 Jakub Jelinek <jakub@redhat.com>
19544
19545 [BZ #3268]
19546 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19547 fma tests.
19548 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19549 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19550 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19551 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19552 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19553 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19555
b833d51f
UD
195562010-10-12 Ulrich Drepper <drepper@redhat.com>
19557
19558 [BZ #12078]
19559 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19560 * posix/bug-regex31.input: Add test case.
19561
1751705d
UD
195622010-10-11 Ulrich Drepper <drepper@gmail.com>
19563
e9b9cbf5
UD
19564 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19565 * posix/bug-regex31.input: New file.
19566
19567 [BZ #12078]
19568 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19569 (parse_sub_exp): Fix last change, use postorder.
19570
ef06edbe
UD
19571 * posix/bug-regex31.c: New file.
19572 * posix/Makefile: Add rules to build and run bug-regex31.
19573
a129c80d
UD
19574 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19575
19576 [BZ #12078]
19577 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19578
b76b818e
UD
19579 [BZ #12108]
19580 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19581 to have entries in sys_siglist.
19582
1751705d
UD
19583 [BZ #12093]
19584 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19585 be NULL.
19586
9ff8d36f
JJ
195872010-10-07 Jakub Jelinek <jakub@redhat.com>
19588
19589 [BZ #3268]
19590 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19591 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19592 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19593 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19594 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19595 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19596 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19597 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19598 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19599 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19600 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19601 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19602 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19603 * math/ftestexcept.c (fetestexcept): Likewise.
19604 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19605 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19606 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19607 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19608 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19609 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19610 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19611
af325969
UD
196122010-10-11 Ulrich Drepper <drepper@gmail.com>
19613
c579b202 19614 [BZ #12107]
af325969
UD
19615 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19616 newline.
19617
67a67b95
UD
196182010-10-06 Ulrich Drepper <drepper@gmail.com>
19619
19620 * string/bug-strstr1.c: New file.
19621 * string/Makefile: Add rules to build and run bug-strstr1.
19622
5fb308bc
EB
196232010-10-05 Eric Blake <eblake@redhat.com>
19624
19625 [BZ #12092]
19626 * string/str-two-way.h (two_way_long_needle): Always clear memory
19627 when skipping input due to the shift table.
19628
45db99c7
UD
196292010-10-03 Ulrich Drepper <drepper@gmail.com>
19630
3b111893
UD
19631 [BZ #12005]
19632 * malloc/mcheck.c: Handle large requests.
19633
45db99c7
UD
19634 [BZ #12077]
19635 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19636 for strncmp and strncasecmp.
19637 * string/stratcliff.c: Add tests for strcmp and strncmp.
19638 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19639
cf7a1eb8
NI
196402010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19641
19642 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19643 __set_fpscr.
19644
6484ba5e
AJ
196452010-09-30 Andreas Jaeger <aj@suse.de>
19646
19647 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19648 (CGROUP_SUPER_MAGIC): Define.
19649 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19650 Handle btrfs and cgroup file systems.
19651 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19652 Likewise.
19653
91c42559
LM
196542010-09-27 Luis Machado <luisgpm@br.ibm.com>
19655
19656 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19657 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19658
87a97932
AK
196592010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19660
19661 [BZ #12067]
19662 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19663 trying to locate the ELF header.
19664
c21cc9bc
AS
196652010-09-27 Andreas Schwab <schwab@redhat.com>
19666
19667 [BZ #11611]
19668 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19669 Mask out sign-bit copies when constructing f_fsid.
19670
315970f6
PB
196712010-09-24 Petr Baudis <pasky@suse.cz>
19672
19673 * debug/stack_chk_fail_local.c: Add missing licence exception.
19674 * debug/warning-nop.c: Likewise.
19675
1ac7a2c7
JM
196762010-09-15 Joseph Myers <joseph@codesourcery.com>
19677
19678 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19679 implementing getdents64 using getdents syscall, set d_type if
19680 __ASSUME_GETDENTS32_D_TYPE.
19681
56801c50
AS
196822010-09-16 Andreas Schwab <schwab@redhat.com>
19683
19684 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19685 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19686
dda51327
UD
196872010-09-21 Ulrich Drepper <drepper@redhat.com>
19688
19689 [BZ #12037]
19690 * posix/unistd.h: Undo change of feature selection for ftruncate from
19691 2010-01-11.
19692
8ffcee4a
UD
196932010-09-20 Ulrich Drepper <drepper@redhat.com>
19694
a545ecd9 19695 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19696 detection.
19697
e24f0a8b
AS
196982010-09-20 Andreas Schwab <schwab@redhat.com>
19699
19700 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19701 fanotify_mark.
19702 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19703
7291c56f
AS
197042010-09-14 Andreas Schwab <schwab@redhat.com>
19705
19706 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19707 variables after CHECK_SP call.
19708 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19709
bc5fb037
AS
197102010-09-13 Andreas Schwab <schwab@redhat.com>
19711 Ulrich Drepper <drepper@redhat.com>
19712
19713 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19714 re-relocationg ld.so.
19715 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19716 _dl_init_paths call.
19717 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19718 here anymore.
19719
e66e7419
UD
197202010-09-14 Ulrich Drepper <drepper@redhat.com>
19721
19722 * resolv/res_init.c (__res_vinit): Count the default server we added.
19723
c044aa75
CLT
197242010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19725 Ulrich Drepper <drepper@redhat.com>
19726
19727 [BZ #11968]
19728 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19729 (____longjmp_chk): Use %ebx for saving value across system call.
19730 Add unwind info.
19731
32cf4069
AS
197322010-09-06 Andreas Schwab <schwab@redhat.com>
19733
19734 * manual/Makefile: Don't mix pattern rules with normal rules.
19735
817328ee
AS
197362010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19737
19738 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19739 operation.
19740 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19741 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19742 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19743 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19744 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19745 Likewise.
19746
29fddf61
UD
197472010-09-04 Ulrich Drepper <drepper@redhat.com>
19748
19749 [BZ #11979]
19750 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19751 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19752
0959ffc9
UD
197532010-09-02 Ulrich Drepper <drepper@redhat.com>
19754
19755 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19756 * sysdeps/x86_64/addmul_1.S: Likewise.
19757 * sysdeps/x86_64/lshift.S: Likewise.
19758 * sysdeps/x86_64/mul_1.S: Likewise.
19759 * sysdeps/x86_64/rshift.S: Likewise.
19760 * sysdeps/x86_64/sub_n.S: Likewise.
19761 * sysdeps/x86_64/submul_1.S: Likewise.
19762
ece29840
ST
197632010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19764
0959ffc9
UD
19765 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19766 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19767 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19768 * bits/sched.h [__need_schedparam]
ece29840 19769 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19770 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19771 (__defined_schedparam): Define to 1.
ece29840
ST
19772 (__sched_param): New structure, identical to sched_param.
19773 (__need_schedparam): Undefine.
19774
e53a31fe
MF
197752010-08-31 Mike Frysinger <vapier@gentoo.org>
19776
fdc0c10d
MF
19777 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19778 (epoll_create1): Declare.
19779
e53a31fe
MF
19780 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19781
a726d796
AS
197822010-08-31 Andreas Schwab <schwab@redhat.com>
19783
19784 [BZ #7066]
19785 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19786 shifting retval into place.
19787
2f3e3dc7
UD
197882010-09-01 Ulrich Drepper <drepper@redhat.com>
19789
f2933da9
UD
19790 * nis/rpcsvc/nis.h: Update copyright notice.
19791 * nis/rpcsvc/nis.x: Likewise.
19792 * nis/rpcsvc/nis_callback.h: Likewise.
19793 * nis/rpcsvc/nis_callback.x: Likewise.
19794 * nis/rpcsvc/nis_object.x: Likewise.
19795 * nis/rpcsvc/nis_tags.h: Likewise.
19796 * nis/rpcsvc/yp.h: Likewise.
19797 * nis/rpcsvc/yp.x: Likewise.
19798 * nis/rpcsvc/ypupd.h: Likewise.
19799 * nis/yp_xdr.c: Likewise.
19800 * nis/ypupdate_xdr.c: Likewise.
19801
2f3e3dc7
UD
19802 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19803 mainly the body of pmap_getport. Add parameters to specify timeouts.
19804 (pmap_getport): Use __libc_rpc_getport.
19805 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19806 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19807 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19808
f3dcc2f9
AS
198092010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19810
19811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19812 fanotify_mark.
19813
6d34eb5b
RM
198142010-08-27 Roland McGrath <roland@redhat.com>
19815
19816 * sysdeps/i386/i686/multiarch/Makefile
19817 (CFLAGS-varshift.c): New variable.
19818
9ea3de11
UD
198192010-08-27 Ulrich Drepper <drepper@redhat.com>
19820
c96d23fc
UD
19821 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19822 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19823
9ea3de11
UD
19824 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19825
19826 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19827
623aac7f
L
198282010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19829
19830 * sysdeps/x86_64/strlen.S: Unroll the loop.
19831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19832 strlen-sse2 strlen-sse2-bsf.
19833 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19834 __strlen_no_bsf if bit_Slow_BSF is set.
19835 (__strlen_sse42): Removed.
19836 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19837 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19838
8b2b7715
RM
198392010-08-25 Roland McGrath <roland@redhat.com>
19840
19841 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19842 * sysdeps/x86_64/multiarch/varshift.c: New file.
19843 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19844 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19845 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19846 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19847
e73015f2
L
198482010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19849
19850 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19851 strlen-sse2 strlen-sse2-bsf.
19852 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19853 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19854 (__strlen_sse2): Removed.
19855 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19856 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19858 bit_Slow_BSF for Atom.
19859 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19860 (index_Slow_BSF): Define.
19861 (HAS_SLOW_BSF): Define.
19862
df24a73e
UD
198632010-08-25 Ulrich Drepper <drepper@redhat.com>
19864
19865 [BZ #10851]
19866 * resolv/res_init.c (__res_vinit): When no server address at all
19867 is given default to loopback.
19868
f2ac4868
RM
198692010-08-24 Roland McGrath <roland@redhat.com>
19870
09055553
RM
19871 * configure.in: Remove config-name.h generation.
19872 * configure: Regenerated.
19873 * config-name.in: File removed.
19874 * scripts/config-uname.sh: New file.
19875 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19876 ($(objdir)config-name.h): New target.
19877
f2ac4868
RM
19878 * sunrpc/rpc_parse.h: Avoid nested comment.
19879
73f27d5e
RH
198802010-08-24 Richard Henderson <rth@redhat.com>
19881 Ulrich Drepper <drepper@redhat.com>
19882 H.J. Lu <hongjiu.lu@intel.com>
19883
19884 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19886 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19887 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19888 _mm_alignr_epi8 with _mm_loadu_si128.
19889 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19890 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19891 (__m128i_shift_right): Removed.
19892 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19893 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19894 * sysdeps/x86_64/multiarch/varshift.h: New file.
19895 * sysdeps/x86_64/multiarch/varshift.S: New file.
19896
84b9230c
MF
198972010-08-21 Mike Frysinger <vapier@gentoo.org>
19898
19899 * configure.in: Move assembler checks to before sysdep dir checking.
19900
9bbd0ddc
PB
199012010-08-20 Petr Baudis <pasky@suse.cz>
19902
19903 * LICENSES: Sync the sunrpc license.
19904
9da4bb31
UD
199052010-08-19 Ulrich Drepper <drepper@redhat.com>
19906
a7ab6ec8
UD
19907 * sunrpc/auth_des.c: Update copyright notice once again.
19908 * sunrpc/auth_none.c: Likewise.
19909 * sunrpc/auth_unix.c: Likewise.
19910 * sunrpc/authdes_prot.c: Likewise.
19911 * sunrpc/authuxprot.c: Likewise.
19912 * sunrpc/bindrsvprt.c: Likewise.
19913 * sunrpc/clnt_gen.c: Likewise.
19914 * sunrpc/clnt_perr.c: Likewise.
19915 * sunrpc/clnt_raw.c: Likewise.
19916 * sunrpc/clnt_simp.c: Likewise.
19917 * sunrpc/clnt_tcp.c: Likewise.
19918 * sunrpc/clnt_udp.c: Likewise.
19919 * sunrpc/clnt_unix.c: Likewise.
19920 * sunrpc/des_crypt.c: Likewise.
19921 * sunrpc/des_soft.c: Likewise.
19922 * sunrpc/get_myaddr.c: Likewise.
19923 * sunrpc/getrpcport.c: Likewise.
19924 * sunrpc/key_call.c: Likewise.
19925 * sunrpc/key_prot.c: Likewise.
19926 * sunrpc/openchild.c: Likewise.
19927 * sunrpc/pm_getmaps.c: Likewise.
19928 * sunrpc/pm_getport.c: Likewise.
19929 * sunrpc/pmap_clnt.c: Likewise.
19930 * sunrpc/pmap_prot.c: Likewise.
19931 * sunrpc/pmap_prot2.c: Likewise.
19932 * sunrpc/pmap_rmt.c: Likewise.
19933 * sunrpc/rpc/auth.h: Likewise.
19934 * sunrpc/rpc/auth_unix.h: Likewise.
19935 * sunrpc/rpc/clnt.h: Likewise.
19936 * sunrpc/rpc/des_crypt.h: Likewise.
19937 * sunrpc/rpc/key_prot.h: Likewise.
19938 * sunrpc/rpc/netdb.h: Likewise.
19939 * sunrpc/rpc/pmap_clnt.h: Likewise.
19940 * sunrpc/rpc/pmap_prot.h: Likewise.
19941 * sunrpc/rpc/pmap_rmt.h: Likewise.
19942 * sunrpc/rpc/rpc.h: Likewise.
19943 * sunrpc/rpc/rpc_des.h: Likewise.
19944 * sunrpc/rpc/rpc_msg.h: Likewise.
19945 * sunrpc/rpc/svc.h: Likewise.
19946 * sunrpc/rpc/svc_auth.h: Likewise.
19947 * sunrpc/rpc/types.h: Likewise.
19948 * sunrpc/rpc/xdr.h: Likewise.
19949 * sunrpc/rpc_clntout.c: Likewise.
19950 * sunrpc/rpc_cmsg.c: Likewise.
19951 * sunrpc/rpc_common.c: Likewise.
19952 * sunrpc/rpc_cout.c: Likewise.
19953 * sunrpc/rpc_dtable.c: Likewise.
19954 * sunrpc/rpc_hout.c: Likewise.
19955 * sunrpc/rpc_main.c: Likewise.
19956 * sunrpc/rpc_parse.c: Likewise.
19957 * sunrpc/rpc_parse.h: Likewise.
19958 * sunrpc/rpc_prot.c: Likewise.
19959 * sunrpc/rpc_sample.c: Likewise.
19960 * sunrpc/rpc_scan.c: Likewise.
19961 * sunrpc/rpc_scan.h: Likewise.
19962 * sunrpc/rpc_svcout.c: Likewise.
19963 * sunrpc/rpc_tblout.c: Likewise.
19964 * sunrpc/rpc_util.c: Likewise.
19965 * sunrpc/rpc_util.h: Likewise.
19966 * sunrpc/rpcinfo.c: Likewise.
19967 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19968 * sunrpc/rpcsvc/key_prot.x: Likewise.
19969 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19970 * sunrpc/rpcsvc/mount.x: Likewise.
19971 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19972 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19973 * sunrpc/rpcsvc/rex.x: Likewise.
19974 * sunrpc/rpcsvc/rstat.x: Likewise.
19975 * sunrpc/rpcsvc/rusers.x: Likewise.
19976 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19977 * sunrpc/rpcsvc/spray.x: Likewise.
19978 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19979 * sunrpc/rtime.c: Likewise.
19980 * sunrpc/svc.c: Likewise.
19981 * sunrpc/svc_auth.c: Likewise.
19982 * sunrpc/svc_authux.c: Likewise.
19983 * sunrpc/svc_raw.c: Likewise.
19984 * sunrpc/svc_run.c: Likewise.
19985 * sunrpc/svc_simple.c: Likewise.
19986 * sunrpc/svc_tcp.c: Likewise.
19987 * sunrpc/svc_udp.c: Likewise.
19988 * sunrpc/svc_unix.c: Likewise.
19989 * sunrpc/svcauth_des.c: Likewise.
19990 * sunrpc/xcrypt.c: Likewise.
19991 * sunrpc/xdr.c: Likewise.
19992 * sunrpc/xdr_array.c: Likewise.
19993 * sunrpc/xdr_float.c: Likewise.
19994 * sunrpc/xdr_mem.c: Likewise.
19995 * sunrpc/xdr_rec.c: Likewise.
19996 * sunrpc/xdr_ref.c: Likewise.
19997 * sunrpc/xdr_sizeof.c: Likewise.
19998 * sunrpc/xdr_stdio.c: Likewise.
19999
9da4bb31
UD
20000 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20001 handling.
20002
bdaa77bc
AS
200032010-08-19 Andreas Schwab <schwab@redhat.com>
20004
20005 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20006
fe2f79db
LM
200072010-08-19 Luis Machado <luisgpm@br.ibm.com>
20008
20009 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20010 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20011 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20012 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20013 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20014 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20015 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20016 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20017 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20018 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20019 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20020 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20021 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20022 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20023
b9b42ee0
AB
200242010-07-26 Anton Blanchard <anton@samba.org>
20025
20026 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20027 * malloc/arena.c (heap_trim): Likewise.
20028
1c06ba31
UD
200292010-08-16 Ulrich Drepper <drepper@redhat.com>
20030
20031 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20032 here. Not...
20033 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20034 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20035
f8392f40
L
200362010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20037
20038 * sysdeps/i386/elf/Makefile: New file.
20039
3162f12e
AS
200402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20041
20042 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20043 from fanotify_init.
20044 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20045 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20046
28c90b2c
UD
200472010-08-15 Ulrich Drepper <drepper@redhat.com>
20048
20049 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20050 of strncasecmp_l.
1feccb6c 20051 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20052
ca6bb004
UD
200532010-08-14 Ulrich Drepper <drepper@redhat.com>
20054
e9f82e0d
UD
20055 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20056 strncase_l-nonascii.
20057 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20058 Add strncase_l-ssse3.
20059 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20060 * sysdeps/x86_64/strcmp.S: Likewise.
20061 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20062 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20063 * sysdeps/x86_64/strncase.S: New file.
20064 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20065 * sysdeps/x86_64/strncase_l.S: New file.
20066 * string/Makefile (strop-tests): Add strncasecmp.
20067 * string/test-strncasecmp.c: New file.
20068
20069 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20070 warning.
20071
ca6bb004
UD
20072 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20073 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20074
052fa7b3
AS
200752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20076
20077 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20078
962dba78
UD
200792010-08-12 Ulrich Drepper <drepper@redhat.com>
20080
20081 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20082 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20083 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20084
bebff237
AM
200852010-05-01 Alan Modra <amodra@gmail.com>
20086
20087 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20088 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20089 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20090 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20091 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20092 tidying. Don't tail-call __sigjmp_save for static lib.
20093 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20094 save location.
20095 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20096 (CALL_MCOUNT): Add eh info, and nop after bl.
20097 (TAIL_CALL_SYSCALL_ERROR): New macro.
20098 (PSEUDO_RET): Use it.
20099 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20100 Correct save location of integer regs and cr.
20101 (_dl_profile_resolve): Correct cr save location. Delete nops
20102 after bl when SHARED. Reduce cfi size a little by better
20103 placement of cfi directives.
20104 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20105 make a stack frame. Instead use parm save area as a temp.
20106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20107 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20109 Don't make a stack frame for parent, use parm save area.
20110 Increase child stack frame to 112 bytes. Don't save unused reg,
20111 and adjust reg usage. Set up cfi on error recovery and
20112 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20114 (__makecontext): Add dummy nop after jump to exit.
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20116 Use correct parm save area and cr save, reduce stack frame.
20117 Correct cfi for possible PSEUDO_RET frame setup.
20118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20119 Branch to local label emitted by PSEUDO_RET rather than
20120 __syscall_error.
20121
02637374
AS
201222010-08-12 Andreas Schwab <schwab@redhat.com>
20123
20124 [BZ #11904]
20125 * locale/programs/locale.c (print_assignment): New function.
20126 (show_locale_vars): Use it.
20127
c3e2f19b
UD
201282010-08-11 Ulrich Drepper <drepper@redhat.com>
20129
3cdaa6ad
UD
20130 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20131 field.
20132 (struct statfs64): Likewise.
20133 (_STATFS_F_FLAGS): Define.
20134 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20135 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20136 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20137 (ST_VALID): Define locally.
20138 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20139 __statvfs_getflags, use the provided value.
20140 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20141 __ASSUME_STATFS_F_FLAGS.
20142
754f7da3
UD
20143 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20144
10b3bedc
UD
20145 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20146 Add sys/fanotify.h.
20147 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20148 fanotify_mask for GLIBC_2.13.
20149 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20150 fanotify_init and fanotify_mark.
20151 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20152 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20153
c08fb0d7
UD
20154 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20155 Add prlimit.
20156 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20157 prlimit64 for GLIBC_2.13.
20158 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20159 prlimit64.
20160 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20161 syscall.
20162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20163 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20164 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20165 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20166 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20167 add prlimit alias.
20168 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20169
15bac72b
UD
20170 [BZ #11903]
20171 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20172 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20173
c3e2f19b
UD
20174 * nss/Makefile: Add rules to build and run tst-nss-test1.
20175 * shlib-versions: Add entry for libnss_test1.
20176 * nss/nss_test1.c: New file.
20177 * nss/tst-nss-test1.c: New file.
20178
20179 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20180 (__nss_configure_lookup): Set appropriate entry in
20181 __nss_configure_lookup to true.
20182 * nss/nsswitch.h: Define enum with indeces of databases in
20183 databases and __nss_database_custom arrays. Declare
20184 __nss_database_custom.
20185 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20186 to avoid using nscd when custom rules are installed.
20187 * nss/getXXbyYY_r.c: Likewise.
20188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20189
20190 * nss/nss_files/files-parse.c: Whitespace fixes.
20191
f15ce4d8
UD
201922010-08-09 Ulrich Drepper <drepper@redhat.com>
20193
20194 [BZ #11883]
20195 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20196 * posix/fnmatch_loop.c: Likewise.
20197
d22e4cc9
AK
201982010-07-17 Andi Kleen <ak@linux.intel.com>
20199
20200 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20201 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20202 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20203 * Versions.def [GLIBC_2.13]: Add.
20204
805bc17d
UD
202052010-08-06 Ulrich Drepper <drepper@redhat.com>
20206
20207 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20208 Also fail if tpwd after pwuid call is NULL.
20209
5a42321d
ST
202102010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20211
20212 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20213 when converting to ms.
20214
fd3ebeda
ST
202152010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20216
20217 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20218 EOPNOTSUPP errors with ENOTTY.
20219 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20220 EOPNOTSUPP errors with ENOTTY.
20221
73507d3a
UD
202222010-07-31 Ulrich Drepper <drepper@redhat.com>
20223
20224 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20225 Add strcasecmp_l-ssse3.
20226 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20227 strcasecmp.
20228 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20229 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20230 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20231
fe36dd02
UD
202322010-07-30 Ulrich Drepper <drepper@redhat.com>
20233
66f6765a
UD
20234 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20235
42e08a54
UD
20236 * string/Makefile (strop-tests): Add strcasecmp.
20237 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20238 strcasecmp_l-nonascii.
20239 (gen-as-const-headers): Add locale-defines.sym.
20240 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20241 * sysdeps/x86_64/strcasecmp.S: New file.
20242 * sysdeps/x86_64/strcasecmp_l.S: New file.
20243 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20244 * sysdeps/x86_64/locale-defines.sym: New file.
20245 * string/test-strcasecmp.c: New file.
20246
fe36dd02
UD
20247 * string/test-strcasestr.c: Test both ends of the range of characters.
20248 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20249
48cbc0d6
RM
202502010-07-29 Roland McGrath <roland@redhat.com>
20251
76e6d6bc 20252 [BZ #11856]
48cbc0d6
RM
20253 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20254
880113d9
UD
202552010-07-27 Ulrich Drepper <drepper@redhat.com>
20256
20257 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20258 for ld.so.
20259
deb9cabb
AS
202602010-07-27 Andreas Schwab <schwab@redhat.com>
20261
20262 * manual/memory.texi (Malloc Tunable Parameters): Document
20263 M_PERTURB.
20264
1c7570ff
RM
202652010-07-26 Roland McGrath <roland@redhat.com>
20266
20267 [BZ #11840]
20268 * configure.in (-fgnu89-inline check): Set and substitute
20269 gnu89_inline, not libc_cv_gnu89_inline.
20270 * configure: Regenerated.
20271 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20272
24fb0f88
UD
202732010-07-26 Ulrich Drepper <drepper@redhat.com>
20274
20275 * string/test-strnlen.c: New file.
20276 * string/Makefile (strop-tests): Add strnlen.
20277 * string/tester.c (test_strnlen): Add a few more test cases.
20278 * string/tst-strlen.c: Better error reporting.
20279
20280 * sysdeps/x86_64/strnlen.S: New file.
20281
8e96b93a
UD
202822010-07-24 Ulrich Drepper <drepper@redhat.com>
20283
20284 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20285 lower-latency instructions.
20286
dbc676d4
UD
202872010-07-23 Ulrich Drepper <drepper@redhat.com>
20288
20289 * string/test-strcasestr.c: New file.
20290 * string/test-strstr.c: New file.
20291 * string/Makefile (strop-tests): Add strstr and strcasestr.
20292 * string/str-two-way.h: Don't undefine MAX.
20293 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20294
f6a31e0e
AS
202952010-07-21 Andreas Schwab <schwab@redhat.com>
20296
20297 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20298 strcasestr-nonascii.
20299 (CFLAGS-strcasestr-nonascii.c): Define.
20300 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20301 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20302 Remove unused attribute.
20303
5dbc3b6c
RM
203042010-07-20 Roland McGrath <roland@redhat.com>
20305
20306 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20307 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20308 ld.so.cache was broken. With it, there is no way to disable dsocaps
20309 like LD_HWCAP_MASK can disable hwcaps.
20310
23d101d8
EPM
203112010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20312
20313 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20314
cc9f2e47
UD
203152010-07-16 Ulrich Drepper <drepper@redhat.com>
20316
20317 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20318 call in strcasestr.
20319 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20320 __strcasestr_sse42_nonascii.
20321 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20322 strcasestr-nonascii.c.
20323 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20324
77c1b069
LM
203252010-06-15 Luis Machado <luisgpm@br.ibm.com>
20326
20327 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20328 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20329 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20330 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20331
440566c3
UD
203322010-07-09 Ulrich Drepper <drepper@redhat.com>
20333
20334 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20335 fcntl.
20336
5be9d05d
AS
203372010-07-06 Andreas Schwab <schwab@redhat.com>
20338
c30b7ee2 20339 [BZ #11577]
5be9d05d
AS
20340 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20341 dl_signal_cerror.
20342
8a492a67
UD
203432010-07-06 Ulrich Drepper <drepper@redhat.com>
20344
20345 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20346 _PC_PIPE_BUF using F_GETPIPE_SZ.
20347
713df3d5
RM
203482010-07-05 Roland McGrath <roland@redhat.com>
20349
20350 * manual/arith.texi (Rounding Functions): Fix rint description
20351 implicit in round description.
20352
702e8f14
UD
203532010-07-02 Ulrich Drepper <drepper@redhat.com>
20354
20355 * elf/Makefile: Fix linking for a few tests to make recent linker
20356 happy.
20357
52ed8be9
AS
203582010-06-30 Andreas Schwab <schwab@redhat.com>
20359
20360 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20361 $(common-objpfx)libc_nonshared.a.
20362
f47c9a11
LM
203632010-06-21 Luis Machado <luisgpm@br.ibm.com>
20364
20365 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20366 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20367 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20368 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20369 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20370 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20371 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20372 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20387 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20388 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20389 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20390 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20391 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20392 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20393 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20394 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20395 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20396 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20397 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20398 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20413
6fb8cbcb
L
204142010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20415
20416 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20417 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20418 * string/memmove.c (memmove): Renamed to ...
20419 (MEMMOVE): ...this. Default to memmove.
20420 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20421 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20422 (END_CHK): Define.
20423 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20424 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20425 mempcpy-ssse3-back memmove-ssse3-back.
20426 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20427 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20428 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20429 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20430 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20431 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20432 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20433 * sysdeps/x86_64/multiarch/memmove.c: New file.
20434 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20435 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20436 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20437 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20438 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20439 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20440 Define.
20441 (index_Fast_Copy_Backward): Define.
20442 (HAS_ARCH_FEATURE): Define.
20443 (HAS_FAST_REP_STRING): Define.
20444 (HAS_FAST_COPY_BACKWARD): Define.
20445
4e733bac 204462010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20447
20448 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20449 Restore proper fallback handling.
20450
63c4ed22
UD
204512010-06-19 Ulrich Drepper <drepper@redhat.com>
20452
ac2b484c
UD
20453 [BZ #11701]
20454 * posix/group_member.c (__group_member): Correct checking loop.
20455
63c4ed22
UD
20456 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20457 OOM in getpwuid_r correctly. Return error number when the caller
20458 should return, otherwise -1.
20459 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20460 call returning > 0 value.
20461 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20462
765ade4b
AS
204632010-06-07 Andreas Schwab <schwab@redhat.com>
20464
20465 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20466 libc_nonshared.a from targets in modules-names.
20467
80da2e09
KS
204682010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20469
20470 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20471 requires it.
20472
158db122
LM
204732010-06-10 Luis Machado <luisgpm@br.ibm.com>
20474
20475 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20476 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20477 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20478 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20479
caa78cf8
AS
204802010-06-02 Andreas Schwab <schwab@redhat.com>
20481
20482 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20483
b2ef2c01
UD
204842010-06-14 Ulrich Drepper <drepper@redhat.com>
20485
20486 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20487 and F_GETPIPE_SZ.
20488 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20489 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20490 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20491 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20492 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20493 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20494
fbd643b6
RM
204952010-06-14 Roland McGrath <roland@redhat.com>
20496
20497 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20498
f32f2869
JJ
204992010-06-07 Jakub Jelinek <jakub@redhat.com>
20500
20501 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20502 __REDIRECT followed by __THROW.
20503 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20504 * posix/getopt.h (getopt): Likewise.
20505
2a50c078
EPM
205062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20507
20508 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20509 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20510 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20511 in AT_FLAGS.
20512 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20513 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20514
eb5ad2eb
LM
205152010-05-28 Luis Machado <luisgpm@br.ibm.com>
20516
20517 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20518
3c88fe1e
L
205192010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20520
20521 [BZ #11640]
20522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20523 Properly check family and model.
20524
d2f73151
TY
205252010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20526
20527 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20528
ebd2e13d
LM
205292010-05-24 Luis Machado <luisgpm@br.ibm.com>
20530
20531 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20532
b32b8b45
UD
205332010-05-21 Ulrich Drepper <drepper@redhat.com>
20534
20535 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20536 symbol reference.
20537
9acbe24d
AS
205382010-05-19 Andreas Schwab <schwab@redhat.com>
20539
20540 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20541 symbol reference.
20542
f0ccf6ea
AS
205432010-05-21 Andreas Schwab <schwab@redhat.com>
20544
3d04ff3a
AS
20545 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20546 and internal_recvmmsg.
20547 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20548 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20549 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20550 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20551
f0ccf6ea
AS
20552 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20553 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20554 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20555
5b08ac57
AS
205562010-05-20 Andreas Schwab <schwab@redhat.com>
20557
20558 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20559
4828935d
LM
205602010-05-17 Luis Machado <luisgpm@br.ibm.com>
20561
20562 POWER7 optimizations.
20563 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20564 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20565
373d545e
UD
205662010-05-19 Ulrich Drepper <drepper@redhat.com>
20567
20568 * version.h: Update for 2.13 development version.
20569
21a2b1ae
AS
205702010-05-12 Andrew Stubbs <ams@codesourcery.com>
20571
20572 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20573 exceptions. Return 0.
20574
3f7dcb2b
RM
205752010-05-07 Roland McGrath <roland@redhat.com>
20576
20577 * elf/ldconfig.c (main): Add a const.
20578
5f24d53a 205792010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20580
a160f8d8
UD
20581 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20582 (args_options): Add no-idn option.
20583 (ahosts_keys_int): Add idn_flags to ai_flags.
20584 (parse_option): Handle 'i' option to clear idn_flags.
20585
5f24d53a
UD
20586 * malloc/malloc.c (_int_free): Possible race in the most recently
20587 added check. Only act on the data if no current modification
20588 happened.
265bb1ce
UD
20589
20590See ChangeLog.17 for earlier changes.