]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add and use $(host-built-program-cmd).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
166bca24
JB
12012-10-23 Jim Blandy <jimb@codesourcery.com>
2 Joseph Myers <joseph@codesourcery.com>
3
4 * Makeconfig (host-built-program-cmd): New variable.
5 * elf/Makefile (tst-stackguard1-ARGS): Use
6 $(host-built-program-cmd).
7 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8 (tst-spawn-ARGS): Likewise.
9 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10
88866099
JM
112012-10-23 Joseph Myers <joseph@codesourcery.com>
12 Jim Blandy <jimb@codesourcery.com>
13
14 * Makeconfig (run-via-rtld-prefix): New variable.
15 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16 (built-program-cmd): Likewise.
17
b4b4c296
AJ
182012-10-22 Andreas Jaeger <aj@suse.de>
19
20 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21 __O_RSYNC if it exists, otherwise to O_SYNC.
22
6fb54a22
JB
232012-10-22 Jim Blandy <jimb@codesourcery.com>
24 Joseph Myers <joseph@codesourcery.com>
25
26 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27 /dev/null.
28 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29 from /dev/null
30 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31 /dev/null.
32
481b90b9
AJ
332012-10-22 Andreas Jaeger <aj@suse.de>
34
2a0e2669
AJ
35 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36 Define always.
37 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
38
76e38f9a
AJ
39 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40 bits/fcntl-linux.h.
41
7cd37b43
AJ
42 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44
481b90b9
AJ
45 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
46 to __O_LARGEFILE.
47 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
48 to __O_LARGEFILE.
49
aba75984
JB
502012-10-21 Jim Blandy <jimb@codesourcery.com>
51 Joseph Myers <joseph@codesourcery.com>
52
53 * config.make.in (NM): New variable.
54
88d4247f
AJ
552012-10-21 Andreas Jaeger <aj@suse.de>
56
57 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
58 definitions and declarations that are provided by
59 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60
f2eed205
L
612012-10-20 H.J. Lu <hongjiu.lu@intel.com>
62
63 [BZ #14683]
64 * elf/Makefile (tests-static): Add tst-leaks1-static.
65 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
66 ($(objpfx)tst-leaks1-static): New rule.
67 ($(objpfx)tst-leaks1-static-mem): Likewise.
68 (tst-leaks1-static-ENV): New macro.
69 * elf/dl-open.c (dl_open_worker): Check the main application
70 only if SHARED is defined.
71 * elf/tst-leaks1-static.c: New file.
72
335e6931
AJ
732012-10-20 Andreas Jaeger <aj@suse.de>
74
75 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
76 generic values for Linux.
77 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
78 and declarations that are provided by <bits/fcntl-linux.h> and
79 include <bits/fcntl-linux.h>.
80 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82
ac5c94d3
RM
832012-10-20 Roland McGrath <roland@hack.frob.com>
84
85 * io/fcntl.h: Move include of <bits/types.h> to the top and
86 include it unconditionally.
87
de54b33a
L
882012-10-20 H.J. Lu <hongjiu.lu@intel.com>
89
228cfb01
L
90 * wcsmbs/Makefile (tests-ifunc): New variable.
91 (tests): Add $(tests-ifunc).
92 * wcsmbs/test-wcschr-ifunc.c: New file.
93 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
94 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
95 * wcsmbs/test-wcslen-ifunc.c: Likewise.
96 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
97 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
98
69f07e5f
L
99 * string/Makefile (tests-ifunc): New variable.
100 (tests): Add $(tests-ifunc).
101 * string/test-memccpy.c (TEST_NAME): New macro.
102 * string/test-memchr.c (TEST_NAME): Likewise.
103 * string/test-memcmp.c (TEST_NAME): Likewise.
104 * string/test-memcpy.c (TEST_NAME): Likewise.
105 * string/test-memmem.c (TEST_NAME): Likewise.
106 * string/test-memmove.c (TEST_NAME): Likewise.
107 * string/test-memset.c (TEST_NAME): Likewise.
108 * string/test-rawmemchr.c (TEST_NAME): Likewise.
109 * string/test-stpcpy.c (TEST_NAME): Likewise.
110 * string/test-stpncpy.c (TEST_NAME): Likewise.
111 * string/test-strcasecmp.c (TEST_NAME): Likewise.
112 * string/test-strcasestr.c (TEST_NAME): Likewise.
113 * string/test-strcat.c (TEST_NAME): Likewise.
114 * string/test-strchr.c (TEST_NAME): Likewise.
115 * string/test-strcmp.c(TEST_NAME): Likewise.
116 * string/test-strcpy.c (TEST_NAME): Likewise.
117 * string/test-strcspn.c (TEST_NAME): Likewise.
118 * string/test-strlen.c (TEST_NAME): Likewise.
119 * string/test-strncasecmp.c (TEST_NAME): Likewise.
120 * string/test-strncmp.c (TEST_NAME): Likewise.
121 * string/test-strncpy.c (TEST_NAME): Likewise.
122 * string/test-strnlen.c (TEST_NAME): Likewise.
123 * string/test-strpbrk.c (TEST_NAME): Likewise.
124 * string/test-strrchr.c (TEST_NAME): Likewise.
125 * string/test-strspn.c (TEST_NAME): Likewise.
126 * string/test-strstr.c (TEST_NAME): Likewise.
127 * string/test-bcopy-ifunc.c: New file.
128 * string/test-bzero-ifunc.c: Likewise.
129 * string/test-memccpy-ifunc.c: Likewise.
130 * string/test-memchr-ifunc.c: Likewise.
131 * string/test-memcmp-ifunc.c: Likewise.
132 * string/test-memcpy-ifunc.c: Likewise.
133 * string/test-memmem-ifunc.c: Likewise.
134 * string/test-memmove-ifunc.c: Likewise.
135 * string/test-mempcpy-ifunc.c: Likewise.
136 * string/test-memset-ifunc.c: Likewise.
137 * string/test-rawmemchr-ifunc.c: Likewise.
138 * string/test-stpcpy-ifunc.c: Likewise.
139 * string/test-stpncpy-ifunc.c: Likewise.
140 * string/test-strcasecmp-ifunc.c: Likewise.
141 * string/test-strcasestr-ifunc.c: Likewise.
142 * string/test-strcat-ifunc.c: Likewise.
143 * string/test-strchr-ifunc.c: Likewise.
144 * string/test-strchrnul-ifunc.c: Likewise.
145 * string/test-strcmp-ifunc.c: Likewise.
146 * string/test-strcpy-ifunc.c: Likewise.
147 * string/test-strcspn-ifunc.c: Likewise.
148 * string/test-strlen-ifunc.c: Likewise.
149 * string/test-strncasecmp-ifunc.c: Likewise.
150 * string/test-strncat-ifunc.c: Likewise.
151 * string/test-strncmp-ifunc.c: Likewise.
152 * string/test-strncpy-ifunc.c: Likewise.
153 * string/test-strnlen-ifunc.c: Likewise.
154 * string/test-strpbrk-ifunc.c: Likewise.
155 * string/test-strrchr-ifunc.c: Likewise.
156 * string/test-strspn-ifunc.c: Likewise.
157 * string/test-strstr-ifunc.c: Likewise.
158
de54b33a
L
159 * debug/Makefile (tests-ifunc): New variable.
160 (tests): Add $(tests-ifunc).
161 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
162 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
163 * debug/test-stpcpy_chk-ifunc.c: New file.
164 * debug/test-strcpy_chk-ifunc.c: Likewise.
165
88481c16
SP
1662012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
167
168 [BZ #13601]
169 * elf/dl-load.c (open_verify): Retry read if the entire ELF
170 header is not read in.
171
135948bd
JM
1722012-10-19 Joseph Myers <joseph@codesourcery.com>
173
89f1c388
JM
174 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
175 script to $(SHELL) as $<. Pass $(common-objpfx) to script
176 directly. Pass built executable to script as
177 $(built-program-cmd).
178 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
179 $testprogram without using LD_LIBRARY_PATH and $ldso.
180
e40a0d21
JM
181 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
182 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
183 $(rtld-installed-name).
184 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
185 (rtld_installed_name): Likewise.
186 (library_path): Likewise.
187 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
188 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
189 $(run-program-prefix) to tst-tables.sh.
190 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
191 it to run tst-table-from and tst-table-to.
192 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
193 Pass it to tst-table.sh.
194 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
195 $(run-program-prefix) to tst-gettext.sh.
196 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
197 tst-translit.sh.
198 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
199 tst-gettext2.sh.
200 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
201 to run tst-gettext.
202 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
203 to run tst-gettext2.
204 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
205 to run tst-translit.
206 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
207 $(run-program-prefix) to tst-mtrace.sh.
208 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
209 to run tst-mtrace.
210 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
211 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
212 $(rtld-installed-name).
213 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
214 (rtld_installed_name): Likewise.
215 (run_program_prefix): New variable. Use it to run wordexp-test.
216
728e272a
JM
217 * Makeconfig (ARCH): Remove all definitions.
218 (machine): Likewise.
219 [ARCH]: Remove conditional code.
220 [!objdir]: Give error.
221 [!objdir] (objpfx): Remove.
222 [!objdir] (common-objpfx): Likewise.
223 [!objdir] (common-objdir): Likewise.
224 * configure.in (config_makefile): Remove. Hardcode Makefile in
225 AC_CONFIG_FILES call.
226 * configure: Regenerated.
227
d528cdcf
JM
228 [BZ #13888]
229 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
230 or TMPDIR.
231 (testout): Likewise.
232
135948bd
JM
233 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
234 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
235 $(rtld-installed-name).
236 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
237 (rtld_installed_name): Likwise.
238 (runit): Remove function.
239 (run_getconf): New variable, Use it for running getconf binary.
240
38c78296
L
2412012-10-18 H.J. Lu <hongjiu.lu@intel.com>
242
243 [BZ #14716]
244 * string/test-memmem.c (check_result): New function.
245 (do_one_test): Use it.
246 (check1): New function.
247 (test_main): Use it.
248
d077f65f
MT
2492012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
250
251 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
252
ced52c71
JM
2532012-10-18 Joseph Myers <joseph@codesourcery.com>
254
255 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
256 (_G_LSEEK64): Likewise.
257 (_G_MMAP64): Likewise.
258 (_G_FSTAT64): Likewise.
259 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
260 (_G_LSEEK64): Likewise.
261 (_G_MMAP64): Likewise.
262 (_G_FSTAT64): Likewise.
263 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
264 unconditional. Call __mmap64 directly.
265 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
266 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
267 __lseek64 directly.
268 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
269 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
270 __mmap64 directly.
271 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
272 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
273 __lseek64 directly.
274 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
275 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
276 __lseek64 directly.
277 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
278 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
279 __lseek64 directly.
280 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
281 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
282 __fxstat64 directly.
283 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
284 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
285 unconditional.
286 (freopen64) [!_G_OPEN64]: Remove conditional code.
287 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
288 unconditional.
289 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
290 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
291 unconditional.
292 (ftello64) [!_G_LSEEK64]: Remove conditional code.
293 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
294 unconditional.
295 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
296 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
297 unconditional.
298 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
299 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
300 unconditional.
301 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
302 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
303 unconditional.
304 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
305 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
306 unconditional.
307 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
308
b741de23
SP
3092012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
310
311 [BZ #12140]
312 * manual/memory.texi (Malloc Tunable Parameters): Add note
313 about free list pointers overwriting some perturb bytes.
314 Wording suggested by Roland McGrath.
315
f9b9d9c9
JM
3162012-10-17 Joseph Myers <joseph@codesourcery.com>
317
318 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
319 (lgamma_test): Likewise.
320 (tgamma_test): Likewise.
321
172a631a
FW
3222012-10-16 Florian Weimer <fweimer@redhat.com>
323
324 [BZ #14700]
325 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
326 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
327
e9f37252
MK
3282012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
329
330 * NEWS: Mention BZ #14716.
331 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
332 when removing AVAILABLE1_USES_J macro.
333
d394eb74
L
3342012-10-12 H.J. Lu <hongjiu.lu@intel.com>
335
336 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
337 (__bswap_64): __uint64_t for unsigned 64-bit int.
338
ca38dc17
AS
3392012-10-12 Andreas Schwab <schwab@linux-m68k.org>
340
341 * include/string.h (memmem): Declare libc hidden alias.
342 * string/memmem.c (memmem): Define libc hidden alias.
343 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
344 __read, __close instead of open, read, close.
345
9a387d1f
L
3462012-10-11 H.J. Lu <hongjiu.lu@intel.com>
347
ac49ecaf
L
348 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
349 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
350 global and hidden.
351 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
352 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
353 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
354 Likewise.
355 (__rawmemchr_sse2): Likewise.
356 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
357 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
358 (__strchr_sse2): Likewise.
359 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
360 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
361 (__strcasecmp_sse2): Likewise.
362 (__strncasecmp_sse2): Likewise.
363 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
364 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
365 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
366 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
367 (__strrchr_sse2): Likewise.
368 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
369 ifunc-impl-list.c.
370 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
371 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
372 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
373 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
374 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
375 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
376 * sysdeps/x86_64/multiarch/memset.S: Likewise.
377 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
378 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
379 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
380 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
381 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
382 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
383 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
384 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
385 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
386 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
387 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
388 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
389 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
390 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
391 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
392 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
393 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
394 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
395 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
396 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
397 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
398 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
399 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
400
b090e8ea
L
401 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
402 global and hidden.
403 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
404 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
405 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
406 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
407 Likewise.
408 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
409 Likewise.
410 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
411 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
412 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
413 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
414 ifunc-impl-list.c.
415 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
416 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
417 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
418 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
419 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
420 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
421 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
422 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
423 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
424 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
425 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
426 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
427 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
428 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
429 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
430 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
431 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
432 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
433 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
434 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
435 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
436 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
437 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
438 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
439 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
440 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
441 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
442 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
443 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
444 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
445 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
446 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
447 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
448 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
449 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
450 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
451 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
452 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
453 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
454 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
455 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
456
11dd4af6
L
457 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
458 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
459 * include/ifunc-impl-list.h: New file.
460 * misc/ifunc-impl-list.c: Likewise.
461 * misc/Makefile (routines): Add ifunc-impl-list.
462 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
463 * string/test-string.h: Include <ifunc-impl-list.h>.
464 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
465 impl_array): New variables.
466 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
467 are defined.
468 (test_init): Call __libc_ifunc_impl_list to initialize
469 func_list if TEST_IFUNC and TEST_NAME are defined.
470
9a387d1f
L
471 * string/Makefile (strop-tests): Add bcopy and bzero.
472 * string/test-bcopy.c: New file.
473 * string/test-bzero.c: Likewise.
474 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
475 defined.
476 * string/test-memset.c: Support bzero test if TEST_BZERO is
477 defined.
478 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
479 __libc_memmove.
480 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
481 __libc_memset.
482 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
483 of memset.
484
472371b9
JM
4852012-10-10 Joseph Myers <joseph@codesourcery.com>
486
1e4a9536
JM
487 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
488 * configure: Regenerated.
489
d173d12e
JM
490 * Makeconfig (+link-static-before-libc): Don't include
491 $(link-static-libc).
492
472371b9
JM
493 * libio/libio.h (_IO_pos_t): Remove.
494
89a3ad0b
AO
4952012-10-10 Alexandre Oliva <aoliva@redhat.com>
496
497 * NEWS: Add note about FIPS mode. Wording suggested by Roland
498 McGrath.
499
e7451425
AO
5002012-10-10 Alexandre Oliva <aoliva@redhat.com>
501
502 * crypt/crypt-entry.c: Include fips-private.h.
503 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
504 * crypt/md5c-test.c (main): Tolerate disabled MD5.
505 * sysdeps/unix/sysv/linux/fips-private.h: New file.
506 * sysdeps/generic/fips-private.h: New file, dummy fallback.
507
4ba74a35
AO
5082012-10-10 Alexandre Oliva <aoliva@redhat.com>
509
510 * crypt/crypt-private.h: Include stdbool.h.
511 (_ufc_setup_salt_r): Return bool.
512 * crypt/crypt-entry.c: Include errno.h.
513 (__crypt_r): Return NULL with EINVAL for bad salt.
514 * crypt/crypt_util.c (bad_for_salt): New.
515 (_ufc_setup_salt_r): Check that salt is long enough and within
516 the specified alphabet.
517 * crypt/badsalttest.c: New file.
518 * crypt/Makefile (tests): Add it.
519 ($(objpfx)badsalttest): New.
520
f96f1242
MK
5212012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
522
523 * NEWS: Add entry for BZ #14602.
524
0e8e0c1c
JM
5252012-10-09 Joseph Myers <joseph@codesourcery.com>
526
527 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
528 type-generic.
529 * math/libm-test.inc: Update comment listing what functions and
530 macros are tested.
531 (isgreater_test): New function.
532 (isgreaterequal_test): Likewise.
533 (isless_test): Likewise.
534 (islessequal_test): Likewise.
535 (islessgreater_test): Likewise.
536 (isunordered_test): Likewise.
537 (main): Call the new functions.
538
273edc5e
RM
5392012-10-09 Roland McGrath <roland@hack.frob.com>
540
b8493de0
RM
541 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
542 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
543 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
544 * sysdeps/i386/configure: Regenerated.
545 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
546 * sysdeps/mach/configure: Regenerated.
547 * sysdeps/mach/hurd/configure: Regenerated.
548 * sysdeps/powerpc/configure: Regenerated.
549 * sysdeps/powerpc/powerpc32/configure: Regenerated.
550 * sysdeps/powerpc/powerpc64/configure: Regenerated.
551 * sysdeps/s390/s390-32/configure: Regenerated.
552 * sysdeps/s390/s390-64/configure: Regenerated.
553 * sysdeps/sh/configure: Regenerated.
554 * sysdeps/sparc/configure: Regenerated.
555 * sysdeps/unix/sysv/linux/configure: Regenerated.
556 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
557 * sysdeps/x86_64/configure: Regenerated.
558
273edc5e
RM
559 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
560 defined. Don't check if MAP is NULL.
561
c8450f70
JM
5622012-10-09 Joseph Myers <joseph@codesourcery.com>
563
564 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
565 (_G_stat64): Likewise.
566 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
567 (_G_stat64): Likewise.
568 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
569 instead of struct _G_stat64.
570 * libio/fileops.c (mmap_remap_check): Likewise.
571 (decide_maybe_mmap): Likewise.
572 (_IO_new_file_seekoff): Likewise.
573 (_IO_file_stat): Likewise.
574 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
575 _G_off64_t.
576 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
577 instead of struct _G_stat64.
578 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
579
57e605ba
MK
5802012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
581
582 [BZ #14602]
583 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
584 Replace with ...
585 (CHECK_EOL): New macro.
586 (two_way_short_needle): Check beginning of haystack for EOL. Use
587 CHECK_EOL.
588 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
589 Replace with CHECK_EOL.
590 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
591 Replace with CHECK_EOL.
592
ef1bb361
JM
5932012-10-08 Joseph Myers <joseph@codesourcery.com>
594
595 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
596 type-generic.
597 * math/libm-test.inc: Update comment listing what functions and
598 macros are tested.
599 (finite_test): New function.
600 (isinf_test): Likewise.
601 (isnan_test): Likewise.
602 (fpclassify_test): Test subnormal input.
603 (isfinite_test): Likewise.
604 (isnormal_test): Likewise.
605 (main): Call the new functions.
606
55f11534
JN
6072012-10-08 Jonathan Nieder <jrnieder@gmail.com>
608
609 [BZ #14660]
610 * Makerules (%.dynsym): Force C locale when running
611 $(OBJDUMP) --dynamic-syms.
612
1ab29350
AS
6132012-10-08 Andreas Schwab <schwab@linux-m68k.org>
614
615 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
616 <stdint.h>.
617
f1ecb7ef
DM
6182012-10-06 David S. Miller <davem@davemloft.net>
619
620 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
621 upper 32-bits of the length value in %o2 since we use branch-on-register
622 tests which consider the entire 64-bit register.
623
5d41d91a
L
6242012-10-06 H.J. Lu <hongjiu.lu@intel.com>
625
626 * string/test-strstr.c (check2): Add a test for page boundary.
627
3baddb72
DM
6282012-10-05 David S. Miller <davem@davemloft.net>
629
630 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
631 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
632 file.
633 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
634 sysdep_routines.
635 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
636 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
637 and bzero when HWCAP_SPARC_CRYPTO is present.
638
9cee5585
L
6392012-10-05 H.J. Lu <hongjiu.lu@intel.com>
640
d7e0dab9
L
641 [BZ #14602]
642 * string/test-strstr.c (check2): New function.
643 (test_main): Call check2.
644
03759f47
L
645 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
646 and bug-strchr1.
647 * string/bug-strcasestr1.c (do_test): Moved to ...
648 * string/test-strcasestr.c (check1): Here. New function.
649 (do_one_test): Break out result checking code into ...
650 (check_result): This. New function.
651 (do_one_test): Call check_result.
652 (test_main): Call check1.
653 * string/bug-strchr1.c (do_test): Moved to ...
654 * string/test-strchr.c (check1): Here. New function.
655 (do_one_test): Break out result checking code into ...
656 (check_result): This. New function.
657 (do_one_test): Call check_result.
658 (test_main): Call check1.
659 * string/bug-strstr1.c (main): Moved to ...
660 * string/test-strchr.c (check1): Here. New function.
661 (do_one_test): Break out result checking code into ...
662 (check_result): This. New function.
663 (do_one_test): Call check_result.
664 (test_main): Call check1.
665 * string/bug-strcasestr1.c: Removed.
666 * string/bug-strchr1.c: Likewise.
667 * string/bug-strstr1.c: Likewise.
668
53cea63e
L
669 * elf/Makefile (dl-routines): Add hwcaps.
670 * elf/dl-support.c (_dl_important_hwcaps): Removed.
671 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
672 (_dl_important_hwcaps): Moved to ...
673 * elf/dl-hwcaps.c: Here. New file.
674 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
675
9cee5585 676 [BZ #14557]
bb859b06
L
677 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
678 if IS_IN_rtld isn't defined.
679
9cee5585
L
680 * elf/dl-support.c (_dl_sysinfo_map): New.
681 Include "get-dynamic-info.h" and "setup-vdso.h".
682 (_dl_non_dynamic_init): Call setup_vdso.
683 * elf/dynamic-link.h: Don't include <assert.h>.
684 (elf_get_dynamic_info): Moved to ...
685 * elf/get-dynamic-info.h: Here. New file.
686 * elf/dynamic-link.h: Include "get-dynamic-info.h".
687 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
688 * elf/setup-vdso.h: Here. New file.
689 * elf/rtld.c: Include "setup-vdso.h".
690 (dl_main): Call setup_vdso.
691
23c31b76
JM
6922012-10-05 Joseph Myers <joseph@codesourcery.com>
693
28234b07
JM
694 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
695 creal in comment listing functions tested. List finite, isinf,
696 isnan, isless, islessequal, isgreater, isgreaterequal,
697 islessgreater, isunordered, lgamma_r and pow10 as functions and
698 macros not tested. Mention which functions not tested are aliases
699 for other functions. Fix typo. Note that signs of NaNs are not
700 tested.
701
23c31b76
JM
702 * scripts/config.guess: Update from config.git.
703 * scripts/config.sub: Likewise.
704
9043e228
RM
7052012-10-04 Roland McGrath <roland@hack.frob.com>
706
707 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
708 * misc/madvise.c (madvise): Renamed to __madvise.
709 Make madvise a weak alias.
710 * include/sys/mman.h: Declare __madvise.
711 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
712 * sysdeps/unix/syscalls.list
713 (madvise): Make __madvise the strong name, and madvise a weak alias.
714 * sysdeps/unix/sysv/linux/syscalls.list
715 (madvise, mmap): Remove redundant entries.
716 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
717 * malloc/malloc.c (mtrim): Likewise.
718 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
719
f57f8055
RM
7202012-10-03 Roland McGrath <roland@hack.frob.com>
721
722 * sysdeps/mach/hurd/dl-cache.c: File removed.
723 * config.h.in (USE_LDCONFIG): New #undef.
724 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
725 * configure: Regenerated.
726 * elf/Makefile (dl-routines): Add dl-cache only under
727 [$(use-ldconfig) = yes].
728 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
729 cache on [USE_LDCONFIG].
730 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
731 [USE_LDCONFIG].
732 * elf/rtld.c (dl_main): Likewise.
733
5bb0c10a
PT
7342012-10-03 Pino Toscano <toscano.pino@tiscali.it>
735
736 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
737 _SC_LEVEL4_CACHE_LINESIZE.
738
010188c6
RM
7392012-10-03 Roland McGrath <roland@hack.frob.com>
740
741 * sysdeps/unix/bsd/confstr.h: File removed.
742
b6c5ec07
AO
7432012-10-02 Alexandre Oliva <aoliva@redhat.com>
744
745 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
746 sys/sdt-config.h.
747
408223d4
RM
7482012-10-02 Roland McGrath <roland@hack.frob.com>
749
750 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
751 Make 'mapoff' field ElfW(Off) rather than off_t.
752
bb9510dc
DL
7532012-10-02 Dmitry V. Levin <ldv@altlinux.org>
754
fc997c6e
DL
755 * nscd/Makefile: Remove nscd-cflags and all its users.
756 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
757 (CFLAGS-nonlib): Add compiler flags for nscd modules.
758
bb9510dc
DL
759 [BZ #10631]
760 * malloc.c (malloc_printerr): Clarify error message.
761
05699367
L
7622012-10-02 H.J. Lu <hongjiu.lu@intel.com>
763
764 [BZ #14648]
765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
766 Set bit_FMA_Usable if FMA is supported.
767 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
768 macro.
769 (bit_FMA4_Usable): Updated.
770 (index_FMA_Usable): New macro.
771 (CPUID_FMA): Likewise
772 (HAS_FMA): Defined with bit_FMA_Usable.
773
51367701
RM
7742012-10-01 Roland McGrath <roland@hack.frob.com>
775
776 * bits/types.h (__swblk_t): Type removed.
777 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
778 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
779 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
780 (__SWBLK_T_TYPE): Likewise.
781 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
782 (__SWBLK_T_TYPE): Likewise.
783 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
784 (__SWBLK_T_TYPE): Likewise.
785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
786 (__SWBLK_T_TYPE): Likewise.
787
4d57bf63
JL
7882012-10-01 Patsy Franklin <pfrankli@redhat.com>
789 Honza Horak <hhorak@redhat.com>
790
791 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
792 (xdr_mapname): Use YPMAXMAP as maxsize.
793 (xdr_peername): Use YPMAXPEER as maxsize.
794 (xdr_keydat): Use YPAXRECORD as maxsize.
795 (xdr_valdat): Use YPMAXRECORD as maxsize.
796
93c65d43
RM
7972012-10-01 Roland McGrath <roland@hack.frob.com>
798
497a03d6
RM
799 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
800
93c65d43
RM
801 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
802 * csu/init-first.c: ... here.
803 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
804 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
805 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
806 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
807 * sysdeps/i386/init-first.c: File removed.
808 * sysdeps/sh/init-first.c: File removed.
809
bec749fd
JM
8102012-10-01 Joseph Myers <joseph@codesourcery.com>
811
812 [BZ #14645]
813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
814 if x * y might underflow to zero and z is zero.
815 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
816 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
817 * math/libm-test.inc (min_subnorm_value): New variable.
818 (fma_test): Add more tests.
819 (fma_test_towardzero): Likewise.
820 (fma_test_downward): Likewise
821 (fma_test_upward): Likewise.
822 (initialize): Set min_subnorm_value.
823
8ec5b013
JM
8242012-09-29 Joseph Myers <joseph@codesourcery.com>
825
826 [BZ #14638]
827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
828 0 + 0.
829 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
830 mode for addition resulting in exact zero.
831 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
832 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
833 exact 0 + 0.
834 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
835 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
836 * math/libm-test.inc (fma_test): Add more tests.
837 (fma_test_towardzero): New function.
838 (fma_test_downward): Likewise.
839 (fma_test_upward): Likewise.
840 (main): Call the new functions.
841
b1fa802e
DM
8422012-09-28 David S. Miller <davem@davemloft.net>
843
844 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
845
d3b9fd9e
RM
8462012-09-28 Roland McGrath <roland@hack.frob.com>
847
ea4d37b3
RM
848 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
849 instead of SIGALRM.
850
ac51c949
RM
851 * sysdeps/gnu/_G_config.h: Moved to ...
852 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
853 * sysdeps/mach/hurd/_G_config.h: Moved to ...
854 * sysdeps/generic/_G_config.h: ... here.
855
28c195f7
RM
856 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
857
848917f9
RM
858 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
859
6bacf05b
RM
860 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
861 Conditionalize target on [libnss_test1.so-version].
862
91363dbb
RM
863 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
864
cc87f7d8
RM
865 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
866 (elfobjdir): Move out of conditionals.
867
b1c608fe
RM
868 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
869 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
870 (__nss_lookup_function): Conditionalize label remove_from_tree on
871 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 872
1d9a6d96
DM
8732012-09-28 David S. Miller <davem@davemloft.net>
874
875 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
876 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
877 file.
878 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
879 sysdep_routines.
880 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
881 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
882 when HWCAP_SPARC_CRYPTO is present.
883
72581615
PT
8842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
885
886 * io/tst-mknodat.c: Create a FIFO instead of a socket.
887
715a900c
JL
8882012-09-28 Andreas Schwab <schwab@linux-m68k.org>
889
890 [BZ #6530]
891 * stdio-common/vfprintf.c (process_string_arg): Revert
892 2000-07-22 change.
893
8942011-09-28 Jonathan Nieder <jrnieder@gmail.com>
895
896 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
897 for testcase.
898 * stdio-common/tst-sprintf.c: Include <locale.h>
899 (main): Test sprintf's handling of incomplete multibyte
900 characters.
901
9bac1d86
L
9022012-09-28 H.J. Lu <hongjiu.lu@intel.com>
903
904 * elf/dl-runtime.c (VERSYMIDX): Removed.
905 * elf/dl-version.c (VERSYMIDX): Likewise.
906 * elf/do-rel.h (VERSYMIDX): Likewise.
907 (VALIDX): Likewise.
908 * elf/dynamic-link.h (VERSYMIDX): Likewise.
909 * elf/rtld.c (VALIDX): Likewise.
910 (ADDRIDX): Likewise.
9bac1d86
L
911 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
912 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
913 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
914 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
915 (VALIDX): Likewise.
916 (ADDRIDX): Likewise.
9bac1d86 917
b31606c0
PT
9182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
919
920 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
921
11541177
JL
9222012-09-28 Dmitry V. Levin <ldv@altlinux.org>
923
924 [BZ #11438]
925 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
926 to global scope.
927 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
928 addresses are in the same scope as 192.0.2/24.
929 * posix/gai.conf: Document new scope table defaults.
930
adb26fae
SP
9312012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
932
933 [BZ #5298]
934 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
935 for ftell. Compute offsets from write pointers instead.
936 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
937
4573c6b0
SP
9382012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
939
940 [BZ #14543]
941 * libio/Makefile (tests): New test case tst-fseek.
942 * libio/tst-fseek.c: New test case to verify that fseek/ftell
943 combination works in wide mode.
944 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
945 state when the external buffer state changes.
946
aa9bbfe6
DM
9472012-09-27 David S. Miller <davem@davemloft.net>
948
949 [BZ #14376]
950 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
951 pass reloc->r_addend in as the 'high' argument to
952 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
953
784421e7
DM
954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
955
c39bc8b8
PT
9562012-09-28 Pino Toscano <toscano.pino@tiscali.it>
957
958 * rt/tst-aio2.c: Include <pthread.h>.
959 * rt/tst-aio3.c: Likewise.
960
1ccc2399
SE
9612012-09-27 Steve Ellcey <sellcey@mips.com>
962
963 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
964
31ed4153
L
9652012-09-27 H.J. Lu <hongjiu.lu@intel.com>
966
25f5f885
L
967 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
968 contents on [SHARED].
31ed4153 969
b7bfe116
MP
9702012-09-26 Marek Polacek <polacek@redhat.com>
971
972 [BZ #14530]
973 [BZ #13741]
974 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
975 for C++ and GCC <4.3 as well as for non GCC compilers.
976
43c4edba
MT
9772012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
978
979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
980
6a1bf82f
RM
9812012-09-25 Roland McGrath <roland@hack.frob.com>
982
983 * Makefile.in (all, install): Declare with .PHONY.
984 Reported by Michael Hope <michael.hope@linaro.org>.
985
8ad11b9a
TMQMF
9862012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
987
988 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
989 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
990 system header.
991 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
992 Likewise.
993 (sydep_routines): Add the new and the internal functions.
994 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
995 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
997 (GLIBC_2.17): Add the new function.
998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
999 (GLIBC_2.17): Likewise.
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1001 (GLIBC_2.17): Likewise.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1003 (GLIBC_2.17): Likewise.
1004 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1005
7e2fca8d
AM
10062012-09-25 Alan Modra <amodra@gmail.com>
1007
1008 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1009 Add release barrier before setting once_control to say
1010 initialisation is done. Add hints on lwarx. Use macro in
1011 place of isync.
1012 (clear_once_control): Add release barrier.
1013
b87c4b24
JM
10142012-09-25 Joseph Myers <joseph@codesourcery.com>
1015
d032e0d2
JM
1016 [BZ #13629]
1017 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1018 specially.
1019 * math/s_clog10.c (__clog10): Likewise.
1020 * math/s_clog10f.c (__clog10f): Likewise.
1021 * math/s_clog10l.c (__clog10l): Likewise.
1022 * math/s_clogf.c (__clogf): Likewise.
1023 * math/s_clogl.c (__clogl): Likewise.
1024 * math/Makefile (libm-calls): Add x2y2m1.
1025 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1026 (__x2y2m1): Likewise.
1027 (__x2y2m1l): Likewise.
1028 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1029 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1030 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1031 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1032 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1033 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1034 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1035 * sysdeps/i386/fpu/libm-test-ulps: Update.
1036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1037
b87c4b24
JM
1038 [BZ #14621]
1039 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1040 int as type of variable DEPTH.
1041 (glob): Use size_t instead of int as type of variables NEWCOUNT
1042 and OLD_PATHC.
1043
6d3bf199
LD
10442012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1045
22bf5c17
LD
1046 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1047 Add s_sincosf-sse2.
1048 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1049 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1050 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1051 macros for using routine as __sincosf_ia32.
1052 Use macro for function declaration and weak_alias.
1053 * sysdeps/i386/fpu/libm-test-ulps: Update.
1054
1055 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1057
1058 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1059 subnormal argument.
1060 * math/s_cexpf.c (__cexpf): Likewise.
1061 * math/s_csinf.c (__csinf): Likewise.
1062 * math/s_csinhf.c (__csinhf): Likewise.
1063 * math/s_ctanf.c (__ctanf): Likewise.
1064 * math/s_ctanhf.c (__ctanhf): Likewise.
1065 * math/s_ccosh.c (__ccoshf): Likewise.
1066 * math/s_cexp.c (__cexpl): Likewise.
1067 * math/s_csin.c (__csin): Likewise.
1068 * math/s_csinh.c (__csinh): Likewise.
1069 * math/s_ctan.c (__ctan): Likewise.
1070 * math/s_ctanh.c (ctanh): Likewise.
1071 * math/s_ccoshl.c (__ccoshl): Likewise.
1072 * math/s_cexpl.c (__cexpl): Likewise.
1073 * math/s_csinl.c (__csinl): Likewise.
1074 * math/s_csinhl.c (__csinhl): Likewise.
1075 * math/s_ctanl.c (__ctanl): Likewise.
1076 * math/s_ctanhl.c (__ctanhl): Likewise.
1077
203e5603
JM
10782012-09-25 Joseph Myers <joseph@codesourcery.com>
1079
1080 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1081 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1082 (_IO_off_t): Define to __off_t, not _G_off_t.
1083 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1084 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1085 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1086 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1087 type of __dummy and __dummy2 fields.
1088 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1089 (_G_ssize_t): Likewise.
1090 (_G_off_t): Likewise.
1091 (_G_pid_t): Likewise.
1092 (_G_uid_t): Likewise.
1093 (_G_wchar_t): Likewise.
1094 (_G_wint_t): Likewise.
1095 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1096 (_G_ssize_t): Likewise.
1097 (_G_off_t): Likewise.
1098 (_G_pid_t): Likewise.
1099 (_G_uid_t): Likewise.
1100 (_G_wchar_t): Likewise.
1101 (_G_wint_t): Likewise.
1102 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1103 (_G_ssize_t): Likewise.
1104 (_G_off_t): Likewise.
1105 (_G_pid_t): Likewise.
1106 (_G_uid_t): Likewise.
1107 (_G_wchar_t): Likewise.
1108 (_G_wint_t): Likewise.
1109
9fab36eb
SP
11102012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1111
1112 * malloc/arena.c: Include malloc-sysdep.h.
1113 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1114 is sufficient to shrink the heap or an unmap is needed.
1115 * sysdeps/generic/malloc-sysdep.h: New file. Define
1116 new function check_may_shrink_heap.
1117 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1118 new function check_may_shrink_heap.
1119
2b4f00d1
SP
11202012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1121
1122 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1123 comments.
1124
9a9028b1
DL
11252012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1126
57c69bef
DL
1127 * catgets/test-gencat.sh: Add "set -e".
1128 * elf/tst-pathopt.sh: Likewise.
1129 * grp/tst_fgetgrent.sh: Likewise.
1130 * iconvdata/run-iconv-test.sh: Likewise.
1131 * intl/tst-gettext.sh: Likewise.
1132 * intl/tst-gettext2.sh: Likewise.
1133 * intl/tst-gettext4.sh: Likewise.
1134 * intl/tst-gettext6.sh: Likewise.
1135 * intl/tst-translit.sh: Likewise.
1136 * io/ftwtest-sh: Likewise.
1137 * libio/test-freopen.sh: Likewise.
1138 * malloc/tst-mtrace.sh: Likewise.
1139 * posix/globtest.sh: Likewise.
1140 * posix/tst-getconf.sh: Likewise.
1141 * posix/wordexp-tst.sh: Likewise.
1142 * stdio-common/tst-printf.sh: Likewise.
1143 * stdio-common/tst-unbputc.sh: Likewise.
1144 * stdlib/tst-fmtmsg.sh: Likewise.
1145 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1146 * catgets/Makefile: Do not specify -e option when running
1147 testsuite shell scripts.
1148 * elf/Makefile: Likewise.
1149 * grp/Makefile: Likewise.
1150 * iconvdata/Makefile: Likewise.
1151 * intl/Makefile: Likewise.
1152 * io/Makefile: Likewise.
1153 * libio/Makefile: Likewise.
1154 * malloc/Makefile: Likewise.
1155 * posix/Makefile: Likewise.
1156 * stdio-common/Makefile: Likewise.
1157 * stdlib/Makefile: Likewise.
1158 * sysdeps/x86_64/Makefile: Likewise.
1159
9a9028b1
DL
1160 * io/ftwtest-sh: Add copyright header.
1161 * posix/globtest.sh: Likewise.
1162 * posix/tst-getconf.sh: Likewise.
1163 * posix/wordexp-tst.sh: Likewise.
1164 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1165
ced6f16e
L
11662012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1167
94b32c39
L
1168 [BZ #13679]
1169 * Makeconfig (+link): Defined as $(+link-static) if
1170 $(build-shared) isn't yes.
1171 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1172 isn't yes.
1173 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1174
189e935b
L
1175 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1176
ced6f16e
L
1177 [BZ #14562]
1178 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1179 new chunk size with MALLOC_ALIGN_MASK.
1180
a9f8e53a
JM
11812012-09-24 Joseph Myers <joseph@codesourcery.com>
1182
1183 [BZ #5044]
1184 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1185 <rounding-mode.h>.
1186 (__printf_fphex): Determine rounding using get_rounding_mode and
1187 round_away.
1188 * stdio-common/tst-printf-round.c (struct hex_test): New
1189 structure.
1190 (hex_tests): New variable.
1191 (test_hex_in_one_mode): New function.
1192 (do_test): Also run tests for hex float output.
1193
43153109
JM
11942012-09-21 Joseph Myers <joseph@codesourcery.com>
1195
1196 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1197 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1198 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1199 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1200 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1201 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1202 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1203 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1204
8a26625d
JM
12052012-09-20 Joseph Myers <joseph@codesourcery.com>
1206
1207 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1208 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1209 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1210 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1211
f3fd569c
DL
12122012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1213
1214 [BZ #14579]
1215 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1216 mode only.
1217 * elf/tst-rtld-load-self.sh: New test.
1218 * elf/Makefile: Run it.
1219
63bbedd4
JM
12202012-09-18 Joseph Myers <joseph@codesourcery.com>
1221
1222 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1223 (tst-writev-ENV): Remove.
1224 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1225
626f8b6a
CM
12262012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1227
1228 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1229
b7aaa4d6
JM
12302012-09-17 Joseph Myers <joseph@codesourcery.com>
1231
1232 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1233 unconditional.
1234 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1235 Likewise.
1236 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1237 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1238 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1239 Likewise.
1240
65513990
L
12412012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1242
1243 [BZ #14587]
1244 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1245 * config.make.in (have-cpp-asm-debuginfo): Removed.
1246 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1247 * configure: Regenerated.
1248
784761be
JM
12492012-09-14 Joseph Myers <joseph@codesourcery.com>
1250
1251 [BZ #5044]
1252 * stdio-common/printf_fp.c: Include <stdbool.h> and
1253 <rounding-mode.h>.
1254 (___printf_fp): Determine rounding using get_rounding_mode and
1255 round_away.
1256 * stdio-common/tst-printf-round.c: New file.
1257 * stdio-common/Makefile (tests): Add tst-printf-round.
1258 (link-libm): New variable.
1259 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1260
9503345f
L
12612012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1262
1263 [BZ #14576]
1264 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1265 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1266 Likewise.
1267 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1268 Likewise.
1269
ad35fc00
JM
12702012-09-13 Joseph Myers <joseph@codesourcery.com>
1271
1272 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1273 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1274 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1275 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1276
6c9b0f68
JM
12772012-09-12 Joseph Myers <joseph@codesourcery.com>
1278
1279 [BZ #14518]
1280 * include/rounding-mode.h: New file.
1281 * sysdeps/generic/get-rounding-mode.h: Likewise.
1282 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1283 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1284 (MAX_VALUE): New macro.
1285 (MIN_VALUE): Likewise.
1286 (overflow_value): New function.
1287 (underflow_value): Likewise.
1288 (round_and_return): Use overflow_value and underflow_value to
1289 determine return values in overflow and underflow cases. Use
1290 round_away to determine rounding depending on rounding mode.
1291 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1292 determine return values in overflow and underflow cases.
1293 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1294 (struct test_results): New structure.
1295 (struct test): Use struct test_results to store expected results
1296 for all rounding modes.
1297 (TEST): Include expected results for all rounding modes.
1298 (test_in_one_mode): New function.
1299 (do_test): Use test_in_one_mode to compute and check results.
1300 Check results for all rounding modes.
1301 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1302 $(link-libm).
1303
19fcedd5
AM
13042012-12-09 Allan McRae <allan@archlinux.org>
1305
1306 * sysdeps/i386/fpu/libm-test-ulps: Update
1307
8bbfd2f1
JM
13082012-09-11 Joseph Myers <joseph@codesourcery.com>
1309
1310 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1311 (_G_int32_t): Likewise.
1312 (_G_uint16_t): Likewise.
1313 (_G_uint32_t): Likewise.
1314 (_G_HAVE_BOOL): Likewise.
1315 (_G_HAVE_ATEXIT): Likewise.
1316 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1317 (_G_HAVE_IO_FILE_OPEN): Likewise.
1318 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1319 (_G_int32_t): Likewise.
1320 (_G_uint16_t): Likewise.
1321 (_G_uint32_t): Likewise.
1322 (_G_HAVE_BOOL): Likewise.
1323 (_G_HAVE_ATEXIT): Likewise.
1324 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1325 (_G_HAVE_IO_FILE_OPEN): Likewise.
1326 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1327 (_G_int32_t): Likewise.
1328 (_G_uint16_t): Likewise.
1329 (_G_uint32_t): Likewise.
1330 (_G_HAVE_BOOL): Likewise.
1331 (_G_HAVE_ATEXIT): Likewise.
1332 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1333 (_G_HAVE_IO_FILE_OPEN): Likewise.
1334
b1dc5912
L
13352012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1336
1337 * csu/libc-tls.c: Update copyright years.
1338
0e886ef9
JM
13392012-09-10 Joseph Myers <joseph@codesourcery.com>
1340
28361c5e
JM
1341 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1342 [!_G_USING_THUNKS]: Remove conditional code.
1343 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1344 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1345
0e886ef9
JM
1346 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1347 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1348 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1349 (_G_VTABLE_LABEL_PREFIX): Likewise.
1350 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1351 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1352 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1353 (_G_VTABLE_LABEL_PREFIX): Likewise.
1354 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1355 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1356 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1357 (_G_VTABLE_LABEL_PREFIX): Likewise.
1358 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1359
bcba7aa2
L
13602012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1361
1362 * libio/Makefile: Include ../Makeconfig before tests.
1363 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1364 only if $(build-shared) is yes.
1365
06585ee8
L
1366 * iconv/gconv_db.c: Update copyright years.
1367
80ccd52c
LD
13682012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1369
1370 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1371 unwind info if defined PIC. Fix special cases description.
1372 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1373
1374 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1375 DP_HI_MASK entry.
1376 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1377
691bc9c1
L
13782012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1379
3d9b46b3
L
1380 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1381
de2139a9
L
1382 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1383 is NULL.
1384
5ca78dd0
L
1385 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1386 (LDLIBS-tst-chk4): This.
1387 (LDFLAGS-tst-chk5): Renamed to ...
1388 (LDLIBS-tst-chk5): This.
1389 (LDFLAGS-tst-chk6): Renamed to ...
1390 (LDLIBS-tst-chk6): This.
1391 (LDFLAGS-tst-lfschk4): Renamed to ...
1392 (LDLIBS-tst-lfschk4): This.
1393 (LDFLAGS-tst-lfschk5): Renamed to ...
1394 (LDLIBS-tst-lfschk5): This.
1395 (LDFLAGS-tst-lfschk6): Renamed to ...
1396 (LDLIBS-tst-lfschk6): This.
1397
691bc9c1
L
1398 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1399 on $(common-objpfx)soversions.mk.
1400
65cafb1c
JM
14012012-09-07 Joseph Myers <joseph@codesourcery.com>
1402
1403 [BZ #10014]
1404 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1405 example host name.
1406
c78ab094
SP
14072012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1408
1409 * malloc/arena.c (arena_get_retry): New function that gets
1410 another arena for the caller to try its request on.
1411 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1412 current arena cannot fulfill the request.
1413 (__libc_memalign): Likewise.
1414 (__libc_memalign): Likewise.
1415 (__libc_pvalloc): Likewise.
1416 (__libc_calloc): Likewise.
1417
01f49f59
JT
14182012-09-05 John Tobey <john.tobey@gmail.com>
1419
1420 [BZ #13542]
1421 * manual/arith.texi (Operations on Complex): Fix description
1422 of carg branch cut.
1423
4c23fed5
JM
14242012-09-06 Joseph Myers <joseph@codesourcery.com>
1425
1d3c8572
JM
1426 [BZ #10014]
1427 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1428 host name.
1429
4c23fed5
JM
1430 [BZ #10038]
1431 * manual/memory.texi (Memory): Make order of menu items match
1432 order of sections.
1433
04570aaa
L
14342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1435
1436 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1437 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1438 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1439
b80af2f4
L
14402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1441
1442 * csu/libc-tls.c (static_dtv): Renamed to ...
1443 (_dl_static_dtv): This. Make it global.
1444 (_dl_initial_dtv): Removed.
1445 (__libc_setup_tls): Updated.
1446 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1447 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1448 DL_INITIAL_DTV.
1449
2abe9f15
PM
14502012-09-06 Petr Machata <pmachata@redhat.com>
1451
1452 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1453 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1454 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1455 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1456
0948c3af
L
14572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1458
1459 [BZ #14545]
1460 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1461 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1462 freeing dtv[-1].
1463
a5055ad1
L
14642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1465
1466 [BZ #14544]
1467 * Makeconfig (link-static-before-libc): Replace $(+prector)
1468 with $(+prectorT).
1469 (link-static-after-libc): Replace $(+postctor) with
1470 $(+postctorT).
1471 (link-bounded): Replace $(+prector)/$(+postctor) with
1472 $(+prectorT)/$(+postctorT).
1473 (+prectorT): New macro.
1474 (+postctorT): Likewise.
1475
ed8c2ecd
JM
14762012-09-06 Joseph Myers <joseph@codesourcery.com>
1477
1478 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1479 (round_str): Handle values above the maximum for IBM long double
1480 as inexact.
1481 * stdlib/tst-strtod-round.c (tests): Regenerated.
1482
14c996c8
AK
14832012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1484
1485 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1486 assembler flag.
1487 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1488 zarch_nohighgprs around the zarch optimized routines.
1489 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1490 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1491 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1492 for zarch.
1493
430d6ce6
DM
14942012-09-05 David S. Miller <davem@davemloft.net>
1495
1496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1497
ff04dda4
DM
1498 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1499 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1500 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1501 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1502 entries.
1503
24d4e01b
AO
15042012-09-05 Alexandre Oliva <aoliva@redhat.com>
1505
1506 * malloc/arena.c: Fold copyright years.
1507 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1508
61d58174
AO
15092012-09-05 Alexandre Oliva <aoliva@redhat.com>
1510
1511 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1512
20196a5e
AO
15132012-09-05 Alexandre Oliva <aoliva@redhat.com>
1514
1515 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1516
5c447383
AO
15172012-09-05 Alexandre Oliva <aoliva@redhat.com>
1518
1519 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1520 change internal state upon failure.
1521
fad64255
AO
15222012-09-05 Alexandre Oliva <aoliva@redhat.com>
1523
1524 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1525 * malloc/memusage.c (mmap): Likewise.
1526 (mmap64, mremap): Likewise. Adjust name in comment.
1527
1ffb8c90
SP
15282012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1529
1530 * libio/fileops.c: Fix typos in comments.
1531 * libio/oldfileops.c: Likewise.
1532 * libio/wfileops.c: Likewise.
1533
6ef9cc37
SP
15342012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1535
1536 [BZ #1349]
1537 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1538 (tst-malloc-usable-ENV): Set environment for test case.
1539 * malloc/hooks.c (malloc_check_get_size): New function to get
1540 requested size.
1541 * malloc/malloc.c (musable): Use malloc_check_get_size.
1542 * malloc/tst-malloc-usable.c: New test case.
1543
4d038ae3
AS
15442012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1545
1546 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1547
c4e85184
AM
15482012-09-05 Allan McRae <allan@archlinux.org>
1549
b9dafc56 1550 [BZ #13966]
c4e85184
AM
1551 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1552 determine header location.
1553 * configure: Regenerated.
1554
e1343020
AS
15552012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1556
1557 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1558 float format.
1559 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1560 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1561 format.
e1343020
AS
1562 (test): Regenerate.
1563
0a9f1987
DM
15642012-09-04 David S. Miller <davem@davemloft.net>
1565
1566 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1567 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1568 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1569
29237804
FW
15702012-09-04 Florian Weimer <fweimer@redhat.com>
1571
1572 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1573 failures.
1574
edb3cb88
FW
1575 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1576
60160d83
JM
15772012-09-04 Joseph Myers <joseph@codesourcery.com>
1578
1579 [BZ #9914]
1580 * libio/iogetdelim.c: Include <limits.h>.
1581 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1582 + len + 1 would overflow.
1583
bcd6c8dc
AJ
15842012-09-03 Andreas Jaeger <aj@suse.de>
1585
1586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1587 * sysdeps/i386/fpu/libm-test-ulps: Update.
1588
4ffffbd2
LD
15892012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1590
1591 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1592 Add s_sinf-sse2, s_conf-sse2.
1593
1594 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1595 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1596 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1597 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1598
1599 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1600 for using routine as __sinf_ia32.
1601 Use macro for function declaration and weak_alias.
1602 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1603 for using routine as __cosf_ia32.
1604 Use macro for function declaration and weak_alias.
1605
1606 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1607 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1608
1609 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1610 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1612
1613 * math/libm-test.inc (cos_test): Add more test cases.
1614 (sin_test): Likewise.
1615 (sincos_test): Likewise.
1616
511fa286
AK
16172012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1618
1619 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1620 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1621 hidden.
1622 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1623
5f30cfec
L
16242012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1625
1626 [BZ #14538]
1627 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1628 first element of the GOT.
1629 (elf_machine_load_address): Return the difference between
1630 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1631
0786794f
AM
16322012-09-01 Allan McRae <allan@archlinux.org>
1633
5f30cfec
L
1634 [BZ #13412]
1635 * configure.in (AWK): Require gawk version 3.0 or later.
1636 * configure: Regenerated.
0786794f 1637
26889eac
JM
16382012-09-01 Joseph Myers <joseph@codesourcery.com>
1639
1640 * sysdeps/unix/sysv/linux/kernel-features.h
1641 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1642 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1643 [__NR_clock_getres]: Make code unconditional.
1644 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1645 (clock_getcpuclockid): Remove code left unreachable by removal of
1646 conditionals.
1647 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1648 code unconditional.
1649 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1650 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1651 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1652 Make code unconditional.
1653 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1654 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1655 * sysdeps/unix/sysv/linux/clock_settime.c
1656 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1657 conditional code.
1658 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1659 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1660
d22e28b0
L
16612012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1662
1663 [BZ #14476]
1664 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1665 scripts/test-installation.pl.
1666
1667 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1668 and $ld_so_version if it is set.
1669
050af9c4
SP
16702012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1671
1672 [BZ #14516]
1673 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1674 failure if reading from procfs failed.
1675 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1676
ad845c0b
JM
16772012-08-27 Joseph Myers <joseph@codesourcery.com>
1678
1679 * sysdeps/unix/sysv/linux/kernel-features.h
1680 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1681 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1682 Remove conditional code.
1683 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1684 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1685 Remove conditional code.
1686 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1687 * sysdeps/unix/sysv/linux/i386/fxstat.c
1688 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1689 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1690 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1691 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1692 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1693 * sysdeps/unix/sysv/linux/i386/lxstat.c
1694 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1695 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1696 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1697 Remove conditional code.
1698 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1699 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1700 Remove conditional code.
1701 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1702 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1703 <kernel-features.h>.
1704 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1705 Remove.
1706 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1707 Remove conditional code.
1708 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1709 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1710 Remove conditional.
1711
5dbf56af
MF
17122012-08-27 Mike Frysinger <vapier@gentoo.org>
1713
1714 [BZ #5400]
1715 * NEWS: Add fixed bug number.
1716
d6e70f43
JM
17172012-08-27 Joseph Myers <joseph@codesourcery.com>
1718
7efb4737
JM
1719 [BZ #14519]
1720 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1721 underflowing exponent in case of negative sign.
1722 * stdlib/tst-strtod-round-data: Add more tests.
1723 * stdlib/tst-strtod-round.c (tests): Regenerated.
1724
af92131a
JM
1725 [BZ #3479]
1726 * stdlib/strtod_l.c (NDIG): Remove.
1727 (HEXNDIG): Likewise.
1728 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1729 smallest representable value.
1730 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1731 lie within an exact representation of 1/2 ulp of the result.
1732 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1733 unconditionally.
1734 (TENS_P9_IDX): Define unconditionally.
1735 (TENS_P9_SIZE): Likewise.
1736 (TENS_P10_IDX): Likewise.
1737 (TENS_P10_SIZE): Likewise.
1738 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1739 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1740 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1741 entries for 10^2^13 and 10^2^14.
1742 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1743 (TENS_P13_IDX): Define.
1744 (TENS_P13_SIZE): Likewise.
1745 (TENS_P14_IDX): Likewise.
1746 (TENS_P14_SIZE): Likewise.
1747 (_fpioconst_pow10): Change array size to
1748 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1749 unconditional.
1750 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1751 1024]: Add entries for 10^2^13 and 10^2^14.
1752 [LAST_POW10 > _LAST_POW10]: Remove #error.
1753 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1754 (_fpioconst_pow10): Change array size to
1755 FPIOCONST_POW10_ARRAY_SIZE.
1756 * stdlib/gen-fpioconst.c: New file.
1757 * stdlib/gen-tst-strtod-round.c: Likewise.
1758 * stdlib/tst-strtod-round-data: Likewise.
1759 * stdlib/tst-strtod-round.c: Likewise.
1760 * stdlib/Makefile (tests): Add tst-strtod-round.
1761
d6e70f43
JM
1762 [BZ #14459]
1763 * stdlib/strtod_l.c: Include <stdint.h>.
1764 (NDEBUG): Do not define.
1765 (round_and_return): Change EXPONENT parameter to type intmax_t.
1766 Rearrange calculations to avoid internal overflow possibilities.
1767 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1768 Rearrange calculations to avoid internal overflow possibilities.
1769 Assert that number fits inside MPNSIZE limbs.
1770 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1771 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1772 calculations and add assertions to avoid internal overflow
1773 possibilities. Add casts to avoid signed/unsigned operations.
1774 * stdlib/tst-strtod-overflow.c: New file.
1775 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1776
1f529f7d
MP
17772012-08-25 Marek Polacek <polacek@redhat.com>
1778
1779 * time/time.h: Fix some typos in comments.
1780
59a629f1
RM
17812012-08-23 Roland McGrath <roland@hack.frob.com>
1782
1783 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1784 * posix/tst-rfc3484-2.c: Likewise.
1785 * posix/tst-rfc3484-3.c: Likewise.
1786
d3bafbc9
SM
17872012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1788
1789 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1790 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1791
4efcc022
JM
17922012-08-23 Joseph Myers <joseph@codesourcery.com>
1793
1794 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1795 #include of fxstatat64.c.
1796
3cc3ef96
RM
17972012-08-22 Roland McGrath <roland@hack.frob.com>
1798
f04e2132
RM
1799 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1800 * shadow/getspent_r.c: Likewise.
1801 * shadow/getspnam.c: Likewise.
1802 * shadow/getspnam_r.c: Likewise.
1803 * gshadow/getsgent.c: Likewise.
1804 * gshadow/getsgent_r.c: Likewise.
1805 * gshadow/getsgnam.c: Likewise.
1806 * gshadow/getsgnam_r.c: Likewise.
1807 * inet/getnetbyad.c: Likewise.
1808 * inet/getnetbyad_r.c: Likewise.
1809 * inet/getnetbynm.c: Likewise.
1810 * inet/getnetbynm_r.c: Likewise.
1811 * inet/getnetent.c: Likewise.
1812 * inet/getnetent_r.c: Likewise.
1813 * inet/getproto.c: Likewise.
1814 * inet/getproto_r.c: Likewise.
1815 * inet/getprtent.c: Likewise.
1816 * inet/getprtent_r.c: Likewise.
1817 * inet/getprtname.c: Likewise.
1818 * inet/getprtname_r.c: Likewise.
1819 * inet/getrpcbyname.c: Likewise.
1820 * inet/getrpcbyname_r.c: Likewise.
1821 * inet/getrpcbynumber.c: Likewise.
1822 * inet/getrpcbynumber_r.c: Likewise.
1823 * inet/getrpcent.c: Likewise.
1824 * inet/getrpcent_r.c: Likewise.
1825 * inet/getaliasent.c: Likewise.
1826 * inet/getaliasent_r.c: Likewise.
1827 * inet/getaliasname.c: Likewise.
1828 * inet/getaliasname_r.c: Likewise.
1829 * nscd/getgrgid_r.c: Likewise.
1830 * nscd/getgrnam_r.c: Likewise.
1831 * nscd/gethstbyad_r.c: Likewise.
1832 * nscd/gethstbynm3_r.c: Likewise.
1833 * nscd/getpwnam_r.c: Likewise.
1834 * nscd/getpwuid_r.c: Likewise.
1835 * nscd/getsrvbynm_r.c: Likewise.
1836 * nscd/getsrvbypt_r.c: Likewise.
1837 * nscd/gai.c: Likewise.
1838
c53d909c
RM
1839 * configure.in (build_nscd): New substituted variable, set
1840 by --disable-build-nscd and defaults to $use_nscd.
1841 * configure: Regenerated.
1842 * config.make.in (build-nscd): New substituted variable.
1843 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1844 Change conditional to require [$(build-nscd) = yes] as well.
1845 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1846
3cc3ef96
RM
1847 [BZ# 13696]
1848 * configure.in (use_nscd): New substituted variable, set by
1849 --disable-nscd. If enabled, define USE_NSCD.
1850 * configure: Regenerated.
1851 * config.h.in: Add USE_NSCD.
1852 * config.make.in (use-nscd): New substituted variable.
1853 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1854 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1855 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1856 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1857 (CFLAGS-getgrnam_r.c): Likewise.
1858 (CFLAGS-initgroups.c): Likewise.
1859 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1860 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1861 Variables removed.
1862 * inet/getnetgrent_r.c
1863 (nscd_setnetgrent): New function, broken out of ...
1864 (setnetgrent): ... here. Call it.
1865 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1866 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1867 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1868 * nscd/Makefile (routines, aux): Move definitions after include of
1869 Makeconfig. Conditionalize on [$(use-nscd) != no].
1870 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1871 Conditionalize on [USE_NSCD].
1872 (is_nscd, nscd_init_cb): Likewise.
1873 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1874 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1875 * nss/nss_db/db-init.c: Likewise.
1876 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1877 [USE_NSCD].
1878 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1879 (make_request): Use it.
1880 (cache_valid_p): New function.
1881 (__check_pf): Use it.
1882 * NEWS: Add item for --disable-nscd.
1883
07e51550
DL
18842012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1885
1886 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1887 to support sed >= 4.2.1-20-ga9bf076.
1888 * configure: Regenerated.
1889
35a5b08b
RM
18902012-08-22 Roland McGrath <roland@hack.frob.com>
1891
1892 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1893 Conditionalize whole body on [IREL].
1894
8479f23a
JL
18952012-08-22 Jeff Law <law@redhat.com>
1896
1897 [BZ #14505]
1898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1899 if the family is PF_UNSPEC.
1900
48da0b21
MF
19012012-08-22 Mike Frysinger <vapier@gentoo.org>
1902
1903 * Makerules (lib-version): Rename from V.
1904 (install-lib-nosubdir): Change V to lib-version.
1905
15d0da8c
WS
19062012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1907
1908 [BZ #14252]
1909 * powerpc32/power6/wcschr.c: New file.
1910 * powerpc32/power6/wcscpy.c: New file.
1911 * powerpc32/power6/wcsrchr.c: New file.
1912 * powerpc64/power6/wcschr.c: New file.
1913 * powerpc64/power6/wcscpy.c: New file.
1914 * powerpc64/power6/wcsrchr.c: New file.
1915
bcca0895
MK
19162012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1917
1918 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1919 (two_way_short_needle): Use it.
5a4aaa33
RM
1920 * string/strstr.c (AVAILABLE1_USES_J): Define.
1921 * string/strcasestr.c: Likewise.
99677e57
MK
1922
1923 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1924 array references.
1925 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1926
400726de
MK
1927 [BZ #11607]
1928 * NEWS: Add an entry.
1929 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1930 define their defaults.
1931 (two_way_short_needle): Detect end-of-string on-the-fly.
1932 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1933 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1934 * string/bug-strcasestr1.c: New test.
1935 * string/Makefile: Run it.
1936
20a71f2c
MK
19372012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1938
1939 [BZ #11607]
1940 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1941 the first character.
1942
21ad0558
RM
19432012-08-21 Roland McGrath <roland@hack.frob.com>
1944
1945 * csu/elf-init.c (__libc_csu_irel): Function removed.
1946 * csu/libc-start.c (apply_irel): New function.
1947 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1948
0e1d9911
JM
19492012-08-21 Joseph Myers <joseph@codesourcery.com>
1950
1951 * sysdeps/unix/sysv/linux/kernel-features.h
1952 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1953 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1954 <kernel-features.h>.
1955 [__NR_fadvise64_64]: Make code unconditional.
1956 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1957 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1958 !__NR_fadvise64_64)]: Likewise.
1959 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1960 !__NR_fadvise64_64))]: Likewise.
1961 [__NR_fadvise64]: Make code unconditional.
1962 [!__NR_fadvise64]: Remove conditional code.
1963 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1964 <kernel-features.h>.
1965 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1966 unconditional.
1967 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1968 conditional code.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1970 not include <kernel-features.h>.
1971 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1972 unconditional.
1973 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1974 conditional code.
1975 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1976 include <kernel-features.h>.
1977 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1978 unconditional.
1979 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1980 conditional code.
1981
14a50c9d
WS
19822012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1983
1984 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1985 slight instruction rearrangements per scrollpipe analysis.
1986 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1987
c0f4faf0
RM
19882012-08-20 Roland McGrath <roland@hack.frob.com>
1989
696da859
RM
1990 * manual/syslog.texi (syslog; vsyslog, closelog):
1991 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1992 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1993
c0f4faf0
RM
1994 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1995 DSOCAPS to match condition on defining it.
1996
348363b2
JM
19972012-08-20 Joseph Myers <joseph@codesourcery.com>
1998
a35cbf28
JM
1999 * sysdeps/unix/sysv/linux/kernel-features.h
2000 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2002 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2003 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2005 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2006 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2008 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2009 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2010
445f7ecd
JM
2011 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2012 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2013
348363b2
JM
2014 * sysdeps/unix/sysv/linux/kernel-features.h
2015 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2016 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2017 unconditional.
2018 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2019 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2020 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2021 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2022 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2023 Make code unconditional.
2024 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2025 (__mmap64) [!__NR_mmap2]: Likewise.
2026 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2027 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2028 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2029 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2030 [__NR_mmap2]: Make code unconditional.
2031 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2032 (__mmap64) [!__NR_mmap2]: Likewise.
2033
bc5bc0e5
AK
20342012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2035
2036 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2037
88d506de
AJ
20382012-08-18 Andreas Jaeger <aj@suse.de>
2039
2040 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2041
493387d2
MF
20422012-08-18 Mike Frysinger <vapier@gentoo.org>
2043
2044 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2045 * include/unistd.h (__have_sock_cloexec): Likewise.
2046 (__have_pipe2): Likewise.
2047 (__have_dup3): Likewise.
2048
a277af22
MF
20492012-08-18 Mike Frysinger <vapier@gentoo.org>
2050
2051 [BZ #9685]
2052 * include/unistd.h (__have_pipe2): Change define into an extern int.
2053 (__have_dup3): Likewise.
2054 * socket/have_sock_cloexec.c: Include fcntl.h.
2055 (__have_pipe2): New variable.
2056 (__have_dup3): Likewise.
2057
fdab8fd3
MF
20582012-08-17 Mike Frysinger <vapier@gentoo.org>
2059
2060 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2061
31035e80
MP
20622012-08-17 Marek Polacek <polacek@redhat.com>
2063
2064 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2065 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2066
3bd9e993
RM
20672012-08-17 Roland McGrath <roland@hack.frob.com>
2068
c91c505f
RM
2069 * configure.in: Add AC_SUBST for sysheaders.
2070 * configure: Regenerated.
2071 * config.make.in (sysheaders): New substituted variable.
2072
7c6f9d53
RM
2073 * sysdeps/unix/mkfifo.c: Moved ...
2074 * sysdeps/posix/mkfifo.c: ... here.
2075 * sysdeps/unix/mkfifoat.c: Moved ...
2076 * sysdeps/posix/mkfifoat.c: ... here.
2077
2078 * sysdeps/unix/utime.c: Moved ...
2079 * sysdeps/posix/utime.c: ... here.
2080
2081 * sysdeps/unix/time.c: Moved ...
2082 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2083 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2084 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2085
2086 * sysdeps/unix/nice.c: Moved ...
2087 * sysdeps/posix/nice.c: ... here.
2088
2089 * sysdeps/unix/alarm.c: Moved ...
2090 * sysdeps/posix/alarm.c: ... here.
2091
3bd9e993
RM
2092 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2093
d1f09384
JL
20942012-08-17 Jeff Law <law@redhat.com>
2095
2096 * intl/Makefile (codeset_mo): New variable.
2097 ($(codeset_mo)): New target.
2098 (tst-codeset.out): Depend on that. Remove explicit rule.
2099 (tst-gettext3.out, tst-gettext5.out): Likewise.
2100 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2101 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2102 * intl/tst-codeset.sh: Remove.
2103 * intl/tst-gettext3.sh: Likewise.
2104 * intl/tst-gettext5.sh: Likewise.
2105
2ae1ae5c
RM
21062012-08-17 Roland McGrath <roland@hack.frob.com>
2107
c31fdb83
RM
2108 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2109 * sysdeps/unix/syscalls.list: ... here.
2110
a0844057
RM
2111 * sysdeps/posix/getaddrinfo.c
2112 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2113 (gaiconf_init, gaiconf_reload): Use them.
2114 [!_STATBUF_ST_NSEC]
2115 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2116 Define using time_t rather than struct timespec.
2117
750c1f2a
RM
2118 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2119 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2120 Macros removed.
2121 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2122 [!NO_THREADS].
2123 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2124 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2125 Likewise.
2126
2ae1ae5c
RM
2127 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2128 __libc_cleanup_push argument.
2129
e66a42f5
RM
2130 * bits/param.h: New file.
2131 * misc/sys/param.h: New file.
2132 * include/sys/param.h: New file.
2133 * misc/Makefile (headers): Add bits/param.h.
2134 * sysdeps/generic/sys/param.h: File removed.
2135 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2136 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2137 * sysdeps/mach/hurd/bits/param.h: New file.
2138 * sysdeps/mach/hurd/sys/param.h: New file.
2139
b7c08a66
RM
2140 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2141 last change.
2142
b2e1c562
RM
2143 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2144 [_IO_MTSAFE_IO].
2145 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2146 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2147 New macros.
2148
c75ccd4c
RM
2149 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2150 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2151 rather than -D_IO_MTSAFE_IO conditionally.
2152 * stdio-common/Makefile (CPPFLAGS): Likewise.
2153 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2154 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2155 Use $(libio-mtsafe).
2156 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2157 of -D_IO_MTSAFE_IO.
2158 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2159 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2160 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2161 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2162 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2163 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2164 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2165 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2166 (CFLAGS-fread_u_chk.c): Likewise.
2167 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2168 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2169 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2170 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2171 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2172 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2173 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2174 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2175 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2176
2177 * libio/Makefile: Test [$(libc-reentrant) = yes]
2178 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2179
2180 * Makeconfig
2181 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2182 * sysdeps/pthread/configure: File removed.
2183 * sysdeps/pthread/Makeconfig: New file.
2184 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2185 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2186
d9195db8
GB
21872012-08-16 Gary Benson <gbenson@redhat.com>
2188
2189 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2190 unmapping the first object in a namespace.
2191
86466cd9
RM
21922012-08-16 Roland McGrath <roland@hack.frob.com>
2193
2194 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2195 (__internal_setnetgrent): ... this. Add internal_function to
2196 definition. Add libc_hidden_def.
2197 (setnetgrent): Update caller.
2198 (internal_endnetgrent): Renamed to ...
2199 (__internal_endnetgrent): ... this. Add internal_function to
2200 definition. Add libc_hidden_def.
2201 (endnetgrent): Update caller.
2202 (internal_getnetgrent_r): Renamed to ...
2203 (__internal_getnetgrent_r): ... this. Add internal_function to
2204 definition. Add libc_hidden_def.
2205 (__getnetgrent_r): Update caller.
2206 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2207
c3c8283c
JM
22082012-08-16 Joseph Myers <joseph@codesourcery.com>
2209
2210 * stdlib/longlong.h: Update from GCC.
2211
db1ee0a8
RM
22122012-08-16 Roland McGrath <roland@hack.frob.com>
2213
2214 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2215 on _QL, which is set by umul_ppmm but never used.
2216 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2217 variables, which are set by GMP macros but never used.
2218 * stdio-common/_itowa.c (_itowa): Likewise.
2219 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2220 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2221
30f69637
CD
22222012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2223
2224 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2225 struct La_sh_regs is not constant.
2226 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2227 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2228 and struct La_sparc64_regs are not constant.
2229
93a78ac4
JM
22302012-08-16 Joseph Myers <joseph@codesourcery.com>
2231
2232 * sysdeps/unix/sysv/linux/kernel-features.h
2233 (__ASSUME_POSIX_TIMERS): Remove.
2234 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2235 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2236 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2237 Make code unconditional.
2238 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2239 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2240 Make code unconditional.
2241 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2242 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2243 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2244 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2245 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2246 Make code unconditional.
2247 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2248 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2249 (__libc_missing_posix_timers): Remove.
2250
dd924cd7
RM
22512012-08-15 Roland McGrath <roland@hack.frob.com>
2252
4b4f2771
RM
2253 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2254 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2255
601c888b
RM
2256 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2257
176790a7
RM
2258 * elf/dl-sym.c: Include <stdlib.h>.
2259
329bc018
RM
2260 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2261 constants, which avoids warnings in 32-bit builds.
2262
e04e272d
RM
2263 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2264 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2265
952bf94a
RM
2266 * misc/lseek.c: File moved to ...
2267 * io/lseek.c: ... here.
2268
7c99b50a
RM
2269 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2270
dd924cd7
RM
2271 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2272 shifting LEN more than 31 bits at once.
2273
b3f479a8
LD
22742012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2275
2276 [BZ #14195]
8c4ae0d4
RM
2277 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2278 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2279 * string/test-strncasecmp.c (check1): Renamed to...
2280 (bz12205): ...this.
2281 (bz14195): Add new testcase for two empty input strings and N > 0.
2282 (test_main): Call new testcase, adapt for renamed function.
2283
9c55864e
AJ
22842012-08-15 Andreas Jaeger <aj@suse.de>
2285
2286 [BZ #14090]
2287 * crypt/md5test2.c: New test, based on test supplied by Serge
2288 Belyshev <belyshev@depni.sinp.msu.ru>.
2289 * crypt/Makefile (xtests): Add md5test-giant..
2290 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2291
02dcb6c5
PE
22922012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2293
2294 [BZ #14090]
2295 * crypt/md5.c (md5_process_block): Don't assume the buffer
2296 length is less than 2**32.
2297 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2298 length is less than 2**64.
2299
a3f95dcc
RM
23002012-08-15 Roland McGrath <roland@hack.frob.com>
2301
be75d758
RM
2302 * string/str-two-way.h: Include <sys/param.h>.
2303 (MAX): Macro removed.
2304
7312ca90
RM
2305 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2306 Move #define and #undef of memmove to just before and after
2307 including <string.h>.
2308
9a0a5486
RM
2309 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2310 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2311 and after including <string.h>. Move declarations of
2312 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2313 to before #include "string/memmove.c".
2314
67cc348d
RM
2315 * include/dirent.h: Declare __getdirentries.
2316
a3f95dcc
RM
2317 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2318 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2319
ca98e171
MF
23202012-08-14 Mike Frysinger <vapier@gentoo.org>
2321
2322 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2323 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2324 * sysdeps/i386/configure: Regenerated.
2325 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2326 STABS_CURRENT_FILE, and STABS_FUN.
2327 (END): Remove call to STABS_FUN_END.
2328 (STABS_CURRENT_FILE1): Delete.
2329 (STABS_CURRENT_FILE): Likewise.
2330 (STABS_FUN): Likewise.
2331 (STABS_FUN_END): Likewise.
2332 (STABS_FUN2): Likewise.
2333 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2334 * sysdeps/x86_64/configure: Regenerated.
2335
5908bf46
RM
23362012-08-14 Roland McGrath <roland@hack.frob.com>
2337
2338 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2339 * elf/dl-lookup.c: Likewise.
5908bf46 2340
f2c05b9e
JM
23412012-08-14 Joseph Myers <joseph@codesourcery.com>
2342
2343 * sysdeps/unix/sysv/linux/kernel-features.h
2344 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2345 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2346 unconditionally.
2347 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2348 unconditionally.
2349 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2350 condition on __ASSUME_CLONE_THREAD_FLAGS.
2351
e11f5155
AJ
23522012-08-14 Andreas Jaeger <aj@suse.de>
2353
2354 * sysdeps/i386/fpu/libm-test-ulps: Update.
2355
51a9ba86
MK
23562012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2357
2fdd4f78
AJ
2358 * include/atomic.h (atomic_exchange_and_add): Split into ...
2359 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2360 New atomic macros.
51a9ba86 2361
ba6cba9e
MT
23622012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2363
2364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2365
42443a47
JL
23662012-08-13 Jeff Law <law@redhat.com>
2367
2368 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2369 null byte in the output string.
2370
121dce05
JM
23712012-08-10 Joseph Myers <joseph@codesourcery.com>
2372
2373 * sysdeps/unix/sysv/linux/kernel-features.h
2374 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2375 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2376 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2377 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2378 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2379 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2380 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2381
bf51f568
JL
23822012-08-09 Jeff Law <law@redhat.com>
2383
2384 [BZ #13939]
2385 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2386 When avoid_arena is set, don't retry in the that arena. Pick the
2387 next one, whatever it might be.
2388 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2389 (arena_lock): Pass in new parameter to arena_get2.
2390 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2391 arena_get2.
2392 (__libc_malloc): Unify retrying after main arena failure with
2393 __libc_memalign version.
2394 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2395
f85fa270
L
23962012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2397
2398 [BZ #14166]
2399 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2400 to __redirect_strstr.
2401 (__strstr_sse42): Use typeof __redirect_strstr.
2402 (__strstr_ia32): Likewise.
2403 (__libc_strstr): New prototype.
2404 (strstr): Renamed to ...
2405 (__libc_strstr): This.
2406 (strstr): New strong alias of __libc_strstr.
2407 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2408 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2409 __redirect_time.
2410 Include <time.h>.
2411 (__libc_time): New prototype.
2412 (time_ifunc): Replace time with __libc_time.
2413 (time): New strong alias and hidden definition of __libc_time.
2414 (__GI_time): Remove strong alias.
2415 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2416 Include <stddef.h>.
2417 (memmove): Redefined to __redirect_memmove.
2418 (__memmove_sse2): Use typeof __redirect_memmove.
2419 (__memmove_ssse3): Likewise.
2420 (__memmove_ssse3_back): Likewise.
2421 (__libc_memmove): New prototype.
2422 (memmove): Renamed to ...
2423 (__libc_memmove): This.
2424 (memmove): New strong alias of __libc_memmove.
2425
33b4a91e
MS
24262012-08-08 Mark Salter <msalter@redhat.com>
2427
2428 * elf/elf.h
2429 (R_MN10300_TLS_GD): Define.
2430 (R_MN10300_TLS_LD): Likewise.
2431 (R_MN10300_TLS_LDO): Likewise.
2432 (R_MN10300_TLS_GOTIE): Likewise.
2433 (R_MN10300_TLS_IE): Likewise.
2434 (R_MN10300_TLS_LE): Likewise.
2435 (R_MN10300_TLS_DTPMOD): Likewise.
2436 (R_MN10300_TLS_DTPOFF): Likewise.
2437 (R_MN10300_TLS_TPOFF): Likewise.
2438 (R_MN10300_SYM_DIFF): Likewise.
2439 (R_MN10300_ALIGN): Likewise.
2440 (R_MN10300_NUM): Update.
2441
b36137f1
JM
24422012-08-08 Joseph Myers <joseph@codesourcery.com>
2443
2444 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2445 Remove.
2446
cdd915fd
RM
24472012-08-08 Roland McGrath <roland@hack.frob.com>
2448
a2433aac
RM
2449 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2450
cdd915fd
RM
2451 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2452 sysdeps/unix -> sysdeps/posix move.
2453 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2454
bf9b740a
AM
24552012-08-07 Allan McRae <allan@archlinux.org>
2456
2457 [BZ #14303]
2458 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2459 (SUNOS_CPP): Likewise.
2460 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2461 not found.
2462 (open_input): Call CPP using execvp.
2463
93df14ee
JM
24642012-08-07 Joseph Myers <joseph@codesourcery.com>
2465
2466 * sysdeps/unix/sysv/linux/kernel-features.h
2467 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2468 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2469 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2470 (__ASSUME_WAITID_SYSCALL): Likewise.
2471 * sysdeps/unix/sysv/linux/dl-execstack.c
2472 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2473 code unconditional.
2474 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2475 conditional code.
2476 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2477 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2478 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2479 code.
2480 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2481 unconditional.
2482 [__ASSUME_WAITID_SYSCALL]: Likewise.
2483 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2484
d34689de
RM
24852012-08-07 Roland McGrath <roland@hack.frob.com>
2486
a281decc
RM
2487 * sysdeps/unix/closedir.c: Renamed to ...
2488 * sysdeps/posix/closedir.c: ... here.
2489 * sysdeps/unix/dirfd.c: Renamed to ...
2490 * sysdeps/posix/dirfd.c: ... here.
2491 * sysdeps/unix/dirstream.h: Renamed to ...
2492 * sysdeps/posix/dirstream.h: ... here.
2493 * sysdeps/unix/fdopendir.c: Renamed to ...
2494 * sysdeps/posix/fdopendir.c: ... here.
2495 * sysdeps/unix/opendir.c: Renamed to ...
2496 * sysdeps/posix/opendir.c: ... here.
2497 * sysdeps/unix/readdir.c: Renamed to ...
2498 * sysdeps/posix/readdir.c: ... here.
2499 * sysdeps/unix/readdir_r.c: Renamed to ...
2500 * sysdeps/posix/readdir_r.c: ... here.
2501 * sysdeps/unix/rewinddir.c: Renamed to ...
2502 * sysdeps/posix/rewinddir.c: ... here.
2503 * sysdeps/unix/seekdir.c: Renamed to ...
2504 * sysdeps/posix/seekdir.c: ... here.
2505 * sysdeps/unix/telldir.c: Renamed to ...
2506 * sysdeps/posix/telldir.c: ... here.
2507 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2508 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2509 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2510 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2511
22895b47
RM
2512 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2513 * bits/fcntl.h: ... here.
2514
707a53b6
RM
2515 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2516 not 0.
2517 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2518 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2519 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2520 (struct flock): Move l_start, l_len to the beginning.
2521 Use __pid_t for l_pid.
2522 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2523 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2524 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2525 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2526 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2527 [__USE_LARGEFILE64] (struct flock64): New type.
2528 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2529
f0bd3e25
RM
2530 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2531 * bits/dirent.h: ... here.
2532
d34689de
RM
2533 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2534 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2535
6dad2c06
JM
25362012-08-07 Joseph Myers <joseph@codesourcery.com>
2537
2538 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2539 Change from 2.6.0 to 2.6.16.
2540 * sysdeps/unix/sysv/linux/configure: Regenerated.
2541 * sysdeps/unix/sysv/linux/kernel-features.h
2542 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2543 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2544 version.
2545 (__ASSUME_UTIMES): Likewise.
2546 (__ASSUME_CLONE_STOPPED): Remove.
2547 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2548 architectures, not kernel version.
2549 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2550 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2551 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2552 (__ASSUME_WAITID_SYSCALL): Likewise.
2553 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2554 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2555 * README: State 2.6.16 as minimum Linux kernel version. Do not
2556 refer to older versions.
2557
03af9520
RM
25582012-08-06 Roland McGrath <roland@hack.frob.com>
2559
8e49df1d
RM
2560 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2561 Define alphasort64 as an alias.
2562 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2563 Define versionsort64 as an alias.
2564 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2565 Define scandir64 as an alias.
2566 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2567 Define scandirat64 as an alias.
2568 * dirent/alphasort64.c (alphasort64):
2569 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2570 * dirent/versionsort64.c: Likewise.
2571 * dirent/scandir64.c: Likewise.
2572 * dirent/scandirat64.c: Likewise.
2573 * sysdeps/wordsize-64/alphasort.c: File removed.
2574 * sysdeps/wordsize-64/alphasort64.c: File removed.
2575 * sysdeps/wordsize-64/scandir.c: File removed.
2576 * sysdeps/wordsize-64/scandir64.c: File removed.
2577 * sysdeps/wordsize-64/scandirat.c: File removed.
2578 * sysdeps/wordsize-64/scandirat64.c: File removed.
2579 * sysdeps/wordsize-64/versionsort.c: File removed.
2580 * sysdeps/wordsize-64/versionsort64.c: File removed.
2581 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2582 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2583 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2584 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2585 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2586 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2587 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2588 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2589
2590 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2591 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2592 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2593 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2594 [defined __arch64__ || defined __sparcv9]
2595 (__INO_T_MATCHES_INO64_T): New macro.
2596 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2597 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2598 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2599 * sysdeps/unix/sysv/linux/bits/dirent.h
2600 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2601 (_DIRENT_MATCHES_DIRENT64): New macro.
2602
03af9520
RM
2603 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2604 Define lockf64 as an alias.
2605 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2606 Define fseeko64 as an alias.
2607 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2608 Define ftello64 as an alias.
2609 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2610 Define _IO_fgetpos64 and fgetpos64 as aliases.
2611 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2612 Define _IO_fsetpos64 and fsetpos64 as aliases.
2613 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2614 Conditionalize body on this.
2615 * libio/fseeko64.c: Likewise.
2616 * libio/ftello64.c: Likewise.
2617 * libio/iofgetpos64.c: Likewise.
2618 * libio/iofsetpos64.c: Likewise.
2619 * sysdeps/wordsize-64/lockf.c: File removed.
2620 * sysdeps/wordsize-64/lockf64.c: File removed.
2621 * sysdeps/wordsize-64/fseeko.c: File removed.
2622 * sysdeps/wordsize-64/fseeko64.c: File removed.
2623 * sysdeps/wordsize-64/ftello.c: File removed.
2624 * sysdeps/wordsize-64/ftello64.c: File removed.
2625 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2626 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2627 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2628 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2629 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2630 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2631 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2632 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2633 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2634 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2635 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2636 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2637 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2638 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2639
2640 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2642 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2643 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2644 [defined __arch64__ || defined __sparcv9]
2645 (__OFF_T_MATCHES_OFF64_T): New macro.
2646 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2647 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2648 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2649 (__OFF_T_MATCHES_OFF64_T): New macro.
2650
c5757acd
L
26512012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2652
2653 * stdlib/secure-getenv.c (__secure_getenv): Replace
2654 GLIBC_2_16 with GLIBC_2_17.
2655
3a31811e
L
26562012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2657
2658 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2659 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2660
faa2bccb
DM
26612012-08-03 David S. Miller <davem@davemloft.net>
2662
2663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2664
85fe1997
JM
26652012-08-03 Joseph Myers <joseph@codesourcery.com>
2666
2667 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2668 Remove.
2669 (__ASSUME_CORRECT_SI_PID): Likewise.
2670 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2671 (__ASSUME_TMPFS_NAME): Likewise.
2672 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2673 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2674 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2675 (HAVE_AUX_SECURE): Make definition unconditional.
2676 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2677 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2678
4f75b7a0
RM
26792012-08-03 Roland McGrath <roland@hack.frob.com>
2680
2681 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2682 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2683 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2684 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2685 __eloop_threshold instead of SYMLOOP_MAX.
2686
2687 * sysdeps/generic/eloop-threshold.h: New file.
2688 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2689 of MAXSYMLINKS.
2690 * elf/chroot_canon.c (chroot_canon): Likewise.
2691
7aab07e4
JM
26922012-08-03 Joseph Myers <joseph@codesourcery.com>
2693
2694 [BZ #13717]
2695 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2696 Change to 2.6.0 everywhere.
2697 * sysdeps/unix/sysv/linux/configure: Regenerated.
2698 * sysdeps/unix/sysv/linux/kernel-features.h
2699 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2700 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2701 kernel versions.
2702 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2703 (__ASSUME_FUTEX_REQUEUE): Remove.
2704 (__ASSUME_STATFS64): Define unconditionally.
2705 (__ASSUME_AT_SECURE): Likewise.
2706 (__ASSUME_CORRECT_SI_PID): Likewise.
2707 (__ASSUME_TGKILL): Define without depending on kernel version for
2708 i386.
2709 (__ASSUME_UTIMES): Likewise.
2710 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2711 kernel version.
2712 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2713 (__ASSUME_TMPFS_NAME): Likewise.
2714 * README: Update reference to Linux kernel versions.
2715
b67e9372
MP
27162012-08-02 Marek Polacek <polacek@redhat.com>
2717
1f529f7d 2718 [BZ# 14150]
b67e9372
MP
2719 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2720 libc_cv_asm_type_prefix with %.
2721 * configure: Regenerated.
d2441631
RM
2722 * include/libc-symbols.h: Remove comment about
2723 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2724 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2725 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2726 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2727 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2728 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2729 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2730 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2731 * elf/tst-unique2mod1.c: Likewise.
2732 * elf/tst-unique1mod2.c: Likewise.
2733 * elf/tst-unique1mod1.c: Likewise.
2734 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2735 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2736 Replace ASM_TYPE_DIRECTIVE with .type.
2737 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2738 * sysdeps/i386/sysdep.h: Likewise.
2739 * sysdeps/x86_64/sysdep.h: Likewise.
2740 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2742 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2743 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2744 * sysdeps/powerpc/powerpc32/sysdep.h:
2745 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2746 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2747 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2748 * sysdeps/i386/fpu/e_powf.S: Likewise.
2749 * sysdeps/i386/fpu/e_expl.S: Likewise.
2750 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2751 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2752 * sysdeps/i386/fpu/e_pow.S: Likewise.
2753 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2754 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2755 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2756 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2757 * sysdeps/i386/fpu/e_log2.S: Likewise.
2758 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2759 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2760 * sysdeps/i386/fpu/e_powl.S: Likewise.
2761 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2762 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2763 * sysdeps/i386/fpu/e_logl.S: Likewise.
2764 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2765 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2766 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2767 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2768 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2769 * sysdeps/i386/fpu/e_log.S: Likewise.
2770 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2771 * sysdeps/i386/fpu/e_logf.S: Likewise.
2772 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2773 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2774 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2775 * sysdeps/i386/fpu/e_log10.S: Likewise.
2776 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2777 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2778 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2779 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2780 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2781 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2782 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2783 * sysdeps/i386/i686/strtok.S: Likewise.
2784 * sysdeps/i386/i386-mcount.S: Likewise.
2785 * sysdeps/i386/strtok.S: Likewise.
2786 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2787 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2788 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2789 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2790 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2791 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2792 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2793 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2794 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2795 * sysdeps/x86_64/_mcount.S: Likewise.
2796 * sysdeps/x86_64/strtok.S: Likewise.
2797 * sysdeps/sh/_mcount.S: Likewise.
2798
2747bf9a
RM
27992012-08-01 Roland McGrath <roland@hack.frob.com>
2800
2801 * libio/iofopen.c: Include <fcntl.h>.
2802 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2803 (_IO_fopen64, fopen64): Define as aliases.
2804 * libio/iofopen64.c: Include <fcntl.h>.
2805 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2806 Conditionalize body on this.
2807 * sysdeps/wordsize-64/iofopen.c: File removed.
2808 * sysdeps/wordsize-64/iofopen64.c: File removed.
2809
3fb791b8
MP
28102012-08-01 Marek Polacek <polacek@redhat.com>
2811
2812 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2813 Use dlfcn directly instead of a variable.
2814 (binfmt-subdir): Do not define.
2815 (dlfcn): Likewise.
2816
a9f1039f
JM
28172012-08-01 Joseph Myers <joseph@codesourcery.com>
2818
23bddc06
JM
2819 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2820 Remove all definitions.
2821 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2822 <kernel-features.h>.
2823 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2824 (miss_F_GETOWN_EX): Remove all definitions.
2825 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2826 macro definition.
2827 [!__ASSUME_FCNTL64]: Remove conditional code.
2828 [__ASSUME_FCNTL64]: Make code unconditional.
2829 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2830 <kernel-features.h>.
2831 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2832 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2833 (lockf64) [__NR_fcntl64]: Make code unconditional.
2834 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2835
a9f1039f
JM
2836 * sysdeps/unix/sysv/linux/kernel-features.h
2837 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2838 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2839 Make code unconditional.
2840 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2841 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2843 [__NR_vfork]: Make code unconditional.
2844 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2845 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2847 [__NR_vfork]: Make code unconditional.
2848 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2849 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2850
09c0ee5f
RM
28512012-08-01 Roland McGrath <roland@hack.frob.com>
2852
48aec5b9
RM
2853 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2854 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2855
cd97c966
RM
2856 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2857 Define mkstemp64 as an alias.
3f55550c
RM
2858 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2859 Define mkstemps64 as an alias.
cd97c966
RM
2860 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2861 Define mkostemp64 as an alias.
b8625cfc
RM
2862 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2863 Define mkostemps64 as an alias.
cd97c966
RM
2864 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2865 Conditionalize body on this.
2866 * misc/mkostemp64.c: Likewise.
b8625cfc 2867 * misc/mkostemps64.c: Likewise.
3f55550c 2868 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2869 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2870 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2871 * sysdeps/wordsize-64/mkostemp.c: File removed.
2872 * sysdeps/wordsize-64/mkstemp.c: File removed.
2873 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2874 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2875 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2876 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2877
09c0ee5f
RM
2878 [BZ #14138]
2879 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2880 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2881 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2882 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2883
2884 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2885 compat_symbol macros from <shlib-compat.h> rather than the underlying
2886 default_symbol_version and symbol_version macros, so that DEFAULT
2887 lines in shlib-versions are respected.
2888 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2889
7e66ee51
FW
28902012-08-01 Florian Weimer <fweimer@redhat.com>
2891
2892 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2893 Declare with warn_unused_result.
2894 (setgid, setregid, setegid, setresgid): Likewise.
2895 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2896 Likewise.
2897 * WUR-REPORT: Remove set*id functions.
2898
d2a54255
PT
28992012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2900
2901 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2902
7ecdb005
RM
29032012-07-31 Roland McGrath <roland@hack.frob.com>
2904
789bd351
RM
2905 * include/sys/socket.h (__libc_accept, __libc_accept4):
2906 Add attribute_hidden.
2907 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2908
40ce302d
RM
2909 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2910 use of PTR_MANGLE.
2911 * inet/getnetgrent_r.c (setup): Likewise.
2912
7ecdb005
RM
2913 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2914
e2eabb2c
DM
29152012-07-31 David S. Miller <davem@davemloft.net>
2916
2917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2918
d0419dbf
JM
29192012-07-31 Joseph Myers <joseph@codesourcery.com>
2920
2921 [BZ #13629]
2922 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2923 value between 1.0 and 2.0 and smaller part has absolute value less
2924 than 1.0.
2925 * math/s_clog10.c (__clog10): Likewise.
2926 * math/s_clog10f.c (__clog10f): Likewise.
2927 * math/s_clog10l.c (__clog10l): Likewise.
2928 * math/s_clogf.c (__clogf): Likewise.
2929 * math/s_clogl.c (__clogl): Likewise.
2930 * math/libm-test.inc (clog_test): Add more tests.
2931 (clog10_test): Likewise.
2932 * sysdeps/i386/fpu/libm-test-ulps: Update.
2933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2934
2bc13872
FW
29352012-07-31 Florian Weimer <fweimer@redhat.com>
2936
2937 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2938 Exit with zero in case no suitable GID is found, and write a
2939 message to standard error.
2940
bea9b193
RM
29412012-07-30 Roland McGrath <roland@hack.frob.com>
2942
2943 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2944 rather than to 1.
2945 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2946 (MAXPATHLEN): Removed.
2947 (NOGROUP, NODEV): New macros.
2948 (setbit, clrbit, isset, isclr): New macros.
2949 (howmany, roundup, powerof2): New macros.
2950 (DEV_BSIZE): New macro.
2951
2952 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2953 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2954
2955 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2956 definition on [!__NO_LONG_DOUBLE_MATH].
2957
2958 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2959 PTR_MANGLE and PTR_DEMANGLE.
2960
2961 * socket/accept4.c (accept4): Rename to __libc_accept4.
2962 Define accept4 as a weak alias.
2963
2964 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2965 on [_DIRENT_HAVE_D_TYPE].
2966 * io/ftw.c (ftw_dir): Likewise.
2967
2968 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2969
2970 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2971
2972 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2973 Use the BSD numbers rather than the arbitrary ones we had.
2974 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2975 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2976 (SIGXCPU, SIGXFSZ): New macros.
2977 (_NSIG): Now 32.
2978
2979 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2980 initializer on [_LIBC_REENTRANT].
2981
2982 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2983 definitions inside [_POSIX_MAPPED_FILES].
2984
2985 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2986
2987 * dirent/opendir.c: Include <fcntl.h>.
2988
2989 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2990 (__libc_getspecific): Likewise.
2991 (__libc_key_create): Likewise.
2992
2993 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2994 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2995 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2996 (tmpfile64): Define as alias.
2997 * sysdeps/wordsize-64/tmpfile.c: File removed.
2998 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2999 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3000 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3001
3002 * stdio-common/vfscanf.c: Include <stdbool.h>.
3003 * nss/makedb.c: Likewise.
3004 * stdio-common/_i18n_number.h: Likewise.
3005 * argp/argp-help.c: Likewise.
3006 * posix/wordexp.c: Likewise.
3007 * sysdeps/posix/spawni.c: Likewise.
3008 * nss/nss_files/files-initgroups.c: Likewise.
3009 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3010 * nss/nss_files/files-initgroups.c: Likewise.
3011 * nss/nss_db/db-netgrp.c: Likewise.
3012 * nss/nss_db/db-initgroups.c: Likewise.
3013 * io/fchmodat.c: Include <sys/stat.h>.
3014
3015 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3016 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3017
3018 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3019 [HAVE_MMAP].
3020
3021 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3022 Add multiple inclusion protection.
3023
e5abc686
DM
30242012-07-27 David S. Miller <davem@davemloft.net>
3025
3026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3027
815e6fa3
GB
30282012-07-27 Gary Benson <gbenson@redhat.com>
3029
3030 [BZ #14298]
3031 * elf/rtld.c: Include <stap-probe.h>.
3032 (dl_main): Added static probes "init_start" and "init_complete".
3033 * elf/dl-load.c: Include <stap-probe.h>.
3034 (lose): Take new parameter "nsid".
3035 Added static probe "map_failed".
3036 (_dl_map_object_from_fd): Pass namespace id to lose.
3037 Added static probe "map_start".
3038 (open_verify): Pass namespace id to lose.
3039 * elf/dl-open.c: Include <stap-probe.h>.
3040 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3041 and "reloc_complete".
3042 * elf/dl-close.c: Include <stap-probe.h>.
3043 (_dl_close_worker): Added static probes "unmap_start" and
3044 "unmap_complete".
3045 * elf/rtld-debugger-interface.txt: New file documenting the above.
3046
9f98c16c
RM
30472012-07-26 Roland McGrath <roland@hack.frob.com>
3048
3049 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3050 rather than a string variable.
3051 * sunrpc/rpc_main.c (h_output): Likewise.
3052 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3053
f3c22df3
PT
30542012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3055
3056 * inet/check_native.c: New file.
3057
3129cfc6
JM
30582012-07-26 Joseph Myers <joseph@codesourcery.com>
3059
da865e95
JM
3060 [BZ #13629]
3061 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3062 if larger part has absolute value 1.0.
3063 * math/s_clog10.c (__clog10): Likewise.
3064 * math/s_clog10f.c (__clog10f): Likewise.
3065 * math/s_clog10l.c (__clog10l): Likewise.
3066 * math/s_clogf.c (__clogf): Likewise.
3067 * math/s_clogl.c (__clogl): Likewise.
3068 * math/libm-test.inc (clog_test): Add more tests.
3069 (clog10_test): Likewise.
3070 * sysdeps/i386/fpu/libm-test-ulps: Update.
3071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3072
3129cfc6
JM
3073 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3074 (pltexit): Likewise.
3075 (La_regs): Likewise.
3076 (La_retval): Likewise.
3077 (int_retval): Likewise.
3078 Update #error for removed macros to refer only to definitions in
3079 tst-audit.h.
3080 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3081 macro.
3082 (pltexit): Likewise.
3083 (La_regs): Likewise.
3084 (La_retval): Likewise.
3085 (int_retval): Likewise.
3086 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3087 macro.
3088 (pltexit): Likewise.
3089 (La_regs): Likewise.
3090 (La_retval): Likewise.
3091 (int_retval): Likewise.
3092 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3093 macro.
3094 (pltexit): Likewise.
3095 (La_regs): Likewise.
3096 (La_retval): Likewise.
3097 (int_retval): Likewise.
3098 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3099 macro.
3100 (pltexit): Likewise.
3101 (La_regs): Likewise.
3102 (La_retval): Likewise.
3103 (int_retval): Likewise.
3104 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3105 macro.
3106 (pltexit): Likewise.
3107 (La_regs): Likewise.
3108 (La_retval): Likewise.
3109 (int_retval): Likewise.
3110 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3111 macro.
3112 (pltexit): Likewise.
3113 (La_regs): Likewise.
3114 (La_retval): Likewise.
3115 (int_retval): Likewise.
3116 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3117 macro definitions in tst-audit.h.
3118 * sysdeps/i386/tst-audit.h: New file.
3119 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3120 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3121 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3122 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3123 * sysdeps/sh/tst-audit.h: Likewise.
3124 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3125 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3126 * sysdeps/x86_64/tst-audit.h: Likewise.
3127
bfc07087
AJ
31282012-07-26 Andreas Jaeger <aj@suse.de>
3129
b1b2aaf8
AJ
3130 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3131 ptrace.
3132
3133 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3134 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3135 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3136 PTRACE_O_MASK.
3137 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3138 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3139 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3140
bfc07087
AJ
3141 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3142 value.
3143
3144 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3145 _sigsys.
3146 (si_call_addr, si_syscall, si_arch): Define new macro.
3147 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3148 _sigsys.
3149 (si_call_addr, si_syscall, si_arch): Define new marcro.
3150 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3151 _sigsys.
3152 (si_call_addr, si_syscall, si_arch): Define new macro.
3153 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3154 _sigsys.
3155 (si_call_addr, si_syscall, si_arch): Define new macro.
3156
89b4b02f
JM
31572012-07-25 Joseph Myers <joseph@codesourcery.com>
3158
3159 [BZ #13717]
3160 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3161 Change to 2.4.21 where previously 2.4.1.
3162 * sysdeps/unix/sysv/linux/configure: Regenerated.
3163 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3164 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3165 Linux kernel version.
3166 (__ASSUME_STD_AUXV): Remove.
3167 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3168 kernel version.
3169 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3170 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3171 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3172 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3173 (__ASSUME_NETLINK_SUPPORT): Likewise.
3174 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3175 (__no_netlink_support): Remove conditional definition.
3176 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3177 Remove.
3178 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3179 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3180 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3181 (if_nameindex_ioctl): Remove.
3182 (if_nameindex_netlink): Do not handle __no_netlink_support.
3183 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3184 code.
3185 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3186 Remove conditional code.
3187 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3188 code.
3189 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3190 unconditional.
3191 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3192 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3193 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3194 Remove.
3195 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3196 [!__ASSUME_STD_AUXV]: Remove conditional code.
3197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3198 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3199 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3201 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3202 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3203 code.
3204 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3206 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3207 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3208 conditional code.
3209 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3211 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3212 code.
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3214 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3215 conditional code.
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3217 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3218 code unconditional.
3219 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3220 conditional code.
3221 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3222 unconditional.
3223 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3224 conditional code.
3225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3226 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3227 unconditional.
3228 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3229 conditional code.
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3231 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3232 code unconditional.
3233 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3234 conditional code.
3235 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3236 unconditional.
3237 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3238 conditional code.
3239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3240 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3241 code unconditional.
3242 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3243 conditional code.
3244 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3245 unconditional.
3246 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3247 conditional code.
3248
842a39cd
AS
32492012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3250
3251 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3252 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3253 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3254 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3255 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3256 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3257 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3258 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3259 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3260 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3261 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3262 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3263 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3264 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3265 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3266 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3267 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3268 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3269 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3271 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3272 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3273 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3274
84b3fd84
FW
32752012-07-25 Florian Weimer <fweimer@redhat.com>
3276
3277 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3278 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3279 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3280 Introduce __libc_secure_getenv.
0c7936d5
FW
3281 * stdlib/Versions (2.17): Add secure_getenv
3282 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3283 * stdlib/secure-getenv.c: Rename __secure_getenv to
3284 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3285 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3286 * stdlib/tst-secure-getenv.c: New.
3287 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3288 * manual/startup.texi (Environment Access): Document
3289 secure_getenv.
84b3fd84
FW
3290 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3291 __libc_secure_getenv.
3292 * inet/ruserpass.c (ruserpass): Likewise.
3293 * malloc/mtrace.c (mtrace): Likewise.
3294 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3295 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3296 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3297 * sysdeps/posix/tempname.c: Likewise. Evaluate
3298 HAVE_SECURE_GETENV.
3299 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3300 __secure_getenv to __libc_secure_getenv.
84b3fd84 3301 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3303 Likewise.
3304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3305 Likewise.
3306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3308 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3313
56e49b71
JM
33142012-07-25 Joseph Myers <joseph@codesourcery.com>
3315
3316 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3317 (struct La_i86_retval): Likewise.
3318 (struct La_x86_64_regs): Likewise.
3319 (struct La_x86_64_retval): Likewise.
3320 (struct La_x32_regs): Likewise.
3321 (struct La_x32_retval): Likewise.
3322 (struct La_ppc32_regs): Likewise.
3323 (struct La_ppc32_retval): Likewise.
3324 (struct La_ppc64_regs): Likewise.
3325 (struct La_ppc64_retval): Likewise.
3326 (struct La_sh_regs): Likewise.
3327 (struct La_sh_retval): Likewise.
3328 (struct La_s390_32_regs): Likewise.
3329 (struct La_s390_32_retval): Likewise.
3330 (struct La_s390_64_regs): Likewise.
3331 (struct La_s390_64_retval): Likewise.
3332 (struct La_sparc32_regs): Likewise.
3333 (struct La_sparc32_retval): Likewise.
3334 (struct La_sparc64_regs): Likewise.
3335 (struct La_sparc64_retval): Likewise.
3336 (struct audit_ifaces): Remove architecture-specific pltenter and
3337 pltexit members.
3338 * sysdeps/i386/ldsodefs.h: New file.
3339 * sysdeps/powerpc/ldsodefs.h: Likewise.
3340 * sysdeps/s390/ldsodefs.h: Likewise.
3341 * sysdeps/sh/ldsodefs.h: Likewise.
3342 * sysdeps/sparc/ldsodefs.h: Likewise.
3343 * sysdeps/x86_64/ldsodefs.h: Likewise.
3344
354691b7
MP
33452012-07-25 Marek Polacek <polacek@redhat.com>
3346
3347 [BZ #6808]
3348 * math/libm-test.inc (yn_test): Add another test.
3349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3350 to ERANGE when the result is +-Inf.
3351 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3352 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3353 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3354 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3355
bf9e2071
JM
33562012-07-24 Joseph Myers <joseph@codesourcery.com>
3357
3358 * conform/data/time.h-data (NULL): Use macro-constant. Require
3359 equal to 0.
3360 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3361 clock_t.
3362 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3363
57633811
TS
33642012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3365
3366 * configure.in <sysdeps resolving>: Correct printing
3367 Implies_before.
3368 * configure: Regenerate.
3369
c23c33b0
TS
33702012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3371
3372 * math/w_ilogb.c: Include <limits.h>.
3373 * math/w_ilogbl.c: Likewise.
3374
b5982523
JM
33752012-07-20 Joseph Myers <joseph@codesourcery.com>
3376
3377 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3378 va_copy. Document allowing for unavailable va_copy only as
3379 pre-C99 compatibility.
3380 * manual/string.texi (Copying and Concatenation): Use va_copy
3381 instead of __va_copy in concat example.
3382
ac4ea442
PT
33832012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3384
3385 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3386 (__sendto): Use create_address_port. Initialize APORT and deallocate
3387 it if not null.
3388
f98eafbd
PT
3389 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3390 with O_NOLINK passed to __file_name_lookup.
3391
898c7aab
PT
3392 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3393 with O_NOLINK passed to __file_name_lookup.
3394
0ced335a
PT
3395 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3396 negative N or less than NGIDS.
3397
b3404dbd
PT
3398 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3399 type to string_t. Set ERANGE as errno and return it if NAME is not big
3400 enough. Use memcpy instead of strncpy.
3401
0f48659e
JM
34022012-07-20 Joseph Myers <joseph@codesourcery.com>
3403
3404 * elf/Makefile (check-data): Remove.
3405 (localplt.data): New vpath directive.
3406 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3407 instead of $(check-data).
3408 * scripts/data/localplt-generic.data: Move to ...
3409 * sysdeps/generic/localplt.data: ... here.
3410 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3411 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3412 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3414 ... here.
3415 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3417 ... here.
3418 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3420 ... here.
3421 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3423 ... here.
3424 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3426 ... here.
3427 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3429 ... here.
3430
d37cbdaa
AZ
34312012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3432
3433 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3434 PPC32 and PPC64 files.
3435 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3436 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3437
46f85fc2
AK
34382012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3439
3440 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3441 __makecontext_ret to ...
3442 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3443 ... here and call exit if uc_link is NULL. New file.
3444 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3445 __makecontext_ret.S.
3446 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3447 __makecontext_ret to ...
3448 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3449 ... here and call exit if uc_link is NULL. New file.
3450 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3451 __makecontext_ret.S.
3452
08f43f9b
AK
34532012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3454
3455 * elf/elf.h (R_390_IRELATIVE): New definition.
3456 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3457 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3458 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3459 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3460 (elf_machine_lazy_rel): Likewise.
3461 * sysdeps/s390/dl-irel.h: New file.
3462 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3463 * sysdeps/s390/s390-64/memset.S: New asm code.
3464 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3465 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3466 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3467 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3468 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3469 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3470 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3471 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3472 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3473 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3474 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3475 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3476 * sysdeps/s390/s390-32/memset.S: New asm code.
3477 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3478
3b05db33
MP
34792012-07-17 Marek Polacek <polacek@redhat.com>
3480
3481 [BZ #14349]
3482 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3483 * sysdeps/s390/s390-64/configure.in: Likewise.
3484 * sysdeps/sparc/configure.in: Likewise.
3485 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3486 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3487 * sysdeps/i386/configure.in: Likewise.
3488 * sysdeps/x86_64/configure.in: Likewise.
3489 * sysdeps/sh/configure.in: Likewise.
3490 * sysdeps/s390/s390-32/configure: Regenerated.
3491 * sysdeps/s390/s390-64/configure: Likewise.
3492 * sysdeps/x86_64/configure: Likewise.
3493 * sysdeps/sh/configure: Likewise.
3494 * sysdeps/powerpc/powerpc64/configure: Likewise.
3495 * sysdeps/powerpc/powerpc32/configure: Likewise.
3496 * sysdeps/sparc/configure: Likwise.
3497 * sysdeps/i386/configure: Likewise.
3498
a66877c6
MP
3499 * elf/dl-open.c: Comment fixes.
3500
cfc82fd8
JM
35012012-07-17 Joseph Myers <joseph@codesourcery.com>
3502
bd29910a
JM
3503 * Makefile [CXX] (check-data): Remove.
3504 [CXX] (c++-types.data): New vpath directive.
3505 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3506 vpath. Do not allow for C++ type data being missing.
3507 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3508 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3509 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3510 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3511 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3512 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3513 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3515 ... here.
3516 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3518 ... here.
3519 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3521 ... here.
3522 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3524 ... here.
3525 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3527 ... here.
3528 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3530 ... here.
3531 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3533 ... here.
3534 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3536
cfc82fd8
JM
3537 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3538 definitions to architecture-specific files.
3539 (TLS_IE): Likewise.
3540 (TLS_LD): Likewise.
3541 (TLS_GD): Likewise.
3542 * sysdeps/i386/tls-macros.h: New file.
3543 * sysdeps/powerpc/tls-macros.h: Likewise.
3544 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3545 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3546 * sysdeps/sh/tls-macros.h: Likewise.
3547 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3548 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3549 * sysdeps/x86_64/tls-macros.h: Likewise.
3550
f7db3170
TS
35512012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3552
07cbfc23
TS
3553 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3554 zero value for regular exit case.
3555
f7db3170
TS
3556 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3557 (__start_context): Preserve zero value for regular exit case.
3558
dc97c227
TS
35592012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3560 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3561
3562 * manual/setjmp.texi (setcontext): Clarify normal process
3563 termination when uc_link is the null pointer.
3564 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3565 exit call.
3566
d0cd7d02
AS
35672012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3568
3569 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3570 preprocessor. Test for each exception mask separately.
3571
dd318934
AJ
35722012-07-16 Andreas Jaeger <aj@suse.de>
3573
3574 * po/ru.po: Update from translation team.
3575
8048311a
JM
35762012-07-15 Joseph Myers <joseph@codesourcery.com>
3577
3578 * conform/data/string.h-data (NULL): Use macro-constant. Require
3579 equal to 0.
3580 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3581 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3582 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3583 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3584 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3585
b637d46e
AJ
35862012-07-13 Andreas Jaeger <aj@suse.de>
3587
3588 * po/fr.po: Update from translation team.
3589
541428fe
MP
35902012-07-12 Marek Polacek <polacek@redhat.com>
3591
3592 [BZ #14173]
3593 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3594 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3595 loop condition.
3596
ec332e94
JM
35972012-07-12 Joseph Myers <joseph@codesourcery.com>
3598
3599 [BZ #13717]
3600 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3601 Change to 2.4.1 where previously 2.4.0.
3602 * sysdeps/unix/sysv/linux/configure: Regenerated.
3603 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3604 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3605 version.
3606 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3607 (__ASSUME_AT_CLKTCK): Remove.
3608 (__ASSUME_AT_PAGESIZE): Likewise.
3609 (__ASSUME_AT_XID): Likewise.
3610 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3611 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3612 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3613 unconditionally.
3614 (HAVE_AUX_PAGESIZE): Likewise.
3615 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3616 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3617 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3618
7b6e99be
JB
36192012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3620
3621 [BZ #14307]
3622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3623 the temporary buffer used to invoke __gethostbyname2_r,
3624 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3625 host_data / struct gaih_addrtuple.
3626 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3627 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3628 header file nss/nsswitch.h.
3629 * nss/nsswitch.h (global scope): Add definition of implementation
3630 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3631 resolv/nss_dns/dns-host.c).
3632
608404eb
AJ
36332012-07-11 Andreas Jaeger <aj@suse.de>
3634
3635 * po/fr.po: Update from translation team.
3636
71220aca
AJ
3637 * po/sv.po: Update from translation team
3638 * po/fr.po: Another update from translation team.
3639
28cfe843
AZ
36402012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3641
3642 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3643 for subnormals or multiply small sinh result by itself.
3644 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3646
6b90f981
DM
36472012-07-11 David S. Miller <davem@davemloft.net>
3648
3649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3650
c6825772
AS
36512012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3652
3653 [BZ #14347]
3654 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3655 (INTERNAL_MARK): Shift it here.
3656
7b8e0d49
MP
36572012-07-10 Marek Polacek <polacek@redhat.com>
3658
3659 [BZ #14151]
3660 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3661 libc_cv_asm_global_directive with .globl.
3662 * configure: Regenerated.
3663 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3664 with .globl.
3665 * sysdeps/i386/configure: Regenerated.
3666 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3667 with .globl.
3668 * sysdeps/x86_64/configure: Regenerated.
3669 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3670 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3671 * elf/tst-unique2mod2.c: Likewise.
3672 * elf/tst-unique2mod1.c: Likewise.
3673 * elf/tst-unique1mod2.c: Likewise.
3674 * elf/tst-unique1mod1.c: Likewise.
3675 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3676 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3677 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3678 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3679 * sysdeps/mach/sysdep.h: Likewise.
3680 * sysdeps/i386/sysdep.h: Likewise.
3681 * sysdeps/i386/i386-mcount.S: Likewise.
3682 * sysdeps/x86_64/_mcount.S: Likewise.
3683 * sysdeps/x86_64/sysdep.h: Likewise.
3684 * sysdeps/sh/_mcount.S: Likewise.
3685 * sysdeps/sh/sysdep.h: Likewise.
3686 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3687 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3688 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3689 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3690 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3691 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3692 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3693 * locale/localeinfo.h: Likewise.
3694 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3695 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3696
6c55cda3
RM
36972012-07-09 Roland McGrath <roland@hack.frob.com>
3698
3699 [BZ #14336]
3700 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3701 system".
3702 * manual/message.texi (The Uniforum approach): Likewise.
3703 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3704 (glibc iconv Implementation): Likewise.
3705
638a572e
JM
37062012-07-09 Joseph Myers <joseph@codesourcery.com>
3707
3708 [BZ #14337]
3709 * math/s_clog.c (__clog): Avoid scaling a value down where that
3710 could result in underflow.
3711 * math/s_clog10.c (__clog10): Likewise.
3712 * math/s_clog10f.c (__clog10f): Likewise.
3713 * math/s_clog10l.c (__clog10l): Likewise.
3714 * math/s_clogf.c (__clogf): Likewise.
3715 * math/s_clogl.c (__clogl): Likewise.
3716 * math/libm-test.inc (clog_test): Add more tests.
3717 (clog10_test): Likewise.
3718 * sysdeps/i386/fpu/libm-test-ulps: Update.
3719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3720
261f4859
AS
37212012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3722
0abaf3e4
AS
3723 [BZ #14283]
3724 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3725 by 7 not 8 to examine high bit of fractional part.
3726
261f4859
AS
3727 [BZ #14042]
3728 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3729 for call to __mcount_internal.
3730 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3731 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3732 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3733
f17ac40d
JM
37342012-07-06 Joseph Myers <joseph@codesourcery.com>
3735
9ad63c23
JM
3736 [BZ #14154]
3737 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3738 approximation for values within 0x1p-13f of an odd multiple of
3739 pi/4.
3740 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3741 exception. Add more tests.
3742 * sysdeps/i386/fpu/libm-test-ulps: Update.
3743
f17ac40d
JM
3744 [BZ #6778]
3745 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3746 inputs and return -1 for them. Do not check for +Inf in case not
3747 reachable for +Inf.
3748 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3749 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3750 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3751 and return -1 for them. Do not check for +Inf in case not
3752 reachable for +Inf.
3753 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3754 define.
3755 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3756 and return -1 for them. Do not check for +Inf in case not
3757 reachable for +Inf.
3758 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3759 spurious underflow.
3760 * sysdeps/i386/fpu/libm-test-ulps: Update.
3761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3762
fb21f89b
MF
37632012-07-06 Mike Frysinger <vapier@gentoo.org>
3764
3765 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3766
cdfe2c5e
JM
37672012-07-05 Joseph Myers <joseph@codesourcery.com>
3768
3769 [BZ #14157]
3770 [BZ #14331]
3771 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3772 could result in spurious underflow. Scale down values above
3773 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3774 * math/s_csqrtf.c (__csqrtf): Likewise.
3775 * math/s_csqrtl.c (__csqrtl): Likewise.
3776 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3777 spurious underflow.
3778 * sysdeps/i386/fpu/libm-test-ulps: Update.
3779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3780
70d35b67
AS
37812012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3782
704bc459
AS
3783 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3784 xopen-msg.sed.
3785 * catgets/xopen-msg.awk: New file.
3786 * catgets/xopen-msg.sed: Removed.
3787
70d35b67
AS
3788 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3789 po2text.sed.
3790 * intl/po2test.awk: New file.
3791 * intl/po2test.sed: Removed.
3792
ca61cf32
JM
37932012-07-04 Joseph Myers <joseph@codesourcery.com>
3794
3795 [BZ #14328]
3796 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3797 or multiply small sinh result by itself.
3798 * math/s_ctanf.c (__ctanf): Likewise.
3799 * math/s_ctanh.c (__ctanh): Likewise.
3800 * math/s_ctanhf.c (__ctanhf): Likewise.
3801 * math/s_ctanhl.c (__ctanhl): Likewise.
3802 * math/s_ctanl.c (__ctanl): Likewise.
3803 * math/libm-test.inc (ctan_test_tonearest): New function.
3804 (ctan_test_towardzero): Likewise.
3805 (ctan_test_downward): Likewise.
3806 (ctan_test_upward): Likewise.
3807 (ctanh_test_tonearest): Likewise.
3808 (ctanh_test_towardzero): Likewise.
3809 (ctanh_test_downward): Likewise.
3810 (ctanh_test_upward): Likewise.
3811 (main): Call these new functions.
3812 * sysdeps/i386/fpu/libm-test-ulps: Update.
3813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3814
ca48a46a
MF
38152012-07-03 Mike Frysinger <vapier@gentoo.org>
3816
3817 * .gitignore: Delete /ports entry.
3818
9d63d37d
AJ
38192012-07-03 Andreas Jaeger <aj@suse.de>
3820
3821 * po/bg.po: Update from translation team.
3822 * po/cs.po: Likewise.
3823 * po/de.po: Likewise.
3824 * po/hr.po: Likewise.
3825 * po/nl.pl: Likewise.
3826 * po/pl.po: Likewise.
3827 * po/vi.po: Likewise.
3828
370ca3d2
JM
38292012-07-03 Joseph Myers <joseph@codesourcery.com>
3830
95f5a9a8
JM
3831 * Makeconfig [!+link] (+link-before-libc): New variable.
3832 [!+link] (+link-after-libc): Likewise.
3833 [!+link] (+link-tests): Likewise.
3834 [!+link] (+link): Define in terms of $(+link-before-libc) and
3835 $(+link-after-libc).
3836 [!+link-static] (+link-static-before-libc): New variable.
3837 [!+link-static] (+link-static-after-libc): Likewise.
3838 [!+link-static] (+link-static-tests): Likewise.
3839 [!+link-static] (+link-static): Define in terms of
3840 $(+link-static-before-libc) and $(+link-static-after-libc).
3841 [build-shared] (link-libc-before-gnulib): New variable.
3842 [build-shared] (link-libc-tests): Likewise.
3843 [build-shared] (link-libc): Define in terms of
3844 $(link-libc-before-gnulib).
3845 [!build-shared] (link-libc-tests): New variable.
3846 (link-libc-static-tests): New variable.
3847 [!gnulib] (gnulib-arch): New variable.
3848 [!gnulib] (gnulib-tests): Likewise.
3849 [!gnulib] (static-gnulib-arch): Likewise.
3850 [!gnulib] (static-gnulib-tests): Likewise.
3851 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3852 Define with "=" instead of ":=".
3853 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3854 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3855 * Rules (binaries-all-notests): New variable.
3856 (binaries-all-tests): Likewise.
3857 (binaries-static-notests): Likewise.
3858 (binaries-static-tests): Likewise.
3859 (binaries-all): Define using $(binaries-all-notests) and
3860 $(binaries-all-tests).
3861 (binaries-static): Define using $(binaries-static-notests) and
3862 $(binaries-static-tests).
3863 (binaries-shared-tests): New variable.
3864 (binaries-shared-notests): Likewise.
3865 (binaries-shared): Remove variable.
3866 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3867 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3868 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3869 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3870 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3871 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3872 * elf/Makefile (sln-modules): New variable.
3873 (extra-objs): Add $(sln-modules:=.o).
3874 (ldconfig-modules): Add static-stubs.
3875 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3876 * elf/static-stubs.c: New file.
3877
7a845b2c
JM
3878 [BZ #14283]
3879 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3880 by 7 not 8 to examine high bit of fractional part. Use volatile
3881 variables when splitting into final array of floats if
3882 __FLT_EVAL_METHOD__ != 0.
3883 * math/libm-test.inc (cos_test): Add another test.
3884 (sin_test): Likewise.
3885 * sysdeps/i386/fpu/libm-test-ulps: Update.
3886
e2283f38
JM
3887 [BZ #14273]
3888 * math/libm-test.inc (cosh_test): Add more tests.
3889
370ca3d2
JM
3890 * version.h (RELEASE): Set to "development".
3891 (VERSION): Set to "2.16.90".
3892
ee9247c3
CD
38932012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3894
3895 * NEWS: Update copyright. Remove last-updated date.
3896 Mention math library bug fixes and timezone data changes.
3897 * README: Mention GNU/Hurd, x32, and HPPA support status.
3898
4648c381
TS
38992012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3900
3901 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3902
aac78a43
AJ
39032012-06-27 Andreas Jaeger <aj@suse.de>
3904
3905 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3906
ed3dbfad
AJ
39072012-06-25 Andreas Jaeger <aj@suse.de>
3908
3909 * sysdeps/s390/fpu/libm-test-ulps: Update.
3910
4d0ee855
AS
39112012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3912 Thomas Schwinge <thomas@codesourcery.com>
3913
3914 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3915 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3916 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3917 fanotify_mark.
3918
af1bce34
TS
39192012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3920
a9fa33ba
TS
3921 * sysdeps/mach/start.c: Remove file.
3922 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3923 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3924 * sysdeps/sh/init-first.c: Likewise.
3925
58f902b8
TS
3926 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3927 registers for frame unwinding purposes, add CFI directives.
3928 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3929 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3930 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3931 Likewise.
3932
1518f58b
TS
3933 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3934 __fortify_fail returning.
3935 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3936
db9b5059
TS
3937 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3938 sysdeps/sh/____longjmp_chk.S.
3939 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3940 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3941 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3942 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3943
967705fe
TS
3944 * sysdeps/sh/abort-instr.h: New file.
3945 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3946 process in case exit returns.
3947
a9def8c4
TS
3948 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3949 initialize the GOT register before use.
3950
2a649725
TS
3951 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3952 calculation of ARGC > 4.
3953
af1bce34
TS
3954 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3955 meaningful names to some local labels.
3956
d230f50a
KK
39572012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3958 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3959
3960 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3961 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3962 (__arch_compare_and_exchange_val_16_acq): Likewise.
3963 (__arch_compare_and_exchange_val_32_acq): Likewise.
3964 (atomic_exchange_and_add): Fix gUSA sequence.
3965 (atomic_add): Likewise.
3966 (atomic_add_negative): Likewise.
3967 (atomic_add_zero): Likewise.
3968 (atomic_bit_test_set): Likewise.
3969
0479b305
AS
39702012-06-22 Andreas Schwab <schwab@redhat.com>
3971
3972 [BZ #13579]
3973 * include/link.h (struct link_map): Add l_free_initfini.
3974 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3975 l_initfini.
3976 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3977 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3978 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3979 set.
3980
0e3933b9
CD
39812012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3982
3983 * configure.in: Use AC_LANG_SOURCE.
3984 * configure: Regenerate.
3985
4248b1b1
RM
39862012-06-22 Roland McGrath <roland@hack.frob.com>
3987
3988 * configure.in (libc_cv_localstatedir): New substituted variable.
3989 * configure: Regenerated.
3990 * config.make.in (localstatedir): New variable, substituted from
3991 libc_cv_localstatedir.
3992 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3993 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3994 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3995 * sysdeps/gnu/configure: Regenerated.
3996
006dd861
JL
39972012-06-21 Jeff Law <law@redhat.com>
3998
3999 [BZ #14277]
4000 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4001 free. Simplify list management for _LIBC case.
4002
79662d42
JM
40032012-06-21 Joseph Myers <joseph@codesourcery.com>
4004
b7abb4bf
JM
4005 [BZ #14273]
4006 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4007 Clear sign bit of 64-bit integer value before comparing against
4008 overflow value.
4009
79662d42
JM
4010 * sysdeps/mach/configure: Regenerated.
4011
1f150908
L
40122012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4013
4014 [BZ #14278]
4015 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4016
28363bbf
JL
40172012-06-21 Jeff Law <law@redhat.com>
4018
4019 [BZ #13882]
4020 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4021 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4022 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4023 * elf/dl-open.c (dl_open_worker): Likewise.
4024
09615db4
CD
40252012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4026
4027 * scripts/list-sources.sh: Scan PORTS for translations.
4028 * po/libc.pot: Regenerated.
4029
2174c6dd
AJ
40302012-06-21 Andreas Jaeger <aj@suse.de>
4031
4032 [BZ #12194]
4033 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4034 warning.
4035 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4036 * bits/byteswap-16.h (__bswap_16): Likewise.
4037 * bits/byteswap.h (__bswap_constant_16): Likewise.
4038
3ee947b1
L
40392012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4040
4041 [BZ #14117]
a2f34833
L
4042 * sysdeps/i386/fpu_control.h: Removed.
4043 * sysdeps/x86_64/fpu_control.h: Moved to ...
4044 * sysdeps/x86/fpu_control.h: Here.
4045
3ee947b1
L
4046 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4047 (_FPU_SETCW): Likewise.
4048
ed1825f8
L
40492012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4050
25f1282a
L
4051 [BZ #14117]
4052 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4053 * sysdeps/x86/fpu/bits/mathinline.h: This.
4054 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4055
ed1825f8
L
4056 [BZ #14050]
4057 [BZ #14117]
4058 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4059 functions if __x86_64__ is defined.
4060
36d54b74
CLT
40612012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4062
4063 * string/endian.h: Add !__ASSEMBLER__ condition for including
4064 conversion interfaces.
4065
10285c21
JM
40662012-06-15 Joseph Myers <joseph@codesourcery.com>
4067
4068 [BZ #14241]
4069 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4070 of ABS(x) in calculating zero to negative powers other than odd
4071 integers.
4072 * math/libm-test.inc (pow_test): Add more tests.
4073
06c5abbd
AJ
40742012-06-15 Andreas Jaeger <aj@suse.de>
4075
4076 * manual/contrib.texi (Contributors): Update entry of Liubov
4077 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4078 Machado Filho.
4079
a3aeac40
CH
40802012-06-15 Cyril Hrubis <metan@ucw.cz>
4081
4082 * string/string.h: Add __wur to GNU version of strerror_r.
4083
49bdf4c1
L
40842012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4085
4086 [BZ #14229]
4087 * string/Makefile (tests): Add tst-strtok_r.
4088 * string/tst-strtok_r.c: New file.
4089 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4090 RAX_LP/RDX_LP on SAVE_PTR.
4091
834f9b8d
RM
40922012-06-14 Roland McGrath <roland@hack.frob.com>
4093
4094 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4095
75fa1921
JM
40962012-06-14 Joseph Myers <joseph@codesourcery.com>
4097
4098 * libm_test.inc (csqrt_test): Allow more spurious underflow
4099 exceptions.
4100 (j0_test): Likewise.
4101 (j1_test): Likewise.
4102 (y0_test): Likewise.
4103 (y1_test): Likewise.
4104
771766df
CD
41052012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4106
4107 * po/Makefile (libc.pot): Use UTF-8 charset.
4108
ceb9e56b
PP
41092012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4110
4111 [BZ #14210]
4112 Suppress sign-conversion warning from FD_SET.
4113 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4114 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4115 not unsigned long int.
4116 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4117
ddb28975
L
41182012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4119
4120 [BZ #14050]
4121 [BZ #14117]
4122 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4123 __extern_always_inline instead of __extern_inline.
4124 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4125 (__signbit): Likewise.
4126 (__signbitl): Support C++ namespace.
4127 (lrintf): New inline function.
4128 (lrint): Likewise.
4129 (llrintf): Likewise.
4130 (llrint): Likewise.
4131 (fmaxf): Likewise.
4132 (fmax): Likewise.
4133 (fminf): Likewise.
4134 (fmin): Likewise.
4135 (rint): Likewise.
4136 (rintf): Likewise.
4137 (ceil): Likewise.
4138 (ceilf): Likewise.
4139 (floor): Likewise.
4140 (floorf): Likewise.
4141 (nearbyint): Likewise.
4142 (nearbyintf): Likewise.
4143
d7b4fb26
TS
41442012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4145
4146 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4147 non-default versions.
4148
eb55f5c2
RM
41492012-06-11 Roland McGrath <roland@hack.frob.com>
4150
4151 [BZ #14218]
4152 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4153
366af02c
TS
41542012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4155
99ff6e5c
TS
4156 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4157 (FE_UPWARD, FE_DOWNWARD): Don't define.
4158 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4159 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4160
366af02c
TS
4161 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4162 reading it.
4163 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4164 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4165
793ea851
KK
41662012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4167
4168 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4169 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4170 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4171 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4172
a728a38f
L
41732012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4174
4175 [BZ #14117]
c08010c7
L
4176 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4177 * sysdeps/i386/fpu/Implies: New file.
4178 * sysdeps/x86_64/fpu/Implies: Likewise.
4179 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4180 * sysdeps/x86/fpu/bits/fenv.h: This.
4181
a728a38f
L
4182 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4183 __SSE_MATH__.
4184
6e230d11
SP
41852012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4186
4187 [BZ #14134]
4188 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4189 character 0xffff that matches the last element of the
4190 conversion table.
4191
1b671feb
AZ
41922012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4193
4194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4195 fmodl commit.
4196
6043738b
AZ
41972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4198
4199 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4200 values higher than 25.6283.
4201
34ae0b32
AZ
42022012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4203
4204 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4205 subnormal exponent extraction and add some __builtin_expect.
4206 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4207 Fix for subnormal mantissa calculation.
4208
1214ec8f
MF
42092012-06-04 Mike Frysinger <vapier@gentoo.org>
4210
4211 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4212 cpu2 is -1 and errno is not ENOSYS.
4213
f3d1f93c
L
42142012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4215
4216 [BZ #14117]
0e4a3cd7
L
4217 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4218 * sysdeps/x86/bits/string.h: This.
4219 * sysdeps/x86_64/bits/string.h: Removed.
4220
6704c645
L
4221 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4222 if not compiling for x86-64, but compiling for >= i486.
4223
48495318
L
4224 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4225 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4226
14adcbfc
L
4227 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4228 New macro from Linux kernel 3.4.0.
4229 (FP_XSTATE_MAGIC2): Likewise.
4230 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4231 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4232 (struct _fpx_sw_bytes): New struct.
4233 (struct _xsave_hdr): Likewise.
4234 (struct _ymmh_state): Likewise.
4235 (struct _xstate): Likewise.
4236
68e408ab
L
4237 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4238 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4239 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4240 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4241 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4242 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4243
f3d1f93c
L
4244 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4245 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4246 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4247 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4248 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4249 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4250
d9dc34cd
TMQMF
42512012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4252
4253 [BZ #13743]
4254 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4255 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4256 (sysdep_headers): Include sys/platform/ppc.h.
4257 * sysdeps/powerpc/test-gettimebase.c: Test for
4258 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4259 * manual/Makefile (appendices): Include platform.texi.
4260 * manual/contrib.texi (Contributors): Update @node pointers.
4261 * manual/maint.texi (Maintenance): Likewise.
4262 (Platform): New node.
4263 * manual/platform.texi: New file. Document the new features.
4264
4af3879c
SP
42652012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4266 Jakub Jelinek <jakub@redhat.com>
4267
4268 [BZ #14188]
4269 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4270 where __builtin_expect is unavailable.
4271
2fd6ff13
DM
42722012-06-03 David S. Miller <davem@davemloft.net>
4273
4274 * stdlib/longlong.h: Updated from GCC.
4275
173f7220
AS
42762012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4277
4278 [BZ #14042]
4279 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4280 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4281 __mcount_internal.
4282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4283 (GLIBC_2.16): Likewise.
4284
f34a1c6f
L
42852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4286
4287 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4288
88a4576f
JM
42892012-06-01 Joseph Myers <joseph@codesourcery.com>
4290
ea32bcdd
JM
4291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4292 (default-abi): New variable.
4293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4294 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4295 variable.
4296 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4297 Likewise.
4298 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4299 Likewise.
4300 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4301 Likewise.
4302
88a4576f
JM
4303 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4304 definition. Document in comment.
4305
402fe938
DM
43062012-06-01 David S. Miller <davem@davemloft.net>
4307
4308 * stdlib/longlong.h: Updated from GCC.
4309
3553723f
L
43102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4311
4312 [BZ #14117]
3bd872c4
L
4313 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4314 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4315 sys/debugreg.h sys/io.h here.
4316 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4317 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4318 sys/io.h.
4319 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4320 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4321 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4322 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4323 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4324 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4325
3553723f
L
4326 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4327 Define only if __x86_64__ is defined.
4328
4842e4fe
JM
43292012-06-01 Joseph Myers <joseph@codesourcery.com>
4330
c5bfe3d5
JM
4331 [BZ #14048]
4332 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4333 Use int64_t for variable i.
4334 * math/libm-test.inc (fmod_test): Add more tests.
4335
4842e4fe
JM
4336 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4337 z computation is not scheduled after fetestexcept.
4338 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4339 Use math_force_eval instead of asm to ensure calculation scheduled
4340 before exception test.
4341 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4342 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4343
efb73488
AJ
43442012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4345
4346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4347 computation is not scheduled after fetestexcept.
4348
29bcce7c
L
43492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4350
4351 [BZ #14117]
4352 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4353 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4354
73a68f94
AZ
43552012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4356
4357 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4358 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4359
67b6df78
L
43602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4361
edf2933a 4362 [BZ #14117]
ebc64a18
L
4363 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4364 <bits/wordsize.h>.
4365 (__WCHAR_MIN): Support __WORDSIZE == 64.
4366 (__WCHAR_MAX): Likewise.
4367
edf2933a
L
4368 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4369 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4370
57c6cf40
L
4371 [BZ #14183]
4372 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4373 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4374
67b6df78 4375 [BZ #14117]
8eb6281e
L
4376 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4377 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4378
aac639f4
L
4379 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4380 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4381
67b6df78
L
4382 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4383 Defined to 1 if __x86_64__ isn't defined.
4384 (_STAT_VER_LINUX_OLD): New.
4385 (st_atime): Remove duplicate.
4386 (st_mtime): Likewise.
4387 (st_ctime): Likewise.
4388
1c2cfe81
DM
43892012-05-31 David S. Miller <davem@davemloft.net>
4390
4391 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4392 entries.
4393
5be8418c
AS
43942012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4395
e7725326
AS
4396 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4397 gen-libm-test.pl.
4398
5be8418c
AS
4399 [BZ #14132]
4400 * elf/dl-reloc.c: Include <_itoa.h>.
4401 (_dl_reloc_bad_type): Remove use of INTUSE.
4402 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4403 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4404 * stdio-common/psiginfo.c (psiginfo): Likewise.
4405 * stdio-common/psignal.c (psignal): Likewise.
4406 * string/strsignal.c (strsignal): Likewise.
4407 * include/signal.h (_sys_siglist): Declare hidden proto.
4408 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4409 INTVARDEF with libc_hidden_data_def.
4410 * stdio-common/itoa-udigits.c: Likewise.
4411 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4412 (_itoa_lower_digits_internal): Remove declaration.
4413 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4414 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4415 (_sys_sigabbrev_internal): Remove aliases.
4416 (_sys_siglist): Define hidden alias.
4417
507352f1
MT
44182012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4419
4420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4421 bits/sysctl.h.
4422
42bbb1c3
L
44232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4424
4425 [BZ #14117]
6bd784b6
L
4426 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4427 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4428
8bca20f0
L
4429 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4430 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4431 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4432 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4433 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4434 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4435
f9e890a9
L
4436 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4437 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4438 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4439
471101a1
L
4440 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4441 with __addr.
4442 (insw): Likewise.
4443 (insl): Likewise.
4444 (outsb): Likewise.
4445 (outsw): Likewise.
4446 (outsl): Likewise.
4447
6451c862
L
4448 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4449 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4450 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4451
a254b8c9
L
4452 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4453 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4454 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4455 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4456 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4457 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4458
b8dfdd92
L
4459 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4460 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4461
578cd270
L
4462 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4463 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4464
de662f5f
L
4465 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4466 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4467 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4468
25653439
L
4469 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4470 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4471 to ...
4472 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4473
6bad24a0
L
4474 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4475 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4476 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4477
42bbb1c3
L
4478 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4479 for x86-64.
4480 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4481
2d10d547
JM
44822012-05-31 Joseph Myers <joseph@codesourcery.com>
4483
4484 * math/math.h (M_El): Use two more decimal places.
4485 (M_LOG2El): Likewise.
4486 (M_LOG10El): Likewise.
4487 (M_LN2l): Likewise.
4488 (M_LN10l): Likewise.
4489 (M_PIl): Likewise.
4490 (M_PI_2l): Likewise.
4491 (M_PI_4l): Likewise.
4492 (M_1_PIl): Likewise.
4493 (M_2_PIl): Likewise.
4494 (M_2_SQRTPIl): Likewise.
4495 (M_SQRT2l): Likewise.
4496 (M_SQRT1_2l): Likewise.
4497
f230c29b
DM
44982012-05-31 David S. Miller <davem@davemloft.net>
4499
4500 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4501 values between float registers.
4502 * sysdeps/sparc/sparc64/memset.S: Likewise.
4503 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4504
fed806c3
MF
45052012-05-31 Mike Frysinger <vapier@gentoo.org>
4506
4507 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4508 -D_FORTIFY_SOURCE=1.
4509 (CPPFLAGS-tst-longjmp_chk.c): Define.
4510 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4511 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4512 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4513 CFLAGS-tst-wchar-h.c.
4514
30917259
MP
45152012-05-31 Marek Polacek <polacek@redhat.com>
4516
4517 [BZ #14132]
4518 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4519 __endmntent_internal): Remove declaration.
4520 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4521 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4522 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4523
1c58d5dc
DM
45242012-05-30 David S. Miller <davem@davemloft.net>
4525
4526 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4527 (___Q_simulate_exceptions): Use real FP ops rather than writing
4528 into the %fsr.
4529 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4530 Likewise.
4531
7dc00e0d
L
45322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4533
4534 [BZ #14117]
0bd53985
L
4535 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4536 * sysdeps/x86/bits/xtitypes.h: This.
4537
3a257e66
L
4538 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4539 * sysdeps/x86/bits/wordsize.h: This.
4540
62f62904
L
4541 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4542 * sysdeps/x86/bits/huge_vall.h: This.
4543
404fe9d9
L
4544 * sysdeps/i386/bits/select.h: Removed.
4545 * sysdeps/x86_64/bits/select.h: Renamed to ...
4546 * sysdeps/x86/bits/select.h: This.
4547
d48d0446
L
4548 * sysdeps/i386/bits/setjmp.h: Removed.
4549 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4550 * sysdeps/x86/bits/setjmp.h: This.
4551
7dc00e0d
L
4552 * sysdeps/i386/bits/mathdef.h: Removed.
4553 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4554 * sysdeps/x86/bits/mathdef.h: This.
4555
03277f8f
AS
45562012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4557
4558 [BZ #14132]
4559 * include/sys/socket.h (__connect_internal)
4560 (__libc_sa_len_internal): Remove declaration.
4561 (__connect, __libc_sa_len): Declare hidden_proto.
4562 (SA_LEN): Remove use of INTUSE.
4563 * socket/connect.c: Add libc_hidden_def.
4564 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4565 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4566 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4567 alias.
4568 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4569 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4570 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4571 of adding _internal alias.
4572
13764867
L
45732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4574
4575 [BZ #14117]
6bd97696
L
4576 * sysdeps/i386/bits/link.h: Removed.
4577 * sysdeps/i386/bits/linkmap.h: Likewise.
4578 * sysdeps/x86_64/bits/link.h: Renamed to ...
4579 * sysdeps/x86/bits/link.h: This.
4580 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4581 * sysdeps/x86/bits/linkmap.h: This.
4582
f726f0bb
L
4583 * sysdeps/i386/bits/endian.h: Removed.
4584 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4585 * sysdeps/x86/bits/endian.h: This.
4586
13764867
L
4587 * sysdeps/i386/bits/byteswap.h: Removed.
4588 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4589 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4590 * sysdeps/x86/bits/byteswap.h: This.
4591 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4592 * sysdeps/x86/bits/byteswap-16.h: This.
4593 * sysdeps/i386/Implies: Add x86.
4594 * sysdeps/x86_64/Implies: Likewise.
4595
ae251b0b
DM
45962012-05-30 David S. Miller <davem@davemloft.net>
4597
4598 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4599 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4600 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4601 (FP_TRAPPING_EXCEPTIONS): Define.
4602 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4603 (FP_TRAPPING_EXCEPTIONS): Define.
4604 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4605 subnormals only when inexact has been signalled or underflow
4606 exceptions are enabled.
4607 (_FP_PACK_CANONICAL): Likewise.
4608
d5c90867
L
46092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4610
4611 [BZ #14183]
4612 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4613 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4614
63f1549e
RH
46152012-05-30 Richard Henderson <rth@twiddle.net>
4616
8d8f2279
RH
4617 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4618 with #ifndef NOT_IN_libc.
4619
63f1549e
RH
4620 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4621 marked to avoid plt entry.
4622
0ab0291b
L
46232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4624
4625 [BZ #14112]
4626 * Makeconfig (default-abi): New macro.
4627 (abi-includes): Likewise.
4628 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4629 $(abi-$(default-abi)-lib-soname) for soname if defined.
4630 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4631 abi-variants.
4632 * Makefile (installed-stubs): Likewise.
4633 * include/stubs-biarch.h: Removed.
4634 * scripts/lib-names.awk: Only handle one library at a time.
4635 * scripts/soversions.awk: Remove WORDSIZE support.
4636 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4637 entries.
4638 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4639 Removed.
4640 (syscall-list-default-condition): Likewise.
4641 (syscall-list-default-condition): Likewise.
4642 (syscall-list-includes): Likewise.
4643 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4644 syscall-list-* with abi-*. Handle undefined abi-variants.
4645 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4646 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4647 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4648 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4649 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4650 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4651 Removed.
4652 (syscall-list-32-options): Likewise.
4653 (syscall-list-32-condition): Likewise.
4654 (syscall-list-64-options): Likewise.
4655 (syscall-list-64-condition): Likewise.
4656 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4657 macro.
4658 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4659 Renamed to ...
4660 (abi-*): This.
4661 (abi-64-ld-soname): New macro.
4662 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4663 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4664 Renamed to ...
4665 (abi-*): This.
4666 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4667 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4668
4da0431d
JM
46692012-05-30 Joseph Myers <joseph@codesourcery.com>
4670
3a85279c
JM
4671 * sysdeps/unix/sysv/linux/kernel-features.h
4672 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4673 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4674 include <kernel-features.h>.
4675 [!__NR_ftruncate64]: Remove conditional code.
4676 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4677 [__NR_ftruncate64]: Make code unconditional.
4678 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4679 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4680 include <kernel-features.h>.
4681 [!__NR_ftruncate64]: Remove conditional code.
4682 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4683 [__NR_ftruncate64]: Make code unconditional.
4684 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4686 include <kernel-features.h>.
4687 [!__NR_ftruncate64]: Remove conditional code.
4688 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4689 [__NR_ftruncate64]: Make code unconditional.
4690 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4692 include <kernel-features.h>.
4693 [!__NR_ftruncate64]: Remove conditional code.
4694 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4695 [__NR_ftruncate64]: Make code unconditional.
4696 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4697
4da0431d
JM
4698 * configure.in (libc_cv_fpie): Weaken to a compile test using
4699 LIBC_TRY_CC_OPTION.
4700 * configure: Regenerated.
4701
11ef492c
AK
47022012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4703
4704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4708 Refreshed.
4709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4715 Refreshed.
4716
d66ef399
DM
47172012-05-27 David S. Miller <davem@davemloft.net>
4718
4719 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4720 (___Q_zero): New.
4721 (__Q_simulate_exceptions): Return void. Change to simulate
4722 exceptions by writing into the %fsr.
4723 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4724 (__Qp_handle_exceptions): Likewise.
4725 (numbers): Delete.
4726 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4727 __Qp_handle_exceptions.
4728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4729 __Qp_handle_exceptions.
4730 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4731 as unused and give dummy FP_RND_NEAREST initializer.
4732 (FP_INHIBIT_RESULTS): Define.
4733 (___Q_simulate_exceptions): Update declaration.
4734 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4735 formatting.
4736 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4737 as unused and give dummy FP_RND_NEAREST initializer.
4738 (__Qp_handle_exceptions): Update declaration.
4739 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4740 formatting.
4741
04fb54b5
TS
47422012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4743
4744 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4745 the temporary FPU control word.
4746 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4747 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4748 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4749 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4750 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4751 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4752 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4753 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4754 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4755 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4756 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4757
3f99608f
KK
47582012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4759
4760 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4761 fields.
4762
65a4de4e
CLT
47632012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4764
4765 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4766 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4767 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4768 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4769 Likewise.
4770 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4771 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4772 Likewise.
4773
15749d40
UD
47742012-05-27 Ulrich Drepper <drepper@gmail.com>
4775
4776 * po/h.po: Update from translation team.
4777
25dbcb27
AS
47782012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4779
3d3f8e55
AS
4780 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4781
25dbcb27
AS
4782 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4783 handling of denormals.
4784 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4785 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4786 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4787 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4788 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4789 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4790 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4791 Likewise.
4792
7ad47a80 47932012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4794
4795 [BZ #14152]
4796 * math/libm-test.inc (fma_test): Don't always expect underflow
4797 exception.
4798
9c6ea9fa
SP
47992012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4800
4801 [BZ #12416]
4802 * elf/tst-execstack.c: Include stackinfo.h.
4803 (do_test): Adjust test case to ensure that pthread_getattr_np
4804 behaviour remains the same after marking stack executable.
4805
a8239222
JM
48062012-05-25 Joseph Myers <joseph@codesourcery.com>
4807
4808 * sysdeps/unix/sysv/linux/kernel-features.h
4809 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4810 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4811 kernel-features.h.
4812 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4813 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4814 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4815 kernel-features.h.
4816 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4817 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4818
918b5606
L
48192012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4820
4821 * configure.in: Define the default includes to being none.
4822 * configure: Regenerated.
4823
3a097cc7
RM
48242012-05-25 Roland McGrath <roland@hack.frob.com>
4825
8422c9a5
RM
4826 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4827 * sysdeps/x86_64/setjmp.S: Likewise.
4828 * sysdeps/i386/bsd-setjmp.S: Likewise.
4829 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4830 * sysdeps/i386/setjmp.S: Likewise.
4831 * sysdeps/i386/__longjmp.S: Likewise.
4832 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4833 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4834
3a097cc7
RM
4835 * include/stap-probe.h: New file.
4836 * configure.in: Handle --enable-systemtap.
4837 * configure: Regenerated.
4838 * config.h.in (USE_STAP_PROBE): New #undef.
4839 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4840 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4841 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4842
21708942
JM
48432012-05-25 Joseph Myers <joseph@codesourcery.com>
4844
4845 [BZ #13717]
4846 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4847 to 2.4.0 where earlier.
4848 * sysdeps/unix/sysv/linux/configure: Regenerated.
4849 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4850 <kernel-features.h>.
4851 [__ASSUME_32BITUIDS]: Make code unconditional.
4852 [!__ASSUME_32BITUIDS]: Remove conditional code.
4853 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4854 <kernel-features.h>.
4855 [__ASSUME_32BITUIDS]: Make code unconditional.
4856 [!__ASSUME_32BITUIDS]: Remove conditional code.
4857 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4858 [__ASSUME_32BITUIDS]: Make code unconditional.
4859 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4860 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4861 <kernel-features.h>.
4862 [__ASSUME_32BITUIDS]: Make code unconditional.
4863 [!__ASSUME_32BITUIDS]: Remove conditional code.
4864 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4865 <kernel-features.h>.
4866 [__ASSUME_32BITUIDS]: Make code unconditional.
4867 [!__ASSUME_32BITUIDS]: Remove conditional code.
4868 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4869 <kernel-features.h>.
4870 [__ASSUME_32BITUIDS]: Make code unconditional.
4871 [!__ASSUME_32BITUIDS]: Remove conditional code.
4872 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4873 <kernel-features.h>.
4874 [__ASSUME_32BITUIDS]: Make code unconditional.
4875 [!__ASSUME_32BITUIDS]: Remove conditional code.
4876 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4877 <kernel-features.h>.
4878 [__ASSUME_32BITUIDS]: Make code unconditional.
4879 [!__ASSUME_32BITUIDS]: Remove conditional code.
4880 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4881 <kernel-features.h>.
4882 [__ASSUME_32BITUIDS]: Make code unconditional.
4883 [!__ASSUME_32BITUIDS]: Remove conditional code.
4884 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4885 <kernel-features.h>.
4886 [__ASSUME_32BITUIDS]: Make code unconditional.
4887 [!__ASSUME_32BITUIDS]: Remove conditional code.
4888 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4889 <kernel-features.h>.
4890 [__ASSUME_32BITUIDS]: Make code unconditional.
4891 [!__ASSUME_32BITUIDS]: Remove conditional code.
4892 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4893 <kernel-features.h>.
4894 [__ASSUME_32BITUIDS]: Make code unconditional.
4895 [!__ASSUME_32BITUIDS]: Remove conditional code.
4896 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4897 <kernel-features.h>.
4898 [__ASSUME_32BITUIDS]: Make code unconditional.
4899 [!__ASSUME_32BITUIDS]: Remove conditional code.
4900 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4901 <kernel-features.h>.
4902 [__NR_setresgid] (__setresgid): Do not declare.
4903 [__ASSUME_32BITUIDS]: Make code unconditional.
4904 [!__ASSUME_32BITUIDS]: Remove conditional code.
4905 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4906 <kernel-features.h>.
4907 [__NR_setresuid] (__setresuid): Do not declare.
4908 [__ASSUME_32BITUIDS]: Make code unconditional.
4909 [!__ASSUME_32BITUIDS]: Remove conditional code.
4910 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4911 <kernel-features.h>.
4912 [__ASSUME_32BITUIDS]: Make code unconditional.
4913 [!__ASSUME_32BITUIDS]: Remove conditional code.
4914 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4915 <kernel-features.h>.
4916 [__ASSUME_32BITUIDS]: Make code unconditional.
4917 [!__ASSUME_32BITUIDS]: Remove conditional code.
4918 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4919 <kernel-features.h>.
4920 [__ASSUME_32BITUIDS]: Make code unconditional.
4921 [!__ASSUME_32BITUIDS]: Remove conditional code.
4922 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4923 <kernel-features.h>.
4924 [__ASSUME_32BITUIDS]: Make code unconditional.
4925 [!__ASSUME_32BITUIDS]: Remove conditional code.
4926 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4927 <kernel-features.h>.
4928 [__ASSUME_32BITUIDS]: Make code unconditional.
4929 [!__ASSUME_32BITUIDS]: Remove conditional code.
4930 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4931 <kernel-features.h>.
4932 [__ASSUME_32BITUIDS]: Make code unconditional.
4933 [!__ASSUME_32BITUIDS]: Remove conditional code.
4934 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4935 <kernel-features.h>.
4936 [__ASSUME_32BITUIDS]: Make code unconditional.
4937 [!__ASSUME_32BITUIDS]: Remove conditional code.
4938 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4939 <kernel-features.h>.
4940 [__ASSUME_32BITUIDS]: Make code unconditional.
4941 [!__ASSUME_32BITUIDS]: Remove conditional code.
4942 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4943 <kernel-features.h>.
4944 [__ASSUME_32BITUIDS]: Make code unconditional.
4945 [!__ASSUME_32BITUIDS]: Remove conditional code.
4946 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4947 <kernel-features.h>.
4948 [__ASSUME_32BITUIDS]: Make code unconditional.
4949 [!__ASSUME_32BITUIDS]: Remove conditional code.
4950 * sysdeps/unix/sysv/linux/kernel-features.h
4951 (__ASSUME_SETRESUID_SYSCALL): Remove.
4952 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4953 (__ASSUME_32BITUIDS): Likewise.
4954 (__ASSUME_LDT_WORKS): Likewise.
4955 (__ASSUME_O_DIRECTORY): Likewise.
4956 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4957 architecture but not kernel version.
4958 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4959 (__ASSUME_MMAP2_SYSCALL): Likewise.
4960 (__ASSUME_STAT64_SYSCALL): Likewise.
4961 (__ASSUME_IPC64): Likewise.
4962 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4963 <kernel-features.h>.
4964 [__ASSUME_32BITUIDS]: Make code unconditional.
4965 [!__ASSUME_32BITUIDS]: Remove conditional code.
4966 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4967 <kernel-features.h>.
4968 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4969 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4970 132096]: Remove conditional code.
4971 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4972 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4973 <kernel-features.h>.
4974 [__ASSUME_32BITUIDS]: Make code unconditional.
4975 [!__ASSUME_32BITUIDS]: Remove conditional code.
4976 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4977 <kernel-features.h>.
4978 [__ASSUME_32BITUIDS]: Make code unconditional.
4979 [!__ASSUME_32BITUIDS]: Remove conditional code.
4980 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4981 <kernel-features.h>.
4982 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4983 unconditional.
4984 (__setresgid): Do not declare.
4985 [__ASSUME_32BITUIDS]: Make code unconditional.
4986 [!__ASSUME_32BITUIDS]: Remove conditional code.
4987 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4988 <kernel-features.h>.
4989 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4990 unconditional.
4991 (__setresuid): Do not declare.
4992 [__ASSUME_32BITUIDS]: Make code unconditional.
4993 [!__ASSUME_32BITUIDS]: Remove conditional code.
4994 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4995 <kernel-features.h>.
4996 [__ASSUME_32BITUIDS]: Make code unconditional.
4997 [!__ASSUME_32BITUIDS]: Remove conditional code.
4998 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4999 <kernel-features.h>.
5000 [__ASSUME_32BITUIDS]: Make code unconditional.
5001 [!__ASSUME_32BITUIDS]: Remove conditional code.
5002
a386f1cc
RH
50032012-05-25 Richard Henderson <rth@twiddle.net>
5004
5005 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5006 dl_hwcap to ifunc resolver.
5007 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5008 elf_ifunc_invoke.
5009 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5010 dl_hwcap to ifunc resolver.
5011 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5012
b6550497
JM
50132012-05-24 Joseph Myers <joseph@codesourcery.com>
5014
5015 [BZ #14153]
5016 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5017 for |x| <= 2**-26, not 2**-57.
5018 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5019 exception.
5020
b0bc23a1
JL
50212012-05-24 Jeff Law <law@redhat.com>
5022
5023 * stdio-common/Makefile (tests): Add bug25.
5024 * stdio-common/bug25.c: New test.
5025
347c92e9
L
50262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5027
5028 [BZ #13576]
5029 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5030 multiple of MALLOC_ALIGNMENT in size.
5031 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5032
6bcc8b3f
JM
50332012-05-24 Joseph Myers <joseph@codesourcery.com>
5034
5035 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5036 Require >= 256.
5037 (FILENAME_MAX): Use macro-int-constant.
5038 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5039 (_IOFBF): Use macro-int-constant.
5040 (_IOLBF): Likewise.
5041 (_IONBF): Likewise.
5042 (SEEK_CUR): Likewise.
5043 (SEEK_END): Likewise.
5044 (SEEK_SET): Likewise.
5045 (TMP_MAX): Likewise.
5046 (EOF): Use macro-int-constant. Require < 0.
5047 (NULL): Use macro-constant. Require == 0.
5048 (stdin): Require type to be FILE *.
5049 (stdout): Likewise.
5050 (stderr): Likewise.
5051 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5052 macro-int-constant.
5053 (EXIT_SUCCESS): Likewise.
5054 (NULL): Use macro-constant. Require == 0.
5055 (RAND_MAX): Use macro-int-constant.
5056 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5057 [C99-based standards] (strtof): Require function.
5058 [C99-based standards] (strtold): Likewise.
5059 [C99-based standards] (strtoll): Likewise.
5060 [C99-based standards] (strtoull): Likewise.
5061 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5062 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5063 [ISO || ISO99 || ISO11] (math.h): Likewise.
5064 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5065 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5067
d18ea0c5
AS
50682012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5069
5070 [BZ #14132]
56d25bb8
AS
5071 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5072 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5073 * intl/dgettext.c (DCGETTEXT): Likewise.
5074 * intl/gettext.c (DCGETTEXT): Likewise.
5075 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5076 * posix/regex_internal.h (gettext): Likewise.
5077 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5078 Remove declaration.
5079 * include/argz.h (__argz_count_internal)
5080 (__argz_stringify_internal): Remove declaration.
5081 (__argz_count, __argz_stringify): Declare hidden proto.
5082 * intl/dcgettext.c: Remove use of INTDEF.
5083 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5084 * string/argz-stringify.c: Likewise.
5085 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5086 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5087 Declare hidden proto.
d18ea0c5
AS
5088 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5089 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5090 Declare hidden proto.
5091 * include/stdio.h (__asprintf_internal): Don't declare.
5092 (__asprintf): Don't define as macro. Declare hidden proto.
5093 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5094 (__fsetlocking): Declare hidden proto.
5095 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5096 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5097 hidden proto.
5098 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5099 (_IO_setlinebuf): Remove use of INTUSE.
5100 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5101 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5102 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5103 Remove declaration.
5104 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5105 (_IO_do_flush): Remove use of INTUSE.
5106 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5107 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5108 (_IO_adjust_column, _IO_least_wmarker)
5109 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5110 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5111 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5112 (_IO_default_doallocate, _IO_wdefault_doallocate)
5113 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5114 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5115 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5116 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5117 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5118 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5119 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5120 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5121 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5122 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5123 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5124 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5125 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5126 proto.
5127 (_IO_flush_all_internal, _IO_adjust_column_internal)
5128 (_IO_default_uflow_internal, _IO_default_finish_internal)
5129 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5130 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5131 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5132 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5133 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5134 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5135 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5136 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5137 (_IO_file_close_internal, _IO_file_close_it_internal)
5138 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5139 (_IO_file_init_internal, _IO_file_attach_internal)
5140 (_IO_file_fopen_internal, _IO_file_read_internal)
5141 (_IO_file_sync_internal, _IO_file_seek_internal)
5142 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5143 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5144 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5145 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5146 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5147 (_IO_list_all_internal, _IO_link_in_internal)
5148 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5149 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5150 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5151 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5152 (_IO_do_write_internal, _IO_padn_internal)
5153 (_IO_getline_info_internal, _IO_getline_internal)
5154 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5155 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5156 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5157 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5158 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5159 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5160 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5161 with libc_hidden_ver, remove use of INTUSE.
5162 * libio/genops.c: Likewise.
5163 * libio/freopen.c: Likewise.
5164 * libio/freopen64.c: Likewise.
5165 * libio/iofclose.c: Likewise.
5166 * libio/iofdopen.c: Likewise.
5167 * libio/iofflush.c: Likewise.
5168 * libio/iofflush_u.c: Likewise.
5169 * libio/iofgets.c: Likewise.
5170 * libio/iofgets_u.c: Likewise.
5171 * libio/iofopen.c: Likewise.
5172 * libio/iofopncook.c: Likewise.
5173 * libio/iofread.c: Likewise.
5174 * libio/iofread_u.c: Likewise.
5175 * libio/ioftell.c: Likewise.
5176 * libio/iofwrite.c: Likewise.
5177 * libio/iogetline.c: Likewise.
5178 * libio/iogets.c: Likewise.
5179 * libio/iogetwline.c: Likewise.
5180 * libio/iopadn.c: Likewise.
5181 * libio/iopopen.c: Likewise.
5182 * libio/ioseekoff.c: Likewise.
5183 * libio/ioseekpos.c: Likewise.
5184 * libio/iosetbuffer.c: Likewise.
5185 * libio/iosetvbuf.c: Likewise.
5186 * libio/ioungetc.c: Likewise.
5187 * libio/ioungetwc.c: Likewise.
5188 * libio/iovdprintf.c: Likewise.
5189 * libio/iovsprintf.c: Likewise.
5190 * libio/iovsscanf.c: Likewise.
5191 * libio/memstream.c: Likewise.
5192 * libio/obprintf.c: Likewise.
5193 * libio/oldfileops.c: Likewise.
5194 * libio/oldiofclose.c: Likewise.
5195 * libio/oldiofdopen.c: Likewise.
5196 * libio/oldiofopen.c: Likewise.
5197 * libio/oldiopopen.c: Likewise.
5198 * libio/oldstdfiles.c: Likewise.
5199 * libio/putc.c: Likewise.
5200 * libio/setbuf.c: Likewise.
5201 * libio/setlinebuf.c: Likewise.
5202 * libio/stdfiles.c: Likewise.
5203 * libio/strops.c: Likewise.
5204 * libio/vasprintf.c: Likewise.
5205 * libio/vscanf.c: Likewise.
5206 * libio/vsnprintf.c: Likewise.
5207 * libio/vswprintf.c: Likewise.
5208 * libio/wfiledoalloc.c: Likewise.
5209 * libio/wfileops.c: Likewise.
5210 * libio/wgenops.c: Likewise.
5211 * libio/wmemstream.c: Likewise.
5212 * libio/wstrops.c: Likewise.
5213 * libio/__fpurge.c: Likewise.
5214 * libio/__fsetlocking.c: Likewise.
5215 * assert/assert.c: Likewise.
5216 * debug/fgets_chk.c: Likewise.
5217 * debug/fgets_u_chk.c: Likewise.
5218 * debug/fread_chk.c: Likewise.
5219 * debug/fread_u_chk.c: Likewise.
5220 * debug/gets_chk.c: Likewise.
5221 * debug/obprintf_chk.c: Likewise.
5222 * debug/vasprintf_chk.c: Likewise.
5223 * debug/vdprintf_chk.c: Likewise.
5224 * debug/vsnprintf_chk.c: Likewise.
5225 * debug/vsprintf_chk.c: Likewise.
5226 * malloc/mtrace.c: Likewise.
5227 * misc/error.c: Likewise.
5228 * misc/syslog.c: Likewise.
5229 * stdio-common/asprintf.c: Likewise.
5230 * stdio-common/fxprintf.c: Likewise.
5231 * stdio-common/getw.c: Likewise.
5232 * stdio-common/isoc99_fscanf.c: Likewise.
5233 * stdio-common/isoc99_scanf.c: Likewise.
5234 * stdio-common/isoc99_vfscanf.c: Likewise.
5235 * stdio-common/isoc99_vscanf.c: Likewise.
5236 * stdio-common/isoc99_vsscanf.c: Likewise.
5237 * stdio-common/printf-prs.c: Likewise.
5238 * stdio-common/printf_fp.c: Likewise.
5239 * stdio-common/printf_fphex.c: Likewise.
5240 * stdio-common/printf_size.c: Likewise.
5241 * stdio-common/putw.c: Likewise.
5242 * stdio-common/scanf.c: Likewise.
5243 * stdio-common/sprintf.c: Likewise.
5244 * stdio-common/tmpfile.c: Likewise.
5245 * stdio-common/vfprintf.c: Likewise.
5246 * stdio-common/vfscanf.c: Likewise.
5247 * stdlib/strfmon_l.c: Likewise.
5248 * sunrpc/openchild.c: Likewise.
5249 * sunrpc/xdr_stdio.c: Likewise.
5250 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5251 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5252
d6c33fda
RM
52532012-05-24 Roland McGrath <roland@hack.frob.com>
5254
c1487492
RM
5255 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5256
5257 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5258 in the third column, to generate for the shared library an IFUNC
5259 that uses _dl_vdso_vsym.
5260 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5261 * Makeconfig (object-suffixes-noshared): New variable.
5262
5263 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5264 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5265 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5266 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5267
d6c33fda
RM
5268 [BZ #14132]
5269 * include/sys/time.h (__gettimeofday): Remove macro.
5270 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5271 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5272 Remove INTDEF.
5273 (__gettimeofday): Add libc_hidden_def.
5274 (gettimeofday): Add libc_hidden_weak.
5275 * sysdeps/mach/gettimeofday.c: Likewise.
5276 * sysdeps/posix/gettimeofday.c: Likewise.
5277 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5278 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5279 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5280 (__gettimeofday_internal): Remove strong_alias.
5281 (__gettimeofday): Add libc_hidden_def.
5282 (gettimeofday): Add libc_hidden_weak.
5283 * sysdeps/unix/syscalls.list (gettimeofday):
5284 Remove __gettimeofday_internal alias.
5285
b5a2bbe6
L
52862012-05-24 Daniel Jacobowitz <drow@false.org>
5287 H.J. Lu <hongjiu.lu@intel.com>
5288
5289 [BZ #12495]
5290 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5291 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5292 (largebin_index_32_big): New.
5293 (largebin_index): Use it for 16-byte alignment.
5294 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5295 correction with front_misalign.
5296
cfba4fda
L
52972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5298
7f907421
L
5299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5301 Likewise.
5302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5303 Likewise.
5304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5305 Likewise.
5306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5307 Likewise.
5308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5309 Likewise.
5310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5311 Likewise.
5312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5313 Likewise.
5314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5315 Likewise.
5316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5317 Likewise.
5318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5319 Likewise.
5320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5321 Likewise.
5322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5323 Likewise.
5324
cfba4fda
L
5325 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5326 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5327
80bad0cc
JM
53282012-05-24 Joseph Myers <joseph@codesourcery.com>
5329
7a25eb06
JM
5330 [BZ #10846]
5331 [BZ #14036]
5332 * math/libm-test.inc (exp_test): Add test from bug 14036.
5333 (pow_test): Add test from bug 10846.
5334
795405f9
JM
5335 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5336 and other flags.
5337 (special_function): Do not include flags in test name.
5338 (parse_args): Likewise.
5339 * sysdeps/i386/fpu/libm-test-ulps: Update.
5340 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5341 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5342 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5344
80bad0cc
JM
5345 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5346 exceptions.
5347 * math/libm-test.inc ("Philosophy"): Update comment about
5348 exception testing.
5349 (UNDERFLOW_EXCEPTION): New macro.
5350 (UNDERFLOW_EXCEPTION_OK): Likewise.
5351 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5352 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5353 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5354 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5355 (INVALID_EXCEPTION_OK): Update value.
5356 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5357 (OVERFLOW_EXCEPTION_OK): Likewise.
5358 (IGNORE_ZERO_INF_SIGN): Likewise.
5359 (test_exceptions): Handle underflow exceptions.
5360 (acos_test): Update for underflow exception expectations.
5361 (cexp_test): Likewise.
5362 (clog_test): Likewise.
5363 (clog10_test): Likewise.
5364 (csqrt_test): Likewise.
5365 (ctan_test): Likewise.
5366 (ctanh_test): Likewise.
5367 (exp_test): Likewise.
5368 (exp10_test): Likewise.
5369 (exp2_test): Likewise.
5370 (expm1_test): Likewise.
5371 (fma_test): Likewise.
5372 (j0_test): Likewise.
5373 (jn_test): Likewise.
5374 (nexttoward_test): Likewise.
5375 (pow_test): Likewise.
5376 (scalbn_test): Likewise.
5377 (scalbln_test): Likewise.
5378 (tan_test): Likewise.
5379 (y1_test): Likewise.
5380 * sysdeps/i386/fpu/libm-test-ulps: Update.
5381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5382
9e0e3d0b
DM
53832012-05-23 David S. Miller <davem@davemloft.net>
5384
5385 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5386 (__libc_sigaction): Remove unused local variables.
5387
ccd0a08f
L
53882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5389
5390 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5391
62bdf9a6
PE
53922012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5393
f8591f80
PE
5394 mktime: avoid signed integer overflow
5395 * time/mktime.c (__mktime_internal): Do not mishandle the case
5396 where diff == INT_MIN.
5397
94c7d826
PE
5398 mktime: simplify computation of average
5399 * time/mktime.c (ranged_convert): Use new time_t_avg function
5400 instead of rolling our own (probably-slower) code.
5401
ce73d683
PE
5402 mktime: do not assume signed right shift propagates sign bit
5403 * time/mktime.c (isdst_differ): New static function.
5404 (__mktime_internal): No need to normalize tm_isdst now.
5405 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5406 tm_isdst values.
5407
72a22e59
PE
5408 mktime: merge another wrapv change from gnulib
5409 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5410 from some compilers.
5411
68605433
PE
5412 mktime: remove incorrect attempt at unusual arithmetics
5413 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5414 The code didn't really work on such machines anyway.
5415 (TYPE_MINIMUM): Assume two's complement.
5416 (twos_complement_arithmetic): Verify that long_int and time_t
5417 are two's complement (or unsigned, in the latter case).
5418
03cf7fe3
PE
5419 mktime: check signed shifts on long_int and time_t, too
5420 * time/mktime.c (SHR): Check that shifts work as desired
5421 on the types long_int and time_t too, as SHR is used on
5422 such types.
5423
f04dfbc2
PE
5424 mktime: do not assume 'long' is wide enough
5425 * time/mktime.c (verify): Move decl up.
5426 (long_int): New type.
5427 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5428 to remove assumption in the code that 'long' is wide enough to
5429 store year values. This assumption is not true on x32 and on
5430 some non-glibc platforms.
5431
62bdf9a6
PE
5432 mktime: merge wrapv change from gnulib
5433 * time/mktime.c (WRAPV): New macro.
5434 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5435 (guess_time_tm, __mktime_internal): Do not assume that signed
5436 integer overflow wraps around; modern compilers generate code
5437 where this assumption is no longer valid.
5438
5e292e4f
L
54392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5440
5441 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5442 Replace "jmp L(pseudo_end)" with "ret".
5443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5444 Likewise.
5445
8caf8c87
AJ
54462012-05-23 Andreas Jaeger <aj@suse.de>
5447
5448 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5449 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5450
1a09dc56
AJ
54512012-05-23 Andreas Jaeger <aj@suse.de>
5452 Maximilian Attems <max@stro.at>
5453
5454 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5455 New macros.
5456
1c87aba0
L
54572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5458
5459 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5460 code so that pseudo_end is just ret and the stack pointer is
5461 correct also for static library in error case.
5462
40e45bd5
JM
54632012-05-23 Joseph Myers <joseph@codesourcery.com>
5464
c2670533
JM
5465 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5466 move to syscalls.list.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5471
40e45bd5
JM
5472 * manual/install.texi (Running make install): Do not mention Linux
5473 kernel version for which pt_chown is not needed.
5474 (Linux): Do not mention problems with nscd with 2.0 kernels.
5475 * INSTALL: Regenerated.
5476
be08eda5
AJ
54772012-05-23 Andreas Jaeger <aj@suse.de>
5478
5479 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5480 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5481 macro.
5482 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5483 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5484 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5485 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5486 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5487 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5488 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5489 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5490 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5491 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5492 * sysdeps/unix/sysv/linux/bits/in.h
5493 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5494
a6a056bb
RM
54952012-05-22 Roland McGrath <roland@hack.frob.com>
5496
5497 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5498 (PREPARE_VERSION): Just use assert instead, it will be elided
5499 under [NDEBUG] anyway.
5500
c9009328
L
55012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5502
5503 * sysdeps/unix/sysv/linux/Makefile: Include
5504 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5505 (sysdep_routines): Remove sysctl.
c9009328
L
5506 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5507 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5508 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5509 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5510 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5511
73338355
AJ
55122012-05-22 Andreas Jaeger <aj@suse.de>
5513
5514 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5515 that pseudo_end is just ret and the stack pointer is correct also
5516 for static library in error case.
5517
d44638b0
PP
55182012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5519
5520 [BZ #14122]
5521 * nss/nsswitch.c (defconfig_entries): New variable.
5522 (__nss_database_lookup): Don't leak defconfig entries.
5523 (nss_parse_service_list): Don't leak on error paths.
5524 (free_database_entries): New function.
5525 (free_defconfig): New function.
5526 (free_mem): Move common code to free_database_entries.
5527
31a39bd8
L
55282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5529
da0331a8
L
5530 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5531 Add arch_prctl.
5532 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5533
31a39bd8
L
5534 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5535 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5537 New macro.
5538 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5539 (INTERNAL_SYSCALL_TYPES): Likewise.
5540 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5541 (LOAD_REGS_TYPES_[1-6]): Likewise.
5542 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5543 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5544
45470df3
AZ
55452012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5546
5547 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5548 copysignl for GLIBC_2_0.
5549 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5550 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5551 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5552 logbl for GLIBC_2_0.
5553 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5554 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5555
98a61bcb
L
55562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5557
a4f6e481
L
5558 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5559 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5560
f63d5db6
L
5561 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5562 Use "neg %eax".
5563
98a61bcb
L
5564 * time/mktime.c: Update copyright years.
5565
95770f14
PE
55662012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5567
6226efbd
PE
5568 mktime: merge comment-quoting-style change from gnulib
5569 * time/mktime.c: Quote 'like this' in comments.
5570 The GNU coding standards suggest that we no longer quote `like this',
5571 as "`" and "'" are typically rendered asymmetrically nowadays.
5572 The typical gnulib style is to quote 'like this' when quoting
5573 code, and "like this" when quoting English.
5574
b99e4f78
PE
5575 * time/mktime.c (compile-command): Add "-I.".
5576
643e01e6
PE
5577 mktime: merge mktime-internal.h change from gnulib
5578 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5579
2554247d
PE
5580 mktime: merge time_r change from gnulib
5581 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5582
826dd0ab
PE
5583 mktime: merge DEBUG change from gnulib
5584 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5585 case system <time.h> has a #define.
5586
bd83aabe
PE
5587 mktime: merge <sys/types.h> change from gnulib
5588 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5589 since <time.t> is now guaranteed to define time_t.
5590
95770f14
PE
5591 mktime: merge HAVE_CONFIG_H change from gnulib
5592 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5593
5e1a27a9
L
55942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5595
0e44a77e
L
5596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5597 Use "neg %eax".
5598
5e1a27a9
L
5599 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5600 __rlim_t cast.
5601 (struct rusage): Use anonymous union to pad each field to
5602 __syscall_slong_t.
5603
46259bec
DM
56042012-05-21 David S. Miller <davem@davemloft.net>
5605
5606 * Makefules (o-iterator): Remove .s cases.
5607 (compile-command.s): Delete.
5608 (COMPILE.s): Delete.
5609 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5610
59f0c22e
JM
56112012-05-21 Joseph Myers <joseph@codesourcery.com>
5612
5613 * configure.in (libc_cv_predef_stack_protector): Only consider
5614 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5615 * configure: Regenerated.
5616
20c07380
L
56172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5618
bbb3154b
L
5619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5620 New macro. Use R*LP on int and pointer.
5621 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5622 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5623 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5624 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5625
20c07380
L
5626 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5627 [__WORDSIZE_TIME64_COMPAT32] instead of
5628 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5629 (struct utmp): Likewise.
5630 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5631 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5632 Renamed to ...
5633 (__WORDSIZE_TIME64_COMPAT32): This.
5634 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5635 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5636 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5637 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5638 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5639 (__WORDSIZE_TIME64_COMPAT32): New macro.
5640
d8d1017e
AJ
56412012-05-21 Andreas Jaeger <aj@suse.de>
5642
5643 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5644 only if [SHARED]. Add prototype for __wcschr_ia32.
5645
6c7fb145
RM
56462012-05-21 Roland McGrath <roland@hack.frob.com>
5647
5648 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5649 of %rbp unmolested in the jmp_buf while mangling the low bits.
5650 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5651 unmolested high bits of %rbp while demangling the low bits.
5652 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5653
66274218
AJ
56542012-05-21 Andreas Jaeger <aj@suse.de>
5655
07c58f8f
AJ
5656 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5657 * sunrpc/svc_simple.c: Use it for registerrpc.
5658 * sunrpc/xcrypt.c: Use it for passwd2des.
5659
66274218
AJ
5660 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5661
61f65140
L
56622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5663
5664 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5665 Don't define if [__SYSCALL_WORDSIZE != 32].
5666 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5667 New macro.
5668
5fefb436
AJ
56692012-05-21 Bruno Haible <bruno@clisp.org>
5670 Andreas Jaeger <aj@suse.de>
5671
5672 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5673 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5674 inptr and inend for must_buffer_ch.
5675 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5676 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5677 * stdio-common/Makefile (tests): Remove bug15.
5678 (bug15-ENV): Remove macro.
5679 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5680 anymore.
5681
d8e272ab
AJ
56822012-05-19 Andreas Jaeger <aj@suse.de>
5683 Roland McGrath <roland@hack.frob.com>
5684
5685 * manual/contrib.texi: Completely rewritten. It contains now an
5686 alphabetical list of contributors and their contributions.
5687
4a56a162
RH
56882012-05-21 Richard Henderson <rth@twiddle.net>
5689
5690 * misc/getauxval.c (__getauxval): Use unsigned long int.
5691 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5692 (getauxval): Use unsigned long int.
5693
d024d23c
L
56942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5695
5696 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5697
cbc00a03
RM
56982012-05-21 Roland McGrath <roland@hack.frob.com>
5699
5700 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5701 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5702 __alignof__ (long double).
5703
478143fa
AZ
57042012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5705
5706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5707
c7683a6d
RH
57082012-05-20 Richard Henderson <rth@twiddle.net>
5709
5710 * misc/getauxval.c: New file.
5711 * misc/sys/auxv.h: New file.
5712 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5713 (routines): Add getauxval.
5714 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5715 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5716 * elf/dl-sysdep.c (_dl_auxv): Remove.
5717 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5718 * elf/dl-support.c (_dl_auxv): New variable.
5719 (_dl_aux_init): Initialize it.
5720 * manual/startup.texi (Auxiliary Vector): New node.
5721 * sysdeps/generic/bits/hwcap.h: New file.
5722 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5723 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5724 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5725 * sysdeps/sparc/sysdep.h: ... here. Include it.
5726 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5727 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5729 Update.
c7683a6d
RH
5730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5733 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5738
a6f1845d
AZ
57392012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5740
5741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5742
cbcbe830
DM
57432012-05-19 David S. Miller <davem@davemloft.net>
5744
5745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5746
e0b16cc2
JM
57472012-05-19 Joseph Myers <joseph@codesourcery.com>
5748
5749 [BZ #14123]
5750 * math/s_ccosh.c: Include <float.h>
5751 (__ccosh): Avoid internal overflow calculating sinh and cosh
5752 values before multiplying by sin and cos values.
5753 * math/s_ccoshf.c: Likewise.
5754 * math/s_ccoshl.c: Likewise.
5755 * math/s_csin.c: Likewise.
5756 * math/s_csinf.c: Likewise.
5757 * math/s_csinl.c: Likewise.
5758 * math/s_csinh.c: Likewise.
5759 * math/s_csinhf.c: Likewise.
5760 * math/s_csinhl.c: Likewise.
5761 * math/libm-test.inc (ccos_test): Add more tests.
5762 (ccosh_test): Likewise.
5763 (csin_test): Likewise.
5764 (csinh_test): Likewise.
5765 * sysdeps/i386/fpu/libm-test-ulps: Update.
5766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5767
6ad13e08
L
57682012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5769
f66f0ce8
L
5770 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5771 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5772
6ad13e08
L
5773 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5774
b1d072a7
JM
57752012-05-19 Joseph Myers <joseph@codesourcery.com>
5776
5777 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5778 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5779 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5780 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5781 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5782 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5783 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5784 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5785 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5786 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5787 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5788 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5789 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5790 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5791 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5792 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5793 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5794 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5795 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5796 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5797 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5798 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5799 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5800 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5801 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5802 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5803 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5804 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5805 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5806 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5807 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5808
9eae47cb
AJ
58092012-05-18 Andreas Jaeger <aj@suse.de>
5810
5811 * csu/.gitignore: Delete.
5812
bb07f69f
L
58132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5814
5815 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5816 (timex): Use __syscall_slong_t.
5817
e6bdb741
AJ
58182012-05-18 Andreas Jaeger <aj@suse.de>
5819 Carlos O'Donell <carlos_odonell@mentor.com>
5820
5821 * manual/install.texi (Configuring and compiling): Update
5822 description about files modified in the source directory.
d6c33fda 5823 * INSTALL: Regenerated.
e6bdb741 5824
1b74487e
L
58252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5826
5827 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5828 value. Use "or" to set return value to -1.
5829 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5830 negate return value.
5831
a88b64b9
TMQMF
58322012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5833
5834 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5835 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5836 failure if the compiler has Graphite support disabled.
5837 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5838 Likewise.
5839 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5840 CFLAGS-memmove.c): Likewise.
5841 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5842 Likewise.
5843
3707636e
L
58442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5845
610b8622
L
5846 * sysdeps/x86_64/x32/_itoa.h: New file.
5847
7cd195df
L
5848 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5849 getdents system call only if kernel and user dirents have the
5850 same d_ino and d_off.
5851
94b07d20
L
5852 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5853 LLONG_MAX != LONG_MAX.
5854 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5855 (_fitoa_word): Likewise.
5856
18298070
L
5857 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5858 years.
5859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5860 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5861 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5862
553c7ea4
L
5863 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5864 include <bits/wordsize.h>. Check __x86_64__ instead of
5865 __WORDSIZE.
5866 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5867 if __x86_64__ is defined. Use anonymous union on fpstate.
5868
3707636e
L
5869 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5870 anonymous union.
5871
b53ef01a
AS
58722012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5873
37fb1dc0
AS
5874 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5875 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5876 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5877 Refer to _rtld_local_ro instead of _rtld_global_ro.
5878 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5879 Likewise.
5880 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5881 Likewise.
5882 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5883 Likewise.
5884 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5885 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5886 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5887
b53ef01a
AS
5888 * sysdeps/powerpc/powerpc32/dl-machine.c
5889 (__elf_machine_runtime_setup) [PROF]: Don't reference
5890 _dl_prof_resolve.
5891
7a185db2
AJ
58922012-05-18 Andreas Jaeger <aj@suse.de>
5893
5894 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5895 function only available for GCCs before 3.4 since GCC 3.4
5896 introduced a builtin.
5897 (lrint): Likewise.
5898 (llrintf): Likewise.
5899 (llrint): Likewise.
5900 (fmaxf): Likewise.
5901 (fmax): Likewise.
5902 (fminf): Likewise.
5903 (fmin): Likewise.
5904 (rint): Likewise.
5905 (rintf): Likewise.
5906 (nearbyint): Likewise.
5907 (nearbyintf): Likewise.
5908 (ceil): Likewise.
5909 (ceilf): Likewise.
5910 (floor): Likewise.
5911 (floorf): Likewise.
5912
3e5aef87
L
59132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5914
428bd707
L
5915 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5916 on both fields and cast pointer to __syscall_ulong_t.
5917
3e5aef87
L
5918 * bits/types.h (__fsword_t): New type.
5919 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5920 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5922 (__FSWORD_T_TYPE): Likewise.
5923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5924 (__FSWORD_T_TYPE): Likewise.
5925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5926 (__FSWORD_T_TYPE): Likewise.
5927 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5928 (__FSWORD_T_TYPE): Likewise.
5929 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5930 __SWORD_TYPE with __fsword_t.
5931 (statfs64): Likewise.
5932
1ba7c3dc
DM
59332012-05-17 David S. Miller <davem@davemloft.net>
5934
5935 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5936
59910343
AJ
59372012-05-17 Andreas Jaeger <aj@suse.de>
5938
5939 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5940 warning.
5941
2e4c1e9e
L
59422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5943
5944 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5945
de7f5ce7
AJ
59462012-05-17 Andreas Jaeger <aj@suse.de>
5947
5948 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5949 when it is used.
5950
286abc3d
CM
59512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5952
5953 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5954
477cc68e
L
59552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5956
5957 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5958 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5959
1a0994f5
CD
59602012-05-17 Andreas Jaeger <aj@suse.de>
5961 Carlos O'Donell <carlos_odonell@mentor.com>
5962
5963 [BZ #14059]
5964 * sysdeps/x86_64/multiarch/init-arch.h
5965 (bit_YMM_Usable): Rename to...
5966 (bit_AVX_Usable): ... this.
5967 (bit_FMA4_Usable): New macro.
5968 (bit_XMM_state): New macro.
5969 (bit_YMM_state): New macro.
5970 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5971 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5972 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5973 (CPUID_OSXSAVE): New macro.
5974 (CPUID_AVX): New macro.
5975 (CPUID_FMA4): New macro.
5976 (index_YMM_Usable): Rename to...
5977 (index_AVX_Usable): ... this.
5978 (HAS_AVX): Use HAS_ARCH_FEATURE.
5979 (HAS_FMA4): Likewise.
5980 (HAS_YMM_USABLE): Remove.
5981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5982 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5983 are present.
5984 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5985 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5986 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5987 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5988 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5989
0af797de
CM
59902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5991
5992 * math/libm-test.c: Support platforms without multiple rounding modes.
5993 * math/bug-nextafter.c: Support platforms without FP exceptions.
5994 * math/bug-nexttoward.c: Likewise.
5995 * math/test-fenv.c: Likewise.
5996 * math/test-misc.c: Likewise.
5997 * stdlib/bug-getcontext.c: Likewise.
5998
e39745ff
AJ
59992012-05-17 Andreas Jaeger <aj@suse.de>
6000
6001 * manual/examples/search.c (critter_cmp): Change signature to
6002 avoid warnings.
6003 * manual/string.texi (Collation Functions): Likewise.
6004
48970aba
L
60052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6006
6007 * bits/types.h: Fold copyright years.
6008 * bits/typesizes.h: Likewise.
6009 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6012 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6013 * time/time.h: Likewise.
6014
bedee953
PP
60152012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6016
6017 [BZ #208]
6018 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6019 in instead of returning them. Return void.
6020 (__libc_mallinfo): Accumulate over all arenas.
6021 (__malloc_stats): Adjust for change in int_mallinfo interface.
6022
61653dfb
RM
60232012-05-16 Roland McGrath <roland@hack.frob.com>
6024
30b99d79
RM
6025 [BZ #10375]
6026 * configure.in (NM): Add AC_CHECK_TOOL for it.
6027 (libc_extra_cflags): New substituted variable.
6028 Check for -fstack-protector being used implicitly.
6029 * configure: Regenerated.
6030 * config.make.in (config-extra-cflags): New variable,
6031 gets @libc_extra_cflags@.
6032 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6033
61653dfb
RM
6034 [BZ #10375]
6035 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6036 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6037 * configure: Regenerated.
6038 * config.make.in (CPPUNDEFS): New substituted variable.
6039 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6040 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6041 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6042
661768bb
L
60432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6044
6045 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6046 (mq_attr): Use __syscall_slong_t.
6047
d4261567
L
60482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6049
6050 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6051 Check __x86_64__ instead of __WORDSIZE.
6052 (_STAT_VER_LINUX): Likewise.
6053 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6054 __syscall_ulong_t and __syscall_slong_t.
6055 (stat64): Likewise.
6056
cf3ff365
L
60572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6058
6059 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6060
76cf3e4d
L
60612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6062
6063 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6064
a637753a
L
60652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6066
6067 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6068 __syscall_ulong_t.
6069
d5e05119
L
6070 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6071 include <bits/wordsize.h>. Check __x86_64__ instead of
6072 __WORDSIZE.
6073 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6074 defined.
6075 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6076
f62ee380
L
6077 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6078 include <bits/wordsize.h>. Check __x86_64__ instead of
6079 __WORDSIZE.
6080 (user_regs_struct): Use "__extension__ unsigned long long"
6081 instead of "unsigned long" if __x86_64__ is defined.
6082 (user): Likewise. Pad after pointer field if __ILP32__ is
6083 defined.
6084
4e124ced
JM
60852012-05-16 Joseph Myers <joseph@codesourcery.com>
6086
6a3951a0
JM
6087 * configure.in (makeinfo): Require version 4.5 or later. Allow
6088 versions 5 to 9.
6089 * configure: Regenerated.
6090 * manual/install.texi (texinfo): Increase version requirement to
6091 4.5 or later.
6092 * INSTALL: Regenerated.
6093
4e124ced
JM
6094 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6095
953ca31a
L
60962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6097
6098 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6099
617aca05
L
6100 * sysdeps/x86_64/x32/ffs.c: New file.
6101
5762f7ae
L
6102 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6103 __syscall_ulong_t.
6104 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6105 defined. Use __syscall_ulong_t.
6106 (shminfo): Use __syscall_ulong_t.
6107 (shm_info): Likewise.
6108
a26b6856
L
6109 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6110 __syscall_ulong_t.
6111
cb2b9ef7
L
6112 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6113 <bits/wordsize.h>.
6114 (msgqnum_t): Use __syscall_ulong_t.
6115 (msglen_t): Likewise.
6116 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6117 __syscall_ulong_t.
6118
34683bb0
L
6119 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6120 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6121
84a68786
L
6122 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6123
48baa5f1
L
6124 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6125 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6126
180be88b
L
6127 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6128 __syscall_slong_t.
6129
5e90c8ad
L
6130 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6131 include <bits/wordsize.h>. Check __x86_64__ instead of
6132 __WORDSIZE.
6133
23dfb58b
L
6134 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6135 "unsigned long long int" if __x86_64__ is defined.
6136 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6137
ce5d54b0
L
6138 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6139 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6140 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6141
13dc9eac
L
6142 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6143 <stdint.h>.
6144 (GET_PC): Cast to uintptr_t first.
6145 (GET_FRAME): Likewise.
6146 (GET_STACK): Likewise.
6147
a7895d15
L
6148 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6149 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6150 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6151 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6152 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6153 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6154 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6155 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6156 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6157 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6158 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6159 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6160 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6161 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6162 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6163 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6164 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6165 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6166 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6167 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6168 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6169 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6170 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6171 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6172 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6173 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6174 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6175 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6176 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6177
656416c9
AS
61782012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6179
5bd66283
AS
6180 * Makerules (+depfiles): Also collect depfiles from .oS in
6181 $(extra-objs).
6182 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6183 .oS, $(libnldbl-routines)).
6184
656416c9
AS
6185 * Makerules (native-compile-mkdep-flags): Define.
6186 * sunrpc/Makefile (extra-objs): Add $(addprefix
6187 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6188 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6189 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6190 calling $(make-target-directory).
6191
a46f2169
L
61922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6193
6194 * bits/types.h (__snseconds_t): Removed.
6195 * time/time.h (struct timespec): Replace __snseconds_t with
6196 __syscall_slong_t.
6197 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6198 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6199 Likewise.
6200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6201 (__SNSECONDS_T_TYPE): Likewise.
6202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6203 (__SNSECONDS_T_TYPE): Likewise.
6204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6205 (__SNSECONDS_T_TYPE): Likewise.
6206
6af6528b
L
62072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6208
6209 * sysdeps/mach/hurd/bits/typesizes.h
6210 (__SYSCALL_SLONG_TYPE): New macro.
6211 (__SYSCALL_ULONG_TYPE): Likewise.
6212
de986b56
L
62132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6214
6215 * bits/types.h (__syscall_slong_t): New type.
6216 (__syscall_ulong_t): Likewise.
6217
6218 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6219 (__SYSCALL_ULONG_TYPE): Likewise.
6220 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6221 (__SYSCALL_SLONG_TYPE): Likewise.
6222 (__SYSCALL_ULONG_TYPE): Likewise.
6223 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6224 (__SYSCALL_SLONG_TYPE): Likewise.
6225 (__SYSCALL_ULONG_TYPE): Likewise.
6226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6227 (__SYSCALL_SLONG_TYPE): Likewise.
6228 (__SYSCALL_ULONG_TYPE): Likewise.
6229
85736dc7
L
62302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6231
6232 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6233 Add sigaltstack-offsets.sym.
6234 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6235 <sigaltstack-offsets.h>.
6236 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6237 longjmp_msg pointer.
6238 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6239 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6240 signal stack.
6241 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6242
cc03b296
JM
62432012-05-15 Joseph Myers <joseph@codesourcery.com>
6244
a9538892
JM
6245 * elf/stackguard-macros.h: Remove file.
6246 * sysdeps/generic/stackguard-macros.h: New file.
6247 * sysdeps/i386/stackguard-macros.h: Likewise.
6248 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6249 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6250 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6251 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6252 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6253 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6254 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6255 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6256 <elf/stackguard-macros.h>.
6257
cc03b296
JM
6258 [BZ #14109]
6259 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6260 __aligned__ in attribute.
6261 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6262 (gregset_t): Likewise.
6263
93171016
L
62642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6265
6266 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6267 * sysdeps/x86_64/64/Implies-after: Here. New file.
6268 * sysdeps/x86_64/x32/Implies-after: New file.
6269
d86813a0
L
62702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6271
6272 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6273 and access return value for _dl_profile_fixup. Use R10_LP to
6274 load frame size.
6275
2953ec75
L
62762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6277
6278 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6279
3b550e9e
L
62802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6281
6282 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6283 * sysdeps/x86_64/x32/sysdep.h: New file.
6284
eda41706
L
62852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6286
6287 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6288 * sysdeps/x86_64/setjmp.S: Likewise.
6289
9ea01d93
AZ
62902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6291
6292 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6293 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6294 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6295 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6296 remove unused global constant.
6297
02a91938
CM
62982012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6299
6300 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6301 include of <not-cancel.h>.
6302
6540185f
RM
63032012-05-15 Roland McGrath <roland@hack.frob.com>
6304
6305 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6306
509072a0
AJ
63072012-05-15 Jeff Law <law@redhat.com>
6308 Andreas Jaeger <aj@suse.de>
6309
6310 [BZ #13594]
6311 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6312 out from...
6313 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6314 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6315 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6316 code changing __hst_map_handle.map.
6317
ba75122d
RM
63182012-05-15 Roland McGrath <roland@hack.frob.com>
6319
6320 * configure.in (sysnames): Look for Implies-before and Implies-after
6321 files.
6322 * configure: Regenerated.
6323
890d8bd8
L
63242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6325
6326 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6327 8-byte data alignment with LP_SIZE alignment.
6328
f6ee6623
L
63292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6330
6331 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6332 into R10_LP.
6333
ea2626f6
L
63342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6335
6336 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6337
085f715e
L
63382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6339
6340 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6341 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6342 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6343 Likewise.
6344 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6345
be8498fc
L
63462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6347
6348 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6349 (stackinfo_sub_sp): Likewise.
6350
70bc83b9
L
63512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6352
6353 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6354 RAX_LP.
6355
9bc0b730
L
63562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6357
6358 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6359 into R*_LP.
6360
6d2850e7
L
63612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6362
6363 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6364 sizes into R*_LP.
6365
3cb84561
L
63662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6367
6368 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6369
54e2ed81
L
63702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6371
6372 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6373 into R11_LP and load __x86_64_shared_cache_size_half into
6374 R8_LP.
6375
8a17f349
L
63762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6377
6378 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6379 R8_LP.
6380
777b1eea
AZ
63812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6382
6383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6384 logb for POWER7.
6385 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6386 logbf for POWER7.
6387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6388 logbl for POWER7.
6389 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6390 powerpc32/power7/fpu/s_logb.c via #include.
6391 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6392 powerpc32/power7/fpu/s_logbf.c via #include.
6393 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6394 powerpc32/power7/fpu/s_logbl.c via #include.
6395
d20d4ac2
JM
63962012-05-15 Joseph Myers <joseph@codesourcery.com>
6397
6398 * README.libm: Remove file.
6399
6cdef1ab
L
64002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6401
6402 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6403 count for x32. Use R*_LP and omit operand-size suffix.
6404
0b254d8f
L
64052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6406
6407 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6408 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6409 * sysdeps/x86_64/x32/shlib-versions: New file.
6410
ceb809dc
RM
64112012-05-14 Roland McGrath <roland@hack.frob.com>
6412
6413 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6414 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6415 Use _dl_fatal_printf instead.
6416
37f1abd4
JM
64172012-05-14 Joseph Myers <joseph@codesourcery.com>
6418
6419 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6420 set if not set by the user. Do not allow for being unset.
6421 * sysdeps/unix/sysv/linux/configure: Regenerated.
6422
11de3a33
L
64232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6424
6425 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6426 the `q' suffix from lea and replace .quad with ASM_ADDR.
6427
e02f153a
L
64282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6429
6430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6431 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6432 instead of $17.
6433 (PTR_DEMANGLE): Likewise.
6434
520ae0fd
L
64352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6436
6437 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6438 (LP_OP): Likewise.
6439 (ASM_ADDR): Likewise.
6440 (RAX_LP): Likewise.
6441 (RBP_LP): Likewise.
6442 (RBX_LP): Likewise.
6443 (RCX_LP): Likewise.
6444 (RDI_LP): Likewise.
6445 (RSI_LP): Likewise.
6446 (RSP_LP): Likewise.
6447 (R8_LP): Likewise.
6448 (R9_LP): Likewise.
6449 (R10_LP): Likewise.
6450 (R10_LP): Likewise.
6451 (R11_LP): Likewise.
6452 (R12_LP): Likewise.
6453 (R13_LP): Likewise.
6454 (R14_LP): Likewise.
6455 (R15_LP): Likewise.
6456
b985be81
L
64572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6458
6459 * sysdeps/x86_64/x32/dl-machine.h: New file.
6460
6a4888ff
AJ
64612012-05-14 Andreas Jaeger <aj@suse.de>
6462
6463 * manual/Makefile (subdir): Remove export of subdir.
6464 (all): Remove target.
6465 (.PHONY): Remove all from list.
6466 (mkinstalldirs): Remove.
6467 (.PHONY): Remove installdirs from list.
6468 ($(inst_infodir)/libc.info): Use make-target-directory.
6469 (installdirs): Remove.
6470 (subdir_%): Remove.
6471 (glibc-targets): Remove.
6472 (lib): Remove.
6473 (stubs): Remove.
6474 ($(objpfx)stubs ../po/manual.pot): Remove.
6475 ($(objpfx)stamp%): Remove.
6476 (make-target-directory): Remove.
6477 (subdir_install): Remove.
6478 (routines): Remove.
6479 (aux): Remove.
6480 (sources): Remove.
6481 (objects): Remove.
6482 (headers): Remove.
6483
6484 [BZ #13750]
6485 * manual/.gitignore: Remove, it's not needed anymore.
6486 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6487 all files in it.
6488 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6489 directory.
6490 (texis): Renamed to $(objpfx)texis.
6491 (texis-path): New, contains path to generated files.
6492 (chapters.%): Use texis-path for complete path, add extra argument
6493 libc-texinfo.sh.
6494 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6495 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6496 (summary,texi, stamp-summary): Use complete path of
6497 files. Generate files in build dir.
6498 (dir-add.texi): Build in build dir.
6499 (libm-err.texi,stamp-libm-err): Likewise.
6500 (version.texi, stamp-version): Likewise.
6501 (.%c.texi): Likewise.
6502 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6503 (mostlyclean): Remove target.
6504 (realclean): Remove target.
6505 (generated): Add new variable with contents from mostlyclean and
6506 realclean, remove entries duplicated in common-mostlyclean, add
6507 stamp-libm-err and stamp-version.
6508 (generated-dirs): Add libc directory.
6509 ($(inst_infodir)/libc.info): Install files from build dir.
6510
6511 * manual/install.texi (Configuring and compiling): Adjust since
6512 the info files are not part of the tar ball anymore.
6513
7ac77294
AJ
65142012-05-14 Andreas Jaeger <aj@suse.de>
6515
6516 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6517 variable.
6518
ffb7875d
JM
65192012-05-14 Joseph Myers <joseph@codesourcery.com>
6520
6521 [BZ #13717]
6522 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6523 to 2.2.0 where earlier.
6524 * sysdeps/unix/sysv/linux/configure: Regenerated.
6525 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6526 Remove conditional code.
6527 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6528 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6529 Remove conditional code.
6530 [!__NR_lchown]: Likewise.
6531 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6532 [__NR_lchown]: Likewise.
6533 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6534 comment referencing __ASSUME_LCHOWN_SYSCALL.
6535 * sysdeps/unix/sysv/linux/i386/sigaction.c
6536 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6537 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6538 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6539 Remove conditional code.
6540 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6541 (__protocol_available): Remove #if 0 code.
6542 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6543 conditional code.
6544 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6545 * sysdeps/unix/sysv/linux/kernel-features.h
6546 (__ASSUME_GETCWD_SYSCALL): Don't define.
6547 (__ASSUME_REALTIME_SIGNALS): Likewise.
6548 (__ASSUME_PREAD_SYSCALL): Likewise.
6549 (__ASSUME_PWRITE_SYSCALL): Likewise.
6550 (__ASSUME_POLL_SYSCALL): Likewise.
6551 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6552 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6553 non-SPARC.
6554 (__ASSUME_SIOCGIFNAME): Don't define.
6555 (__ASSUME_MSG_NOSIGNAL): Likewise.
6556 (__ASSUME_SENDFILE): Define unconditionally.
6557 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6558 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6559 conditional code.
6560 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6561 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6562 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6563 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6564 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6565 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6566 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6568 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6569 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6571 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6572 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6574 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6575 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6577 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6578 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6580 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6581 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6583 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6584 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6586 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6587 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6589 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6590 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6591 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6592 Remove conditional code.
6593 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6594 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6595 Remove conditional code.
6596 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6597 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6598 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6599 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6600 Remove conditional code.
6601 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6602 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6603 Remove conditional code.
6604 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6605 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6606 Remove conditional code.
6607 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6608 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6609 Remove conditional code.
6610 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6611 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6612 Remove conditional code.
6613 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6614 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6615 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6616 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6617 * sysdeps/unix/sysv/linux/sigaction.c
6618 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6619 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6620 * sysdeps/unix/sysv/linux/sigpending.c
6621 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6622 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6623 * sysdeps/unix/sysv/linux/sigprocmask.c
6624 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6625 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6626 * sysdeps/unix/sysv/linux/sigsuspend.c
6627 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6628 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6629 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6630 (__libc_missing_rt_sigs): Remove.
6631 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6632 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6633 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6634 Remove conditional code.
6635 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6636 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6637 return 1.
6638 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6639 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6640 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6641 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6642
1bfb7291
AJ
66432012-05-14 Andreas Jaeger <aj@suse.de>
6644
caae5a81
AJ
6645 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6646 it's not used in glibc.
6647 (__coshm1): Likewise.
6648 (__acosh1p): Likewise.
6649 (__sgn): Likewise.
6650
1bfb7291
AJ
6651 * manual/string.texi (Copying and Concatenation): Add missing
6652 variable in concat example.
6653 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6654
c044d724
L
66552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6656
144c5467 6657 [BZ #14103]
c044d724
L
6658 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6659 __builtin_clzl with __builtin_clzll.
6660
2523c62b
L
66612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6662
6663 [BZ #14104]
6664 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6665 libc_freeres_ptr.
6666
d7bb4c42
LD
66672012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6668
6669 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6670 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6671 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6672 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6673
9dc4e1fb
MF
66742012-05-14 Mike Frysinger <vapier@gentoo.org>
6675
6676 * NEWS: Update ia64 info.
6677
c7df0112
AS
66782012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6679
6680 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6681 used as bcopy.
6682
dc70356c
TS
66832012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6684
6685 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6686 * sysdeps/unix/syscalls.list (dup3): Likewise.
6687 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6688 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6689
9fb1a21f
L
66902012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6691
6692 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6693 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6694
4822a2a5
L
66952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6696
6697 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6698 thread pointer.
6699 (TLS_IE): Use mov/add instead of movq/addq to load thread
6700 pointer.
6701 (TLS_GD_PREFIX): New.
6702 (TLS_GD): Use it.
6703
842b81d6
DM
67042012-05-11 David S. Miller <davem@davemloft.net>
6705
6706 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6707 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6708 (_FPU_SETCW): Likewise.
6709
1cf463cd
L
67102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6711
6712 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6713 is 32-byte aligned.
6714
60cc4a18
AS
67152012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6716
6717 [BZ #11837]
6718 * iconvdata/gb18030.c: Update tables.
6719 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6720 characters specially.
6721 (BODY for TO_LOOP): Add encoding of missing ranges.
6722
febb44a4
TS
67232012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6724
6725 [BZ #13673]
6726 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6727 * sysdeps/mach/hurd/dup3.c: Likewise.
6728 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6729 * sysdeps/powerpc/memmove.c:: Likewise.
6730
0a10fb9e
L
67312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6732
6733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6734 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6735
df8a552f
L
67362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6737
6738 * elf/elf.h (R_X86_64_RELATIVE64): New.
6739 (R_X86_64_NUM): Updated.
6740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6741 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6742 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6743 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6744 tst-quad1pie tst-quad2pie
6745 (modules-names): Add tst-quadmod1 tst-quadmod2.
6746 ($(objpfx)tst-quad1): New dependency.
6747 ($(objpfx)tst-quad2): Likewise.
6748 ($(objpfx)tst-quad1pie): Likewise.
6749 ($(objpfx)tst-quad2pie): Likewise.
6750 * sysdeps/x86_64/tst-quad1.c: New file.
6751 * sysdeps/x86_64/tst-quad1pie.c: New file.
6752 * sysdeps/x86_64/tst-quad2.c: Likewise.
6753 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6754 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6755 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6756 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6757 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6758
f34d6f84
ST
67592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6760
f42d41d1
ST
6761 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6762 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6763 * streams/stropts.h (t_scalar_t): Define type.
6764
3c3571fc
ST
6765 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6766 (_PATH_PRESERVE): Set to "/var/lib".
6767 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6768
61f06bd3
ST
6769 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6770 instead of int.
6771
918d4d71
ST
6772 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6773 if __dir_mkfile succeeded.
6774
f34d6f84
ST
6775 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6776 checking for _hurd_dtablesize. Unlock it right after having
6777 finished _hurd_dtable allocation.
6778
10589b4a
TS
67792012-05-10 Thomas Schwinge <thomas@schwinge.name>
6780
674cdbc7
TS
6781 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6782 * sysdeps/mach/hurd/configure: Regenerated.
6783 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6784 special-casing to...
6785 * sysdeps/gnu/configure.in: ... this new file.
6786 * sysdeps/unix/sysv/linux/configure: Regenerated.
6787 * sysdeps/gnu/configure: New generated file.
6788
8e41b99f
TS
6789 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6790 for Linux: use nsec instead of usec, as well as:
6791 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6792 members of type struct timespec.
6793 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6794 New macros.
6795 (struct stat64): Likewise.
6796 (_STATBUF_ST_NSEC): New macro.
6797 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6798
10589b4a
TS
6799 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6800 __strtoul_internal rather than strtoul.
6801
63643c85
PT
68022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6803
6804 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6805 and reject them.
6806
3faebe6a
ST
68072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6808
6809 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6810 which preserves existing values.
6811 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6812
c6474b07
PT
68132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6814
6815 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6816 TIMEOUT values. Return EINVAL for NFDS values either negative or
6817 greater than FD_SETSIZE.
6818
1043890b
ST
68192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6820
6821 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6822 allocated, call __vm_protect to finish enabling the existing space, and
6823 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6824 allocate the remainder.
6825
37ed8b9b
PT
68262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6827
6828 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6829 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6830
db653660
ST
68312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6832
37ed8b9b
PT
6833 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6834 sysdeps/mach/hurd/readlink.c.
b29d4053 6835
db653660
ST
6836 * posix/tst-sysconf.c (posix_options): Only use
6837 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6838 _POSIX_SYNCHRONIZED_IO when they are defined
6839 * sysdeps/mach/hurd/bits/posix_opt.h:
6840 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6841 (_XOPEN_REALTIME): Undefine macro.
6842 (_XOPEN_REALTIME_THREADS): Undefine macro.
6843 (_XOPEN_SHM): Undefine macro.
6844 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6845 macro to -1.
6846 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6847 macro to -1.
6848 (_POSIX_ASYNC_IO): Undefine macro.
6849 (_POSIX_PRIORITIZED_IO): Undefine macro.
6850 (_POSIX_SPIN_LOCKS): Define macro to -1.
6851
ee16e894
ST
6852 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6853 SA_NODEFER, SA_RESETHAND.
6854 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6855 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6856 F_DUPFD_CLOEXEC.
6857
6103ae3b
TS
68582012-05-10 Thomas Schwinge <thomas@schwinge.name>
6859
6860 * elf/Makefile (pldd-modules): Define unconditionally.
6861
80b4e5f3
TS
68622012-05-10 Thomas Schwinge <thomas@schwinge.name>
6863
6864 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6865
edadcbd6
ST
68662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6867
6868 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6869 Return ENOENT when name is empty.
6870 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6871
80694780
TS
68722012-05-10 Thomas Schwinge <thomas@schwinge.name>
6873
1792c087
TS
6874 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6875
80694780
TS
6876 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6877
6b645f0d
ST
68782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6879
80694780
TS
6880 Fix mlock in all cases except non-readable pages.
6881 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6882 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6883
6b645f0d
ST
6884 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6885 (__mkdir): When path is `/', just fail with EEXIST.
6886 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6887
e468f8a3
TS
68882012-05-10 Thomas Schwinge <thomas@schwinge.name>
6889
6890 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6891 <sys/uio.h> (for writev).
6892 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6893 and <sys/param.h> (for MIN).
6894
a4186cff
PT
68952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6896
6897 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6898 REQUESTED_TIME. Properly set the remaining time and return EINTR
6899 if interrupted.
6900
510bbf14
TS
69012012-05-10 Thomas Schwinge <thomas@schwinge.name>
6902
6903 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6904 Depend on against $(link-rpcuserlibs).
6905
5d5722e8
ST
69062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6907
a4186cff
PT
6908 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6909 (__libc_stack_end): Do not use attribute_relro.
6910 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6911 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6912 to libthread-provided value.
a4186cff
PT
6913 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6914 attribute_relro.
5d5722e8 6915
37233df9
TS
69162012-05-10 Thomas Schwinge <thomas@schwinge.name>
6917
be971a2b
TS
6918 [BZ #3748]
6919 * bits/libc-lock.h (__libc_once_get): New macro.
6920 * sysdeps/mach/bits/libc-lock.h: Likewise.
6921 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6922 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6923 instead of using implementation details.
6924
37233df9
TS
6925 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6926 * libio/freopen.c: Likewise.
6927 * libio/freopen64.c: Likewise.
6928 * misc/syslog.c: Likewise.
6929 * nscd/connections.c: Likewise.
6930 * nscd/netgroupcache.c: Likewise.
6931 * sysdeps/posix/getcwd.c: Likewise.
6932
38de94a5
RM
69332012-05-10 Roland McGrath <roland@hack.frob.com>
6934
6935 * math/w_ilogbf.c: Add #include <limits.h>.
6936
67530489
ST
69372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6938
a4186cff 6939 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6940 path instead of returning without unlocking.
6941
67530489
ST
6942 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6943 immediate-write ioctls.
6944 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6945
5aa3a74a
TS
69462012-05-10 Thomas Schwinge <thomas@schwinge.name>
6947
18bad2ae
TS
6948 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6949 __builtin_frame_address instead of making assumptions about the
6950 location of the return address relative to DATA. Force early load of
6951 the return address.
6952 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6953 __builtin_frame_address.
6954
5aa3a74a
TS
6955 dup3 for GNU Hurd.
6956 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6957 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6958 implement dup3 and do some further code clean-ups.
6959 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6960 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6961
ecd0de9a
ST
69622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6963
cd9fa985
ST
6964 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6965
a4186cff
PT
6966 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6967 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6968 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6969 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6970 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6971 d->port.lock.
802ca5a5 6972
a4186cff
PT
6973 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6974 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6975 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6976
bcf55240
TS
69772012-05-10 Thomas Schwinge <thomas@schwinge.name>
6978
6960eb42
TS
6979 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6980 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6981 definitions.
6982
eb43375f
TS
6983 accept4 for GNU Hurd.
6984 * include/sys/socket.h (__libc_accept4): New prototype.
6985 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6986 to implement __libc_accept4.
6987 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6988 __libc_accept4.
6989 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6990
bcf55240
TS
6991 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6992 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6993 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6994 signal-defines.sym.
6995
6178c55b
ST
69962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6997
a4186cff 6998 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6999
6f080c2f
TS
70002012-05-10 Thomas Schwinge <thomas@schwinge.name>
7001
7002 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7003 assertion on O_CLOEXEC flag.
7004 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7005 * hurd/intern-fd.c: Likewise.
7006 * hurd/port2fd.c: Likewise.
7007
bcfe3a54
ST
70082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7009
7010 [BZ #3906]
7011 * bits/in.h (IPV6_PKTINFO): Define new macro.
7012 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7013
89c9aa49
AZ
70142012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7015
7016 [BZ #13954]
7017 [BZ #13955]
7018 [BZ #13956]
7019 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7020 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7021 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7022 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7023 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7024 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7025 * math/libm-test.inc (logb_test) : Additional logb tests.
7026
021db4be
AJ
70272012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7028 Andreas Jaeger <aj@suse.de>
7029
7030 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7031 * configure: Regenerated.
7032 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7033 * config.make.in (link-obsolete-rpc): New substituted variable.
7034 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7035 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7036 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7037 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7038 so that libc.a contains the symbols.
7039 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7040 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7041 * sunrpc/auth_none.c: Likewise.
7042 * sunrpc/auth_unix.c: Likewise.
7043 * sunrpc/authdes_prot.c: Likewise.
7044 * sunrpc/authuxprot.c: Likewise.
7045 * sunrpc/clnt_gen.c: Likewise.
7046 * sunrpc/clnt_perr.c: Likewise.
7047 * sunrpc/clnt_raw.c: Likewise.
7048 * sunrpc/clnt_simp.c: Likewise.
7049 * sunrpc/clnt_tcp.c: Likewise.
7050 * sunrpc/clnt_udp.c: Likewise.
7051 * sunrpc/clnt_unix.c: Likewise.
7052 * sunrpc/des_crypt.c: Likewise.
7053 * sunrpc/des_soft.c: Likewise.
7054 * sunrpc/get_myaddr.c: Likewise.
7055 * sunrpc/key_call.c: Likewise.
7056 * sunrpc/key_prot.c: Likewise.
7057 * sunrpc/netname.c: Likewise.
7058 * sunrpc/pm_getmaps.c: Likewise.
7059 * sunrpc/pm_getport.c: Likewise.
7060 * sunrpc/pmap_clnt.c: Likewise.
7061 * sunrpc/pmap_prot.c: Likewise.
7062 * sunrpc/pmap_prot2.c: Likewise.
7063 * sunrpc/pmap_rmt.c: Likewise.
7064 * sunrpc/publickey.c: Likewise.
7065 * sunrpc/rpc_cmsg.c: Likewise.
7066 * sunrpc/rpc_common.c: Likewise.
7067 * sunrpc/rpc_dtable.c: Likewise.
7068 * sunrpc/rpc_prot.c: Likewise.
7069 * sunrpc/rpc_thread.c: Likewise.
7070 * sunrpc/rtime.c: Likewise.
7071 * sunrpc/svc.c: Likewise.
7072 * sunrpc/svc_auth.c: Likewise.
7073 * sunrpc/svc_raw.c: Likewise.
7074 * sunrpc/svc_run.c: Likewise.
7075 * sunrpc/svc_tcp.c: Likewise.
7076 * sunrpc/svc_udp.c: Likewise.
7077 * sunrpc/svc_unix.c: Likewise.
7078 * sunrpc/svcauth_des.c: Likewise.
7079 * sunrpc/xcrypt.c: Likewise.
7080 * sunrpc/xdr.c: Likewise.
7081 * sunrpc/xdr_array.c: Likewise.
7082 * sunrpc/xdr_float.c: Likewise.
7083 * sunrpc/xdr_intXX_t.c: Likewise.
7084 * sunrpc/xdr_mem.c: Likewise.
7085 * sunrpc/xdr_rec.c: Likewise.
7086 * sunrpc/xdr_ref.c: Likewise.
7087 * sunrpc/xdr_sizeof.c: Likewise.
7088 * sunrpc/xdr_stdio.c: Likewise.
7089
b5c086a2
RM
70902012-05-10 Roland McGrath <roland@hack.frob.com>
7091
7092 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7093 change. Update copyright years.
7094
6d74dd09
JM
70952012-05-10 Joseph Myers <joseph@codesourcery.com>
7096
7097 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7098
28e72501
MK
70992012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7100 Joseph Myers <joseph@codesourcery.com>
7101 Paul Pluzhnikov <ppluzhnikov@google.com>
7102
7103 [BZ #14012]
7104 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7105 requiring rpcgen.
7106 [cross-compiling] (extra-libs): Likewise.
7107 [cross-compiling] (extra-libs-others): Likewise.
7108 [cross-compiling] (librpcsvc-routines): Likewise.
7109 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7110 [cross-compiling] (omit-deps): Likewise.
7111 (sunrpc-CPPFLAGS): New variable.
7112 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7113 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7114 (cross-rpcgen-objs): New variable.
7115 (extra-objs): Append $(cross-rpcgen-objs).
7116 ($(cross-rpcgen-objs)): New rule.
7117 ($(objpfx)cross-rpcgen): Likewise.
7118 (rpcgen-cmd): Define to use $(built-program-file). Expand
7119 comment.
7120 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7121 ($(objpfx)x%.stmp): Likewise.
7122 * sunrpc/proto.h [IS_IN_build] (_): Define.
7123 [IS_IN_build] (_libc_intl_domainname): Likewise.
7124
c8c59454
L
71252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7126
7127 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7128 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7129 and R_X86_64_TPOFF64.
7130
6f27cd16
JM
71312012-05-10 Joseph Myers <joseph@codesourcery.com>
7132
7133 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7134 sysdeps/unix/sysv/syscalls.list.
7135 (stime): Likewise.
7136 (utime): Likewise.
7137 * sysdeps/unix/sysv/syscalls.list: Remove file.
7138
02467e1c
PE
71392012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7140
7141 [BZ #3440]
7142 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7143 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7144 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7145 (__LC_IDENTIFICATION): Make these macros useful in #if
7146 expressions, as required by C99.
7147
da392631
AS
71482012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7149
7150 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7151 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7152 after this.
7153
8115f29b
L
71542012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7155
7156 * stdlib/longlong.h: Updated from GCC.
7157
bdd74070
AJ
71582012-05-09 Andreas Jaeger <aj@suse.de>
7159
edfe0dbe
AJ
7160 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7161 default is first entry.
7162 (run_mode): Set type.
7163 (main): Remove informal message about syslog.
7164 (options): Fix typo.
7165
bcfe3a54
ST
7166 [BZ #14053]
7167 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7168 to asm.
bcfe3a54
ST
7169 (lrint): Likewise.
7170 (llrintf): Likewise.
7171 (llrint): Likewise.
7172 (rint): Likewise.
7173 (rintf): Likewise.
7174 (nearbyint): Likewise.
7175 (nearbyintf): Likewise.
bdd74070 7176
91d8d69e
AJ
71772012-05-09 Andreas Jaeger <aj@suse.de>
7178 Pedro Alves <palves@redhat.com>
7179
7180 * nscd/nscd.c (run_mode): Use enum.
7181 (main): Cleanup coding style issue.
7182
bb90b80b
AJ
71832012-05-09 Alexandre Oliva <aoliva@redhat.com>
7184 Andreas Jaeger <aj@suse.de>
7185
bcfe3a54
ST
7186 * nscd/nscd.c (go_background): Replaced with...
7187 (run_mode): ... this.
bb90b80b 7188 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7189 (options): Add -F --foreground.
7190 (main): Implement it.
7191 (parse_opt): Parse it.
bb90b80b 7192
1a4b75a1
AJ
71932012-05-09 Andreas Jaeger <aj@suse.de>
7194
7195 [BZ #14083]
7196 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7197 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7198 -Wconversion warning.
7199 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7200 Likewise.
7201
b1cc2472
JM
72022012-05-09 Joseph Myers <joseph@codesourcery.com>
7203
7204 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7205 == 0.
7206 (LC_ALL): Use macro-int-constant.
7207 (LC_COLLATE): Likewise.
7208 (LC_CTYPE): Likewise.
7209 (LC_MESSAGES): Likewise.
7210 (LC_MONETARY): Likewise.
7211 (LC_NUMERIC): Likewise.
7212 (LC_TIME): Likewise.
7213 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7214 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7215 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7216 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7217 Specify type.
7218 [C99-based standards] (float_t): Expect type.
7219 [C99-based standards] (double_t): Expect type.
7220 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7221 type.
7222 [C99-based standards] (HUGE_VALL): Likewise.
7223 [C99-based standards] (INFINITY): Likewise.
7224 [C99-based standards] (NAN): Likewise.
7225 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7226 [C99-based standards] (FP_NAN): Likewise.
7227 [C99-based standards] (FP_NORMAL): Likewise.
7228 [C99-based standards] (FP_SUBNORMAL): Likewise.
7229 [C99-based standards] (FP_ZERO): Likewise.
7230 [C99-based standards] (FP_FAST_FMA): Use
7231 optional-macro-int-constant. Specify type. Require == 1.
7232 [C99-based standards] (FP_FAST_FMAF): Likewise.
7233 [C99-based standards] (FP_FAST_FMAL): Likewise.
7234 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7235 [C99-based standards] (FP_ILOGBNAN): Likewise.
7236 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7237 Specify type.
7238 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7239 [C99-based standards] (math_errhandling): Specify type.
7240 [ISO99 || ISO11] (signgam): Do not allow.
7241 [non-C99-based standards] (copysignf): Do not allow.
7242 [non-C99-based standards] (exp2f): Likewise.
7243 [non-C99-based standards] (log2f): Likewise.
7244 [non-C99-based standards] (modff): Allow.
7245 [non-C99-based standards] (erff): Do not allow.
7246 [non-C99-based standards] (erfcf): Likewise.
7247 [non-C99-based standards] (gammaf): Likewise.
7248 [non-C99-based standards] (hypotf): Likewise.
7249 [non-C99-based standards] (j0f): Likewise.
7250 [non-C99-based standards] (j1f): Likewise.
7251 [non-C99-based standards] (jnf): Likewise.
7252 [non-C99-based standards] (lgammaf): Likewise.
7253 [non-C99-based standards] (tgammaf): Likewise.
7254 [non-C99-based standards] (y0f): Likewise.
7255 [non-C99-based standards] (y1f): Likewise.
7256 [non-C99-based standards] (ynf): Likewise.
7257 [non-C99-based standards] (isnanf): Likewise.
7258 [non-C99-based standards] (acoshf): Likewise.
7259 [non-C99-based standards] (asinhf): Likewise.
7260 [non-C99-based standards] (atanhf): Likewise.
7261 [non-C99-based standards] (cbrtf): Likewise.
7262 [non-C99-based standards] (expm1f): Likewise.
7263 [non-C99-based standards] (ilogbf): Likewise.
7264 [non-C99-based standards] (log1pf): Likewise.
7265 [non-C99-based standards] (logbf): Likewise.
7266 [non-C99-based standards] (nextafterf): Likewise.
7267 [non-C99-based standards] (remainderf): Likewise.
7268 [non-C99-based standards] (rintf): Likewise.
7269 [non-C99-based standards] (scalbf): Likewise.
7270 [non-C99-based standards] (copysignl): Likewise.
7271 [non-C99-based standards] (exp2l): Likewise.
7272 [non-C99-based standards] (log2l): Likewise.
7273 [non-C99-based standards] (modfl): Allow.
7274 [non-C99-based standards] (erfl): Do not allow.
7275 [non-C99-based standards] (erfcl): Likewise.
7276 [non-C99-based standards] (gammal): Likewise.
7277 [non-C99-based standards] (hypotl): Likewise.
7278 [non-C99-based standards] (j0l): Likewise.
7279 [non-C99-based standards] (j1l): Likewise.
7280 [non-C99-based standards] (jnl): Likewise.
7281 [non-C99-based standards] (lgammal): Likewise.
7282 [non-C99-based standards] (tgammal): Likewise.
7283 [non-C99-based standards] (y0l): Likewise.
7284 [non-C99-based standards] (y1l): Likewise.
7285 [non-C99-based standards] (ynl): Likewise.
7286 [non-C99-based standards] (isnanl): Likewise.
7287 [non-C99-based standards] (acoshl): Likewise.
7288 [non-C99-based standards] (asinhl): Likewise.
7289 [non-C99-based standards] (atanhl): Likewise.
7290 [non-C99-based standards] (cbrtl): Likewise.
7291 [non-C99-based standards] (expm1l): Likewise.
7292 [non-C99-based standards] (ilogbl): Likewise.
7293 [non-C99-based standards] (log1pl): Likewise.
7294 [non-C99-based standards] (logbl): Likewise.
7295 [non-C99-based standards] (nextafterl): Likewise.
7296 [non-C99-based standards] (remainderl): Likewise.
7297 [non-C99-based standards] (rintl): Likewise.
7298 [non-C99-based standards] (scalbl): Likewise.
7299 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7300 [non-C99-based standards] (FP_*): Do not allow.
7301 [C99-based standards] (FP_*): Change to
7302 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7303 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7304 allow.
7305 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7306 (SIG_ERR): Likewise.
7307 [X/Open-based standards] (SIG_HOLD): Likewise.
7308 (SIG_IGN): Likewise.
7309 (SIGABRT): Use macro-int-constant. Specify type. Require
7310 positive value.
7311 (SIGFPE): Likewise.
7312 (SIGILL): Likewise.
7313 (SIGINT): Likewise.
7314 (SIGSEGV): Likewise.
7315 (SIGTER): Likewise.
7316 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7317 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7318 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7319 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7320 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7321 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7322 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7323 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7324 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7325 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7326 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7327 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7328 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7329 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7330 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7331 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7332 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7333 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7334 [X/Open-based standards] (SIGTRAP): Likewise.
7335 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7336 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7337 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7338 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7339 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7340 allow.
7341
b9f1922d
IW
73422012-05-08 Ian Wienand <ianw@vmware.com>
7343
7344 [BZ #14080]
7345 * time/tzset.c (__tzset_parse_tz): Update default rules for
7346 daylight time changes in the Energy Policy Act of 2005.
7347
1db86e88
AJ
73482012-05-09 Andreas Jaeger <aj@suse.de>
7349
7350 [BZ #13983]
7351 * elf/ldconfig.c (parse_conf): Change string to make clear that
7352 ldconfig only issued a warning if ld.so.conf does not exist.
7353
dee4a4e3
DM
73542012-05-08 David S. Miller <davem@davemloft.net>
7355
ee0db190
DM
7356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7357 movxtod instead of popping the value on the stack.
7358
dee4a4e3
DM
7359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7360
6a43ec98
CD
73612012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7362
7363 * config.h.in: Add HAVE_ARM_PCS_VFP.
7364
05c2c961
RMG
73652012-05-08 Roland Mc Grath <roland@hack.frob.com>
7366
bcfe3a54
ST
7367 [BZ #13979]
7368 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7369 checking but the checks are disabled for any reason.
05c2c961 7370
4b30f61a
L
73712012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7372
7373 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7374 and ELF64_R_TYPE with ELFW(R_TYPE).
7375
eee2bc67
JM
73762012-05-08 Joseph Myers <joseph@codesourcery.com>
7377
7ea5391a
JM
7378 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7379 (ulimit): Likewise.
7380
eee2bc67
JM
7381 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7382 (settimeofday): Likewise.
7383
abb66a67
MF
73842012-05-08 Mike Frysinger <vapier@gentoo.org>
7385
7386 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7387 a struct th_u2 inside the union, and move tu_block/tu_code into
7388 a new th_u3 union of tu_block/tu_code inside of that. Move
7389 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7390 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7391 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7392 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7393 (th_stuff): Change to th_u1.tu_stuff.
7394 (th_data): Define.
7395 (th_msg): Change to th_u1.th_u2.tu_data.
7396
7f18b530
DM
73972012-05-07 David S. Miller <davem@davemloft.net>
7398
05760585
DM
7399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7400
7f18b530
DM
7401 [BZ #14074]
7402 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7403 (SETUP_PIC_REG): Use it.
7404 (SETUP_PIC_REG_LEAF): Use it.
7405
495fd99f
JM
74062012-05-07 Joseph Myers <joseph@codesourcery.com>
7407
7408 [BZ #13885]
7409 [BZ #13923]
7410 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7411 USE_AS_EXPM1L.
7412 (EXPL_FINITE): Likewise.
7413 (FLDLOG): Likewise.
7414 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7415 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7416 e_expl.S.
7417 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7418 USE_AS_EXPM1L.
7419 (EXPL_FINITE): Likewise.
7420 (FLDLOG): Likewise.
7421 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7422 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7423 e_expl.S.
7424 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7425 test of -max_value argument for long double.
7426 * sysdeps/i386/fpu/libm-test-ulps: Update.
7427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7428
6693d694
DM
74292012-05-06 David S. Miller <davem@davemloft.net>
7430
7431 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7432 quad soft-float symbols whose references which are compiler
7433 generated.
7434 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7435
6c23e11c
JM
74362012-05-06 Joseph Myers <joseph@codesourcery.com>
7437
d8b82cad
JM
7438 [BZ #13884]
7439 [BZ #13914]
7440 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7441 USE_AS_EXP10L.
7442 (EXPL_FINITE): Likewise.
7443 (FLDLOG): Likewise.
7444 (c0): Likewise.
7445 (c1): Likewise.
7446 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7447 Adjust comments for base varying.
7448 (__expl_finite): Change alias to EXPL_FINITE.
7449 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7450 e_expl.S.
7451 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7452 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7454 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7455 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7456 USE_AS_EXP10L.
7457 (EXPL_FINITE): Likewise.
7458 (FLDLOG): Likewise.
7459 (c0): Likewise.
7460 (c1): Likewise.
7461 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7462 Adjust comments for base varying.
7463 (__expl_finite): Change alias to EXPL_FINITE.
7464 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7465 tests for bugs.
7466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7467
6c23e11c
JM
7468 [BZ #14064]
7469 * math/libm-test.inc (check_float_internal): Correct ulp
7470 calculation for subnormal expected results.
7471
29ba805c
AJ
74722012-05-06 Andreas Jaeger <aj@suse.de>
7473
7474 * Makeconfig (+math-flags): New, set to -frounding-math.
7475 (+cflags): Add +math-flags so that all of glibc gets compiled with
7476 it.
7477
7478 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7479
7b17aeda
JM
74802012-05-05 Joseph Myers <joseph@codesourcery.com>
7481
5779f134
JM
7482 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7483 Disable one test.
7484
41498f4d
JM
7485 [BZ #13787]
7486 [BZ #13922]
7487 [BZ #14036]
7488 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7489 (__ieee754_expl): Allow for and saturate large arguments.
7490 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7491 (u_threshold): Likewise.
7492 (__exp): Call __ieee754_exp before checking for overflow and
7493 underflow.
7494 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7495 (u_threshold): Likewise.
7496 (__expf): Call __ieee754_expf before checking for overflow and
7497 underflow.
7498 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7499 (u_threshold): Likewise.
7500 (__expl): Call __ieee754_expl before checking for overflow and
7501 underflow.
7502 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7503 (__ieee754_expl): Allow for and saturate large arguments.
7504 * math/libm-test.inc (exp_test): Add another test. Do not allow
7505 missing overflow exception on overflow.
7506 (expm1_test): Do not allow missing overflow exception on overflow.
7507
6698b8bf
JM
7508 * sysdeps/i386/fpu/e_expl.c: Move to ...
7509 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7510 rather than using inline asm.
7511 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7512 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7513 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7514
7b17aeda
JM
7515 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7516 (nice): Likewise.
7517 (poll): Likewise.
7518 (signal): Likewise.
7519 (time): Likewise.
7520 (times): Likewise.
7521
f7c85819
JM
75222012-05-04 Joseph Myers <joseph@codesourcery.com>
7523
7524 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7525 sysdeps/unix/common/syscalls.list.
7526 (fchmod): Likewise.
7527 (fchown): Likewise.
7528 (ftruncate): Likewise.
7529 (getrusage): Likewise.
7530 (gettimeofday): Likewise.
7531 (setpgid): Likewise.
7532 (setregid): Likewise.
7533 (setreuid): Likewise.
7534 (sigaction): Likewise.
7535 (truncate): Likewise.
7536 (vhangup): Likewise.
7537 * sysdeps/unix/common/syscalls.list: Remove file.
7538 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7539 * sysdeps/unix/sysv/linux/Implies: Likewise.
7540
336270d0
L
75412012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7542
7543 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7545 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7546 Moved to ...
7547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7548 Here.
7549 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7550 to ...
7551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7552 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7553 to ...
7554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7555 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7556 to ...
7557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7558 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7559 to ...
7560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7561 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7562 to ...
7563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7564 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7565 to ...
7566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7567 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7568 to ...
7569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7570 Here.
7571 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7572 to ...
7573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7574 Here.
7575 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7576 to ...
7577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7578 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7579 Moved to ...
7580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7581 Here.
7582 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7583 to ...
7584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7585
d128e450
JM
75862012-05-04 Joseph Myers <joseph@codesourcery.com>
7587
fa8ee516
JM
7588 * sysdeps/unix/common/bits/dirent.h: Remove file.
7589 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7590
d128e450
JM
7591 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7592 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7593 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7594 * sysdeps/unix/bsd/isatty.c: Likewise.
7595 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7596 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7597 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7598
ff8faaf0 75992012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7600
62881be4 7601 [BZ #13563]
31dc8730
AZ
7602 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7603 long double comparison inaccuracies.
7604 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7606
6fef930c
AS
76072012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7608
7609 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7610 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7611
8f203e6c
JM
76122012-05-04 Joseph Myers <joseph@codesourcery.com>
7613
7614 [BZ #14049]
7615 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7616 nonzero digits before rounding a hex value.
7617 * stdlib/tst-strtod.c (tests): Add another test.
7618
5197d9c2
AK
76192012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7620
7621 * sysdeps/s390/fpu/libm-test-ulps: Update.
7622
f0c1dedf
AJ
76232012-05-03 Andreas Jaeger <aj@suse.de>
7624
7625 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7626 does not get optimized out.
7627 (malloc_opt_barrier): New.
7628
a65ef2ae 76292012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7630 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7631
2b942cb7 7632 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7633 intermediate file deletion.
2b942cb7 7634 (generated): Add .symlist files.
a65ef2ae 7635
54b71e02
JM
76362012-05-03 Joseph Myers <joseph@codesourcery.com>
7637
7638 [BZ #13775]
7639 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7640 Redirect under this condition.
7641 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7642 [__USE_GNU] (__dprintf_chk): Not under this condition.
7643 [__USE_GNU] (__vdprintf_chk): Likewise.
7644 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7645 under this condition.
7646 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7647 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7648 [__USE_XOPEN2K8] (vdprintf): Likewise.
7649 [__USE_GNU] (__dprintf_chk): Not under this condition.
7650 [__USE_GNU] (__vdprintf_chk): Likewise.
7651 [__USE_GNU] (dprintf): Likewise.
7652 [__USE_GNU] (vdprintf): Likewise.
7653
d3dfcc41
RM
76542012-05-03 Roland McGrath <roland@hack.frob.com>
7655
7656 * elf/Makefile (common-generated): Set this instead of generated for
7657 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7658 $(all-built-dso)-derived lists.
7659
7ac30cc5
AJ
76602012-05-03 Andreas Jaeger <aj@suse.de>
7661
0c51e550
AJ
7662 * sysdeps/i386/fpu/libm-test-ulps: Update.
7663
7ac30cc5
AJ
7664 * FAQ: Removed.
7665 * FAQ.in: Likewise.
7666 * scripts/gen-FAQ.pl: Likewise.
7667 * manual/install.texi (Installation): Point to online location of
7668 FAQ.
7669 * Makefile (files-for-dist): Remove FAQ.
7670 (FAQ): Remove.
7671
d4c2917f
AM
76722012-05-02 Allan McRae <allan@archlinux.org>
7673
7674 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7675 (LDFLAGS-reldepmod5.so): Likewise.
7676 (LDFLAGS-reldep6mod1.so): Likewise.
7677 (LDFLAGS-reldep6mod4.so): Likewise.
7678 (LDFLAGS-reldep8mod3.so): Likewise.
7679 (LDFLAGS-unload4mod1.so): Likewise.
7680 (LDFLAGS-unload4mod2.so): Likewise.
7681 (LDFLAGS-tst-initorder): Likewise.
7682 (LDFLAGS-tst-initordera2.so): Likewise.
7683 (LDFLAGS-tst-initordera3.so): Likewise.
7684 (LDFLAGS-tst-initordera4.so): Likewise.
7685 (LDFLAGS-tst-initorderb2.so): Likewise.
7686 (LDFLAGS-noload): Likewise.
7687 (LDFLAGS-next): Likewise.
7688 (LDFLAGS-order2mod1.so): Likewise.
7689 (LDFLAGS-order2mod2.so): Likewise.
7690 (LDFLAGS-tst-initorder2): Likewise.
7691 (LDFLAGS-tst-initorder2a.so): Likewise.
7692 (LDFLAGS-tst-initorder2b.so): Likewise.
7693 (LDFLAGS-tst-initorder2c.so): Likewise.
7694 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7695
d77f993f
DM
76962012-05-02 David S. Miller <davem@davemloft.net>
7697
7698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7699
171a70b4
PP
77002012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7701
7702 [BZ #14055]
7703 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7704
0be196ad
AJ
77052012-05-02 Andreas Jaeger <aj@suse.de>
7706
7707 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7708 since we manipulate rounding mode.
7709 (CPPFLAGS-test-idouble.c): Likewise.
7710 (CPPFLAGS-test-ifloat.c): Likewise.
7711 (CFLAGS-test-ldouble.c): Likewise.
7712 (CFLAGS-test-double.c): Likewise.
7713 (CFLAGS-test-float.c): Likewise.
7714 (CFLAGS-test-misc.c): Likewise.
7715 (CFLAGS-test-test-fenv.c): Likewise.
7716
4f9d04aa
AZ
77172012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7718
2b942cb7
RM
7719 [BZ #2550]
7720 [BZ #2570]
7721 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7722 comparisons to determine direction to adjust input.
4f9d04aa 7723
82a79e7d
RM
77242012-05-01 Roland McGrath <roland@hack.frob.com>
7725
f5a01ca9
RM
7726 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7727 output to the target.
7728
90fe4186
RM
7729 * scripts/localplt.awk: New file.
7730 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7731 (check-localplt-CFLAGS): Variable removed.
7732 ($(all-built-dso:=.jmprel)): New static pattern rule.
7733 (generated): Add those targets.
7734 (localplt-built-dso): New variable.
7735 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7736
7737 * elf/check-localplt.c: File removed.
7738
82397ed6
RM
7739 * scripts/check-execstack.awk: New file.
7740 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7741 (check-execstack-CFLAGS): Variable removed.
7742 ($(objpfx)check-execstack.h): Target removed.
7743 ($(objpfx)execstack-default): New target.
7744 (generated): Add that instead of check-execstack.h.
7745 ($(all-built-dso:=.phdr)): New static pattern rule.
7746 (generated): Add those targets.
7747 * elf/check-execstack.c: File removed.
7748
82a79e7d
RM
7749 * scripts/check-textrel.awk: New file.
7750 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7751 (check-textrel-CFLAGS): Variable removed.
7752 (all-built-dso): Use := to define.o
7753 ($(all-built-dso:=.dyn)): New static pattern rule.
7754 (generated): Add those targets.
7755 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7756 * config.make.in (READELF): New substituted variable.
7757 * elf/check-textrel.c: File removed.
7758
62fde54f 77592012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7760
615605c9
JM
7761 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7762 allow.
7763 * conform/data/ctype.h-data [C99-based standards] (isblank):
7764 Expect function.
7765 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7766 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7767 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7768 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7769 Specify type. Require positive value.
7770 (EILSEQ): Likewise.
7771 (ERANGE): Likewise.
7772 [ISO || POSIX] (EILSEQ): Do not expect.
7773 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7774 Specify type. Require positive value.
7775 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7776 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7777 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7778 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7779 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7780 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7781 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7782 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7783 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7784 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7785 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7786 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7787 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7788 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7789 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7790 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7791 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7792 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7793 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7794 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7795 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7796 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7797 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7798 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7799 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7800 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7801 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7802 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7803 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7804 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7805 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7806 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7807 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7808 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7809 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7810 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7811 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7812 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7813 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7814 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7815 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7816 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7817 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7818 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7819 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7820 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7821 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7822 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7823 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7824 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7825 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7826 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7827 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7828 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7829 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7830 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7831 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7832 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7833 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7834 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7835 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7836 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7837 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7838 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7839 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7840 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7841 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7842 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7843 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7844 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7845 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7846 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7847 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7848 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7849 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7850 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7851 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7852 Require >= 2.
7853 (FLT_ROUNDS): Expect as macro, not constant.
7854 (FLT_MANT_DIG): Use macro-int-constant.
7855 (DBL_MANT_DIG): Likewise.
7856 (LDBL_MANT_DIG): Likewise.
7857 (FLT_DIG): Likewise.
7858 (DBL_DIG): Likewise.
7859 (LDBL_DIG): Likewise.
7860 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7861 (DBL_MIN_EXP): Likewise.
7862 (LDBL_MIN_EXP): Likewise.
7863 (FLT_MAX_EXP): Use macro-int-constant.
7864 (DBL_MAX_EXP): Likewise.
7865 (LDBL_MAX_EXP): Likewise.
7866 (FLT_MAX_10_EXP): Likewise.
7867 (DBL_MAX_10_EXP): Likewise.
7868 (LDBL_MAX_10_EXP): Likewise.
7869 (FLT_MAX): Use macro-constant.
7870 (DBL_MAX): Likewise.
7871 (LDBL_MAX): Likewise.
7872 (FLT_EPSILON): Use macro-constant. Give upper bound.
7873 (DBL_EPSILON): Likewise.
7874 (LDBL_EPSILON): Likewise.
7875 (FLT_MIN): Likewise.
7876 (DBL_MIN): Likewise.
7877 (LDBL_MIN): Likewise.
7878 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7879 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7880 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7881 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7882 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7883 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7884 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7885 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7886 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7887 [ISO11] (FLT_TRUE_MIN): Likewise.
7888 [ISO11] (LDBL_TRUE_MIN): Likewise.
7889 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7890 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7891 (SCHAR_MIN): Use macro-int-constant. Specify type.
7892 (SCHAR_MAX): Likewise.
7893 (UCHAR_MAX): Likewise.
7894 (CHAR_MIN): Likewise.
7895 (CHAR_MAX): Likewise.
7896 (MB_LEN_MAX): Use macro-int-constant.
7897 (SHRT_MIN): Use macro-int-constant. Specify type.
7898 (SHRT_MAX): Likewise.
7899 (USHRT_MAX): Likewise.
7900 (INT_MAX): Likewise.
7901 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7902 bound negative.
7903 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7904 bound with "U".
7905 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7906 bound with "L".
7907 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7908 bound negative. Suffix upper bound with "L".
7909 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7910 bound with "UL".
7911 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7912 Specify type.
7913 [C99-based standards] (LLONG_MAX): Likewise.
7914 [C99-based standards] (ULLONG_MAX): Likewise.
7915 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7916 == 0.
7917 [ISO11] (max_align_t): Require type.
7918 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7919
c9140a62
JM
7920 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7921 from $CFLAGS, without defining away __attribute__ calls.
7922 (checknamespace): Use $CFLAGS_namespace.
7923
9af0bf29
JM
7924 * conform/conformtest.pl (@keywords): Only include C99 keywords
7925 for standards based on C99 or C11.
7926
343222a2
JM
7927 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7928 Disable tests.
7929 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7930 UNIX98]: Likewise.
7931
661f8cf0
JM
7932 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7933 usability of symbols in #if.
7934
ee74b9cb
JM
7935 * conform/conformtest.pl: If macro or constant types start
7936 "promoted:", expect the symbol to be of the following type
7937 promoted by the integer promotions.
62fde54f 7938
aafc49b3
JM
7939 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7940 in one place. Also handle "macro-constant".
7941
fefdf574
JM
7942 * conform/conformtest.pl: Only accept expected macro values with
7943 "==". Parse all "macro" lines in one place.
7944 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7945
f2d922fe
JM
7946 * conform/conformtest.pl: Handle braced types on "constant" lines
7947 instead of handling "typed-constant".
7948 * conform/data/signal.h-data: Use "constant" instead of
7949 "typed-constant".
7950
d22956c9
JM
7951 * conform/conformtest.pl: Handle "optional-" at start of lines in
7952 one place rather than duplicating several cases. Handle each
7953 format of "macro" line with initial "optional-".
7954
028e2e38
JM
7955 * conform/conformtest.pl: Only accept expected constant or
7956 optional-constant values with "==". Parse all "constant" lines in
7957 one place. Parse all "optional-constant" lines in one place.
7958 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7959 * conform/data/fmtmsg.h-data: Likewise.
7960 * conform/data/netinet/in.h-data: Likewise.
7961 * conform/data/tar.h-data: Likewise.
7962 * conform/data/limits.h-data: Use "==" form on "constant" and
7963 "optional-constant" lines.
7964
1b8f2850
JM
7965 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7966 Use -std=c99 for XOPEN2K.
7967 (@knownproblems): Remove.
7968 (newtoken): Don't check %isknown.
7969
a05a144b
JM
7970 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7971 Do not expect macro.
7972 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7973 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7974 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7975 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7976 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7977 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7978 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7979 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7980 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7981 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7982 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7983 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7984 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7985 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7986 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7987 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7988 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7989 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7990 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7991 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7992 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7993 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7994 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7995 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7996 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7997 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7998 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7999 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8000 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8001 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8002 [XPG3] (acosh): Likewise.
8003 [XPG3] (asinh): Likewise.
8004 [XPG3] (atanh): Likewise.
8005 [XPG3] (cbrt): Likewise.
8006 [XPG3] (expm1): Likewise.
8007 [XPG3] (ilogb): Likewise.
8008 [XPG3] (log1p): Likewise.
8009 [XPG3] (logb): Likewise.
8010 [XPG3] (nextafter): Likewise.
8011 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8012 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8013 [XPG3] (remainder): Likewise.
8014 [XPG3] (rint): Likewise.
8015 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8016 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8017 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8018 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8019 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8020 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8021 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8022 [UNIX98 || XOPEN2K] (scalb): Expect.
8023 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8024 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8025 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8026 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8027 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8028 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8029 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8030 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8031 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8032 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8033 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8034 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8035 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8036 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8037 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8038 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8039 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8040 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8041 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8042 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8043 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8044 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8045 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8046 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8047 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8048 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8049 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8050 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8051 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8052 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8053 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8054 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8055 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8056 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8057 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8058 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8059 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8060 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8061 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8062 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8063 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8064 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8065 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8066 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8067 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8068 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8069 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8070 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8071 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8072 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8073 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8074 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8075 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8076 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8077 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8078 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8079 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8080 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8081 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8082 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8083 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8084 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8085 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8086 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8087 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8088 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8089 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8090 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8091 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8092 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8093 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8094 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8095 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8096 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8097 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8098 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8099 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8100 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8101 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8102 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8103 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8104 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8105 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8106 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8107 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8108 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8109 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8110 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8111 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8112 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8113 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8114 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8115 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8116 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8117 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8118 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8119 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8120 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8121 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8122 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8123 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8124 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8125 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8126 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8127 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8128 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8129 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8130 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8131 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8132 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8133 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8134 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8135 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8136 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8137 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8138 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8139 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8140 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8141 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8142 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8143 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8144 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8145 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8146 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8147 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8148 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8149 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8150 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8151 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8152 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8153 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8154 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8155 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8156 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8157 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8158 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8159 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8160
73c5ebe3
JM
8161 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8162 _XOPEN_SOURCE_EXTENDED for XPG4.
8163
39c33b6c
JM
8164 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8165
62fde54f
JM
8166 * Makeconfig (localtime): Remove variable.
8167 (inst_localtime-file): Likewise.
8168
0741d64c
AS
81692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8170
8171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8172 Update.
8173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8174 Update.
8175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8176 Update.
8177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8178 Update.
8179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8180 Update.
8181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8182 Update.
8183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8184 Update.
8185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8186 Update.
8187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8188 Update.
8189
7cb029ee
JM
81902012-05-01 Joseph Myers <joseph@codesourcery.com>
8191
8192 [BZ #2550]
8193 [BZ #2570]
8194 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8195 comparisons to determine direction to adjust input.
8196 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8197 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8199 Likewise.
8200 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8201 Likewise.
8202 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8203 Likewise.
8204 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8205 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8206 Likewise.
8207 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8208 Likewise.
8209 * math/libm-test.inc (nexttoward_test): Add more tests.
8210
412bd966
AS
82112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8212
8213 [BZ #14040]
8214 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8215 in version GLIBC_2.1, not GLIBC_2.0.
8216 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8217 Likewise.
8218
9568c0c2
JM
82192012-04-30 Joseph Myers <joseph@codesourcery.com>
8220
adfbc8ac
JM
8221 [BZ #13942]
8222 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8223 (1 - x) * (1 + x).
8224 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8225 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8226 * math/libm-test.inc (acos_test): Add more tests.
8227 (asin_test): Likewise.
8228 * sysdeps/i386/fpu/libm-test-ulps: Update.
8229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8230
5ba3cc69
JM
8231 [BZ #14034]
8232 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8233 of square root.
8234 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8235 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8236 * math/libm-test.inc (acos_test_tonearest): New function.
8237 (acos_test_towardzero): Likewise.
8238 (acos_test_downward): Likewise.
8239 (acos_test_upward): Likewise.
8240 (asin_test_tonearest): Likewise.
8241 (asin_test_towardzero): Likewise.
8242 (asin_test_downward): Likewise.
8243 (asin_test_upward): Likewise.
8244 (main): Call the new functions.
8245 * sysdeps/i386/fpu/libm-test-ulps: Update.
8246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8247
9568c0c2
JM
8248 [BZ #13884]
8249 [BZ #13924]
8250 * math/e_exp10.c: Include <float.h>.
8251 (__ieee754_exp10): Handle underflow here rather than multiplying
8252 large negative argument by M_LN10.
8253 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8254 of __ieee754_expf.
8255 * math/e_exp10l.c: Include <float.h>.
8256 (__ieee754_exp10l): Handle underflow here rather than multiplying
8257 large negative argument by M_LN10l.
8258 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8259 spurious overflow exception on underflow.
8260
5ac3ea17
MP
82612012-04-29 Marek Polacek <polacek@redhat.com>
8262
8263 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8264 (__fortify_function): New macro.
8265 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8266 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8267 __extern_always_inline.
8268 * libio/bits/stdio2.h: Likewise.
8269 * libio/bits/stdio.h: Likewise.
8270 * string/string.h: Likewise.
8271 * string/bits/string3.h: Likewise.
8272 * include/stdio.h: Likewise.
8273 * stdlib/bits/stdlib.h: Likewise.
8274 * stdlib/stdlib.h: Likewise.
8275 * rt/bits/mqueue2.h: Likewise.
8276 * rt/mqueue.h: Likewise.
8277 * posix/bits/unistd.h: Likewise.
8278 * posix/unistd.h: Likewise.
8279 * io/bits/poll2.h: Likewise.
8280 * io/bits/fcntl2.h: Likewise.
8281 * io/fcntl.h: Likewise.
8282 * io/sys/poll.h: Likewise.
8283 * misc/bits/syslog.h: Likewise.
8284 * misc/bits/syslog-ldbl.h: Likewise.
8285 * misc/sys/syslog.h: Likewise.
8286 * socket/bits/socket2.h: Likewise.
8287 * socket/sys/socket.h: Likewise.
8288 * debug/tst-chk1.c: Likewise.
8289 * wcsmbs/bits/wchar2.h: Likewise.
8290 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8291 * wcsmbs/wchar.h: Likewise.
8292
ecf0ebfb
AJ
82932012-04-29 Andreas Jaeger <aj@suse.de>
8294
8295 * Makerules (tests): Remove enable-check-abi protection.
8296 (check-abi-warn): Remove.
8297 (check-abi-%): Remove check-abi-warn usage.
8298
8299 * configure.in: Remove check-abi configure option.
8300 * configure: Regenerated.
8301 * config.make.in (enable-check-abi): Remove.
8302
6d5c57fa
AS
83032012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8304
24c5d07e 8305 [BZ #14033]
ded5180a
AS
8306 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8307 double functions to double *_finite functions.
8308
7e0d315d
AS
8309 [BZ #13941]
8310 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8311 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8312 LDBL_MIN_EXP.
8313 * stdio-common/Makefile (tests): Add tst-sprintf3.
8314 * stdio-common/tst-sprintf3.c: New file.
8315
6d5c57fa
AS
8316 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8317 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8318
0749ff8b
JM
83192012-04-28 Joseph Myers <joseph@codesourcery.com>
8320
8321 * conform/conformtest.pl: Remove duplicate typed-constant
8322 handling.
8323
8dbd5d7b
DM
83242012-04-28 David S. Miller <davem@davemloft.net>
8325
8326 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8327 (check-abi-%): Remove AWK script prerequisite and explicit
8328 abilist directory.
8329 (check-abi): Rewrite to just diff the symlist with the abilist.
8330 (config-tls, config-abi-config): Delete, no longer used.
8331 (update-abi-%): Remove AWK script and explicit abilist directory.
8332 (update-abi): Rewrite to simply compare and conditionally copy the
8333 symlist and the sysdep abilist file. Remove update-abi-config
8334 checks.
8335 * abilist/ld.abilist: Remove.
8336 * abilist/libBrokenLocale.abilist: Remove.
8337 * abilist/libanl.abilist: Remove.
8338 * abilist/libcrypt.abilist: Remove.
8339 * abilist/libdl.abilist: Remove.
8340 * abilist/librt.abilist: Remove.
8341 * abilist/libthread_db.abilist: Remove.
8342 * abilist/libutil.abilist: Remove.
8343 * scripts/extract-abilist.awk: Remove.
8344 * scripts/merge-abilist.awk: Remove.
8345 * sysdeps/generic/libcidn.abilist: New file.
8346 * sysdeps/generic/libnss_compat.abilist: New file.
8347 * sysdeps/generic/libnss_db.abilist: New file.
8348 * sysdeps/generic/libnss_dns.abilist: New file.
8349 * sysdeps/generic/libnss_files.abilist: New file.
8350 * sysdeps/generic/libnss_hesiod.abilist: New file.
8351 * sysdeps/generic/libnss_nis.abilist: New file.
8352 * sysdeps/generic/libnss_nisplus.abilist: New file.
8353 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8354 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8355 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8356 file.
8357 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8358 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8359 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8360 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8361 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8362 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8363 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8364 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8365 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8366 file.
8367 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8368 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8369 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8370 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8371 file.
8372 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8373 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8374 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8375 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8376 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8377 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8378 file.
8379 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8380 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8381 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8382 file.
8383 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8385 New file.
8386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8387 New file.
8388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8389 New file.
8390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8391 New file.
8392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8393 New file.
8394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8395 New file.
8396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8397 New file.
8398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8399 New file.
8400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8401 New file.
8402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8403 New file.
8404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8405 New file.
8406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8407 New file.
8408 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8409 New file.
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8411 file.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8413 New file.
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8415 New file.
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8417 file.
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8419 New file.
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8421 New file.
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8423 file.
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8425 New file.
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8427 New file.
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8429 New file.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8431 New file.
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8433 New file.
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8435 New file.
8436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8438 file.
8439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8440 New file.
8441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8442 file.
8443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8444 file.
8445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8446 file.
8447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8448 file.
8449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8450 file.
8451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8452 New file.
8453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8454 file.
8455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8456 file.
8457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8458 New file.
8459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8460 file.
8461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8463 file.
8464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8465 New file.
8466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8467 file.
8468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8469 file.
8470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8471 file.
8472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8473 file.
8474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8475 file.
8476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8477 New file.
8478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8479 file.
8480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8481 file.
8482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8483 New file.
8484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8485 file.
8486 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8487 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8488 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8489 file.
8490 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8491 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8492 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8493 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8494 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8495 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8496 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8497 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8498 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8499 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8502 file.
8503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8504 New file.
8505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8506 file.
8507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8508 file.
8509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8510 file.
8511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8512 file.
8513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8514 file.
8515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8516 New file.
8517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8518 New file.
8519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8520 file.
8521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8522 New file.
8523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8524 file.
8525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8527 file.
8528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8529 New file.
8530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8531 file.
8532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8533 file.
8534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8535 file.
8536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8537 file.
8538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8539 file.
8540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8541 New file.
8542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8543 New file.
8544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8545 file.
8546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8547 New file.
8548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8549 file.
8550
41d73a1b
JM
85512012-04-28 Joseph Myers <joseph@codesourcery.com>
8552
8553 * conform/conformtest.pl: Fix typo in handling typed-constant from
8554 allow-header.
8555
28aeeda4
JM
85562012-04-27 Joseph Myers <joseph@codesourcery.com>
8557
adae8f5e
JM
8558 * README: Cut down references to pre-2.6 Linux kernels and
8559 Linuxthreads. Update lists of configurations in libc and ports
8560 and sort alphabetically. Say "or newer" with Linux kernel version
8561 requirements.
8562
28aeeda4
JM
8563 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8564
a462cb63
RA
85652012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8566
8567 [BZ #887]
8568 * math/libm-test.inc (logb_test_downward): New test to expose
8569 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8570 rounding mode.
8571
6ad3493e
JM
85722012-04-27 Joseph Myers <joseph@codesourcery.com>
8573
8574 [BZ #14027]
8575 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8576 to be done.
8577 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8578 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8579
2ce4f015
JM
85802012-04-26 Joseph Myers <joseph@codesourcery.com>
8581
5aeb141a
JM
8582 * sysdeps/unix/i386/brk.S: Remove file.
8583 * sysdeps/unix/i386/dl-brk.S: Likewise.
8584 * sysdeps/unix/i386/pipe.S: Likewise.
8585 * sysdeps/unix/i386/sigreturn.S: Likewise.
8586 * sysdeps/unix/i386/syscall.S: Likewise.
8587 * sysdeps/unix/i386/vfork.S: Likewise.
8588 * sysdeps/unix/i386/wait.S: Likewise.
8589
7143acae
JM
8590 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8591 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8592
2ce4f015
JM
8593 * configure.in (arm*-none*): Do not allow without
8594 --enable-hacker-mode.
8595 (netbsd*): Remove case setting base_os.
8596 (386bsd*): Likewise.
8597 (freebsd*): Likewise.
8598 (bsdi*): Likewise.
8599 (osf*): Likewise.
8600 (sunos*): Likewise.
8601 (ultrix*): Likewise.
8602 (newsos*): Likewise.
8603 (dynix*): Likewise.
8604 (*bsd*): Likewise.
8605 (sysv*): Likewise.
8606 (isc*): Likewise.
8607 (esix*): Likewise.
8608 (sco*): Likewise.
8609 (minix*): Likewise.
8610 (irix4*): Likewise.
8611 (irix6*): Likewise.
8612 (solaris[2-9]*): Likewise.
8613 (none): Likewise.
8614 * configure: Regenerated.
8615
0ac229c8
AZ
86162012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8617
8618 [BZ #11521]
8619 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8620 overflow or cancellation in calculating denominator.
8621 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8622 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8623 down expression to avoid unexpected rounding in newer GCCs.
8624 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8625
33f244f4
DM
86262012-04-26 David S. Miller <davem@davemloft.net>
8627
8628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8629 long-double compat symbols.
8630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8643
cfa1f3e8
DM
86442012-04-25 David S. Miller <davem@davemloft.net>
8645
8646 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8647 HWCAP_* values only after the memory barriers have been defined.
8648 (atomic_full_barrier): Define.
8649 (atomic_read_barrier): Define.
8650 (atomic_write_barrier): Define.
8651
6e236b92
SP
86522012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8653
8654 * shlib-versions: Add libgcc_s version information.
8655 * sysdeps/generic/libgcc_s.h: Remove.
8656 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8657 libgcc_s.h.
8658 * sysdeps/gnu/unwind-resume.c: Likewise.
8659 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8660
aab39a09
DM
86612012-04-25 David S. Miller <davem@davemloft.net>
8662
8663 * sysdeps/unix/sparc/brk.S: Delete.
8664 * sysdeps/unix/sparc/dl-brk.S: Delete.
8665 * sysdeps/unix/sparc/pipe.S: Delete.
8666 * sysdeps/unix/sparc/sysdep.S: Delete.
8667 * sysdeps/unix/sparc/sysdep.h: Delete.
8668 * sysdeps/unix/sparc/vfork.S: Delete.
8669 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8670 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8671 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8672 ret_ERRVAL, r0, r1, MOVE): Define.
8673 (JUMPTARGET): Remove.
8674 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8675 sysdeps/unix/sparc/sysdep.h
8676 (ENTRY, END): Remove.
8677 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8678
a3cc4f48
JM
86792012-04-25 Joseph Myers <joseph@codesourcery.com>
8680
2ed8cda2
JM
8681 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8682 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8683 -DIS_IN_build.
8684
35d76d59
JM
8685 * timezone/README: Update upstream location and email address for
8686 tzcode and tzdata.
8687 * timezone/zdump.c: Update from tzcode 2012b.
8688 * timezone/zic.c: Likewise.
8689
a3cc4f48
JM
8690 * configure.in (libc_cv_as_needed): Remove test.
8691 * configure: Regenerated.
8692 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8693 conditional definition.
8694 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8695 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8696 * config.make.in (have-as-needed): Remove variable.
8697
ceab42c3
SP
86982012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8699 Paul Pluzhnikov <ppluzhnikov@google.com>
8700
8701 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8702 strings correctly.
8703
3ce2865f
CLT
87042012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8705
8706 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8707 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8708 * sysdeps/sh/strlen.S: Likewise.
8709
f37e0d68
JM
87102012-04-24 Joseph Myers <joseph@codesourcery.com>
8711
ae186e9a
JM
8712 * sysdeps/unix/fork.S: Remove file.
8713 * sysdeps/unix/i386/fork.S: Likewise.
8714 * sysdeps/unix/sparc/fork.S: Likewise.
8715
b96914af
JM
8716 * sysdeps/unix/system.c: Remove file.
8717 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8718
f37e0d68
JM
8719 * sysdeps/unix/getegid.S: Remove file.
8720 * sysdeps/unix/geteuid.S: Likewise.
8721
87ef29ca
RM
87222012-04-24 Roland McGrath <roland@hack.frob.com>
8723
83bcd236
RM
8724 * scripts/check-localplt.awk: New file.
8725 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8726 of diff.
8727 * scripts/data/localplt-generic.data: Add a comment.
8728
87ef29ca
RM
8729 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8730 NODE when __dir_mkfile failed.
8731 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8732 Reported by Ludovic Courtès <ludo@gnu.org>.
8733
e5a6e567
AJ
87342012-04-24 Andreas Jaeger <aj@suse.de>
8735
8736 * Makerules (common-clean): Also remove gen-as-const-headers
8737 files.
8738
c1820385
JM
87392012-04-24 Joseph Myers <joseph@codesourcery.com>
8740
8741 * Makerules (native-compile): Do not change working directory for
8742 build. Use $(OUTPUT_OPTION) in command.
8743 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8744
94e02fc4
AZ
87452012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8746
8747 [BZ #13886]
8748 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8749 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8750 * math/libm-test.inc (floor_test): Add more tests.
8751 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8752
3a533ca3
JM
87532012-04-24 Joseph Myers <joseph@codesourcery.com>
8754
940ab4b3
JM
8755 * sysdeps/unix/getdents.c: Remove file.
8756 * sysdeps/unix/sysv/getdents.c: Likewise.
8757 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8758
90e037bd
JM
8759 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8760 sysdeps/unix/mman/syscalls.list.
8761 (mmap): Likewise.
8762 (mprotect): Likewise.
8763 (msync): Likewise.
8764 (munmap): Likewise.
8765 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8766 * sysdeps/unix/mman/syscalls.list: Remove.
8767 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8768
3a533ca3
JM
8769 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8770 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8771 * configure: Regenerated.
8772 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8773 $(libgcc_s_suffix).
8774 * config.make.in (libgcc_s_suffix): Remove variable.
8775
1ad743de
JM
87762012-04-23 Joseph Myers <joseph@codesourcery.com>
8777
4ad451e2
JM
8778 * sysdeps/unix/sysv/gethostname.c: Move to ...
8779 * sysdeps/posix/gethostname.c: ... here.
8780
5e37ce39
JM
8781 * sysdeps/unix/execve.S: Remove file.
8782
1ad743de
JM
8783 * sysdeps/unix/_exit.S: Remove file.
8784
4e681b5b
AJ
87852012-04-23 Andreas Jaeger <aj@suse.de>
8786
8787 [BZ #13739]
8788 * manual/Makefile: Remove make dist support, there's no
8789 need for a stand-alone documentation tar ball.
8790 (TEXI2DVI): Define always, it's not in Makeconfig.
8791 (dist): Removed.
8792 (tar-it): Removed.
8793 (edition): Removed.
8794 (glibc-doc-$(edition).tar): Removed
8795 (%.Z): Removed.
8796 (%.gz): Removed.
8797 (%.uu): Removed.
8798 (ETAGS): Remove, it's in Makeconfig.
8799 (move-if-change): Remove, it's in Makeconfig.
8800
c0baea34
PE
88012013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8802
8803 [BZ #13970]
8804 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8805 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8806 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8807 (strtod_l, strtof_l, strtold_l): Remove __wur.
8808 It is not necessarily an error to ignore strtol's return value.
8809 One can reliably look at the stored endptr to decide whether
8810 the number had valid syntax.
8811
7c0616fa
AJ
88122012-04-21 Andreas Jaeger <aj@suse.de>
8813
803cb6b7 8814 [BZ #13739]
7c0616fa
AJ
8815 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8816
b0fe253f
JM
88172012-04-21 Joseph Myers <joseph@codesourcery.com>
8818
8819 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8820 * sysdeps/unix/sysv/Versions: Remove file.
8821
8280f22d
MT
88222012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8823
8824 [BZ #13927]
8825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8826
75ce411f 88272012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8828
8829 [BZ #7064]
8830 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8831 version from __vm86.
8832
097d59fa
JM
88332012-04-20 Joseph Myers <joseph@codesourcery.com>
8834
a90f3bcb
JM
8835 * sysdeps/unix/common/lxstat.c: Remove file.
8836 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8837
edc7ea78
JM
8838 * sysdeps/unix/sysv/Makefile: Remove file.
8839
cb78c221
JM
8840 * sysdeps/unix/sysv/direct.h: Remove file.
8841
efa6a45f
JM
8842 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8843 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8844 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8845 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8846 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8847 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8848 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8849
9c9f2d0c
JM
8850 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8851
4541c83b
JM
8852 * sysdeps/unix/xmknod.c: Remove file.
8853 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8854
f5d153a0
JM
8855 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8856
aa746595
JM
8857 * sysdeps/unix/sysv/i386/time.S: Remove file.
8858
cce5905e
JM
8859 * sysdeps/unix/fxstat.c: Remove file.
8860 * sysdeps/unix/xstat.c: Likewise.
8861 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8862
37fa3841
JM
8863 * sysdeps/unix/sysv/sigaction.c: Remove file.
8864
ff1962a3
JM
8865 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8866 (sysdep_headers): Remove variable.
8867 [termio.h not in sysdep_headers] (generated): Likewise.
8868 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8869 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8870 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8871 * sysdeps/unix/sysv/tcflow.c: Likewise.
8872 * sysdeps/unix/sysv/tcflush.c: Likewise.
8873 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8874 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8875 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8876 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8877 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8878
e7740d31
JM
8879 * sysdeps/unix/siglist.c: Remove file.
8880
ee06f18b
JM
8881 * sysdeps/unix/getppid.S: Remove file.
8882
097d59fa
JM
8883 * sysdeps/unix/mkdir.c: Remove file.
8884 * sysdeps/unix/rmdir.c: Likewise.
8885
ff3d51ec
AS
88862012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8887
8888 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8889 ERR_MAX value.
8890 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8891 errlist-compat value.
8892
50f81fd7
DM
88932012-04-18 David S. Miller <davem@davemloft.net>
8894
8895 * sysdeps/generic/memcopy.h (reg_char): Delete.
8896 * debug/strcat_chk.c: Use char, not reg_char.
8897 * debug/strcpy_chk.c: Likewise.
8898 * debug/strncat_chk.c: Likewise.
8899 * debug/strncpy_chk.c: Likewise.
8900 * string/memchr.c: Likewise.
8901 * string/memrchr.c: Likewise.
8902 * string/rawmemchr.c: Likewise.
8903 * string/strcat.c: Likewise.
8904 * string/strchr.c: Likewise.
8905 * string/strchrnul.c: Likewise.
8906 * string/strcmp.c: Likewise.
8907 * string/strcpy.c: Likewise.
8908 * string/strncat.c: Likewise.
8909 * string/strncmp.c: Likewise.
8910 * string/strncpy.c: Likewise.
8911
8ff41c46
WS
89122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8913
8914 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8915 __builtin_memcopy is called when src and dest ranges are known to not
8916 overlap.
8917
6b652f46
WS
89182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8919
8920 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8921 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8922 fwd_align_merge macro call.
8923 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8924 bwd_align_merge macro call.
8925 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8926
b282631e
WS
89272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8928
8929 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8930 bwd_align_merge macros.
8931 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8932 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8933 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8934
95aa737c
DM
89352012-04-18 David S. Miller <davem@davemloft.net>
8936
8937 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8938
7a99a614
AJ
89392012-04-18 Andreas Jaeger <aj@suse.de>
8940
8941 [BZ# 6794]
8942 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8943 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8944 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8945
8946 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8947 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8948 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8949
8950 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8951 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8952 Adjust for changed ldbl-128 files.
8953
8954 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8955 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8956 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8957
e5270c23
DM
89582012-04-17 David S. Miller <davem@davemloft.net>
8959
8960 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8961
fb5e92c9
AS
89622012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8963
8964 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8965 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8966 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8967 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8968 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8969 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8970
76da7265
AZ
89712012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8972
8973 [BZ #6794]
8974 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8975 * math/libm-test.inc: Add ilogb errno and exception tests.
8976 * math/w_ilogb.c: New file: ilogb wrapper.
8977 * math/w_ilogbf.c: New file: ilogbf wrapper.
8978 * math/w_ilogbl.c: New file: ilogbl wrapper.
8979 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8980 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8981 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8982 exception being thrown with 0.0 as argument.
8983 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8984 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8985 exception being thrown with 0.0 as argument.
8986 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8987 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8988 exception being thrown with 0.0 as argument.
8989 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8990 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8991 exception being thrown with 0.0 as argument.
8992 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8993 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8994 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8995 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8996 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8997 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8998 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8999 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9000 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9001
0396e69d
PB
90022012-04-17 Petr Baudis <pasky@ucw.cz>
9003
9004 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9005 with altivec.
9006
750b5926
MP
90072012-04-16 Marek Polacek <polacek@redhat.com>
9008
9009 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9010
751728a1
MP
90112012-04-16 Marek Polacek <polacek@redhat.com>
9012
9013 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9014 operands of fdivp instruction.
9015
34a27407
L
90162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9017
9018 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9019 * elf/tst-auditmod3b.c: Likewise.
9020 * elf/tst-auditmod4b.c: Likewise.
9021 * elf/tst-auditmod5b.c: Likewise.
9022 * elf/tst-auditmod6b.c: Likewise.
9023 * elf/tst-auditmod6c.c: Likewise.
9024 * elf/tst-auditmod7b.c: Likewise.
9025 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9026 * sysdeps/x86_64/preconfigure.in: Likewise.
9027 * sysdeps/x86_64/preconfigure: Regenerated.
9028
7e73e17d
L
90292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9030
9031 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9032 __ILP32__.
9033
c7a6ab72
AB
90342012-04-13 Antoine Balestrat <merkil33@gmail.com>
9035
9036 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9037 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9038
a9e8e0e0
CL
90392012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9040
9041 [BZ #13973]
9042 * locale/iso-639.def: Fix gl language name. Spotted by
9043 Yaron Shahrabani.
9044
ec98af7d
RM
90452012-04-12 Roland McGrath <roland@hack.frob.com>
9046
9047 [BZ #2074]
9048 * libio/libio.h (__io_write_fn): Update comment.
9049
247c3ede
PB
90502012-04-12 Petr Baudis <pasky@ucw.cz>
9051
9052 [BZ #2074]
9053 * stdio.texi (Hook Functions): The user provided writer function
9054 is not allowed to return -1.
9055
55939d6d
DM
90562012-04-11 David S. Miller <davem@davemloft.net>
9057
9058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9059
90020f5a
MF
90602012-04-11 Mike Frysinger <vapier@gentoo.org>
9061
9062 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9063 Add a leading slash to rtkaio.
9064
288f9098
JM
90652012-04-11 Jim Meyering <meyering@redhat.com>
9066
90020f5a
MF
9067 [BZ #11959]
9068 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9069 It is not necessarily an error to ignore fwrite's return
9070 value. One can reliably use ferror to test for errors after
9071 the fact.
288f9098 9072
4be2b570
L
90732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9074
9075 * bits/types.h (__snseconds_t): New type.
9076 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9077
9078 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9079 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9080 (__SNSECONDS_T_TYPE): Likewise.
9081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9082 (__SNSECONDS_T_TYPE): Likewise.
9083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9084 (__SNSECONDS_T_TYPE): Likewise.
9085
288f9098 90862012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9087
9088 [BZ #2636]
9089 * manual/time.texi (Processor Time): Return type of times is
9090 elapsed real time since an arbitrary point in the past.
9091 (CPU Time): Move CLK_TCK from here...
9092 (Processor Time): ...to here. Correct description.
9093 * manual/conf.texi (Constants for Sysconf): Correct description of
9094 _SC_CLK_TCK.
9095
d7dd4413
DM
90962012-04-10 David S. Miller <davem@davemloft.net>
9097
9098 [BZ #13967]
9099 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9100 where the is a gap between DT_REL(A) and DT_JMPREL.
9101
b46068fc
L
91022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9103
9104 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9105 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9106 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9107
73d65cc3
SP
91082012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9109
9110 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9111 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9112 (dl_main): Handle --inhibit-cache.
9113 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9114 _dl_inhibit_cache.
9115 * elf/dl-load.c (_dl_map_object): Use it.
9116 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9117
bcc8d661
JM
91182012-04-09 Joseph Myers <joseph@codesourcery.com>
9119
8f9a2fae
JM
9120 [BZ #13872]
9121 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9122 (__ieee754_powl): Saturate large exponents rather than testing for
9123 overflow of y*log2(x).
9124 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9125 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9126 exceptions.
9127
bcc8d661
JM
9128 [BZ #11521]
9129 * math/s_ctan.c: Include <float.h>.
9130 (__ctan): Avoid internal overflow or cancellation in calculating
9131 denominator.
9132 * math/s_ctanf.c: Likewise.
9133 * math/s_ctanl.c: Likewise.
9134 * math/s_ctanh.c: Likewise.
9135 * math/s_ctanhf.c: Likewise.
9136 * math/s_ctanhl.c: Likewise.
9137 * math/libm-test.inc (ctan_test): Add more tests.
9138 (ctanh_test): Likewise.
9139 * sysdeps/i386/fpu/libm-test-ulps: Update.
9140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9141
823fbbb4
AJ
91422012-04-09 Andreas Jaeger <aj@suse.de>
9143
03879793
AJ
9144 [BZ #6894]
9145 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9146 is an optional BSD extension.
9147
823fbbb4
AJ
9148 [BZ #10254]
9149 * manual/stdio.texi (Opening Streams): Document additional fopen
9150 parameters.
9151
8de131cb
RM
91522012-04-09 Roland McGrath <roland@hack.frob.com>
9153
9154 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9155 %eax without telling the compiler.
9156
c0ed9d7d
CD
91572012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9158
9159 [BZ # 13963]
9160 * manual/install.texi: Use sourceware.org.
9161
c483f6b4
JM
91622012-04-09 Joseph Myers <joseph@codesourcery.com>
9163
d7dd9453
JM
9164 [BZ #13873]
9165 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9166 (__ieee754_pow): Generate overflow and underflow using huge*huge
9167 and tiny*tiny rather than just returning constant infinity or zero
9168 for large exponents.
9169 * math/libm-test.inc (pow_test): Require overflow exceptions for
9170 applicable cases of large exponents.
9171
c483f6b4
JM
9172 [BZ #706]
9173 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9174 (__ieee754_pow): Use iterative multiplication algorithm only for
9175 integer exponents with absolute value below 1024. Check for odd
9176 integer exponents when using algorithm for real exponents.
9177 * math/libm-test.inc (pow_test): Add more tests.
9178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9179
d2de7579
JM
91802012-04-08 Joseph Myers <joseph@codesourcery.com>
9181
9182 [BZ #13705]
9183 * math/libm-test.inc (exp_test): Do not allow overflow exception
9184 on underflow test.
9185
f77f1232
AJ
91862012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9187
9188 [BZ #13705]
9189 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9190 instead of __kernel_standard_f.
9191
3884932b
MF
91922012-04-08 Mike Frysinger <vapier@gentoo.org>
9193
9194 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9195 * sysdeps/x86_64/memset_chk.S: Likewise.
9196
54472e9c
AJ
91972012-04-08 Andreas Jaeger <aj@suse.de>
9198
6ab0fbfc
AJ
9199 [BZ #10153]
9200 * manual/startup.texi (Environment Access): Describe return value
9201 for putenv and setenv.
9202
61efba8c
AJ
9203 [BZ #6895]
9204 * manual/filesys.texi (Directory Entries): Add description for
9205 DT_LNK.
9206
95c3f29a
AJ
9207 [BZ #6890]
9208 * manual/filesys.texi (Directory Entries): Clarify that it's file
9209 system not operating system in the description of DT_UNKNOWN.
9210
54472e9c
AJ
9211 [BZ #6578]
9212 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9213
624254b1
SC
92142012-04-08 Stephen Compall <s11@member.fsf.org>
9215
9216 [BZ #6649]
9217 * manual/llio.texi (Opening and Closing Files): Add cross
9218 reference to explain mode argument.
9219
1e4920e0
MF
92202012-04-07 Mike Frysinger <vapier@gentoo.org>
9221
9222 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9223 * sysdeps/x86_64/memset_chk.S: Likewise.
9224
5ed848f3
DM
92252012-04-07 David S. Miller <davem@davemloft.net>
9226
9227 * elf/elf.h (R_SPARC_WDISP10): Define.
9228 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9229 R_SPARC_SIZE32.
9230 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9231 R_SPARC_SIZE64 and R_SPARC_H34.
9232
96154cd8
CD
92332012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9234
9235 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9236 conditions and remove no longer applicable assertion.
9237
9904dc47
L
92382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9239
9240 * bits/byteswap.h: Include <features.h>.
9241 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9242 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9243
f8887d0a
L
92442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9245
9246 * bits/byteswap.h (__bswap_16): Removed.
9247 Include <bits/byteswap-16.h> to get __bswap_16.
9248 * sysdeps/i386/bits/byteswap.h: Likewise.
9249 * sysdeps/s390/bits/byteswap.h: Likewise.
9250 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9251 * bits/byteswap-16.h: New file.
9252 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9253 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9254 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9255 * string/Makefile (headers): Add bits/byteswap-16.h.
9256
62470f60
PP
92572012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9258
9259 [BZ #13895]
9260 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9261 extra indirection.
9262 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9263 * nss/tst-nss-static.c: New.
9264
4dad7bab
RM
92652012-04-06 Robert Millan <rmh@gnu.org>
9266
9267 [BZ #6486]
9268 * manual/llio.texi (File Position Primitive): lseek
9269 refers to WHENCE when it really means OFFSET.
9270
e9142a17
AJ
92712012-04-06 Andreas Jaeger <aj@suse.de>
9272
2c040eff
AJ
9273 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9274 strncmp declarations.
9275
e9142a17
AJ
9276 * abilist/libc.abilist: Add __poll and __ppoll.
9277
ff9f1c5f
DM
92782012-04-05 David S. Miller <davem@davemloft.net>
9279
dcd2ae90
DM
9280 * scripts/check-local-headers.sh: Accept a host triplet in the
9281 path matched by the exclude regexp.
9282
993eb054
DM
9283 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9284 definition.
9285 * sysdeps/powerpc/powerpc32/dl-machine.h
9286 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9287 * sysdeps/s390/s390-32/dl-machine.h
9288 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9289 * sysdeps/sparc/sparc32/dl-machine.h
9290 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9291 * sysdeps/sparc/sparc64/dl-machine.h
9292 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9293
ff9f1c5f
DM
9294 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9295 lazy binding.
48e2e132 9296 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9297 undefined symbol errors.
9298
48e2e132 9299 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9300 DT_NEEDED entries.
9301
e80d6f94
MM
93022012-04-05 Michael Matz <matz@suse.de>
9303
9304 [BZ #13592]
9305 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9306
349fa79f
AJ
93072012-04-05 Andreas Jaeger <aj@suse.de>
9308
9309 [BZ #13908]
9310 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9311 comment.
9312
f402708f
KK
93132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9314
9315 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9316 which ROUND is no valid rounding mode.
9317
2ecccfc9
KK
93182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9319
9320 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9321 read again.
9322 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9323
8a53f50f
KK
93242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9325
9326 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9327 an exception using FPU order intentionally.
9328
93292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9330
9331 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9332 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9333 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9334 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9335
d653abb7
SJ
93362012-04-05 Simon Josefsson <simon@josefsson.org>
9337
9338 [BZ #12340]
9339 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9340 EINVAL when BUFLEN is too smal.
9341
c3b1bf7d
TS
93422012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9343
9344 [BZ #13553]
9345 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9346 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9347
b1aa60f3
AJ
93482012-04-03 Andreas Jaeger <aj@suse.de>
9349
c3b1bf7d 9350 [BZ #13938]
67f60a26
AJ
9351 * manual/setjmp.texi (System V contexts): Fix sentence.
9352
b1aa60f3
AJ
9353 [BZ #13926]
9354 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9355 New macro for this case.
9356 [!__GNUC__] (__bswap_64): New inline function for this case.
9357 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9358 * bits/byteswap.h: Likewise.
9359 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9360 ull, guard with __GLIBC_HAVE_LONG_LONG.
9361
9362 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9363 __GLIBC_HAVE_LONG_LONG.
9364
9365 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9366 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9367
39c59c35
TMQMF
93682012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9369
9370 [BZ #13691]
9371 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9372 inptr and inend, rather than using last_ch.
9373
135ffda8
DM
93742012-04-02 David S. Miller <davem@davemloft.net>
9375
9376 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9377 * stdio-common/printf-parse.h (read_int): Change return type to
9378 'int', return -1 on INT_MAX overflow.
9379 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9380 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9381 overflows INT_MAX. Check for overflow of in-format-string precision
9382 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9383 SIZE_MAX not INT_MAX for integer overflow test.
9384 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9385 skip the construct in the format string but do not record anything.
9386 * stdio-common/bug22.c: Adjust to test both width/prevision
9387 INT_MAX overflow as well as total length INT_MAX overflow. Check
9388 explicitly for proper errno values.
9389
228c019e
TS
93902012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9391
302cadd3
TS
9392 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9393 CHAR_MAX.
9394 * string/test-strcmp.c [! WIDE]: Likewise.
9395 * time/tst-mktime2.c: Likewise for INT_MAX.
9396 * string/test-string.h: #include <sys/param.h> for MIN.
9397
228c019e
TS
9398 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9399 * sysdeps/i386/init-first.c (init): Likewise.
9400 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9401 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9402 * sysdeps/sh/init-first.c (init): Likewise.
9403
cfa633f5
UD
94042012-04-01 Ulrich Drepper <drepper@gmail.com>
9405
9406 * po/ru.po: Update from translation team.
d1635ef8 9407 * po/vi.po: Likewise.
cfa633f5 9408
6cd0a5ea
SP
94092012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9410
9411 * resolv/nss_dns/dns-host.c: Merge copyright years.
9412
4b43400f
LD
94132012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9414
9415 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9416 Optimize memcpy with prefetch if
9417 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9418 src, dst pointers have unequal 16 byte alignments.
9419
48c41d04
SP
94202012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9421
9422 [BZ #13928]
9423 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9424 from a CNAME entry and return the minimum ttl for the query.
9425 (gaih_getanswer_slice): Likewise.
9426
b8dc394d
JL
94272012-03-30 Jeff Law <law@redhat.com>
9428
9429 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9430 due to long keys.
9431 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9432 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9433
2f5a5ed0
JL
9434 * resolv/nss_dns/dns-host.c: Update copyright year.
9435
1d39e359
UD
94362012-03-30 Ulrich Drepper <drepper@gmail.com>
9437
c030f70c 9438 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9439 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9440
1d39e359
UD
9441 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9442 comments for sendmmsg.
9443
94442012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9445
9446 [BZ #13691]
9447 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9448 with only 1 character between 0x0041 and 0x01b0.
9449 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9450 * wcsmbs/tst-mbsnrtowcs.c: New file.
9451
20fde227
DM
94522012-03-29 David S. Miller <davem@davemloft.net>
9453
9454 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9455 small copies by hand.
9456
984a4237
JL
94572012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9458
9459 [BZ #13761]
9460 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9461 _nss_compat_initgroups_dyn): Fall back to malloc/free
9462 for large group memberships.
9463
18c9d62b
DM
94642012-03-28 David S. Miller <davem@davemloft.net>
9465
88d85d4f
DM
9466 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9467 that branches into memcpy.
9468 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9469 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9470 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9471 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9472 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9473 bits.
9474 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9475 implementation too.
9476 * sysdeps/sparc/mempcpy.S: New file.
9477
e5aa83e1
DM
9478 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9479 the IFUNC routine in the libc case.
9480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9481
88570753
DM
9482 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9483 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9484 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9485 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9486 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9487 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9488 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9489 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9490
249d7567
DM
9491 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9492 loop to 256 bytes instead of 64 bytes and fix test signedness.
9493
18c9d62b
DM
9494 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9495 * sysdeps/sparc/sparc32/Makefile: rather than here...
9496 * sysdeps/sparc/sparc64/Makefile: and here.
9497
05f3d1f6
UD
94982012-03-28 Ulrich Drepper <drepper@gmail.com>
9499
9500 * malloc/mallocbug.c: Avoid warnings about unused variables.
9501
86ae07a8
JL
95022012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9503
9504 [BZ #13760]
9505 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9506 in the right place. Discard and retry query if response is
9507 larger than input buffer size.
9508
41bf21a1
JM
95092012-03-28 Joseph Myers <joseph@codesourcery.com>
9510
d6270972
JM
9511 [BZ #369]
9512 [BZ #2678]
9513 [BZ #3866]
9514 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9515 x for large integer exponent.
9516 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9517 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9518 sign of result as needed afterwards.
9519 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9520 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9521 result for underflowing pow the same as for overflow.
9522 (__kernel_standard_l): Handle powl overflow and underflow here
9523 rather than calling __kernel_standard.
9524 * math/libm-test.inc (pow_test): Add more tests.
9525
414fca03 9526 [BZ #3868]
41bf21a1
JM
9527 [BZ #13879]
9528 [BZ #13910]
9529 [BZ #13911]
9530 [BZ #13912]
9531 [BZ #13913]
9532 [BZ #13915]
9533 [BZ #13916]
9534 [BZ #13917]
9535 [BZ #13918]
9536 [BZ #13919]
9537 [BZ #13920]
9538 [BZ #13921]
9539 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9540 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9541 (__kernel_standard_l): New function.
9542 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9543 __kernel_standard.
9544 * math/w_acosl.c (__acosl): Likewise.
9545 * math/w_asinl.c (__asinl): Likewise.
9546 * math/w_atan2l.c (__atan2l): Likewise.
9547 * math/w_atanhl.c (__atanhl): Likewise.
9548 * math/w_coshl.c (__coshl): Likewise.
9549 * math/w_exp10l.c (__exp10l): Likewise.
9550 * math/w_exp2l.c (__exp2l): Likewise.
9551 * math/w_fmodl.c (__fmodl): Likewise.
9552 * math/w_hypotl.c (__hypotl): Likewise.
9553 * math/w_j0l.c (__j0l, __y0l): Likewise.
9554 * math/w_j1l.c (__j1l, __y1l): Likewise.
9555 * math/w_jnl.c (__jnl, __ynl): Likewise.
9556 * math/w_lgammal.c (__lgammal): Likewise.
9557 * math/w_log10l.c (__log10l): Likewise.
9558 * math/w_log2l.c (__log2l): Likewise.
9559 * math/w_logl.c (__logl): Likewise.
9560 * math/w_powl.c (__powl): Likewise.
9561 * math/w_remainderl.c (__remainderl): Likewise.
9562 * math/w_scalbl.c (sysv_scalbl): Likewise.
9563 * math/w_sinhl.c (__sinhl): Likewise.
9564 * math/w_sqrtl.c (__sqrtl): Likewise.
9565 * math/w_tgammal.c (__tgammal): Likewise.
9566 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9567 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9568 * math/libm-test.inc (acos_test): Add more tests.
9569 (acosh_test): Likewise.
9570 (asin_test): Likewise.
9571 (atanh_test): Likewise.
9572 (exp_test): Likewise.
9573 (exp10_test): Likewise.
9574 (exp2_test): Likewise.
9575 (expm1_test): Likewise.
9576 (lgamma_test): Likewise.
9577 (log_test): Likewise.
9578 (log10_test): Likewise.
9579 (log1p_test): Likewise.
9580 (log2_test): Likewise.
9581 (pow_test): Do not allow some spurious overflow exceptions.
9582 (sqrt_test): Add more tests.
9583 (tgamma_test): Likewise.
9584 (y0_test): Likewise.
9585 (y1_test): Likewise.
9586 (yn_test): Likewise.
9587
dd62fda6
AB
95882012-03-27 Anton Blanchard <anton@samba.org>
9589
9590 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9591 MAP_HUGETLB.
9592 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9593 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9594 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9595
1e3cdfda
AJ
95962012-03-27 David S. Miller <davem@davemloft.net>
9597
b855ab85
DM
9598 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9599
1e3cdfda
AJ
9600 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9601 have-as-vis3 check.
9602
96032012-03-27 Andreas Jaeger <aj@suse.de>
9604
9605 * sysdeps/x86_64/elf/configure.in: Moved to ...
9606 * sysdeps/x86_64/configure.in: ... here.
9607 * sysdeps/x86_64/elf/start.S: Moved to ...
9608 * sysdeps/x86_64/start.S: ... here.
9609 * sysdeps/x86_64/elf/configure: Delete.
9610
9611 * sysdeps/x86_64/configure.in: Merge contents from
9612 sysdeps/i386/configure.in (without i686 check).
9613
9614 * sysdeps/i386/elf/Versions: Merge into ...
9615 * sysdeps/i386/Versions: ... this.
9616 * sysdeps/i386/elf/Versions: Delete file.
9617 * sysdeps/i386/elf/start.S: Moved to ...
9618 * sysdeps/i386/start.S: ...here.
9619 * sysdeps/i386/elf/configure.in: Merge into...
9620 * sysdeps/i386/configure.in: ...here.
9621 * sysdeps/i386/elf/configure.in: Delete file.
9622 * sysdeps/i386/elf/configure: Delete file.
9623
9624 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9625 * debug/backtracesyms.c: ... here.
9626 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9627 * debug/backtracesymsfd.c: ... here.
9628 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9629 * sysdeps/generic/ifunc-sel.h: ... here.
9630
9631 * sysdeps/unix/i386/start.c: Delete file.
9632 * sysdeps/unix/sparc/start.c: Delete file.
9633 * sysdeps/unix/start.c: Delete file.
9634
9635 * sysdeps/sh/elf/configure.in: Moved to ...
9636 * sysdeps/sh/configure.in: ... here.
9637 * sysdeps/sh/elf/start.S: Moved to ...
9638 * sysdeps/sh/start.S: ... here.
9639 * sysdeps/sh/elf/configure: Delete file.
9640
9641 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9642 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9643 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9644 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9645 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9646 * sysdeps/powerpc/powerpc64/start.S: here.
9647 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9648 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9649 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9650 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9651 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9652
9653 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9654 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9655 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9656 * sysdeps/powerpc/powerpc32/start.S: ... here.
9657 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9658 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9659 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9660
9661 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9662 * sysdeps/powerpc/ifunc-sel.h: ... here.
9663 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9664 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9665
9666 * sysdeps/sparc/elf/configure.in: Moved to ...
9667 * sysdeps/sparc/configure.in: ... here.
9668 * sysdeps/sparc/elf/configure: Delete file.
9669 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9670 * sysdeps/sparc/sparc32/start.S: ... here.
9671 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9672 * sysdeps/sparc/sparc64/start.S: ... here.
9673 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9674 * sysdeps/sparc/sparc32/Makefile: ... this.
9675 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9676 * sysdeps/sparc/sparc64/Makefile: ... this.
9677
9678 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9679 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9680 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9681 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9682 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9683 * sysdeps/s390/s390-32/setjmp.S: ... here.
9684 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9685 * sysdeps/s390/s390-32/configure.in: ... here.
9686 * sysdeps/s390/s390-32/elf/configure: Delete file.
9687 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9688 * sysdeps/s390/s390-32/start.S: ... here.
9689
9690 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9691 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9692 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9693 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9694 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9695 * sysdeps/s390/s390-64/setjmp.S: ... here.
9696 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9697 * sysdeps/s390/s390-64/configure.in: ... here
9698 * sysdeps/s390/s390-64/elf/configure: Delete file.
9699 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9700 * sysdeps/s390/s390-64/start.S: ... here.
9701 * sysdeps/s390/s390-64/elf/configure: Delete.
9702
9703 * configure.in: Remove support for elf directories in sysdeps.
9704
9705 * configure: Regenerated.
9706 * sysdeps/i386/configure: Regenerated.
9707 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9708 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9709 * sysdeps/s390/s390-32/configure: Regenerated.
9710 * sysdeps/s390/s390-64/configure: Regenerated.
9711 * sysdeps/sh/configure: Regenerated.
9712 * sysdeps/sparc/configure: Regenerated.
9713 * sysdeps/x86_64/configure: Regenerated.
9714
a3f61311
AS
97152012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9716
c876e002
AS
9717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9718
a3f61311
AS
9719 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9720 denormal result into account.
9721
ac4c54f0
RM
97222012-03-25 Roland McGrath <roland@hack.frob.com>
9723
9724 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9725 Reported by Allan McRae <allan@archlinux.org>.
9726
6a9b9c02
JL
97272012-03-23 Jeff Law <law@redhat.com>
9728
9729 * nss/getnssent.c (__nss_getent): Fix typo.
9730
4c42a0c1
DM
97312012-03-23 David S. Miller <davem@davemloft.net>
9732
9733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9734
1532c7ac
L
97352012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9736
9737 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9738 to pad to uint64_t for each field.
9739 (dl_tls_index): Replace unsigned long with uint64_t.
9740
3ff42526
PP
97412012-03-23 Daniel Jacobowitz <dmj@google.com>
9742 Paul Pluzhnikov <ppluzhnikov@google.com>
9743
9744 [BZ #6528]
9745 * grp/Makefile (otherlibs): Don't set it.
9746 * inet/Makefile (otherlibs): Likewise.
9747 * login/Makefile (otherlibs): Likewise.
9748 * nscd/Makefile (otherlibs): Likewise.
9749 * posix/Makefile (otherlibs): Likewise.
9750 * pwd/Makefile (otherlibs): Likewise.
9751 * rt/Makefile (otherlibs): Likewise.
9752 * sunrpc/Makefile (otherlibs): Likewise.
9753 * nss/Makefile (otherlibs): Likewise.
9754 Add libnss_files to routines and static-only-routines.
9755 ($(objpfx)getent): Remove rule.
9756 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9757 static-only-routines.
9758
7c69cd14
JM
97592012-03-22 Joseph Myers <joseph@codesourcery.com>
9760
9761 [BZ #13892]
9762 * math/s_cexp.c: Include <float.h>.
9763 (__cexp): Handle exp result overflowing not necessarily
9764 overflowing both real and imaginary parts of result.
9765 * math/s_cexpf.c: Likewise.
9766 * math/s_cexpl.c: Likewise.
9767 * math/libm-test.inc (cexp_test): Add more tests.
9768 * sysdeps/i386/fpu/libm-test-ulps: Update.
9769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9770
81b035fe
L
97712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9772
9773 * include/link.h (ELFW): New macro.
9774 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9775 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9776
1da7940c
L
97772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9778
9779 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9780 with uint64_t.
9781
b749dbb9
L
97822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9783
9784 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9785 declaration.
9786 (struct La_x32_retval): Likewise.
9787
2ff87f3f
L
97882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9789
9790 * sysdeps/x86_64/preconfigure.in: New file.
9791 * sysdeps/x86_64/preconfigure: New generated file.
9792
c0df8e69
JM
97932012-03-22 Joseph Myers <joseph@codesourcery.com>
9794
48e44791
JM
9795 [BZ #13824]
9796 * math/e_exp2l.c: Include <float.h>.
9797 (__ieee754_exp2l): Handle overflow and underflow cases
9798 separately. Only pass fractional part of argument to
9799 __ieee754_expl.
9800 * math/libm-test.inc (exp2_test): Add more tests.
9801
c0df8e69
JM
9802 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9803 negating x to take absolute value.
9804 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9805 Likewise.
9806 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9807 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9808 Likewise.
9809 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9810 computing low part if x was negated.
9811 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9812
c8e43ba7
L
98132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9814
9815 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9816 la_x32_gnu_pltexit.
9817 (pltexit): Cast int_retval to ptrdiff_t.
9818 * elf/tst-auditmod3b.c: Likewise.
9819 * elf/tst-auditmod4b.c: Likewise.
9820 * elf/tst-auditmod5b.c: Likewise.
9821 * elf/tst-auditmod6b.c: Likewise.
9822 * elf/tst-auditmod6c.c: Likewise.
9823 * elf/tst-auditmod7b.c: Likewise.
9824
9825 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9826 and x32_gnu_pltexit.
9827
9828 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9829 __ELF_NATIVE_CLASS.
9830 (La_x32_regs): New macro.
9831 (La_x32_retval): Likewise.
9832 (la_x32_gnu_pltenter): New function prototype.
9833 (la_x32_gnu_pltexit): Likewise.
9834
7998fa78
AS
98352012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9836
dcb33988
AS
9837 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9838 exponent.
9839
233fc563
AS
9840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9841
7998fa78
AS
9842 * configure.in (libc_cv_cc_nofma): Check for option to disable
9843 generation of FMA instructions.
9844 * configure: Regenerate.
9845 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9846 * sysdeps/ieee754/dbl-64/Makefile: New file.
9847 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9848 Remove brandred-fma4.
9849 (CFLAGS-brandred-fma4.c): Remove.
9850 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9851 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9852 define.
9853 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9854 define.
9855
8e95c99a
L
98562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9857
9858 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9859 LLONG_MAX != LONG_MAX.
9860 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9861 (_fitoa_word): Likewise.
9862 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9863 LLONG_MAX != LONG_MAX.
9864 * stdio-common/_itowa.h: Include <_itoa.h>.
9865 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9866 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9867 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9868 only if not defined.
9869 (_ITOA_WORD_TYPE): Likewise.
9870 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9871 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9872
6f4db457
DM
98732012-03-21 David S. Miller <davem@davemloft.net>
9874
9875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9876
7785fe5a
L
98772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9878
9879 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9880 of x86_64 when setting libc_cv_slibdir, libdir and
9881 libc_cv_localedir.
9882 * sysdeps/unix/sysv/linux/configure: Regenerated.
9883
4535cd55
JM
98842012-03-21 Joseph Myers <joseph@codesourcery.com>
9885
9886 * manual/lang.texi (Old Varargs): Remove section.
9887 (How Variadic): Update menu.
9888 (va_start): Do not mention varargs.h.
9889
17228132
TS
98902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9891 Joseph Myers <joseph@codesourcery.com>
9892
9893 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9894 link test.
9895 * configure: Regenerated.
9896
8149f976
TS
98972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9898
05f3d1f6
UD
9899 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9900 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9901 conformtest.pl
8149f976 9902
1a4ac776
JM
99032012-03-21 Joseph Myers <joseph@codesourcery.com>
9904
be22ce65
JM
9905 * NOTES: Remove.
9906 * Makefile (files-for-dist): Remove NOTES.
9907 (NOTES): Remove rule.
9908 * README: Don't refer to NOTES.
9909 * manual/creature.texi: Don't include macros.texi.
9910 * manual/intro.texi (creature.texi): Remove comment referring to
9911 NOTES.
9912
40b601fb
JM
9913 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9914 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9915 * configure: Regenerated.
9916 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9917 LIBC_TRY_CC_OPTION.
9918 (libc_cv_as_i686): Likewise.
9919 (libc_cv_cc_avx): Likewise.
9920 (libc_cv_cc_sse2avx): Likewise.
9921 (libc_cv_cc_fma4): Likewise.
9922 (libc_cv_cc_novzeroupper): Likewise.
9923 * sysdeps/i386/configure: Regenerated.
9924
1a4ac776
JM
9925 [BZ #13883]
9926 * sysdeps/i386/fpu/s_cexp.S: Remove.
9927 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9928 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9929 * math/libm-test.inc (cexp_test): Add more tests.
9930 * sysdeps/i386/fpu/libm-test-ulps: Update.
9931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9932
a458e7fe
AM
99332012-03-21 Allan McRae <allan@archlinux.org>
9934
9935 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9936
0cb7efc5
JM
99372012-03-21 Joseph Myers <joseph@codesourcery.com>
9938
9939 [BZ #13871]
9940 * math/w_exp2.c: Do not include <float.h>.
9941 (o_threshold, u_threshold): Remove.
9942 (__exp2): Calculate result before checking finiteness and calling
9943 __kernel_standard.
9944 * math/w_exp2f.c: Likewise.
9945 * math/w_exp2l.c: Likewise.
9946 * math/libm-test.inc (exp2_test): Require overflow exception for
9947 1e6 input.
2460d3aa
JM
9948
9949 [BZ #3866]
9950 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9951 range of signed 64-bit integers before using fistpll. Remove
9952 checks for whether integers fit in mantissa bits.
9953 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9954 the range of signed 32-bit integers before using fistpl. Remove
9955 checks for whether integers fit in mantissa bits.
9956 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9957 (__ieee754_powl): Test for y outside the range of signed 64-bit
9958 integers before using fistpll. Reduce 64-bit values to 63-bit
9959 ones as needed.
9960 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9961 divide-by-zero is raised for zero to large negative powers.
9962 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9963 (__ieee754_powl): Test for y outside the range of signed 64-bit
9964 integers before using fistpll. Reduce 64-bit values to 63-bit
9965 ones as needed.
9966 * math/libm-test.inc (pow_test): Add more tests.
9967
eb96ffb0
L
99682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9969
9970 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9971 <stdio-common/_itoa.h>.
9972 * debug/segfault.c: Likewise.
9973 * elf/dl-cache.c: Likewise.
9974 * elf/dl-minimal.c: Likewise.
9975 * elf/dl-misc.c: Likewise.
9976 * elf/dl-sysdep.c: Likewise.
9977 * elf/dl-version.c: Likewise.
9978 * elf/rtld.c: Likewise.
9979 * hurd/hurdsock.c: Likewise.
9980 * hurd/lookup-retry.c: Likewise.
9981 * malloc/malloc.c: Likewise.
9982 * malloc/mtrace.c: Likewise.
9983 * nscd/nscd_getgr_r.c: Likewise.
9984 * nscd/nscd_getpw_r.c: Likewise.
9985 * nscd/nscd_getserv_r.c: Likewise.
9986 * posix/getopt_init.c: Likewise.
9987 * posix/wordexp.c: Likewise.
9988 * stdio-common/_itoa.c: Likewise.
9989 * stdio-common/printf_fphex.c: Likewise.
9990 * stdio-common/vfprintf.c: Likewise.
9991 * string/_strerror.c: Likewise.
9992 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9993 * sysdeps/i386/i686/hp-timing.h: Likewise.
9994 * sysdeps/mach/_strerror.c: Likewise.
9995 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9996 * sysdeps/mach/hurd/sethostid.c: Likewise.
9997 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9998 * sysdeps/mach/xpg-strerror.c: Likewise.
9999 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10000 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10001 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10002 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10003 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10004 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10005 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10006 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10007 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10008 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10009 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10010 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10011 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10012 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10013 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10014 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10015 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10016 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10017 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10018 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10019 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10020
10021 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10022
10023 * stdio-common/_itoa.h: Moved to ...
10024 * sysdeps/generic/_itoa.h: Here.
10025
10026 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10027
10028 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10029 instead of "_itoa.h" and "_itowa.h".
10030 * stdio-common/vfprintf.: Likewise.
10031
d1af992d
L
100322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10033
10034 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10035 <bits/wordsize.h>.
10036 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10037 (__signbit): Likwise.
10038 (llrintf): Likwise.
10039 (llrint): Likwise.
10040
114883e0
L
100412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10042
10043 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10044 __WORDSIZE != 64.
10045
c135cc1b
JM
100462012-03-20 Joseph Myers <joseph@codesourcery.com>
10047
10048 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10049 OVERFLOW_EXCEPTION_OK.
10050 * math/libm-test.inc ("Philosophy"): Update comment about
10051 exception testing.
10052 (OVERFLOW_EXCEPTION): Define.
10053 (OVERFLOW_EXCEPTION_OK): Likewise.
10054 (INVALID_EXCEPTION_OK): Renumber.
10055 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10056 (IGNORE_ZERO_INF_SIGN): Likewise.
10057 (test_exceptions): Handle FE_OVERFLOW.
10058 (exp10_test): Expect overflow exceptions.
10059 (exp2_test): Likewise.
10060 (expm1_test): Likewise.
10061 (nextafter_test): Likewise.
10062 (pow_test): Likewise.
10063 (scalbn_test): Likewise.
10064 (scalbln_test): Likewise.
10065
95443d88
L
100662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10067
10068 * sysdeps/x86_64/bits/atomic.h
10069 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10070 64bit integer.
10071 (atomic_exchange_acq): Likewise.
10072 (__arch_exchange_and_add_body): Likewise.
10073 (__arch_add_body): Likewise.
10074 (atomic_add_negative): Likewise.
10075 (atomic_add_zero): Likewise.
10076
490df6c4
L
100772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10078
c2722551 10079 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10080 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10081
5e52b189
L
100822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10083
10084 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10085 Check __x86_64__ instead of __WORDSIZE.
10086
a9879d4c
L
100872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10088
10089 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10090
5df98260
DM
100912012-03-19 David S. Miller <davem@davemloft.net>
10092
e1497744
DM
10093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10094
5df98260
DM
10095 * sysdeps/sparc/fpu/fenv_private.h: New file.
10096 * sysdeps/sparc/fpu/math_private.h: Use it.
10097 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10098 Remove.
10099 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10100 (libc_feholdexcept_setroundl): Remove.
10101 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10102 Remove.
10103 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10104 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10105
b4c35121
L
101062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10107
10108 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10109 int64_t instead of long int.
10110 (INSERT_WORDS64): Likwise.
10111
56965fd7
L
101122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10113
10114 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10115 _Unwind_GetCFA return to _Unwind_Ptr first.
10116
83d1aec8
JM
101172012-03-19 Joseph Myers <joseph@codesourcery.com>
10118
1897ad44
JM
10119 [BZ #13629]
10120 * math/s_clog.c: Include <float.h>.
10121 (__clog): Scale large or subnormal inputs.
10122 * math/s_clogf.c: Likewise.
10123 * math/s_clogl.c: Likewise.
10124 * math/s_clog10.c: Include <float.h>.
10125 (M_LOG10_2): Define.
10126 (__clog10): Scale large or subnormal inputs.
10127 * math/s_clog10f.c: Likewise.
10128 * math/s_clog10l.c: Likewise.
10129 * math/libm-test.inc (clog_test): Add more tests.
10130 (clog10_test): Likewise.
10131 * sysdeps/i386/fpu/libm-test-ulps: Update.
10132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10133
7726d6a9
JM
10134 [BZ #11451]
10135 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10136 x and y.
10137 * math/libm-test.inc (atan2_test): Add another test.
10138
83d1aec8
JM
10139 * Makerules (common-objdir-compile): Remove.
10140 * sysdeps/unix/Makefile (config-generated): Do not add
10141 $(unix-generated) to variable.
10142 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10143 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10144 Remove rule.
10145 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10146 Likewise.
10147 [generic bits/local_lim.h] (before-compile): Do not append to
10148 variable.
10149 [generic bits/local_lim.h] (common-generated): Likewise.
10150 [generic sys/param.h] (before-compile): Do not append to variable.
10151 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10152 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10153 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10154 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10155 include.
10156 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10157 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10158 [generic sys/param.h] ($(addprefix
10159 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10160 [generic sys/param.h] (common-generated): Do not append to
10161 variable.
10162 [generic sys/param.h] (sysdep_headers): Likewise.
10163 [generic bits/errno.h] (before-compile): Do not append to
10164 variable.
10165 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10166 rule.
10167 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10168 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10169 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10170 [generic bits/errno.h] (common-generated): Do not append to
10171 variable.
10172 [generic bits/ioctls.h] (before-compile): Do not append to
10173 variable.
10174 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10175 rule.
10176 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10177 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10178 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10179 rule.
10180 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10181 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10182 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10183 [generic bits/ioctls.h] (common-generated): Do not append to
10184 variable.
10185 [generic sys/syscall.h] (syscall.h): Remove variable.
10186 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10187 rule.
10188 [generic sys/syscall.h] (before-compile): Do not append to
10189 variable.
10190 [generic sys/syscall.h] (common-generated): Likewise.
10191 * sysdeps/unix/errnos-tmpl.c: Remove file.
10192 * sysdeps/unix/errnos.awk: Likewise.
10193 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10194 * sysdeps/unix/ioctls.awk: Likewise.
10195 * sysdeps/unix/mk-local_lim.c: Likewise.
10196 * sysdeps/unix/snarf-ioctls: Likewise.
10197
4851a949
RH
101982012-03-19 Richard Henderson <rth@twiddle.net>
10199
bd37f2ee
RH
10200 * sysdeps/i386/fpu/fenv_private.h: New file.
10201 * sysdeps/i386/fpu/math_private.h: Use it.
10202 (math_opt_barrier, math_force_eval): Remove.
10203 (libc_feholdexcept_setround_53bit): Remove.
10204 (libc_feupdateenv_53bit): Remove.
10205 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10206 (math_opt_barrier, math_force_eval): Remove.
10207 (libc_feholdexcept): Remove.
10208 (libc_feholdexcept_setround): Remove.
10209 (libc_fetestexcept, libc_fesetenv): Remove.
10210 (libc_feupdateenv_test): Remove.
10211 (libc_feupdateenv, libc_feholdsetround): Remove.
10212 (libc_feresetround): Remove.
10213
d0adc922
RH
10214 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10215 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10216
0fe0f1f8
RH
10217 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10218 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10219 (libc_feupdateenv_testl): New.
10220 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10221 (libc_feupdateenv_testf): New.
10222 (libc_feupdateenv): Use libc_feupdateenv_test.
10223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10224 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10225
eb92c487
RH
10226 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10227 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10228 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10229 (libc_feresetround_noex): New.
10230 (libc_feresetround_noexf): New.
10231 (libc_feresetround_noexl): New.
10232 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10233 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10234 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10235 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10236 SET_RESTORE_ROUND.
10237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10238 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10239 (__cos): Likewise.
10240 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10241 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10242 SET_RESTORE_ROUND_NOEX.
10243 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10244 SET_RESTORE_ROUND_NOEXF.
10245 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10246 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10247 (libc_feholdsetroundf): New.
10248 (libc_feresetround, libc_feresetroundf): New.
10249
7d2e8012
RH
10250 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10251 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10252 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10253
b4dabbb4
RH
10254 * sysdeps/generic/math_private.h: Include <fenv.h>.
10255 (default_libc_feholdexcept): New.
10256 (default_libc_feholdexcept_setround): New.
10257 (default_libc_fesetenv, default_libc_feupdateenv): New.
10258 (libc_feholdexcept): Only define if undefined.
10259 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10260 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10261 (libc_feholdexcept_setroundl): Likewise.
10262 (libc_feholdexcept_setround_53bit): Likewise.
10263 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10264 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10265 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10266 (libc_feupdateenv_53bit): Likewise.
10267 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10268 (libc_feholdexcept): Convert from macro to inline function.
10269 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10270 (libc_fesetenv, libc_feupdateenv): Likewise.
10271
4851a949
RH
10272 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10273 not previously defined.
10274 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10275 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10276 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10277 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10278 * sysdeps/ieee754/flt-32/math_private.h: New file.
10279 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10280 math_private.h below SET_FLOAT_WORD.
10281 (__isnan, __isinf_ns, __finite): Remove.
10282 (__isnanf, __isinf_nsf, __finitef): Remove.
10283
e79d442e
AS
102842012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10285
10286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10287
90b80344
DM
102882012-03-17 David S. Miller <davem@davemloft.net>
10289
10290 [BZ #6471]
10291 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10292 for 2.16.
10293
edc21804
DM
102942012-03-16 David S. Miller <davem@davemloft.net>
10295
77e927af
DM
10296 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10297 warnings.
10298
374976dd
DM
10299 [BZ #6471]
10300 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10301 properly.
10302 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10303 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10304 sysdep_routines when subdir is sysvipc.
10305 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10306 __getshmlba helper.
10307
edc21804
DM
10308 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10309
473c3ef3
L
103102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10311
10312 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10313 [__LP64__].
10314
eb0f39b6
L
103152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10316
10317 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10318 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10319 (__lround): Renamed to ...
10320 (__llround): This. Replace long int with long long int.
10321 Define lround functions as aliases of llround functions.
10322 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10323
6b6cd74b
L
103242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10325
10326 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10327 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10328 adresses to uintptr_t. Replace "long int" and "unsigned long
10329 int" with "greg_t" on va_arg.
10330
f1a77b01
L
103312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10332
10333 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10334 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10335
10336 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10337 Move e_machine check before EI_CLASS check. Handle x32
10338 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10339 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10340 SKIP_EM_IA_64 and include
10341 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10342
10343 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10344 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10345 (add_system_dir): New macro.
10346
10347 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10348 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10349
11b90b9f
JM
103502012-03-16 Joseph Myers <joseph@codesourcery.com>
10351
c36e1d23
JM
10352 [BZ #2551]
10353 [BZ #2552]
10354 [BZ #2553]
10355 [BZ #2554]
10356 [BZ #2562]
10357 [BZ #2563]
10358 [BZ #2565]
10359 [BZ #2566]
10360 [BZ #2576]
10361 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10362 (y0): Likewise.
10363 * math/w_j0f.c (j0f): Likewise.
10364 (y0f): Likewise.
10365 * math/w_j0l.c (__j0l): Likewise.
10366 (__y0l): Likewise.
10367 * math/w_j1.c (j1): Likewise.
10368 (y1): Likewise.
10369 * math/w_j1f.c (j1f): Likewise.
10370 (y1f): Likewise.
10371 * math/w_j1l.c (__j1l): Likewise.
10372 (__y1l): Likewise.
10373 * math/w_jn.c (jn): Likewise.
10374 (yn): Likewise.
10375 * math/w_jnf.c (jnf): Likewise.
10376 (ynf): Likewise.
10377 * math/w_jnl.c (__jnl): Likewise.
10378 (__ynl): Likewise.
10379 * math/libm-test.inc (j0_test): Add more tests.
10380 (j1_test): Likewise.
10381 (jn_test): Likewise. Add trailing semicolon to existing test.
10382 (y0_test): Likewise.
10383 (y1_test): Likewise.
10384 * sysdeps/i386/fpu/libm-test-ulps: Update.
10385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10386
11b90b9f
JM
10387 [BZ #13851]
10388 [BZ #13854]
10389 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10390 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10391 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10392 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10393 (__tanl): Set errno for infinite argument.
10394 * sysdeps/i386/fpu/mptan.c: Remove.
10395 * sysdeps/i386/fpu/s_tan.S: Likewise.
10396 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10397 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10398 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10399 * math/libm-test.inc (tan_test): Add more tests and enable more
10400 tests for double and long double.
10401 * sysdeps/i386/fpu/libm-test-ulps: Update.
10402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10403
6a1bd2a1
JK
104042012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10405
10406 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10407 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10408
10a803e0
RM
104092012-03-16 Roland McGrath <roland@hack.frob.com>
10410
10411 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10412 * configure.in: Use it for both main tree and add-ons.
10413 * configure: Regenerated.
10414
f196c7f7
L
104152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10416
10417 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10418
8848d99d
JM
104192012-03-16 Joseph Myers <joseph@codesourcery.com>
10420
96cbe7f4
JM
10421 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10422 in comment.
10423
8848d99d
JM
10424 [BZ #13851]
10425 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10426 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10427 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10428 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10429 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10430 infinite argument.
10431 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10432 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10433 != 0 for prec == 2.
10434 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10435 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10436 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10437 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10438 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10439 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10440 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10441 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10442 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10443 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10444 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10445 * math/libm-test.inc (cos_test): Add more tests and enable more
10446 tests for long double.
10447 (sin_test): Likewise.
10448 (sincos_test): Likewise.
10449 * sysdeps/i386/fpu/libm-test-ulps: Update.
10450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10451
dd7f4703
DM
104522012-03-16 David S. Miller <davem@davemloft.net>
10453
10454 * sysdeps/sparc/fpu/math_private.h: New file.
10455
006f1daa
DM
104562012-03-15 David S. Miller <davem@davemloft.net>
10457
c0c83bc8
DM
10458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10459 file.
e6a62e18 10460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10462 file.
e6a62e18
DM
10463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10468 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10469 sysdep routines.
10470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10471
88cb87d9
DM
10472 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10473 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10474
006f1daa 10475 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10477 sparc-ifunc.h
006f1daa 10478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10480 Likewise.
10481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10482 Likewise.
006f1daa
DM
10483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10487 Likewise.
006f1daa
DM
10488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10493 Likewise.
10494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10495 Likewise.
006f1daa
DM
10496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10500 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10502 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10503 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10514 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10515 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10516 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10517 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10518 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10519 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10520
11e0098e
AS
105212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10522
10523 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10524 scaling.
10525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10526
e85b09d0
AJ
105272012-03-15 Andreas Jaeger <aj@suse.de>
10528
10529 [BZ #13852]
10530 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10531 ieee754/flt-32 implementation for sin, cos and sincos.
10532 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10533 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10534 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10535 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10536 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10537 ieee754/flt-32 implementation for tan.
10538
10539 * math/libm-test.inc (cos_test): Enable some large input tests for
10540 float as well
10541 (sin_test): Likewise.
10542 (sincos_test): Likewise.
10543 (tan_test): Add tests for large input.
10544
10545 * sysdeps/i386/fpu/libm-test-ulps: Update.
10546
81c64153
AJ
105472012-03-15 Andreas Jaeger <aj@suse.de>
10548
10549 [BZ #13658]
10550 * math/libm-test.inc (cos_test): Add more test cases.
10551 (sin_test): Likewise.
10552 (sincos_test): Likewise.
10553
7bbfa5c6
AJ
105542012-03-15 Andreas Jaeger <aj@suse.de>
10555
10556 [BZ #13837]
10557 * math/libm-test.inc (cos_test): Add a test case for large input
10558 value.
10559 (sin_test): Likewise.
10560 (sincos_test): Likewise.
10561
105622012-03-15 Andreas Jaeger <aj@suse.de>,
10563 Joseph Myers <joseph@codesourcery.com>
10564
10565 [BZ #13658]
0671f479 10566 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10567 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10568 * sysdeps/i386/fpu/branred.c: Likewise.
10569 * sysdeps/i386/fpu/dosincos.c: Likewise.
10570 * sysdeps/i386/fpu/mpa.c: Likewise.
10571 * sysdeps/i386/fpu/s_cos.S: Likewise.
10572 * sysdeps/i386/fpu/s_sin.S: Likewise.
10573 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10574 * sysdeps/i386/fpu/sincos32.c: Likewise.
10575
10576 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10577 Define.
10578 (libc_feupdateenv_53bit): Define.
10579 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10580 Define.
10581 (libc_feupdateenv_53bit): Define.
10582
10583 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10584 53 bit (without extend i386 double precision).
10585
10586 * math/libm-test.inc (sincos_test): Add tests for large input.
10587 (sin): Likewise.
10588 (cos): Likewise.
10589
10590 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10591
9cad04ea
AS
105922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10593
10594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10595
f7062b9a
DM
105962012-03-15 David S. Miller <davem@davemloft.net>
10597
10598 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10599 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10600 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10601 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10614 file.
f7062b9a 10615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10617 file.
f7062b9a 10618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10620 file.
f7062b9a 10621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10623 file.
f7062b9a
DM
10624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10625 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10626 fmin/fmax sysdep routines.
10627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10628
7bd951ff
DM
106292012-03-14 David S. Miller <davem@davemloft.net>
10630
559398ab
DM
10631 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10632 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10633 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10634 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10635 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10636 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10637 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10638 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10640 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10641 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10642 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10647 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10648 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10649 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10651 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10652 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10653 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10654 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10657 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10658 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10659 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10660 routines.
10661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10662 file.
559398ab 10663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10665 file.
559398ab 10666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10668 file.
559398ab 10669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10671 file.
559398ab 10672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10674 file.
559398ab 10675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10677 file.
10678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10679 file.
10680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10681 file.
10682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10683 file.
10684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10685 New file.
10686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10687 file.
10688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10689 file.
559398ab 10690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10692 file.
559398ab 10693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10695 file.
559398ab 10696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10698 file.
559398ab 10699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10701 VIS3 routines.
559398ab
DM
10702
10703 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10704 New file.
10705
5a1c1e32
DM
10706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10707
eae47a36
DM
10708 * sysdeps/sparc/configure.in: New file.
10709 * sysdeps/sparc/configure: Generate.
10710 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10711 * configure: Regenerate.
10712 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10713 * config.make.in (have-as-vis3): New.
10714 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10715 available use -Av9d instead of -Av9a.
10716 * sysdeps/sparc/sparc64/Makefile: Likewise.
10717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10719 New file.
10720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10721 file.
10722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10723 New file.
10724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10725 file.
eae47a36
DM
10726 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10727 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10728 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10729 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10731
c0c83bc8
DM
10732 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10733 fzeros/fnegs to load 0x80000000 into a float register instead of
10734 using the stack.
7bd951ff
DM
10735 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10736
bd951ccb
JM
107372012-03-14 Joseph Myers <joseph@codesourcery.com>
10738
10739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10740 bits/syscall.h.
10741 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10742 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10743 ($(inst_includedir)/bits/syscall.h): Remove rule.
10744 ($(objpfx)bits/syscall.d): Include instead of
10745 $(objpfx)syscall-list.d.
10746 (generated): Change syscall-list.h and syscall-list.d to
10747 bits/syscall.h and bits/syscall.d.
10748
bb4e6db2
RM
107492012-03-14 Roland McGrath <roland@hack.frob.com>
10750
10751 [BZ #13846]
10752 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10753
aa4a2ae1
JM
107542012-03-14 Joseph Myers <joseph@codesourcery.com>
10755
e456826d
JM
10756 [BZ #13841]
10757 * math/s_csqrt.c: Include <float.h>.
10758 (__csqrt): Scale large or subnormal inputs.
10759 * math/s_csqrtf.c: Likewise.
10760 * math/s_csqrtl.c: Likewise.
10761 * math/libm-test.inc (csqrt_test): Add more tests.
10762 * sysdeps/i386/fpu/libm-test-ulps: Update.
10763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10764
aa4a2ae1
JM
10765 [BZ #13840]
10766 * math/libm-test.inc (hypot_test): Add more tests.
10767
7c10fd35
DM
107682012-03-13 David S. Miller <davem@davemloft.net>
10769
10770 [BZ #13840]
10771 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10772 double-precision for the calculation instead of scaling.
10773
f453b98b
JM
107742012-03-13 Joseph Myers <joseph@codesourcery.com>
10775
10776 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10777 manipulate bits before adding and subtracting TWO52[sx].
10778 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10779 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10780 Likewise.
10781 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10782
09a3453f
DM
107832012-03-13 David S. Miller <davem@davemloft.net>
10784
8e59da90
DM
10785 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10786 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10787 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10788 rtld-global-offsets.h
10789 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10790
2a8ab7f2
DM
10791 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10792 large parameters.
10793
10f62770
DM
10794 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10795
5f0bdb18
DM
10796 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10797 'err' in the ifdef scope in which it is actually used.
10798
09a3453f
DM
10799 * nss/nss_db/db-init.c: Include string.h
10800
b4b2eb5e
DM
108012012-03-12 David S. Miller <davem@davemloft.net>
10802
98bb2f1c
DM
10803 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10804 masking out of the most significant byte of random value used.
10805 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10806 Fix coding style in previous change.
10807
b4b2eb5e
DM
10808 * sysdeps/unix/sysv/linux/kernel-features.h
10809 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10810 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10811 expression.
10812 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10813 later.
10814
6e226b09
DM
108152012-03-11 David S. Miller <davem@davemloft.net>
10816
a1bcbd40
DM
10817 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10818 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10819 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10820 for 'resultvar' otherwise things get truncated on 64-bit.
10821
cb9d6174
DM
10822 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10823 Fix masking out of the most significant byte of random value used.
10824
6e226b09
DM
10825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10826
058c132d
AS
108272012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10828
10829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10830
2d2cd515
DM
108312012-03-09 David S. Miller <davem@davemloft.net>
10832
10833 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10834 variables with appropriate CPP guards.
10835 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10836 frame pointer, not the stack pointer. Correct layout comments. Fix test
10837 on resulting framesize and the management of the outregs buffer for pltexit.
10838 Preserve floating point return values across _dl_call_pltexit call.
10839 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10840 framesize and the management of the outregs buffer for pltexit.
10841 Preserve floating point return values across _dl_call_pltexit
10842 call.
10843 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10844 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10845 (print_exit): Fix format string for return register value.
10846
9a07f9d0
JM
108472012-03-10 Joseph Myers <joseph@codesourcery.com>
10848
10849 * sunrpc/Makefile (others): Add rpcgen.
10850 ($(objpfx)rpcgen): Remove special build rule and dependency on
10851 libc.
10852 * sunrpc/rpcgen.c: New file.
10853
547b5e30
PE
108542012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10855
c524201a
PE
10856 [BZ #13673]
10857 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10858 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10859 * sysdeps/i386/crti.S: Likewise.
10860 * sysdeps/i386/crtn.S: Likewise.
10861 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10862 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10863 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10864 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10865 * sysdeps/sh/crti.S: Likewise.
10866 * sysdeps/sh/crtn.S: Likewise.
10867 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10868
7b6235f2
PE
10869 [BZ #13673]
10870 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10871 with URL.
10872 * locale/programs/locfile-kw.gperf: Likewise.
10873 * locale/programs/charmap-kw.h: Regenerated.
10874 * locale/programs/locfile-kw.h: Likewise.
10875
547b5e30
PE
10876 [BZ #13673]
10877 * intl/plural.y: Replace FSF snail mail address with URL.
10878 * intl/plural.c: Regenerated.
10879
5f0a5dae
RH
108802012-03-09 Richard Henderson <rth@twiddle.net>
10881
10882 * include/math_private.h: Remove file.
10883 * math/math_private.h: Move file ...
10884 * sysdeps/generic/math_private.h: ... here.
10885
b8c03620
RH
10886 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10887 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10888 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10889
4e234f5d 10890 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10891 and <math_private.h>.
10892 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10893 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10894 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10895 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10896 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10897 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10898 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10900 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10901 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10902 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10903 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10904 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10928 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10929 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10931 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10932 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10946 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10962 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10964 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10965 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10966 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10967 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10969 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10970 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10971 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10972 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10973 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10975 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10976 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10977 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10978 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10980 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10981 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10982 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10983 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10984 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10985 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10986 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10987 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10988 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10989 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10990 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10991 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10992 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10993 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10994 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10995 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10996 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10997 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10998 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10999 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11000 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11001 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11002 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11003 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11004 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11005 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11006 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11007 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11008 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11009 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11010 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11011 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11012 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11013 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11014 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11015 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11016 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11017 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11018 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11019 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11020 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11021 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11022 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11023 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11024 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11025 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11026 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11027 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11028 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11029 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11030 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11031 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11032 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11033 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11034 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11035 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11036 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11037 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11038 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11039 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11040 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11041 * sysdeps/ieee754/k_standard.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11044 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11045 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11046 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11157 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11161 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11162 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11164 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11169 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11174 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11182 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11185 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11187 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11190 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11191 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11192 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11197 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11199 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11201 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11202 * sysdeps/ieee754/s_lib_version.c: Likewise.
11203 * sysdeps/ieee754/s_matherr.c: Likewise.
11204 * sysdeps/ieee754/s_signgam.c: Likewise.
11205 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11206 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11207 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11208 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11209 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11210 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11211 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11212 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11213 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11214 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11215 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11216 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11217 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11218 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11219 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11220 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11221 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11222 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11223 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11224 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11225 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11226
1991fa03
JM
112272012-03-09 Joseph Myers <joseph@codesourcery.com>
11228
11229 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11230 * sunrpc/rpc_main.c: Likewise.
11231 * sunrpc/rpc_svcout.c: Likewise.
11232
60d6f5a6
DM
112332012-03-09 David S. Miller <davem@davemloft.net>
11234
11235 * include/math_private.h: New file.
11236
4962050e
JM
112372012-03-09 Joseph Myers <joseph@codesourcery.com>
11238
02a6f887
JM
11239 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11240 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11241 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11242 from <bits/socket_type.h>.
11243 (enum __socket_type): Don't define here.
11244 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11246 bits/socket_type.h.
11247
c6e013c1
JM
11248 [BZ #13566]
11249 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11250 checking __USE_GNU.
11251
4962050e
JM
11252 * Makerules ($(inst_includedir)/%.h): New rule.
11253 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11254 (install-others): Remove variable setting.
11255 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11256
38842f45
RH
112572012-03-08 Richard Henderson <rth@twiddle.net>
11258
67bb6da6
RH
11259 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11260 from macro to inline function; merge with the
11261 !__LIBC_INTERNAL_MATH_INLINES version.
11262 (__ieee754_sqrtf): Likewise.
11263
15194b4b
RH
11264 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11265 to inline function.
11266 (__rintf, __floor, __floorf): Likewise.
11267
64e21ede
RH
11268 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11269 macro to inline function.
11270 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11271
38842f45
RH
11272 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11273 not <math/math_private.h>.
11274
c64bf5fe
DM
112752012-03-08 David S. Miller <davem@davemloft.net>
11276
11277 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11278 copyright year.
11279 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11280
82d86f28
TS
112812012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11282
11283 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11284 normalization.
11285 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11286 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11287
aea5d727
UD
112882012-03-08 Ulrich Drepper <drepper@gmail.com>
11289
11290 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11291 be defined individually, they must be defined as a block. Define
11292 S for printing a string instead of hidint the different by using a
11293 macro for adding the 'l'.
11294 * stdio-common/tst-fphex-wide.c: Adjust.
11295
70bca0a3
MP
112962012-03-07 Marek Polacek <polacek@redhat.com>
11297
11298 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11299
65b81130
MP
113002012-03-08 Marek Polacek <polacek@redhat.com>
11301
11302 [BZ #13806]
11303 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11304 * stdio-common/tst-fphex.c: Define a few macros to make the
11305 test reusable. Use them.
11306 * stdio-common/tst-fphex-wide.c: New file.
11307
07037eeb
JM
113082012-03-08 Joseph Myers <joseph@codesourcery.com>
11309
a7a93d50
JM
11310 [BZ #6911]
11311 * manual/macros.texi (gnusystems): New macro.
11312 (nongnusystems): Likewise.
11313 (gnulinuxhurdsystems): Likewise.
11314 (gnuhurdsystems): Likewise..
11315 (gnulinuxsystems): Likewise.
11316 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11317 variants of the GNU system, not "GNU system".
11318 * manual/conf.texi: Likewise.
11319 * manual/errno.texi: Likewise. Update example of errno macro
11320 expansion.
11321 * manual/filesys.texi: Likewise.
11322 (getumask): Document as specific to GNU/Hurd.
11323 * manual/install.texi: Likewise. Reword some references to
11324 GNU/Linux.
11325 * manual/intro.texi: Likewise.
11326 * manual/io.texi: Likewise.
11327 (File Name Portability): Detail which constraints are inapplicable
11328 to all GNU systems and which are only inapplicable to GNU/Hurd.
11329 * manual/job.texi: Likewise.
11330 * manual/llio.texi: Likewise.
11331 (O_NOCTTY): Document as present on GNU/Linux.
11332 * manual/maint.texi: Likewise.
11333 * manual/memory.texi: Likewise.
11334 * manual/pattern.texi: Likewise.
11335 * manual/pipe.texi: Likewise.
11336 * manual/process.texi: Likewise.
11337 * manual/resource.texi: Likewise.
11338 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11339 child on GNU/Hurd.
11340 * manual/setjmp.texi: Likewise.
11341 * manual/signal.texi: Likewise.
11342 * manual/startup.texi: Likewise.
11343 * manual/stdio.texi: Likewise.
11344 * manual/terminal.texi: Likewise.
11345 (ONLCR): Document as POSIX.
11346 (OXTABS): Document availability on GNU/Linux as XTABS.
11347 (ONOEOT): Document availability separately from other bits.
11348 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11349 * manual/time.texi: Likewise.
11350 * manual/users.texi: Likewise.
11351 * INSTALL: Regenerated.
11352 * sysdeps/gnu/errlist.c: Regenerated.
11353
07037eeb
JM
11354 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11355 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11356 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11357 puts.
11358 * configure: Regenerated.
11359
d1d3431a
JM
113602012-03-07 Joseph Myers <joseph@codesourcery.com>
11361
af6a1e37
JM
11362 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11363 default includes instead of AC_HEADER_CHECK.
11364 * sysdeps/i386/configure: Regenerated.
11365
d1d3431a
JM
11366 [BZ #10716]
11367 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11368 * math/s_cacoshf.c (__cacoshf): Likewise.
11369 * math/s_cacoshl.c (__cacoshl): Likewise.
11370 * math/s_casinh.c (__casinh): Set signs of result from argument.
11371 * math/s_casinhf.c (__casinhf): Likewise.
11372 * math/s_casinhl.c (__casinhl): Likewise.
11373 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11374 (casinh_test): Add more tests.
11375 * sysdeps/i386/fpu/libm-test-ulps: Update.
11376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11377
482ff4da
UD
113782012-03-07 Ulrich Drepper <drepper@gmail.com>
11379
872fda05
UD
11380 * po/zh_TW.po: Update from translation team.
11381
a4300c7a
UD
11382 * login/Makefile (distribute): Remove variable.
11383 * catgets/Makefile: Likewise.
11384 * mach/Makefile: Likewise.
11385 * malloc/Makefile: Likewise.
11386 * misc/Makefile: Likewise.
11387 * iconv/Makefile: Likewise.
11388 * nscd/Makefile: Likewise.
11389 * hurd/Makefile: Likewise.
11390 * manual/Makefile: Likewise.
11391 * locale/Makefile: Likewise.
11392 * intl/Makefile: Likewise.
11393 * conform/Makefile: Likewise.
11394 * nss/Makefile: Likewise.
11395 * time/Makefile: Likewise.
11396 * soft-fp/Makefile: Likewise.
11397 * dirent/Makefile: Likewise.
11398 * gmon/Makefile: Likewise.
11399 * po/Makefile: Likewise.
11400 * rt/Makefile: Likewise.
11401 * socket/Makefile: Likewise.
11402 * math/Makefile: Likewise.
11403 * signal/Makefile: Likewise.
11404 * debug/Makefile: Likewise.
11405 * elf/Makefile: Likewise.
11406 * timezone/Makefile: Likewise.
11407 * stdlib/Makefile: Likewise.
11408 * iconvdata/Makefile: Likewise.
11409 * sunrpc/Makefile: Likewise.
11410 * io/Makefile: Likewise.
11411 * argp/Makefile: Likewise.
11412 * inet/Makefile: Likewise.
11413 * hesiod/Makefile: Likewise.
11414 * grp/Makefile: Likewise.
11415 * csu/Makefile: Likewise.
11416 * wctype/Makefile: Likewise.
11417 * crypt/Makefile: Likewise.
11418 * libio/Makefile: Likewise.
11419 * string/Makefile: Likewise.
11420 * nis/Makefile: Likewise.
11421 * resolv/Makefile: Likewise.
11422 * stdio-common/Makefile: Likewise.
11423 * wcsmbs/Makefile: Likewise.
11424 * dlfcn/Makefile: Likewise.
11425 * posix/Makefile: Likewise.
11426
3b7c4e74 11427 [BZ #6959]
482ff4da
UD
11428 * timezone/Makefile: Don't install timezone files, just the programs
11429 and scripts.
11430
f72ed77d
UD
114312012-03-06 Ulrich Drepper <drepper@gmail.com>
11432
a000466f
UD
11433 * nss/databases.def: Add missing gshadow entry.
11434
f72ed77d
UD
11435 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11436
a53b7a4e
MP
114372012-03-06 Marek Polacek <polacek@redhat.com>
11438
11439 [BZ #13726]
11440 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11441 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11442 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11443 * stdio-common/tst-long-dbl-fphex.c: New file.
11444
e9258400
DM
114452012-03-06 David S. Miller <davem@davemloft.net>
11446
11447 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11448 (set_obp_int): New function.
11449 (get_obp_int): New function.
11450 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11451 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11452 Avoid unused variable warnings on 'val' and use builtin_expect.
11453 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11454 __builtin_expect.
e9258400
DM
11455 (INLINE_CLONE_SYSCALL): Likewise.
11456
3bd2c723
DM
114572012-03-05 David S. Miller <davem@davemloft.net>
11458
11459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11460
bbb78d03
AS
114612012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11462
884c5db4
AS
11463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11464
bbb78d03
AS
11465 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11466 only for |x| >= 40.
11467 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11468
1c9f702a 114692012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11470
11471 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11472 Replace gettimeofday with __vdso_gettimeofday.
11473
7be16f82
RM
11474 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11475 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11476 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11477
11478 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11479 time with __vdso_time.
11480
ed58a00f
JM
114812012-03-05 Joseph Myers <joseph@codesourcery.com>
11482
11483 * manual/lang.texi (size_t): Note types to which size_t may be
11484 equivalent with the GNU C Library, but do not describe when
11485 differences between them are significant.
11486
30ee4ced
AJ
114872012-03-05 Andreas Jaeger <aj@suse.de>
11488
11489 * sysdeps/i386/fpu/libm-test-ulps: Update.
11490
b7cd39e8
JM
114912012-03-05 Joseph Myers <joseph@codesourcery.com>
11492
11493 [BZ #3976]
11494 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11495 (__ieee754_pow): Save and restore rounding mode and use
11496 round-to-nearest for main computations.
11497 * math/libm-test.inc (pow_test_tonearest): New function.
11498 (pow_test_towardzero): Likewise.
11499 (pow_test_downward): Likewise.
11500 (pow_test_upward): Likewise.
11501 (main): Call the new functions.
11502 * sysdeps/i386/fpu/libm-test-ulps: Update.
11503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11504
11505 [BZ #3976]
11506 * math/libm-test.inc (cosh_test_tonearest): New function.
11507 (cosh_test_towardzero): Likewise.
11508 (cosh_test_downward): Likewise.
11509 (cosh_test_upward): Likewise.
11510 (sinh_test_tonearest): Likewise.
11511 (sinh_test_towardzero): Likewise.
11512 (sinh_test_downward): Likewise.
11513 (sinh_test_upward): Likewise.
11514 (main): Call the new functions.
11515 * sysdeps/i386/fpu/libm-test-ulps: Update.
11516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11517
6c6a98c9
TV
115182012-03-05 Tom de Vries <tom@codesourcery.com>
11519
11520 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11521 default stack guard is set in last bytes.
11522 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11523
21bb2d2e 115242012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11525
21bb2d2e 11526 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11527
21bb2d2e
AJ
11528 [BZ #13656]
11529 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11530 possibly allocate from heap instead of stack.
11531 * stdio-common/bug-vfprintf-nargs.c: New file.
11532 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11533
c6922934
AS
115342012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11535
11536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11537
bc957d53
MP
115382012-03-03 Marek Polacek <polacek@redhat.com>
11539
11540 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11541 * math/math_private.h: Likewise.
11542 * stdlib/tst-strtod.c: Likewise.
11543 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11544 * sysdeps/x86_64/bits/atomic.h: Likewise.
11545
6358490d
DM
115462012-03-02 David S. Miller <davem@davemloft.net>
11547
11548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11552 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11553 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11554 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11555 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11556
01ae168d
RM
115572012-03-02 Roland McGrath <roland@hack.frob.com>
11558
d9a17c07
RM
11559 [BZ #13792]
11560 * manual/examples/README: New file, says the example source files
11561 can be used under GPL>=2.
11562 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11563 line containing just "*/".
11564 * manual/examples/add.c: Add copyright header (GPL>=2).
11565 * manual/examples/argp-ex1.c: Likewise.
11566 * manual/examples/argp-ex2.c: Likewise.
11567 * manual/examples/argp-ex3.c: Likewise.
11568 * manual/examples/argp-ex4.c: Likewise.
11569 * manual/examples/atexit.c: Likewise.
11570 * manual/examples/db.c: Likewise.
11571 * manual/examples/dir.c: Likewise.
11572 * manual/examples/dir2.c: Likewise.
11573 * manual/examples/execinfo.c: Likewise.
11574 * manual/examples/filecli.c: Likewise.
11575 * manual/examples/filesrv.c: Likewise.
11576 * manual/examples/fmtmsgexpl.c: Likewise.
11577 * manual/examples/genpass.c: Likewise.
11578 * manual/examples/inetcli.c: Likewise.
11579 * manual/examples/inetsrv.c: Likewise.
11580 * manual/examples/isockad.c: Likewise.
11581 * manual/examples/longopt.c: Likewise.
11582 * manual/examples/memopen.c: Likewise.
11583 * manual/examples/memstrm.c: Likewise.
11584 * manual/examples/mkfsock.c: Likewise.
11585 * manual/examples/mkisock.c: Likewise.
11586 * manual/examples/mygetpass.c: Likewise.
11587 * manual/examples/pipe.c: Likewise.
11588 * manual/examples/popen.c: Likewise.
11589 * manual/examples/rprintf.c: Likewise.
11590 * manual/examples/search.c: Likewise.
11591 * manual/examples/select.c: Likewise.
11592 * manual/examples/setjmp.c: Likewise.
11593 * manual/examples/sigh1.c: Likewise.
11594 * manual/examples/sigusr.c: Likewise.
11595 * manual/examples/stpcpy.c: Likewise.
11596 * manual/examples/strdupa.c: Likewise.
11597 * manual/examples/strftim.c: Likewise.
11598 * manual/examples/strncat.c: Likewise.
11599 * manual/examples/subopt.c: Likewise.
11600 * manual/examples/swapcontext.c: Likewise.
11601 * manual/examples/termios.c: Likewise.
11602 * manual/examples/testopt.c: Likewise.
11603 * manual/examples/testpass.c: Likewise.
11604 * manual/examples/timeval_subtract.c: Likewise.
11605
01ae168d
RM
11606 [BZ #13792]
11607 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11608 function to ...
11609 * manual/timeval_subtract.c.texi: ... here, new file.
11610
49efa33d
DM
116112012-03-02 David S. Miller <davem@davemloft.net>
11612
11613 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11614
28afd92d
JM
116152012-03-02 Joseph Myers <joseph@codesourcery.com>
11616
804360ed
JM
11617 [BZ #3976]
11618 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11619 (__sin): Save and restore rounding mode and use round-to-nearest
11620 for all computations.
11621 (__cos): Save and restore rounding mode and use round-to-nearest
11622 for all computations.
11623 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11624 <fenv.h>.
11625 (tan): Save and restore rounding mode and use round-to-nearest for
11626 all computations.
11627 * math/libm-test.inc (cos_test_tonearest): New function.
11628 (cos_test_towardzero): Likewise.
11629 (cos_test_downward): Likewise.
11630 (cos_test_upward): Likewise.
11631 (sin_test_tonearest): Likewise.
11632 (sin_test_towardzero): Likewise.
11633 (sin_test_downward): Likewise.
11634 (sin_test_upward): Likewise.
11635 (tan_test_tonearest): Likewise.
11636 (tan_test_towardzero): Likewise.
11637 (tan_test_downward): Likewise.
11638 (tan_test_upward): Likewise.
11639 (main): Call the new functions.
11640 * sysdeps/i386/fpu/libm-test-ulps: Update.
11641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11642
a6d06d7b
JM
11643 [BZ #10135]
11644 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11645 small n, then large n, before computing and testing k+n.
11646 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11647 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11648 Likewise.
11649 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11650 Likewise.
11651 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11652 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11653 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11654 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11655 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11656 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11657 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11658 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11659 * math/libm-test.inc (scalbn_test): Add more tests.
11660 (scalbln_test): Likewise.
11661
07e12bb3
JM
11662 * manual/filesys.texi (mode_t): Describe constraints on size and
11663 signedness, not exact equivalence to a particular type.
11664 (ino_t): Likewise.
11665 (ino64_t): Likewise.
11666 (dev_t): Likewise.
11667 (nlink_t): Likewise.
11668 (blkcnt_t): Likewise.
11669 (blkcnt64_t): Likewise.
11670 * manual/llio.texi (off_t): Likewise.
11671
28afd92d
JM
11672 [BZ #3976]
11673 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11674 (__ieee754_exp): Save and restore rounding mode and use
11675 round-to-nearest for all computations.
11676 * math/libm-test.inc (exp_test_tonearest): New function.
11677 (exp_test_towardzero): Likewise.
11678 (exp_test_downward): Likewise.
11679 (exp_test_upward): Likewise.
11680 (main): Call the new functions.
11681 * sysdeps/i386/fpu/libm-test-ulps: Update.
11682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11683
b1eeb65d
CD
116842012-03-01 Chris Demetriou <cgd@google.com>
11685
11686 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11687 have predictable order.
11688
53362a4b
DM
116892012-03-01 David S. Miller <davem@davemloft.net>
11690
3c969083
DM
11691 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11692
759707de
DM
11693 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11694 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11695 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11696 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11697
dfdb8ff2
DM
11698 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11699 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11700 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11702 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11703 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11704 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11705 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11706 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11707
ead89f96
DM
11708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11709
7f66bd07
DM
11710 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11711 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11712 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11713
53362a4b
DM
11714 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11715 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11716 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11717 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11718 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11719 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11720 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11721 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11722 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11723 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11724 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11725 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11727 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11728 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11730 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11731 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11732 * sysdeps/sparc/elf/configure: Regenerated.
11733
7b1902cb
JM
117342012-03-01 Joseph Myers <joseph@codesourcery.com>
11735
bec039bc
JM
11736 * configure.in (AS, LD): Require binutils 2.20 or later.
11737 * configure: Regenerated.
11738 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11739 as required minimum version.
11740 * INSTALL: Regenerated.
11741
7b1902cb
JM
11742 [BZ #2541]
11743 [BZ #4108]
11744 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11745 before squaring exponent.
11746 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11747 bottom long double and 27 bits of top long double before squaring
11748 exponent.
11749 * math/libm-test.inc (erfc_test): Add more tests.
11750 * sysdeps/i386/fpu/libm-test-ulps: Update.
11751 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11753
f775c276
KT
117542012-03-01 Kai Tietz <ktietz@redhat.com>
11755
11756 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11757 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11758 containing bit-fields.
11759 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11760 * soft-fp/single.h (_FP_UNION_S): Likewise.
11761 * soft-fp/double.h (_FP_UNION_D): Likewise.
11762
5b8a4d4a
JM
117632012-02-29 Joseph Myers <joseph@codesourcery.com>
11764
0bab47b6
JM
11765 [BZ #13786]
11766 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11767 not include ../strcmp.S.
11768 [USE_AS_STRNCASECMP_L]: Likewise.
11769 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11770 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11771 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11772 (__strncasecmp_l_ia32): Define as alias to
11773 __strncasecmp_l_nonascii.
11774
0fcad3e2
JM
11775 [BZ #5794]
11776 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11777 * sysdeps/i386/fpu/libm-test-ulps: Update.
11778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11779
5b8a4d4a
JM
11780 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11782
8fdceb2e
JL
117832012-02-29 Jeff Law <law@redhat.com>
11784
11785 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11786 out of bounds read.
11787
1f393a11
MP
117882012-02-29 Marek Polacek <polacek@redhat.com>
11789
11790 [BZ #13706]
11791 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11792 * elf/Makefile: Add rules to run tst-unused-dep.out.
11793
8847f037
DM
117942012-02-28 David S. Miller <davem@davemloft.net>
11795
11796 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11797 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11798 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11799 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11800 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11801 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11802
169d7f11
JM
118032012-02-29 Joseph Myers <joseph@codesourcery.com>
11804
11805 * math/libm-test.inc (llround_test): Move one test from
11806 lround_test. Use TEST_f_L in moved test.
11807 (lround_test): Move misplaced test to llround_test. Add testcase
11808 from bug 2561.
11809
39adf059
UD
118102012-02-28 Ulrich Drepper <drepper@gmail.com>
11811
11812 * sysdeps/x86_64/fpu/e_expf.S: New file.
11813 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11814
71b5d1c5
SB
118152012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11816
11817 [BZ #13637]
11818 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11819 of remain_len that may cause incomplete multi-byte character and
11820 false match.
11821 * posix/bug-regex33.c: New file.
11822 * posix/Makefile (tests): Add bug-regex33.
11823
1f77f049
JM
118242012-02-28 Joseph Myers <joseph@codesourcery.com>
11825
11826 * manual/macros.texi: New file.
11827 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11828 * manual/libc.texinfo: Include macros.texi.
11829 * manual/creatute.texi: Likewise.
11830 * manual/install.texi: Likewise.
11831 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11832 @glibcadj{} in references to the GNU C Library.
11833 * manual/charset.texi: Likewise.
11834 * manual/conf.texi: Likewise.
11835 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11836 when not using those macros.
11837 * manual/creature.texi: Likewise.
11838 * manual/crypt.texi: Likewise.
11839 * manual/errno.texi: Likewise.
11840 * manual/filesys.texi: Likewise.
11841 * manual/header.texi: Likewise.
11842 * manual/install.texi: Likewise.
11843 * manual/intro.texi: Likewise.
11844 * manual/io.texi: Likewise.
11845 * manual/job.texi: Likewise.
11846 * manual/lang.texi: Likewise.
11847 * manual/libc.texiinfo: Likewise.
11848 * manual/llio.texi: Likewise.
11849 * manual/locale.texi: Likewise.
11850 * manual/maint.texi: Likewise.
11851 * manual/math.texi: Likewise.
11852 * manual/memory.texi: Likewise.
11853 * manual/message.texi: Likewise.
11854 * manual/nss.texi: Likewise.
11855 * manual/pattern.texi: Likewise.
11856 * manual/process.texi: Likewise.
11857 * manual/resource.texi: Likewise.
11858 * manual/search.texi: Likewise.
11859 * manual/setjmp.texi: Likewise.
11860 * manual/signal.texi: Likewise.
11861 * manual/socket.texi: Likewise.
11862 * manual/startup.texi: Likewise.
11863 * manual/stdio.texi: Likewise.
11864 * manual/string.texi: Likewise.
11865 * manual/sysinfo.texi: Likewise.
11866 * manual/syslog.texi: Likewise.
11867 * manual/terminal.texi: Likewise.
11868 * manual/time.texi: Likewise.
11869 * manual/users.texi: Likewise.
11870 * INSTALL: Regenerated.
11871 * NOTES: Regenerated.
d40c5d54 11872 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11873
450bf206
AS
118742012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11875
11876 * include/dirent.h: Include <dirstream.h> before
11877 <dirent/dirent.h>.
11878
741a235b
DM
118792012-02-28 David S. Miller <davem@davemloft.net>
11880
11881 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11882 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11883 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11884 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11885
d6b5aa58
DM
118862012-02-27 David S. Miller <davem@davemloft.net>
11887
1aff59a3
DM
11888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11890 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11891 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11892
d6b5aa58
DM
11893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11894 frame pointer instead of stack pointer relative arg slot.
11895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11896 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11897 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11898
433f48bf
CD
118992012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11900
11901 [BZ #3992]
11902 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11903
d674b76d
DM
119042012-02-27 David S. Miller <davem@davemloft.net>
11905
11906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11910 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11911 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11912 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11913 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11914
0e7727f7
JM
119152012-02-27 Joseph Myers <joseph@codesourcery.com>
11916
11917 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11918 later. Allow versions 5-9.
43be4ca2 11919 * configure: Regenerated.
0e7727f7
JM
11920 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11921 required minimum version and 4.6 as recommended version. Do not
11922 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11923 * INSTALL: Regenerated.
0e7727f7 11924
a78bc654
DM
119252012-02-27 David S. Miller <davem@davemloft.net>
11926
428d5830
DM
11927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11931 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11932 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11933 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11934 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11935
a78bc654
DM
11936 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11937 manipulate bits before adding and subtracting TWO112[sx].
11938 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11939
4579f81c
RM
119402012-02-27 Roland McGrath <roland@hack.frob.com>
11941
36c8acb4
RM
11942 [BZ #13775]
11943 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11944 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11945 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11946 being in POSIX, because they are in 1003.1-2008.
11947
84ad622b
RM
11948 * rt/tst-aio.c: Include <fcntl.h>.
11949 * rt/tst-aio7.c: Likewise.
11950 * rt/tst-aio64.c: Likewise.
11951
4579f81c
RM
11952 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11953
abd923db
JM
119542012-02-27 Joseph Myers <joseph@codesourcery.com>
11955
11956 * manual/install.texi (--with-headers): Describe headers as
11957 interface headers, not private headers.
11958 (Specific advice for GNU/Linux systems): Describe use of headers
11959 from "make headers_install", not private headers from older
11960 kernels.
43be4ca2 11961 * INSTALL: Regenerated.
abd923db
JM
11962 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11963 Change to 2.6.19.
11964 * sysdeps/unix/sysv/linux/configure: Regenerated.
11965
6664049b
JM
11966 * manual/llio.texi (fclean): Remove documentation.
11967
bb8b6697
JM
11968 * manual/Makefile (libc-texi-generated): New variable. Include
11969 version.texi.
11970 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11971 $(libc-texi-generated), not duplicated list of files.
11972 (version.texi, stamp-version): New rules.
11973 (realclean): Remove $(libc-texi-generated), not individual files
11974 from that list. Do not remove dir-add.texinfo.
11975 * manual/libc.texinfo: Comment out uses of edition numbers and
11976 references to printed manual. Remove last-updated dates.
11977 (EDITION): Comment out.
11978 (ISBN): Likewise.
11979 (VERSION, UPDATED): Remove.
11980 (version.texi): Include.
11981
12e5c3b9
AS
119822012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11983
11984 * sysdeps/posix/spawni.c: Include <signal.h>.
11985 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11986 * sysdeps/pthread/aio_fsync.c: Likewise.
11987
4efeffc1 119882012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11989
ba63ba08
UD
11990 * conform/Makefile (tests): Run only when not cross-compiling and
11991 when fast-check is not defined.
11992
d94a4670
UD
11993 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11994 * conform/data/limits.h-data: Fixes for POSIX2008.
11995 * conform/run-conformtest.sh: Run all tests.
11996 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11997 headers.
11998 * include/bits/dlfcn.h: Likewise.
11999 * include/langinfo.h: Likewise.
12000 * include/monetary.h: Likewise.
12001 * include/sys/poll.h: Likewise.
12002
12003 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12004 for __USE_GNU.
12005 * posix/spawn.h: Define __need_sigset_t.
12006 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12007 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12008 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12009 to get sigevent_t only.
12010 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12011 only for __USE_GNU.
12012 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12013 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12014 process_vm_writev only for __USE_GNU.
12015 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12016
12017 * conform/Makefile: For now ignore errors from run-conformtest.
12018 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12019 POSIX to avoid namespace pollution. Don't prepend headers.
12020 * conform/data/aio.h-data: Fixes for POSIX testing.
12021 * conform/data/fcntl.h-data: Likewise.
12022 * conform/data/glob.h-data: Likewise.
12023 * conform/data/grp.h-data: Likewise.
12024 * conform/data/pthread.h-data: Likewise.
12025 * conform/data/pwd.h-data: Likewise.
12026 * conform/data/signal.h-data: Likewise.
12027 * conform/data/spawn.h-data: Likewise.
12028 * conform/data/stdio.h-data: Likewise.
12029 * conform/data/stdlib.h-data: Likewise.
12030 * conform/data/stropts.h-data: Likewise.
12031 * conform/data/sys/mman.h-data: Likewise.
12032 * conform/data/sys/stat.h-data: Likewise.
12033 * conform/data/sys/types.h-data: Likewise.
12034 * conform/data/sys/wait.h-data: Likewise.
12035 * conform/data/time.h-data: Likewise.
12036 * conform/data/unistd.h-data: Likewise.
12037 * conform/data/utime.h-data: Likewise.
12038
12039 * io/sys/stat.h: fchmod was always in POSIX.
12040 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12041 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12042 * rt/aio.h: Define __need_timespec before including <time.h>.
12043 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12044 struct. Add forward declaration of pthread_attr_t and use it in
12045 sigevent.
12046 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12047 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12048 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12049 always remove CLK_TCK definition.
12050
c20105c3
AS
120512012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12052
12053 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12054
7a270350
UD
120552012-02-25 Ulrich Drepper <drepper@gmail.com>
12056
31341567
UD
12057 * conform/run-conformtest.sh: New file.
12058 * conform/Makefile: Run run-conformtest for tests.
12059 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12060 support.
12061
12062 * conform/data/uchar.h-data: New file.
12063 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12064 * conform/data/arpa/inet.h-data: Likewise.
12065 * conform/data/assert.h-data: Likewise.
12066 * conform/data/complex.h-data: Likewise.
12067 * conform/data/cpio.h-data: Likewise.
12068 * conform/data/ctype.h-data: Likewise.
12069 * conform/data/dirent.h-data: Likewise.
12070 * conform/data/dlfcn.h-data: Likewise.
12071 * conform/data/errno.h-data: Likewise.
12072 * conform/data/fcntl.h-data: Likewise.
12073 * conform/data/float.h-data: Likewise.
12074 * conform/data/fmtmsg.h-data: Likewise.
12075 * conform/data/fnmatch.h-data: Likewise.
12076 * conform/data/ftw.h-data: Likewise.
12077 * conform/data/glob.h-data: Likewise.
12078 * conform/data/grp.h-data: Likewise.
12079 * conform/data/iconv.h-data: Likewise.
12080 * conform/data/inttypes.h-data: Likewise.
12081 * conform/data/langinfo.h-data: Likewise.
12082 * conform/data/libgen.h-data: Likewise.
12083 * conform/data/limits.h-data: Likewise.
12084 * conform/data/locale.h-data: Likewise.
12085 * conform/data/math.h-data: Likewise.
12086 * conform/data/monetary.h-data: Likewise.
12087 * conform/data/mqueue.h-data: Likewise.
12088 * conform/data/ndbm.h-data: Likewise.
12089 * conform/data/net/if.h-data: Likewise.
12090 * conform/data/netdb.h-data: Likewise.
12091 * conform/data/netinet/in.h-data: Likewise.
12092 * conform/data/nl_types.h-data: Likewise.
12093 * conform/data/poll.h-data: Likewise.
12094 * conform/data/pthread.h-data: Likewise.
12095 * conform/data/pwd.h-data: Likewise.
12096 * conform/data/regex.h-data: Likewise.
12097 * conform/data/sched.h-data: Likewise.
12098 * conform/data/search.h-data: Likewise.
12099 * conform/data/semaphore.h-data: Likewise.
12100 * conform/data/setjmp.h-data: Likewise.
12101 * conform/data/signal.h-data: Likewise.
12102 * conform/data/spawn.h-data: Likewise.
12103 * conform/data/stdarg.h-data: Likewise.
12104 * conform/data/stdio.h-data: Likewise.
12105 * conform/data/stdlib.h-data: Likewise.
12106 * conform/data/string.h-data: Likewise.
12107 * conform/data/strings.h-data: Likewise.
12108 * conform/data/stropts.h-data: Likewise.
12109 * conform/data/sys/ipc.h-data: Likewise.
12110 * conform/data/sys/mman.h-data: Likewise.
12111 * conform/data/sys/msg.h-data: Likewise.
12112 * conform/data/sys/resource.h-data: Likewise.
12113 * conform/data/sys/select.h-data: Likewise.
12114 * conform/data/sys/sem.h-data: Likewise.
12115 * conform/data/sys/shm.h-data: Likewise.
12116 * conform/data/sys/socket.h-data: Likewise.
12117 * conform/data/sys/stat.h-data: Likewise.
12118 * conform/data/sys/statvfs.h-data: Likewise.
12119 * conform/data/sys/time.h-data: Likewise.
12120 * conform/data/sys/timeb.h-data: Likewise.
12121 * conform/data/sys/times.h-data: Likewise.
12122 * conform/data/sys/types.h-data: Likewise.
12123 * conform/data/sys/uio.h-data: Likewise.
12124 * conform/data/sys/un.h-data: Likewise.
12125 * conform/data/sys/utsname.h-data: Likewise.
12126 * conform/data/sys/wait.h-data: Likewise.
12127 * conform/data/syslog.h-data: Likewise.
12128 * conform/data/tar.h-data: Likewise.
12129 * conform/data/termios.h-data: Likewise.
12130 * conform/data/utime.h-data: Likewise.
12131 * conform/data/utmpx.h-data: Likewise.
12132 * conform/data/varargs.h-data: Likewise.
12133 * conform/data/wchar.h-data: Likewise.
12134 * conform/data/wctype.h-data: Likewise.
12135 * conform/data/wordexp.h-data: Likewise.
12136
12137 * include/stropts.h: New file.
12138 * include/uchar.h: New file.
12139 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12140 * include/assert.h: Likewise.
12141 * include/ctype.h: Likewise.
12142 * include/dirent.h: Likewise.
12143 * include/dlfcn.h: Likewise.
12144 * include/fcntl.h: Likewise.
12145 * include/fnmatch.h: Likewise.
12146 * include/glob.h: Likewise.
12147 * include/grp.h: Likewise.
12148 * include/libio.h: Likewise.
12149 * include/locale.h: Likewise.
12150 * include/math.h: Likewise.
12151 * include/net/if.h: Likewise.
12152 * include/netdb.h: Likewise.
12153 * include/netinet/in.h: Likewise.
12154 * include/pthread.h: Likewise.
12155 * include/pwd.h: Likewise.
12156 * include/regex.h: Likewise.
12157 * include/sched.h: Likewise.
12158 * include/search.h: Likewise.
12159 * include/setjmp.h: Likewise.
12160 * include/signal.h: Likewise.
12161 * include/stdio.h: Likewise.
12162 * include/stdlib.h: Likewise.
12163 * include/string.h: Likewise.
12164 * include/sys/cdefs.h: Likewise.
12165 * include/sys/mman.h: Likewise.
12166 * include/sys/msg.h: Likewise.
12167 * include/sys/resource.h: Likewise.
12168 * include/sys/select.h: Likewise.
12169 * include/sys/socket.h: Likewise.
12170 * include/sys/stat.h: Likewise.
12171 * include/sys/statvfs.h: Likewise.
12172 * include/sys/time.h: Likewise.
12173 * include/sys/times.h: Likewise.
12174 * include/sys/uio.h: Likewise.
12175 * include/sys/utsname.h: Likewise.
12176 * include/sys/wait.h: Likewise.
12177 * include/termios.h: Likewise.
12178 * include/time.h: Likewise.
12179 * include/ulimit.h: Likewise.
12180 * include/unistd.h: Likewise.
12181 * include/utime.h: Likewise.
12182 * include/wchar.h: Likewise.
12183 * include/wctype.h: Likewise.
12184 * include/wordexp.h: Likewise.
12185
12186 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12187
7a270350
UD
12188 * time/time.h: TIME_UTC must be a macro.
12189 Make timespec_get available for ISO C11 only as well.
12190
7724defc
UD
121912012-02-24 Ulrich Drepper <drepper@gmail.com>
12192
12193 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12194 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12195
6b1d1d46
JM
121962012-02-24 Joseph Myers <joseph@codesourcery.com>
12197
12198 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12199
0f8bbd69
JM
122002012-02-24 Joseph Myers <joseph@codesourcery.com>
12201
12202 * manual/texinfo.tex: Update to version 2012-01-19.16.
12203
66ab80bc
JM
122042012-02-24 Joseph Myers <joseph@codesourcery.com>
12205
12206 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12207
74981cc5
RM
122082012-02-24 Roland McGrath <roland@hack.frob.com>
12209
ee968201
RM
12210 [BZ #13738]
12211 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12212 * manual/fdl-1.3.texi: New file.
12213 * manual/fdl-1.1.texi: File removed.
12214
74981cc5
RM
12215 [BZ #13738]
12216 * manual/libc.texinfo (FDL_VERSION): New @set.
12217 Use it for mention of FDL in cover text.
12218 (Documentation License): Use it in @include file name.
12219
7bb764bc
JM
122202012-02-22 Joseph Myers <joseph@codesourcery.com>
12221 Roland McGrath <roland@hack.frob.com>
12222
12223 [BZ #5461]
12224 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12225 not LONG_LONG_MAX and LONG_LONG_MIN.
12226 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12227 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12228 name.
12229 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12230
6cbeae47
JM
122312012-02-22 Joseph Myers <joseph@codesourcery.com>
12232
12233 [BZ #2547]
12234 [BZ #11365]
12235 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12236 manipulate bits before adding and subtracting TWO23[sx].
12237 * math/libm-test.inc (nearbyint_test): Add more tests.
12238
fe45ce09
JM
122392012-02-22 Joseph Myers <joseph@codesourcery.com>
12240
12241 [BZ #2548]
12242 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12243 bits before adding and subtracting TWO23[sx].
12244 * math/libm-test.inc (rint_test): Add more tests.
12245 (rint_test_tonearest): Likewise.
12246 (rint_test_towardzero): Likewise.
12247 (rint_test_downward): Likewise.
12248 (rint_test_upward: Likewise.
12249
ff3b3d82
JM
122502012-02-22 Joseph Myers <joseph@codesourcery.com>
12251
12252 [BZ #10110]
12253 * include/stdc-predef.h: New file. Extracted from features.h.
12254 * include/features.h: Include stdc-predef.h.
12255 * Makefile (headers): Add stdc-predef.h.
12256 * CONFORMANCE (Compiler limitations): Update.
12257
ef0aab35
JM
122582012-02-22 Joseph Myers <joseph@codesourcery.com>
12259
12260 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12261
58639409
DM
122622012-02-21 David S. Miller <davem@davemloft.net>
12263
12264 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12265 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12266
c0e70b25
DM
122672012-02-20 David S. Miller <davem@davemloft.net>
12268
12269 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12270 using a normal save/restore sequence, rather than allocating a
12271 dummy stack frame just to store a frame pointer and restore.
12272 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12273
fb06851d
JM
122742012-02-21 Joseph Myers <joseph@codesourcery.com>
12275
12276 * manual/install.texi: Fix stray word in line-wrapped comment.
12277
7a8b71c3
DM
122782012-02-20 David S. Miller <davem@davemloft.net>
12279
d510c123
DM
12280 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12281 both binutils and gcc support GOTDATA.
12282
0722d7c2
DM
12283 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12284 "rd %pc" in the PIC register setup sequences.
12285
3d2b3019
DM
12286 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12287 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12288 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12289 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12290 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12291 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12292 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12293 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12295 (SYSCALL_ERROR_HANDLER): Likewise.
12296 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12297 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12299 (SYSCALL_ERROR_HANDLER): Likewise.
12300
c80098a9
DM
12301 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12302 (HAVE_GCC_GOTDATA): New.
12303 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12304 relocation support in both binutils and gcc.
12305 * sysdeps/sparc/elf/configure: Regenerate.
12306
3a2545a0
DM
12307 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12308 * sysdeps/sparc/sparc32/elf/configure: Delete.
12309 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12310 * sysdeps/sparc/sparc64/elf/configure: Delete.
12311 * sysdeps/sparc/elf/configure.in: New file.
12312 * sysdeps/sparc/elf/configure: Generate.
12313
7a8b71c3
DM
12314 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12315 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12316 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12317 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12318 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12319
f1e86fca
JM
123202012-02-21 Joseph Myers <joseph@codesourcery.com>
12321
12322 * manual/install.texi: Do not mention specific glibc version
12323 numbers.
12324 * manual/libc.texinfo (VERSION, UPDATED): Update.
12325 (@copying): Use @copyright{} and range of years.
12326
0e7dfaef
JM
123272012-02-21 Joseph Myers <joseph@codesourcery.com>
12328
12329 [BZ #13695]
12330 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12331 [crti.S not in sysdirs] (generated): Do not append.
12332 [crti.S not in sysdirs] (omit-deps): Likewise.
12333 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12334 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12335 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12336 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12337 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12338 Likewise.
12339 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12340 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12341 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12342 * csu/defs.awk: Remove file.
12343 * sysdeps/generic/initfini.c: Likewise.
12344 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12345 variable.
12346 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12347 Likewise.
12348
599af3ca
JM
123492012-02-20 Joseph Myers <joseph@codesourcery.com>
12350
12351 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12352 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12353 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12354 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12355 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12356 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12357 <bits/epoll.h>.
12358 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12359 (__EPOLL_PACKED): Define to empty if not defined by
12360 <bits/epoll.h>.
12361 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12363 bits/epoll.h.
12364
0e499750
JM
123652012-02-20 Joseph Myers <joseph@codesourcery.com>
12366
12367 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12368 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12369 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12370 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12371 <bits/timerfd.h>.
12372 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12374 bits/timerfd.h.
12375
5ad91f6e
JM
123762012-02-20 Joseph Myers <joseph@codesourcery.com>
12377
12378 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12379 in C locale.
12380 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12381 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12382 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12384
06b99b02
AJ
123852012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12386
12387 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12388 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12389
7638c0fd
AS
123902012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12391
12392 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12393 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12394 defined.
12395 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12396 Likewise.
12397 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12398 entry for 2.16.
12399
92221550
AJ
124002012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12401
12402 * math/w_acos.c: Use non-signaling floating-point comparisons.
12403 * math/w_acosf.c: Likewise.
12404 * math/w_acosh.c: Likewise.
12405 * math/w_acoshf.c: Likewise.
12406 * math/w_acoshl.c: Likewise.
12407 * math/w_acosl.c: Likewise.
12408 * math/w_asin.c: Likewise.
12409 * math/w_asinf.c: Likewise.
12410 * math/w_asinl.c: Likewise.
12411 * math/w_atanh.c: Likewise.
12412 * math/w_atanhf.c: Likewise.
12413 * math/w_atanhl.c: Likewise.
12414 * math/w_exp2.c: Likewise.
12415 * math/w_exp2f.c: Likewise.
12416 * math/w_exp2l.c: Likewise.
12417 * math/w_j0.c: Likewise.
12418 * math/w_j0f.c: Likewise.
12419 * math/w_j0l.c: Likewise.
12420 * math/w_j1.c: Likewise.
12421 * math/w_j1f.c: Likewise.
12422 * math/w_j1l.c: Likewise.
12423 * math/w_jn.c: Likewise.
12424 * math/w_jnf.c: Likewise.
12425 * math/w_log.c: Likewise.
12426 * math/w_log10.c: Likewise.
12427 * math/w_log10f.c: Likewise.
12428 * math/w_log10l.c: Likewise.
12429 * math/w_log2.c: Likewise.
12430 * math/w_log2f.c: Likewise.
12431 * math/w_log2l.c: Likewise.
12432 * math/w_logf.c: Likewise.
12433 * math/w_logl.c: Likewise.
12434 * math/w_sqrt.c: Likewise.
12435 * math/w_sqrtf.c: Likewise.
12436 * math/w_sqrtl.c: Likewise.
12437 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12438 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12439 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12440 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12441 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12442
ebaf36eb
JM
124432012-02-19 Joseph Myers <joseph@codesourcery.com>
12444
12445 [BZ #9739]
12446 * manual/string.texi (strnlen): Use correct parameter name in
12447 equivalent expression.
12448
71c254a6
JM
124492012-02-19 Joseph Myers <joseph@codesourcery.com>
12450
12451 [BZ #11174]
12452 * manual/users.texi (seteuid): Consistently use neweuid for
12453 argument name.
12454
16d2c631
JM
124552012-02-19 Joseph Myers <joseph@codesourcery.com>
12456
12457 [BZ #13704]
12458 * manual/nss.texi (Services in the NSS configuration): Correct
12459 list of services in example configuration file.
12460
cd837b09
NB
124612012-02-19 Nick Bowler <nbowler@draconx.ca>
12462
12463 [BZ #11322]
12464 * manual/arith.texi: Remove statements about negative zero
12465 behaving identically to zero.
12466
02c4bbad
JM
124672012-02-18 Joseph Myers <joseph@codesourcery.com>
12468
12469 [BZ #5993]
12470 * manual/install.texi: Do not document upgrading from libc5.
12471
366842e7
JM
124722012-02-18 Joseph Myers <joseph@codesourcery.com>
12473
12474 [BZ #4596]
12475 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12476
dd54084d
DM
124772012-02-18 David S. Miller <davem@davemloft.net>
12478
12479 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12480 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12481 %o7 across the call.
12482 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12483 instead.
12484 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12485 SETUP_PIC_REG_LEAF.
12486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12487 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12488 * sysdeps/sparc/crtn.S: Likewise.
12489
2bcc53a3
UD
124902012-02-17 Ulrich Drepper <drepper@gmail.com>
12491
12492 * aout/Makefile: Remove.
12493
09c093b5
RK
124942012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12495
12496 [BZ #13058]
12497 * manual/examples/argp-ex1.c (main): Format definition in GNU
12498 style.
12499 * manual/examples/argp-ex2.c (main): Likewise.
12500 * manual/examples/argp-ex3.c (main): Likewise.
12501 * manual/examples/argp-ex4.c (main): Likewise.
12502 * manual/examples/longopt.c (main): Use new-style prototype
12503 definition.
12504 * manual/examples/strncat.c (main): Specify return type and use
12505 (void) for arguments.
12506 * manual/examples/subopt.c (main): Use char **argv argument.
12507
2ee633a2
JM
125082012-02-17 Joseph Myers <joseph@codesourcery.com>
12509
12510 [BZ #5077]
12511 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12512 rounding modes.
12513
0520adde
FB
125142012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12515
12516 [BZ #6907]
12517 * manual/string.texi (strchr): Change when strchrnul is
12518 recommended.
12519
3f4081cd
DGM
125202012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12521
12522 [BZ #174]
12523 * manual/locale.texi (setlocale): Document LOCPATH.
12524
d1b10e78
JM
125252012-02-17 Joseph Myers <joseph@codesourcery.com>
12526
12527 [BZ #10210]
12528 * manual/process.texi (execle): Move @dots{} before last argument.
12529
79c6869c
PB
125302012-02-17 Paul Bolle <pebolle@tiscali.nl>
12531
12532 [BZ #12047]
12533 * manual/charset.texi (Generic Charset Conversion): Fix typo
12534 (LC_TYPE -> LC_CTYPE).
12535
cc6e48bc
NB
125362012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12537
12538 [BZ #5805]
12539 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12540 (scalbnf): Likewise.
12541 (scalbnl): Likewise.
12542 (scalbln): Likewise.
12543 (scalblnf): Likewise.
12544 (scalblnl): Likewise.
12545 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12546 (vwarnx): Likewise.
12547 (verr): Likewise.
12548 (verrx): Likewise.
12549 * manual/filesys.texi (telldir): Use braces around return type.
12550 * manual/llio.texi (mmap): Add space after comma.
12551 (mmap64): Likewise.
12552 * manual/math.texi (jn): Use @var{} on parameter names.
12553 (jnf): Likewise.
12554 (jnl): Likewise.
12555 (yn): Likewise.
12556 (ynf): Likewise.
12557 (ynl): Likewise.
12558 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12559 line.
12560 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12561 "...".
12562 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12563 (sched_get_priority_max): Likewise.
12564 * manual/signal.texi (sigvec): Add space after comma.
12565 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12566 names.
12567 (if_indextoname): Likewise.
12568 (if_freenameindex): Likewise.
12569 (sendto): Use ',' instead of '.' in prototype.
12570 * manual/startup.texi (syscall): Use @dots{} instead of literal
12571 "...".
12572 * manual/stdio.texi (__fpending): Separate initial words of
12573 paragraph from @deftypefun line.
12574 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12575 "...".
12576 (vsyslog): Use @var{} on parameter names.
12577 * manual/terminal.texi (stty): Use @var{} on parameter names.
12578 * manual/users.texi (getutmp): Use @var{} on parameter names.
12579 (getutmpx): Likewise.
12580
5b23062f
JM
125812012-02-17 Joseph Myers <joseph@codesourcery.com>
12582
12583 [BZ #6884]
12584 * manual/stdio.texi (fopen): Fix typos in description of
12585 ",ccs=STRING".
12586
8dee4833
AJ
125872012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12588
12589 [BZ #4026]
12590 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12591 get clock_id definition.
12592
9078ce93
TS
125932012-02-17 Thomas Schwinge <thomas@schwinge.name>
12594
12595 [BZ #4822]
12596 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12597 (madvise): Cast every argument to void on its own.
12598
3835c55f
JM
125992012-02-17 Joseph Myers <joseph@codesourcery.com>
12600
12601 [BZ #9902]
12602 * manual/startup.texi (Exit Status): Fix typo.
12603
35c47e37
JM
126042012-02-17 Joseph Myers <joseph@codesourcery.com>
12605
12606 [BZ #10140]
12607 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12608 * manual/examples/argp-ex2.c: Likewise.
12609 * manual/examples/argp-ex3.c: Likewise.
12610
e3b69ca7
RH
126112012-02-16 Richard Henderson <rth@redhat.com>
12612
12613 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12614 * sysdeps/s390/s390-32/initfini.c: Remove.
12615 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12616 * sysdeps/s390/s390-64/initfini.c: Remove.
12617
df83af67
KK
126182012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12619
12620 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12621 compiler output for sysdeps/generic/initfini.c.
12622 * sysdeps/sh/elf/initfini.c: Remove file.
12623
f63f3380
DM
126242012-02-16 David S. Miller <davem@davemloft.net>
12625
fb59b3a4
DM
12626 [BZ #11494]
12627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12628
f63f3380
DM
12629 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12630 * sysdeps/sparc/crti.S: New file.
12631 * sysdeps/sparc/crtn.S: New file.
12632 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12633 * sysdeps/sparc/sparc64/Makefile: Likewise.
12634
df6a4a4a
MF
126352012-02-15 Mike Frysinger <vapier@gentoo.org>
12636
6dd8f3dc 12637 [BZ #3335]
df6a4a4a
MF
12638 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12639
1cac7236
RM
126402012-02-15 Roland McGrath <roland@hack.frob.com>
12641
d2c736f8
RM
12642 [BZ #4822]
12643 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12644
1cac7236
RM
12645 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12646 (write, read, close): Likewise.
12647 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12648
8e475601
JM
126492012-02-15 Joseph Myers <joseph@codesourcery.com>
12650
12651 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12652 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12653 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12654 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12655 <bits/signalfd.h>.
12656 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12658 bits/signalfd.h.
12659
ed656b40
MP
126602012-02-14 Marek Polacek <polacek@redhat.com>
12661
12662 * sysdeps/x86_64/crti.S: New file.
12663 * sysdeps/x86_64/crtn.S: New file.
12664 * sysdeps/x86_64/elf/initfini.c: Remove file.
12665
2a979d3a
JM
126662012-02-13 Joseph Myers <joseph@codesourcery.com>
12667
12668 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12669 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12670 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12671 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12672 <bits/inotify.h>.
12673 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12675 bits/inotify.h.
12676
2a418ac3
JM
126772012-02-13 Joseph Myers <joseph@codesourcery.com>
12678
12679 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12680 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12681 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12682 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12683 <bits/eventfd.h>.
12684 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12686 bits/eventfd.h.
12687
fb779be7
TS
126882012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12689
e19e83c5
RM
12690 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12691 __feraiseexcept instead of feraiseexcept.
7c35ffed 12692
fb779be7
TS
12693 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12694 nanosleep invocations.
12695 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12696 strings, and add error checking for a nanosleep invocations.
12697
59ba27a6
PE
126982012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12699
12700 Replace FSF snail mail address with URLs, as per GNU coding standards.
12701 Most of the snail mail addresses were wrong anyway, and omitting
12702 them makes the source code easier to maintain. Almost all of the
12703 changes are to license notices and to locale LC_IDENTIFICATION
12704 addresses, except for this one:
12705 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12706 not its snail mail address.
12707
57b957eb
RH
127082012-02-09 Richard Henderson <rth@twiddle.net>
12709
af850b1c
RH
12710 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12711 of kernel-features.h.
12712
57b957eb
RH
12713 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12714
6b73181a
MP
127152012-02-08 Marek Polacek <polacek@redhat.com>
12716
12717 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12718 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12719 * sysdeps/gnu/_G_config.h: Likewise.
12720 * sysdeps/generic/_G_config.h: Likewise.
12721
26ecc33a
AS
127222012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12723
6c6dbc63
AS
12724 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12725 tests.
12726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12727
e216c012
AS
12728 * sysdeps/powerpc/powerpc32/crti.S: New file.
12729 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12730 * sysdeps/powerpc/powerpc64/crti.S: New file.
12731 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12732
26ecc33a
AS
12733 * Makeconfig (have-initfini): Don't set.
12734 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12735 * configure.in (nopic_initfini): Don't substitute.
12736 * config.h.in (HAVE_INITFINI): Don't #undef.
12737 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12738 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12739
3add8e13
JM
127402012-02-08 Joseph Myers <joseph@codesourcery.com>
12741
12742 Support crti.S and crtn.S provided directly by architectures.
12743 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12744 [crti.S in sysdirs] (omit-deps): Likewise.
12745 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12746 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12747 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12748 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12749 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12750 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12751 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12752 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12753 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12754 compiler output for sysdeps/generic/initfini.c.
12755 * sysdeps/i386/elf/Makefile: Remove file.
12756 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12757
a22f12b4
MP
127582012-02-07 Marek Polacek <polacek@redhat.com>
12759
12760 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12761 * sysdeps/gnu/_G_config.h: Likewise.
12762 * sysdeps/mach/hurd/_G_config.h: Likewise.
12763
148cf100
MP
127642012-02-07 Marek Polacek <polacek@redhat.com>
12765
12766 * math/Makefile (tests): Add tst-CMPLX2.
12767 * math/tst-CMPLX2.c: New file.
12768
cfdc0dd7
AS
127692012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12770
84ba42c4
AS
12771 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12772
cfdc0dd7
AS
12773 * math/libm-test.inc (jn_test): Add missing L suffix.
12774
622c86f4
MP
127752012-02-06 Marek Polacek <polacek@redhat.com>
12776
12777 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12778 * sysdeps/i386/fpu/e_powf.S: Likewise.
12779 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12780 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12781 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12782 * sysdeps/i386/fpu/e_pow.S: Likewise.
12783 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12784 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12785 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12786 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12787 * sysdeps/i386/fpu/e_log2.S: Likewise.
12788 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12789 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12790 * sysdeps/i386/fpu/e_powl.S: Likewise.
12791 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12792 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12793 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12794 * sysdeps/i386/fpu/e_logl.S: Likewise.
12795 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12796 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12797 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12798 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12799 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12800 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12801 * sysdeps/i386/fpu/e_log.S: Likewise.
12802 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12803 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12804 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12805 * sysdeps/i386/fpu/e_logf.S: Likewise.
12806 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12807 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12808 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12809 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12810 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12811 * sysdeps/i386/fpu/e_log10.S: Likewise.
12812 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12813 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12814 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12815 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12816 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12817 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12818 * sysdeps/i386/asm-syntax.h: Likewise.
12819 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12820 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12821 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12822 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12823 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12824 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12825 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12826 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12827 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12828 * sysdeps/powerpc/sysdep.h: Likewise.
12829 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12830 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12831
d4a54ac6
JM
128322012-02-06 Joseph Myers <joseph@codesourcery.com>
12833
12834 [BZ #411]
12835 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12836
314054ea
JM
128372012-02-06 Joseph Myers <joseph@codesourcery.com>
12838
12839 * sysdeps/i386/sysdep.h: Include <features.h>.
12840 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12841 version.
12842
d8e0ca50
JM
128432012-02-05 Joseph Myers <joseph@codesourcery.com>
12844
12845 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12846 Define.
12847 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12848 LOAD_PIC_REG_STR.
12849
b1da7dd9
JM
128502012-02-03 Joseph Myers <joseph@codesourcery.com>
12851
12852 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12853 (SETUP_PIC_REG): Use GET_PC_THUNK.
12854 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12855 macro.
12856
9a1d9254
JM
128572012-02-03 Joseph Myers <joseph@codesourcery.com>
12858
12859 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12860 for non-PIC compilation.
12861 (SETUP_PIC_REG): Add .p2align directive.
12862 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12863 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12864 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12865 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12866 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12867 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12868 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12869 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12870 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12871 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12872 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12873 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12874 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12875 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12876 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12877 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12878 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12879 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12880 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12881 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12882 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12883 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12884 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12885 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12886 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12887 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12888 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12889 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12890 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12891 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12892 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12893 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12894 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12895 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12896 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12897 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12898 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12899 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12900 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12901 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12902 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12903
65dc3b75
JM
129042012-02-03 Joseph Myers <joseph@codesourcery.com>
12905
12906 * math/tst-CMPLX.c: Include <stdio.h>.
12907
d55bf177
JM
129082012-01-31 Joseph Myers <joseph@codesourcery.com>
12909
12910 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12911 float.
12912 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12913 * sysdeps/sparc/bits/mathdef.h: Likewise.
12914
69db4f8f
MP
129152012-01-31 Marek Polacek <polacek@redhat.com>
12916
12917 * libio/libio.h: Don't define _PARAMS.
12918 * locale/programs/config.h: Don't define PARAMS.
12919 * stdlib/strtol_l.c: Likewise.
12920 (__strtol_l): Remove PARAMS from the prototype.
12921
41b81892
UD
129222012-01-31 Ulrich Drepper <drepper@gmail.com>
12923
3b49edc0
UD
12924 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12925 names. Just use the correct names. Remove unnecessary wrapper
12926 functions.
12927 * malloc/arena.c: Likewise.
12928 * malloc/hooks.c: Likewise.
12929
41b81892
UD
12930 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12931 ARENA_TEST says not to. Simplify test for creation of a new arena.
12932 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12933
27a25b6e
UD
129342012-01-30 Ulrich Drepper <drepper@gmail.com>
12935
12936 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12937 into tail calls.
12938 (update_get_addr): New function.
12939 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12940 GET_ADDR_MODULE parameter.
12941
c8a89e7d
JM
129422012-01-30 Joseph Myers <joseph@codesourcery.com>
12943
12944 * crypt/cert.c: Remove __STDC__ conditionals.
12945 * crypt/crypt-entry.c: Likewise.
12946 * crypt/crypt_util.c: Likewise.
12947 * libio/filedoalloc.c: Likewise.
12948 * libio/fileops.c: Likewise.
12949 * libio/genops.c: Likewise.
12950 * libio/iofclose.c: Likewise.
12951 * libio/iofdopen.c: Likewise.
12952 * libio/iofopen.c: Likewise.
12953 * libio/iofopen64.c: Likewise.
12954 * libio/iogetdelim.c: Likewise.
12955 * libio/iopopen.c: Likewise.
12956 * libio/obprintf.c: Likewise.
12957 * libio/oldfileops.c: Likewise.
12958 * libio/oldiofclose.c: Likewise.
12959 * libio/oldiofdopen.c: Likewise.
12960 * libio/oldiofopen.c: Likewise.
12961 * libio/oldiopopen.c: Likewise.
12962 * libio/wfiledoalloc.c: Likewise.
12963 * libio/wgenops.c: Likewise.
12964 * locale/programs/xmalloc.c: Likewise.
12965 * misc/syslog.c: Likewise.
12966 * stdio-common/xbug.c: Likewise.
12967 * string/memchr.c: Likewise.
12968 * string/memcmp.c: Likewise.
12969 * string/memrchr.c: Likewise.
12970 * string/rawmemchr.c: Likewise.
12971 * sysdeps/posix/getcwd.c: Likewise.
12972 * time/strftime_l.c: Likewise.
12973
3b100462
JM
129742012-01-30 Joseph Myers <joseph@codesourcery.com>
12975
12976 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12977 * config.make.in (config-cflags-sse2avx): Define.
12978 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12979 Fix typo.
12980
607998af
CM
129812012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12982
12983 * scripts/config.guess: Update from upstream config git repository.
12984 * scripts/config.sub: Likewise.
12985
3601428f
CM
129862012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12987
3ac8b282
CM
12988 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12989 (EM_NUM): Update.
12990 (R_TILEPRO_*, R_TILEGX_*): New macros.
12991
e034841e
CM
12992 * scripts/firstversions.awk: Fix bug in version range handling.
12993
540d7568
CM
12994 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12995
3601428f
CM
12996 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12997
463de862
CM
12998 * include/sys/epoll.h: New file.
12999 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13000 libc_hidden_def.
13001
73139a76
UD
130022012-01-28 Ulrich Drepper <drepper@gmail.com>
13003
96bc5b45
UD
13004 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13005 Avoid unnecessary __WORDSIZE == 64 test.
13006 (fmaxf): Use VEX format if possible.
13007 (fmax): Likewise.
13008 (fminf): Likewise.
13009 (fmin): Likewise.
13010
56f6f6a2
UD
13011 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13012 * math/math_private.h: Remove libc_fegetround* and
13013 libc_fesetround*.
13014 * sysdeps/i386/configure.in: Check for -msse2avx.
13015 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13016 also if SSE2AVX is defined.
13017 Remove libc_fegetround* and libc_fesetround*.
13018 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13019 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13020 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13021 of HAS_YMM_USABLE.
13022 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13023 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13024 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13025 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13026 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13027
73139a76
UD
13028 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13029
d73f93a4
AZ
130302012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13031
13032 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13033 size is not set.
13034 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13035
6ee65ed6
UD
130362012-01-27 Ulrich Drepper <drepper@gmail.com>
13037
13038 [BZ #13618]
13039 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13040 relocation.
13041 * Makeconfig (libm): Define.
13042 * elf/Makefile: Add rules to build and run tst-relsort1.
13043 * elf/tst-relsort1.c: New file.
13044 * elf/tst-relsort1mod1.c: New file.
13045 * elf/tst-relsort1mod2.c: New file.
13046
8db21882
JM
130472012-01-27 Joseph Myers <joseph@codesourcery.com>
13048
13049 * math/s_ldexp.c: Remove __STDC__ conditionals.
13050 * math/s_ldexpf.c: Likewise.
13051 * math/s_ldexpl.c: Likewise.
13052 * math/s_nextafter.c: Likewise.
13053 * math/s_nexttowardf.c: Likewise.
13054 * math/s_significand.c: Likewise.
13055 * math/s_significandf.c: Likewise.
13056 * math/s_significandl.c: Likewise.
13057 * math/w_jnl.c: Likewise.
13058 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13059 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13060 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13061 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13062 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13073 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13077 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13078 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13079 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13080 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13081 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13082 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13083 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13084 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13085 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13086 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13087 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13088 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13089 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13090 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13091 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13092 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13093 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13094 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13095 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13096 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13097 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13098 * sysdeps/ieee754/k_standard.c: Likewise.
13099 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13103 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13105 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13107 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13108 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13109 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13112 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13113 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13114 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13115 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13116 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13117 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13118 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13119 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13120 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13121 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13122 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13123 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13124 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13125 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13126 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13127 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13128 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13129 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13130 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13131 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13132 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13133 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13134 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13135 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13138 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13139 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13143 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13144 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13145 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13146 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13147 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13148 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13149 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13150 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13151 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13152 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13153 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13154 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13155 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13156 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13160 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13165 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13166 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13169 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13170 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13171 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13172 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13173 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13174 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13175 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13178 * sysdeps/ieee754/s_matherr.c: Likewise.
13179 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13180 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13181 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13182 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13183
965a54a4
JM
131842012-01-26 Joseph Myers <joseph@codesourcery.com>
13185
13186 * crypt/md5.h: Remove __STDC__ conditionals.
13187 * libio/libioP.h: Likewise.
13188 * locale/programs/config.h: Likewise.
13189 * sysdeps/generic/sysdep.h: Likewise.
13190 * sysdeps/i386/asm-syntax.h: Likewise.
13191 * sysdeps/s390/asm-syntax.h: Likewise.
13192 * sysdeps/unix/sysdep.h: Likewise.
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13195
7071ad79
JM
131962012-01-26 Joseph Myers <joseph@codesourcery.com>
13197
13198 * libio/libio.h: Remove __STDC__ conditionals.
13199 * malloc/obstack.h: Likewise.
13200 * math/complex.h: Likewise.
13201 * math/math.h: Likewise.
13202 * sysdeps/generic/_G_config.h: Likewise.
13203 * sysdeps/gnu/_G_config.h: Likewise.
13204 * sysdeps/mach/hurd/_G_config.h: Likewise.
13205 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13206 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13207 * sysdeps/sparc/bits/mathdef.h: Likewise.
13208
afc5ed09
UD
132092012-01-26 Ulrich Drepper <drepper@gmail.com>
13210
13211 [BZ #13583]
13212 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13213 Clean up HAS_* macros.
afc5ed09 13214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13215 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13216 possible.
13217 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13218 HAS_AVX.
13219 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13220 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13221 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13222 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13223 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13224
bdb6de1d
JM
132252012-01-25 Joseph Myers <joseph@codesourcery.com>
13226
13227 * elf/tst-unique3.cc (gets): Remove declaration.
13228 * elf/tst-unique3lib.cc (gets): Likewise.
13229 * elf/tst-unique3lib2.cc (gets): Likewise.
13230 * elf/tst-unique4.cc (gets): Likewise.
13231
b15549e6
UD
132322012-01-24 Ulrich Drepper <drepper@gmail.com>
13233
13234 * include/stdio.h: Add C++ protection. Add gets declarations and
13235 definitions.
13236 * debug/tst-chk1.c: Don't declare gets here.
13237 * stdio-common/tst-gets.c: Likewise.
13238
a037381f
JM
132392012-01-24 Joseph Myers <joseph@codesourcery.com>
13240
13241 * posix/glob: Remove directory.
13242
f1d4aa75
JM
132432012-01-24 Joseph Myers <joseph@codesourcery.com>
13244
13245 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13246
81c0c964
PT
132472012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13248
13249 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13250 of the non-standard EPFNOSUPPORT.
13251
0ea698ae
ST
132522011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13253
13254 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13255 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13256 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13257
d220b117
UD
132582012-01-21 Ulrich Drepper <drepper@gmail.com>
13259
13260 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13261
3e1aa84e
UD
132622012-01-20 Ulrich Drepper <drepper@gmail.com>
13263
13264 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13265 transient errors.
13266 * nscd/grpcache.c (cache_addgr): Likewise.
13267 * nscd/hstcache.c (cache_addhst): Likewise.
13268 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13269 * nscd/pwdcache.c (cache_addpw): Likewise.
13270 * nscd/servicescache.c (cache_addserv): Likewise.
13271
400aa020
UD
132722012-01-16 Ulrich Drepper <drepper@gmail.com>
13273
d77e7869
UD
13274 * malloc/malloc.c: Various cleanups.
13275 * malloc/hooks.c: Likewise.
13276
400aa020
UD
13277 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13278 * stdlib/bug-fmtmsg1.c: New file.
13279
13280 * stdlib/fmtmsg.c (init): Add missing unlock.
13281 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13282
e0a309cf
MP
132832012-01-12 Marek Polacek <polacek@redhat.com>
13284
13285 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13286 and _GNU_SOURCE.
13287
929d11c7
WS
132882012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13289
13290 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13291 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13292 macro to ensure uniqueness of label name.
13293 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13294 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13295
41d0e869
UD
132962012-01-11 Ulrich Drepper <drepper@gmail.com>
13297
0cc5ed3b
UD
13298 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13299
41d0e869
UD
13300 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13301 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13302 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13303 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13304
a47a831a
UD
133052012-01-10 Ulrich Drepper <drepper@gmail.com>
13306
daa891c0
UD
13307 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13308
13309 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13310 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13311 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13312
e58ef0f2
UD
13313 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13314
a47a831a 13315 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13316 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13317 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13318 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13319
13320 * math/bits/math-finite.h: Add ldexp support.
13321
a0bfc9c7
MP
133222012-01-10 Marek Polacek <polacek@redhat.com>
13323
13324 * locale/programs/localedef.h (show_archive_content): Add noreturn
13325 attribute.
13326
d6e97a1d
UD
133272012-01-09 Ulrich Drepper <drepper@gmail.com>
13328
13329 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13330
d5835c26
UD
133312012-01-08 Ulrich Drepper <drepper@gmail.com>
13332
e5f484c6
UD
13333 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13334
d5835c26
UD
13335 * io/Makefile (headers): Add bits/poll2.h.
13336
d1f741e9
WS
133372011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13338
13339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13340 typo #include statement.
13341
ec09c1c4
UD
133422012-01-08 Ulrich Drepper <drepper@gmail.com>
13343
13344 * include/sys/cdefs.h: Define __attribute_alloc_size.
13345 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13346 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13347 * elf/pldd.c: Likewise.
13348 * iconv/iconv_charmap.c: Likewise.
13349 * iconv/iconvconfig.c: Likewise.
13350 * iconv/strtab.c: Likewise.
13351 * locale/programs/locale.c: Likewise.
13352 * locale/programs/localedef.h: Likewise.
13353 * locale/programs/simple-hash.c: Likewise.
13354 * nscd/nscd.h: Likewise.
13355 * nss/makedb.c: Likewise.
13356 * sysdeps/generic/ldconfig.h: Likewise.
13357 * locale/programs/localedef.c: Remove xmalloc prototype.
13358 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13359
20b38e03
PP
133602012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13361
13362 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13363 appropriate.
13364
a0da5fe1
UD
133652012-01-08 Ulrich Drepper <drepper@gmail.com>
13366
1d5a644a 13367 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13368 * math/tst-CMPLX.c: New file.
1d5a644a 13369
8784a6db
UD
13370 * math/complex.h (CMPLXL): Fix typo.
13371
d9a216c0
UD
13372 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13373 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13374 GLIBC_2.16.
13375 * debug/tst-chk1.c: Add poll and ppoll tests.
13376 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13377 * include/sys/poll.h: Add hidden proto for ppoll.
13378 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13379 * sysdeps/mach/hurd/ppoll.c: Likewise.
13380 * io/ppoll.c: Likewise.
13381 * debug/poll_chk.c: New file.
13382 * debug/ppoll_chk.c: New file.
13383 * include/bits/poll2.h: New file.
13384 * io/bits/poll2.h: New file.
13385
ac097f5c
UD
13386 [BZ #1350]
13387 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13388
2119dcfa
UD
13389 * configure.in: static is always set to yes. Remove.
13390 * config.make.in: Don't set build-static.
13391 * Makeconfig: Remove use of build-static.
13392 * dlfcn/Makefile: Likewise.
13393 * elf/Makefile: Likewise.
13394 * math/Makefile: Likewise.
13395 * misc/Makefile: Likewise.
13396 * nptl/Makefile: Likewise.
13397 * sysdeps/mach/hurd/Makefile: Likewise.
13398
121766a9
UD
13399 * configure.in: PWD_P is not used anymore.
13400 * config.make.in: Remove PWD_P entry.
13401
51a1d39c 13402 * configure.in: Remove last remnants of RANLIB.
8720d066 13403 No need to check for signed size_t anymore.
215f4bdc
UD
13404 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13405 and IA-64.
3857022a 13406 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13407 * aclocal.m4: Likewise.
13408
d3ed7225
UD
13409 * wcsmbs/mbrtoc16.c: Implement using towc function.
13410 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13411 * wcsmbs/wcsmbsload.c: Likewise.
13412 * iconv/gconv_simple.c: Likewise.
13413 * iconv/gconv_int.h: Likewise.
13414 * iconv/gconv_builtin.h: Likewise.
13415 * iconv/iconv_prog.c: Remove CHAR16 handling.
13416
13417 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13418
13419 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13420
a0da5fe1
UD
13421 * configure.in: Remove --with-elf and --enable-bounded options.
13422 Dont set base_machine for ia64. More non-ELF conditions removed.
13423 Remove testing and setting of leading underscore information.
13424 * config.make.in (build-bounded): Set to no.
13425 * config.h.in: Remove NO_UNDERSCORES entry.
13426 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13427 them.
13428 * csu/start.c: Remove !NO_UNDERSCORE code.
13429 * locale/localeinfo.h: Likewise.
13430 * sysdeps/generic/machine-gmon.h: Likewise.
13431 * sysdeps/generic/sysdep.h: Likewise.
13432 * sysdeps/i386/sysdep.h: Likewise.
13433 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13434 * sysdeps/mach/sysdep.h: Likewise.
13435 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13436 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13437 * sysdeps/sh/sysdep.h: Likewise.
13438 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13439 * sysdeps/unix/i386/sysdep.S: Likewise.
13440 * sysdeps/unix/sparc/start.c: Likewise.
13441 * sysdeps/unix/sparc/sysdep.S: Likewise.
13442 * sysdeps/unix/sparc/sysdep.h: Likewise.
13443 * sysdeps/unix/start.c: Likewise.
13444 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13445 * sysdeps/x86_64/sysdep.h: Likewise.
13446
df78418a
UD
134472012-01-07 Ulrich Drepper <drepper@gmail.com>
13448
a784e502
UD
13449 [BZ #13553]
13450 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13451 for non-gcc.
13452 * argp/argp-fmtstream.h: Use const instead __const.
13453 * argp/argp.h: Likewise.
13454 * assert/assert.h: Likewise.
13455 * bits/fenv.h: Likewise.
13456 * bits/sched.h: Likewise.
13457 * bits/sigset.h: Likewise.
13458 * bits/sigthread.h: Likewise.
13459 * catgets/nl_types.h: Likewise.
13460 * conform/data/pthread.h-data: Likewise.
13461 * crypt/crypt-private.h: Likewise.
13462 * crypt/crypt.h: Likewise.
13463 * crypt/crypt_util.c: Likewise.
13464 * ctype/ctype.h: Likewise.
13465 * debug/execinfo.h: Likewise.
13466 * debug/mbsnrtowcs_chk.c: Likewise.
13467 * debug/mbsrtowcs_chk.c: Likewise.
13468 * debug/wcsnrtombs_chk.c: Likewise.
13469 * debug/wcsrtombs_chk.c: Likewise.
13470 * debug/wcstombs_chk.c: Likewise.
13471 * dirent/dirent.h: Likewise.
13472 * dlfcn/dlfcn.h: Likewise.
13473 * elf/neededtest4.c: Likewise.
13474 * grp/grp.h: Likewise.
13475 * gshadow/gshadow.h: Likewise.
13476 * iconv/gconv.h: Likewise.
13477 * iconv/gconv_int.h: Likewise.
13478 * iconv/gconv_simple.c: Likewise.
13479 * iconv/iconv.h: Likewise.
13480 * iconv/loop.c: Likewise.
13481 * iconv/skeleton.c: Likewise.
13482 * include/aio.h: Likewise.
13483 * include/aliases.h: Likewise.
13484 * include/argz.h: Likewise.
13485 * include/arpa/inet.h: Likewise.
13486 * include/assert.h: Likewise.
13487 * include/dirent.h: Likewise.
13488 * include/dlfcn.h: Likewise.
13489 * include/execinfo.h: Likewise.
13490 * include/fcntl.h: Likewise.
13491 * include/fenv.h: Likewise.
13492 * include/glob.h: Likewise.
13493 * include/grp.h: Likewise.
13494 * include/libintl.h: Likewise.
13495 * include/mntent.h: Likewise.
13496 * include/netdb.h: Likewise.
13497 * include/pwd.h: Likewise.
13498 * include/rpc/netdb.h: Likewise.
13499 * include/sched.h: Likewise.
13500 * include/search.h: Likewise.
13501 * include/shadow.h: Likewise.
13502 * include/signal.h: Likewise.
13503 * include/stdio.h: Likewise.
13504 * include/stdlib.h: Likewise.
13505 * include/string.h: Likewise.
13506 * include/sys/socket.h: Likewise.
13507 * include/sys/stat.h: Likewise.
13508 * include/sys/statfs.h: Likewise.
13509 * include/sys/statvfs.h: Likewise.
13510 * include/sys/syslog.h: Likewise.
13511 * include/sys/time.h: Likewise.
13512 * include/sys/uio.h: Likewise.
13513 * include/time.h: Likewise.
13514 * include/unistd.h: Likewise.
13515 * include/utmp.h: Likewise.
13516 * include/wchar.h: Likewise.
13517 * include/wctype.h: Likewise.
13518 * inet/aliases.h: Likewise.
13519 * inet/arpa/inet.h: Likewise.
13520 * inet/netinet/ether.h: Likewise.
13521 * inet/netinet/in.h: Likewise.
13522 * intl/libintl.h: Likewise.
13523 * io/bits/fcntl2.h: Likewise.
13524 * io/fcntl.h: Likewise.
13525 * io/ftw.h: Likewise.
13526 * io/sys/poll.h: Likewise.
13527 * io/sys/stat.h: Likewise.
13528 * io/sys/statfs.h: Likewise.
13529 * io/sys/statvfs.h: Likewise.
13530 * io/utime.h: Likewise.
13531 * libio/bits/stdio.h: Likewise.
13532 * libio/bits/stdio2.h: Likewise.
13533 * libio/libio.h: Likewise.
13534 * libio/libioP.h: Likewise.
13535 * libio/stdio.h: Likewise.
13536 * locale/lc-ctype.c: Likewise.
13537 * locale/locale.h: Likewise.
13538 * login/utmp.h: Likewise.
13539 * malloc/arena.c: Likewise.
13540 * malloc/malloc.c: Likewise.
13541 * malloc/malloc.h: Likewise.
13542 * malloc/mcheck.c: Likewise.
13543 * malloc/mtrace.c: Likewise.
13544 * math/bits/mathcalls.h: Likewise.
13545 * math/fenv.h: Likewise.
13546 * math/math_private.h: Likewise.
13547 * misc/bits/error.h: Likewise.
13548 * misc/bits/syslog.h: Likewise.
13549 * misc/err.h: Likewise.
13550 * misc/error.h: Likewise.
13551 * misc/fstab.h: Likewise.
13552 * misc/mntent.h: Likewise.
13553 * misc/regexp.h: Likewise.
13554 * misc/search.h: Likewise.
13555 * misc/sgtty.h: Likewise.
13556 * misc/sys/mman.h: Likewise.
13557 * misc/sys/syslog.h: Likewise.
13558 * misc/sys/uio.h: Likewise.
13559 * misc/sys/xattr.h: Likewise.
13560 * misc/ttyent.h: Likewise.
13561 * nis/rpcsvc/ypclnt.h: Likewise.
13562 * nss/nss.h: Likewise.
13563 * posix/bits/unistd.h: Likewise.
13564 * posix/fnmatch.h: Likewise.
13565 * posix/glob.h: Likewise.
13566 * posix/sched.h: Likewise.
13567 * posix/spawn.h: Likewise.
13568 * posix/sys/wait.h: Likewise.
13569 * posix/unistd.h: Likewise.
13570 * posix/wordexp.h: Likewise.
13571 * pwd/pwd.h: Likewise.
13572 * resolv/netdb.h: Likewise.
13573 * resource/sys/resource.h: Likewise.
13574 * rt/aio.h: Likewise.
13575 * rt/bits/mqueue2.h: Likewise.
13576 * rt/mqueue.h: Likewise.
13577 * shadow/shadow.h: Likewise.
13578 * signal/signal.h: Likewise.
13579 * socket/send.c: Likewise.
13580 * socket/sendto.c: Likewise.
13581 * socket/sys/socket.h: Likewise.
13582 * stdio-common/printf.h: Likewise.
13583 * stdlib/bits/stdlib.h: Likewise.
13584 * stdlib/fmtmsg.h: Likewise.
13585 * stdlib/monetary.h: Likewise.
13586 * stdlib/stdlib.h: Likewise.
13587 * stdlib/ucontext.h: Likewise.
13588 * streams/stropts.h: Likewise.
13589 * string/argz.h: Likewise.
13590 * string/bits/string2.h: Likewise.
13591 * string/string.h: Likewise.
13592 * string/strings.h: Likewise.
13593 * sunrpc/rpc/auth.h: Likewise.
13594 * sunrpc/rpc/auth_des.h: Likewise.
13595 * sunrpc/rpc/clnt.h: Likewise.
13596 * sunrpc/rpc/netdb.h: Likewise.
13597 * sunrpc/rpc/pmap_clnt.h: Likewise.
13598 * sunrpc/rpc/xdr.h: Likewise.
13599 * sysdeps/generic/inttypes.h: Likewise.
13600 * sysdeps/generic/net/if.h: Likewise.
13601 * sysdeps/generic/sys/swap.h: Likewise.
13602 * sysdeps/gnu/net/if.h: Likewise.
13603 * sysdeps/gnu/utmpx.h: Likewise.
13604 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13605 * sysdeps/i386/i486/bits/string.h: Likewise.
13606 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13607 * sysdeps/s390/bits/string.h: Likewise.
13608 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13609 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13610 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13611 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13612 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13613 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13614 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13615 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13616 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13617 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13618 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13619 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13620 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13621 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13622 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13623 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13624 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13626 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13627 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13628 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13629 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13630 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13631 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13632 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13633 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13634 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13635 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13636 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13637 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13638 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13639 * sysvipc/sys/ipc.h: Likewise.
13640 * sysvipc/sys/msg.h: Likewise.
13641 * sysvipc/sys/sem.h: Likewise.
13642 * sysvipc/sys/shm.h: Likewise.
13643 * termios/termios.h: Likewise.
13644 * time/sys/time.h: Likewise.
13645 * time/time.h: Likewise.
13646 * wcsmbs/bits/wchar2.h: Likewise.
13647 * wcsmbs/uchar.h: Likewise.
13648 * wcsmbs/wchar.h: Likewise.
13649 * wctype/wctype.h: Likewise.
13650
0269750c
UD
13651 [BZ #13551]
13652 * Makeconfig: Remove all but ELF support including AIX support.
13653 * Makerules: Likewise.
13654 * config.h.in: Likewise.
13655 * config.make.in: Likewise.
13656 * configure: Likewise.
13657 * configure.in: Likewise.
13658 * csu/Makefile: Likewise.
13659 * csu/version.c: Likewise.
13660 * debug/Makefile: Likewise.
13661 * dlfcn/Makefile: Likewise.
13662 * elf/Makefile: Likewise.
13663 * extra-lib.mk: Likewise.
13664 * iconv/Makefile: Likewise.
13665 * include/libc-symbols.h: Likewise.
13666 * include/shlib-compat.h: Likewise.
13667 * resolv/Makefile: Likewise.
13668 * resolv/res_libc.c: Likewise.
13669 * rt/Makefile: Likewise.
13670 * sysdeps/i386/asm-syntax.h: Likewise.
13671 * sysdeps/i386/sysdep.h: Likewise.
13672 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13673 * sysdeps/mach/sysdep.h: Likewise.
13674 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13675 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13676 * sysdeps/s390/asm-syntax.h: Likewise.
13677 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13678 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13679 * sysdeps/sh/sysdep.h: Likewise.
13680 * sysdeps/unix/sparc/sysdep.h: Likewise.
13681 * sysdeps/wordsize-32/divdi3.c: Likewise.
13682 * sysdeps/x86_64/sysdep.h: Likewise.
13683
00bbd29b
UD
13684 * argp/Versions: Remove _argp_unlock_xxx.
13685
13686 [BZ #13559]
13687 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13688 * abilist/libBrokenLocale.abilist: Likewise.
13689 * abilist/libanl.abilist: Likewise.
13690 * abilist/libc.abilist: Likewise.
13691 * abilist/libcrypt.abilist: Likewise.
13692 * abilist/libdl.abilist: Likewise.
13693 * abilist/libm.abilist: Likewise.
13694 * abilist/libnsl.abilist: Likewise.
13695 * abilist/libpthread.abilist: Likewise.
13696 * abilist/libresolv.abilist: Likewise.
13697 * abilist/librt.abilist: Likewise.
13698 * abilist/libthread_db.abilist: Likewise.
13699 * abilist/libutil.abilist: Likewise.
13700 * abilist/libnss_db.abilist: New file.
13701
13702 * scripts/abilist.awk: Add support for indirect functions.
13703
a2693a0e
UD
13704 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13705
3f05895f
UD
13706 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13707
ecb6fb48
UD
13708 * shlib-versions: Remove entries for ports architectures.
13709
664f8cb9
UD
13710 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13711 files in ports.
13712 * elf/stackguard-macros.h: Remove support for IA-64.
13713 * elf/tst-auditmod1.c: Likewise.
13714 * sysdeps/generic/ldsodefs.h: Likewise.
13715
7ae81d88
UD
13716 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13717 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13718 configure files.
13719
bdeba135
UD
13720 [BZ #13552]
13721 * configure.in: Remove --enable-omitfp support.
13722 * FAQ.in: Adjust.
13723 * config.make.in: Likewise.
13724 * Makeconfig: Likewise.
13725 * manual/install.texi: Likewise.
13726
d75a0a62
UD
13727 In case anyone cares, the IA-64 architecture could move to ports.
13728 * sysdeps/ia64/*: Removed.
13729 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13730 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13731
dcc9756b
UD
13732 [BZ #13555]
13733 * configure.in: Remove entries for unsupported architectures.
13734
d3761ebc 13735 [BZ #13533]
9954432e
UD
13736 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13737 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13738 routines.
13739 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13740 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13741 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13742 fall back to using wcrtomb.
13743 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13744 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13745 renaming.
13746 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13747 * wcsmbs/tst-c16c32-1.c: New file.
13748
13749 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13750 local variable.
13751
c3a87236
UD
13752 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13753
28926a1b
UD
13754 * elf/tst-unique3.cc: Add explicit declaration of gets.
13755 * elf/tst-unique3lib.cc: Likewise.
13756 * elf/tst-unique3lib2.cc: Likewise.
13757 * elf/tst-unique4.cc: Likewise.
13758
df78418a
UD
13759 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13760
8ecd6b2a
JM
137612012-01-06 Joseph Myers <joseph@codesourcery.com>
13762
13763 [BZ #13566]
13764 * assert/assert.h (static_assert): Don't define for C++.
13765 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13766 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13767
9f115170
UD
137682012-01-03 Ulrich Drepper <drepper@gmail.com>
13769
5e0d0300
UD
13770 * iconv/loop.c (single loop): Fix assertion in storing of
13771 remaining bytes.
13772
9f115170
UD
13773 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13774
81fb02b0
UD
137752012-01-01 Ulrich Drepper <drepper@gmail.com>
13776
13777 * posix/getconf.c: Update copyright year.
13778 * nss/getent.c: Likewise.
a316c1f6 13779 * nss/makedb.c: Likewise.
81fb02b0
UD
13780 * iconv/iconvconfig.c: Likewise.
13781 * iconv/iconv_prog.c: Likewise.
13782 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13783 * elf/pldd.c: Likewise.
13784 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13785 * catgets/gencat.c: Likewise.
13786 * csu/version.c: Likewise.
13787 * elf/ldd.bash.in: Likewise.
13788 * elf/sprof.c (print_version): Likewise.
13789 * locale/programs/locale.c: Likewise.
13790 * locale/programs/localedef.c: Likewise.
a316c1f6 13791 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13792 * nscd/nscd.c (print_version): Likewise.
13793 * debug/xtrace.sh: Likewise.
13794 * malloc/memusage.sh: Likewise.
13795 * malloc/mtrace.pl: Likewise.
13796 * debug/catchsegv.sh: Likewise.
13797
2ba92745
JJ
137982011-12-30 Jakub Jelinek <jakub@redhat.com>
13799
13800 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13801 pure attribute.
13802
dadebdae
UD
138032011-12-24 Ulrich Drepper <drepper@gmail.com>
13804
d3761ebc 13805 [BZ #13533]
db6af3eb
UD
13806 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13807 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13808 transformations.
13809 * iconv/gconv_int.h: Likewise.
13810 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13811 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13812 from libc for GLIBC_2.16.
13813 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13814 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13815 * wcsmbs/uchar.h: Really define mbstate_t.
13816 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13817 * wcsmbs/c16rtomb.c: New file.
13818 * wcsmbs/mbrtoc16.c: New file.
13819 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13820 for C/POSIX locale.
13821 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13822 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13823
dadebdae
UD
13824 * wcsmbs/wchar.h: Add missing __restrict.
13825
67371b56
UD
138262011-12-23 Ulrich Drepper <drepper@gmail.com>
13827
74033a25
UD
13828 [BZ #13532]
13829 * time/Makefile (routines): Add timespec_get.
13830 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13831 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13832 timespec for ISO C11.
13833 * time/timespec_get.c: New file.
13834 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13835 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13836
380d7e87
UD
13837 [BZ #13531]
13838 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13839 * stdlib/stdlib.h: Declare aligned_alloc.
13840 * Versions.def: Add GLIBC_2.16 for libc.
13841 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13842
4e9e7a35
UD
13843 [BZ 13527]
13844 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13845 ISO C11.
13846
380d7e87 13847 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13848 code.
13849
03a71829
UD
13850 [BZ #13528]
13851 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13852
839e283e
UD
13853 [BZ #13529]
13854 * assert/assert.h (static_assert): Define.
13855
ce5294e2 13856 * version.h: Update for 2.16 development version.
90fa7312 13857
8d44e150 13858 [BZ #13526]
d7809905
UD
13859 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13860 _ISOC11_SOURCE.
13861
c0da14cd
UD
13862 * version.h (RELEASE): Bump for 2.15 release.
13863 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13864
530a3249
MP
13865 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13866 Patch by Marek Polacek <mpolacek@redhat.com>.
13867
67371b56
UD
13868 * bits/byteswap.h: Protect long long constants with __extension__.
13869 * sysdeps/i386/bits/byteswap.h: Likewise.
13870 * sysdeps/ia64/bits/byteswap.h: Likewise.
13871 * sysdeps/s390/bits/byteswap.h: Likewise.
13872 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13873
15db4de1
LD
138742011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13875
13876 [BZ #13540]
bbe315ea
LD
13877 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13878 destination buffer.
15db4de1
LD
13879 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13880
2b2596b1
MP
138812011-12-23 Marek Polacek <polacek@redhat.com>
13882
13883 * elf/dl-addr.c (determine_info): Add inline keyword.
13884 * elf/tst-auditmod4b.c (check_avx): Likewise.
13885 * elf/tst-auditmod6b.c (check_avx): Likewise.
13886 * elf/tst-auditmod6c.c (check_avx): Likewise.
13887 * elf/tst-auditmod7b.c (check_avx): Likewise.
13888
70c6c246
UD
138892011-12-23 Ulrich Drepper <drepper@gmail.com>
13890
13891 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13892 !__SSE_MATH__.
13893
c044cf14
LD
138942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13895
15db4de1 13896 [BZ #13540]
c044cf14
LD
13897 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13898 processing for last bytes.
13899
6b13d9d9
BH
139002011-08-06 Bruno Haible <bruno@clisp.org>
13901
d455f537
BH
13902 [BZ #13061]
13903 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13904 U+0385, not to U+1FEE.
13905
6b13d9d9
BH
13906 [BZ #13062]
13907 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13908 entry for U+00A5 U+0301.
13909
db910efd
UD
139102011-12-22 Ulrich Drepper <drepper@gmail.com>
13911
27deeafc
UD
13912 [BZ #13166]
13913 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13914 buffer for the output is too small.
13915
aed9d171
UD
13916 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13917 optimization.
13918
db910efd
UD
13919 [BZ #13185]
13920 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13921 SSE flags if possible.
13922
2bd779ae
LD
139232011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13924
e7f9dac3 13925 [BZ #13540]
2bd779ae
LD
13926 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13927 processing for last bytes.
13928
154bfc16
JM
139292011-12-22 Joseph Myers <joseph@codesourcery.com>
13930
13931 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13932 (syscall-list-default-options, syscall-list-default-condition)
13933 (syscall-list-includes): Define.
13934 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13935 list of ABIs and options and #if conditions for each ABI. Do not
13936 handle common syscalls between ABIs specially.
13937 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13938 Remove.
13939 (syscall-list-variants, syscall-list-32bit-options)
13940 (syscall-list-32bit-condition, syscall-list-64bit-options)
13941 (syscall-list-64bit-condition): Define.
13942 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13947 Remove.
13948 (syscall-list-variants, syscall-list-32bit-options)
13949 (syscall-list-32bit-condition, syscall-list-64bit-options)
13950 (syscall-list-64bit-condition): Define.
13951 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13952 Remove.
13953 (syscall-list-variants, syscall-list-32bit-options)
13954 (syscall-list-32bit-condition, syscall-list-64bit-options)
13955 (syscall-list-64bit-condition): Define.
13956
21eaf3a5
UD
139572011-12-22 Ulrich Drepper <drepper@gmail.com>
13958
16c6f992
UD
13959 * locale/iso-639.def: Add brx entry.
13960
41043168
UD
13961 [BZ #13328]
13962 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13963 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13964
21eaf3a5
UD
13965 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13966 __feraiseexcept_renamed.
13967
e3a851a2
UD
139682011-12-21 Ulrich Drepper <drepper@gmail.com>
13969
4920765e
UD
13970 [BZ #13538]
13971 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13972 EPOLLET with unsigned values.
13973 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13974 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13975
e3a851a2
UD
13976 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13977 to large cancellation.
13978 * math/s_cacoshf.c: Likewise.
13979 * math/s_cacoshl.c: Likewise.
13980
b27e24b8
RK
139812011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13982
13983 [BZ #13305]
aebefeee 13984 [BZ #12786]
b27e24b8
RK
13985 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13986 * math/s_cacoshf.c: Likewise.
13987 * math/s_cacoshl.c: Likewise.
13988
ee190f67
UD
139892011-12-21 Ulrich Drepper <drepper@gmail.com>
13990
13991 [BZ #13439]
13992 * iconv/gconv.h: Define __GCONV_SWAP.
13993 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13994 * iconvdata/utf-16.c: Likewise.
13995 * iconvdata/utf-32.c: Likewise.
13996
707f25df
AS
139972011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13998
13999 [BZ #13524]
14000 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14001 numerator after shifting it by one limb.
14002
d2daaa1e
RÁE
140032011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14004
14005 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14006 under [__USE_EXTERN_INLINES].
14007
a4647e72
UD
140082011-12-17 Ulrich Drepper <drepper@gmail.com>
14009
14010 [BZ #13446]
14011 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14012
f0b264f1
AZ
140132011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14014
14015 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14016 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14017 optimized code.
14018 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14019 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14020 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14021 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14022 for strncasecmp/strncasecmp_l compilation.
14023 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14024 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14025
8ef4f244
MP
140262011-12-08 Marek Polacek <mpolacek@redhat.com>
14027
14028 [BZ #13484]
14029 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14030 of __asm__.
14031
97ac2654
UD
140322011-12-17 Ulrich Drepper <drepper@gmail.com>
14033
14034 [BZ #13506]
14035 * time/tzfile.c (__tzfile_read): Check values from file header.
14036
91d2a845
WS
140372011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14038
14039 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14040 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14041 * powerpc/powerpc32/dl-start.S: Likewise.
14042 * powerpc/powerpc32/elf/start.S: Likewise.
14043 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14044 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14045 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14046 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14047 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14048 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14049 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14050 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14051 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14052 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14053 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14054 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14055 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14056 * powerpc/powerpc32/memset.S: Likewise.
14057 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14058 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14059 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14060 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14061 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14062 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14063 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14064 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14065 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14066 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14067 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14068 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14069 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14070
a1267ba1
AZ
140712011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14072
14073 * math/libm-test.inc: Added more nearbyint tests.
14074 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14075 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14076 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14077 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14078
ad8ac1bd
RL
140792011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14080
14081 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14082 FD_CLOEXEC.
14083
1d3e4b61
UD
140842011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14085
14086 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14087 Add wcscpy-ssse3 wcscpy-c.
14088 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14089 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14090 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14091 * sysdeps/x86_64/wcschr.S: New file.
14092 * sysdeps/x86_64/wcsrchr.S: New file.
14093 * string/test-strcmp.c: Remove checking of wcscmp function for
14094 wrong alignments.
14095 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14096 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14097 wcsrchr-sse2 wcsrchr-c.
14098 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14099 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14100 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14101 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14102 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14103 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14104 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14105 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14106 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14107 * wcsmbc/wcschr.c (WCSCHR): New macro.
14108
5b330a2d
UD
141092011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14110
14111 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14112 * wcsmbs/test-wcsrchr.c: New file.
14113 * string/test-strrchr.c: Add wcsrchr support.
14114 (WIDE): New macro.
14115 * wcsmbs/test-wcscpy.c: New file.
14116 * string/test-strcpy.c: Add wcscpy support.
14117 (WIDE): New macro.
26428b7c 14118
f039c043
UD
141192011-12-10 Ulrich Drepper <drepper@gmail.com>
14120
14121 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14122 the inner loop.
14123
850fb039
AS
141242011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14125
14126 [BZ #13472]
14127 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14128
4efbd5cb
UD
141292011-12-04 Ulrich Drepper <drepper@gmail.com>
14130
52ff5dd0 14131 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14132 Minor optimizations.
52ff5dd0 14133
4efbd5cb
UD
14134 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14135 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14136 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14137
8a426e12
UD
141382011-12-03 Ulrich Drepper <drepper@gmail.com>
14139
aff2453d
UD
14140 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14141 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14142 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14143 for gcc to avoid warnings.
14144 * inet/Makefile (tests): Add tst-checks.
14145 * inet/tst-checks.c: New file.
14146
14147 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14148 warning.
14149
14150 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14151 __wmemcmp_sse2.
14152
14153 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14154 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14155
8a426e12
UD
14156 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14157
9bea3473
UD
141582011-12-02 Ulrich Drepper <drepper@gmail.com>
14159
3a965496
UD
14160 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14161 problem.
14162
9bea3473
UD
14163 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14164
f101631b
UD
141652011-11-29 Joseph Myers <joseph@codesourcery.com>
14166
14167 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14168 conditional on GCC version.
14169 (__arch_compare_and_exchange_val_8_acq)
14170 (__arch_compare_and_exchange_val_16_acq)
14171 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14172 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14173 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14174
a98275aa
UD
141752011-12-02 Joseph Myers <joseph@codesourcery.com>
14176
14177 * sysdeps/sh/backtrace.c: New file.
14178
d4cc29a2
AS
141792011-12-02 Andreas Schwab <schwab@redhat.com>
14180
14181 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14182 parenthesis.
14183
6257af2d
AS
141842011-12-01 Andreas Schwab <schwab@redhat.com>
14185
14186 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14187 falling back to utime.
14188
b5f44c1a
AS
141892011-11-30 Andreas Schwab <schwab@redhat.com>
14190
14191 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14192 expectations for float.
14193
f3a6cc0a
AS
141942011-11-29 Andreas Schwab <schwab@redhat.com>
14195
14196 * locale/weight.h (findidx): Add parameter len.
14197 * locale/weightwc.h (findidx): Likewise.
14198 * posix/fnmatch_loop.c (FCT): Adjust caller.
14199 * posix/regcomp.c (build_equiv_class): Likewise.
14200 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14201 * posix/regexec.c (check_node_accept_bytes): Likewise.
14202 * string/strcoll_l.c (STRCOLL): Likewise.
14203 * string/strxfrm_l.c (STRXFRM): Likewise.
14204
9d65ea3a
UD
142052011-11-17 Ulrich Drepper <drepper@gmail.com>
14206
14207 * Makefile.in: Remove CVSOPT handling.
14208 * configure.in: Remove use of AC_REVISION.
14209 * iconvdata/Makefile (distribute): No need to filter out CVS.
14210 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14211 handling.
14212
5583a086
AS
142132011-11-16 Andreas Schwab <schwab@redhat.com>
14214
14215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14216 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14217 [USE_AS_STRNCASECMP_L]: Likewise.
14218 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14219 NO_TLS_DIRECT_SEG_REFS.
14220 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14221 Fix argument offsets for non-PIC.
14222 [USE_AS_STRNCASECMP_L]: Likewise.
14223 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14224 NO_TLS_DIRECT_SEG_REFS.
14225
d62a8200
UD
142262011-11-15 Ulrich Drepper <drepper@gmail.com>
14227
9d65ea3a 14228 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14229 O_CLOEXEC.
14230 * locale/loadlocale.c (_nl_load_locale): Likewise.
14231
09f93bd3
AS
142322011-11-15 Andreas Schwab <schwab@redhat.com>
14233
446514f9
AS
14234 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14235 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14236 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14237 (SYSCALL_GETTIME): Set errno on error.
14238
09f93bd3
AS
14239 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14240 count references to noai6ai_cached.
14241
312be3f9
UD
142422011-11-15 Ulrich Drepper <drepper@gmail.com>
14243
14244 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14245
14246 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14247 FD_CLOEXEC for /proc/self/maps.
14248
14249 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14250 FD_CLOEXEC for /proc/meminfo.
14251
14252 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14253 gai.conf.
14254
14255 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14256 FD_CLOEXEC for given file.
14257
14258 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14259
14260 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14261 FD_CLOEXEC for /etc/hosts.
14262 (_gethtent): Likewise.
14263
14264 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14265
14266 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14267 cancellation and set FD_CLOEXEC for /etc/netgroup.
14268
14269 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14270 reading /etc/publickey.
14271
14272 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14273 allow cancellation when reading /etc/group.
14274
14275 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14276 cancellation.
14277 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14278
14279 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14280 when using data file.
14281
14282 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14283
14284 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14285 (write_nis_obj): Use "c" and "e" in fopen.
14286
14287 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14288
14289 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14290
14291 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14292
14293 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14294
14295 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14296 locale.alias.
14297
14298 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14299
14300 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14301
14302 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14303
14304 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14305 file parsing and set FD_CLOEXEC.
14306
82af0fa8
UD
143072011-11-14 Ulrich Drepper <drepper@gmail.com>
14308
14309 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14310
a5fb313c
AS
143112011-11-14 Andreas Schwab <schwab@redhat.com>
14312
14313 * malloc/arena.c (arena_get2): Don't call reused_arena when
14314 _int_new_arena failed.
14315
6abf3465
UD
143162011-11-14 Ulrich Drepper <drepper@gmail.com>
14317
14318 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14319 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14320 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14321 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14322 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14323 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14324 to compile strcasecmp and strncasecmp.
14325 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14326 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14327
14328 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14329
76e3966e
UD
143302011-11-13 Ulrich Drepper <drepper@gmail.com>
14331
14332 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14333 locale-defines.sym to gen-as-const-headers.
14334 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14335 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14336 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14337 to compile strcasecmp and strncasecmp.
14338 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14339 strcasecmp_l and strncasecmp_l.
14340 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14341 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14342 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14343 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14344 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14345 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14346 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14347 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14348 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14349 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14350 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14351
ab26144e
UD
143522011-11-12 Ulrich Drepper <drepper@gmail.com>
14353
7edb22ef
UD
14354 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14355 result of SYSDEP_GETTIME_CPU to retval.
14356 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14357 parameter list to macro. Remove trailing semicolon. Adjust users.
14358
9694fc44
UD
14359 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14360 variable.
14361
8ad89ef8
UD
14362 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14363 mantissa words.
14364 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14365
0c822ef9
UD
14366 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14367 from unused variable.
14368
874e0564
UD
14369 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14370 DWARF definitions.
14371 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14372 for assembling.
14373
3a2edc79
UD
14374 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14375 over namespaces.
14376
f3c2577f
UD
14377 * sunrpc/rpc_prot.c (rejected): Fix case value.
14378
294ce126
UD
14379 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14380 unsigned long long int to avoid warnings in shift.
14381
5e2b63c6
UD
14382 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14383 of use of trans.
14384 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14385 variable tmp.
14386
e7f4b08e
UD
14387 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14388 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14389 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14390
ab26144e
UD
14391 * nis/nis_table.c (nis_list): Use variable of correct type for
14392 result of __follow_path call.
14393
8a6d5255
AZ
143942011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14395
14396 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14397 of math functions ceil, trunc, floor, round, and sqrt, when
14398 avaliable on the platform.
14399 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14400 name clash.
14401 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14402 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14403 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14404
aaddc98c
MP
144052011-10-30 Marek Polacek <mpolacek@redhat.com>
14406
14407 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14408 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14409
95b7042b
RM
144102011-11-11 Roland McGrath <roland@hack.frob.com>
14411
14412 * include/unistd.h: Fix __readlink return type.
14413 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14414
57769839
UD
144152011-11-11 Ulrich Drepper <drepper@gmail.com>
14416
14417 * stdlib/ucontext.h: Undo last change for makecontext.
14418
edc5984d
AS
144192011-11-11 Andreas Schwab <schwab@redhat.com>
14420
98591e58
AS
14421 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14422
edc5984d
AS
14423 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14424 * setjmp/setjmp.h: Mark functions as non-leaf.
14425 * setjmp/bits/setjmp2.h: Likewise.
14426 * stdlib/ucontext.h: Likewise.
14427
77cdc054
AS
144282011-11-10 Andreas Schwab <schwab@redhat.com>
14429
14430 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14431 (reused_arena): Don't check arena limit.
14432 (arena_get2): Atomically check arena limit.
14433
fe72eebd
UD
144342011-11-08 Ulrich Drepper <drepper@gmail.com>
14435
5f078c32
UD
14436 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14437 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14438
fe72eebd
UD
14439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14440 instructions.
14441
ae1bc2fa
AS
144422011-11-07 Andreas Schwab <schwab@redhat.com>
14443
7583a88d
AS
14444 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14445 handler when locking.
14446
ae1bc2fa
AS
14447 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14448 Fix size of allocated buffer.
14449
10fb0bfa
AS
144502011-11-04 Andreas Schwab <schwab@redhat.com>
14451
998832a4
AS
14452 [BZ #10103]
14453 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14454 declarations for long double functions.
14455 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14456
10fb0bfa
AS
14457 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14458
3d7ba52b
AS
144592011-11-03 Andreas Schwab <schwab@redhat.com>
14460
a9ae54a1
AS
14461 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14462 installed.
14463
3d7ba52b
AS
14464 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14465 is disabled.
14466
bc8db248
ST
144672011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14468
14469 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14470
45b96dd6
AS
144712011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14472
647776f6
AS
14473 * include/alloca.h (stackinfo_alloca_round): Define.
14474 (extend_alloca): Use it.
14475 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14476 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14477 here.
14478
d91a8b93
AS
14479 * scripts/check-local-headers.sh: Ignore libaudit.h.
14480
45b96dd6
AS
14481 * nscd/Makefile (extra-objs): Make recursively expanded.
14482
432d41ce
UD
144832011-11-01 Ulrich Drepper <drepper@gmail.com>
14484
34372fc6
UD
14485 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14486 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14487
fadb59f8
UD
14488 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14489 * posix/tst-rfc3484-2.c: Likewise.
14490 * posix/tst-rfc3484-3.c: Likewise.
14491
78239589
UD
14492 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14493 process_vm_writev.
14494 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14495 process_vm_writev.
14496 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14497 process_vm_writev from libc using GLIBC_2.15 version.
14498
432d41ce
UD
14499 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14500
02f9c6cf
PP
145012011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14502
14503 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14504 stack usage.
14505
3a2c0242
UD
145062011-10-31 Ulrich Drepper <drepper@gmail.com>
14507
f4ec4833
UD
14508 [BZ #13367]
14509 * nss/getent.c (initgroups_keys): Show error message in case no group
14510 names are given.
14511
3a2c0242
UD
14512 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14513 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14514 __bump_nl_timestamp.
14515 * nscd/connections (nscd_init): When host database is served open
14516 netlink socket and request notification about configuration changes.
14517 (main_loop_poll): Track netlink file descriptor and bump timestamp
14518 in case data becomes available.
14519 (main_loop_epoll): Likewise.
14520 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14521 (database_pers_head): Add extra_data fileds.
14522 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14523 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14524 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14525 Adjust caller.
14526 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14527 in6ai data, call __free_in6ai.
14528 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14529 Add -DHAVE_NETLINK.
14530 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14531 interface information. Reuse previous data if netlink timestamp
14532 is not changed.
14533 (__bump_nl_timestamp): New function.
14534 (__free_in6ai): New function.
14535
636064eb
UD
145362011-10-30 Ulrich Drepper <drepper@gmail.com>
14537
14538 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14539 close_not_cancel_no_status here.
14540 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14541
9beb2334
UD
145422011-10-29 Ulrich Drepper <drepper@gmail.com>
14543
6ef76f3b
UD
14544 [BZ #13276]
14545 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14546 return value.
14547
0ffc4f3e 14548 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14549 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14550 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14551
cb95113e
UD
145522011-07-03 Andreas Jaeger <aj@suse.de>
14553
14554 [BZ #10709]
14555 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14556 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14557 * math/libm-test.inc (sin_test): Add test case.
14558
a1b560ff
UD
145592011-10-29 Ulrich Drepper <drepper@gmail.com>
14560
c9aaface
UD
14561 [BZ #13337]
14562 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14563 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14564
d272e7f1
UD
14565 * elf/chroot_canon.c (chroot_canon): Cleanups.
14566
1bc33071
UD
14567 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14568
1760874d
TJ
14569 [BZ #13335]
14570 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14571 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14572
51d91b18
UD
14573 * string/test-strchr.c: Make usable for strchrnul testing.
14574 * string/test-strchrnul.c: New file.
14575 * string/Makefile (strop-tests): Add strchrnul.
14576
a1b560ff 14577 * po/it.po: Update from translation team.
b611fb81 14578 * po/es.po: Likewise.
a1b560ff 14579
a5b81e1f
UD
145802011-10-28 Ulrich Drepper <drepper@gmail.com>
14581
fd52bc6d
UD
14582 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14583 the three constants needed as parameters. Drop the others.
14584 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14585 __m128i_strloadu_tolower.
52e4b9eb
UD
14586 Create and initialize variable zero and use it in all the places
14587 where _mm_setzero_si128 was used.
fd52bc6d 14588
a5b81e1f
UD
14589 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14590 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14591 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14592 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14593 anymore.
14594 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14595 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14596 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14597 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14598 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14599 __mpranred, __mptan.
14600 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14601 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14602 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14603 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14604 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14605 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14606 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14607 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14608 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14609
b4343346
AS
146102011-10-28 Andreas Schwab <schwab@redhat.com>
14611
0c92d8a8
AS
14612 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14613 redefine if SHARED.
14614 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14615
b4343346
AS
14616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14617 wide char related routines to wcsmbs subdir.
14618
3871f58f
AS
146192011-10-27 Andreas Schwab <schwab@redhat.com>
14620
14621 [BZ #13344]
14622 * misc/sys/cdefs.h (__THROWNL): Define.
14623 * posix/unistd.h: Use __THREADNL instead of __THREAD
14624 for memory synchronization functions.
14625
94d44d9f
RM
146262011-10-26 Roland McGrath <roland@hack.frob.com>
14627
21b64b15 14628 [BZ #13349]
94d44d9f
RM
14629 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14630 doesn't exist.
14631 * manual/stdio.texi (Obstack Streams): Node removed.
14632
f6ce9294
AS
146332011-10-26 Andreas Schwab <schwab@redhat.com>
14634
80479147
AS
14635 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14636 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14637 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14638
f6ce9294
AS
14639 * math/math_private.h (math_force_eval): Allow non-addressable
14640 arguments.
14641 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14642
618280a1
UD
146432011-10-25 Ulrich Drepper <drepper@gmail.com>
14644
e0016b11
UD
14645 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14646 file is not needed.
14647
14648 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14649 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14650 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14651 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14652 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14653 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14654 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14655 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14656 Add AVX variants.
14657 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14658 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14659 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14660 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14661 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14662 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14663 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14664 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14665 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14666 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14667 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14668 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14669 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14670 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14671 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14672 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14673 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14674 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14675 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14676
14677 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14678 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14679
618280a1
UD
14680 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14681 place. Use VEX encoding when compiling for AVX.
14682
37822576
AS
146832011-10-25 Andreas Schwab <schwab@redhat.com>
14684
1f1e1947
AS
14685 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14686 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14687
37822576
AS
14688 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14689
31ea014d
UD
146902011-10-25 Ulrich Drepper <drepper@gmail.com>
14691
d7826aa1 14692 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14693 useless if() expression.
d7826aa1
UD
14694 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14696 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14701 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14703 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14704 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14705 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14706 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14707 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14708 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14709 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14710 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14712 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14713
31ea014d
UD
14714 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14715
16437fec
AS
147162011-10-25 Andreas Schwab <schwab@redhat.com>
14717
14718 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14719 condition.
14720 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14721
31d3cc00
UD
147222011-10-25 Ulrich Drepper <drepper@gmail.com>
14723
14724 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14725 .text section. Avoid duplicate constants.
14726 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14728 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14730 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14731 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14732 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14733 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14734 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14735 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14736 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14737 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14738 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14739 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14740 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14741 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14742 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14743 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14744 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14745 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14746 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14747 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14748 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14749 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14750 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14751 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14752 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14753 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14754 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14755 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14756 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14757 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14758 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14759 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14760 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14761 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14762 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14763 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14764 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14765 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14766 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14767 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14768 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14769 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14770 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14771
58985aa9
UD
147722011-10-24 Ulrich Drepper <drepper@gmail.com>
14773
202c9deb
UD
14774 * sysdeps/x86_64/dla.h: Move to ...
14775 * sysdeps/x86_64/fpu/dla.h: ...here.
14776 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14777 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14778
af968f62
UD
14779 * config.make.in: Add have-mfma4 entry.
14780 * configure.in: Substitute libc_cv_cc_fma4.
14781 * math/Makefile (dbl-only-routines): Add sincostab.
14782 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14783 Use __sincostab not sincos.
14784 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14785 name is a macro.
14786 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14790 using __copysign.
14791 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14792 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14793 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14794 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14795 and __inv.
14796 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14797 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14798 __copysign.
14799 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14800 define aliases when function name is a macro.
14801 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14802 sysdeps/ieee754/dbl-64/sincos.tbl.
14803 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14804 fma4-enabled routines.
14805 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14806 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14807 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14808 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14809 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14810 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14811 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14812 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14813 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14814 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14815 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14816 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14817 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14818 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14819 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14820 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14821 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14822 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14823 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14824 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14825 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14826 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14827 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14828 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14829 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14830 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14831 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14832 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14833 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14834 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14835
58985aa9
UD
14836 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14837 rename.
14838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14839 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14840 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14841 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14842 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14844 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14845 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14846
a201fbcf
AS
148472011-10-24 Andreas Schwab <schwab@redhat.com>
14848
14849 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14850
fc2ee42a
LD
148512011-10-23 Ulrich Drepper <drepper@gmail.com>
14852
bb3129bd
UD
14853 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14854
0275fff8
UD
14855 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14856 prediction.
14857 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14858
2fa2ae85
UD
14859 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14860 Remove unused variable magic_bits.
14861 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14862
fc2ee42a
LD
14863 * string/strnlen.c: Define and use STRNLEN macro.
14864 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14865 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14866 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14867 * wcsmbs/wcslen.c: Define and use WCSLEN.
14868 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14869 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14870 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14871 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14872 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14873 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14874 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14875
ce7dd29f
LD
148762011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14877
14878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14879 strnlen-sse2-no-bsf.
14880 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14881 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14882 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14883 Add strnlen support.
14884 (USE_AS_STRNLEN): New macro.
14885 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14886 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14887 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14888 * sysdeps/x86_64/wcslen.S: New file.
14889
979c70a3
MZ
148902011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14891
14892 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14893 XMM-moves are used for copying on small sizes.
14894
2d09f82f
LD
148952011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14896
14897 * wcsmbs/Makefile (strop-tests): Add wcschr.
14898 * wcsmbs/test-wcschr.c: New file.
14899 * string/test-strchr.c: Update.
14900 Add wcschr support.
14901 (WIDE): New macro.
14902
619fccca
LD
149032011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14904
2d09f82f 14905 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14906 * wcsmbs/test-wcslen.c: New file.
14907 * string/test-strlen.c: Update.
14908 Add wcslen support.
14909 (WIDE): New macro.
14910
09f699ea
UD
149112011-10-23 Ulrich Drepper <drepper@gmail.com>
14912
14913 * po/it.po: Update from translation team.
14914
95584d3b
LD
149152011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14916
14917 * sysdeps/x86_64/wcscmp.S: Update.
14918 Fix wrong comparison semantics.
14919 wcscmp shall use signed comparison not unsigned.
14920 Don't use substraction to avoid overflow bug.
14921 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14922 * wcsmbc/wcscmp.c: Likewise.
14923 * string/test-strcmp.c: Likewise.
14924 Add new tests to check cases with negative values.
14925
c8b3296b
UD
149262011-10-23 Ulrich Drepper <drepper@gmail.com>
14927
14928 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14929 * sysdeps/x86_64/dla.h: ...here. New file.
14930 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14931 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14935 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14936 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14937 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14938 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14939
246ad57a
AS
149402011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14941
14942 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14943 __ynl_finite aliases.
14944
a1a87169
UD
149452011-10-22 Ulrich Drepper <drepper@gmail.com>
14946
0d355eb7
UD
14947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14948
a1a87169
UD
14949 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14950 define DLA_FMA.
14951 [DLA_FMA] (EMULV): Use DLA_FMA.
14952 [DLA_FMA] (MUL12): Use EMULV.
14953 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14954 that are not needed.
14955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14956 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14957 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14959 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14960 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14961 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14962
ee2aafe0
AS
149632011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14964
14965 * math/s_nan.c: Undef __nan.
14966 * math/s_nanf.c: Undef __nanf.
14967 * math/s_nanl.c: Undef __nanl.
14968 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14969 "math_private.h".
14970
bc62c2fb
UD
149712011-10-22 Ulrich Drepper <drepper@gmail.com>
14972
77425c63
UD
14973 * math/s_catan.c: Add branch predictions.
14974 * math/s_catanf.c: Likewise.
14975 * math/s_catanh.c: Likewise.
14976 * math/s_catanhf.c: Likewise.
14977 * math/s_catanhl.c: Likewise.
14978 * math/s_catanl.c: Likewise.
14979 * math/s_cexp.c: Likewise.
14980 * math/s_cexpf.c: Likewise.
14981 * math/s_cexpl.c: Likewise.
14982 * math/s_clog.c: Likewise.
14983 * math/s_clog10.c: Likewise.
14984 * math/s_clog10f.c: Likewise.
14985 * math/s_clog10l.c: Likewise.
14986 * math/s_clogf.c: Likewise.
14987 * math/s_clogl.c: Likewise.
14988 * math/s_csqrt.c: Likewise.
14989 * math/s_csqrtf.c: Likewise.
14990 * math/s_csqrtl.c: Likewise.
14991 * math/s_ctanf.c: Likewise.
14992 * math/s_ctanh.c: Likewise.
14993 * math/s_ctanhf.c: Likewise.
14994 * math/s_ctanhl.c: Likewise.
14995 * math/s_ctanl.c: Likewise.
14996
bc62c2fb
UD
14997 * math/math_private.h: Define __nan, __nanf, __nanl.
14998 * math/s_cacosh.c: Include <math_private.h>.
14999 * math/s_cacoshl.c: Likewise.
15000 * math/s_casinh.c: Likewise.
15001 * math/s_casinhf.c: Likewise.
15002 * math/s_casinhl.c: Likewise.
15003 * math/s_ccos.c: Rely entire on ccosh.
15004 * math/s_ccosf.c: Rely entire on ccoshf.
15005 * math/s_ccosl.c: Rely entirely on ccoshl.
15006 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15007 Remove tests for FE_INVALID.
15008 * math/s_ccoshf.c: Likewise.
15009 * math/s_ccoshl.c: Likewise.
15010 * math/s_csin.c: Likewise.
15011 * math/s_csinf.c: Likewise.
15012 * math/s_csinh.c Likewise.
15013 * math/s_csinhf.c: Likewise.
15014 * math/s_csinhl.c: Likewise.
15015 * math/s_csinl.c: Likewise.
15016 * math/s_ctan.c: Likewise.
15017 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15018 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15019 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15020
8ec250a4
UD
150212011-10-21 Ulrich Drepper <drepper@gmail.com>
15022
c196fed8
UD
15023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15024 compilation problems.
15025
8ec250a4
UD
15026 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15027 __builtin_expect.
15028
8d4f46c6
UD
150292011-10-20 Ulrich Drepper <drepper@gmail.com>
15030
ed72b654
UD
15031 * sysdeps/i386/configure.in: Test for -mfma4 option.
15032 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15033 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15034 COMMON_CPUID_INDEX_80000001.
15035 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15036 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15037 use it if FMA3 is not supported.
15038 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15039
8d4f46c6
UD
15040 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15041 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15042
d45c60c2
AS
150432011-10-20 Andreas Schwab <schwab@redhat.com>
15044
15045 [BZ #12892]
15046 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15047 it would create a cycle with a link time dependency.
15048
d9a4d2ab
UD
150492011-10-19 Ulrich Drepper <drepper@gmail.com>
15050
855d1560
UD
15051 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15052 instruction.
15053 * string/Makefile (strop-tests): Add rawmemchr.
15054 * string/test-rawmemchr.c: New file.
15055
d9a4d2ab
UD
15056 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15057 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15058 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15059 when compiling str{,n}casecmp and when AVX is available. Hook up
15060 new optimized code in initializers.
15061
8f3b1ffe
AS
150622011-10-19 Andreas Schwab <schwab@redhat.com>
15063
15064 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15065 __feraiseexcept instead of feraiseexcept.
15066
d38f1dba
UD
150672011-10-18 Ulrich Drepper <drepper@gmail.com>
15068
d9a8d0ab
UD
15069 * math/math_private.h: Define defaults for libc_fetestexcept and
15070 libc_feupdateenv.
15071 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15072 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15073 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15074 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15075 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15076 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15077 libc_fetestexcept and libc_feupdateenv.
15078
4855e3dd
UD
15079 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15080 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15081 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15082 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15083 libc_feholdexcept_setround.
15084
581d30e3
UD
15085 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15086 Add s_nearbyint-c and s_nearbyintf-c.
15087 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15088 nearbyintf inlines.
15089 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15090 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15091 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15092 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15093
d38f1dba
UD
15094 * math/math_private.h: Define defaults for libc_fegetround,
15095 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15096 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15097 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15098 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15099 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15100 standard functions.
15101 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15102 Remove comments and hacks for old compiler versions.
15103 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15104 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15105 libc_feholdexceptl.
15106
caa6c9d8
AS
151072011-10-18 Andreas Schwab <schwab@redhat.com>
15108
15109 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15110 (__feraiseexcept_renamed): Add __NTH.
15111 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15112 namespace violations.
15113
97c066e6
UD
151142011-10-17 Ulrich Drepper <drepper@gmail.com>
15115
99ce7b04
UD
15116 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15117
1004d182
UD
15118 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15119
228a984d
UD
15120 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15121 recently added interfaces.
15122 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15123
c8553a6a
UD
15124 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15125 about macro parameter expansion.
15126
ed22dcf6
UD
15127 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15128 __NO_MATH_INLINES is defined. Cleanups.
15129
15130 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15131 and __floorf is target has SSE4.1.
15132 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15133 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15134 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15135 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15136
b171c137
UD
15137 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15138 name.
15139 (floorf): Likewise.
15140
97c066e6
UD
15141 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15142
629f62ef
AS
151432011-10-17 Andreas Schwab <schwab@redhat.com>
15144
49a43d80
AS
15145 * misc/sys/cdefs.h: Fix last change.
15146
629f62ef
AS
15147 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15148 database lookup.
15149
e453f6cd
UD
151502011-10-16 Ulrich Drepper <drepper@gmail.com>
15151
aa78043a
UD
15152 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15153
ad0f5cad
UD
15154 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15155 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15156 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15157 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15158 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15159 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15160 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15161 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15162 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15163 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15164 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15165 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15166 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15167 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15168 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15169 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15170 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15171 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15172 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15173 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15174 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15175 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15176
15177 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15178 ceil, ceilf, floor, floorf.
15179
15180 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15181 Perform IRELATIVE relocations last.
15182
e453f6cd
UD
15183 * elf/do-rel.h: Add another parameter nrelative, replacing the
15184 local variable with the same name. Change name of the function
15185 to end in Rel or Rela (uppercase).
15186 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15187 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15188 elf_dynamic_do_##reloc function.
15189
fd5bdc09
UD
151902011-10-15 Ulrich Drepper <drepper@gmail.com>
15191
79b195b5
UD
15192 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15193 is sufficient, at least on modern CPUs.
15194
d4a28569
UD
15195 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15196
b61099b5
UD
15197 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15198 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15199
bcf01e6d
UD
15200 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15201 __expl_finite.
15202 * math/bits/math-finite.h: Add entries for exp.
15203 * math/e_expl.c: Add __*_finite alias.
15204 * sysdeps/i386/fpu/e_exp.S: Likewise.
15205 * sysdeps/i386/fpu/e_expf.S: Likewise.
15206 * sysdeps/i386/fpu/e_expl.c: Likewise.
15207 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15208 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15209 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15210 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15212 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15213 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15214
ba1a0d59
UD
15215 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15216 is sufficient, at least on modern CPUs.
15217
fd5bdc09
UD
15218 * ctype/ctype-info.c (__ctype_init): Define.
15219 * include/ctype.h (__ctype_init): Declare.
15220 (__ctype_b_loc): The variable is always initialized.
15221 (__ctype_toupper_loc): Likewise.
15222 (__ctype_tolower_loc): Likewise.
15223 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15224 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15225
7872cfb0
AS
152262011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15227
b468825a
AS
15228 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15229
7872cfb0
AS
15230 * configure.in: Also look in $cxxmachine/include for C++ system
15231 headers.
15232
be13f7bf
LD
152332011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15234
15235 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15236 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15237 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15238 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15239 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15240 (USE_AS_WMEMCMP): New macro.
15241 Fixing indents.
15242 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15243 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15244 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15245 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15247 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15248 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15249 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15250 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15251 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15252 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15253 (USE_AS_WMEMCMP): New macro.
15254 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15255 * sysdeps/string/test-memcmp.c: Update.
15256 Fix simple_wmemcmp.
15257 Add new tests.
15258 * wcsmbs/wmemcmp.c: Update.
15259 (WMEMCMP): New macro.
15260 Fix overflow bug.
15261
556a2007
AJ
152622011-10-12 Andreas Jaeger <aj@suse.de>
15263
15264 [BZ #13268]
15265 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15266
538faaa7
UD
152672011-10-15 Ulrich Drepper <drepper@gmail.com>
15268
ab6737ff
UD
15269 * libio/iofwide.c (do_length): Avoid warning.
15270
538faaa7
UD
15271 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15272
396a21b1
UD
152732011-10-14 Ulrich Drepper <drepper@gmail.com>
15274
cdf2901f
UD
15275 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15276
38ad40ce
UD
15277 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15278 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15279 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15280 * sysdeps/i386/i686/fpu/e_log.S: New file.
15281 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15282 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15283
396a21b1
UD
15284 * ctype/ctype.h: Add support for inlined isXXX functions when
15285 compiling C++ code.
15286
6b1f68c9
AS
152872011-10-14 Andreas Schwab <schwab@redhat.com>
15288
349290c0
AS
15289 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15290
6b1f68c9
AS
15291 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15292
f2282d42
RM
152932011-10-13 Roland McGrath <roland@hack.frob.com>
15294
15295 [BZ #13291]
15296 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15297
5298ffa8
AS
152982011-10-13 Andreas Schwab <schwab@redhat.com>
15299
714fad23
AS
15300 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15301 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15302 feraiseexcept.
15303
81dcc7fb
AS
15304 * sysdeps/x86_64/memrchr.S: Check for zero size.
15305
5298ffa8
AS
15306 * string/stratcliff.c: Add memrchr tests.
15307
951fbcec
LD
153082011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15309
15310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15311 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15312 rawmemchr-sse2 rawmemchr-sse2-bsf.
15313 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15314 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15315 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15316 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15317 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15318 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15319 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15320 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15321 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15322 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15323 * string/memrchr.c (MEMRCHR): New macro.
15324
0ac5ae23
UD
153252011-10-12 Ulrich Drepper <drepper@gmail.com>
15326
15327 Add integration with gcc's -ffinite-math-only and optimize wrapper
15328 functions in libm.
15329 * Versions.def: Define GLIBC_2.15 version for libm.
15330 * math/Makefile (headers): Add bits/math-finite.h.
15331 * math/bits/math-finite.h: New file.
15332 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15333 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15334 * math/e_acoshl.c: Add __*_finite alias.
15335 * math/e_acosl.c: Likewise.
15336 * math/e_asinl.c: Likewise.
15337 * math/e_atan2l.c: Likewise.
15338 * math/e_atanhl.c: Likewise.
15339 * math/e_coshl.c: Likewise.
15340 * math/e_exp10.c: Likewise.
15341 * math/e_exp10f.c: Likewise.
15342 * math/e_exp10l.c: Likewise.
15343 * math/e_exp2l.c: Likewise.
15344 * math/e_fmodl.c: Likewise.
15345 * math/e_gammal_r.c: Likewise.
15346 * math/e_hypotl.c: Likewise.
15347 * math/e_j0l.c: Likewise.
15348 * math/e_j1l.c: Likewise.
15349 * math/e_jnl.c: Likewise.
15350 * math/e_lgammal_r.c: Likewise.
15351 * math/e_log10l.c: Likewise.
15352 * math/e_log2l.c: Likewise.
15353 * math/e_logl.c: Likewise.
15354 * math/e_powl.c: Likewise.
15355 * math/e_sinhl.c: Likewise.
15356 * math/e_sqrtl.c: Likewise.
15357 * math/e_scalb.c: Completely rewritten and optimized.
15358 * math/e_scalbf.c: Likewise.
15359 * math/e_scalbl.c: Likewise.
15360 * math/w_acos.c: Likewise.
15361 * math/w_acosf.c: Likewise.
15362 * math/w_acosl.c: Likewise.
15363 * math/w_acosh.c: Likewise.
15364 * math/w_acoshf.c: Likewise.
15365 * math/w_acoshl.c: Likewise.
15366 * math/w_asin.c: Likewise.
15367 * math/w_asinf.c: Likewise.
15368 * math/w_asinl.c: Likewise.
15369 * math/w_atan2.c: Likewise.
15370 * math/w_atan2f.c: Likewise.
15371 * math/w_atan2l.c: Likewise.
15372 * math/w_atanh.c: Likewise.
15373 * math/w_atanhf.c: Likewise.
15374 * math/w_atanhl.c: Likewise.
15375 * math/w_exp10.c: Likewise.
15376 * math/w_exp10f.c: Likewise.
15377 * math/w_exp10l.c: Likewise.
15378 * math/w_fmod.c: Likewise.
15379 * math/w_fmodf.c: Likewise.
15380 * math/w_fmodl.c: Likewise.
15381 * math/w_j0.c: Likewise.
15382 * math/w_j0f.c: Likewise.
15383 * math/w_j0l.c: Likewise.
15384 * math/w_j1.c: Likewise.
15385 * math/w_j1f.c: Likewise.
15386 * math/w_j1l.c: Likewise.
15387 * math/w_jn.c: Likewise.
15388 * math/w_jnf.c: Likewise.
15389 * math/w_log.c: Likewise.
15390 * math/w_logf.c: Likewise.
15391 * math/w_logl.c: Likewise.
15392 * math/w_log10.c: Likewise.
15393 * math/w_log10f.c: Likewise.
15394 * math/w_log10l.c: Likewise.
15395 * math/w_log2.c: Likewise.
15396 * math/w_log2f.c: Likewise.
15397 * math/w_log2l.c: Likewise.
15398 * math/w_pow.c: Likewise.
15399 * math/w_powf.c: Likewise.
15400 * math/w_powl.c: Likewise.
15401 * math/w_remainder.c: Likewise.
15402 * math/w_remainderf.c: Likewise.
15403 * math/w_remainderl.c: Likewise.
15404 * math/w_scalb.c: Likewise.
15405 * math/w_scalbf.c: Likewise.
15406 * math/w_scalbl.c: Likewise.
15407 * math/w_sqrt.c: Likewise.
15408 * math/w_sqrtf.c: Likewise.
15409 * math/w_sqrtl.c: Likewise.
15410 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15411 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15412 used.
15413 * math/math_private.h: Declare __kernel_standard_f.
15414 * math/w_cosh.c: Remove cruft and optimize a bit.
15415 * math/w_coshf.c: Likewise.
15416 * math/w_coshl.c: Likewise.
15417 * math/w_exp2.c: Likewise.
15418 * math/w_exp2f.c: Likewise.
15419 * math/w_exp2l.c: Likewise.
15420 * math/w_hypot.c: Likewise.
15421 * math/w_hypotf.c: Likewise.
15422 * math/w_hypotl.c: Likewise.
15423 * math/w_lgamma.c: Likewise.
15424 * math/w_lgamma_r.c: Likewise.
15425 * math/w_lgammaf.c: Likewise.
15426 * math/w_lgammaf_r.c: Likewise.
15427 * math/w_lgammal.c: Likewise.
15428 * math/w_lgammal_r.c: Likewise.
15429 * math/w_sinh.c: Likewise.
15430 * math/w_sinhf.c: Likewise.
15431 * math/w_sinhl.c: Likewise.
15432 * math/w_tgamma.c: Likewise.
15433 * math/w_tgammaf.c: Likewise.
15434 * math/w_tgammal.c: Likewise.
15435 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15436 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15437 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15438 Minor optimizations. Pretty printing. Remove cruft.
15439 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15440 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15441 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15442 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15443 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15444 * sysdeps/i386/fpu/e_asin.S: Likewise.
15445 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15446 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15447 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15448 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15449 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15450 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15451 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15452 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15453 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15454 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15455 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15456 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15457 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15458 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15459 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15460 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15461 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15462 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15463 * sysdeps/i386/fpu/e_log.S: Likewise.
15464 * sysdeps/i386/fpu/e_log10.S: Likewise.
15465 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15466 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15467 * sysdeps/i386/fpu/e_log2.S: Likewise.
15468 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15469 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15470 * sysdeps/i386/fpu/e_logf.S: Likewise.
15471 * sysdeps/i386/fpu/e_logl.S: Likewise.
15472 * sysdeps/i386/fpu/e_pow.S: Likewise.
15473 * sysdeps/i386/fpu/e_powf.S: Likewise.
15474 * sysdeps/i386/fpu/e_powl.S: Likewise.
15475 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15476 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15477 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15478 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15479 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15480 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15481 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15482 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15483 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15484 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15485 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15486 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15487 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15488 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15489 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15490 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15491 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15492 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15493 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15494 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15495 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15497 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15498 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15499 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15500 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15501 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15502 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15504 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15505 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15506 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15507 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15508 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15509 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15510 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15511 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15512 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15513 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15514 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15515 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15516 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15517 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15518 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15519 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15520 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15521 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15522 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15523 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15524 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15525 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15531 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15532 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15534 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15546 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15549 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15553 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15556 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15564 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15567 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15569 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15570 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15571 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15572 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15573 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15574 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15575 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15576 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15577 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15578 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15579 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15580 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15581 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15582 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15583 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15584 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15585 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15586 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15587 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15588 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15589 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15590 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15591 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15592 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15593 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15594 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15595 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15596 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15597 (__isnanf): Likewise.
15598 (__isinf_ns): Likewise.
15599 (__isinf_nsf): Likewise.
15600 (__finite): Likewise.
15601 (__finitef): Likewise.
15602 (__ieee754_sqrt): Define as macro.
15603 (__ieee754_sqrtf): Define as macro.
15604 (__ieee754_sqrtl): Define as macro.
15605 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15606 inlined copy.
15607 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15608 __FINITE_MATH_ONLY__ consistent.
15609 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15610
12cc2fcd
AS
156112011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15612
a843a204
AS
15613 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15614 of rawmemchr.
15615
12cc2fcd
AS
15616 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15617
c853acd5
UD
156182011-10-09 Ulrich Drepper <drepper@gmail.com>
15619
15620 * po/ja.po: Update from translation team.
15621
c658d255
RM
156222011-10-08 Roland McGrath <roland@hack.frob.com>
15623
110946e4
RM
15624 * locale/programs/locarchive.c (prepare_address_space): New function.
15625 (create_archive, enlarge_archive, open_archive): Use it.
15626
50604220
RM
15627 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15628 inside [SHARED], where it is used.
15629
c658d255
RM
15630 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15631
15632 * nss/getent.c (netgroup_keys): Remove unused variable.
15633 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15634
6a621eb7
UD
156352011-10-08 Ulrich Drepper <drepper@gmail.com>
15636
7edb55ce
UD
15637 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15638 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15640 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15641 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15642 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15643 * math/Makefile (libm-calls): Add s_isinf_ns.
15644 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15645 * math/multc3.c: Likewise.
15646 * math/s_casin.c: Likewise.
15647 * math/s_casinf.c: Likewise.
15648 * math/s_casinl.c: Likewise.
15649 * math/s_ccos.c: Likewise.
15650 * math/s_ccosf.c: Likewise.
15651 * math/s_ccosl.c: Likewise.
15652 * math/s_ctan.c: Likewise.
15653 * math/s_ctanf.c: Likewise.
15654 * math/s_ctanh.c: Likewise.
15655 * math/s_ctanhf.c: Likewise.
15656 * math/s_ctanhl.c: Likewise.
15657 * math/s_ctanl.c: Likewise.
15658 * math/w_fmod.c: Likewise.
15659 * math/w_fmodf.c: Likewise.
15660 * math/w_fmodl.c: Likewise.
15661 * math/w_remainder.c: Likewise.
15662 * math/w_remainderf.c: Likewise.
15663 * math/w_remainderl.c: Likewise.
15664 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15665 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15666 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15667 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15668 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15669 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15670 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15671 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15672
187da0ae
UD
15673 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15674 of the number.
15675 * stdio-common/printf_fphex.c: Likewise.
15676 * stdio-common/printf_size.c: Likewise.
15677
9277c064
UD
15678 * math/e_exp10.c: Include math_private.h using <...> not "...".
15679 * math/e_exp10f.c: Likewise.
15680 * math/e_exp10l.c: Likewise.
15681 * math/e_exp2l.c: Likewise.
15682 * math/e_j0l.c: Likewise.
15683 * math/e_j1l.c: Likewise.
15684 * math/e_jnl.c: Likewise.
15685 * math/e_lgammal_r.c: Likewise.
15686 * math/e_rem_pio2l.c: Likewise.
15687 * math/e_scalb.c: Likewise.
15688 * math/e_scalbf.c: Likewise.
15689 * math/e_scalbl.c: Likewise.
15690 * math/k_cosl.c: Likewise.
15691 * math/k_sinl.c: Likewise.
15692 * math/k_tanl.c: Likewise.
15693 * math/s_cacoshf.c: Likewise.
15694 * math/s_catan.c: Likewise.
15695 * math/s_catanf.c: Likewise.
15696 * math/s_catanh.c: Likewise.
15697 * math/s_catanhf.c: Likewise.
15698 * math/s_catanhl.c: Likewise.
15699 * math/s_catanl.c: Likewise.
15700 * math/s_ccosh.c: Likewise.
15701 * math/s_ccoshf.c: Likewise.
15702 * math/s_ccoshl.c: Likewise.
15703 * math/s_cexp.c: Likewise.
15704 * math/s_cexpf.c: Likewise.
15705 * math/s_cexpl.c: Likewise.
15706 * math/s_clog.c: Likewise.
15707 * math/s_clog10.c: Likewise.
15708 * math/s_clog10f.c: Likewise.
15709 * math/s_clog10l.c: Likewise.
15710 * math/s_clogf.c: Likewise.
15711 * math/s_clogl.c: Likewise.
15712 * math/s_csin.c: Likewise.
15713 * math/s_csinf.c: Likewise.
15714 * math/s_csinh.c: Likewise.
15715 * math/s_csinhf.c: Likewise.
15716 * math/s_csinhl.c: Likewise.
15717 * math/s_csinl.c: Likewise.
15718 * math/s_csqrt.c: Likewise.
15719 * math/s_csqrtf.c: Likewise.
15720 * math/s_csqrtl.c: Likewise.
15721 * math/s_ctan.c: Likewise.
15722 * math/s_ctanf.c: Likewise.
15723 * math/s_ctanh.c: Likewise.
15724 * math/s_ctanhf.c: Likewise.
15725 * math/s_ctanhl.c: Likewise.
15726 * math/s_ctanl.c: Likewise.
15727 * math/s_ldexp.c: Likewise.
15728 * math/s_ldexpf.c: Likewise.
15729 * math/s_ldexpl.c: Likewise.
15730 * math/s_significand.c: Likewise.
15731 * math/s_significandf.c: Likewise.
15732 * math/s_significandl.c: Likewise.
15733 * math/w_acos.c: Likewise.
15734 * math/w_acosf.c: Likewise.
15735 * math/w_acosh.c: Likewise.
15736 * math/w_acoshf.c: Likewise.
15737 * math/w_acoshl.c: Likewise.
15738 * math/w_acosl.c: Likewise.
15739 * math/w_asin.c: Likewise.
15740 * math/w_asinf.c: Likewise.
15741 * math/w_asinl.c: Likewise.
15742 * math/w_atan2.c: Likewise.
15743 * math/w_atan2f.c: Likewise.
15744 * math/w_atan2l.c: Likewise.
15745 * math/w_atanh.c: Likewise.
15746 * math/w_atanhf.c: Likewise.
15747 * math/w_atanhl.c: Likewise.
15748 * math/w_cosh.c: Likewise.
15749 * math/w_coshf.c: Likewise.
15750 * math/w_coshl.c: Likewise.
15751 * math/w_dremf.c: Likewise.
15752 * math/w_exp10.c: Likewise.
15753 * math/w_exp10f.c: Likewise.
15754 * math/w_exp10l.c: Likewise.
15755 * math/w_exp2.c: Likewise.
15756 * math/w_exp2f.c: Likewise.
15757 * math/w_fmod.c: Likewise.
15758 * math/w_fmodf.c: Likewise.
15759 * math/w_fmodl.c: Likewise.
15760 * math/w_hypot.c: Likewise.
15761 * math/w_hypotf.c: Likewise.
15762 * math/w_hypotl.c: Likewise.
15763 * math/w_j0.c: Likewise.
15764 * math/w_j0f.c: Likewise.
15765 * math/w_j0l.c: Likewise.
15766 * math/w_j1.c: Likewise.
15767 * math/w_j1f.c: Likewise.
15768 * math/w_j1l.c: Likewise.
15769 * math/w_jn.c: Likewise.
15770 * math/w_jnf.c: Likewise.
15771 * math/w_jnl.c: Likewise.
15772 * math/w_lgamma.c: Likewise.
15773 * math/w_lgamma_r.c: Likewise.
15774 * math/w_lgammaf.c: Likewise.
15775 * math/w_lgammaf_r.c: Likewise.
15776 * math/w_lgammal.c: Likewise.
15777 * math/w_lgammal_r.c: Likewise.
15778 * math/w_log.c: Likewise.
15779 * math/w_log10.c: Likewise.
15780 * math/w_log10f.c: Likewise.
15781 * math/w_log10l.c: Likewise.
15782 * math/w_log2.c: Likewise.
15783 * math/w_log2f.c: Likewise.
15784 * math/w_log2l.c: Likewise.
15785 * math/w_logf.c: Likewise.
15786 * math/w_logl.c: Likewise.
15787 * math/w_pow.c: Likewise.
15788 * math/w_powf.c: Likewise.
15789 * math/w_powl.c: Likewise.
15790 * math/w_remainder.c: Likewise.
15791 * math/w_remainderf.c: Likewise.
15792 * math/w_remainderl.c: Likewise.
15793 * math/w_scalb.c: Likewise.
15794 * math/w_scalbf.c: Likewise.
15795 * math/w_scalbl.c: Likewise.
15796 * math/w_sinh.c: Likewise.
15797 * math/w_sinhf.c: Likewise.
15798 * math/w_sinhl.c: Likewise.
15799 * math/w_sqrt.c: Likewise.
15800 * math/w_sqrtf.c: Likewise.
15801 * math/w_sqrtl.c: Likewise.
15802 * math/w_tgamma.c: Likewise.
15803 * math/w_tgammaf.c: Likewise.
15804 * math/w_tgammal.c: Likewise.
15805
6a621eb7
UD
15806 * po/ja.po: Update from translation team.
15807
bf582445
AJ
158082011-09-29 Andreas Jaeger <aj@suse.de>
15809
f9efbf3a
AJ
15810 [BZ #13179]
15811 * sunrpc/netname.c (netname2host): Fix logic.
15812
bf582445
AJ
15813 [BZ #6779]
15814 [BZ #6783]
15815 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15816 correctly.
15817 * math/w_remainder.c (__remainder): Likewise.
15818 * math/w_remainderf.c (__remainderf): Likewise.
15819 * math/libm-test.inc (remainder_test): Add test cases.
15820
48693bea
AK
158212011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15822
15823 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15824 sdiv_qrnnd.
15825
42622229
LD
158262011-10-07 Ulrich Drepper <drepper@gmail.com>
15827
15828 * string/test-memcmp.c: Avoid unncessary #defines.
15829 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15830
093ecf92
LD
158312011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15832
15833 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15834 Use new sse2 version for core i3 - i7 as it's faster
15835 than sse42 version.
15836 (bit_Prefer_PMINUB_for_stringop): New.
15837 * sysdeps/x86_64/rawmemchr.S: Update.
15838 Replace with faster SSE2 version.
15839 * sysdeps/x86_64/memrchr.S: New file.
15840 * sysdeps/x86_64/memchr.S: Update.
15841 Replace with faster SSE2 version.
15842
fde56e5c
MP
158432011-09-12 Marek Polacek <mpolacek@redhat.com>
15844
15845 * elf/dl-load.c (lose): Add cast to avoid warning.
15846
21fd49a9
UD
158472011-10-07 Ulrich Drepper <drepper@gmail.com>
15848
5a06e643
UD
15849 * po/ca.po: Update from translation team.
15850
684ae515
UD
15851 * inet/getnetgrent_r.c: Hook up nscd.
15852 * nscd/Makefile (routines): Add nscd_netgroup.
15853 (nscd-modules): Add netgroupcache.
15854 (CFLAGS-netgroupcache.c): Define.
15855 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15856 (cache_search): Add const to second parameter.
15857 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15858 INNETGR.
15859 (dbs): Add netgrdb entry.
15860 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15861 (verify_persistent_db): Handle netgrdb.
15862 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15863 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15864 GETFDNETGR.
15865 (netgroup_response_header): Define.
15866 (innetgroup_response_header): Define.
15867 (datahead): Add netgroup_response_header and innetgroup_response_header
15868 elements.
15869 * nscd/nscd.conf: Add entries for netgroup cache.
15870 * nscd/nscd.h (dbtype): Add netgrdb.
15871 (_PATH_NSCD_NETGROUP_DB): Define.
15872 (netgroup_iov_disabled): Declare.
15873 (xmalloc, xcalloc, xrealloc): Move declarations here.
15874 (cache_search): Adjust prototype.
15875 Add netgroup-related prototypes.
15876 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15877 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15878 (__nscd_innetgr): Declare.
15879 * nscd/selinux.c (perms): Use access_vector_t as element type and
15880 add netgroup-related initializers.
15881 * nscd/netgroupcache.c: New file.
15882 * nscd/nscd_netgroup.c: New file.
15883 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15884 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15885 For four parameters use innetgr.
15886 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15887 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15888 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15889 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15890
21fd49a9
UD
15891 * nscd/connections.c (register_traced_file): Don't register file
15892 for disabled databases.
15893
054c0457
UD
158942011-10-06 Ulrich Drepper <drepper@gmail.com>
15895
32b63198
UD
15896 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15897
054c0457
UD
15898 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15899 from tree and freeing node.
15900
64031225
JO
159012011-09-25 Jiri Olsa <jolsa@redhat.com>
15902
15903 * nss/nsswitch.c (__nss_database_lookup): Handle
15904 nss_parse_service_list out of memory case.
15905
0490345c
JO
159062011-09-15 Jiri Olsa <jolsa@redhat.com>
15907
15908 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15909 out of memory case.
15910
3a62d00d
AS
159112011-10-04 Andreas Schwab <schwab@redhat.com>
15912
15913 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15914 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15915 pass it down.
15916 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15917 elf_machine_rela, elf_machine_lazy_rel.
15918 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15919 (ELF_DYNAMIC_DO_REL): Likewise.
15920 (ELF_DYNAMIC_DO_RELA): Likewise.
15921 (ELF_DYNAMIC_RELOCATE): Likewise.
15922 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15923 to ELF_DYNAMIC_DO_REL.
15924 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15925 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15926 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15927 elf_machine_rela.
15928 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15929 skip_ifunc, don't call ifunc function if non-zero.
15930 (elf_machine_rela): Likewise.
15931 (elf_machine_lazy_rel): Likewise.
15932 (elf_machine_lazy_rela): Likewise.
15933 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15934 (elf_machine_lazy_rel): Likewise.
15935 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15936 Likewise.
15937 (elf_machine_lazy_rel): Likewise.
15938 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15939 Likewise.
15940 (elf_machine_lazy_rel): Likewise.
15941 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15942 (elf_machine_lazy_rel): Likewise.
15943 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15944 (elf_machine_lazy_rel): Likewise.
15945 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15946 (elf_machine_lazy_rel): Likewise.
15947 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15948 (elf_machine_lazy_rel): Likewise.
15949 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15950 (elf_machine_lazy_rel): Likewise.
15951 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15952 (elf_machine_lazy_rel): Likewise.
15953
68577918
UD
159542011-09-28 Ulrich Drepper <drepper@gmail.com>
15955
15956 * nss/nss_files/files-init.c (_nss_files_init): Use static
15957 initialization for all the *_traced_file variables.
15958
68822d74
AS
159592011-09-28 Andreas Schwab <schwab@redhat.com>
15960
15961 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15962
2056100b
RM
159632011-09-27 Roland McGrath <roland@hack.frob.com>
15964
15965 [BZ #13226]
15966 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15967
32c76b63
AS
159682011-09-27 Andreas Schwab <schwab@redhat.com>
15969
15970 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15971 Reread the line before reparsing it.
15972
bf972c9d
AS
159732011-09-26 Andreas Schwab <schwab@redhat.com>
15974
15975 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15976
e057a1b5
JM
159772011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15978 Maxim Kuvyrkov <maxim@codesourcery.com>
15979 Joseph Myers <joseph@codesourcery.com>
15980
15981 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15982 if needed for __stack_chk_guard.
15983
bc7e1c36
RM
159842011-09-19 Roland McGrath <roland@hack.frob.com>
15985
ecb1482f
RM
15986 * sysdeps/posix/spawni.c (script_execute): Always define it.
15987 It will be optimized away if unused.
15988 (maybe_script_execute): New function.
15989 (__spawni): Call it.
15990
bc7e1c36
RM
15991 * Makerules: Don't include tls.make.
15992 (config-tls): Always set to thread.
15993 * tls.make.c: File removed.
15994
1c3b002b
MF
159952011-09-19 Mike Frysinger <vapier@gentoo.org>
15996
15997 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15998 * config.make.in (CPPFLAGS-config): New substituted variable.
15999
2840865d
UD
160002011-09-15 Ulrich Drepper <drepper@gmail.com>
16001
88738eb6
UD
16002 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16003
cbf645a6 16004 [BZ #13192]
2840865d
UD
16005 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16006 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16007
b402e91a
RM
160082011-09-15 Roland McGrath <roland@hack.frob.com>
16009
16010 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16011 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16012 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16013 (CALL_FAIL): Likewise.
16014 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16015 (CALL_FAIL): Macro removed.
16016 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16017
4c1a1f71
UD
160182011-09-15 Ulrich Drepper <drepper@gmail.com>
16019
16020 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16021 for __FINITE_MATH_ONLY__ == 1.
16022
edc121be
AS
160232011-09-15 Andreas Schwab <schwab@redhat.com>
16024
16025 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16026 __ieee754_sqrt instead of sqrt.
16027 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16028 __ieee754_sqrtf instead of sqrtf.
16029 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16030 __floorf instead of floorf.
16031 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16032 __floorf, __truncf instead of floorf, truncf.
16033
cd205654
UD
160342011-09-14 Ulrich Drepper <drepper@gmail.com>
16035
ee4d0315
UD
16036 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16037
cd205654
UD
16038 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16039 __extern_always_inline.
16040 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16041 32-bit.
16042
48b67d71
AS
160432011-09-14 Andreas Schwab <schwab@redhat.com>
16044
16045 * elf/rtld.c (dl_main): Also relocate in dependency order when
16046 doing symbol dependency testing.
16047
1ae12c75
AS
160482011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16049
16050 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16051 Always define `refsym'.
16052
995a80df
AS
160532011-09-13 Andreas Schwab <schwab@redhat.com>
16054
e529793b
AS
16055 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16056 (__FD_ELT): Renamed from __FDELT.
16057 * misc/bits/select2.h (__FD_ELT): Likewise.
16058 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16059 __FD_MASK instead of __FDELT, __FDMASK.
16060 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16061 Likewise.
16062 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16063 Likewise.
16064
52d4fef8
AS
16065 * elf/Makefile (gen-ldd): Fix pattern.
16066
995a80df
AS
16067 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16068 (init_tls): Likewise.
16069
8682f8b0
UD
160702011-09-12 Ulrich Drepper <drepper@gmail.com>
16071
16072 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16073
de82006d
AS
160742011-09-12 Andreas Schwab <schwab@redhat.com>
16075
a7c8e6a1
AS
16076 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16077 `struct cmsghdr *' instead of `void *'.
16078 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16079 Likewise.
16080
0f31fe77
AS
160812011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16082
16083 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16084 if non-absolute.
16085 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16086 ldd_rewrite_script.
0f31fe77 16087
32b4c839
UD
160882011-09-11 Ulrich Drepper <drepper@gmail.com>
16089
83cd1420
UD
16090 * configure.in: Remove --with-tls option.
16091 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16092 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16093 out in case it is missing.
16094 * sysdeps/ia64/elf/configure.in: Likewise.
16095 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16096 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16097 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16098 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16099 * sysdeps/sh/elf/configure.in: Likewise.
16100 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16101 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16102 * sysdeps/x86_64/elf/configure.in: Likewise.
16103 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16104 * sysdeps/mach/hurd/tls.h: Likewise.
16105
633f745d
UD
16106 [BZ #13067]
16107 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16108
f318beb8
UD
16109 [BZ #13090]
16110 * configure.in: Fix use of AC_INIT.
16111
32b4c839
UD
16112 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16113
3ce1f295
UD
161142011-09-10 Ulrich Drepper <drepper@gmail.com>
16115
bb016596
UD
16116 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16117 __set_errno.
8e58439c
UD
16118 * malloc/hooks.c: Likewise.
16119
aebae053 16120 [BZ #11929]
02d46fc4
UD
16121 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16122 variables statically.
16123 (narenas): Initialize.
16124 (list_lock): Initialize.
bb016596
UD
16125 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16126 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16127 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16128 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16129 Add initializers to main_arena and mp_.
16130 (malloc_state): Remove pagesize member. Change all users to use
16131 GLRO(dl_pagesize).
16132
16133 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16134 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16135 is always initialized.
16136
22a89187
UD
16137 * malloc/malloc.c: Removed unused configurations and dead code.
16138 * malloc/arena.c: Likewise.
16139 * malloc/hooks.c: Likewise.
02d46fc4 16140 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16141
d063d164
UD
16142 * include/tls.h: Removed. USE___THREAD must always be defined.
16143 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16144 * elf/dl-libc.c: Likewise.
16145 * elf/dl-tsd.c: Likewise.
16146 * include/errno.h: Likewise.
16147 * include/netdb.h: Likewise.
16148 * include/resolv.h: Likewise.
16149 * inet/herrno-loc.c: Likewise.
16150 * inet/herrno.c: Likewise.
16151 * malloc/arena.c: Likewise.
16152 * malloc/hooks.c: Likewise.
16153 * malloc/malloc.c: Likewise.
16154 * resolv/res-state.c: Likewise.
16155 * resolv/res_libc.c: Likewise.
16156 * sysdeps/i386/dl-machine.h: Likewise.
16157 * sysdeps/ia64/dl-machine.h: Likewise.
16158 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16159 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16160 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16161 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16162 * sysdeps/sh/dl-machine.h: Likewise.
16163 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16164 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16165 * sysdeps/unix/i386/sysdep.S: Likewise.
16166 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16167 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16168 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16169 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16170 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16171 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16172 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16173 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16176 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16177 * sysdeps/x86_64/dl-machine.h: Likewise.
16178 * tls.make.c: Likewise.
16179
3ce1f295
UD
16180 * configure.in: Remove --with-__thread option. Make tests for
16181 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16182 tls_model attribute fail if no support is available. Remove
16183 USE_IN_LIBIO.
16184 * Makeconfig: Adjust for dropped configure option. All features are
16185 now mandatory.
16186 * Makerules: Likewise.
16187 * Versions.def: Likewise.
16188 * argp/argp-fmtstream.c: Likewise.
16189 * argp/argp-fmtstream.h: Likewise.
16190 * argp/argp-help.c: Likewise.
16191 * assert/assert.c: Likewise.
16192 * config.h.in: Likewise.
16193 * config.make.in: Likewise.
16194 * configure: Likewise.
16195 * configure.in: Likewise.
16196 * csu/Versions: Likewise.
16197 * csu/init.c: Likewise.
16198 * elf/tst-audit2.c: Likewise.
16199 * elf/tst-tls10.c: Likewise.
16200 * elf/tst-tls10.h: Likewise.
16201 * elf/tst-tls11.c: Likewise.
16202 * elf/tst-tls12.c: Likewise.
16203 * elf/tst-tls14.c: Likewise.
16204 * elf/tst-tlsmod11.c: Likewise.
16205 * elf/tst-tlsmod12.c: Likewise.
16206 * elf/tst-tlsmod13.c: Likewise.
16207 * elf/tst-tlsmod13a.c: Likewise.
16208 * elf/tst-tlsmod14a.c: Likewise.
16209 * elf/tst-tlsmod15b.c: Likewise.
16210 * elf/tst-tlsmod16a.c: Likewise.
16211 * elf/tst-tlsmod16b.c: Likewise.
16212 * elf/tst-tlsmod7.c: Likewise.
16213 * elf/tst-tlsmod8.c: Likewise.
16214 * elf/tst-tlsmod9.c: Likewise.
16215 * gmon/gmon.c: Likewise.
16216 * grp/fgetgrent_r.c: Likewise.
16217 * grp/putgrent.c: Likewise.
16218 * hurd/fopenport.c: Likewise.
16219 * include/libc-symbols.h: Likewise.
16220 * include/tls.h: Likewise.
16221 * intl/gettextP.h: Likewise.
16222 * intl/loadinfo.h: Likewise.
16223 * locale/global-locale.c: Likewise.
16224 * locale/localeinfo.h: Likewise.
16225 * mach/devstream.c: Likewise.
16226 * malloc/arena.c: Likewise.
16227 * malloc/set-freeres.c: Likewise.
16228 * misc/err.c: Likewise.
16229 * misc/getttyent.c: Likewise.
16230 * misc/mntent_r.c: Likewise.
16231 * posix/getopt.c: Likewise.
16232 * posix/wordexp.c: Likewise.
16233 * pwd/fgetpwent_r.c: Likewise.
16234 * resolv/Versions: Likewise.
16235 * resolv/res_hconf.c: Likewise.
16236 * shadow/fgetspent_r.c: Likewise.
16237 * shadow/putspent.c: Likewise.
16238 * stdio-common/printf_fphex.c: Likewise.
16239 * stdio-common/tmpfile.c: Likewise.
16240 * stdlib/abort.c: Likewise.
16241 * stdlib/fmtmsg.c: Likewise.
16242 * sunrpc/auth_unix.c: Likewise.
16243 * sunrpc/clnt_perr.c: Likewise.
16244 * sunrpc/clnt_tcp.c: Likewise.
16245 * sunrpc/clnt_udp.c: Likewise.
16246 * sunrpc/clnt_unix.c: Likewise.
16247 * sunrpc/openchild.c: Likewise.
16248 * sunrpc/svc_simple.c: Likewise.
16249 * sunrpc/svc_tcp.c: Likewise.
16250 * sunrpc/svc_udp.c: Likewise.
16251 * sunrpc/svc_unix.c: Likewise.
16252 * sunrpc/xdr.c: Likewise.
16253 * sunrpc/xdr_array.c: Likewise.
16254 * sunrpc/xdr_rec.c: Likewise.
16255 * sunrpc/xdr_ref.c: Likewise.
16256 * sunrpc/xdr_stdio.c: Likewise.
16257
1248c1c4
PB
162582011-09-09 Ulrich Drepper <drepper@gmail.com>
16259
16260 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16261
162622011-07-03 Andreas Jaeger <aj@suse.de>
16263
16264 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16265 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16266 regenerate with gen-libm-tests.pl.
16267
162682010-05-12 Petr Baudis <pasky@suse.cz>
16269
16270 [BZ #11589]
16271 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16272 around j0() zero points by switching to j1().
16273 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16274 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16275 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16276 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16277
f22e1074
UD
162782011-09-09 Ulrich Drepper <drepper@gmail.com>
16279
f19009c1
UD
16280 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16281 instead of 0.
16282 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16283 instead of 0. .
16284 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16285 Patch in part by Pavel Roskin <proski@gnu.org>.
16286
3f8cc204
UD
16287 [BZ #13138]
16288 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16289 realloc.
16290 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16291 Free memory block if necessary.
16292
f22e1074
UD
16293 [BZ #12847]
16294 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16295 be NULL. Don't lock in this case.
16296
0a2349f9
RM
162972011-09-09 Roland McGrath <roland@hack.frob.com>
16298
16299 * elf/elf.h (ELFOSABI_GNU): New macro.
16300 (ELFOSABI_LINUX): Define to that.
16301
f3cdd467
DZ
163022011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16303
16304 * string/strncat.c (strncat): Undef the symbol in case it has been
16305 defined in bits/string.h.
16306
74718d13
UD
163072011-09-09 Ulrich Drepper <drepper@gmail.com>
16308
633e9e0f
UD
16309 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16310
0a2349f9 16311 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16312 link map.
16313
f9924780
AJ
163142011-08-17 Andreas Jaeger <aj@suse.de>
16315
16316 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16317
7f5517aa
PP
163182011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16319 Ian Lance Taylor <iant@google.com>
16320
16321 * math/libm-test.inc (lround_test): New testcase.
16322 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16323
762011fe
UD
163242011-09-08 Ulrich Drepper <drepper@gmail.com>
16325
92963737
UD
16326 * Makefile: Remove support for automatic cvs check-ins.
16327 * Makerules: Likewise.
16328 * config.make.in: Likewise.
16329 * configure.in: Likewise.
16330 * intl/Makefile: Likewise.
16331 * locale/Makefile: Likewise.
16332 * po/Makefile: Likewise.
16333 * posix/Makefile: Likewise.
16334 * sysdeps/gnu/Makefile: Likewise.
16335 * sysdeps/mach/hurd/Makefile: Likewise.
16336 * sysdeps/sparc/sparc32/Makefile: Likewise.
16337
b0727fd8
JS
16338 [BZ #13118]
16339 * posix/Makefile (bug-regex32-ENV): Define.
16340 Patch by John Stanley <jpsinthemix@verizon.net>.
16341
a0f33f99
UD
16342 * misc/Makefile (headers): Add bits/select2.h.
16343 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16344 * misc/bits/select2.h: New file.
16345 * include/bits/select2.h: New file.
16346 * debug/Makefile (routines): Add fdelt_chk.
16347 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16348 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16349 FD_ISSET.
16350 * debug/fdelt_chk.c: New file.
16351
762011fe
UD
16352 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16353 * wcsmbs/test-wmemcmp.c: Likewise.
16354 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16355 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16356
163572011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16358
16359 * string/Makefile (strop-tests): Add memcmp.
16360 * string/test-wmemcmp.c: New file.
16361 * string/test-memcmp.c: Add wmemcmp support.
16362
7f513ec8
RM
163632011-09-08 Roland McGrath <roland@hack.frob.com>
16364
0442afb4
RM
16365 [BZ #13153]
16366 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16367 2011-07-19 change.
16368
7f513ec8
RM
16369 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16370 garbage value in a __mach_port_mod_refs call in the cases of the
16371 task-self and thread-self ports.
16372
a12b2239
ST
163732011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16374
16375 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16376
610f9ab4
AS
163772011-09-08 Andreas Schwab <schwab@redhat.com>
16378
7f513ec8 16379 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16380
48882a1a
LD
163812011-09-07 Ulrich Drepper <drepper@gmail.com>
16382
b49865be
UD
16383 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16384
fdc86bc9
UD
16385 * elf/dl-libc.c (dlerror_run): Pass back error code from
16386 dl_catch_error.
16387
c966526a
UD
16388 [BZ #13123]
16389 * elf/dl-load.c (lose): Free l_origin if it is valid.
16390
48882a1a
LD
16391 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16392 names.
16393 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16394 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16395 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16396 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16397 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16398 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16399
77a2a8b4
AZ
164002011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16401
16402 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16403 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16404 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16405 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16406 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16407 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16408 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16409 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16410 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16411 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16412
24f579d8
AM
164132011-08-15 Alan Modra <amodra@gmail.com>
16414
16415 [BZ #13092]
16416 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16417 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16418 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16419 ppc_mcount to static-only-routines.
16420 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16421 __mcount_internal.
16422 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16423 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16424
3d4837df
UD
164252011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16426
16427 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16428 for finite and infinity parameters.
16429
22700377
WS
164302011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16431
16432 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16433 and add nop instructions for throughput optimization.
16434 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16435
5025581e
WS
164362011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16437
16438 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16439 aligned copy for power7 with vector-scalar instructions.
16440 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16441
08a300c9
L
164422011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16443
16444 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16445 AVX check.
16446
59178ef9
AS
164472011-09-07 Andreas Schwab <schwab@redhat.com>
16448
16449 [BZ #13144]
16450 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16451 last change.
16452
e38ba7ab
UD
164532011-09-07 Ulrich Drepper <drepper@gmail.com>
16454
16455 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16456 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16457 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16458 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16459 clock_gettime.
16460
d53a73ac
UD
164612011-09-06 Ulrich Drepper <drepper@gmail.com>
16462
fc8bffcc
UD
16463 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16464 Forgot to demangle the pointer.
16465
ceaa0c5d
UD
16466 * sysdeps/i386/sysdep.h: Define atom_text_section.
16467 * sysdeps/x86_64/sysdep.h: Likewise.
16468 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16469 section with atom_text_section.
16470 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16471 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16472 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16473 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16474 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16475
a77d3c17
UD
16476 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16477 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16478 already be defined. Change to take two parameters and don't assign
16479 result to variable. Adjust all users.
16480 Define INTERNAL_GETTIME if not already defined.
16481 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16482 call.
16483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16484 HAVE_CLOCK_GETTIME_VSYSCALL.
16485 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16486
d53a73ac
UD
16487 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16488 gettimeofday vsyscall, just use time.
16489
a8f84144
AS
164902011-09-06 Andreas Schwab <schwab@redhat.com>
16491
16492 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16493 <errno.h>.
16494
ef606249
UD
164952011-09-06 Ulrich Drepper <drepper@gmail.com>
16496
16497 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16498 syscall on x86-64.
16499 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16500 syscall.
16501 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16502 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16503 syscall if possible.
16504
6585cb60
UD
165052011-09-05 Ulrich Drepper <drepper@gmail.com>
16506
16507 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16508 e_ident. Don't pass to find_mapsXX.
16509 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16510
a5f524e4
LD
165112011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16512
16513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16514 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16515 * sysdeps/x86_64/multiarch/strchr.S: Update.
16516 Check bit_slow_BSF bit.
16517 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16518 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16519 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16520
554881ef
UD
165212011-09-05 Ulrich Drepper <drepper@gmail.com>
16522
d96de963
UD
16523 [BZ #13134]
16524 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16525 before glibc 2.15.
16526 (tryshell): Define.
16527 (__spawni): Change last parameter to be flag. Test
16528 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16529 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16530 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16531 * posix/spawni.c: Likewise.
16532 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16533 * posix/spawnp.c: Likewise. Change normal version to use
16534 SPAWN_XFLAGS_USE_PATH.
16535 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16536 SPAWN_XFLAGS_TRY_SHELL.
16537
d48e5868
UD
16538 [BZ #13150]
16539 * posix/glob.h: Remove gcc 1.x support.
16540
554881ef
UD
16541 [BZ #13068]
16542 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16543
693fb948
LD
165442011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16545
16546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16547 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16548 strrchr-sse2-bsf
16549 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16550 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16551 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16552 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16553 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16554 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16555
1b48c537
UD
165562011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16557
49d42c37
UD
16558 * sysdeps/x86_64/wcscmp.S: New file.
16559
1b48c537
UD
16560 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16561 wcscmp-c wcscmp-sse2
16562 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16563 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16564 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16565 * wcsmbs/wcscmp.c: Allow renaming.
16566
15c95c5d
DM
165672011-09-05 David S. Miller <davem@davemloft.net>
16568
16569 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16570 stack slot, rather than the struct return pointer slot.
16571 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16572 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16574 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16575
2f0ad8f3
UD
165762011-09-05 Ulrich Drepper <drepper@gmail.com>
16577
d88ae418
UD
16578 * po/ja.po: Update from translation team.
16579
2f0ad8f3
UD
16580 [BZ #13144]
16581 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16582 kernel in 64-bit binaries.
16583
5f4318d1
DM
165842011-09-01 David S. Miller <davem@davemloft.net>
16585
16586 * elf/elf.h (HWCAP_SPARC_*): Move to..
16587 * sysdeps/sparc/sysdep.h: this new file and add new values.
16588 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16589 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16590 _DL_HWCAP_COUNT to 24.
16591 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16592 entries.
16593 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16594 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16595 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16596 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16597 instead of magic constants.
16598 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16599
3ba57516
DM
166002011-08-31 David S. Miller <davem@davemloft.net>
16601
16602 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16604 Reimplement to do errno handling inline.
16605 (SYSCALL_ERROR_HANDLER): New macro.
16606 (__SYSCALL_STRING): Do not do errno handling in asm.
16607 (__CLONE_SYSCALL_STRING): Delete.
16608 (__INTERNAL_SYSCALL_STRING): Delete.
16609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16610 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16611 (PSEUDO): Reimplement to do errno handling inline.
16612 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16613 (SYSCALL_ERROR_HANDLER): New macro.
16614 (__SYSCALL_STRING): Do not do errno handling in asm.
16615 (__CLONE_SYSCALL_STRING): Delete.
16616 (__INTERNAL_SYSCALL_STRING): Delete.
16617 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16618 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16619 i386.
16620 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16621 (inline_syscall*): Add 'err' argument.
16622 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16623 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16624 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16625 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16626
16627 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16628 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16629
2bc17433
AS
166302011-08-30 Andreas Schwab <schwab@redhat.com>
16631
16632 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16633
fbeb5f4d
JO
166342011-08-29 Jiri Olsa <jolsa@redhat.com>
16635
16636 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16637 directive.
16638
ad69cc26
DM
166392011-08-24 David S. Miller <davem@davemloft.net>
16640
16641 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16642
39dd69df
AS
166432011-08-24 Andreas Schwab <schwab@redhat.com>
16644
16645 * elf/Makefile: Add rules to build and run unload8 test.
16646 * elf/unload8.c: New file.
16647 * elf/unload8mod1.c: New file.
16648 * elf/unload8mod1x.c: New file.
16649 * elf/unload8mod2.c: New file.
16650 * elf/unload8mod3.c: New file.
16651
16652 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16653 it wasn't used.
16654
2c0b250a
DM
166552011-08-23 David S. Miller <davem@davemloft.net>
16656
16657 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16658 subtract stack bias.
16659 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16660 %sp not %fp in calculations.
16661 (_JMPBUF_UNWINDS_ADJ): Likewise.
16662
22044b48
DM
16663 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16664 (aio_suspend): Call it to force an exception region around the
16665 AIO_MISC_WAIT() invocation.
16666
2cae4995
AS
166672011-08-23 Andreas Schwab <schwab@redhat.com>
16668
16669 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16670 backslash.
16671
873a772e
AJ
166722011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16673
16674 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16675 protection macro.
16676 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16677 and <dl-machine.h>.
16678 (Elf64_FuncDesc): Remove.
16679
25ad0df1
DM
166802011-08-22 David S. Miller <davem@davemloft.net>
16681
16682 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16683 sigaltstack check, add missing cfi directives.
16684 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16685 missing cfi directives, and sigaltstack handling.
16686
e888bcbe
AS
166872011-08-16 Andreas Schwab <schwab@redhat.com>
16688
16689 [BZ #11724]
16690 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16691 object is seen twice.
16692 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16693
16694 * elf/Makefile (distribute): Add tst-initorder2.c.
16695 (tests): Add tst-initorder2.
16696 (modules-names): Add tst-initorder2a tst-initorder2b
16697 tst-initorder2c tst-initorder2d. Add rules to build them.
16698 ($(objpfx)tst-initorder2.out): New rule.
16699 * elf/tst-initorder2.c: New file.
16700 * elf/tst-initorder2.exp: New file.
16701
87162f46
AS
167022011-08-22 Andreas Schwab <schwab@redhat.com>
16703
70538b7f
AS
16704 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16705
f55ffe58
AS
16706 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16707 dependencies back to end of function.
16708
87162f46
AS
16709 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16710 $(elfobjdir)/ld.so.
16711
91b392a4
UD
167122011-08-21 Ulrich Drepper <drepper@gmail.com>
16713
16714 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16715 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16716 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16717 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16718 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16719 of __vdso_gettimeofday.
16720 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16721 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16722 attribute_hidden.
16723 (_libc_vdso_platform_setup): Remove initialization of
16724 __vdso_gettimeofday and __vdso_time.
16725
5c43483f
UD
167262011-08-20 Ulrich Drepper <drepper@gmail.com>
16727
775a77e7
UD
16728 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16729 and fgetc_unlocked.
16730 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16731 getc_unlocked.
89f447ed 16732
49c74ba9
UD
16733 * elf/dl-open.c (add_to_global): Report additions to the global scope
16734 for LD_DEBUG=scopes.
16735 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16736 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16737
5c43483f
UD
16738 [BZ #13114]
16739 * stdio-common/Makefile (tests): Add bug24.
16740 * stdio-common/bug24.c: New file.
16741
a101b025
AJ
167422011-08-19 Andreas Jaeger <aj@suse.de>
16743
16744 [BZ #13114]
16745 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16746 non-existant file when using close-on-exec mode.
16747
c88f1766
UD
167482011-08-20 Ulrich Drepper <drepper@gmail.com>
16749
0276a718
UD
16750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16751 the very first instruction.
16752
c88f1766
UD
16753 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16754 the CFI state in the end.
16755 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16756 inclusion of dl-trampoline.h.
16757 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16758
51ccffa0
AS
167592011-08-19 Andreas Schwab <schwab@redhat.com>
16760
94d7165f
AS
16761 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16762 expectations for long double.
16763
51ccffa0
AS
16764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16765 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16766
fd708658 167672011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16768
16769 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16770 artificual limit depends upon the system page size.
16771
44f0a71e
UD
167722011-08-17 Ulrich Drepper <drepper@gmail.com>
16773
16774 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16775 * resolv/Makefile: Define CFLAGS-libresolv.
16776
8de79a24
AS
167772011-08-17 Andreas Schwab <schwab@redhat.com>
16778
16779 * nss/makedb.c (compute_tables): Make variables used in nested
16780 function static.
16781
27724598
UD
167822011-08-17 Ulrich Drepper <drepper@gmail.com>
16783
c5305d88
UD
16784 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16785 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16786 if buffer was too small.
16787
27724598
UD
16788 * elf/pldd.c (main): Attach to all threads in the process.
16789 Rewrite /proc handling to use *at functions.
16790
076fe015
UD
167912011-08-16 Ulrich Drepper <drepper@gmail.com>
16792
174baab3
UD
16793 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16794 specifies first scope to show.
16795 (dl_open_worker): Update callers. Move printing scope of new
16796 object to before the relocation.
44f0a71e 16797 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16798 * sysdeps/generic/ldsodefs.h: Update declaration.
16799
076fe015
UD
16800 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16801 string for the scope number.
16802
a60df2c3
UD
168032011-08-14 Ulrich Drepper <drepper@gmail.com>
16804
16805 * nscd/servicescache.c (cache_addserv): Make sure written is always
16806 initialized.
16807
5e4287d1
RM
168082011-08-14 Roland McGrath <roland@hack.frob.com>
16809
85ae0589
RM
16810 * sysdeps/i386/i486/bits/atomic.h
16811 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16812 statement expression, so as to suppress "set but not used" warning.
16813 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16814
69f63097
RM
16815 * string/strncat.c (STRNCAT): Use prototype definition.
16816
675456ef
RM
16817 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16818 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16819 -Iprograms here.
16820 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16821 (localedef-modules): Add localedef.
16822 (locale-modules): Add locale.
16823
5e4287d1
RM
16824 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16825 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16826 to avoid a warning.
16827
9c96ff23
DM
168282011-08-14 David S. Miller <davem@davemloft.net>
16829
16830 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16831 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16832
f9ddf089
UD
168332011-08-13 Ulrich Drepper <drepper@gmail.com>
16834
44f0a71e 16835 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16836 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16837 * elf/rtld.c (dl_main): Set l_name of vDSO.
16838 Call _dl_show_scope when DL_DEBUG_SCOPES.
16839 (process_dl_debug): Recognize scopes flag and also set it for all.
16840 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16841 Declare _dl_show_scope.
16842
1dc27704
UD
16843 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16844 (do_dlopen): Pass caller_dlopen to dl_open.
16845 (__libc_dlopen_mode): Initialize caller_dlopen.
16846
f9ddf089
UD
16847 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16848 of libc. Make tolower call locale-independent. Optimize a bit by
16849 using isdigit instead of isalnum.
16850 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16851
9ac533d3
UD
168522011-08-12 Ulrich Drepper <drepper@gmail.com>
16853
16854 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16855 was a dependency or dynamically loaded.
16856
89edf2e9
UD
168572011-08-11 Ulrich Drepper <drepper@gmail.com>
16858
8e999d29
UD
16859 * intl/l10nflist.c: Allow architecture-specific pop function.
16860 * sysdeps/x86_64/l10nflist.c: New file.
16861
89edf2e9
UD
16862 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16863 classification.
16864
14d96785
AS
168652011-08-10 Andreas Schwab <schwab@redhat.com>
16866
16867 * include/dirent.h: Add libc_hidden_proto for scandirat and
16868 scandirat64. Don't declare __scandirat64.
16869 * dirent/scandirat.c: Add libc_hidden_def.
16870 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16871 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16872
6761ac04
DM
168732011-08-10 David S. Miller <davem@davemloft.net>
16874
16875 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16876 enum.
16877 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16878 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16879 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16880
c55fbd1e
UD
168812011-08-09 Ulrich Drepper <drepper@gmail.com>
16882
16883 * Versions.def [libc]: Add GLIBC_2.15.
16884 * dirent/Makefile (routines): Add scandirat and scandirat64.
16885 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16886 GLIBC_2.15.
16887 * dirent/dirent.h: Declare scandirat and scandirat64.
16888 * dirent/scandirat.c: New file.
16889 * dirent/scandirat64.c: New file.
16890 * sysdeps/wordsize-64/scandirat.c: New file.
16891 * sysdeps/wordsize-64/scandirat64.c: New file.
16892 * dirent/opendir.c: Define opendirat.
16893 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16894 using scandirat.
16895 * dirent/scandir64.c: Adjust for scandir.c change.
16896 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16897 __scandirat64, and __scandir_cancel_handler.
16898 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16899 additional parameter and use openat instead of open (outside of ld.so).
16900 Add new __opendir as wrapper around __opendirat.
16901 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16902 here without requiring old scandirat implementation.
16903
879165f2
UD
169042011-08-08 Ulrich Drepper <drepper@gmail.com>
16905
16906 * dirent/scandir.c (cancel_handler): Renamed to
16907 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16908 defined. Adjust users.
16909 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16910 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16911
cb7e923b
UD
169122011-08-04 Ulrich Drepper <drepper@gmail.com>
16913
16292edd
UD
16914 * string/test-string.h (IMPL): Use __STRING to expand name and then
16915 stringify it.
16916
cb7e923b
UD
16917 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16918 of cleanups.
16919
cff82933
LD
169202011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16921
16922 * string/Makefile: Update.
16923 (strop-tests): Append strncat.
16924 * string/test-wcscmp.c: New file.
16925 New comprehensive test for wcscmp.
16926 * string/test-strcmp.c: Update.
16927 (WIDE): New define.
16928
9be9bfcc
AS
169292011-07-22 Andreas Schwab <schwab@redhat.com>
16930
16931 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16932 line.
16933
2e96f1c7
AS
169342011-07-26 Andreas Schwab <schwab@redhat.com>
16935
16936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16937 encoding to ACE if AI_IDN.
16938
85188888
JJ
169392011-08-01 Jakub Jelinek <jakub@redhat.com>
16940
16941 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16942 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16943
5fa16e9b
LD
169442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16945
16946 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16947 Fix overflow bug in strncat.
16948 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16949
16950 * string/test-strncat.c: Update.
16951 Add new tests for checking overflow bugs.
16952
169532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16954
16955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16956 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16957 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16958 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16959 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16960 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16961 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16962 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16963 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16964
16965 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16966 (USE_AS_STRCAT): Define.
16967 Add strcat and strncat support.
16968 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16969
8c1a459f
AS
169702011-07-25 Andreas Schwab <schwab@redhat.com>
16971
16972 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16973 __n bigger than INT_MAX+1.
16974 (__strncmp_g): Likewise.
16975
bba33c28
UD
169762011-07-23 Ulrich Drepper <drepper@gmail.com>
16977
798be72d
UD
16978 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16979 * libio/stido.h: Likewise.
16980
8accd4dc
UD
16981 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16982 (AF_NFC): Define.
16983 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16984 (AF_NFC): Define.
16985
cbff0d96
UD
16986 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16987 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16988 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16989 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16990 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16991
9191c04a
UD
16992 [BZ #13021]
16993 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16994 installed.
16995
bba33c28
UD
16996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16997 typo.
16998 (_dl_x86_64_save_sse): Likewise.
16999
90f139dd
UD
170002011-07-22 Ulrich Drepper <drepper@gmail.com>
17001
1aae088a
UD
17002 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17003 OSXSAVE.
17004 (_dl_x86_64_save_sse): Likewise.
17005
8e2045f5
UD
17006 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17007
90f139dd
UD
17008 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17009
1d002f25
AS
170102011-07-21 Andreas Schwab <schwab@redhat.com>
17011
17012 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17013 change.
17014 (_dl_x86_64_save_sse): Use correct AVX check.
17015
21137f89
UD
170162011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17017
17018 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17019 bug in strncpy/strncat.
17020 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17021
a65c0b7a
UD
170222011-07-21 Ulrich Drepper <drepper@gmail.com>
17023
17024 * string/tester.c (test_strcat): Add tests for different alignments
17025 of source and destination.
17026 (test_strncat): Likewise.
17027
6986b98a
UD
170282011-07-20 Ulrich Drepper <drepper@gmail.com>
17029
90bb2039
UD
17030 [BZ #12852]
17031 * posix/glob.c (glob): Check passed in values before using them in
17032 expressions to avoid some overflows.
17033 (glob_in_dir): Likewise.
17034
5644ef54
UD
17035 [BZ #13007]
17036 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17037 check for AVX enablement so that we don't crash with old kernels and
17038 new hardware.
17039 * elf/tst-audit4.c: Add same checks here.
17040 * elf/tst-audit6.c: Likewise.
17041
17042 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17043
bfc9dc9b
AS
170442011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17045
17046 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17047
702e64bb
UD
170482011-07-20 Ulrich Drepper <drepper@gmail.com>
17049
17050 * po/cs.po: Update from translation team.
17051 * po/bg.po: Likewise.
17052
295e904f
MP
170532011-07-12 Marek Polacek <mpolacek@redhat.com>
17054
17055 * misc/sys/cdefs.h: Add support for const attribute.
17056 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17057 to gnu_dev_{major,minor,makedev} functions.
17058
3ff94596
MP
170592011-07-20 Marek Polacek <mpolacek@redhat.com>
17060
17061 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17062
28b59fca
AS
170632011-07-20 Andreas Schwab <schwab@redhat.com>
17064
17065 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17066 strlen results.
17067
19df733e
AK
170682011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17069
17070 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17071 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17072 register in order to avoid conflicts with the soft frame pointer
17073 being held in r11 when necessary.
17074 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17075 (INTERNAL_VSYSCALL_NCS): Likewise.
17076
c8835729
MP
170772011-07-14 Marek Polacek <mpolacek@redhat.com>
17078
17079 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17080 * elf/dl-fini.c (_dl_fini): Adjust caller.
17081 * elf/dl-close.c (_dl_close_worker): Likewise.
17082 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17083
b902330c
MP
170842011-07-15 Marek Polacek <mpolacek@redhat.com>
17085
8991e135
MP
17086 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17087 "aux_cache->nlibs < 0".
17088
b902330c
MP
17089 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17090 in the reload-count case.
17091
99710781
LD
170922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17093
17094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17095 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17096 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17097 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17098 * sysdeps/x86_64/multiarch/strcat.S: New file.
17099 * sysdeps/x86_64/multiarch/strncat.S: New file.
17100 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17101 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17102 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17103 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17104 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17105 (USE_AS_STRCAT): Define.
17106 Add strcat and strncat support.
17107 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17108 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17109 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17110 * string/strncat.c: Update.
17111 (USE_AS_STRNCAT): Define.
17112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17113 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17114 and i7.
17115 * sysdeps/x86_64/multiarch/init-arch.h
17116 (bit_Prefer_PMINUB_for_stringop): New.
17117 (index_Prefer_PMINUB_for_stringop): Likewise.
17118 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17119 bit_Prefer_PMINUB_for_stringop.
17120
7dc6bd90
UD
171212011-07-19 Ulrich Drepper <drepper@gmail.com>
17122
17123 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17124 buffer64.
17125 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17126 of casting of buffer.
17127 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17128 buffer32 and buffer64.
17129 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17130 writes instead of casting of buffer.
17131 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17132 buffer32.
17133 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17134 casting of buffer.
17135
e0e72284
AS
171362011-07-19 Andreas Schwab <schwab@redhat.com>
17137
17138 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17139
feb1eb0b
UD
171402011-07-19 Ulrich Drepper <drepper@gmail.com>
17141
17142 * nscd/nscd.c (termination_handler): Don't do anything for a database
17143 if it has not yet been initialized.
17144
298711ff
UD
171452011-07-18 Ulrich Drepper <drepper@gmail.com>
17146
17147 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17148
171492011-07-15 Marek Polacek <mpolacek@redhat.com>
17150
17151 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17152
f9d68389
UD
171532011-07-18 Ulrich Drepper <drepper@gmail.com>
17154
17155 * po/nl.po: Update from translation team.
17156 * po/sv.po: Likewise.
17157
db290cf5
RM
171582011-07-16 Roland McGrath <roland@hack.frob.com>
17159
17160 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17161 now disallowed by GCC.
5c550700 17162
fd5e21c7
RM
17163 * configure.in (use-default-link): Default to yes if a test -shared
17164 link meets our qualifications.
17165 * configure: Regenerated.
17166
5c550700
RM
17167 * config.make.in (output-format): New variable.
17168 * configure.in: Check for ld --print-output-format support.
17169 * configure: Regenerated.
17170 * Makerules ($(common-objpfx)format.lds)
17171 [$(output-format) != unknown]: Just use $(output-format),
17172 instead of the linker-script munging.
17173
9fa2c032
RM
171742011-07-14 Roland McGrath <roland@hack.frob.com>
17175
a6928d51
RM
17176 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17177 of $(common-objpfx)shlib.lds.
17178 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17179
661607b3
RM
17180 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17181 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17182
9fa2c032
RM
17183 * configure.in (-z relro check): Adjust test code to add a large
17184 writable data section after it.
17185 * configure: Regenerated.
17186
defe9061
RM
171872011-07-11 Roland McGrath <roland@hack.frob.com>
17188
17189 * configure.in (-z relro check): Fix test code to make the variable
17190 truly const.
17191 * configure: Regenerated.
17192
319b9ad4
UD
171932011-07-11 Ulrich Drepper <drepper@gmail.com>
17194
17195 * nscd/nscd.h (struct traced_file): Define.
17196 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17197 elements. Add traced_files.
17198 (inotify_fd): Declare.
17199 (register_traced_file): Declare.
17200 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17201 (inotify_fd): Export.
17202 (resolv_conf_descr): Remove.
17203 (nscd_init): Move inotify descriptor creation to main.
17204 Don't register files for notification here.
17205 (register_traced_file): New function.
17206 (invalidate_cache): Don't use reset_res to determine whether to call
17207 res_init, go through the list of registered files.
17208 (main_loop_poll): The inotify descriptors are now stored in the
17209 structures for the traced files.
17210 (main_loop_epoll): Likewise
17211 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17212 to __nss_disable_nscd.
17213 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17214 for a database anymore. Check the records for all the registered
17215 files instead.
17216 * nss/Makefile (libnss_files-routines): Add files-init.
17217 (libnss_db-routines): Add db-init.
17218 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17219 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17220 * nss/nss_db/db-init.c: New file.
17221 * nss/nss_files/files-init.c: New file.
17222 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17223 __nss_lookup_function.
17224 (__nss_lookup_function): Call nss_load_library.
17225 (nss_load_all_libraries): New function.
17226 (__nss_disable_nscd): Take parameter with callback function for files
17227 to register. Set is_nscd. Load all the DSOs for the NSS modules
17228 used for the cached services.
17229 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17230 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17231 options for features to all the files in nscd.
17232
17233 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17234
23bee3e8
RM
172352011-07-10 Roland McGrath <roland@hack.frob.com>
17236
17237 * csu/elf-init.c (__libc_csu_init): Comment typo.
17238
46a5b7f0
UD
172392011-07-09 Ulrich Drepper <drepper@gmail.com>
17240
17241 * po/pl.po: Update from translation team.
17242 * po/ja.po: Likewise.
17243 * po/ru.po: Likewise.
17244 * po/ko.po: Likewise.
17245 * po/fr.po: Likewise.
17246
d30cf5bb
RM
172472011-07-09 Roland McGrath <roland@hack.frob.com>
17248
113ddea4
RM
17249 * configure.in (.ctors/.dtors header and trailer check):
17250 Use an empirical test on a built program.
17251 * configure: Regenerated.
17252
574920b4
RM
17253 * configure.in (-z relro check): Use an empirical test on a built DSO.
17254 Detect, but do not require, on ia64.
17255 * configure: Regenerated.
17256
d30cf5bb
RM
17257 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17258 Update tests that use readelf to use $READELF instead.
17259 * configure: Regenerated.
17260
8538fdb3
UD
172612011-07-08 Ulrich Drepper <drepper@gmail.com>
17262
17263 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17264 if the result is not used.
17265
04d08991
AJ
172662011-07-05 Andreas Jaeger <aj@suse.de>
17267
17268 [BZ#9696]
17269 * stdlib/tst-strtod.c: Add testcase.
17270
de283087
AD
172712011-07-07 Ulrich Drepper <drepper@gmail.com>
17272
4e5f31c8 17273 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17274 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17275 The latter has a higher limit. Take additional parameter to pass to
17276 the new function.
17277 (__pathconf): Pass file to __statfs_link_max.
17278 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17279 __statfs_link_max.
17280 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17281 __statfs_link_max.
17282
de283087
AD
17283 [BZ #12868]
17284 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17285 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17286 Handle Lustre.
17287 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17288 (__statfs_filesize_max): Likewise.
17289 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17290
c75fa153
AJ
172912011-07-05 Andreas Jaeger <aj@suse.de>
17292
17293 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17294
1a544854
UD
172952011-07-06 Marek Polacek <mpolacek@redhat.com>
17296
17297 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17298 `status' variable.
17299 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17300 Likewise.
17301
6f0eec67
UD
173022011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17303
17304 * Makefile (strop-tests): Add strncat.
17305 * string/test-strncat.c: New file.
17306
aae30307
UD
173072011-06-30 Marek Polacek <mpolacek@redhat.com>
17308
17309 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17310
c0cfb5eb
UD
173112011-06-21 Andreas Jaeger <aj@suse.de>
17312
17313 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17314 Copy rule from iconvdata/Makefile.
17315
01636b21
UD
173162011-07-06 Ulrich Drepper <drepper@gmail.com>
17317
17318 [BZ #12922]
17319 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17320 but no long options are defined, just return 'W'.
17321
9895c8bc
UD
173222011-06-22 Marek Polacek <mpolacek@redhat.com>
17323
17324 [BZ #9696]
17325 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17326
5d4cf042
UD
173272011-07-06 Ulrich Drepper <drepper@gmail.com>
17328
17329 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17330 netgroups to read.
960e5535 17331 (innetgr): Likewise.
5d4cf042 17332
751eb97e
RM
173332011-07-05 Roland McGrath <roland@hack.frob.com>
17334
17335 * config.make.in (install_root): Default to $(DESTDIR).
17336
f15f1e45
UD
173372011-07-05 Ulrich Drepper <drepper@gmail.com>
17338
17339 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17340
4e34ac6a
RM
173412011-07-02 Roland McGrath <roland@hack.frob.com>
17342
5e9b6af4
RM
17343 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17344
84f9ea0f
RM
17345 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17346 containing directory rather than embedding absolute directory names.
17347
ea5ee9f7
RM
17348 * scripts/check-local-headers.sh: Rewritten using awk.
17349 Match by word, not by line. Print error messages for matches.
17350 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17351
1b74661a
RM
17352 * Makerules [shlib-lds-flags empty]:
17353 ($(common-objpfx)libc_pic.opts): New target.
17354 ($(common-objpfx)libc_pic.os.clean): New target.
17355 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17356
17357 * config.make.in (OBJCOPY): New variable.
17358 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17359 * configure: Regenerated.
17360
f781ef40
RM
17361 * config.make.in (use-default-link): New variable.
17362 * configure.in (use_default_link): Grok --with-default-link to set it.
17363 * configure: Regenerated.
17364 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17365 (shlib-lds, shlib-lds-flags): Define to empty.
17366
2d4fa81e
RM
17367 * Makerules (shlib-lds): New variable.
17368 (shlib-lds-flags): New variable.
17369 (build-shlib, build-moduile, build-module-asneeded): Use it.
17370 ($(common-objpfx)libc.so): Use $(shlib-lds).
17371 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17372 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17373
31fffa6b
RM
17374 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17375 DT_FLAGS/DT_FLAGS_1 with zero flags.
17376
4e34ac6a
RM
17377 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17378 linker script munging.
17379
fcfc776b
UD
173802011-07-02 Ulrich Drepper <drepper@gmail.com>
17381
17382 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17383 as 128-bit value.
17384 * crypt/sha512.c (sha512_process_block): Perform total addition using
17385 128-bit if possible.
17386 (__sha512_finish_ctx): Likewise.
17387 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17388 as 64-bit value.
17389 * crypt/sha256.c (SWAP64): Define.
17390 (sha256_process_block): Perform total addition using 64-bit if
17391 possible.
17392 (__sha256_finish_ctx): Likewise.
17393
99231d9a
UD
173942011-07-01 Ulrich Drepper <drepper@gmail.com>
17395
17396 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17397 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17398 * nscd/hstcache.c (cache_addhst): Likewise.
17399 * nscd/grpcache.c (cache_addgr): Likewise.
17400 * nscd/aicache.c (addhstaiX): Likewise
17401 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17402
445b4a53
TK
174032011-07-01 Thorsten Kukuk <kukuk@suse.de>
17404
17405 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17406 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17407 * nscd/hstcache.c (cache_addhst): Likewise.
17408 * nscd/grpcache.c (cache_addgr): Likewise.
17409 * nscd/aicache.c (addhstaiX): Likewise
17410
6d4d8e8e
AS
174112011-07-01 Andreas Schwab <schwab@redhat.com>
17412
17413 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17414 domain only when needed.
17415
89f654c5
AS
174162011-06-30 Andreas Schwab <schwab@redhat.com>
17417
17418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17419 is always restored.
17420
cf3b23ff
UD
174212011-06-29 Ulrich Drepper <drepper@gmail.com>
17422
17423 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17424 are re-adding the entry.
17425 * nscd/servicescache.c (cache_addserv): Likewise.
17426
751626f9
AJ
174272011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17428
17429 * sysdeps/generic/dl-irel.h: fix protection against multiple
17430 inclusions.
17431 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17432
9113ea1f
UD
174332011-06-28 Ulrich Drepper <drepper@gmail.com>
17434
5c0b8d90
UD
17435 [BZ #12935]
17436 * malloc/memusage.sh: Fix quoting in message.
17437 * debug/xtrace.sh: Likewise.
17438
9113ea1f
UD
17439 * configure.in: Remove support for --experimental-malloc option, make
17440 it the default.
17441 * config.make.in: Likewise.
17442 * malloc/Makefile: Likewise.
17443
a4172181
AS
174442011-06-27 Andreas Schwab <schwab@redhat.com>
17445
17446 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17447 two-byte characters.
17448
78a7eee7
RM
174492011-06-27 Roland McGrath <roland@hack.frob.com>
17450
62bede13
RM
17451 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17452 AC_CACHE_CHECK invocation.
17453 * configure: Regenerated.
17454
78a7eee7
RM
17455 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17456
5ce33a62
UD
174572011-06-27 Ulrich Drepper <drepper@gmail.com>
17458
034807a9
UD
17459 [BZ #12350]
17460 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17461 bit from old_res_options.
17462
4902da17
UD
17463 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17464
5ce33a62
UD
17465 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17466 value type for setfct.
17467
c2344f56
L
174682011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17469
17470 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17471 __gettimeofday instead of gettimeofday.
17472
68468076
UD
174732011-06-26 Ulrich Drepper <drepper@gmail.com>
17474
17475 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17476
acb0d739
L
174772011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17478
17479 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17480
17481 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17482 info.
17483
8912479f
L
174842011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17485
17486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17487 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17488 strcpy-sse2-unaligned strncpy-sse2-unaligned
17489 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17490 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17491 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17492 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17493 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17495 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17496 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17497 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17498 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17499 (STRCPY): Support SSE2 and SSSE3 versions.
17500
d5495a11
UD
175012011-06-24 Ulrich Drepper <drepper@gmail.com>
17502
17503 [BZ #12874]
17504 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17505 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17506 kernels which artificially limit size of requests.
17507
0b1cbaae
L
175082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17509
17510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17511 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17512 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17513 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17514 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17515 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17516 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17517 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17518 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17519 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17520 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17521 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17522 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17523 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17524 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17526 Enable unaligned load optimization for Intel Core i3, i5 and i7
17527 processors.
17528 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17529 Define.
17530 (index_Fast_Unaligned_Load): Define.
17531 (HAS_FAST_UNALIGNED_LOAD): Define.
17532
07f494a0
MP
175332011-06-23 Marek Polacek <mpolacek@redhat.com>
17534
17535 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17536
fa3fc0fe
UD
175372011-06-22 Ulrich Drepper <drepper@gmail.com>
17538
17539 [BZ #12907]
17540 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17541 until it is clear that the information is realy needed.
17542 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17543
e12df166
AS
175442011-06-22 Andreas Schwab <schwab@redhat.com>
17545
17546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17547
852eb34d
UD
175482011-06-22 Ulrich Drepper <drepper@gmail.com>
17549
84e2a551
UD
17550 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17551 /sys/devices/system/cpu/online if it is usable.
17552
852eb34d
UD
17553 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17554 reading the information from the /proc filesystem to once a second.
17555
6e502e19
UD
175562011-06-21 Andreas Jaeger <aj@suse.de>
17557
17558 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17559 NULL after inclusion of kernel headers.
17560
75d39ff2
UD
175612011-06-21 Ulrich Drepper <drepper@gmail.com>
17562
51f9aa6a
UD
17563 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17564 calls to internal_setent.
17565
c0244a9d
UD
17566 [BZ #12885]
17567 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17568 addresses using gethostbyname4_r ignore IPv4 addresses.
17569
c5e3c2ae
UD
17570 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17571 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17572
75d39ff2
UD
17573 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17574
42675c6f
DM
175752011-06-20 David S. Miller <davem@davemloft.net>
17576
17577 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17578 inclusions.
17579 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17580
17581 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17582 (elf_irel): Use it.
17583 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17584 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17585 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17586 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17587 * sysdeps/x86_64/dl-irel.h: Likewise.
17588
17589 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17590 * elf/dl-sym.c: Likewise.
17591
57912a71
UD
175922011-06-15 Ulrich Drepper <drepper@gmail.com>
17593
17594 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17595 need to dereference resplen2.
17596
ee22793d
AS
175972011-06-14 Andreas Schwab <schwab@redhat.com>
17598
17599 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17600
a9e836b0
UD
176012011-06-15 Ulrich Drepper <drepper@gmail.com>
17602
77fb9117
UD
17603 * Makeconfig: Define vardbdir and inst_vardbdir.
17604 * nss/Makefile: Add rules to install db-Makefile.
17605
40c1b22c
UD
17606 * nss/nss_db/db-XXX.c: Cleanup.
17607
9f2da732
UD
17608 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17609 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17610 GLIBC_PRIVATE.
17611 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17612 * nss/makedb.c: Implement -g option to specify that value strings
17613 are generated and should not be added to table iterated over for
17614 get*ent calls.
17615 * nss/nss_db/db-initgroups.c: New file.
17616
82e9a1f7
UD
17617 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17618 interface.
17619
c41af17e
UD
17620 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17621 (internal_getgrouplist): Adjust to name change.
17622 Update use_initgroups_entry if this is not the first call.
17623 * nss/databases.def: Add initgroups entry.
17624
a9e836b0
UD
17625 * nss/makedb.c (compute_tables): Check result of multiple hash table
17626 sizes to minimize maximum chain length.
17627
2666d441
UD
176282011-06-14 Ulrich Drepper <drepper@gmail.com>
17629
17630 * Versions.def: Add entry for libnss_db.
17631 * shlib-versions: Likewise.
17632 * nss/Makefile: Add rules to build libnss_db.
17633 * nss/Versions: Add libnss_db information. Organize libnss_files
17634 entries better.
17635 * nss/db-Makefile: Add gshadow support. Change rules for the new
17636 makedb progra. Some minor improvements to generate smaller files.
17637 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17638 here from...
17639 * nss/makedb.c: ...here.
17640 Improve database format to be smaller and require less memory at
17641 runtime.
17642 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17643 db anymore.
17644 * nss/nss_db/db-netgrp.c: Likewise.
17645 * nss/nss_db/db-open.c: Likewise.
17646 * nss/nss_files/flies-XXX.x: Adjust comments.
17647 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17648 * nss/nss_files/files-grp.c: Likewise.
17649 * nss/nss_files/files-hosts.c: Likewise.
17650 * nss/nss_files/files-network.c: Likewise.
17651 * nss/nss_files/files-proto.c: Likewise.
17652 * nss/nss_files/files-pwd.c: Likewise.
17653 * nss/nss_files/files-rpc.c: Likewise.
17654 * nss/nss_files/files-service.c: Likewise.
17655 * nss/nss_files/files-sgrp.c: Likewise.
17656 * nss/nss_files/files-spwd.c: Likewise.
17657 * nss/nss_db/db-alias.c: Removed.
17658 * nss/nss_db/dummy-db.h: Removed.
17659
9ee76b5a
UD
176602011-06-02 Ulrich Drepper <drepper@gmail.com>
17661
17662 * nss/makedb.c: Rewritten to not use database library.
17663 * nss/Makefile: Update to build new makedb program.
17664
c71ca1f8
AJ
176652011-06-14 Andreas Jaeger <aj@suse.de>
17666
17667 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17668 memset declaration.
17669
3154bfb8
UD
176702011-06-10 Andreas Schwab <schwab@redhat.com>
17671
17672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17673 tmpbuf.
17674
b350afab
RM
176752011-06-10 Roland McGrath <roland@hack.frob.com>
17676
decd4e50
RM
17677 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17678 * elf/Makefile ($(objpfx)ld.so): Likewise.
17679
5615eaf2
RM
17680 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17681 Don't list ld.so twice in dependencies.
17682
17683 * posix/bug-regex31.c: Include <stdlib.h>.
17684
17685 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17686
17687 * nis/nss_compat/compat-spwd.c
17688 (getspent_next_nss_netgr): Remove unused variable.
17689 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17690
17691 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17692 nonmembers" output to use the right array.
17693
17694 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17695
17696 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17697
17698 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17699 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17700 * catgets/gencat.c (read_input_file): Likewise.
17701 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17702
17703 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17704 variable definition inside #if's controlling its use.
17705
17706 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17707
17708 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17709
17710 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17711
17712 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17713 unreachable code.
17714
17715 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17716
b68e08db
RM
17717 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17718 * configure: Regenerated.
17719
b350afab
RM
17720 * Makerules: Revert last change.
17721 * elf/Makefile: Likewise.
17722
28368601
RM
177232011-06-09 Roland McGrath <roland@hack.frob.com>
17724
17725 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17726 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17727 (reloc-link): Likewise.
17728
11988f8f
UD
177292011-06-09 Ulrich Drepper <drepper@gmail.com>
17730
17731 * elf/Makefile: Add rules to build pldd.
17732 * elf/pldd.c: New file.
17733 * elf/pldd-xx.c: New file.
17734
e80fab37
UD
177352011-06-07 Ulrich Drepper <drepper@gmail.com>
17736
17737 * version.h: Update for 2.15 development version.
17738
9b849836
DM
177392011-06-07 David S. Miller <davem@davemloft.net>
17740
17741 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17742 ifuncs.
17743 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17744 elf_machine_lazy_rel): Likewise.
17745 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17746 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17747 elf_machine_lazy_rel): Likewise.
17748 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17749 dl_hwcap via passed in argument.
17750 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17751 Likewise.
17752
5a31b283
AK
177532011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17754
17755 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17756
069e52f8
RM
177572011-06-06 Roland McGrath <roland@hack.frob.com>
17758
17759 [BZ #12849]
17760 * manual/fdl-1.1.texi: New file, verbatim from:
17761 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17762 * manual/lgpl-2.1.texi: New file, verbatim from:
17763 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17764 * manual/Makefile (licenses): New variable, list those new file names.
17765 (texis): Use it.
17766 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17767
17768 * manual/fdl.texi: File removed.
17769 * manual/lesser.texi: File removed.
17770 * manual/libc.texinfo (Copying, Documentation License):
17771 Use new @include file names, put @appendix directive before @include.
17772
f16846a5
JJ
177732011-06-04 Jakub Jelinek <jakub@redhat.com>
17774
17775 [BZ #12841]
17776 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17777 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17778 (mq_open): Add __NTH.
17779
3d29045b
L
177802011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17781
17782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17783 Assume Intel Core i3/i5/i7 processor if AVX is available.
17784
8c297311
UD
177852011-05-31 Ulrich Drepper <drepper@gmail.com>
17786
17787 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17788 typo.
17789
c8fc0c91
UD
177902011-05-31 Andreas Schwab <schwab@redhat.com>
17791
17792 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17793 memory. Use alloca_account. Fix memory leak when retrying.
17794
5b27a807
UD
177952011-05-31 Ulrich Drepper <drepper@gmail.com>
17796
356f8bc6
UD
17797 * version.h (RELEASE): Bump for 2.14 release.
17798 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17799
5b27a807
UD
17800 * config.make.in (RANLIB): Remove entry.
17801
01f16ab0
UD
178022011-05-30 Ulrich Drepper <drepper@gmail.com>
17803
41fce8bd
UD
17804 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17805 (libc.pot): Work around missing support for .ksh extension in xgettext.
17806
4769ae77
UD
17807 [BZ #12684]
17808 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17809 if both request failed.
17810 (send_dg): In case of server errors clear resplen or *resplen2.
17811
6b1e7d19
UD
17812 [BZ #12454]
17813 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17814 when there are multiple maps.
17815 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17816 (_dl_fini): Remove test here.
17817
01f16ab0
UD
17818 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17819
b1ebd700
UD
178202011-05-29 Ulrich Drepper <drepper@gmail.com>
17821
7ae22829
UD
17822 [BZ #12350]
17823 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17824 bit from old_res_options.
17825 (gaih_inet): Likewise.
17826
553149f6 17827 [BZ #11099]
18a84741 17828 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17829 as signed.
17830
652ffab1
UD
17831 * resolv/res_init.c (res_setoptions): Make the code more compact.
17832
16985fd0
UD
17833 [BZ #11558]
17834 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17835 set RES_USEVC.
17836
0464f746
UD
17837 [BZ #11634]
17838 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17839
7d17596c
UD
17840 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17841
cf6bbbd7
UD
17842 [BZ #11781]
17843 * malloc/malloc.h: Declare malloc hook variables as volatile.
17844
13f1ab36
UD
17845 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17846 in last patch.
17847
b1ebd700
UD
17848 [BZ #11799]
17849 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17850 raise in the comment.
80e2212d
UD
17851 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17852 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17853 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17854
ce67228d
UD
178552011-05-28 Ulrich Drepper <drepper@gmail.com>
17856
8887a920
UD
17857 [BZ #12811]
17858 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17859 grow the buffers more if it already has to be sufficient.
17860 (build_wcs_upper_buffer): Likewise.
17861 * posix/regexec.c (check_matching): Likewise.
17862 (clean_state_log_if_needed): Likewise.
17863 (extend_buffers): Don't enlarge buffers beyond size of the input
17864 buffer.
17865 Patches mostly by Emil Wojak <emil@wojak.eu>.
17866 * posix/bug-regex32.c: New file.
17867 * posix/Makefile (tests): Add bug-regex32.
17868
4f031072
UD
17869 * locale/findlocale.c (_nl_find_locale): Return right away if
17870 _nl_explode_name failed.
17871 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17872
d0478f0c
UD
17873 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17874
de81b246
UD
17875 * debug/xtrace.sh: Unify messages.
17876 * malloc/memusage.sh: Likewise.
17877
c738465a
UD
17878 [BZ #12813]
17879 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17880 time symbol from vDSO. Substitute with vsyscall if not available.
17881 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17882 __vdso_time.
17883
f1f929d7
UD
17884 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17885 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17886 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17887 Add sendmmsg and internal_sendmmsg.
17888 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17889 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17890 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17891
ce67228d
UD
17892 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17893 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17894 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17895
e57420c6
UD
178962011-05-27 Ulrich Drepper <drepper@gmail.com>
17897
a8509ca5
UD
17898 [BZ #12813]
17899 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17900 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17901 available.
17902 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17903 __vdso_getcpu.
17904
e57420c6
UD
17905 [BZ #12814]
17906 * iconvdata/Makefile (tests): Add bug-iconv9.
17907 * iconvdata/bug-iconv9.c: New file.
17908
4d07db15
AS
179092011-05-27 Andreas Schwab <schwab@redhat.com>
17910
17911 [BZ #12814]
17912 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17913
ea486f69
JJ
179142011-05-25 Jakub Jelinek <jakub@redhat.com>
17915
17916 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17917 (struct user_regs_struct): Change intcs field back to cs.
17918
6f038433
UD
179192011-05-25 Ulrich Drepper <drepper@gmail.com>
17920
17921 * po/ja.po: Update from translation team.
17922
67f86a25
UD
179232011-05-23 Ulrich Drepper <drepper@gmail.com>
17924
17925 [BZ #12795]
17926 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17927 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17928
def7fbd6
AS
179292011-05-20 Andreas Schwab <schwab@redhat.com>
17930
17931 * stdlib/longlong.h: Update from GCC.
17932
f50ef8f1
AS
179332011-05-23 Andreas Schwab <schwab@redhat.com>
17934
17935 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17936 parameter name.
17937 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17938 Add parameter name.
17939 (__sysconf): Pass it down.
17940
de7ce8f1
UD
179412011-05-22 Ulrich Drepper <drepper@gmail.com>
17942
f2962a71
UD
17943 [BZ #12671]
17944 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17945 some situations.
17946 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17947 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17948 add in in __libc_use_alloca calls. Adjust callers.
17949 (glob): Use malloc in some situations.
17950
de7ce8f1
UD
17951 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17952 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17953 pltexit.
17954
aec84f53
UD
179552011-05-21 Ulrich Drepper <drepper@gmail.com>
17956
05bb4a68
UD
17957 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17958 and CLOCK_BOOTTIME_ALARM.
17959
7ea72f99
UD
17960 [BZ #12782]
17961 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17962 is returned.
17963
7e4afad5
UD
17964 * string/_strerror.c (__strerror_r): Print negative errors as signed
17965 numbers.
17966
8e211fec
UD
17967 [BZ #12777]
17968 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17969 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17970 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17971
f7d82dc9
UD
17972 * configure.in: Fix typo in redirection and correct removal of test
17973 files in two cases.
17974
cc9e536d
UD
17975 [BZ #12788]
17976 * locale/setlocale.c (new_composite_name): Fix test to check for
17977 identical name of all categories.
17978
aec84f53
UD
17979 [BZ #12792]
17980 * libio/filedoalloc.c (local_isatty): New function.
17981 (_IO_file_doallocate): Use local_isatty.
17982 * stdio-common/perror.c (perror): In case a new stream is used
17983 forward the stream error.
17984 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17985 error flag.
17986
78e64fdc
RT
179872011-05-20 Ulrich Drepper <drepper@gmail.com>
17988
34a9094f
UD
17989 [BZ #11869]
17990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17991 alloca.
17992 * include/alloca.h (extend_alloca_account): Define.
17993
78e64fdc
RT
17994 [BZ #11857]
17995 * posix/regex.h: Fix comments with documentation of user-accessible
17996 fields after compilation and describe correct free'ing of pattern
17997 after re_compile_pattern.
17998 Patch by Reuben Thomas <rrt@sc3d.org>.
17999
457bddfc
RA
180002011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18001
18002 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18003 and -mno-altivec to prevent the compiler from using Altivec and/or
18004 VSX instructions when the corresponding registers are not available.
18005
a4527b51
AS
180062011-05-19 Andreas Schwab <schwab@redhat.com>
18007
18008 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18009
ed690b2f
UD
180102011-05-19 Ulrich Drepper <drepper@gmail.com>
18011
18012 * libio/freopen.c (freopen): Use __dup2, not dup2.
18013 * libio/freopen64.c (freopen64): Likewise.
18014
8db73634
L
180152011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18016
18017 [BZ #12775]
18018 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18019 * math/Makefile (tests): Add test-powl.
18020 (CFLAGS-test-powl.c): Define.
18021 * math/test-powl.c: New file.
18022
0a197a9d
L
180232011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18024
18025 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18026
ee30c380
UD
180272011-05-17 Ulrich Drepper <drepper@gmail.com>
18028
18029 [BZ #11837]
18030 * iconvdata/gb18030.c: Update to GB18020-2005.
18031
6ce75379
UD
180322011-05-16 Ulrich Drepper <drepper@gmail.com>
18033
a4b89fd8
AR
18034 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18035 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18036 Patch by Aharon Robbins <arnold@skeeve.com>.
18037
ea389b12
UD
18038 [BZ #11892]
18039 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18040 on the stack.
18041
68a3f91f
UD
18042 [BZ #11895]
18043 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18044 through underflows.
18045
15cc7dd1
UD
18046 [BZ #12766]
18047 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18048 point to strings before performing equality test for error_one_per_line
18049 mode.
18050
f3799213
UD
18051 [BZ #11697]
18052 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18053
d79a9c94
UD
18054 [BZ #11820]
18055 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18056 (struct user_fpregs_struct): Avoid __uint*_t types.
18057
56e5eb46
UD
18058 [BZ #6420]
18059 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18060 symbol info. Use it instead of calling _dl_addr locally.
18061 (lock_and_info): New function.
18062 (tr_freehook): Call lock_and_info and pass symbol info as additional
18063 parameter to tr_where.
18064 (tr_mallochook): Likewise.
18065 (tr_reallochook): Likewise.
18066 (tr_memalignhook): Likewise.
18067
6ce75379
UD
18068 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18069 used and couldn't be at all thread-safe.
18070
f8a3b5bf
UD
180712011-05-15 Ulrich Drepper <drepper@gmail.com>
18072
94b7cc37
UD
18073 * libio/freopen.c (freopen): Don't close old file descriptor
18074 before the new one is opened. Instead dup the new file descriptor
18075 to the old one after the new stream is created.
18076 * libio/freopen64.c (freopen64): Likewise.
18077 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18078 * libio/fileops.c (_IO_new_file_close_it): Handle new
18079 _IO_FLAGS2_NOCLOSE flag.
18080 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18081 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18082 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18083 _IO_FLAGS2_NOCLOSE flag.
18084 * include/unistd.h: Add hidden_proto for dup3.
18085 Define __have_dup3.
18086 * io/dup3.c: Define hidden symbol.
18087 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18088
bd25564e
UD
18089 [BZ #7101]
18090 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18091 when an incomplete long option is used.
18092 * posix/tst-getopt_long1.c: New file.
18093 * posix/Makefile (tests): Add tst-getopt_long1.
18094
c84cfef4
UD
18095 [BZ #10138]
18096 * scripts/config.guess: Update from autoconf-2.68.
18097 * scripts/config.sub: Likewise.
18098
3b85df27
UD
18099 [BZ #10157]
18100 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18101 tests into ...
18102 (has_cpuclock): ...this. New function.
18103 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18104 macro here based on has_cpuclock code.
18105
15a856b1
UD
18106 [BZ #10149]
18107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18108 First byte (not low byte) is now always NUL.
18109 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18110
05f399e6
UD
18111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18112 Use non-cancelable interfaces.
18113
10a52685 18114 [BZ #9809]
94ecc67d
UD
18115 * locale/iso-639.def: Add entry for Sorani.
18116
f8a3b5bf
UD
18117 [BZ #11901]
18118 * include/stdlib.h: Move include protection to the right place.
18119 Define abort_msg_s. Declare __abort_msg with it.
18120 * stdlib/abort.c (__abort_msg): Adjust type.
18121 * assert/assert.c (__assert_fail_base): New function. Majority
18122 of code from __assert_fail. Allocate memory for __abort_msg with
18123 mmap.
18124 (__assert_fail): Now call __assert_fail_base.
18125 * assert/assert-perr.c: Remove bulk of implementation. Use
18126 __assert_fail_base.
18127 * include/assert.hL Declare __assert_fail_base.
18128 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18129 mmap.
18130 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18131
1af4e298
UD
181322011-05-14 Ulrich Drepper <drepper@gmail.com>
18133
f8a3b5bf 18134 [BZ #11952]
d26dfc60
MG
18135 [BZ #12453]
18136 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18137 until all modules are registered in the DTV.
18138 * elf/Makefile: Add rules to build and run tst-tls19.
18139 * elf/tst-tls19.c: New file.
18140 * elf/tst-tls19mod1.c: New file.
18141 * elf/tst-tls19mod2.c: New file.
18142 * elf/tst-tls19mod3.c: New file.
18143 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18144
2fc54d6f
UD
18145 [BZ #12083]
18146 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18147 correctly.
18148
98d76b46
UD
18149 [BZ #12601]
18150 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18151 two-byte sequence errors.
18152 * iconvdata/Makefile (tests): Add bug-iconv8.
18153 * iconvdata/bug-iconv8.c: New file.
18154
da3c19ef
UD
18155 [BZ #12626]
18156 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18157 buf2 definition.
18158
ca408c15
UD
18159 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18160
d6f67f7d
UD
18161 [BZ #12432]
18162 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18163 (dummy_getcfa): New function.
18164 (init): Get _Unwind_GetCFA address, use dummy if not found.
18165 (backtrace_helper): In recursion check, also check whether CFA changes.
18166 (__backtrace): Completely initialize arg.
18167
1af4e298 18168 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18169 storing incomplete byte sequence in state object. Avoid testing for
18170 guaranteed too small input if we know there is enough data available.
1af4e298 18171
da62f81b
AS
181722011-05-11 Andreas Schwab <schwab@redhat.com>
18173
18174 * Makeconfig (+link-pie): Indent.
18175 * Rules (binaries-pie): Define if $(have-fpie) and
18176 $(build-shared).
18177 (binaries-shared): Also filter out $(binaries-pie).
18178 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18179 * nscd/Makefile (others-pie): Add nscd.
18180 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18181 ($(objpfx)nscd): Remove command override.
18182 * login/Makefile (others-pie): Add pt_chown.
18183 ($(objpfx)pt_chown): Remove command override.
18184 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18185 remove command overrides.
18186
fcabc0f8
UD
181872011-05-13 Ulrich Drepper <drepper@gmail.com>
18188
20030ae6
UD
18189 * libio/tst_putwc.c: Fix error messages.
18190
fcabc0f8
UD
18191 [BZ #12724]
18192 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18193 currently writing and seek to current position when not.
18194 * libio/Makefile (tests): Add bug-fclose1.
18195 * libio/bug-fclose1.c: New file.
18196
320a5dc0
PB
181972011-05-12 Ulrich Drepper <drepper@gmail.com>
18198
18199 [BZ #12511]
18200 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18201 don't set DF_1_NODELETE here.
18202 (do_lookup_x): When entering new entry test for copy relocation
18203 and if necessary set DF_1_NODELETE flag.
18204 * elf/tst-unique4.cc: New file.
18205 * elf/tst-unique4.h: New file.
18206 * elf/tst-unique4lib.cc: New file.
18207 * elf/Makefile: Add rules to build and run tst-unique4.
18208 Patch by Piotr Bury <pbury@goahead.com>.
18209
22836f52
UD
182102011-05-11 Ulrich Drepper <drepper@gmail.com>
18211
f574184a
UD
18212 [BZ #12052]
18213 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18214
e1fb097f
UD
18215 [BZ #12625]
18216 * misc/mntent_r.c (addmntent): Flush the stream after the output
18217
22836f52
UD
18218 [BZ #12393]
18219 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18220 (is_trusted_path_normalize): Skip initial colon. Append slash
18221 to empty buffer. Duplicate is_trusted_path code but allow
18222 constructed patch to be prefix.
18223 (is_dst): Allow $ORIGIN followed by /.
18224 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18225 Correct testing of result of is_trusted_path_normalize
18226 (decompose_rpath): Fix warning.
18227
7b3b0b2a
UD
182282011-05-10 Ulrich Drepper <drepper@gmail.com>
18229
18230 [BZ #11257]
18231 * grp/initgroups.c (internal_getgrouplist): When we found the service
18232 list through the initgroups entry in nsswitch.conf do not always
18233 continue on a successful lookup. Don't always use the
eac80ce2 18234 __nss_group_database value if it is set.
7b3b0b2a
UD
18235 * nss/nsswitch.conf (initgroups): Change action for successful db
18236 lookup to continue for compatibility.
18237
2a81eaa5
UD
182382011-05-09 Ulrich Drepper <drepper@gmail.com>
18239
be97a69e
UD
18240 [BZ #11532]
18241 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18242 and CP774 modules.
18243 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18244 and CP774 modules.
18245 * iconvdata/tst-tables.sh: Likewise.
18246 * iconvdata/cp770.c: New file.
18247 * iconvdata/cp771.c: New file.
18248 * iconvdata/cp772.c: New file.
18249 * iconvdata/cp773.c: New file.
18250 * iconvdata/cp774.c: New file.
18251 * iconvdata/testdata/CP770: New file.
18252 * iconvdata/testdata/CP770..UTF8: New file.
18253 * iconvdata/testdata/CP771: New file.
18254 * iconvdata/testdata/CP771..UTF8: New file.
18255 * iconvdata/testdata/CP772: New file.
18256 * iconvdata/testdata/CP772..UTF8: New file.
18257 * iconvdata/testdata/CP773: New file.
18258 * iconvdata/testdata/CP773..UTF8: New file.
18259 * iconvdata/testdata/CP774: New file.
18260 * iconvdata/testdata/CP774..UTF8: New file.
18261
18262 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18263 END CHARMAP line.
18264 * iconvdata/gen-8bit-gap.sh: Likewise.
18265 * iconvdata/gen-8bit.sh: Likewise.
18266
c1e9e399
UD
18267 * locale/iso-639.def: Add ary entry.
18268
24c55fb3 18269 [BZ #11258]
96b4b1b0
UD
18270 * locale/C-translit.h.in: Add U20A1 transliteration.
18271
bdc2f971
KB
18272 [BZ #12178]
18273 * locale/iso-639.def: Add wae entry.
18274 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18275
2952b117
UD
18276 [BZ #12545]
18277 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18278 for n.
18279
2a81eaa5
UD
18280 [BZ #12711]
18281 * locale/C-translit.h.in: Add entry for U20B9.
18282 Patch by pravin.d.s@gmail.com.
18283
28377d1b
UD
182842011-05-08 Ulrich Drepper <drepper@gmail.com>
18285
7fb90fb8
UD
18286 [BZ #12713]
18287 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18288 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18289 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18290 in rtld. Use *stat64.
7fb90fb8 18291 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18292 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18293 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18294 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18295 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18296 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18297 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18298 __fstatat64 macros.
7fb90fb8
UD
18299 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18300 * dirent/rewinddir.c: Add libc_hidden_def.
18301 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18302 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18303
28377d1b
UD
18304 * include/dirent.h (__alloc_dir): Add flags parameter.
18305 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18306 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18307 __alloc_dir.
18308 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18309 from fdopendir if O_CLOEXEC is already set.
18310
66bdbaa4
AM
183112011-03-15 Alan Modra <amodra@gmail.com>
18312
18313 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18314 l_tls_firstbyte_offset non-zero. Save padding offset in
18315 l_tls_firstbyte_offset for later use.
18316 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18317 freeing static tls block.
18318
95721191
JN
183192011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18320
18321 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18322 where #ifdef was intended. The intent is to prevent ARG_MAX from
18323 being defined by the kernel headers.
18324
f87dfb1f
UD
183252011-05-07 Ulrich Drepper <drepper@gmail.com>
18326
18327 [BZ #12734]
18328 * resolv/resolv.h: Define RES_NOTLDQUERY.
18329 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18330 no-tld-query and set RES_NOTLDQUERY.
18331 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18332 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18333 modern BIND to search name as TLD unless forbidden.
18334
47c3cd7a
UD
183352011-05-07 Petr Baudis <pasky@suse.cz>
18336 Ulrich Drepper <drepper@gmail.com>
18337
18338 [BZ #12393]
18339 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18340 (is_trusted_path): ...to here.
c1e9ea35 18341 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18342 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18343 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18344
8a35c912
PP
183452011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18346
18347 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18348 __BEGIN/__END_DECLS.
18349
acd41f47
UD
183502011-05-06 Ulrich Drepper <drepper@gmail.com>
18351
18352 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18353 NSS_STATUS_NOTFOUND if no record was found.
18354
597df647
AS
183552011-05-05 Andreas Schwab <schwab@redhat.com>
18356
18357 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18358 (headers-not-in-tirpc): Remove rpc/netdb.h
18359 * resolv/netdb.h: Revert last change.
18360
b9af1301
PP
183612011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18362
18363 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18364 circular dependency between libgcc.a and libc.a.
18365
4e34d5f5
AS
183662011-05-05 Andreas Schwab <schwab@redhat.com>
18367
18368 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18369 * nis/Makefile: Don't install rpcsvc/*.
18370 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18371 instead of <rpc/types.h>.
18372 (MAXHOSTNAMELEN): Define.
18373
00ee369c
AS
183742011-05-03 Andreas Schwab <schwab@redhat.com>
18375
18376 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18377
0b592a30
MB
183782011-04-28 Maciej Babinski <mbabinski@google.com>
18379
18380 [BZ #12714]
18381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18382 gethostbyname4_r when IPv6 results are possible.
18383
6e04cbbe
UD
183842011-05-02 Ulrich Drepper <drepper@gmail.com>
18385
18386 [BZ #12723]
18387 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18388 _PC_PIPE_BUF handling.
18389
e4ecafe0
BH
183902011-04-30 Bruno Haible <bruno@clisp.org>
18391
18392 [BZ #12717]
18393 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18394 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18395 to 'int'.
18396 * inet/getnameinfo.c (getnameinfo): Likewise.
18397
125ee683
UD
183982011-04-29 Ulrich Drepper <drepper@gmail.com>
18399
18400 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18401 to groups setting in database lookup.
18402 * nss/nsswitch.conf: Add initgroups entry.
18403
b722481a
EB
184042011-04-22 Ulrich Drepper <drepper@gmail.com>
18405
18406 [BZ #12685]
18407 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18408 mode string.
18409 Patch by Eric Blake <eblake@redhat.com>.
18410
4df46dbd
L
184112011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18412
18413 * sunrpc/Makefile (need-export-routines): Add svc_run.
18414 (routines): Remove svc_run.
18415 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18416 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18417 * sunrpc/svc_run.c (svc_run): Likewise.
18418 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18419
e84142d2
UD
184202011-04-21 Ulrich Drepper <drepper@gmail.com>
18421
18422 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18423 problem in reallocation in last patch.
18424
877175d8
UD
184252011-04-20 Ulrich Drepper <drepper@gmail.com>
18426
18427 * sunrpc/Makefile: Move inclusion of Rules.
18428
ab8eed78
UD
184292011-04-19 Ulrich Drepper <drepper@gmail.com>
18430
18431 * nss/nss_files/files-initgroups.c: New file.
18432 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18433 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18434 _nss_files_initgroups_dyn.
18435
e3d8f584
RS
184362011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18437
18438 * elf/elf.h (R_ARM_IRELATIVE): Define.
18439
af190f45
UD
184402011-04-19 Ulrich Drepper <drepper@gmail.com>
18441
18442 * po/ru.po: Update from translation team.
18443
53cf59ef
UD
184442011-04-17 Ulrich Drepper <drepper@gmail.com>
18445
18446 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18447 dependencies.
18448
4c559bcd
MF
184492011-02-06 Mike Frysinger <vapier@gentoo.org>
18450
18451 [BZ #12653]
18452 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18453 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18454 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18455 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18456 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18457
4420675c
AS
184582011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18459
18460 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18461 differing bytes.
18462 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18463 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18464 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18465
75ea32ab
UD
184662011-04-17 Ulrich Drepper <drepper@gmail.com>
18467
18468 [BZ #12420]
18469 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18470 storing it.
18471 * stdlib/bug-getcontext.c: New file.
18472 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18473
27390476
AK
184742011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18475
18476 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18477 instructions into .machine "z9-109".
18478 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18479 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18480
10442705
AK
184812011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18482
18483 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18484 between environment variables and auxiliary vector.
18485
7b57bfe5
UD
184862011-04-16 Ulrich Drepper <drepper@gmail.com>
18487
18488 * Makefile: Add rules to build linkobj/libc.so.
18489 * include/libc-symbols.h: Define libc_hidden_nolink.
18490 * include/rpc/auth.h: Mark functions which are to be hidden.
18491 * include/rpc/auth_des.h: Likewise.
18492 * include/rpc/auth_unix.h: Likewise.
18493 * include/rpc/clnt.h: Likewise.
18494 * include/rpc/des_crypt.h: Likewise.
18495 * include/rpc/key_prot.h: Likewise.
18496 * include/rpc/pmap_clnt.h: Likewise.
18497 * include/rpc/pmap_prot.h: Likewise.
18498 * include/rpc/pmap_rmt.h: Likewise.
18499 * include/rpc/rpc_msg.h: Likewise.
18500 * include/rpc/svc.h: Likewise.
18501 * include/rpc/svc_auth.h: Likewise.
18502 * include/rpc/xdr.h: Likewise.
18503 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18504 * nss/Makefile: Likewise.
18505 * sunrpc/Makefile: Don't install headers. Build library with normal
18506 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18507 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18508 for the compat linking library. Remove use of INTDEF/INTUSE.
18509 * sunrpc/auth_none.c: Likewise.
18510 * sunrpc/auth_unix.c: Likewise.
18511 * sunrpc/authdes_prot.c: Likewise.
18512 * sunrpc/authuxprot.c: Likewise.
18513 * sunrpc/clnt_gen.c: Likewise.
18514 * sunrpc/clnt_perr.c: Likewise.
18515 * sunrpc/clnt_raw.c: Likewise.
18516 * sunrpc/clnt_simp.c: Likewise.
18517 * sunrpc/clnt_tcp.c: Likewise.
18518 * sunrpc/clnt_udp.c: Likewise.
18519 * sunrpc/clnt_unix.c: Likewise.
18520 * sunrpc/des_crypt.c: Likewise.
18521 * sunrpc/des_soft.c: Likewise.
18522 * sunrpc/get_myaddr.c: Likewise.
18523 * sunrpc/key_call.c: Likewise.
18524 * sunrpc/key_prot.c: Likewise.
18525 * sunrpc/netname.c: Likewise.
18526 * sunrpc/pm_getmaps.c: Likewise.
18527 * sunrpc/pm_getport.c: Likewise.
18528 * sunrpc/pmap_clnt.c: Likewise.
18529 * sunrpc/pmap_prot.c: Likewise.
18530 * sunrpc/pmap_prot2.c: Likewise.
18531 * sunrpc/pmap_rmt.c: Likewise.
18532 * sunrpc/publickey.c: Likewise.
18533 * sunrpc/rpc_cmsg.c: Likewise.
18534 * sunrpc/rpc_common.c: Likewise.
18535 * sunrpc/rpc_dtable.c: Likewise.
18536 * sunrpc/rpc_prot.c: Likewise.
18537 * sunrpc/rpc_thread.c: Likewise.
18538 * sunrpc/rtime.c: Likewise.
18539 * sunrpc/svc.c: Likewise.
18540 * sunrpc/svc_auth.c: Likewise.
18541 * sunrpc/svc_authux.c: Likewise.
18542 * sunrpc/svc_raw.c: Likewise.
18543 * sunrpc/svc_run.c: Likewise.
18544 * sunrpc/svc_simple.c: Likewise.
18545 * sunrpc/svc_tcp.c: Likewise.
18546 * sunrpc/svc_udp.c: Likewise.
18547 * sunrpc/svc_unix.c: Likewise.
18548 * sunrpc/svcauth_des.c: Likewise.
18549 * sunrpc/xcrypt.c: Likewise.
18550 * sunrpc/xdr.c: Likewise.
18551 * sunrpc/xdr_array.c: Likewise.
18552 * sunrpc/xdr_float.c: Likewise.
18553 * sunrpc/xdr_intXX_t.c: Likewise.
18554 * sunrpc/xdr_mem.c: Likewise.
18555 * sunrpc/xdr_rec.c: Likewise.
18556 * sunrpc/xdr_ref.c: Likewise.
18557 * sunrpc/xdr_sizeof.c: Likewise.
18558 * sunrpc/xdr_stdio.c: Likewise.
18559
e6c61494
UD
185602011-04-10 Ulrich Drepper <drepper@gmail.com>
18561
18562 [BZ #12650]
18563 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18564 * sysdeps/ia64/dl-tls.h: Likewise.
18565 * sysdeps/powerpc/dl-tls.h: Likewise.
18566 * sysdeps/s390/dl-tls.h: Likewise.
18567 * sysdeps/sh/dl-tls.h: Likewise.
18568 * sysdeps/sparc/dl-tls.h: Likewise.
18569 * sysdeps/x86_64/dl-tls.h: Likewise.
18570 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18571
34fe483e
AS
185722011-03-14 Andreas Schwab <schwab@redhat.com>
18573
18574 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18575 rpath element also skip the following colon.
18576 (expand_dynamic_string_token): Add is_path parameter and pass
18577 down to DL_DST_REQUIRED and _dl_dst_substitute.
18578 (decompose_rpath): Call expand_dynamic_string_token with
18579 non-zero is_path. Ignore empty rpaths.
18580 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18581 with zero is_path.
18582
f12a32e6
AS
185832011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18584
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18586 Make cancelable.
18587
38a7d692
UD
185882011-04-09 Ulrich Drepper <drepper@gmail.com>
18589
18590 [BZ #12655]
18591 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18592 Patch by Filipe David Manana <fdmanana@apache.org>.
18593
e451d22b
AS
185942011-04-07 Andreas Schwab <schwab@redhat.com>
18595
18596 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18597 Maintain aligned stack.
18598 (CHECK_RSP): Remove unused macro.
18599
dedc7c7b
UD
186002011-04-03 Ulrich Drepper <drepper@gmail.com>
18601
18602 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18603 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18604
94521213
UD
186052011-04-02 Ulrich Drepper <drepper@gmail.com>
18606
18607 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18608
8cb700c0 18609 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18610
0354e355
L
186112011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18612
18613 [BZ #12518]
18614 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18615 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18616 * sysdeps/x86_64/memmove.c: New file.
18617 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18618 (memcpy): Renamed to ...
18619 (__new_memcpy): This.
18620 (memcpy): Provide GLIBC_2_14 memcpy.
18621 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18622 (memcpy): Provide GLIBC_2_2_5 memcpy.
18623
8593482f
UD
186242011-04-01 Ulrich Drepper <drepper@gmail.com>
18625
18626 [BZ #12631]
18627 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18628
81a5726b
AS
186292011-03-30 Andreas Schwab <schwab@redhat.com>
18630
18631 * misc/syncfs.c: New file.
18632 * misc/Makefile (routines): Add syncfs.
18633 * posix/unistd.h: Declare syncfs.
18634 * sysdeps/unix/syscalls.list: Add syncfs.
18635
00e5419f
AS
186362011-04-01 Andreas Schwab <schwab@redhat.com>
18637
18638 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18639 open_by_handle_at.
18640 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18641 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18643 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18645 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18646 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18647
748876bf
UD
186482011-04-01 Ulrich Drepper <drepper@gmail.com>
18649
658e451d
UD
18650 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18651 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18652 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18654 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18657
748876bf
UD
18658 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18659 sync_file_range.c with -fexceptions.
18660 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18661 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18662 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18663 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18664 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18665 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18666 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18667 sync_file_range as cancellation point
18668 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18669 now a wrapper around __call_sync_file_range with cancellation handling.
18670 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18671 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18672 function name to __call_sync_file_range.
18673 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18674 Add call_sync_file_range.
748876bf 18675
6e63d5e1
AS
186762011-04-01 Andreas Schwab <schwab@redhat.com>
18677
18678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18679 bits/timex.h.
6e63d5e1 18680
46998f74
UD
186812011-04-01 Ulrich Drepper <drepper@gmail.com>
18682
4c1423ed
UD
18683 * iconv/iconv.h: Fix typo in comment.
18684 * io/fcntl.h: Likewise.
18685 * libio/stdio.h: Likewise.
18686 * posix/spawn.h: Likewise.
18687 * posix/unistd.h: Likewise.
18688 * stdlib/stdlib.h: Likewise.
18689 * time/time.h: Likewise.
18690 * wcsmbs/wchar.h: Likewise.
18691
158648c0
UD
18692 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18693 open_by_handle): Add.
18694 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18695 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18696 Augment a few comments.
18697 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18698 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18699 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18702 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18703 open_by_handle.
18704
46998f74
UD
18705 * io/fcntl.h (AT_EMPTY_PATH): Define.
18706
83fe108b
UD
187072011-03-30 Ulrich Drepper <drepper@gmail.com>
18708
18709 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18710 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18711 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18712 to...
18713 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18714 * Versions.def: Add GLIBC_2.14.
18715 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18716 Export.
83fe108b 18717
bb242059
UD
187182011-03-22 Ulrich Drepper <drepper@gmail.com>
18719
18720 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18721 round counter.
18722 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18723
c97a1282
L
187242011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18725
18726 [BZ #12597]
18727 * string/test-strncmp.c (do_page_test): New function.
18728 (check2): Likewise.
18729 (test_main): Call check2.
18730 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18731
2a115601
UD
187322011-03-20 Ulrich Drepper <drepper@gmail.com>
18733
18734 [BZ #12587]
18735 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18736 Handle cache information in CPU leaf 4.
18737 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18738
8126d904
UD
187392011-03-18 Ulrich Drepper <drepper@gmail.com>
18740
042c49c6 18741 [BZ #12583]
8126d904
UD
18742 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18743 character representation.
18744 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18745
ccfe366e
RA
187462011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18747
18748 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18749 END(__isnan) to END(__isnanf) to match function entry point/label
18750 EALIGN(__isnanf,...).
18751
c6e13027
JJ
187522011-03-10 Jakub Jelinek <jakub@redhat.com>
18753
18754 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18755
33f85a3f
UD
187562011-03-10 Ulrich Drepper <drepper@gmail.com>
18757
028478fa
UD
18758 [BZ #12510]
18759 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18760 copy from the symbol referenced in the relocation to initialize the
18761 used variable.
18762 Patch by Piotr Bury <pbury@goahead.com>.
18763 * elf/Makefile: Add rules to build and tst-unique3.
18764 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18765 * elf/tst-unique3.cc: New file.
18766 * elf/tst-unique3.h: New file.
18767 * elf/tst-unique3lib.cc: New file.
18768 * elf/tst-unique3lib2.cc: New file.
18769
33f85a3f
UD
18770 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18771
03592fc7
MF
187722011-03-10 Mike Frysinger <vapier@gentoo.org>
18773
18774 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18775 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18776 to _start.
03592fc7 18777
6a5ee102
UD
187782011-03-06 Ulrich Drepper <drepper@gmail.com>
18779
18780 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18781 to-be-loaded object along a path to loader is ld.so.
18782
7e4ba49c
HJ
187832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18784 Ulrich Drepper <drepper@gmail.com>
18785
18786 * sysdeps/x86_64/memset.S: After aligning destination, code
18787 branches to different locations depending on the value of
18788 misalignment, when multiarch is enabled. Fix this.
18789
187902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18791
18792 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18793 Set _x86_64_preferred_memory_instruction for AMD processsors.
18794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18795 Set bit_Prefer_SSE_for_memop for AMD processors.
18796
13a804de
UD
187972011-03-04 Ulrich Drepper <drepper@gmail.com>
18798
18799 * libio/fmemopen.c (fmemopen): Optimize a bit.
18800
9d25c392
AS
188012011-03-03 Andreas Schwab <schwab@redhat.com>
18802
18803 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18804
a5543c6a
RM
188052011-03-03 Roland McGrath <roland@redhat.com>
18806
18807 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18808
012d35f7
DM
188092011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18810
7e4ba49c 18811 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18812 __bzero_ultra1 instead of __memset_ultra1.
18813
4bff6e01
AS
188142011-02-23 Andreas Schwab <schwab@redhat.com>
18815 Ulrich Drepper <drepper@gmail.com>
18816
18817 [BZ #12509]
18818 * include/link.h (struct link_map): Add l_orig_initfini.
18819 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18820 returning unsuccessfully.
18821 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18822 close of a file loaded at startup, restore the original l_initfini
18823 list.
18824 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18825 list, store the pointer.
18826 * elf/Makefile ($(objpfx)noload-mem): New rule.
18827 (noload-ENV): Define.
18828 (tests): Add $(objpfx)noload-mem.
18829 * elf/noload.c: Include <memcheck.h>.
18830 (main): Call mtrace. Close all opened handles.
18831
f2092faf
AS
188322011-02-17 Andreas Schwab <schwab@redhat.com>
18833
18834 [BZ #12454]
18835 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18836 dependencies are missing.
18837
6c8a2e88
ST
188382011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18839
f2092faf 18840 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18841 Hurd needs munmap.
18842 * sysdeps/mach/hurd/ifreq.h: New file.
18843
84a42118
PB
188442011-01-27 Petr Baudis <pasky@suse.cz>
18845 Ulrich Drepper <drepper@gmail.com>
18846
071f805e 18847 [BZ 12445]#
84a42118
PB
18848 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18849 to extend_alloca().
18850 * stdio-common/bug23.c: New file.
18851 * stdio-common/Makefile (tests): Add bug23.
18852
e23fe25b
AS
188532010-09-28 Andreas Schwab <schwab@redhat.com>
18854 Ulrich Drepper <drepper@gmail.com>
18855
18856 [BZ #12489]
18857 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18858 before performing relro protection. At old place add assertion
18859 to make sure nothing changed.
18860
d3f02e10
NS
188612011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18862 Glauber de Oliveira Costa <glommer@gmail.com>
18863
18864 * elf/elf.h: Add new ARM TLS relocs.
18865
d55fd7a5
RA
188662011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18867
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18869 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18870 cast from r3.
18871 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18872 'tests' variable.
18873 * sysdeps/wordsize-64/tst-writev.c: New file.
18874
2206397e
RA
188752011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18876
18877 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18878 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18879 insns in _dl_start to prevent a TOC reference before relocs are
18880 resolved.
18881
e9433893
UD
188822011-02-15 Ulrich Drepper <drepper@gmail.com>
18883
18884 [BZ #12469]
18885 * Makeconfig: Remove RANLIB definition.
18886 * Makerules: Don't use RANLIB.
18887 * aclocal.m4: Remove ranlib test.
18888 * configure.in: No need to check for ranlib.
18889 * elf/rtld-Rules: Don't use RANLIB.
18890
f75286c6
ST
188912011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18892
8e31c82d
ST
18893 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18894 protection macro.
18895 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18896 inclusion protection macro.
18897
f75286c6
ST
18898 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18899 SIGRTMIN and SIGRTMAX and print information in that case only when
18900 SIGRTMIN is defined.
18901
c1d0e639
JJ
189022011-02-11 Jakub Jelinek <jakub@redhat.com>
18903
18904 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18905 arginfo fn returning -1.
18906
18907 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18908 and thousands string is zero terminated.
18909
edf9294e
AS
189102011-02-03 Andreas Schwab <schwab@redhat.com>
18911
18912 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18913 sysdeps/unix/sysv/linux/bits/socket.h.
18914
2b7e92df
ST
189152011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18916
edf9294e
AS
18917 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18918 (__CPU_COUNT): Remove old macros.
18919 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18920 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18921 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18922 (__sched_cpualloc, __sched_cpufree): Add declarations.
18923
a4c7ea7b
UD
189242011-02-05 Ulrich Drepper <drepper@gmail.com>
18925
18926 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18927 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18928 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18929 (readdhstai): Return value of addhstaiX call.
18930 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18931 (addgrbyX): Return value returned by cache_addgr.
18932 (readdgrbyname): Return value returned by addgrbyX.
18933 (readdgrbygid): Likewise.
18934 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18935 (addpwbyX): Return value returned by cache_addpw.
18936 (readdpwbyname): Return value returned by addhstbyX.
18937 (readdpwbyuid): Likewise.
18938 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18939 (addservbyX): Return value returned by cache_addserv.
18940 (readdservbyname): Return value returned by addservbyX:
18941 (readdservbyport): Likewise.
18942 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18943 (addhstbyX): Return value returned by cache_addhst.
18944 (readdhstbyname): Return value returned by addhstbyX.
18945 (readdhstbyaddr): Likewise.
18946 (readdhstbynamev6): Likewise.
18947 (readdhstbyaddrv6): Likewise.
18948 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18949 (readdinitgroups): Return value returned by addinitgroupsX.
18950 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18951 (prune_cache): Keep track of timeout value of re-added entries.
18952 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18953 * nscd/nscd.h: Adjust prototypes of readd* functions.
18954
a0bf67cc
RM
189552011-02-04 Roland McGrath <roland@redhat.com>
18956
18957 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18958 (nis_stats): Likewise.
18959 * nis/nis_modify.c (nis_modify): Likewise.
18960 * nis/nis_remove.c (nis_remove): Likewise.
18961 * nis/nis_add.c (nis_add): Likewise.
18962
18963 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18964
18965 * posix/fnmatch_loop.c: Add some consts.
18966
18967 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18968
435b95eb
L
189692011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18970
18971 [BZ #12460]
18972 * config.make.in (config-cflags-novzeroupper): Define.
18973 * configure.in: Substitute libc_cv_cc_novzeroupper.
18974 * elf/Makefile (AVX-CFLAGS): Define.
18975 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18976 (CFLAGS-tst-auditmod4a.c): Likewise.
18977 (CFLAGS-tst-auditmod4b.c): Likewise.
18978 (CFLAGS-tst-auditmod6b.c): Likewise.
18979 (CFLAGS-tst-auditmod6c.c): Likewise.
18980 (CFLAGS-tst-auditmod7b.c): Likewise.
18981 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18982
8517b15e
UD
189832011-02-02 Ulrich Drepper <drepper@gmail.com>
18984
18985 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18986 function to the callback.
18987 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18988
10a656fe
AS
189892011-02-02 Andreas Schwab <schwab@redhat.com>
18990
18991 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18992 of errno.
18993
968dad0a
UD
189942011-01-19 Ulrich Drepper <drepper@gmail.com>
18995
9f94d2ea 18996 [BZ #11724]
968dad0a
UD
18997 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18998 of constructors.
18999 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19000 of destructors.
19001 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19002
19003 [BZ #11724]
19004 * elf/Makefile: Add rules to build and run new test.
19005 * elf/tst-initorder.c: New file.
19006 * elf/tst-initorder.exp: New file.
19007 * elf/tst-initordera1.c: New file.
19008 * elf/tst-initordera2.c: New file.
19009 * elf/tst-initordera3.c: New file.
19010 * elf/tst-initordera4.c: New file.
19011 * elf/tst-initorderb1.c: New file.
19012 * elf/tst-initorderb2.c: New file.
19013 * elf/tst-order-a1.c: New file.
19014 * elf/tst-order-a2.c: New file.
19015 * elf/tst-order-a3.c: New file.
19016 * elf/tst-order-a4.c: New file.
19017 * elf/tst-order-b1.c: New file.
19018 * elf/tst-order-b2.c: New file.
19019 * elf/tst-order-main.c: New file.
19020 New test case by George Gensure <werkt0@gmail.com>.
19021
86e92359
UD
190222010-10-01 Andreas Schwab <schwab@redhat.com>
19023
19024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19025 decoding ACE if AI_CANONIDN.
19026
5d5732b0
UD
190272011-01-18 Ulrich Drepper <drepper@gmail.com>
19028
19029 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19030
a77e8cbc
UD
190312011-01-17 Ulrich Drepper <drepper@gmail.com>
19032
6392473f
UD
19033 * version.h (RELEASE): Bump for 2.13 release.
19034 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19035
620a0529
UD
19036 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19037
18ba70a5
UD
19038 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19039 MADV_NOHUGEPAGE.
32465c3e
UD
19040 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19041 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19042 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19043 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19044 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19045 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19046
c0dafcf1
UD
19047 * posix/getconf.c: Update copyright year.
19048 * catgets/gencat.c: Likewise.
19049 * csu/version.c: Likewise.
19050 * debug/catchsegv.sh: Likewise.
19051 * debug/xtrace.sh: Likewise.
19052 * elf/ldconfig.c: Likewise.
19053 * elf/ldd.bash.in: Likewise.
19054 * elf/sprof.c (print_version): Likewise.
19055 * iconv/iconv_prog.c: Likewise.
19056 * iconv/iconvconfig.c: Likewise.
19057 * locale/programs/locale.c: Likewise.
19058 * locale/programs/localedef.c: Likewise.
19059 * malloc/memusage.sh: Likewise.
19060 * malloc/mtrace.pl: Likewise.
19061 * nscd/nscd.c (print_version): Likewise.
19062 * nss/getent.c: Likewise.
19063
a77e8cbc
UD
19064 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19065 PF_CAIF, and PF_ALG.
19066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19067
77e8bddf
AS
190682011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19069
1f20b93a
AS
19070 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19071 (modules-names): Use them.
19072 (ifunc-test-modules, ifunc-pie-tests): Define.
19073 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19074 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19075 (test-extras): Likewise.
19076 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19077 $(compile-command.c).
19078 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19079 (all-built-dso): Define.
19080 (check-textrel.out, check-execstack.out): Depend on it.
19081
77e8bddf
AS
19082 * configure.in: Don't override --enable-multi-arch.
19083
bc425b33
UD
190842011-01-15 Ulrich Drepper <drepper@gmail.com>
19085
19086 [BZ #6812]
19087 * nscd/hstcache.c (tryagain): Define.
19088 (cache_addhst): Return tryagain not notfound for temporary errors.
19089 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19090 failed.
19091
794c3ad3
UD
190922011-01-14 Ulrich Drepper <drepper@gmail.com>
19093
70181fdd
UD
19094 [BZ #10563]
19095 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19096 to make the syscall.
19097 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19098
794c3ad3
UD
19099 [BZ #12378]
19100 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19101 and fall back to matching as normal character if the string ends before
19102 the matching ']' is found. This is what POSIX requires.
19103 * posix/testfnm.c: Adjust test result.
19104 * posix/globtest.sh: Adjust test result. Add new test.
19105 * posix/tst-fnmatch.input: Likewise.
19106 * posix/tst-fnmatch2.c: Add new test.
19107
68dc9497
AS
191082010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19109
19110 * elf/Makefile (check-execstack): Revert last change. Depend on
19111 check-execstack.h.
19112 (check-execstack.h): New target.
19113 (generated): Add check-execstack.h.
19114 * elf/check-execstack.c: Include "check-execstack.h".
19115 (main): Revert last change.
19116 (handle_file): Return zero if GNU_STACK is absent and
19117 DEFAULT_STACK_PERMS doesn't include PF_X.
19118
451f001b
UD
191192011-01-13 Ulrich Drepper <drepper@gmail.com>
19120
cfa28e56
UD
19121 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19122 in child fails because the descriptor is already closed.
8cf8ce17
UD
19123 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19124 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19125 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19126
1086d70d
UD
19127 [BZ #12397]
19128 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19129 syscall.
19130
451f001b
UD
19131 [BZ #10484]
19132 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19133 temporary buffer used to handle multi lookups locally.
a85b5cb4 19134 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19135
08769175
UD
191362011-01-12 Ulrich Drepper <drepper@gmail.com>
19137
19138 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19139 loader is ld.so.
19140
5e49c52e
UD
191412011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19142
19143 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19144 alignment for SSE2.
19145
60522a5f
UD
191462011-01-12 Ulrich Drepper <drepper@gmail.com>
19147
19148 [BZ #12394]
19149 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19150 characters. When rounding increased number of integer digits recompute
19151 number of groups.
19152 * stdio-common/tst-grouping.c: New file.
19153 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19154
f257bbd7
UD
191552011-01-09 Ulrich Drepper <drepper@gmail.com>
19156
19157 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19158 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19159
19160 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19161 void.
19162 * bits/select.h: Likewise.
19163
fa9c15cb
UD
191642011-01-08 Ulrich Drepper <drepper@gmail.com>
19165
19166 * po/ja.po: Update from translation team.
19167
16c2895f
DM
191682011-01-04 David S. Miller <davem@sunset.davemloft.net>
19169
19170 [BZ #11155]
19171 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19172 implementation just like for lxstat, fxstatat, et al.
19173
2543fef2
JM
191742010-12-27 Jim Meyering <meyering@redhat.com>
19175
19176 [BZ #12348]
19177 * posix/regexec.c (build_trtable): Return failure indication upon
19178 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19179
98727dbe
UD
191802010-12-25 Ulrich Drepper <drepper@gmail.com>
19181
5bd6dc5c
UD
19182 [BZ #12201]
19183 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19184 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19185 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19186 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19187
97983464
UD
19188 [BZ #12207]
19189 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19190
98727dbe
UD
19191 [BZ #12204]
19192 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19193 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19194
4a531bb0
L
191952010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19196
19197 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19198 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19199 script has SORT_BY_INIT_PRIORITY.
19200 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19201 NO_CTORS_DTORS_SECTIONS is defined.
19202 * elf/soinit.c: Likewise.
19203 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19204 NO_CTORS_DTORS_SECTIONS is defined.
19205 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19206 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19207 * sysdeps/sh/init-first.c: Likewise.
19208 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19209
07eb4b71
UD
192102010-12-24 Ulrich Drepper <drepper@gmail.com>
19211
19212 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19213 always use the slow path.
19214
30950a5f
RA
192152010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19216
19217 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19218 similar rule which adds the sysdep directories to the header search in
19219 order to pick up the correct platform stackinfo.h.
19220 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19221 perform test if it is, otherwise return successfully without testing.
19222 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19223 DEFAULT_STACK_PERMS define in stackinfo.h.
19224 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19225 defined in stackinfo.h.
19226 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19227 DEFAULT_STACK_PERMS defined in stackinfo.h.
19228 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19229 * sysdeps/ia64/stackinfo.h: Likewise.
19230 * sysdeps/s390/stackinfo.h: Likewise.
19231 * sysdeps/sh/stackinfo.h: Likewise.
19232 * sysdeps/sparc/stackinfo.h: Likewise.
19233 * sysdeps/x86_64/stackinfo.h: Likewise.
19234 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19235 PF_X for powerpc64. Retain PF_X for powerpc32.
19236
db753e2c
UD
192372010-12-19 Ulrich Drepper <drepper@gmail.com>
19238
14b697f7
UD
19239 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19240 accurately.
db753e2c
UD
19241 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19242 GETDENTS_64BIT_ALIGNED.
19243
28300719
UD
192442010-12-14 Ulrich Drepper <dreper@gmail.com>
19245
14b697f7 19246 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19247
4f197237
AS
192482010-12-10 Andreas Schwab <schwab@redhat.com>
19249
dbb0472f
AS
19250 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19251 _GNU_SOURCE.
19252
4f197237
AS
19253 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19254 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19255 Remove __restrict.
19256 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19257 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19258
fb88ac72
UD
192592010-12-09 Ulrich Drepper <drepper@gmail.com>
19260
19261 [BZ #11655]
19262 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19263 are initialized.
19264
42acbb92
JJ
192652010-12-09 Jakub Jelinek <jakub@redhat.com>
19266
19267 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19268
c038d98d
UD
192692010-12-03 Ulrich Drepper <drepper@gmail.com>
19270
19271 * po/it.po: Update from translation team.
19272
3a4a2499
L
192732010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19274
19275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19276 unused codes.
19277
1e24cf6e
UD
192782010-11-30 Ulrich Drepper <drepper@gmail.com>
19279
19280 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19281
a7690819
AS
192822010-11-24 Andreas Schwab <schwab@redhat.com>
19283
19284 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19285 specially.
19286 (gaih_getanswer_slice): Likewise.
19287
3bf8d1b1
JJ
192882010-10-20 Jakub Jelinek <jakub@redhat.com>
19289
19290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19291
6db52fbb
PB
192922010-05-31 Petr Baudis <pasky@suse.cz>
19293
19294 [BZ #11149]
19295 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19296 silently even in the chroot mode.
19297
eaca7569
UD
192982010-11-22 Ulrich Drepper <drepper@gmail.com>
19299
19300 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19301 last patch a bit. Pretty printing
19302
3056dcdb
UD
193032010-05-31 Petr Baudis <pasky@suse.cz>
19304
19305 [BZ #10085]
19306 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19307 initialization of skip_initgroups_dyn.
19308
cf7c9078
UD
193092010-11-19 Ulrich Drepper <drepper@gmail.com>
19310
19311 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19312 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19313
a1fb5e3e
UD
193142010-11-16 Ulrich Drepper <drepper@gmail.com>
19315
19316 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19317
3540d66b
AS
193182010-11-11 Andreas Schwab <schwab@redhat.com>
19319
19320 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19321 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19322 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19323 ($(objpfx)tst-fnmatch-mem): New rule.
19324 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19325 * posix/tst-fnmatch.c (main): Call mtrace.
19326
13b69574
L
193272010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19328
19329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19330 Support Intel processor model 6 and model 0x2c.
19331
da93d214
LM
193322010-11-10 Luis Machado <luisgpm@br.ibm.com>
19333
19334 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19335 signed comparison.
19336
8ca52c6e
L
193372010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19338
19339 [BZ #12205]
19340 * string/test-strncasecmp.c (check_result): New function.
19341 (do_one_test): Use it.
19342 (check1): New function.
19343 (test_main): Use it.
19344 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19345 Support strcasecmp and strncasecmp.
19346
69da074d
UD
193472010-11-08 Ulrich Drepper <drepper@gmail.com>
19348
19349 [BZ #12194]
19350 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19351 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19352
ff02d528
L
193532010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19354
19355 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19356 IFUNC support.
19357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19358 memset-x86-64.
19359 * sysdeps/x86_64/multiarch/bzero.S: New file.
19360 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19361 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19362 * sysdeps/x86_64/multiarch/memset.S: New file.
19363 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19365 Set bit_Prefer_SSE_for_memop for Intel processors.
19366 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19367 Define.
19368 (index_Prefer_SSE_for_memop): Define.
19369 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19370
344d0b54
LM
193712010-11-04 Luis Machado <luisgpm@br.ibm.com>
19372
19373 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19374 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19375
c0dde15b
UD
193762010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19377
19378 [BZ #12191]
19379 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19380 (__x86_64_raw_data_cache_size_half): Likewise.
19381 (__x86_64_raw_shared_cache_size): Likewise.
19382 (__x86_64_raw_shared_cache_size_half): Likewise.
19383
19384 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19385 (__x86_64_raw_data_cache_size_half): Likewise.
19386 (__x86_64_raw_shared_cache_size): Likewise.
19387 (__x86_64_raw_shared_cache_size_half): Likewise.
19388 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19389 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19390 and __x86_64_raw_shared_cache_size_half. Round
19391 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19392 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19393 to multiple of 256 bytes.
19394
0e516e0e
MS
193952010-11-03 Ulrich Drepper <drepper@gmail.com>
19396
19397 [BZ #12167]
19398 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19399 of inacessible symlinks. Verify result of symlink before returning it.
19400 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19401 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19402
0e012e87
ER
194032010-10-28 Erich Ritz <erichritz@gmail.com>
19404
19405 * math/math.h (isinf): Fix typo in comment.
19406
de0ff7bc
UD
194072010-11-01 Ulrich Drepper <drepper@gmail.com>
19408
19409 * po/da.po: Update from translation team.
19410
fa41c84d
UD
194112010-10-26 Ulrich Drepper <drepper@gmail.com>
19412
19413 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19414 is added to the list.
19415
f0967738
AK
194162010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19417 Ulrich Drepper <drepper@gmail.com>
19418
19419 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19420 the global list here. Move code to...
19421 (_dl_add_to_namespace_list): ...here. New function.
19422 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19423 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19424 * elf/dl-load.c (lose): Don't remove the element from the list.
19425 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19426 (_dl_map_object): Likewise.
19427
194282010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19429
19430 [BZ #12159]
19431 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19432 into all bytes of SSE register.
19433 Patch by Richard Li <richardpku@gmail.com>.
19434
f0967738 194352010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19436
19437 [BZ #12140]
19438 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19439 perturbing.
19440
d0b9e94f
MB
194412010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19442
19443 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19444 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19445 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19446 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19448 submachine.
19449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19450
8e9f92e9
AS
194512010-10-22 Andreas Schwab <schwab@redhat.com>
19452
19453 * include/dlfcn.h (__RTLD_SECURE): Define.
19454 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19455 mode & __RTLD_SECURE instead.
19456 (open_path): Rename preloaded parameter to secure.
19457 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19458 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19459 * elf/dl-deps.c (openaux): Likewise.
19460 * elf/rtld.c (struct map_args): Remove is_preloaded.
19461 (map_doit): Don't use it.
19462 (dl_main): Likewise.
19463 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19464 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19465
bc96fbda
AS
194662010-09-09 Andreas Schwab <schwab@redhat.com>
19467
19468 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19469 (sysd-rules-targets): Remove duplicates.
19470 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19471 rtld-%.$o dependency.
19472
22cd1c9b
AS
194732010-10-18 Andreas Schwab <schwab@redhat.com>
19474
19475 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19476 _dl_map_object do it.
19477
18edac48
UD
194782010-10-19 Ulrich Drepper <drepper@gmail.com>
19479
19480 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19481 fast fma builtins, define the macros in the C99 standard.
19482 (FP_FAST_FMAF): Likewise.
19483 (FP_FAST_FMAL): Likewise.
19484 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19485
19486 * bits/mathdef.h: Update copyright year.
19487 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19488
d2050124
MM
194892010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19490
19491 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19492 builtins, define the macros in the C99 standard.
19493 (FP_FAST_FMAF): Likewise.
19494 (FP_FAST_FMAL): Likewise.
19495 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19496 multiply/add.
19497 (FP_FAST_FMAF): Likewise.
19498
475facd1
JJ
194992010-10-15 Jakub Jelinek <jakub@redhat.com>
19500
19501 [BZ #3268]
19502 * math/libm-test.inc (fma_test): Some new testcases.
19503 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19504 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19505 y and infinite z. Do multiplication by C already in long double.
19506 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19508 y and infinite z. Do bitwise or of inexact bit into u.d.
19509 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19510 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19511 * sysdeps/i386/fpu/s_fma.S: Removed.
19512 * sysdeps/i386/fpu/s_fmal.S: Removed.
19513
7c08a05c
JJ
195142010-10-16 Jakub Jelinek <jakub@redhat.com>
19515
19516 [BZ #3268]
19517 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19519 computation is not scheduled after fetestexcept. Fix value
19520 of minimum denormal long double.
19521
f3f7372d
JJ
195222010-10-14 Jakub Jelinek <jakub@redhat.com>
19523
19524 [BZ #3268]
19525 * math/libm-test.inc (fma_test): Add some more tests.
19526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19527 correctly.
19528
14d43591
AS
195292010-10-15 Andreas Schwab <schwab@redhat.com>
19530
19531 * scripts/data/localplt-s390-linux-gnu.data: New file.
19532 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19533
5e908464
JJ
195342010-10-13 Jakub Jelinek <jakub@redhat.com>
19535
19536 [BZ #3268]
19537 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19538 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19539 instead of dbl-64.
19540 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19541 inlines.
19542 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19543 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19544 if one of x and y is very large and the other is subnormal.
19545 * sysdeps/s390/fpu/s_fmaf.c: New file.
19546 * sysdeps/s390/fpu/s_fma.c: New file.
19547 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19548 * sysdeps/powerpc/fpu/s_fma.S: New file.
19549 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19550 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19551 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19552
195532010-10-12 Jakub Jelinek <jakub@redhat.com>
19554
19555 [BZ #3268]
19556 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19557 fma tests.
19558 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19559 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19560 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19561 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19562 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19563 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19565
b833d51f
UD
195662010-10-12 Ulrich Drepper <drepper@redhat.com>
19567
19568 [BZ #12078]
19569 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19570 * posix/bug-regex31.input: Add test case.
19571
1751705d
UD
195722010-10-11 Ulrich Drepper <drepper@gmail.com>
19573
e9b9cbf5
UD
19574 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19575 * posix/bug-regex31.input: New file.
19576
19577 [BZ #12078]
19578 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19579 (parse_sub_exp): Fix last change, use postorder.
19580
ef06edbe
UD
19581 * posix/bug-regex31.c: New file.
19582 * posix/Makefile: Add rules to build and run bug-regex31.
19583
a129c80d
UD
19584 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19585
19586 [BZ #12078]
19587 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19588
b76b818e
UD
19589 [BZ #12108]
19590 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19591 to have entries in sys_siglist.
19592
1751705d
UD
19593 [BZ #12093]
19594 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19595 be NULL.
19596
9ff8d36f
JJ
195972010-10-07 Jakub Jelinek <jakub@redhat.com>
19598
19599 [BZ #3268]
19600 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19601 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19602 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19603 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19604 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19605 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19606 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19607 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19608 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19609 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19610 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19611 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19612 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19613 * math/ftestexcept.c (fetestexcept): Likewise.
19614 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19615 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19616 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19617 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19618 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19619 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19620 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19621
af325969
UD
196222010-10-11 Ulrich Drepper <drepper@gmail.com>
19623
c579b202 19624 [BZ #12107]
af325969
UD
19625 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19626 newline.
19627
67a67b95
UD
196282010-10-06 Ulrich Drepper <drepper@gmail.com>
19629
19630 * string/bug-strstr1.c: New file.
19631 * string/Makefile: Add rules to build and run bug-strstr1.
19632
5fb308bc
EB
196332010-10-05 Eric Blake <eblake@redhat.com>
19634
19635 [BZ #12092]
19636 * string/str-two-way.h (two_way_long_needle): Always clear memory
19637 when skipping input due to the shift table.
19638
45db99c7
UD
196392010-10-03 Ulrich Drepper <drepper@gmail.com>
19640
3b111893
UD
19641 [BZ #12005]
19642 * malloc/mcheck.c: Handle large requests.
19643
45db99c7
UD
19644 [BZ #12077]
19645 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19646 for strncmp and strncasecmp.
19647 * string/stratcliff.c: Add tests for strcmp and strncmp.
19648 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19649
cf7a1eb8
NI
196502010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19651
19652 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19653 __set_fpscr.
19654
6484ba5e
AJ
196552010-09-30 Andreas Jaeger <aj@suse.de>
19656
19657 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19658 (CGROUP_SUPER_MAGIC): Define.
19659 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19660 Handle btrfs and cgroup file systems.
19661 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19662 Likewise.
19663
91c42559
LM
196642010-09-27 Luis Machado <luisgpm@br.ibm.com>
19665
19666 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19667 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19668
87a97932
AK
196692010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19670
19671 [BZ #12067]
19672 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19673 trying to locate the ELF header.
19674
c21cc9bc
AS
196752010-09-27 Andreas Schwab <schwab@redhat.com>
19676
19677 [BZ #11611]
19678 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19679 Mask out sign-bit copies when constructing f_fsid.
19680
315970f6
PB
196812010-09-24 Petr Baudis <pasky@suse.cz>
19682
19683 * debug/stack_chk_fail_local.c: Add missing licence exception.
19684 * debug/warning-nop.c: Likewise.
19685
1ac7a2c7
JM
196862010-09-15 Joseph Myers <joseph@codesourcery.com>
19687
19688 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19689 implementing getdents64 using getdents syscall, set d_type if
19690 __ASSUME_GETDENTS32_D_TYPE.
19691
56801c50
AS
196922010-09-16 Andreas Schwab <schwab@redhat.com>
19693
19694 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19695 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19696
dda51327
UD
196972010-09-21 Ulrich Drepper <drepper@redhat.com>
19698
19699 [BZ #12037]
19700 * posix/unistd.h: Undo change of feature selection for ftruncate from
19701 2010-01-11.
19702
8ffcee4a
UD
197032010-09-20 Ulrich Drepper <drepper@redhat.com>
19704
a545ecd9 19705 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19706 detection.
19707
e24f0a8b
AS
197082010-09-20 Andreas Schwab <schwab@redhat.com>
19709
19710 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19711 fanotify_mark.
19712 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19713
7291c56f
AS
197142010-09-14 Andreas Schwab <schwab@redhat.com>
19715
19716 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19717 variables after CHECK_SP call.
19718 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19719
bc5fb037
AS
197202010-09-13 Andreas Schwab <schwab@redhat.com>
19721 Ulrich Drepper <drepper@redhat.com>
19722
19723 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19724 re-relocationg ld.so.
19725 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19726 _dl_init_paths call.
19727 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19728 here anymore.
19729
e66e7419
UD
197302010-09-14 Ulrich Drepper <drepper@redhat.com>
19731
19732 * resolv/res_init.c (__res_vinit): Count the default server we added.
19733
c044aa75
CLT
197342010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19735 Ulrich Drepper <drepper@redhat.com>
19736
19737 [BZ #11968]
19738 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19739 (____longjmp_chk): Use %ebx for saving value across system call.
19740 Add unwind info.
19741
32cf4069
AS
197422010-09-06 Andreas Schwab <schwab@redhat.com>
19743
19744 * manual/Makefile: Don't mix pattern rules with normal rules.
19745
817328ee
AS
197462010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19747
19748 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19749 operation.
19750 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19751 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19752 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19753 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19754 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19755 Likewise.
19756
29fddf61
UD
197572010-09-04 Ulrich Drepper <drepper@redhat.com>
19758
19759 [BZ #11979]
19760 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19761 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19762
0959ffc9
UD
197632010-09-02 Ulrich Drepper <drepper@redhat.com>
19764
19765 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19766 * sysdeps/x86_64/addmul_1.S: Likewise.
19767 * sysdeps/x86_64/lshift.S: Likewise.
19768 * sysdeps/x86_64/mul_1.S: Likewise.
19769 * sysdeps/x86_64/rshift.S: Likewise.
19770 * sysdeps/x86_64/sub_n.S: Likewise.
19771 * sysdeps/x86_64/submul_1.S: Likewise.
19772
ece29840
ST
197732010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19774
0959ffc9
UD
19775 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19776 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19777 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19778 * bits/sched.h [__need_schedparam]
ece29840 19779 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19780 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19781 (__defined_schedparam): Define to 1.
ece29840
ST
19782 (__sched_param): New structure, identical to sched_param.
19783 (__need_schedparam): Undefine.
19784
e53a31fe
MF
197852010-08-31 Mike Frysinger <vapier@gentoo.org>
19786
fdc0c10d
MF
19787 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19788 (epoll_create1): Declare.
19789
e53a31fe
MF
19790 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19791
a726d796
AS
197922010-08-31 Andreas Schwab <schwab@redhat.com>
19793
19794 [BZ #7066]
19795 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19796 shifting retval into place.
19797
2f3e3dc7
UD
197982010-09-01 Ulrich Drepper <drepper@redhat.com>
19799
f2933da9
UD
19800 * nis/rpcsvc/nis.h: Update copyright notice.
19801 * nis/rpcsvc/nis.x: Likewise.
19802 * nis/rpcsvc/nis_callback.h: Likewise.
19803 * nis/rpcsvc/nis_callback.x: Likewise.
19804 * nis/rpcsvc/nis_object.x: Likewise.
19805 * nis/rpcsvc/nis_tags.h: Likewise.
19806 * nis/rpcsvc/yp.h: Likewise.
19807 * nis/rpcsvc/yp.x: Likewise.
19808 * nis/rpcsvc/ypupd.h: Likewise.
19809 * nis/yp_xdr.c: Likewise.
19810 * nis/ypupdate_xdr.c: Likewise.
19811
2f3e3dc7
UD
19812 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19813 mainly the body of pmap_getport. Add parameters to specify timeouts.
19814 (pmap_getport): Use __libc_rpc_getport.
19815 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19816 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19817 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19818
f3dcc2f9
AS
198192010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19820
19821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19822 fanotify_mark.
19823
6d34eb5b
RM
198242010-08-27 Roland McGrath <roland@redhat.com>
19825
19826 * sysdeps/i386/i686/multiarch/Makefile
19827 (CFLAGS-varshift.c): New variable.
19828
9ea3de11
UD
198292010-08-27 Ulrich Drepper <drepper@redhat.com>
19830
c96d23fc
UD
19831 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19832 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19833
9ea3de11
UD
19834 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19835
19836 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19837
623aac7f
L
198382010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19839
19840 * sysdeps/x86_64/strlen.S: Unroll the loop.
19841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19842 strlen-sse2 strlen-sse2-bsf.
19843 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19844 __strlen_no_bsf if bit_Slow_BSF is set.
19845 (__strlen_sse42): Removed.
19846 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19847 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19848
8b2b7715
RM
198492010-08-25 Roland McGrath <roland@redhat.com>
19850
19851 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19852 * sysdeps/x86_64/multiarch/varshift.c: New file.
19853 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19854 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19855 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19856 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19857
e73015f2
L
198582010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19859
19860 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19861 strlen-sse2 strlen-sse2-bsf.
19862 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19863 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19864 (__strlen_sse2): Removed.
19865 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19866 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19868 bit_Slow_BSF for Atom.
19869 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19870 (index_Slow_BSF): Define.
19871 (HAS_SLOW_BSF): Define.
19872
df24a73e
UD
198732010-08-25 Ulrich Drepper <drepper@redhat.com>
19874
19875 [BZ #10851]
19876 * resolv/res_init.c (__res_vinit): When no server address at all
19877 is given default to loopback.
19878
f2ac4868
RM
198792010-08-24 Roland McGrath <roland@redhat.com>
19880
09055553
RM
19881 * configure.in: Remove config-name.h generation.
19882 * configure: Regenerated.
19883 * config-name.in: File removed.
19884 * scripts/config-uname.sh: New file.
19885 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19886 ($(objdir)config-name.h): New target.
19887
f2ac4868
RM
19888 * sunrpc/rpc_parse.h: Avoid nested comment.
19889
73f27d5e
RH
198902010-08-24 Richard Henderson <rth@redhat.com>
19891 Ulrich Drepper <drepper@redhat.com>
19892 H.J. Lu <hongjiu.lu@intel.com>
19893
19894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19896 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19897 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19898 _mm_alignr_epi8 with _mm_loadu_si128.
19899 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19900 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19901 (__m128i_shift_right): Removed.
19902 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19903 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19904 * sysdeps/x86_64/multiarch/varshift.h: New file.
19905 * sysdeps/x86_64/multiarch/varshift.S: New file.
19906
84b9230c
MF
199072010-08-21 Mike Frysinger <vapier@gentoo.org>
19908
19909 * configure.in: Move assembler checks to before sysdep dir checking.
19910
9bbd0ddc
PB
199112010-08-20 Petr Baudis <pasky@suse.cz>
19912
19913 * LICENSES: Sync the sunrpc license.
19914
9da4bb31
UD
199152010-08-19 Ulrich Drepper <drepper@redhat.com>
19916
a7ab6ec8
UD
19917 * sunrpc/auth_des.c: Update copyright notice once again.
19918 * sunrpc/auth_none.c: Likewise.
19919 * sunrpc/auth_unix.c: Likewise.
19920 * sunrpc/authdes_prot.c: Likewise.
19921 * sunrpc/authuxprot.c: Likewise.
19922 * sunrpc/bindrsvprt.c: Likewise.
19923 * sunrpc/clnt_gen.c: Likewise.
19924 * sunrpc/clnt_perr.c: Likewise.
19925 * sunrpc/clnt_raw.c: Likewise.
19926 * sunrpc/clnt_simp.c: Likewise.
19927 * sunrpc/clnt_tcp.c: Likewise.
19928 * sunrpc/clnt_udp.c: Likewise.
19929 * sunrpc/clnt_unix.c: Likewise.
19930 * sunrpc/des_crypt.c: Likewise.
19931 * sunrpc/des_soft.c: Likewise.
19932 * sunrpc/get_myaddr.c: Likewise.
19933 * sunrpc/getrpcport.c: Likewise.
19934 * sunrpc/key_call.c: Likewise.
19935 * sunrpc/key_prot.c: Likewise.
19936 * sunrpc/openchild.c: Likewise.
19937 * sunrpc/pm_getmaps.c: Likewise.
19938 * sunrpc/pm_getport.c: Likewise.
19939 * sunrpc/pmap_clnt.c: Likewise.
19940 * sunrpc/pmap_prot.c: Likewise.
19941 * sunrpc/pmap_prot2.c: Likewise.
19942 * sunrpc/pmap_rmt.c: Likewise.
19943 * sunrpc/rpc/auth.h: Likewise.
19944 * sunrpc/rpc/auth_unix.h: Likewise.
19945 * sunrpc/rpc/clnt.h: Likewise.
19946 * sunrpc/rpc/des_crypt.h: Likewise.
19947 * sunrpc/rpc/key_prot.h: Likewise.
19948 * sunrpc/rpc/netdb.h: Likewise.
19949 * sunrpc/rpc/pmap_clnt.h: Likewise.
19950 * sunrpc/rpc/pmap_prot.h: Likewise.
19951 * sunrpc/rpc/pmap_rmt.h: Likewise.
19952 * sunrpc/rpc/rpc.h: Likewise.
19953 * sunrpc/rpc/rpc_des.h: Likewise.
19954 * sunrpc/rpc/rpc_msg.h: Likewise.
19955 * sunrpc/rpc/svc.h: Likewise.
19956 * sunrpc/rpc/svc_auth.h: Likewise.
19957 * sunrpc/rpc/types.h: Likewise.
19958 * sunrpc/rpc/xdr.h: Likewise.
19959 * sunrpc/rpc_clntout.c: Likewise.
19960 * sunrpc/rpc_cmsg.c: Likewise.
19961 * sunrpc/rpc_common.c: Likewise.
19962 * sunrpc/rpc_cout.c: Likewise.
19963 * sunrpc/rpc_dtable.c: Likewise.
19964 * sunrpc/rpc_hout.c: Likewise.
19965 * sunrpc/rpc_main.c: Likewise.
19966 * sunrpc/rpc_parse.c: Likewise.
19967 * sunrpc/rpc_parse.h: Likewise.
19968 * sunrpc/rpc_prot.c: Likewise.
19969 * sunrpc/rpc_sample.c: Likewise.
19970 * sunrpc/rpc_scan.c: Likewise.
19971 * sunrpc/rpc_scan.h: Likewise.
19972 * sunrpc/rpc_svcout.c: Likewise.
19973 * sunrpc/rpc_tblout.c: Likewise.
19974 * sunrpc/rpc_util.c: Likewise.
19975 * sunrpc/rpc_util.h: Likewise.
19976 * sunrpc/rpcinfo.c: Likewise.
19977 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19978 * sunrpc/rpcsvc/key_prot.x: Likewise.
19979 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19980 * sunrpc/rpcsvc/mount.x: Likewise.
19981 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19982 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19983 * sunrpc/rpcsvc/rex.x: Likewise.
19984 * sunrpc/rpcsvc/rstat.x: Likewise.
19985 * sunrpc/rpcsvc/rusers.x: Likewise.
19986 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19987 * sunrpc/rpcsvc/spray.x: Likewise.
19988 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19989 * sunrpc/rtime.c: Likewise.
19990 * sunrpc/svc.c: Likewise.
19991 * sunrpc/svc_auth.c: Likewise.
19992 * sunrpc/svc_authux.c: Likewise.
19993 * sunrpc/svc_raw.c: Likewise.
19994 * sunrpc/svc_run.c: Likewise.
19995 * sunrpc/svc_simple.c: Likewise.
19996 * sunrpc/svc_tcp.c: Likewise.
19997 * sunrpc/svc_udp.c: Likewise.
19998 * sunrpc/svc_unix.c: Likewise.
19999 * sunrpc/svcauth_des.c: Likewise.
20000 * sunrpc/xcrypt.c: Likewise.
20001 * sunrpc/xdr.c: Likewise.
20002 * sunrpc/xdr_array.c: Likewise.
20003 * sunrpc/xdr_float.c: Likewise.
20004 * sunrpc/xdr_mem.c: Likewise.
20005 * sunrpc/xdr_rec.c: Likewise.
20006 * sunrpc/xdr_ref.c: Likewise.
20007 * sunrpc/xdr_sizeof.c: Likewise.
20008 * sunrpc/xdr_stdio.c: Likewise.
20009
9da4bb31
UD
20010 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20011 handling.
20012
bdaa77bc
AS
200132010-08-19 Andreas Schwab <schwab@redhat.com>
20014
20015 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20016
fe2f79db
LM
200172010-08-19 Luis Machado <luisgpm@br.ibm.com>
20018
20019 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20020 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20021 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20022 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20023 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20024 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20025 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20026 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20027 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20028 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20029 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20030 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20031 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20032 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20033
b9b42ee0
AB
200342010-07-26 Anton Blanchard <anton@samba.org>
20035
20036 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20037 * malloc/arena.c (heap_trim): Likewise.
20038
1c06ba31
UD
200392010-08-16 Ulrich Drepper <drepper@redhat.com>
20040
20041 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20042 here. Not...
20043 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20044 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20045
f8392f40
L
200462010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20047
20048 * sysdeps/i386/elf/Makefile: New file.
20049
3162f12e
AS
200502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20051
20052 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20053 from fanotify_init.
20054 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20055 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20056
28c90b2c
UD
200572010-08-15 Ulrich Drepper <drepper@redhat.com>
20058
20059 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20060 of strncasecmp_l.
1feccb6c 20061 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20062
ca6bb004
UD
200632010-08-14 Ulrich Drepper <drepper@redhat.com>
20064
e9f82e0d
UD
20065 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20066 strncase_l-nonascii.
20067 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20068 Add strncase_l-ssse3.
20069 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20070 * sysdeps/x86_64/strcmp.S: Likewise.
20071 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20072 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20073 * sysdeps/x86_64/strncase.S: New file.
20074 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20075 * sysdeps/x86_64/strncase_l.S: New file.
20076 * string/Makefile (strop-tests): Add strncasecmp.
20077 * string/test-strncasecmp.c: New file.
20078
20079 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20080 warning.
20081
ca6bb004
UD
20082 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20083 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20084
052fa7b3
AS
200852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20086
20087 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20088
962dba78
UD
200892010-08-12 Ulrich Drepper <drepper@redhat.com>
20090
20091 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20092 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20093 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20094
bebff237
AM
200952010-05-01 Alan Modra <amodra@gmail.com>
20096
20097 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20098 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20099 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20100 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20101 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20102 tidying. Don't tail-call __sigjmp_save for static lib.
20103 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20104 save location.
20105 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20106 (CALL_MCOUNT): Add eh info, and nop after bl.
20107 (TAIL_CALL_SYSCALL_ERROR): New macro.
20108 (PSEUDO_RET): Use it.
20109 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20110 Correct save location of integer regs and cr.
20111 (_dl_profile_resolve): Correct cr save location. Delete nops
20112 after bl when SHARED. Reduce cfi size a little by better
20113 placement of cfi directives.
20114 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20115 make a stack frame. Instead use parm save area as a temp.
20116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20117 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20119 Don't make a stack frame for parent, use parm save area.
20120 Increase child stack frame to 112 bytes. Don't save unused reg,
20121 and adjust reg usage. Set up cfi on error recovery and
20122 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20124 (__makecontext): Add dummy nop after jump to exit.
20125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20126 Use correct parm save area and cr save, reduce stack frame.
20127 Correct cfi for possible PSEUDO_RET frame setup.
20128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20129 Branch to local label emitted by PSEUDO_RET rather than
20130 __syscall_error.
20131
02637374
AS
201322010-08-12 Andreas Schwab <schwab@redhat.com>
20133
20134 [BZ #11904]
20135 * locale/programs/locale.c (print_assignment): New function.
20136 (show_locale_vars): Use it.
20137
c3e2f19b
UD
201382010-08-11 Ulrich Drepper <drepper@redhat.com>
20139
3cdaa6ad
UD
20140 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20141 field.
20142 (struct statfs64): Likewise.
20143 (_STATFS_F_FLAGS): Define.
20144 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20145 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20146 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20147 (ST_VALID): Define locally.
20148 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20149 __statvfs_getflags, use the provided value.
20150 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20151 __ASSUME_STATFS_F_FLAGS.
20152
754f7da3
UD
20153 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20154
10b3bedc
UD
20155 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20156 Add sys/fanotify.h.
20157 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20158 fanotify_mask for GLIBC_2.13.
20159 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20160 fanotify_init and fanotify_mark.
20161 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20162 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20163
c08fb0d7
UD
20164 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20165 Add prlimit.
20166 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20167 prlimit64 for GLIBC_2.13.
20168 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20169 prlimit64.
20170 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20171 syscall.
20172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20173 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20174 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20175 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20176 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20177 add prlimit alias.
20178 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20179
15bac72b
UD
20180 [BZ #11903]
20181 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20182 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20183
c3e2f19b
UD
20184 * nss/Makefile: Add rules to build and run tst-nss-test1.
20185 * shlib-versions: Add entry for libnss_test1.
20186 * nss/nss_test1.c: New file.
20187 * nss/tst-nss-test1.c: New file.
20188
20189 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20190 (__nss_configure_lookup): Set appropriate entry in
20191 __nss_configure_lookup to true.
20192 * nss/nsswitch.h: Define enum with indeces of databases in
20193 databases and __nss_database_custom arrays. Declare
20194 __nss_database_custom.
20195 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20196 to avoid using nscd when custom rules are installed.
20197 * nss/getXXbyYY_r.c: Likewise.
20198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20199
20200 * nss/nss_files/files-parse.c: Whitespace fixes.
20201
f15ce4d8
UD
202022010-08-09 Ulrich Drepper <drepper@redhat.com>
20203
20204 [BZ #11883]
20205 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20206 * posix/fnmatch_loop.c: Likewise.
20207
d22e4cc9
AK
202082010-07-17 Andi Kleen <ak@linux.intel.com>
20209
20210 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20211 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20212 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20213 * Versions.def [GLIBC_2.13]: Add.
20214
805bc17d
UD
202152010-08-06 Ulrich Drepper <drepper@redhat.com>
20216
20217 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20218 Also fail if tpwd after pwuid call is NULL.
20219
5a42321d
ST
202202010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20221
20222 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20223 when converting to ms.
20224
fd3ebeda
ST
202252010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20226
20227 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20228 EOPNOTSUPP errors with ENOTTY.
20229 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20230 EOPNOTSUPP errors with ENOTTY.
20231
73507d3a
UD
202322010-07-31 Ulrich Drepper <drepper@redhat.com>
20233
20234 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20235 Add strcasecmp_l-ssse3.
20236 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20237 strcasecmp.
20238 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20239 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20240 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20241
fe36dd02
UD
202422010-07-30 Ulrich Drepper <drepper@redhat.com>
20243
66f6765a
UD
20244 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20245
42e08a54
UD
20246 * string/Makefile (strop-tests): Add strcasecmp.
20247 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20248 strcasecmp_l-nonascii.
20249 (gen-as-const-headers): Add locale-defines.sym.
20250 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20251 * sysdeps/x86_64/strcasecmp.S: New file.
20252 * sysdeps/x86_64/strcasecmp_l.S: New file.
20253 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20254 * sysdeps/x86_64/locale-defines.sym: New file.
20255 * string/test-strcasecmp.c: New file.
20256
fe36dd02
UD
20257 * string/test-strcasestr.c: Test both ends of the range of characters.
20258 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20259
48cbc0d6
RM
202602010-07-29 Roland McGrath <roland@redhat.com>
20261
76e6d6bc 20262 [BZ #11856]
48cbc0d6
RM
20263 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20264
880113d9
UD
202652010-07-27 Ulrich Drepper <drepper@redhat.com>
20266
20267 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20268 for ld.so.
20269
deb9cabb
AS
202702010-07-27 Andreas Schwab <schwab@redhat.com>
20271
20272 * manual/memory.texi (Malloc Tunable Parameters): Document
20273 M_PERTURB.
20274
1c7570ff
RM
202752010-07-26 Roland McGrath <roland@redhat.com>
20276
20277 [BZ #11840]
20278 * configure.in (-fgnu89-inline check): Set and substitute
20279 gnu89_inline, not libc_cv_gnu89_inline.
20280 * configure: Regenerated.
20281 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20282
24fb0f88
UD
202832010-07-26 Ulrich Drepper <drepper@redhat.com>
20284
20285 * string/test-strnlen.c: New file.
20286 * string/Makefile (strop-tests): Add strnlen.
20287 * string/tester.c (test_strnlen): Add a few more test cases.
20288 * string/tst-strlen.c: Better error reporting.
20289
20290 * sysdeps/x86_64/strnlen.S: New file.
20291
8e96b93a
UD
202922010-07-24 Ulrich Drepper <drepper@redhat.com>
20293
20294 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20295 lower-latency instructions.
20296
dbc676d4
UD
202972010-07-23 Ulrich Drepper <drepper@redhat.com>
20298
20299 * string/test-strcasestr.c: New file.
20300 * string/test-strstr.c: New file.
20301 * string/Makefile (strop-tests): Add strstr and strcasestr.
20302 * string/str-two-way.h: Don't undefine MAX.
20303 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20304
f6a31e0e
AS
203052010-07-21 Andreas Schwab <schwab@redhat.com>
20306
20307 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20308 strcasestr-nonascii.
20309 (CFLAGS-strcasestr-nonascii.c): Define.
20310 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20311 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20312 Remove unused attribute.
20313
5dbc3b6c
RM
203142010-07-20 Roland McGrath <roland@redhat.com>
20315
20316 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20317 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20318 ld.so.cache was broken. With it, there is no way to disable dsocaps
20319 like LD_HWCAP_MASK can disable hwcaps.
20320
23d101d8
EPM
203212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20322
20323 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20324
cc9f2e47
UD
203252010-07-16 Ulrich Drepper <drepper@redhat.com>
20326
20327 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20328 call in strcasestr.
20329 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20330 __strcasestr_sse42_nonascii.
20331 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20332 strcasestr-nonascii.c.
20333 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20334
77c1b069
LM
203352010-06-15 Luis Machado <luisgpm@br.ibm.com>
20336
20337 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20338 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20339 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20340 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20341
440566c3
UD
203422010-07-09 Ulrich Drepper <drepper@redhat.com>
20343
20344 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20345 fcntl.
20346
5be9d05d
AS
203472010-07-06 Andreas Schwab <schwab@redhat.com>
20348
c30b7ee2 20349 [BZ #11577]
5be9d05d
AS
20350 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20351 dl_signal_cerror.
20352
8a492a67
UD
203532010-07-06 Ulrich Drepper <drepper@redhat.com>
20354
20355 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20356 _PC_PIPE_BUF using F_GETPIPE_SZ.
20357
713df3d5
RM
203582010-07-05 Roland McGrath <roland@redhat.com>
20359
20360 * manual/arith.texi (Rounding Functions): Fix rint description
20361 implicit in round description.
20362
702e8f14
UD
203632010-07-02 Ulrich Drepper <drepper@redhat.com>
20364
20365 * elf/Makefile: Fix linking for a few tests to make recent linker
20366 happy.
20367
52ed8be9
AS
203682010-06-30 Andreas Schwab <schwab@redhat.com>
20369
20370 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20371 $(common-objpfx)libc_nonshared.a.
20372
f47c9a11
LM
203732010-06-21 Luis Machado <luisgpm@br.ibm.com>
20374
20375 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20376 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20377 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20378 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20379 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20380 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20381 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20382 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20397 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20398 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20399 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20400 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20401 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20402 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20403 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20404 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20405 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20406 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20407 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20408 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20423
6fb8cbcb
L
204242010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20425
20426 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20427 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20428 * string/memmove.c (memmove): Renamed to ...
20429 (MEMMOVE): ...this. Default to memmove.
20430 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20431 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20432 (END_CHK): Define.
20433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20434 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20435 mempcpy-ssse3-back memmove-ssse3-back.
20436 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20438 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20439 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20440 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20441 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20442 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20443 * sysdeps/x86_64/multiarch/memmove.c: New file.
20444 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20445 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20446 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20447 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20448 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20449 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20450 Define.
20451 (index_Fast_Copy_Backward): Define.
20452 (HAS_ARCH_FEATURE): Define.
20453 (HAS_FAST_REP_STRING): Define.
20454 (HAS_FAST_COPY_BACKWARD): Define.
20455
4e733bac 204562010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20457
20458 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20459 Restore proper fallback handling.
20460
63c4ed22
UD
204612010-06-19 Ulrich Drepper <drepper@redhat.com>
20462
ac2b484c
UD
20463 [BZ #11701]
20464 * posix/group_member.c (__group_member): Correct checking loop.
20465
63c4ed22
UD
20466 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20467 OOM in getpwuid_r correctly. Return error number when the caller
20468 should return, otherwise -1.
20469 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20470 call returning > 0 value.
20471 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20472
765ade4b
AS
204732010-06-07 Andreas Schwab <schwab@redhat.com>
20474
20475 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20476 libc_nonshared.a from targets in modules-names.
20477
80da2e09
KS
204782010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20479
20480 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20481 requires it.
20482
158db122
LM
204832010-06-10 Luis Machado <luisgpm@br.ibm.com>
20484
20485 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20486 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20488 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20489
caa78cf8
AS
204902010-06-02 Andreas Schwab <schwab@redhat.com>
20491
20492 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20493
b2ef2c01
UD
204942010-06-14 Ulrich Drepper <drepper@redhat.com>
20495
20496 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20497 and F_GETPIPE_SZ.
20498 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20499 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20502 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20503 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20504
fbd643b6
RM
205052010-06-14 Roland McGrath <roland@redhat.com>
20506
20507 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20508
f32f2869
JJ
205092010-06-07 Jakub Jelinek <jakub@redhat.com>
20510
20511 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20512 __REDIRECT followed by __THROW.
20513 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20514 * posix/getopt.h (getopt): Likewise.
20515
2a50c078
EPM
205162010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20517
20518 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20519 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20520 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20521 in AT_FLAGS.
20522 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20523 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20524
eb5ad2eb
LM
205252010-05-28 Luis Machado <luisgpm@br.ibm.com>
20526
20527 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20528
3c88fe1e
L
205292010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20530
20531 [BZ #11640]
20532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20533 Properly check family and model.
20534
d2f73151
TY
205352010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20536
20537 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20538
ebd2e13d
LM
205392010-05-24 Luis Machado <luisgpm@br.ibm.com>
20540
20541 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20542
b32b8b45
UD
205432010-05-21 Ulrich Drepper <drepper@redhat.com>
20544
20545 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20546 symbol reference.
20547
9acbe24d
AS
205482010-05-19 Andreas Schwab <schwab@redhat.com>
20549
20550 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20551 symbol reference.
20552
f0ccf6ea
AS
205532010-05-21 Andreas Schwab <schwab@redhat.com>
20554
3d04ff3a
AS
20555 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20556 and internal_recvmmsg.
20557 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20558 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20559 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20560 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20561
f0ccf6ea
AS
20562 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20563 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20564 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20565
5b08ac57
AS
205662010-05-20 Andreas Schwab <schwab@redhat.com>
20567
20568 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20569
4828935d
LM
205702010-05-17 Luis Machado <luisgpm@br.ibm.com>
20571
20572 POWER7 optimizations.
20573 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20574 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20575
373d545e
UD
205762010-05-19 Ulrich Drepper <drepper@redhat.com>
20577
20578 * version.h: Update for 2.13 development version.
20579
21a2b1ae
AS
205802010-05-12 Andrew Stubbs <ams@codesourcery.com>
20581
20582 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20583 exceptions. Return 0.
20584
3f7dcb2b
RM
205852010-05-07 Roland McGrath <roland@redhat.com>
20586
20587 * elf/ldconfig.c (main): Add a const.
20588
5f24d53a 205892010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20590
a160f8d8
UD
20591 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20592 (args_options): Add no-idn option.
20593 (ahosts_keys_int): Add idn_flags to ai_flags.
20594 (parse_option): Handle 'i' option to clear idn_flags.
20595
5f24d53a
UD
20596 * malloc/malloc.c (_int_free): Possible race in the most recently
20597 added check. Only act on the data if no current modification
20598 happened.
265bb1ce
UD
20599
20600See ChangeLog.17 for earlier changes.