]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use build directory instead of `pwd` in ftwtest-sh.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0708a7d1
JM
12012-10-24 Joseph Myers <joseph@codesourcery.com>
2
10b40d85
JM
3 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4
0708a7d1
JM
5 * posix/globtest.sh (TMPDIR): Do not set.
6 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7 (testout): Likewise.
8
9fddec1a
AJ
92012-10-24 Andreas Jaeger <aj@suse.de>
10
3a8db22f
AJ
11 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15 posix_fadvise64, posix_fallocate64.
16
9fddec1a
AJ
17 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
20 Likewise.
21 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22 Likewise.
23 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24
25 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27 <bits/fcntl-linux.h>.
28 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29
30 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34 [__WORDSIZE != 64]: Likewise.
35
ebfd1bbd
JM
362012-10-23 Joseph Myers <joseph@codesourcery.com>
37
03ac099f
JM
38 * Makeconfig (run-built-tests): New variable.
39 * Rules [$(cross-compiling) = yes]: Change condition to
40 [$(run-built-tests) = no].
41 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42 to [$(run-built-tests) = yes].
43 * elf/Makefile [$(cross-compiling) = no]: Likewise
44 * grp/Makefile [$(cross-compiling) = no]: Likewise.
45 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
46 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
47 * intl/Makefile [$(cross-compiling) = no]: Likewise.
48 * io/Makefile [$(cross-compiling) = no]: Likewise.
49 * libio/Makefile [$(cross-compiling) = no]: Likewise.
50 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
51 * misc/Makefile [$(cross-compiling) = no]: Likewise.
52 * posix/Makefile [$(cross-compiling) = no]: Likewise.
53 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
54 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56 * string/Makefile [$(cross-compiling) = no]: Likewise.
57
ebfd1bbd
JM
58 * posix/Makefile ($(objpfx)globtest.out): Pass
59 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60 $(rtld-installed-name).
61 * posix/globtest.sh (elf_objpfx): Remove variable.
62 (rtld_installed_name): Likewise.
63 (library_path): Likewise.
64 (run_program_prefix): New variable. Use for running globtest
65 binary.
66
166bca24
JB
672012-10-23 Jim Blandy <jimb@codesourcery.com>
68 Joseph Myers <joseph@codesourcery.com>
69
70 * Makeconfig (host-built-program-cmd): New variable.
71 * elf/Makefile (tst-stackguard1-ARGS): Use
72 $(host-built-program-cmd).
73 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
74 (tst-spawn-ARGS): Likewise.
75 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
76
88866099
JM
772012-10-23 Joseph Myers <joseph@codesourcery.com>
78 Jim Blandy <jimb@codesourcery.com>
79
80 * Makeconfig (run-via-rtld-prefix): New variable.
81 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
82 (built-program-cmd): Likewise.
83
b4b4c296
AJ
842012-10-22 Andreas Jaeger <aj@suse.de>
85
86 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
87 __O_RSYNC if it exists, otherwise to O_SYNC.
88
6fb54a22
JB
892012-10-22 Jim Blandy <jimb@codesourcery.com>
90 Joseph Myers <joseph@codesourcery.com>
91
92 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
93 /dev/null.
94 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
95 from /dev/null
96 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
97 /dev/null.
98
481b90b9
AJ
992012-10-22 Andreas Jaeger <aj@suse.de>
100
2a0e2669
AJ
101 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
102 Define always.
103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
104
76e38f9a
AJ
105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
106 bits/fcntl-linux.h.
107
7cd37b43
AJ
108 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
109 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
110
481b90b9
AJ
111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
112 to __O_LARGEFILE.
113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
114 to __O_LARGEFILE.
115
aba75984
JB
1162012-10-21 Jim Blandy <jimb@codesourcery.com>
117 Joseph Myers <joseph@codesourcery.com>
118
119 * config.make.in (NM): New variable.
120
88d4247f
AJ
1212012-10-21 Andreas Jaeger <aj@suse.de>
122
123 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
124 definitions and declarations that are provided by
125 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
126
f2eed205
L
1272012-10-20 H.J. Lu <hongjiu.lu@intel.com>
128
129 [BZ #14683]
130 * elf/Makefile (tests-static): Add tst-leaks1-static.
131 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
132 ($(objpfx)tst-leaks1-static): New rule.
133 ($(objpfx)tst-leaks1-static-mem): Likewise.
134 (tst-leaks1-static-ENV): New macro.
135 * elf/dl-open.c (dl_open_worker): Check the main application
136 only if SHARED is defined.
137 * elf/tst-leaks1-static.c: New file.
138
335e6931
AJ
1392012-10-20 Andreas Jaeger <aj@suse.de>
140
141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
142 generic values for Linux.
143 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
144 and declarations that are provided by <bits/fcntl-linux.h> and
145 include <bits/fcntl-linux.h>.
146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
147 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
148
ac5c94d3
RM
1492012-10-20 Roland McGrath <roland@hack.frob.com>
150
151 * io/fcntl.h: Move include of <bits/types.h> to the top and
152 include it unconditionally.
153
de54b33a
L
1542012-10-20 H.J. Lu <hongjiu.lu@intel.com>
155
228cfb01
L
156 * wcsmbs/Makefile (tests-ifunc): New variable.
157 (tests): Add $(tests-ifunc).
158 * wcsmbs/test-wcschr-ifunc.c: New file.
159 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
160 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
161 * wcsmbs/test-wcslen-ifunc.c: Likewise.
162 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
163 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
164
69f07e5f
L
165 * string/Makefile (tests-ifunc): New variable.
166 (tests): Add $(tests-ifunc).
167 * string/test-memccpy.c (TEST_NAME): New macro.
168 * string/test-memchr.c (TEST_NAME): Likewise.
169 * string/test-memcmp.c (TEST_NAME): Likewise.
170 * string/test-memcpy.c (TEST_NAME): Likewise.
171 * string/test-memmem.c (TEST_NAME): Likewise.
172 * string/test-memmove.c (TEST_NAME): Likewise.
173 * string/test-memset.c (TEST_NAME): Likewise.
174 * string/test-rawmemchr.c (TEST_NAME): Likewise.
175 * string/test-stpcpy.c (TEST_NAME): Likewise.
176 * string/test-stpncpy.c (TEST_NAME): Likewise.
177 * string/test-strcasecmp.c (TEST_NAME): Likewise.
178 * string/test-strcasestr.c (TEST_NAME): Likewise.
179 * string/test-strcat.c (TEST_NAME): Likewise.
180 * string/test-strchr.c (TEST_NAME): Likewise.
181 * string/test-strcmp.c(TEST_NAME): Likewise.
182 * string/test-strcpy.c (TEST_NAME): Likewise.
183 * string/test-strcspn.c (TEST_NAME): Likewise.
184 * string/test-strlen.c (TEST_NAME): Likewise.
185 * string/test-strncasecmp.c (TEST_NAME): Likewise.
186 * string/test-strncmp.c (TEST_NAME): Likewise.
187 * string/test-strncpy.c (TEST_NAME): Likewise.
188 * string/test-strnlen.c (TEST_NAME): Likewise.
189 * string/test-strpbrk.c (TEST_NAME): Likewise.
190 * string/test-strrchr.c (TEST_NAME): Likewise.
191 * string/test-strspn.c (TEST_NAME): Likewise.
192 * string/test-strstr.c (TEST_NAME): Likewise.
193 * string/test-bcopy-ifunc.c: New file.
194 * string/test-bzero-ifunc.c: Likewise.
195 * string/test-memccpy-ifunc.c: Likewise.
196 * string/test-memchr-ifunc.c: Likewise.
197 * string/test-memcmp-ifunc.c: Likewise.
198 * string/test-memcpy-ifunc.c: Likewise.
199 * string/test-memmem-ifunc.c: Likewise.
200 * string/test-memmove-ifunc.c: Likewise.
201 * string/test-mempcpy-ifunc.c: Likewise.
202 * string/test-memset-ifunc.c: Likewise.
203 * string/test-rawmemchr-ifunc.c: Likewise.
204 * string/test-stpcpy-ifunc.c: Likewise.
205 * string/test-stpncpy-ifunc.c: Likewise.
206 * string/test-strcasecmp-ifunc.c: Likewise.
207 * string/test-strcasestr-ifunc.c: Likewise.
208 * string/test-strcat-ifunc.c: Likewise.
209 * string/test-strchr-ifunc.c: Likewise.
210 * string/test-strchrnul-ifunc.c: Likewise.
211 * string/test-strcmp-ifunc.c: Likewise.
212 * string/test-strcpy-ifunc.c: Likewise.
213 * string/test-strcspn-ifunc.c: Likewise.
214 * string/test-strlen-ifunc.c: Likewise.
215 * string/test-strncasecmp-ifunc.c: Likewise.
216 * string/test-strncat-ifunc.c: Likewise.
217 * string/test-strncmp-ifunc.c: Likewise.
218 * string/test-strncpy-ifunc.c: Likewise.
219 * string/test-strnlen-ifunc.c: Likewise.
220 * string/test-strpbrk-ifunc.c: Likewise.
221 * string/test-strrchr-ifunc.c: Likewise.
222 * string/test-strspn-ifunc.c: Likewise.
223 * string/test-strstr-ifunc.c: Likewise.
224
de54b33a
L
225 * debug/Makefile (tests-ifunc): New variable.
226 (tests): Add $(tests-ifunc).
227 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
228 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
229 * debug/test-stpcpy_chk-ifunc.c: New file.
230 * debug/test-strcpy_chk-ifunc.c: Likewise.
231
88481c16
SP
2322012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
233
234 [BZ #13601]
235 * elf/dl-load.c (open_verify): Retry read if the entire ELF
236 header is not read in.
237
135948bd
JM
2382012-10-19 Joseph Myers <joseph@codesourcery.com>
239
89f1c388
JM
240 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
241 script to $(SHELL) as $<. Pass $(common-objpfx) to script
242 directly. Pass built executable to script as
243 $(built-program-cmd).
244 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
245 $testprogram without using LD_LIBRARY_PATH and $ldso.
246
e40a0d21
JM
247 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
248 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
249 $(rtld-installed-name).
250 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
251 (rtld_installed_name): Likewise.
252 (library_path): Likewise.
253 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
254 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
255 $(run-program-prefix) to tst-tables.sh.
256 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
257 it to run tst-table-from and tst-table-to.
258 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
259 Pass it to tst-table.sh.
260 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
261 $(run-program-prefix) to tst-gettext.sh.
262 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
263 tst-translit.sh.
264 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
265 tst-gettext2.sh.
266 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
267 to run tst-gettext.
268 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
269 to run tst-gettext2.
270 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
271 to run tst-translit.
272 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
273 $(run-program-prefix) to tst-mtrace.sh.
274 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
275 to run tst-mtrace.
276 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
277 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
278 $(rtld-installed-name).
279 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
280 (rtld_installed_name): Likewise.
281 (run_program_prefix): New variable. Use it to run wordexp-test.
282
728e272a
JM
283 * Makeconfig (ARCH): Remove all definitions.
284 (machine): Likewise.
285 [ARCH]: Remove conditional code.
286 [!objdir]: Give error.
287 [!objdir] (objpfx): Remove.
288 [!objdir] (common-objpfx): Likewise.
289 [!objdir] (common-objdir): Likewise.
290 * configure.in (config_makefile): Remove. Hardcode Makefile in
291 AC_CONFIG_FILES call.
292 * configure: Regenerated.
293
d528cdcf
JM
294 [BZ #13888]
295 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
296 or TMPDIR.
297 (testout): Likewise.
298
135948bd
JM
299 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
300 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
301 $(rtld-installed-name).
302 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
303 (rtld_installed_name): Likwise.
304 (runit): Remove function.
305 (run_getconf): New variable, Use it for running getconf binary.
306
38c78296
L
3072012-10-18 H.J. Lu <hongjiu.lu@intel.com>
308
309 [BZ #14716]
310 * string/test-memmem.c (check_result): New function.
311 (do_one_test): Use it.
312 (check1): New function.
313 (test_main): Use it.
314
d077f65f
MT
3152012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
316
317 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
318
ced52c71
JM
3192012-10-18 Joseph Myers <joseph@codesourcery.com>
320
321 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
322 (_G_LSEEK64): Likewise.
323 (_G_MMAP64): Likewise.
324 (_G_FSTAT64): Likewise.
325 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
326 (_G_LSEEK64): Likewise.
327 (_G_MMAP64): Likewise.
328 (_G_FSTAT64): Likewise.
329 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
330 unconditional. Call __mmap64 directly.
331 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
332 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
333 __lseek64 directly.
334 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
335 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
336 __mmap64 directly.
337 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
338 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
339 __lseek64 directly.
340 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
341 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
342 __lseek64 directly.
343 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
344 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
345 __lseek64 directly.
346 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
347 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
348 __fxstat64 directly.
349 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
350 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
351 unconditional.
352 (freopen64) [!_G_OPEN64]: Remove conditional code.
353 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
354 unconditional.
355 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
356 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
357 unconditional.
358 (ftello64) [!_G_LSEEK64]: Remove conditional code.
359 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
360 unconditional.
361 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
362 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
363 unconditional.
364 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
365 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
366 unconditional.
367 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
368 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
369 unconditional.
370 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
371 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
372 unconditional.
373 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
374
b741de23
SP
3752012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
376
377 [BZ #12140]
378 * manual/memory.texi (Malloc Tunable Parameters): Add note
379 about free list pointers overwriting some perturb bytes.
380 Wording suggested by Roland McGrath.
381
f9b9d9c9
JM
3822012-10-17 Joseph Myers <joseph@codesourcery.com>
383
384 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
385 (lgamma_test): Likewise.
386 (tgamma_test): Likewise.
387
172a631a
FW
3882012-10-16 Florian Weimer <fweimer@redhat.com>
389
390 [BZ #14700]
391 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
392 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
393
e9f37252
MK
3942012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
395
396 * NEWS: Mention BZ #14716.
397 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
398 when removing AVAILABLE1_USES_J macro.
399
d394eb74
L
4002012-10-12 H.J. Lu <hongjiu.lu@intel.com>
401
402 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
403 (__bswap_64): __uint64_t for unsigned 64-bit int.
404
ca38dc17
AS
4052012-10-12 Andreas Schwab <schwab@linux-m68k.org>
406
407 * include/string.h (memmem): Declare libc hidden alias.
408 * string/memmem.c (memmem): Define libc hidden alias.
409 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
410 __read, __close instead of open, read, close.
411
9a387d1f
L
4122012-10-11 H.J. Lu <hongjiu.lu@intel.com>
413
ac49ecaf
L
414 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
415 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
416 global and hidden.
417 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
418 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
419 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
420 Likewise.
421 (__rawmemchr_sse2): Likewise.
422 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
423 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
424 (__strchr_sse2): Likewise.
425 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
426 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
427 (__strcasecmp_sse2): Likewise.
428 (__strncasecmp_sse2): Likewise.
429 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
430 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
431 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
432 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
433 (__strrchr_sse2): Likewise.
434 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
435 ifunc-impl-list.c.
436 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
437 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
438 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
439 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
440 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
441 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
442 * sysdeps/x86_64/multiarch/memset.S: Likewise.
443 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
444 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
445 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
446 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
447 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
448 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
449 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
450 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
451 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
452 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
453 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
454 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
455 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
456 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
457 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
458 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
459 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
460 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
461 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
462 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
463 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
464 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
465 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
466
b090e8ea
L
467 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
468 global and hidden.
469 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
470 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
471 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
472 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
473 Likewise.
474 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
475 Likewise.
476 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
477 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
478 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
479 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
480 ifunc-impl-list.c.
481 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
482 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
483 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
484 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
485 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
486 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
487 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
488 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
489 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
490 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
491 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
492 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
493 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
494 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
495 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
496 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
497 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
498 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
499 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
500 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
501 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
502 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
503 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
504 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
505 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
506 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
507 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
508 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
509 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
510 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
511 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
512 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
513 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
514 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
515 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
516 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
517 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
518 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
519 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
520 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
521 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
522
11dd4af6
L
523 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
524 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
525 * include/ifunc-impl-list.h: New file.
526 * misc/ifunc-impl-list.c: Likewise.
527 * misc/Makefile (routines): Add ifunc-impl-list.
528 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
529 * string/test-string.h: Include <ifunc-impl-list.h>.
530 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
531 impl_array): New variables.
532 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
533 are defined.
534 (test_init): Call __libc_ifunc_impl_list to initialize
535 func_list if TEST_IFUNC and TEST_NAME are defined.
536
9a387d1f
L
537 * string/Makefile (strop-tests): Add bcopy and bzero.
538 * string/test-bcopy.c: New file.
539 * string/test-bzero.c: Likewise.
540 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
541 defined.
542 * string/test-memset.c: Support bzero test if TEST_BZERO is
543 defined.
544 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
545 __libc_memmove.
546 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
547 __libc_memset.
548 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
549 of memset.
550
472371b9
JM
5512012-10-10 Joseph Myers <joseph@codesourcery.com>
552
1e4a9536
JM
553 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
554 * configure: Regenerated.
555
d173d12e
JM
556 * Makeconfig (+link-static-before-libc): Don't include
557 $(link-static-libc).
558
472371b9
JM
559 * libio/libio.h (_IO_pos_t): Remove.
560
89a3ad0b
AO
5612012-10-10 Alexandre Oliva <aoliva@redhat.com>
562
563 * NEWS: Add note about FIPS mode. Wording suggested by Roland
564 McGrath.
565
e7451425
AO
5662012-10-10 Alexandre Oliva <aoliva@redhat.com>
567
568 * crypt/crypt-entry.c: Include fips-private.h.
569 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
570 * crypt/md5c-test.c (main): Tolerate disabled MD5.
571 * sysdeps/unix/sysv/linux/fips-private.h: New file.
572 * sysdeps/generic/fips-private.h: New file, dummy fallback.
573
4ba74a35
AO
5742012-10-10 Alexandre Oliva <aoliva@redhat.com>
575
576 * crypt/crypt-private.h: Include stdbool.h.
577 (_ufc_setup_salt_r): Return bool.
578 * crypt/crypt-entry.c: Include errno.h.
579 (__crypt_r): Return NULL with EINVAL for bad salt.
580 * crypt/crypt_util.c (bad_for_salt): New.
581 (_ufc_setup_salt_r): Check that salt is long enough and within
582 the specified alphabet.
583 * crypt/badsalttest.c: New file.
584 * crypt/Makefile (tests): Add it.
585 ($(objpfx)badsalttest): New.
586
f96f1242
MK
5872012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
588
589 * NEWS: Add entry for BZ #14602.
590
0e8e0c1c
JM
5912012-10-09 Joseph Myers <joseph@codesourcery.com>
592
593 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
594 type-generic.
595 * math/libm-test.inc: Update comment listing what functions and
596 macros are tested.
597 (isgreater_test): New function.
598 (isgreaterequal_test): Likewise.
599 (isless_test): Likewise.
600 (islessequal_test): Likewise.
601 (islessgreater_test): Likewise.
602 (isunordered_test): Likewise.
603 (main): Call the new functions.
604
273edc5e
RM
6052012-10-09 Roland McGrath <roland@hack.frob.com>
606
b8493de0
RM
607 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
608 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
609 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
610 * sysdeps/i386/configure: Regenerated.
611 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
612 * sysdeps/mach/configure: Regenerated.
613 * sysdeps/mach/hurd/configure: Regenerated.
614 * sysdeps/powerpc/configure: Regenerated.
615 * sysdeps/powerpc/powerpc32/configure: Regenerated.
616 * sysdeps/powerpc/powerpc64/configure: Regenerated.
617 * sysdeps/s390/s390-32/configure: Regenerated.
618 * sysdeps/s390/s390-64/configure: Regenerated.
619 * sysdeps/sh/configure: Regenerated.
620 * sysdeps/sparc/configure: Regenerated.
621 * sysdeps/unix/sysv/linux/configure: Regenerated.
622 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
623 * sysdeps/x86_64/configure: Regenerated.
624
273edc5e
RM
625 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
626 defined. Don't check if MAP is NULL.
627
c8450f70
JM
6282012-10-09 Joseph Myers <joseph@codesourcery.com>
629
630 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
631 (_G_stat64): Likewise.
632 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
633 (_G_stat64): Likewise.
634 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
635 instead of struct _G_stat64.
636 * libio/fileops.c (mmap_remap_check): Likewise.
637 (decide_maybe_mmap): Likewise.
638 (_IO_new_file_seekoff): Likewise.
639 (_IO_file_stat): Likewise.
640 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
641 _G_off64_t.
642 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
643 instead of struct _G_stat64.
644 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
645
57e605ba
MK
6462012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
647
648 [BZ #14602]
649 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
650 Replace with ...
651 (CHECK_EOL): New macro.
652 (two_way_short_needle): Check beginning of haystack for EOL. Use
653 CHECK_EOL.
654 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
655 Replace with CHECK_EOL.
656 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
657 Replace with CHECK_EOL.
658
ef1bb361
JM
6592012-10-08 Joseph Myers <joseph@codesourcery.com>
660
661 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
662 type-generic.
663 * math/libm-test.inc: Update comment listing what functions and
664 macros are tested.
665 (finite_test): New function.
666 (isinf_test): Likewise.
667 (isnan_test): Likewise.
668 (fpclassify_test): Test subnormal input.
669 (isfinite_test): Likewise.
670 (isnormal_test): Likewise.
671 (main): Call the new functions.
672
55f11534
JN
6732012-10-08 Jonathan Nieder <jrnieder@gmail.com>
674
675 [BZ #14660]
676 * Makerules (%.dynsym): Force C locale when running
677 $(OBJDUMP) --dynamic-syms.
678
1ab29350
AS
6792012-10-08 Andreas Schwab <schwab@linux-m68k.org>
680
681 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
682 <stdint.h>.
683
f1ecb7ef
DM
6842012-10-06 David S. Miller <davem@davemloft.net>
685
686 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
687 upper 32-bits of the length value in %o2 since we use branch-on-register
688 tests which consider the entire 64-bit register.
689
5d41d91a
L
6902012-10-06 H.J. Lu <hongjiu.lu@intel.com>
691
692 * string/test-strstr.c (check2): Add a test for page boundary.
693
3baddb72
DM
6942012-10-05 David S. Miller <davem@davemloft.net>
695
696 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
697 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
698 file.
699 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
700 sysdep_routines.
701 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
702 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
703 and bzero when HWCAP_SPARC_CRYPTO is present.
704
9cee5585
L
7052012-10-05 H.J. Lu <hongjiu.lu@intel.com>
706
d7e0dab9
L
707 [BZ #14602]
708 * string/test-strstr.c (check2): New function.
709 (test_main): Call check2.
710
03759f47
L
711 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
712 and bug-strchr1.
713 * string/bug-strcasestr1.c (do_test): Moved to ...
714 * string/test-strcasestr.c (check1): Here. New function.
715 (do_one_test): Break out result checking code into ...
716 (check_result): This. New function.
717 (do_one_test): Call check_result.
718 (test_main): Call check1.
719 * string/bug-strchr1.c (do_test): Moved to ...
720 * string/test-strchr.c (check1): Here. New function.
721 (do_one_test): Break out result checking code into ...
722 (check_result): This. New function.
723 (do_one_test): Call check_result.
724 (test_main): Call check1.
725 * string/bug-strstr1.c (main): Moved to ...
726 * string/test-strchr.c (check1): Here. New function.
727 (do_one_test): Break out result checking code into ...
728 (check_result): This. New function.
729 (do_one_test): Call check_result.
730 (test_main): Call check1.
731 * string/bug-strcasestr1.c: Removed.
732 * string/bug-strchr1.c: Likewise.
733 * string/bug-strstr1.c: Likewise.
734
53cea63e
L
735 * elf/Makefile (dl-routines): Add hwcaps.
736 * elf/dl-support.c (_dl_important_hwcaps): Removed.
737 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
738 (_dl_important_hwcaps): Moved to ...
739 * elf/dl-hwcaps.c: Here. New file.
740 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
741
9cee5585 742 [BZ #14557]
bb859b06
L
743 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
744 if IS_IN_rtld isn't defined.
745
9cee5585
L
746 * elf/dl-support.c (_dl_sysinfo_map): New.
747 Include "get-dynamic-info.h" and "setup-vdso.h".
748 (_dl_non_dynamic_init): Call setup_vdso.
749 * elf/dynamic-link.h: Don't include <assert.h>.
750 (elf_get_dynamic_info): Moved to ...
751 * elf/get-dynamic-info.h: Here. New file.
752 * elf/dynamic-link.h: Include "get-dynamic-info.h".
753 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
754 * elf/setup-vdso.h: Here. New file.
755 * elf/rtld.c: Include "setup-vdso.h".
756 (dl_main): Call setup_vdso.
757
23c31b76
JM
7582012-10-05 Joseph Myers <joseph@codesourcery.com>
759
28234b07
JM
760 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
761 creal in comment listing functions tested. List finite, isinf,
762 isnan, isless, islessequal, isgreater, isgreaterequal,
763 islessgreater, isunordered, lgamma_r and pow10 as functions and
764 macros not tested. Mention which functions not tested are aliases
765 for other functions. Fix typo. Note that signs of NaNs are not
766 tested.
767
23c31b76
JM
768 * scripts/config.guess: Update from config.git.
769 * scripts/config.sub: Likewise.
770
9043e228
RM
7712012-10-04 Roland McGrath <roland@hack.frob.com>
772
773 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
774 * misc/madvise.c (madvise): Renamed to __madvise.
775 Make madvise a weak alias.
776 * include/sys/mman.h: Declare __madvise.
777 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
778 * sysdeps/unix/syscalls.list
779 (madvise): Make __madvise the strong name, and madvise a weak alias.
780 * sysdeps/unix/sysv/linux/syscalls.list
781 (madvise, mmap): Remove redundant entries.
782 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
783 * malloc/malloc.c (mtrim): Likewise.
784 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
785
f57f8055
RM
7862012-10-03 Roland McGrath <roland@hack.frob.com>
787
788 * sysdeps/mach/hurd/dl-cache.c: File removed.
789 * config.h.in (USE_LDCONFIG): New #undef.
790 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
791 * configure: Regenerated.
792 * elf/Makefile (dl-routines): Add dl-cache only under
793 [$(use-ldconfig) = yes].
794 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
795 cache on [USE_LDCONFIG].
796 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
797 [USE_LDCONFIG].
798 * elf/rtld.c (dl_main): Likewise.
799
5bb0c10a
PT
8002012-10-03 Pino Toscano <toscano.pino@tiscali.it>
801
802 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
803 _SC_LEVEL4_CACHE_LINESIZE.
804
010188c6
RM
8052012-10-03 Roland McGrath <roland@hack.frob.com>
806
807 * sysdeps/unix/bsd/confstr.h: File removed.
808
b6c5ec07
AO
8092012-10-02 Alexandre Oliva <aoliva@redhat.com>
810
811 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
812 sys/sdt-config.h.
813
408223d4
RM
8142012-10-02 Roland McGrath <roland@hack.frob.com>
815
816 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
817 Make 'mapoff' field ElfW(Off) rather than off_t.
818
bb9510dc
DL
8192012-10-02 Dmitry V. Levin <ldv@altlinux.org>
820
fc997c6e
DL
821 * nscd/Makefile: Remove nscd-cflags and all its users.
822 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
823 (CFLAGS-nonlib): Add compiler flags for nscd modules.
824
bb9510dc
DL
825 [BZ #10631]
826 * malloc.c (malloc_printerr): Clarify error message.
827
05699367
L
8282012-10-02 H.J. Lu <hongjiu.lu@intel.com>
829
830 [BZ #14648]
831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
832 Set bit_FMA_Usable if FMA is supported.
833 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
834 macro.
835 (bit_FMA4_Usable): Updated.
836 (index_FMA_Usable): New macro.
837 (CPUID_FMA): Likewise
838 (HAS_FMA): Defined with bit_FMA_Usable.
839
51367701
RM
8402012-10-01 Roland McGrath <roland@hack.frob.com>
841
842 * bits/types.h (__swblk_t): Type removed.
843 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
844 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
846 (__SWBLK_T_TYPE): Likewise.
847 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
848 (__SWBLK_T_TYPE): Likewise.
849 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
850 (__SWBLK_T_TYPE): Likewise.
851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
852 (__SWBLK_T_TYPE): Likewise.
853
4d57bf63
JL
8542012-10-01 Patsy Franklin <pfrankli@redhat.com>
855 Honza Horak <hhorak@redhat.com>
856
857 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
858 (xdr_mapname): Use YPMAXMAP as maxsize.
859 (xdr_peername): Use YPMAXPEER as maxsize.
860 (xdr_keydat): Use YPAXRECORD as maxsize.
861 (xdr_valdat): Use YPMAXRECORD as maxsize.
862
93c65d43
RM
8632012-10-01 Roland McGrath <roland@hack.frob.com>
864
497a03d6
RM
865 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
866
93c65d43
RM
867 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
868 * csu/init-first.c: ... here.
869 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
870 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
871 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
872 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
873 * sysdeps/i386/init-first.c: File removed.
874 * sysdeps/sh/init-first.c: File removed.
875
bec749fd
JM
8762012-10-01 Joseph Myers <joseph@codesourcery.com>
877
878 [BZ #14645]
879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
880 if x * y might underflow to zero and z is zero.
881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
882 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
883 * math/libm-test.inc (min_subnorm_value): New variable.
884 (fma_test): Add more tests.
885 (fma_test_towardzero): Likewise.
886 (fma_test_downward): Likewise
887 (fma_test_upward): Likewise.
888 (initialize): Set min_subnorm_value.
889
8ec5b013
JM
8902012-09-29 Joseph Myers <joseph@codesourcery.com>
891
892 [BZ #14638]
893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
894 0 + 0.
895 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
896 mode for addition resulting in exact zero.
897 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
898 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
899 exact 0 + 0.
900 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
901 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
902 * math/libm-test.inc (fma_test): Add more tests.
903 (fma_test_towardzero): New function.
904 (fma_test_downward): Likewise.
905 (fma_test_upward): Likewise.
906 (main): Call the new functions.
907
b1fa802e
DM
9082012-09-28 David S. Miller <davem@davemloft.net>
909
910 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
911
d3b9fd9e
RM
9122012-09-28 Roland McGrath <roland@hack.frob.com>
913
ea4d37b3
RM
914 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
915 instead of SIGALRM.
916
ac51c949
RM
917 * sysdeps/gnu/_G_config.h: Moved to ...
918 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
919 * sysdeps/mach/hurd/_G_config.h: Moved to ...
920 * sysdeps/generic/_G_config.h: ... here.
921
28c195f7
RM
922 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
923
848917f9
RM
924 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
925
6bacf05b
RM
926 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
927 Conditionalize target on [libnss_test1.so-version].
928
91363dbb
RM
929 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
930
cc87f7d8
RM
931 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
932 (elfobjdir): Move out of conditionals.
933
b1c608fe
RM
934 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
935 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
936 (__nss_lookup_function): Conditionalize label remove_from_tree on
937 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 938
1d9a6d96
DM
9392012-09-28 David S. Miller <davem@davemloft.net>
940
941 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
942 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
943 file.
944 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
945 sysdep_routines.
946 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
948 when HWCAP_SPARC_CRYPTO is present.
949
72581615
PT
9502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
951
952 * io/tst-mknodat.c: Create a FIFO instead of a socket.
953
715a900c
JL
9542012-09-28 Andreas Schwab <schwab@linux-m68k.org>
955
956 [BZ #6530]
957 * stdio-common/vfprintf.c (process_string_arg): Revert
958 2000-07-22 change.
959
9602011-09-28 Jonathan Nieder <jrnieder@gmail.com>
961
962 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
963 for testcase.
964 * stdio-common/tst-sprintf.c: Include <locale.h>
965 (main): Test sprintf's handling of incomplete multibyte
966 characters.
967
9bac1d86
L
9682012-09-28 H.J. Lu <hongjiu.lu@intel.com>
969
970 * elf/dl-runtime.c (VERSYMIDX): Removed.
971 * elf/dl-version.c (VERSYMIDX): Likewise.
972 * elf/do-rel.h (VERSYMIDX): Likewise.
973 (VALIDX): Likewise.
974 * elf/dynamic-link.h (VERSYMIDX): Likewise.
975 * elf/rtld.c (VALIDX): Likewise.
976 (ADDRIDX): Likewise.
9bac1d86
L
977 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
978 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
979 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
980 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
981 (VALIDX): Likewise.
982 (ADDRIDX): Likewise.
9bac1d86 983
b31606c0
PT
9842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
985
986 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
987
11541177
JL
9882012-09-28 Dmitry V. Levin <ldv@altlinux.org>
989
990 [BZ #11438]
991 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
992 to global scope.
993 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
994 addresses are in the same scope as 192.0.2/24.
995 * posix/gai.conf: Document new scope table defaults.
996
adb26fae
SP
9972012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
998
999 [BZ #5298]
1000 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1001 for ftell. Compute offsets from write pointers instead.
1002 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1003
4573c6b0
SP
10042012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1005
1006 [BZ #14543]
1007 * libio/Makefile (tests): New test case tst-fseek.
1008 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1009 combination works in wide mode.
1010 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1011 state when the external buffer state changes.
1012
aa9bbfe6
DM
10132012-09-27 David S. Miller <davem@davemloft.net>
1014
1015 [BZ #14376]
1016 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1017 pass reloc->r_addend in as the 'high' argument to
1018 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1019
784421e7
DM
1020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1021
c39bc8b8
PT
10222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1023
1024 * rt/tst-aio2.c: Include <pthread.h>.
1025 * rt/tst-aio3.c: Likewise.
1026
1ccc2399
SE
10272012-09-27 Steve Ellcey <sellcey@mips.com>
1028
1029 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1030
31ed4153
L
10312012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1032
25f5f885
L
1033 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1034 contents on [SHARED].
31ed4153 1035
b7bfe116
MP
10362012-09-26 Marek Polacek <polacek@redhat.com>
1037
1038 [BZ #14530]
1039 [BZ #13741]
1040 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1041 for C++ and GCC <4.3 as well as for non GCC compilers.
1042
43c4edba
MT
10432012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1044
1045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1046
6a1bf82f
RM
10472012-09-25 Roland McGrath <roland@hack.frob.com>
1048
1049 * Makefile.in (all, install): Declare with .PHONY.
1050 Reported by Michael Hope <michael.hope@linaro.org>.
1051
8ad11b9a
TMQMF
10522012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1053
1054 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1055 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1056 system header.
1057 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1058 Likewise.
1059 (sydep_routines): Add the new and the internal functions.
1060 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1061 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1063 (GLIBC_2.17): Add the new function.
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1065 (GLIBC_2.17): Likewise.
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1067 (GLIBC_2.17): Likewise.
1068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1069 (GLIBC_2.17): Likewise.
1070 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1071
7e2fca8d
AM
10722012-09-25 Alan Modra <amodra@gmail.com>
1073
1074 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1075 Add release barrier before setting once_control to say
1076 initialisation is done. Add hints on lwarx. Use macro in
1077 place of isync.
1078 (clear_once_control): Add release barrier.
1079
b87c4b24
JM
10802012-09-25 Joseph Myers <joseph@codesourcery.com>
1081
d032e0d2
JM
1082 [BZ #13629]
1083 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1084 specially.
1085 * math/s_clog10.c (__clog10): Likewise.
1086 * math/s_clog10f.c (__clog10f): Likewise.
1087 * math/s_clog10l.c (__clog10l): Likewise.
1088 * math/s_clogf.c (__clogf): Likewise.
1089 * math/s_clogl.c (__clogl): Likewise.
1090 * math/Makefile (libm-calls): Add x2y2m1.
1091 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1092 (__x2y2m1): Likewise.
1093 (__x2y2m1l): Likewise.
1094 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1095 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1096 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1097 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1098 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1099 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1100 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1101 * sysdeps/i386/fpu/libm-test-ulps: Update.
1102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1103
b87c4b24
JM
1104 [BZ #14621]
1105 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1106 int as type of variable DEPTH.
1107 (glob): Use size_t instead of int as type of variables NEWCOUNT
1108 and OLD_PATHC.
1109
6d3bf199
LD
11102012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1111
22bf5c17
LD
1112 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1113 Add s_sincosf-sse2.
1114 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1115 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1116 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1117 macros for using routine as __sincosf_ia32.
1118 Use macro for function declaration and weak_alias.
1119 * sysdeps/i386/fpu/libm-test-ulps: Update.
1120
1121 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1123
1124 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1125 subnormal argument.
1126 * math/s_cexpf.c (__cexpf): Likewise.
1127 * math/s_csinf.c (__csinf): Likewise.
1128 * math/s_csinhf.c (__csinhf): Likewise.
1129 * math/s_ctanf.c (__ctanf): Likewise.
1130 * math/s_ctanhf.c (__ctanhf): Likewise.
1131 * math/s_ccosh.c (__ccoshf): Likewise.
1132 * math/s_cexp.c (__cexpl): Likewise.
1133 * math/s_csin.c (__csin): Likewise.
1134 * math/s_csinh.c (__csinh): Likewise.
1135 * math/s_ctan.c (__ctan): Likewise.
1136 * math/s_ctanh.c (ctanh): Likewise.
1137 * math/s_ccoshl.c (__ccoshl): Likewise.
1138 * math/s_cexpl.c (__cexpl): Likewise.
1139 * math/s_csinl.c (__csinl): Likewise.
1140 * math/s_csinhl.c (__csinhl): Likewise.
1141 * math/s_ctanl.c (__ctanl): Likewise.
1142 * math/s_ctanhl.c (__ctanhl): Likewise.
1143
203e5603
JM
11442012-09-25 Joseph Myers <joseph@codesourcery.com>
1145
1146 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1147 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1148 (_IO_off_t): Define to __off_t, not _G_off_t.
1149 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1150 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1151 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1152 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1153 type of __dummy and __dummy2 fields.
1154 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1155 (_G_ssize_t): Likewise.
1156 (_G_off_t): Likewise.
1157 (_G_pid_t): Likewise.
1158 (_G_uid_t): Likewise.
1159 (_G_wchar_t): Likewise.
1160 (_G_wint_t): Likewise.
1161 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1162 (_G_ssize_t): Likewise.
1163 (_G_off_t): Likewise.
1164 (_G_pid_t): Likewise.
1165 (_G_uid_t): Likewise.
1166 (_G_wchar_t): Likewise.
1167 (_G_wint_t): Likewise.
1168 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1169 (_G_ssize_t): Likewise.
1170 (_G_off_t): Likewise.
1171 (_G_pid_t): Likewise.
1172 (_G_uid_t): Likewise.
1173 (_G_wchar_t): Likewise.
1174 (_G_wint_t): Likewise.
1175
9fab36eb
SP
11762012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1177
1178 * malloc/arena.c: Include malloc-sysdep.h.
1179 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1180 is sufficient to shrink the heap or an unmap is needed.
1181 * sysdeps/generic/malloc-sysdep.h: New file. Define
1182 new function check_may_shrink_heap.
1183 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1184 new function check_may_shrink_heap.
1185
2b4f00d1
SP
11862012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1187
1188 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1189 comments.
1190
9a9028b1
DL
11912012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1192
57c69bef
DL
1193 * catgets/test-gencat.sh: Add "set -e".
1194 * elf/tst-pathopt.sh: Likewise.
1195 * grp/tst_fgetgrent.sh: Likewise.
1196 * iconvdata/run-iconv-test.sh: Likewise.
1197 * intl/tst-gettext.sh: Likewise.
1198 * intl/tst-gettext2.sh: Likewise.
1199 * intl/tst-gettext4.sh: Likewise.
1200 * intl/tst-gettext6.sh: Likewise.
1201 * intl/tst-translit.sh: Likewise.
1202 * io/ftwtest-sh: Likewise.
1203 * libio/test-freopen.sh: Likewise.
1204 * malloc/tst-mtrace.sh: Likewise.
1205 * posix/globtest.sh: Likewise.
1206 * posix/tst-getconf.sh: Likewise.
1207 * posix/wordexp-tst.sh: Likewise.
1208 * stdio-common/tst-printf.sh: Likewise.
1209 * stdio-common/tst-unbputc.sh: Likewise.
1210 * stdlib/tst-fmtmsg.sh: Likewise.
1211 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1212 * catgets/Makefile: Do not specify -e option when running
1213 testsuite shell scripts.
1214 * elf/Makefile: Likewise.
1215 * grp/Makefile: Likewise.
1216 * iconvdata/Makefile: Likewise.
1217 * intl/Makefile: Likewise.
1218 * io/Makefile: Likewise.
1219 * libio/Makefile: Likewise.
1220 * malloc/Makefile: Likewise.
1221 * posix/Makefile: Likewise.
1222 * stdio-common/Makefile: Likewise.
1223 * stdlib/Makefile: Likewise.
1224 * sysdeps/x86_64/Makefile: Likewise.
1225
9a9028b1
DL
1226 * io/ftwtest-sh: Add copyright header.
1227 * posix/globtest.sh: Likewise.
1228 * posix/tst-getconf.sh: Likewise.
1229 * posix/wordexp-tst.sh: Likewise.
1230 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1231
ced6f16e
L
12322012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1233
94b32c39
L
1234 [BZ #13679]
1235 * Makeconfig (+link): Defined as $(+link-static) if
1236 $(build-shared) isn't yes.
1237 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1238 isn't yes.
1239 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1240
189e935b
L
1241 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1242
ced6f16e
L
1243 [BZ #14562]
1244 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1245 new chunk size with MALLOC_ALIGN_MASK.
1246
a9f8e53a
JM
12472012-09-24 Joseph Myers <joseph@codesourcery.com>
1248
1249 [BZ #5044]
1250 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1251 <rounding-mode.h>.
1252 (__printf_fphex): Determine rounding using get_rounding_mode and
1253 round_away.
1254 * stdio-common/tst-printf-round.c (struct hex_test): New
1255 structure.
1256 (hex_tests): New variable.
1257 (test_hex_in_one_mode): New function.
1258 (do_test): Also run tests for hex float output.
1259
43153109
JM
12602012-09-21 Joseph Myers <joseph@codesourcery.com>
1261
1262 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1263 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1264 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1265 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1266 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1267 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1268 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1269 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1270
8a26625d
JM
12712012-09-20 Joseph Myers <joseph@codesourcery.com>
1272
1273 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1274 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1275 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1276 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1277
f3fd569c
DL
12782012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1279
1280 [BZ #14579]
1281 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1282 mode only.
1283 * elf/tst-rtld-load-self.sh: New test.
1284 * elf/Makefile: Run it.
1285
63bbedd4
JM
12862012-09-18 Joseph Myers <joseph@codesourcery.com>
1287
1288 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1289 (tst-writev-ENV): Remove.
1290 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1291
626f8b6a
CM
12922012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1293
1294 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1295
b7aaa4d6
JM
12962012-09-17 Joseph Myers <joseph@codesourcery.com>
1297
1298 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1299 unconditional.
1300 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1301 Likewise.
1302 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1303 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1304 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1305 Likewise.
1306
65513990
L
13072012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1308
1309 [BZ #14587]
1310 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1311 * config.make.in (have-cpp-asm-debuginfo): Removed.
1312 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1313 * configure: Regenerated.
1314
784761be
JM
13152012-09-14 Joseph Myers <joseph@codesourcery.com>
1316
1317 [BZ #5044]
1318 * stdio-common/printf_fp.c: Include <stdbool.h> and
1319 <rounding-mode.h>.
1320 (___printf_fp): Determine rounding using get_rounding_mode and
1321 round_away.
1322 * stdio-common/tst-printf-round.c: New file.
1323 * stdio-common/Makefile (tests): Add tst-printf-round.
1324 (link-libm): New variable.
1325 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1326
9503345f
L
13272012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1328
1329 [BZ #14576]
1330 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1331 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1332 Likewise.
1333 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1334 Likewise.
1335
ad35fc00
JM
13362012-09-13 Joseph Myers <joseph@codesourcery.com>
1337
1338 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1339 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1340 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1341 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1342
6c9b0f68
JM
13432012-09-12 Joseph Myers <joseph@codesourcery.com>
1344
1345 [BZ #14518]
1346 * include/rounding-mode.h: New file.
1347 * sysdeps/generic/get-rounding-mode.h: Likewise.
1348 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1349 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1350 (MAX_VALUE): New macro.
1351 (MIN_VALUE): Likewise.
1352 (overflow_value): New function.
1353 (underflow_value): Likewise.
1354 (round_and_return): Use overflow_value and underflow_value to
1355 determine return values in overflow and underflow cases. Use
1356 round_away to determine rounding depending on rounding mode.
1357 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1358 determine return values in overflow and underflow cases.
1359 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1360 (struct test_results): New structure.
1361 (struct test): Use struct test_results to store expected results
1362 for all rounding modes.
1363 (TEST): Include expected results for all rounding modes.
1364 (test_in_one_mode): New function.
1365 (do_test): Use test_in_one_mode to compute and check results.
1366 Check results for all rounding modes.
1367 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1368 $(link-libm).
1369
19fcedd5
AM
13702012-12-09 Allan McRae <allan@archlinux.org>
1371
1372 * sysdeps/i386/fpu/libm-test-ulps: Update
1373
8bbfd2f1
JM
13742012-09-11 Joseph Myers <joseph@codesourcery.com>
1375
1376 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1377 (_G_int32_t): Likewise.
1378 (_G_uint16_t): Likewise.
1379 (_G_uint32_t): Likewise.
1380 (_G_HAVE_BOOL): Likewise.
1381 (_G_HAVE_ATEXIT): Likewise.
1382 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1383 (_G_HAVE_IO_FILE_OPEN): Likewise.
1384 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1385 (_G_int32_t): Likewise.
1386 (_G_uint16_t): Likewise.
1387 (_G_uint32_t): Likewise.
1388 (_G_HAVE_BOOL): Likewise.
1389 (_G_HAVE_ATEXIT): Likewise.
1390 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1391 (_G_HAVE_IO_FILE_OPEN): Likewise.
1392 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1393 (_G_int32_t): Likewise.
1394 (_G_uint16_t): Likewise.
1395 (_G_uint32_t): Likewise.
1396 (_G_HAVE_BOOL): Likewise.
1397 (_G_HAVE_ATEXIT): Likewise.
1398 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1399 (_G_HAVE_IO_FILE_OPEN): Likewise.
1400
b1dc5912
L
14012012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1402
1403 * csu/libc-tls.c: Update copyright years.
1404
0e886ef9
JM
14052012-09-10 Joseph Myers <joseph@codesourcery.com>
1406
28361c5e
JM
1407 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1408 [!_G_USING_THUNKS]: Remove conditional code.
1409 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1410 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1411
0e886ef9
JM
1412 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1413 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1414 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1415 (_G_VTABLE_LABEL_PREFIX): Likewise.
1416 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1417 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1418 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1419 (_G_VTABLE_LABEL_PREFIX): Likewise.
1420 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1421 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1422 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1423 (_G_VTABLE_LABEL_PREFIX): Likewise.
1424 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1425
bcba7aa2
L
14262012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1427
1428 * libio/Makefile: Include ../Makeconfig before tests.
1429 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1430 only if $(build-shared) is yes.
1431
06585ee8
L
1432 * iconv/gconv_db.c: Update copyright years.
1433
80ccd52c
LD
14342012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1435
1436 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1437 unwind info if defined PIC. Fix special cases description.
1438 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1439
1440 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1441 DP_HI_MASK entry.
1442 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1443
691bc9c1
L
14442012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1445
3d9b46b3
L
1446 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1447
de2139a9
L
1448 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1449 is NULL.
1450
5ca78dd0
L
1451 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1452 (LDLIBS-tst-chk4): This.
1453 (LDFLAGS-tst-chk5): Renamed to ...
1454 (LDLIBS-tst-chk5): This.
1455 (LDFLAGS-tst-chk6): Renamed to ...
1456 (LDLIBS-tst-chk6): This.
1457 (LDFLAGS-tst-lfschk4): Renamed to ...
1458 (LDLIBS-tst-lfschk4): This.
1459 (LDFLAGS-tst-lfschk5): Renamed to ...
1460 (LDLIBS-tst-lfschk5): This.
1461 (LDFLAGS-tst-lfschk6): Renamed to ...
1462 (LDLIBS-tst-lfschk6): This.
1463
691bc9c1
L
1464 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1465 on $(common-objpfx)soversions.mk.
1466
65cafb1c
JM
14672012-09-07 Joseph Myers <joseph@codesourcery.com>
1468
1469 [BZ #10014]
1470 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1471 example host name.
1472
c78ab094
SP
14732012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1474
1475 * malloc/arena.c (arena_get_retry): New function that gets
1476 another arena for the caller to try its request on.
1477 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1478 current arena cannot fulfill the request.
1479 (__libc_memalign): Likewise.
1480 (__libc_memalign): Likewise.
1481 (__libc_pvalloc): Likewise.
1482 (__libc_calloc): Likewise.
1483
01f49f59
JT
14842012-09-05 John Tobey <john.tobey@gmail.com>
1485
1486 [BZ #13542]
1487 * manual/arith.texi (Operations on Complex): Fix description
1488 of carg branch cut.
1489
4c23fed5
JM
14902012-09-06 Joseph Myers <joseph@codesourcery.com>
1491
1d3c8572
JM
1492 [BZ #10014]
1493 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1494 host name.
1495
4c23fed5
JM
1496 [BZ #10038]
1497 * manual/memory.texi (Memory): Make order of menu items match
1498 order of sections.
1499
04570aaa
L
15002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1501
1502 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1503 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1504 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1505
b80af2f4
L
15062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1507
1508 * csu/libc-tls.c (static_dtv): Renamed to ...
1509 (_dl_static_dtv): This. Make it global.
1510 (_dl_initial_dtv): Removed.
1511 (__libc_setup_tls): Updated.
1512 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1513 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1514 DL_INITIAL_DTV.
1515
2abe9f15
PM
15162012-09-06 Petr Machata <pmachata@redhat.com>
1517
1518 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1519 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1520 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1521 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1522
0948c3af
L
15232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1524
1525 [BZ #14545]
1526 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1527 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1528 freeing dtv[-1].
1529
a5055ad1
L
15302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1531
1532 [BZ #14544]
1533 * Makeconfig (link-static-before-libc): Replace $(+prector)
1534 with $(+prectorT).
1535 (link-static-after-libc): Replace $(+postctor) with
1536 $(+postctorT).
1537 (link-bounded): Replace $(+prector)/$(+postctor) with
1538 $(+prectorT)/$(+postctorT).
1539 (+prectorT): New macro.
1540 (+postctorT): Likewise.
1541
ed8c2ecd
JM
15422012-09-06 Joseph Myers <joseph@codesourcery.com>
1543
1544 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1545 (round_str): Handle values above the maximum for IBM long double
1546 as inexact.
1547 * stdlib/tst-strtod-round.c (tests): Regenerated.
1548
14c996c8
AK
15492012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1550
1551 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1552 assembler flag.
1553 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1554 zarch_nohighgprs around the zarch optimized routines.
1555 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1556 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1557 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1558 for zarch.
1559
430d6ce6
DM
15602012-09-05 David S. Miller <davem@davemloft.net>
1561
1562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1563
ff04dda4
DM
1564 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1565 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1566 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1567 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1568 entries.
1569
24d4e01b
AO
15702012-09-05 Alexandre Oliva <aoliva@redhat.com>
1571
1572 * malloc/arena.c: Fold copyright years.
1573 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1574
61d58174
AO
15752012-09-05 Alexandre Oliva <aoliva@redhat.com>
1576
1577 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1578
20196a5e
AO
15792012-09-05 Alexandre Oliva <aoliva@redhat.com>
1580
1581 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1582
5c447383
AO
15832012-09-05 Alexandre Oliva <aoliva@redhat.com>
1584
1585 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1586 change internal state upon failure.
1587
fad64255
AO
15882012-09-05 Alexandre Oliva <aoliva@redhat.com>
1589
1590 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1591 * malloc/memusage.c (mmap): Likewise.
1592 (mmap64, mremap): Likewise. Adjust name in comment.
1593
1ffb8c90
SP
15942012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1595
1596 * libio/fileops.c: Fix typos in comments.
1597 * libio/oldfileops.c: Likewise.
1598 * libio/wfileops.c: Likewise.
1599
6ef9cc37
SP
16002012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1601
1602 [BZ #1349]
1603 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1604 (tst-malloc-usable-ENV): Set environment for test case.
1605 * malloc/hooks.c (malloc_check_get_size): New function to get
1606 requested size.
1607 * malloc/malloc.c (musable): Use malloc_check_get_size.
1608 * malloc/tst-malloc-usable.c: New test case.
1609
4d038ae3
AS
16102012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1611
1612 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1613
c4e85184
AM
16142012-09-05 Allan McRae <allan@archlinux.org>
1615
b9dafc56 1616 [BZ #13966]
c4e85184
AM
1617 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1618 determine header location.
1619 * configure: Regenerated.
1620
e1343020
AS
16212012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1622
1623 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1624 float format.
1625 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1626 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1627 format.
e1343020
AS
1628 (test): Regenerate.
1629
0a9f1987
DM
16302012-09-04 David S. Miller <davem@davemloft.net>
1631
1632 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1633 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1634 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1635
29237804
FW
16362012-09-04 Florian Weimer <fweimer@redhat.com>
1637
1638 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1639 failures.
1640
edb3cb88
FW
1641 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1642
60160d83
JM
16432012-09-04 Joseph Myers <joseph@codesourcery.com>
1644
1645 [BZ #9914]
1646 * libio/iogetdelim.c: Include <limits.h>.
1647 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1648 + len + 1 would overflow.
1649
bcd6c8dc
AJ
16502012-09-03 Andreas Jaeger <aj@suse.de>
1651
1652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1653 * sysdeps/i386/fpu/libm-test-ulps: Update.
1654
4ffffbd2
LD
16552012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1656
1657 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1658 Add s_sinf-sse2, s_conf-sse2.
1659
1660 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1661 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1662 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1663 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1664
1665 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1666 for using routine as __sinf_ia32.
1667 Use macro for function declaration and weak_alias.
1668 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1669 for using routine as __cosf_ia32.
1670 Use macro for function declaration and weak_alias.
1671
1672 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1673 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1674
1675 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1676 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1678
1679 * math/libm-test.inc (cos_test): Add more test cases.
1680 (sin_test): Likewise.
1681 (sincos_test): Likewise.
1682
511fa286
AK
16832012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1684
1685 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1686 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1687 hidden.
1688 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1689
5f30cfec
L
16902012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1691
1692 [BZ #14538]
1693 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1694 first element of the GOT.
1695 (elf_machine_load_address): Return the difference between
1696 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1697
0786794f
AM
16982012-09-01 Allan McRae <allan@archlinux.org>
1699
5f30cfec
L
1700 [BZ #13412]
1701 * configure.in (AWK): Require gawk version 3.0 or later.
1702 * configure: Regenerated.
0786794f 1703
26889eac
JM
17042012-09-01 Joseph Myers <joseph@codesourcery.com>
1705
1706 * sysdeps/unix/sysv/linux/kernel-features.h
1707 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1708 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1709 [__NR_clock_getres]: Make code unconditional.
1710 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1711 (clock_getcpuclockid): Remove code left unreachable by removal of
1712 conditionals.
1713 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1714 code unconditional.
1715 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1716 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1717 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1718 Make code unconditional.
1719 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1720 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1721 * sysdeps/unix/sysv/linux/clock_settime.c
1722 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1723 conditional code.
1724 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1725 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1726
d22e28b0
L
17272012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1728
1729 [BZ #14476]
1730 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1731 scripts/test-installation.pl.
1732
1733 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1734 and $ld_so_version if it is set.
1735
050af9c4
SP
17362012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1737
1738 [BZ #14516]
1739 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1740 failure if reading from procfs failed.
1741 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1742
ad845c0b
JM
17432012-08-27 Joseph Myers <joseph@codesourcery.com>
1744
1745 * sysdeps/unix/sysv/linux/kernel-features.h
1746 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1747 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1748 Remove conditional code.
1749 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1750 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1751 Remove conditional code.
1752 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1753 * sysdeps/unix/sysv/linux/i386/fxstat.c
1754 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1755 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1756 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1757 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1758 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1759 * sysdeps/unix/sysv/linux/i386/lxstat.c
1760 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1761 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1762 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1763 Remove conditional code.
1764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1765 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1766 Remove conditional code.
1767 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1768 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1769 <kernel-features.h>.
1770 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1771 Remove.
1772 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1773 Remove conditional code.
1774 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1775 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1776 Remove conditional.
1777
5dbf56af
MF
17782012-08-27 Mike Frysinger <vapier@gentoo.org>
1779
1780 [BZ #5400]
1781 * NEWS: Add fixed bug number.
1782
d6e70f43
JM
17832012-08-27 Joseph Myers <joseph@codesourcery.com>
1784
7efb4737
JM
1785 [BZ #14519]
1786 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1787 underflowing exponent in case of negative sign.
1788 * stdlib/tst-strtod-round-data: Add more tests.
1789 * stdlib/tst-strtod-round.c (tests): Regenerated.
1790
af92131a
JM
1791 [BZ #3479]
1792 * stdlib/strtod_l.c (NDIG): Remove.
1793 (HEXNDIG): Likewise.
1794 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1795 smallest representable value.
1796 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1797 lie within an exact representation of 1/2 ulp of the result.
1798 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1799 unconditionally.
1800 (TENS_P9_IDX): Define unconditionally.
1801 (TENS_P9_SIZE): Likewise.
1802 (TENS_P10_IDX): Likewise.
1803 (TENS_P10_SIZE): Likewise.
1804 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1805 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1806 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1807 entries for 10^2^13 and 10^2^14.
1808 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1809 (TENS_P13_IDX): Define.
1810 (TENS_P13_SIZE): Likewise.
1811 (TENS_P14_IDX): Likewise.
1812 (TENS_P14_SIZE): Likewise.
1813 (_fpioconst_pow10): Change array size to
1814 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1815 unconditional.
1816 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1817 1024]: Add entries for 10^2^13 and 10^2^14.
1818 [LAST_POW10 > _LAST_POW10]: Remove #error.
1819 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1820 (_fpioconst_pow10): Change array size to
1821 FPIOCONST_POW10_ARRAY_SIZE.
1822 * stdlib/gen-fpioconst.c: New file.
1823 * stdlib/gen-tst-strtod-round.c: Likewise.
1824 * stdlib/tst-strtod-round-data: Likewise.
1825 * stdlib/tst-strtod-round.c: Likewise.
1826 * stdlib/Makefile (tests): Add tst-strtod-round.
1827
d6e70f43
JM
1828 [BZ #14459]
1829 * stdlib/strtod_l.c: Include <stdint.h>.
1830 (NDEBUG): Do not define.
1831 (round_and_return): Change EXPONENT parameter to type intmax_t.
1832 Rearrange calculations to avoid internal overflow possibilities.
1833 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1834 Rearrange calculations to avoid internal overflow possibilities.
1835 Assert that number fits inside MPNSIZE limbs.
1836 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1837 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1838 calculations and add assertions to avoid internal overflow
1839 possibilities. Add casts to avoid signed/unsigned operations.
1840 * stdlib/tst-strtod-overflow.c: New file.
1841 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1842
1f529f7d
MP
18432012-08-25 Marek Polacek <polacek@redhat.com>
1844
1845 * time/time.h: Fix some typos in comments.
1846
59a629f1
RM
18472012-08-23 Roland McGrath <roland@hack.frob.com>
1848
1849 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1850 * posix/tst-rfc3484-2.c: Likewise.
1851 * posix/tst-rfc3484-3.c: Likewise.
1852
d3bafbc9
SM
18532012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1854
1855 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1856 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1857
4efcc022
JM
18582012-08-23 Joseph Myers <joseph@codesourcery.com>
1859
1860 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1861 #include of fxstatat64.c.
1862
3cc3ef96
RM
18632012-08-22 Roland McGrath <roland@hack.frob.com>
1864
f04e2132
RM
1865 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1866 * shadow/getspent_r.c: Likewise.
1867 * shadow/getspnam.c: Likewise.
1868 * shadow/getspnam_r.c: Likewise.
1869 * gshadow/getsgent.c: Likewise.
1870 * gshadow/getsgent_r.c: Likewise.
1871 * gshadow/getsgnam.c: Likewise.
1872 * gshadow/getsgnam_r.c: Likewise.
1873 * inet/getnetbyad.c: Likewise.
1874 * inet/getnetbyad_r.c: Likewise.
1875 * inet/getnetbynm.c: Likewise.
1876 * inet/getnetbynm_r.c: Likewise.
1877 * inet/getnetent.c: Likewise.
1878 * inet/getnetent_r.c: Likewise.
1879 * inet/getproto.c: Likewise.
1880 * inet/getproto_r.c: Likewise.
1881 * inet/getprtent.c: Likewise.
1882 * inet/getprtent_r.c: Likewise.
1883 * inet/getprtname.c: Likewise.
1884 * inet/getprtname_r.c: Likewise.
1885 * inet/getrpcbyname.c: Likewise.
1886 * inet/getrpcbyname_r.c: Likewise.
1887 * inet/getrpcbynumber.c: Likewise.
1888 * inet/getrpcbynumber_r.c: Likewise.
1889 * inet/getrpcent.c: Likewise.
1890 * inet/getrpcent_r.c: Likewise.
1891 * inet/getaliasent.c: Likewise.
1892 * inet/getaliasent_r.c: Likewise.
1893 * inet/getaliasname.c: Likewise.
1894 * inet/getaliasname_r.c: Likewise.
1895 * nscd/getgrgid_r.c: Likewise.
1896 * nscd/getgrnam_r.c: Likewise.
1897 * nscd/gethstbyad_r.c: Likewise.
1898 * nscd/gethstbynm3_r.c: Likewise.
1899 * nscd/getpwnam_r.c: Likewise.
1900 * nscd/getpwuid_r.c: Likewise.
1901 * nscd/getsrvbynm_r.c: Likewise.
1902 * nscd/getsrvbypt_r.c: Likewise.
1903 * nscd/gai.c: Likewise.
1904
c53d909c
RM
1905 * configure.in (build_nscd): New substituted variable, set
1906 by --disable-build-nscd and defaults to $use_nscd.
1907 * configure: Regenerated.
1908 * config.make.in (build-nscd): New substituted variable.
1909 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1910 Change conditional to require [$(build-nscd) = yes] as well.
1911 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1912
3cc3ef96
RM
1913 [BZ# 13696]
1914 * configure.in (use_nscd): New substituted variable, set by
1915 --disable-nscd. If enabled, define USE_NSCD.
1916 * configure: Regenerated.
1917 * config.h.in: Add USE_NSCD.
1918 * config.make.in (use-nscd): New substituted variable.
1919 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1920 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1921 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1922 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1923 (CFLAGS-getgrnam_r.c): Likewise.
1924 (CFLAGS-initgroups.c): Likewise.
1925 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1926 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1927 Variables removed.
1928 * inet/getnetgrent_r.c
1929 (nscd_setnetgrent): New function, broken out of ...
1930 (setnetgrent): ... here. Call it.
1931 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1932 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1933 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1934 * nscd/Makefile (routines, aux): Move definitions after include of
1935 Makeconfig. Conditionalize on [$(use-nscd) != no].
1936 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1937 Conditionalize on [USE_NSCD].
1938 (is_nscd, nscd_init_cb): Likewise.
1939 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1940 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1941 * nss/nss_db/db-init.c: Likewise.
1942 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1943 [USE_NSCD].
1944 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1945 (make_request): Use it.
1946 (cache_valid_p): New function.
1947 (__check_pf): Use it.
1948 * NEWS: Add item for --disable-nscd.
1949
07e51550
DL
19502012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1951
1952 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1953 to support sed >= 4.2.1-20-ga9bf076.
1954 * configure: Regenerated.
1955
35a5b08b
RM
19562012-08-22 Roland McGrath <roland@hack.frob.com>
1957
1958 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1959 Conditionalize whole body on [IREL].
1960
8479f23a
JL
19612012-08-22 Jeff Law <law@redhat.com>
1962
1963 [BZ #14505]
1964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1965 if the family is PF_UNSPEC.
1966
48da0b21
MF
19672012-08-22 Mike Frysinger <vapier@gentoo.org>
1968
1969 * Makerules (lib-version): Rename from V.
1970 (install-lib-nosubdir): Change V to lib-version.
1971
15d0da8c
WS
19722012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1973
1974 [BZ #14252]
1975 * powerpc32/power6/wcschr.c: New file.
1976 * powerpc32/power6/wcscpy.c: New file.
1977 * powerpc32/power6/wcsrchr.c: New file.
1978 * powerpc64/power6/wcschr.c: New file.
1979 * powerpc64/power6/wcscpy.c: New file.
1980 * powerpc64/power6/wcsrchr.c: New file.
1981
bcca0895
MK
19822012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1983
1984 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1985 (two_way_short_needle): Use it.
5a4aaa33
RM
1986 * string/strstr.c (AVAILABLE1_USES_J): Define.
1987 * string/strcasestr.c: Likewise.
99677e57
MK
1988
1989 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1990 array references.
1991 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1992
400726de
MK
1993 [BZ #11607]
1994 * NEWS: Add an entry.
1995 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1996 define their defaults.
1997 (two_way_short_needle): Detect end-of-string on-the-fly.
1998 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1999 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2000 * string/bug-strcasestr1.c: New test.
2001 * string/Makefile: Run it.
2002
20a71f2c
MK
20032012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2004
2005 [BZ #11607]
2006 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2007 the first character.
2008
21ad0558
RM
20092012-08-21 Roland McGrath <roland@hack.frob.com>
2010
2011 * csu/elf-init.c (__libc_csu_irel): Function removed.
2012 * csu/libc-start.c (apply_irel): New function.
2013 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2014
0e1d9911
JM
20152012-08-21 Joseph Myers <joseph@codesourcery.com>
2016
2017 * sysdeps/unix/sysv/linux/kernel-features.h
2018 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2019 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2020 <kernel-features.h>.
2021 [__NR_fadvise64_64]: Make code unconditional.
2022 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2023 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2024 !__NR_fadvise64_64)]: Likewise.
2025 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2026 !__NR_fadvise64_64))]: Likewise.
2027 [__NR_fadvise64]: Make code unconditional.
2028 [!__NR_fadvise64]: Remove conditional code.
2029 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2030 <kernel-features.h>.
2031 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2032 unconditional.
2033 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2034 conditional code.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2036 not include <kernel-features.h>.
2037 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2038 unconditional.
2039 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2040 conditional code.
2041 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2042 include <kernel-features.h>.
2043 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2044 unconditional.
2045 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2046 conditional code.
2047
14a50c9d
WS
20482012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2049
2050 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2051 slight instruction rearrangements per scrollpipe analysis.
2052 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2053
c0f4faf0
RM
20542012-08-20 Roland McGrath <roland@hack.frob.com>
2055
696da859
RM
2056 * manual/syslog.texi (syslog; vsyslog, closelog):
2057 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2058 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2059
c0f4faf0
RM
2060 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2061 DSOCAPS to match condition on defining it.
2062
348363b2
JM
20632012-08-20 Joseph Myers <joseph@codesourcery.com>
2064
a35cbf28
JM
2065 * sysdeps/unix/sysv/linux/kernel-features.h
2066 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2068 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2069 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2071 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2072 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2074 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2075 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2076
445f7ecd
JM
2077 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2078 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2079
348363b2
JM
2080 * sysdeps/unix/sysv/linux/kernel-features.h
2081 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2082 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2083 unconditional.
2084 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2085 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2086 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2087 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2088 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2089 Make code unconditional.
2090 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2091 (__mmap64) [!__NR_mmap2]: Likewise.
2092 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2093 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2094 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2095 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2096 [__NR_mmap2]: Make code unconditional.
2097 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2098 (__mmap64) [!__NR_mmap2]: Likewise.
2099
bc5bc0e5
AK
21002012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2101
2102 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2103
88d506de
AJ
21042012-08-18 Andreas Jaeger <aj@suse.de>
2105
2106 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2107
493387d2
MF
21082012-08-18 Mike Frysinger <vapier@gentoo.org>
2109
2110 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2111 * include/unistd.h (__have_sock_cloexec): Likewise.
2112 (__have_pipe2): Likewise.
2113 (__have_dup3): Likewise.
2114
a277af22
MF
21152012-08-18 Mike Frysinger <vapier@gentoo.org>
2116
2117 [BZ #9685]
2118 * include/unistd.h (__have_pipe2): Change define into an extern int.
2119 (__have_dup3): Likewise.
2120 * socket/have_sock_cloexec.c: Include fcntl.h.
2121 (__have_pipe2): New variable.
2122 (__have_dup3): Likewise.
2123
fdab8fd3
MF
21242012-08-17 Mike Frysinger <vapier@gentoo.org>
2125
2126 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2127
31035e80
MP
21282012-08-17 Marek Polacek <polacek@redhat.com>
2129
2130 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2131 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2132
3bd9e993
RM
21332012-08-17 Roland McGrath <roland@hack.frob.com>
2134
c91c505f
RM
2135 * configure.in: Add AC_SUBST for sysheaders.
2136 * configure: Regenerated.
2137 * config.make.in (sysheaders): New substituted variable.
2138
7c6f9d53
RM
2139 * sysdeps/unix/mkfifo.c: Moved ...
2140 * sysdeps/posix/mkfifo.c: ... here.
2141 * sysdeps/unix/mkfifoat.c: Moved ...
2142 * sysdeps/posix/mkfifoat.c: ... here.
2143
2144 * sysdeps/unix/utime.c: Moved ...
2145 * sysdeps/posix/utime.c: ... here.
2146
2147 * sysdeps/unix/time.c: Moved ...
2148 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2149 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2150 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2151
2152 * sysdeps/unix/nice.c: Moved ...
2153 * sysdeps/posix/nice.c: ... here.
2154
2155 * sysdeps/unix/alarm.c: Moved ...
2156 * sysdeps/posix/alarm.c: ... here.
2157
3bd9e993
RM
2158 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2159
d1f09384
JL
21602012-08-17 Jeff Law <law@redhat.com>
2161
2162 * intl/Makefile (codeset_mo): New variable.
2163 ($(codeset_mo)): New target.
2164 (tst-codeset.out): Depend on that. Remove explicit rule.
2165 (tst-gettext3.out, tst-gettext5.out): Likewise.
2166 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2167 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2168 * intl/tst-codeset.sh: Remove.
2169 * intl/tst-gettext3.sh: Likewise.
2170 * intl/tst-gettext5.sh: Likewise.
2171
2ae1ae5c
RM
21722012-08-17 Roland McGrath <roland@hack.frob.com>
2173
c31fdb83
RM
2174 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2175 * sysdeps/unix/syscalls.list: ... here.
2176
a0844057
RM
2177 * sysdeps/posix/getaddrinfo.c
2178 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2179 (gaiconf_init, gaiconf_reload): Use them.
2180 [!_STATBUF_ST_NSEC]
2181 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2182 Define using time_t rather than struct timespec.
2183
750c1f2a
RM
2184 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2185 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2186 Macros removed.
2187 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2188 [!NO_THREADS].
2189 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2190 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2191 Likewise.
2192
2ae1ae5c
RM
2193 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2194 __libc_cleanup_push argument.
2195
e66a42f5
RM
2196 * bits/param.h: New file.
2197 * misc/sys/param.h: New file.
2198 * include/sys/param.h: New file.
2199 * misc/Makefile (headers): Add bits/param.h.
2200 * sysdeps/generic/sys/param.h: File removed.
2201 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2202 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2203 * sysdeps/mach/hurd/bits/param.h: New file.
2204 * sysdeps/mach/hurd/sys/param.h: New file.
2205
b7c08a66
RM
2206 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2207 last change.
2208
b2e1c562
RM
2209 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2210 [_IO_MTSAFE_IO].
2211 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2212 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2213 New macros.
2214
c75ccd4c
RM
2215 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2216 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2217 rather than -D_IO_MTSAFE_IO conditionally.
2218 * stdio-common/Makefile (CPPFLAGS): Likewise.
2219 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2220 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2221 Use $(libio-mtsafe).
2222 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2223 of -D_IO_MTSAFE_IO.
2224 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2225 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2226 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2227 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2228 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2229 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2230 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2231 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2232 (CFLAGS-fread_u_chk.c): Likewise.
2233 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2234 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2235 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2236 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2237 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2238 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2239 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2240 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2241 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2242
2243 * libio/Makefile: Test [$(libc-reentrant) = yes]
2244 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2245
2246 * Makeconfig
2247 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2248 * sysdeps/pthread/configure: File removed.
2249 * sysdeps/pthread/Makeconfig: New file.
2250 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2251 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2252
d9195db8
GB
22532012-08-16 Gary Benson <gbenson@redhat.com>
2254
2255 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2256 unmapping the first object in a namespace.
2257
86466cd9
RM
22582012-08-16 Roland McGrath <roland@hack.frob.com>
2259
2260 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2261 (__internal_setnetgrent): ... this. Add internal_function to
2262 definition. Add libc_hidden_def.
2263 (setnetgrent): Update caller.
2264 (internal_endnetgrent): Renamed to ...
2265 (__internal_endnetgrent): ... this. Add internal_function to
2266 definition. Add libc_hidden_def.
2267 (endnetgrent): Update caller.
2268 (internal_getnetgrent_r): Renamed to ...
2269 (__internal_getnetgrent_r): ... this. Add internal_function to
2270 definition. Add libc_hidden_def.
2271 (__getnetgrent_r): Update caller.
2272 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2273
c3c8283c
JM
22742012-08-16 Joseph Myers <joseph@codesourcery.com>
2275
2276 * stdlib/longlong.h: Update from GCC.
2277
db1ee0a8
RM
22782012-08-16 Roland McGrath <roland@hack.frob.com>
2279
2280 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2281 on _QL, which is set by umul_ppmm but never used.
2282 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2283 variables, which are set by GMP macros but never used.
2284 * stdio-common/_itowa.c (_itowa): Likewise.
2285 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2286 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2287
30f69637
CD
22882012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2289
2290 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2291 struct La_sh_regs is not constant.
2292 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2293 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2294 and struct La_sparc64_regs are not constant.
2295
93a78ac4
JM
22962012-08-16 Joseph Myers <joseph@codesourcery.com>
2297
2298 * sysdeps/unix/sysv/linux/kernel-features.h
2299 (__ASSUME_POSIX_TIMERS): Remove.
2300 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2301 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2302 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2303 Make code unconditional.
2304 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2305 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2306 Make code unconditional.
2307 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2308 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2309 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2310 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2311 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2312 Make code unconditional.
2313 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2314 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2315 (__libc_missing_posix_timers): Remove.
2316
dd924cd7
RM
23172012-08-15 Roland McGrath <roland@hack.frob.com>
2318
4b4f2771
RM
2319 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2320 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2321
601c888b
RM
2322 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2323
176790a7
RM
2324 * elf/dl-sym.c: Include <stdlib.h>.
2325
329bc018
RM
2326 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2327 constants, which avoids warnings in 32-bit builds.
2328
e04e272d
RM
2329 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2330 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2331
952bf94a
RM
2332 * misc/lseek.c: File moved to ...
2333 * io/lseek.c: ... here.
2334
7c99b50a
RM
2335 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2336
dd924cd7
RM
2337 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2338 shifting LEN more than 31 bits at once.
2339
b3f479a8
LD
23402012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2341
2342 [BZ #14195]
8c4ae0d4
RM
2343 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2344 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2345 * string/test-strncasecmp.c (check1): Renamed to...
2346 (bz12205): ...this.
2347 (bz14195): Add new testcase for two empty input strings and N > 0.
2348 (test_main): Call new testcase, adapt for renamed function.
2349
9c55864e
AJ
23502012-08-15 Andreas Jaeger <aj@suse.de>
2351
2352 [BZ #14090]
2353 * crypt/md5test2.c: New test, based on test supplied by Serge
2354 Belyshev <belyshev@depni.sinp.msu.ru>.
2355 * crypt/Makefile (xtests): Add md5test-giant..
2356 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2357
02dcb6c5
PE
23582012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2359
2360 [BZ #14090]
2361 * crypt/md5.c (md5_process_block): Don't assume the buffer
2362 length is less than 2**32.
2363 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2364 length is less than 2**64.
2365
a3f95dcc
RM
23662012-08-15 Roland McGrath <roland@hack.frob.com>
2367
be75d758
RM
2368 * string/str-two-way.h: Include <sys/param.h>.
2369 (MAX): Macro removed.
2370
7312ca90
RM
2371 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2372 Move #define and #undef of memmove to just before and after
2373 including <string.h>.
2374
9a0a5486
RM
2375 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2376 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2377 and after including <string.h>. Move declarations of
2378 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2379 to before #include "string/memmove.c".
2380
67cc348d
RM
2381 * include/dirent.h: Declare __getdirentries.
2382
a3f95dcc
RM
2383 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2384 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2385
ca98e171
MF
23862012-08-14 Mike Frysinger <vapier@gentoo.org>
2387
2388 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2389 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2390 * sysdeps/i386/configure: Regenerated.
2391 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2392 STABS_CURRENT_FILE, and STABS_FUN.
2393 (END): Remove call to STABS_FUN_END.
2394 (STABS_CURRENT_FILE1): Delete.
2395 (STABS_CURRENT_FILE): Likewise.
2396 (STABS_FUN): Likewise.
2397 (STABS_FUN_END): Likewise.
2398 (STABS_FUN2): Likewise.
2399 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2400 * sysdeps/x86_64/configure: Regenerated.
2401
5908bf46
RM
24022012-08-14 Roland McGrath <roland@hack.frob.com>
2403
2404 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2405 * elf/dl-lookup.c: Likewise.
5908bf46 2406
f2c05b9e
JM
24072012-08-14 Joseph Myers <joseph@codesourcery.com>
2408
2409 * sysdeps/unix/sysv/linux/kernel-features.h
2410 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2411 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2412 unconditionally.
2413 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2414 unconditionally.
2415 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2416 condition on __ASSUME_CLONE_THREAD_FLAGS.
2417
e11f5155
AJ
24182012-08-14 Andreas Jaeger <aj@suse.de>
2419
2420 * sysdeps/i386/fpu/libm-test-ulps: Update.
2421
51a9ba86
MK
24222012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2423
2fdd4f78
AJ
2424 * include/atomic.h (atomic_exchange_and_add): Split into ...
2425 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2426 New atomic macros.
51a9ba86 2427
ba6cba9e
MT
24282012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2429
2430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2431
42443a47
JL
24322012-08-13 Jeff Law <law@redhat.com>
2433
2434 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2435 null byte in the output string.
2436
121dce05
JM
24372012-08-10 Joseph Myers <joseph@codesourcery.com>
2438
2439 * sysdeps/unix/sysv/linux/kernel-features.h
2440 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2441 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2442 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2443 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2444 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2445 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2446 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2447
bf51f568
JL
24482012-08-09 Jeff Law <law@redhat.com>
2449
2450 [BZ #13939]
2451 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2452 When avoid_arena is set, don't retry in the that arena. Pick the
2453 next one, whatever it might be.
2454 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2455 (arena_lock): Pass in new parameter to arena_get2.
2456 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2457 arena_get2.
2458 (__libc_malloc): Unify retrying after main arena failure with
2459 __libc_memalign version.
2460 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2461
f85fa270
L
24622012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2463
2464 [BZ #14166]
2465 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2466 to __redirect_strstr.
2467 (__strstr_sse42): Use typeof __redirect_strstr.
2468 (__strstr_ia32): Likewise.
2469 (__libc_strstr): New prototype.
2470 (strstr): Renamed to ...
2471 (__libc_strstr): This.
2472 (strstr): New strong alias of __libc_strstr.
2473 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2474 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2475 __redirect_time.
2476 Include <time.h>.
2477 (__libc_time): New prototype.
2478 (time_ifunc): Replace time with __libc_time.
2479 (time): New strong alias and hidden definition of __libc_time.
2480 (__GI_time): Remove strong alias.
2481 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2482 Include <stddef.h>.
2483 (memmove): Redefined to __redirect_memmove.
2484 (__memmove_sse2): Use typeof __redirect_memmove.
2485 (__memmove_ssse3): Likewise.
2486 (__memmove_ssse3_back): Likewise.
2487 (__libc_memmove): New prototype.
2488 (memmove): Renamed to ...
2489 (__libc_memmove): This.
2490 (memmove): New strong alias of __libc_memmove.
2491
33b4a91e
MS
24922012-08-08 Mark Salter <msalter@redhat.com>
2493
2494 * elf/elf.h
2495 (R_MN10300_TLS_GD): Define.
2496 (R_MN10300_TLS_LD): Likewise.
2497 (R_MN10300_TLS_LDO): Likewise.
2498 (R_MN10300_TLS_GOTIE): Likewise.
2499 (R_MN10300_TLS_IE): Likewise.
2500 (R_MN10300_TLS_LE): Likewise.
2501 (R_MN10300_TLS_DTPMOD): Likewise.
2502 (R_MN10300_TLS_DTPOFF): Likewise.
2503 (R_MN10300_TLS_TPOFF): Likewise.
2504 (R_MN10300_SYM_DIFF): Likewise.
2505 (R_MN10300_ALIGN): Likewise.
2506 (R_MN10300_NUM): Update.
2507
b36137f1
JM
25082012-08-08 Joseph Myers <joseph@codesourcery.com>
2509
2510 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2511 Remove.
2512
cdd915fd
RM
25132012-08-08 Roland McGrath <roland@hack.frob.com>
2514
a2433aac
RM
2515 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2516
cdd915fd
RM
2517 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2518 sysdeps/unix -> sysdeps/posix move.
2519 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2520
bf9b740a
AM
25212012-08-07 Allan McRae <allan@archlinux.org>
2522
2523 [BZ #14303]
2524 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2525 (SUNOS_CPP): Likewise.
2526 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2527 not found.
2528 (open_input): Call CPP using execvp.
2529
93df14ee
JM
25302012-08-07 Joseph Myers <joseph@codesourcery.com>
2531
2532 * sysdeps/unix/sysv/linux/kernel-features.h
2533 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2534 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2535 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2536 (__ASSUME_WAITID_SYSCALL): Likewise.
2537 * sysdeps/unix/sysv/linux/dl-execstack.c
2538 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2539 code unconditional.
2540 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2541 conditional code.
2542 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2543 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2544 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2545 code.
2546 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2547 unconditional.
2548 [__ASSUME_WAITID_SYSCALL]: Likewise.
2549 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2550
d34689de
RM
25512012-08-07 Roland McGrath <roland@hack.frob.com>
2552
a281decc
RM
2553 * sysdeps/unix/closedir.c: Renamed to ...
2554 * sysdeps/posix/closedir.c: ... here.
2555 * sysdeps/unix/dirfd.c: Renamed to ...
2556 * sysdeps/posix/dirfd.c: ... here.
2557 * sysdeps/unix/dirstream.h: Renamed to ...
2558 * sysdeps/posix/dirstream.h: ... here.
2559 * sysdeps/unix/fdopendir.c: Renamed to ...
2560 * sysdeps/posix/fdopendir.c: ... here.
2561 * sysdeps/unix/opendir.c: Renamed to ...
2562 * sysdeps/posix/opendir.c: ... here.
2563 * sysdeps/unix/readdir.c: Renamed to ...
2564 * sysdeps/posix/readdir.c: ... here.
2565 * sysdeps/unix/readdir_r.c: Renamed to ...
2566 * sysdeps/posix/readdir_r.c: ... here.
2567 * sysdeps/unix/rewinddir.c: Renamed to ...
2568 * sysdeps/posix/rewinddir.c: ... here.
2569 * sysdeps/unix/seekdir.c: Renamed to ...
2570 * sysdeps/posix/seekdir.c: ... here.
2571 * sysdeps/unix/telldir.c: Renamed to ...
2572 * sysdeps/posix/telldir.c: ... here.
2573 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2574 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2575 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2576 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2577
22895b47
RM
2578 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2579 * bits/fcntl.h: ... here.
2580
707a53b6
RM
2581 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2582 not 0.
2583 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2584 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2585 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2586 (struct flock): Move l_start, l_len to the beginning.
2587 Use __pid_t for l_pid.
2588 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2589 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2590 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2591 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2592 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2593 [__USE_LARGEFILE64] (struct flock64): New type.
2594 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2595
f0bd3e25
RM
2596 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2597 * bits/dirent.h: ... here.
2598
d34689de
RM
2599 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2600 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2601
6dad2c06
JM
26022012-08-07 Joseph Myers <joseph@codesourcery.com>
2603
2604 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2605 Change from 2.6.0 to 2.6.16.
2606 * sysdeps/unix/sysv/linux/configure: Regenerated.
2607 * sysdeps/unix/sysv/linux/kernel-features.h
2608 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2609 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2610 version.
2611 (__ASSUME_UTIMES): Likewise.
2612 (__ASSUME_CLONE_STOPPED): Remove.
2613 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2614 architectures, not kernel version.
2615 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2616 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2617 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2618 (__ASSUME_WAITID_SYSCALL): Likewise.
2619 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2620 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2621 * README: State 2.6.16 as minimum Linux kernel version. Do not
2622 refer to older versions.
2623
03af9520
RM
26242012-08-06 Roland McGrath <roland@hack.frob.com>
2625
8e49df1d
RM
2626 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2627 Define alphasort64 as an alias.
2628 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2629 Define versionsort64 as an alias.
2630 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2631 Define scandir64 as an alias.
2632 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2633 Define scandirat64 as an alias.
2634 * dirent/alphasort64.c (alphasort64):
2635 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2636 * dirent/versionsort64.c: Likewise.
2637 * dirent/scandir64.c: Likewise.
2638 * dirent/scandirat64.c: Likewise.
2639 * sysdeps/wordsize-64/alphasort.c: File removed.
2640 * sysdeps/wordsize-64/alphasort64.c: File removed.
2641 * sysdeps/wordsize-64/scandir.c: File removed.
2642 * sysdeps/wordsize-64/scandir64.c: File removed.
2643 * sysdeps/wordsize-64/scandirat.c: File removed.
2644 * sysdeps/wordsize-64/scandirat64.c: File removed.
2645 * sysdeps/wordsize-64/versionsort.c: File removed.
2646 * sysdeps/wordsize-64/versionsort64.c: File removed.
2647 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2648 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2649 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2650 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2651 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2652 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2653 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2654 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2655
2656 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2657 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2658 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2659 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2660 [defined __arch64__ || defined __sparcv9]
2661 (__INO_T_MATCHES_INO64_T): New macro.
2662 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2663 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2664 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2665 * sysdeps/unix/sysv/linux/bits/dirent.h
2666 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2667 (_DIRENT_MATCHES_DIRENT64): New macro.
2668
03af9520
RM
2669 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2670 Define lockf64 as an alias.
2671 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2672 Define fseeko64 as an alias.
2673 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2674 Define ftello64 as an alias.
2675 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2676 Define _IO_fgetpos64 and fgetpos64 as aliases.
2677 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2678 Define _IO_fsetpos64 and fsetpos64 as aliases.
2679 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2680 Conditionalize body on this.
2681 * libio/fseeko64.c: Likewise.
2682 * libio/ftello64.c: Likewise.
2683 * libio/iofgetpos64.c: Likewise.
2684 * libio/iofsetpos64.c: Likewise.
2685 * sysdeps/wordsize-64/lockf.c: File removed.
2686 * sysdeps/wordsize-64/lockf64.c: File removed.
2687 * sysdeps/wordsize-64/fseeko.c: File removed.
2688 * sysdeps/wordsize-64/fseeko64.c: File removed.
2689 * sysdeps/wordsize-64/ftello.c: File removed.
2690 * sysdeps/wordsize-64/ftello64.c: File removed.
2691 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2692 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2693 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2694 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2695 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2696 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2697 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2698 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2699 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2700 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2701 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2702 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2703 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2704 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2705
2706 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2707 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2708 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2709 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2710 [defined __arch64__ || defined __sparcv9]
2711 (__OFF_T_MATCHES_OFF64_T): New macro.
2712 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2713 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2714 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2715 (__OFF_T_MATCHES_OFF64_T): New macro.
2716
c5757acd
L
27172012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2718
2719 * stdlib/secure-getenv.c (__secure_getenv): Replace
2720 GLIBC_2_16 with GLIBC_2_17.
2721
3a31811e
L
27222012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2723
2724 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2725 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2726
faa2bccb
DM
27272012-08-03 David S. Miller <davem@davemloft.net>
2728
2729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2730
85fe1997
JM
27312012-08-03 Joseph Myers <joseph@codesourcery.com>
2732
2733 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2734 Remove.
2735 (__ASSUME_CORRECT_SI_PID): Likewise.
2736 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2737 (__ASSUME_TMPFS_NAME): Likewise.
2738 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2739 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2740 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2741 (HAVE_AUX_SECURE): Make definition unconditional.
2742 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2743 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2744
4f75b7a0
RM
27452012-08-03 Roland McGrath <roland@hack.frob.com>
2746
2747 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2748 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2749 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2750 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2751 __eloop_threshold instead of SYMLOOP_MAX.
2752
2753 * sysdeps/generic/eloop-threshold.h: New file.
2754 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2755 of MAXSYMLINKS.
2756 * elf/chroot_canon.c (chroot_canon): Likewise.
2757
7aab07e4
JM
27582012-08-03 Joseph Myers <joseph@codesourcery.com>
2759
2760 [BZ #13717]
2761 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2762 Change to 2.6.0 everywhere.
2763 * sysdeps/unix/sysv/linux/configure: Regenerated.
2764 * sysdeps/unix/sysv/linux/kernel-features.h
2765 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2766 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2767 kernel versions.
2768 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2769 (__ASSUME_FUTEX_REQUEUE): Remove.
2770 (__ASSUME_STATFS64): Define unconditionally.
2771 (__ASSUME_AT_SECURE): Likewise.
2772 (__ASSUME_CORRECT_SI_PID): Likewise.
2773 (__ASSUME_TGKILL): Define without depending on kernel version for
2774 i386.
2775 (__ASSUME_UTIMES): Likewise.
2776 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2777 kernel version.
2778 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2779 (__ASSUME_TMPFS_NAME): Likewise.
2780 * README: Update reference to Linux kernel versions.
2781
b67e9372
MP
27822012-08-02 Marek Polacek <polacek@redhat.com>
2783
1f529f7d 2784 [BZ# 14150]
b67e9372
MP
2785 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2786 libc_cv_asm_type_prefix with %.
2787 * configure: Regenerated.
d2441631
RM
2788 * include/libc-symbols.h: Remove comment about
2789 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2790 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2791 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2792 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2793 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2794 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2795 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2796 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2797 * elf/tst-unique2mod1.c: Likewise.
2798 * elf/tst-unique1mod2.c: Likewise.
2799 * elf/tst-unique1mod1.c: Likewise.
2800 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2801 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2802 Replace ASM_TYPE_DIRECTIVE with .type.
2803 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2804 * sysdeps/i386/sysdep.h: Likewise.
2805 * sysdeps/x86_64/sysdep.h: Likewise.
2806 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2808 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2809 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2810 * sysdeps/powerpc/powerpc32/sysdep.h:
2811 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2812 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2813 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2814 * sysdeps/i386/fpu/e_powf.S: Likewise.
2815 * sysdeps/i386/fpu/e_expl.S: Likewise.
2816 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2817 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2818 * sysdeps/i386/fpu/e_pow.S: Likewise.
2819 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2820 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2821 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2822 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2823 * sysdeps/i386/fpu/e_log2.S: Likewise.
2824 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2825 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2826 * sysdeps/i386/fpu/e_powl.S: Likewise.
2827 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2828 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2829 * sysdeps/i386/fpu/e_logl.S: Likewise.
2830 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2831 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2832 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2833 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2834 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2835 * sysdeps/i386/fpu/e_log.S: Likewise.
2836 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2837 * sysdeps/i386/fpu/e_logf.S: Likewise.
2838 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2839 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2840 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2841 * sysdeps/i386/fpu/e_log10.S: Likewise.
2842 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2843 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2844 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2845 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2846 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2847 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2848 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2849 * sysdeps/i386/i686/strtok.S: Likewise.
2850 * sysdeps/i386/i386-mcount.S: Likewise.
2851 * sysdeps/i386/strtok.S: Likewise.
2852 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2853 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2854 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2855 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2856 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2857 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2858 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2859 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2860 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2861 * sysdeps/x86_64/_mcount.S: Likewise.
2862 * sysdeps/x86_64/strtok.S: Likewise.
2863 * sysdeps/sh/_mcount.S: Likewise.
2864
2747bf9a
RM
28652012-08-01 Roland McGrath <roland@hack.frob.com>
2866
2867 * libio/iofopen.c: Include <fcntl.h>.
2868 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2869 (_IO_fopen64, fopen64): Define as aliases.
2870 * libio/iofopen64.c: Include <fcntl.h>.
2871 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2872 Conditionalize body on this.
2873 * sysdeps/wordsize-64/iofopen.c: File removed.
2874 * sysdeps/wordsize-64/iofopen64.c: File removed.
2875
3fb791b8
MP
28762012-08-01 Marek Polacek <polacek@redhat.com>
2877
2878 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2879 Use dlfcn directly instead of a variable.
2880 (binfmt-subdir): Do not define.
2881 (dlfcn): Likewise.
2882
a9f1039f
JM
28832012-08-01 Joseph Myers <joseph@codesourcery.com>
2884
23bddc06
JM
2885 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2886 Remove all definitions.
2887 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2888 <kernel-features.h>.
2889 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2890 (miss_F_GETOWN_EX): Remove all definitions.
2891 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2892 macro definition.
2893 [!__ASSUME_FCNTL64]: Remove conditional code.
2894 [__ASSUME_FCNTL64]: Make code unconditional.
2895 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2896 <kernel-features.h>.
2897 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2898 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2899 (lockf64) [__NR_fcntl64]: Make code unconditional.
2900 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2901
a9f1039f
JM
2902 * sysdeps/unix/sysv/linux/kernel-features.h
2903 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2904 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2905 Make code unconditional.
2906 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2907 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2909 [__NR_vfork]: Make code unconditional.
2910 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2911 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2913 [__NR_vfork]: Make code unconditional.
2914 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2915 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2916
09c0ee5f
RM
29172012-08-01 Roland McGrath <roland@hack.frob.com>
2918
48aec5b9
RM
2919 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2920 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2921
cd97c966
RM
2922 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2923 Define mkstemp64 as an alias.
3f55550c
RM
2924 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2925 Define mkstemps64 as an alias.
cd97c966
RM
2926 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2927 Define mkostemp64 as an alias.
b8625cfc
RM
2928 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2929 Define mkostemps64 as an alias.
cd97c966
RM
2930 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2931 Conditionalize body on this.
2932 * misc/mkostemp64.c: Likewise.
b8625cfc 2933 * misc/mkostemps64.c: Likewise.
3f55550c 2934 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2935 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2936 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2937 * sysdeps/wordsize-64/mkostemp.c: File removed.
2938 * sysdeps/wordsize-64/mkstemp.c: File removed.
2939 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2940 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2941 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2942 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2943
09c0ee5f
RM
2944 [BZ #14138]
2945 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2946 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2947 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2948 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2949
2950 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2951 compat_symbol macros from <shlib-compat.h> rather than the underlying
2952 default_symbol_version and symbol_version macros, so that DEFAULT
2953 lines in shlib-versions are respected.
2954 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2955
7e66ee51
FW
29562012-08-01 Florian Weimer <fweimer@redhat.com>
2957
2958 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2959 Declare with warn_unused_result.
2960 (setgid, setregid, setegid, setresgid): Likewise.
2961 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2962 Likewise.
2963 * WUR-REPORT: Remove set*id functions.
2964
d2a54255
PT
29652012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2966
2967 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2968
7ecdb005
RM
29692012-07-31 Roland McGrath <roland@hack.frob.com>
2970
789bd351
RM
2971 * include/sys/socket.h (__libc_accept, __libc_accept4):
2972 Add attribute_hidden.
2973 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2974
40ce302d
RM
2975 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2976 use of PTR_MANGLE.
2977 * inet/getnetgrent_r.c (setup): Likewise.
2978
7ecdb005
RM
2979 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2980
e2eabb2c
DM
29812012-07-31 David S. Miller <davem@davemloft.net>
2982
2983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2984
d0419dbf
JM
29852012-07-31 Joseph Myers <joseph@codesourcery.com>
2986
2987 [BZ #13629]
2988 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2989 value between 1.0 and 2.0 and smaller part has absolute value less
2990 than 1.0.
2991 * math/s_clog10.c (__clog10): Likewise.
2992 * math/s_clog10f.c (__clog10f): Likewise.
2993 * math/s_clog10l.c (__clog10l): Likewise.
2994 * math/s_clogf.c (__clogf): Likewise.
2995 * math/s_clogl.c (__clogl): Likewise.
2996 * math/libm-test.inc (clog_test): Add more tests.
2997 (clog10_test): Likewise.
2998 * sysdeps/i386/fpu/libm-test-ulps: Update.
2999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3000
2bc13872
FW
30012012-07-31 Florian Weimer <fweimer@redhat.com>
3002
3003 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3004 Exit with zero in case no suitable GID is found, and write a
3005 message to standard error.
3006
bea9b193
RM
30072012-07-30 Roland McGrath <roland@hack.frob.com>
3008
3009 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3010 rather than to 1.
3011 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3012 (MAXPATHLEN): Removed.
3013 (NOGROUP, NODEV): New macros.
3014 (setbit, clrbit, isset, isclr): New macros.
3015 (howmany, roundup, powerof2): New macros.
3016 (DEV_BSIZE): New macro.
3017
3018 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3019 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3020
3021 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3022 definition on [!__NO_LONG_DOUBLE_MATH].
3023
3024 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3025 PTR_MANGLE and PTR_DEMANGLE.
3026
3027 * socket/accept4.c (accept4): Rename to __libc_accept4.
3028 Define accept4 as a weak alias.
3029
3030 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3031 on [_DIRENT_HAVE_D_TYPE].
3032 * io/ftw.c (ftw_dir): Likewise.
3033
3034 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3035
3036 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3037
3038 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3039 Use the BSD numbers rather than the arbitrary ones we had.
3040 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3041 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3042 (SIGXCPU, SIGXFSZ): New macros.
3043 (_NSIG): Now 32.
3044
3045 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3046 initializer on [_LIBC_REENTRANT].
3047
3048 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3049 definitions inside [_POSIX_MAPPED_FILES].
3050
3051 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3052
3053 * dirent/opendir.c: Include <fcntl.h>.
3054
3055 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3056 (__libc_getspecific): Likewise.
3057 (__libc_key_create): Likewise.
3058
3059 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3060 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3061 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3062 (tmpfile64): Define as alias.
3063 * sysdeps/wordsize-64/tmpfile.c: File removed.
3064 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3065 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3066 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3067
3068 * stdio-common/vfscanf.c: Include <stdbool.h>.
3069 * nss/makedb.c: Likewise.
3070 * stdio-common/_i18n_number.h: Likewise.
3071 * argp/argp-help.c: Likewise.
3072 * posix/wordexp.c: Likewise.
3073 * sysdeps/posix/spawni.c: Likewise.
3074 * nss/nss_files/files-initgroups.c: Likewise.
3075 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3076 * nss/nss_files/files-initgroups.c: Likewise.
3077 * nss/nss_db/db-netgrp.c: Likewise.
3078 * nss/nss_db/db-initgroups.c: Likewise.
3079 * io/fchmodat.c: Include <sys/stat.h>.
3080
3081 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3082 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3083
3084 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3085 [HAVE_MMAP].
3086
3087 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3088 Add multiple inclusion protection.
3089
e5abc686
DM
30902012-07-27 David S. Miller <davem@davemloft.net>
3091
3092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3093
815e6fa3
GB
30942012-07-27 Gary Benson <gbenson@redhat.com>
3095
3096 [BZ #14298]
3097 * elf/rtld.c: Include <stap-probe.h>.
3098 (dl_main): Added static probes "init_start" and "init_complete".
3099 * elf/dl-load.c: Include <stap-probe.h>.
3100 (lose): Take new parameter "nsid".
3101 Added static probe "map_failed".
3102 (_dl_map_object_from_fd): Pass namespace id to lose.
3103 Added static probe "map_start".
3104 (open_verify): Pass namespace id to lose.
3105 * elf/dl-open.c: Include <stap-probe.h>.
3106 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3107 and "reloc_complete".
3108 * elf/dl-close.c: Include <stap-probe.h>.
3109 (_dl_close_worker): Added static probes "unmap_start" and
3110 "unmap_complete".
3111 * elf/rtld-debugger-interface.txt: New file documenting the above.
3112
9f98c16c
RM
31132012-07-26 Roland McGrath <roland@hack.frob.com>
3114
3115 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3116 rather than a string variable.
3117 * sunrpc/rpc_main.c (h_output): Likewise.
3118 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3119
f3c22df3
PT
31202012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3121
3122 * inet/check_native.c: New file.
3123
3129cfc6
JM
31242012-07-26 Joseph Myers <joseph@codesourcery.com>
3125
da865e95
JM
3126 [BZ #13629]
3127 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3128 if larger part has absolute value 1.0.
3129 * math/s_clog10.c (__clog10): Likewise.
3130 * math/s_clog10f.c (__clog10f): Likewise.
3131 * math/s_clog10l.c (__clog10l): Likewise.
3132 * math/s_clogf.c (__clogf): Likewise.
3133 * math/s_clogl.c (__clogl): Likewise.
3134 * math/libm-test.inc (clog_test): Add more tests.
3135 (clog10_test): Likewise.
3136 * sysdeps/i386/fpu/libm-test-ulps: Update.
3137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3138
3129cfc6
JM
3139 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3140 (pltexit): Likewise.
3141 (La_regs): Likewise.
3142 (La_retval): Likewise.
3143 (int_retval): Likewise.
3144 Update #error for removed macros to refer only to definitions in
3145 tst-audit.h.
3146 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3147 macro.
3148 (pltexit): Likewise.
3149 (La_regs): Likewise.
3150 (La_retval): Likewise.
3151 (int_retval): Likewise.
3152 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3153 macro.
3154 (pltexit): Likewise.
3155 (La_regs): Likewise.
3156 (La_retval): Likewise.
3157 (int_retval): Likewise.
3158 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3159 macro.
3160 (pltexit): Likewise.
3161 (La_regs): Likewise.
3162 (La_retval): Likewise.
3163 (int_retval): Likewise.
3164 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3165 macro.
3166 (pltexit): Likewise.
3167 (La_regs): Likewise.
3168 (La_retval): Likewise.
3169 (int_retval): Likewise.
3170 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3171 macro.
3172 (pltexit): Likewise.
3173 (La_regs): Likewise.
3174 (La_retval): Likewise.
3175 (int_retval): Likewise.
3176 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3177 macro.
3178 (pltexit): Likewise.
3179 (La_regs): Likewise.
3180 (La_retval): Likewise.
3181 (int_retval): Likewise.
3182 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3183 macro definitions in tst-audit.h.
3184 * sysdeps/i386/tst-audit.h: New file.
3185 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3186 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3187 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3188 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3189 * sysdeps/sh/tst-audit.h: Likewise.
3190 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3191 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3192 * sysdeps/x86_64/tst-audit.h: Likewise.
3193
bfc07087
AJ
31942012-07-26 Andreas Jaeger <aj@suse.de>
3195
b1b2aaf8
AJ
3196 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3197 ptrace.
3198
3199 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3200 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3201 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3202 PTRACE_O_MASK.
3203 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3204 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3205 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3206
bfc07087
AJ
3207 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3208 value.
3209
3210 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3211 _sigsys.
3212 (si_call_addr, si_syscall, si_arch): Define new macro.
3213 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3214 _sigsys.
3215 (si_call_addr, si_syscall, si_arch): Define new marcro.
3216 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3217 _sigsys.
3218 (si_call_addr, si_syscall, si_arch): Define new macro.
3219 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3220 _sigsys.
3221 (si_call_addr, si_syscall, si_arch): Define new macro.
3222
89b4b02f
JM
32232012-07-25 Joseph Myers <joseph@codesourcery.com>
3224
3225 [BZ #13717]
3226 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3227 Change to 2.4.21 where previously 2.4.1.
3228 * sysdeps/unix/sysv/linux/configure: Regenerated.
3229 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3230 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3231 Linux kernel version.
3232 (__ASSUME_STD_AUXV): Remove.
3233 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3234 kernel version.
3235 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3236 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3237 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3238 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3239 (__ASSUME_NETLINK_SUPPORT): Likewise.
3240 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3241 (__no_netlink_support): Remove conditional definition.
3242 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3243 Remove.
3244 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3245 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3246 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3247 (if_nameindex_ioctl): Remove.
3248 (if_nameindex_netlink): Do not handle __no_netlink_support.
3249 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3250 code.
3251 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3252 Remove conditional code.
3253 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3254 code.
3255 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3256 unconditional.
3257 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3258 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3259 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3260 Remove.
3261 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3262 [!__ASSUME_STD_AUXV]: Remove conditional code.
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3264 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3265 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3267 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3268 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3269 code.
3270 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3272 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3273 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3274 conditional code.
3275 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3277 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3278 code.
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3280 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3281 conditional code.
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3283 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3284 code unconditional.
3285 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3286 conditional code.
3287 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3288 unconditional.
3289 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3290 conditional code.
3291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3292 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3293 unconditional.
3294 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3295 conditional code.
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3297 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3298 code unconditional.
3299 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3300 conditional code.
3301 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3302 unconditional.
3303 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3304 conditional code.
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3306 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3307 code unconditional.
3308 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3309 conditional code.
3310 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3311 unconditional.
3312 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3313 conditional code.
3314
842a39cd
AS
33152012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3316
3317 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3318 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3319 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3320 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3321 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3322 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3323 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3324 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3325 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3326 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3327 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3328 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3329 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3330 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3331 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3332 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3333 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3334 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3335 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3337 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3338 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3339 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3340
84b3fd84
FW
33412012-07-25 Florian Weimer <fweimer@redhat.com>
3342
3343 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3344 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3345 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3346 Introduce __libc_secure_getenv.
0c7936d5
FW
3347 * stdlib/Versions (2.17): Add secure_getenv
3348 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3349 * stdlib/secure-getenv.c: Rename __secure_getenv to
3350 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3351 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3352 * stdlib/tst-secure-getenv.c: New.
3353 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3354 * manual/startup.texi (Environment Access): Document
3355 secure_getenv.
84b3fd84
FW
3356 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3357 __libc_secure_getenv.
3358 * inet/ruserpass.c (ruserpass): Likewise.
3359 * malloc/mtrace.c (mtrace): Likewise.
3360 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3361 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3362 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3363 * sysdeps/posix/tempname.c: Likewise. Evaluate
3364 HAVE_SECURE_GETENV.
3365 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3366 __secure_getenv to __libc_secure_getenv.
84b3fd84 3367 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3369 Likewise.
3370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3371 Likewise.
3372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3379
56e49b71
JM
33802012-07-25 Joseph Myers <joseph@codesourcery.com>
3381
3382 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3383 (struct La_i86_retval): Likewise.
3384 (struct La_x86_64_regs): Likewise.
3385 (struct La_x86_64_retval): Likewise.
3386 (struct La_x32_regs): Likewise.
3387 (struct La_x32_retval): Likewise.
3388 (struct La_ppc32_regs): Likewise.
3389 (struct La_ppc32_retval): Likewise.
3390 (struct La_ppc64_regs): Likewise.
3391 (struct La_ppc64_retval): Likewise.
3392 (struct La_sh_regs): Likewise.
3393 (struct La_sh_retval): Likewise.
3394 (struct La_s390_32_regs): Likewise.
3395 (struct La_s390_32_retval): Likewise.
3396 (struct La_s390_64_regs): Likewise.
3397 (struct La_s390_64_retval): Likewise.
3398 (struct La_sparc32_regs): Likewise.
3399 (struct La_sparc32_retval): Likewise.
3400 (struct La_sparc64_regs): Likewise.
3401 (struct La_sparc64_retval): Likewise.
3402 (struct audit_ifaces): Remove architecture-specific pltenter and
3403 pltexit members.
3404 * sysdeps/i386/ldsodefs.h: New file.
3405 * sysdeps/powerpc/ldsodefs.h: Likewise.
3406 * sysdeps/s390/ldsodefs.h: Likewise.
3407 * sysdeps/sh/ldsodefs.h: Likewise.
3408 * sysdeps/sparc/ldsodefs.h: Likewise.
3409 * sysdeps/x86_64/ldsodefs.h: Likewise.
3410
354691b7
MP
34112012-07-25 Marek Polacek <polacek@redhat.com>
3412
3413 [BZ #6808]
3414 * math/libm-test.inc (yn_test): Add another test.
3415 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3416 to ERANGE when the result is +-Inf.
3417 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3418 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3419 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3420 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3421
bf9e2071
JM
34222012-07-24 Joseph Myers <joseph@codesourcery.com>
3423
3424 * conform/data/time.h-data (NULL): Use macro-constant. Require
3425 equal to 0.
3426 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3427 clock_t.
3428 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3429
57633811
TS
34302012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3431
3432 * configure.in <sysdeps resolving>: Correct printing
3433 Implies_before.
3434 * configure: Regenerate.
3435
c23c33b0
TS
34362012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3437
3438 * math/w_ilogb.c: Include <limits.h>.
3439 * math/w_ilogbl.c: Likewise.
3440
b5982523
JM
34412012-07-20 Joseph Myers <joseph@codesourcery.com>
3442
3443 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3444 va_copy. Document allowing for unavailable va_copy only as
3445 pre-C99 compatibility.
3446 * manual/string.texi (Copying and Concatenation): Use va_copy
3447 instead of __va_copy in concat example.
3448
ac4ea442
PT
34492012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3450
3451 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3452 (__sendto): Use create_address_port. Initialize APORT and deallocate
3453 it if not null.
3454
f98eafbd
PT
3455 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3456 with O_NOLINK passed to __file_name_lookup.
3457
898c7aab
PT
3458 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3459 with O_NOLINK passed to __file_name_lookup.
3460
0ced335a
PT
3461 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3462 negative N or less than NGIDS.
3463
b3404dbd
PT
3464 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3465 type to string_t. Set ERANGE as errno and return it if NAME is not big
3466 enough. Use memcpy instead of strncpy.
3467
0f48659e
JM
34682012-07-20 Joseph Myers <joseph@codesourcery.com>
3469
3470 * elf/Makefile (check-data): Remove.
3471 (localplt.data): New vpath directive.
3472 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3473 instead of $(check-data).
3474 * scripts/data/localplt-generic.data: Move to ...
3475 * sysdeps/generic/localplt.data: ... here.
3476 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3477 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3478 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3480 ... here.
3481 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3483 ... here.
3484 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3486 ... here.
3487 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3489 ... here.
3490 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3492 ... here.
3493 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3495 ... here.
3496
d37cbdaa
AZ
34972012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3498
3499 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3500 PPC32 and PPC64 files.
3501 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3502 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3503
46f85fc2
AK
35042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3505
3506 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3507 __makecontext_ret to ...
3508 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3509 ... here and call exit if uc_link is NULL. New file.
3510 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3511 __makecontext_ret.S.
3512 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3513 __makecontext_ret to ...
3514 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3515 ... here and call exit if uc_link is NULL. New file.
3516 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3517 __makecontext_ret.S.
3518
08f43f9b
AK
35192012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3520
3521 * elf/elf.h (R_390_IRELATIVE): New definition.
3522 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3523 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3524 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3525 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3526 (elf_machine_lazy_rel): Likewise.
3527 * sysdeps/s390/dl-irel.h: New file.
3528 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3529 * sysdeps/s390/s390-64/memset.S: New asm code.
3530 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3531 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3532 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3533 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3534 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3535 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3536 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3537 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3538 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3539 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3540 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3541 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3542 * sysdeps/s390/s390-32/memset.S: New asm code.
3543 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3544
3b05db33
MP
35452012-07-17 Marek Polacek <polacek@redhat.com>
3546
3547 [BZ #14349]
3548 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3549 * sysdeps/s390/s390-64/configure.in: Likewise.
3550 * sysdeps/sparc/configure.in: Likewise.
3551 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3552 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3553 * sysdeps/i386/configure.in: Likewise.
3554 * sysdeps/x86_64/configure.in: Likewise.
3555 * sysdeps/sh/configure.in: Likewise.
3556 * sysdeps/s390/s390-32/configure: Regenerated.
3557 * sysdeps/s390/s390-64/configure: Likewise.
3558 * sysdeps/x86_64/configure: Likewise.
3559 * sysdeps/sh/configure: Likewise.
3560 * sysdeps/powerpc/powerpc64/configure: Likewise.
3561 * sysdeps/powerpc/powerpc32/configure: Likewise.
3562 * sysdeps/sparc/configure: Likwise.
3563 * sysdeps/i386/configure: Likewise.
3564
a66877c6
MP
3565 * elf/dl-open.c: Comment fixes.
3566
cfc82fd8
JM
35672012-07-17 Joseph Myers <joseph@codesourcery.com>
3568
bd29910a
JM
3569 * Makefile [CXX] (check-data): Remove.
3570 [CXX] (c++-types.data): New vpath directive.
3571 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3572 vpath. Do not allow for C++ type data being missing.
3573 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3574 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3575 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3576 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3577 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3578 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3579 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3581 ... here.
3582 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3584 ... here.
3585 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3587 ... here.
3588 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3590 ... here.
3591 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3593 ... here.
3594 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3596 ... here.
3597 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3599 ... here.
3600 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3602
cfc82fd8
JM
3603 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3604 definitions to architecture-specific files.
3605 (TLS_IE): Likewise.
3606 (TLS_LD): Likewise.
3607 (TLS_GD): Likewise.
3608 * sysdeps/i386/tls-macros.h: New file.
3609 * sysdeps/powerpc/tls-macros.h: Likewise.
3610 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3611 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3612 * sysdeps/sh/tls-macros.h: Likewise.
3613 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3614 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3615 * sysdeps/x86_64/tls-macros.h: Likewise.
3616
f7db3170
TS
36172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3618
07cbfc23
TS
3619 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3620 zero value for regular exit case.
3621
f7db3170
TS
3622 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3623 (__start_context): Preserve zero value for regular exit case.
3624
dc97c227
TS
36252012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3626 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3627
3628 * manual/setjmp.texi (setcontext): Clarify normal process
3629 termination when uc_link is the null pointer.
3630 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3631 exit call.
3632
d0cd7d02
AS
36332012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3634
3635 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3636 preprocessor. Test for each exception mask separately.
3637
dd318934
AJ
36382012-07-16 Andreas Jaeger <aj@suse.de>
3639
3640 * po/ru.po: Update from translation team.
3641
8048311a
JM
36422012-07-15 Joseph Myers <joseph@codesourcery.com>
3643
3644 * conform/data/string.h-data (NULL): Use macro-constant. Require
3645 equal to 0.
3646 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3647 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3648 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3649 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3650 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3651
b637d46e
AJ
36522012-07-13 Andreas Jaeger <aj@suse.de>
3653
3654 * po/fr.po: Update from translation team.
3655
541428fe
MP
36562012-07-12 Marek Polacek <polacek@redhat.com>
3657
3658 [BZ #14173]
3659 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3660 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3661 loop condition.
3662
ec332e94
JM
36632012-07-12 Joseph Myers <joseph@codesourcery.com>
3664
3665 [BZ #13717]
3666 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3667 Change to 2.4.1 where previously 2.4.0.
3668 * sysdeps/unix/sysv/linux/configure: Regenerated.
3669 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3670 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3671 version.
3672 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3673 (__ASSUME_AT_CLKTCK): Remove.
3674 (__ASSUME_AT_PAGESIZE): Likewise.
3675 (__ASSUME_AT_XID): Likewise.
3676 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3677 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3678 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3679 unconditionally.
3680 (HAVE_AUX_PAGESIZE): Likewise.
3681 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3682 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3683 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3684
7b6e99be
JB
36852012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3686
3687 [BZ #14307]
3688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3689 the temporary buffer used to invoke __gethostbyname2_r,
3690 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3691 host_data / struct gaih_addrtuple.
3692 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3693 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3694 header file nss/nsswitch.h.
3695 * nss/nsswitch.h (global scope): Add definition of implementation
3696 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3697 resolv/nss_dns/dns-host.c).
3698
608404eb
AJ
36992012-07-11 Andreas Jaeger <aj@suse.de>
3700
3701 * po/fr.po: Update from translation team.
3702
71220aca
AJ
3703 * po/sv.po: Update from translation team
3704 * po/fr.po: Another update from translation team.
3705
28cfe843
AZ
37062012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3707
3708 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3709 for subnormals or multiply small sinh result by itself.
3710 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3712
6b90f981
DM
37132012-07-11 David S. Miller <davem@davemloft.net>
3714
3715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3716
c6825772
AS
37172012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3718
3719 [BZ #14347]
3720 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3721 (INTERNAL_MARK): Shift it here.
3722
7b8e0d49
MP
37232012-07-10 Marek Polacek <polacek@redhat.com>
3724
3725 [BZ #14151]
3726 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3727 libc_cv_asm_global_directive with .globl.
3728 * configure: Regenerated.
3729 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3730 with .globl.
3731 * sysdeps/i386/configure: Regenerated.
3732 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3733 with .globl.
3734 * sysdeps/x86_64/configure: Regenerated.
3735 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3736 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3737 * elf/tst-unique2mod2.c: Likewise.
3738 * elf/tst-unique2mod1.c: Likewise.
3739 * elf/tst-unique1mod2.c: Likewise.
3740 * elf/tst-unique1mod1.c: Likewise.
3741 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3742 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3743 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3744 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3745 * sysdeps/mach/sysdep.h: Likewise.
3746 * sysdeps/i386/sysdep.h: Likewise.
3747 * sysdeps/i386/i386-mcount.S: Likewise.
3748 * sysdeps/x86_64/_mcount.S: Likewise.
3749 * sysdeps/x86_64/sysdep.h: Likewise.
3750 * sysdeps/sh/_mcount.S: Likewise.
3751 * sysdeps/sh/sysdep.h: Likewise.
3752 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3753 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3754 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3755 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3756 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3757 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3758 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3759 * locale/localeinfo.h: Likewise.
3760 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3761 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3762
6c55cda3
RM
37632012-07-09 Roland McGrath <roland@hack.frob.com>
3764
3765 [BZ #14336]
3766 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3767 system".
3768 * manual/message.texi (The Uniforum approach): Likewise.
3769 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3770 (glibc iconv Implementation): Likewise.
3771
638a572e
JM
37722012-07-09 Joseph Myers <joseph@codesourcery.com>
3773
3774 [BZ #14337]
3775 * math/s_clog.c (__clog): Avoid scaling a value down where that
3776 could result in underflow.
3777 * math/s_clog10.c (__clog10): Likewise.
3778 * math/s_clog10f.c (__clog10f): Likewise.
3779 * math/s_clog10l.c (__clog10l): Likewise.
3780 * math/s_clogf.c (__clogf): Likewise.
3781 * math/s_clogl.c (__clogl): Likewise.
3782 * math/libm-test.inc (clog_test): Add more tests.
3783 (clog10_test): Likewise.
3784 * sysdeps/i386/fpu/libm-test-ulps: Update.
3785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3786
261f4859
AS
37872012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3788
0abaf3e4
AS
3789 [BZ #14283]
3790 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3791 by 7 not 8 to examine high bit of fractional part.
3792
261f4859
AS
3793 [BZ #14042]
3794 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3795 for call to __mcount_internal.
3796 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3797 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3798 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3799
f17ac40d
JM
38002012-07-06 Joseph Myers <joseph@codesourcery.com>
3801
9ad63c23
JM
3802 [BZ #14154]
3803 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3804 approximation for values within 0x1p-13f of an odd multiple of
3805 pi/4.
3806 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3807 exception. Add more tests.
3808 * sysdeps/i386/fpu/libm-test-ulps: Update.
3809
f17ac40d
JM
3810 [BZ #6778]
3811 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3812 inputs and return -1 for them. Do not check for +Inf in case not
3813 reachable for +Inf.
3814 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3815 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3816 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3817 and return -1 for them. Do not check for +Inf in case not
3818 reachable for +Inf.
3819 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3820 define.
3821 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3822 and return -1 for them. Do not check for +Inf in case not
3823 reachable for +Inf.
3824 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3825 spurious underflow.
3826 * sysdeps/i386/fpu/libm-test-ulps: Update.
3827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3828
fb21f89b
MF
38292012-07-06 Mike Frysinger <vapier@gentoo.org>
3830
3831 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3832
cdfe2c5e
JM
38332012-07-05 Joseph Myers <joseph@codesourcery.com>
3834
3835 [BZ #14157]
3836 [BZ #14331]
3837 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3838 could result in spurious underflow. Scale down values above
3839 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3840 * math/s_csqrtf.c (__csqrtf): Likewise.
3841 * math/s_csqrtl.c (__csqrtl): Likewise.
3842 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3843 spurious underflow.
3844 * sysdeps/i386/fpu/libm-test-ulps: Update.
3845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3846
70d35b67
AS
38472012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3848
704bc459
AS
3849 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3850 xopen-msg.sed.
3851 * catgets/xopen-msg.awk: New file.
3852 * catgets/xopen-msg.sed: Removed.
3853
70d35b67
AS
3854 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3855 po2text.sed.
3856 * intl/po2test.awk: New file.
3857 * intl/po2test.sed: Removed.
3858
ca61cf32
JM
38592012-07-04 Joseph Myers <joseph@codesourcery.com>
3860
3861 [BZ #14328]
3862 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3863 or multiply small sinh result by itself.
3864 * math/s_ctanf.c (__ctanf): Likewise.
3865 * math/s_ctanh.c (__ctanh): Likewise.
3866 * math/s_ctanhf.c (__ctanhf): Likewise.
3867 * math/s_ctanhl.c (__ctanhl): Likewise.
3868 * math/s_ctanl.c (__ctanl): Likewise.
3869 * math/libm-test.inc (ctan_test_tonearest): New function.
3870 (ctan_test_towardzero): Likewise.
3871 (ctan_test_downward): Likewise.
3872 (ctan_test_upward): Likewise.
3873 (ctanh_test_tonearest): Likewise.
3874 (ctanh_test_towardzero): Likewise.
3875 (ctanh_test_downward): Likewise.
3876 (ctanh_test_upward): Likewise.
3877 (main): Call these new functions.
3878 * sysdeps/i386/fpu/libm-test-ulps: Update.
3879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3880
ca48a46a
MF
38812012-07-03 Mike Frysinger <vapier@gentoo.org>
3882
3883 * .gitignore: Delete /ports entry.
3884
9d63d37d
AJ
38852012-07-03 Andreas Jaeger <aj@suse.de>
3886
3887 * po/bg.po: Update from translation team.
3888 * po/cs.po: Likewise.
3889 * po/de.po: Likewise.
3890 * po/hr.po: Likewise.
3891 * po/nl.pl: Likewise.
3892 * po/pl.po: Likewise.
3893 * po/vi.po: Likewise.
3894
370ca3d2
JM
38952012-07-03 Joseph Myers <joseph@codesourcery.com>
3896
95f5a9a8
JM
3897 * Makeconfig [!+link] (+link-before-libc): New variable.
3898 [!+link] (+link-after-libc): Likewise.
3899 [!+link] (+link-tests): Likewise.
3900 [!+link] (+link): Define in terms of $(+link-before-libc) and
3901 $(+link-after-libc).
3902 [!+link-static] (+link-static-before-libc): New variable.
3903 [!+link-static] (+link-static-after-libc): Likewise.
3904 [!+link-static] (+link-static-tests): Likewise.
3905 [!+link-static] (+link-static): Define in terms of
3906 $(+link-static-before-libc) and $(+link-static-after-libc).
3907 [build-shared] (link-libc-before-gnulib): New variable.
3908 [build-shared] (link-libc-tests): Likewise.
3909 [build-shared] (link-libc): Define in terms of
3910 $(link-libc-before-gnulib).
3911 [!build-shared] (link-libc-tests): New variable.
3912 (link-libc-static-tests): New variable.
3913 [!gnulib] (gnulib-arch): New variable.
3914 [!gnulib] (gnulib-tests): Likewise.
3915 [!gnulib] (static-gnulib-arch): Likewise.
3916 [!gnulib] (static-gnulib-tests): Likewise.
3917 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3918 Define with "=" instead of ":=".
3919 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3920 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3921 * Rules (binaries-all-notests): New variable.
3922 (binaries-all-tests): Likewise.
3923 (binaries-static-notests): Likewise.
3924 (binaries-static-tests): Likewise.
3925 (binaries-all): Define using $(binaries-all-notests) and
3926 $(binaries-all-tests).
3927 (binaries-static): Define using $(binaries-static-notests) and
3928 $(binaries-static-tests).
3929 (binaries-shared-tests): New variable.
3930 (binaries-shared-notests): Likewise.
3931 (binaries-shared): Remove variable.
3932 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3933 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3934 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3935 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3936 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3937 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3938 * elf/Makefile (sln-modules): New variable.
3939 (extra-objs): Add $(sln-modules:=.o).
3940 (ldconfig-modules): Add static-stubs.
3941 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3942 * elf/static-stubs.c: New file.
3943
7a845b2c
JM
3944 [BZ #14283]
3945 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3946 by 7 not 8 to examine high bit of fractional part. Use volatile
3947 variables when splitting into final array of floats if
3948 __FLT_EVAL_METHOD__ != 0.
3949 * math/libm-test.inc (cos_test): Add another test.
3950 (sin_test): Likewise.
3951 * sysdeps/i386/fpu/libm-test-ulps: Update.
3952
e2283f38
JM
3953 [BZ #14273]
3954 * math/libm-test.inc (cosh_test): Add more tests.
3955
370ca3d2
JM
3956 * version.h (RELEASE): Set to "development".
3957 (VERSION): Set to "2.16.90".
3958
ee9247c3
CD
39592012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3960
3961 * NEWS: Update copyright. Remove last-updated date.
3962 Mention math library bug fixes and timezone data changes.
3963 * README: Mention GNU/Hurd, x32, and HPPA support status.
3964
4648c381
TS
39652012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3966
3967 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3968
aac78a43
AJ
39692012-06-27 Andreas Jaeger <aj@suse.de>
3970
3971 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3972
ed3dbfad
AJ
39732012-06-25 Andreas Jaeger <aj@suse.de>
3974
3975 * sysdeps/s390/fpu/libm-test-ulps: Update.
3976
4d0ee855
AS
39772012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3978 Thomas Schwinge <thomas@codesourcery.com>
3979
3980 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3981 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3982 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3983 fanotify_mark.
3984
af1bce34
TS
39852012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3986
a9fa33ba
TS
3987 * sysdeps/mach/start.c: Remove file.
3988 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3989 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3990 * sysdeps/sh/init-first.c: Likewise.
3991
58f902b8
TS
3992 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3993 registers for frame unwinding purposes, add CFI directives.
3994 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3995 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3996 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3997 Likewise.
3998
1518f58b
TS
3999 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4000 __fortify_fail returning.
4001 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4002
db9b5059
TS
4003 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4004 sysdeps/sh/____longjmp_chk.S.
4005 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4006 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4007 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4008 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4009
967705fe
TS
4010 * sysdeps/sh/abort-instr.h: New file.
4011 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4012 process in case exit returns.
4013
a9def8c4
TS
4014 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4015 initialize the GOT register before use.
4016
2a649725
TS
4017 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4018 calculation of ARGC > 4.
4019
af1bce34
TS
4020 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4021 meaningful names to some local labels.
4022
d230f50a
KK
40232012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4024 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4025
4026 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4027 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4028 (__arch_compare_and_exchange_val_16_acq): Likewise.
4029 (__arch_compare_and_exchange_val_32_acq): Likewise.
4030 (atomic_exchange_and_add): Fix gUSA sequence.
4031 (atomic_add): Likewise.
4032 (atomic_add_negative): Likewise.
4033 (atomic_add_zero): Likewise.
4034 (atomic_bit_test_set): Likewise.
4035
0479b305
AS
40362012-06-22 Andreas Schwab <schwab@redhat.com>
4037
4038 [BZ #13579]
4039 * include/link.h (struct link_map): Add l_free_initfini.
4040 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4041 l_initfini.
4042 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4043 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4044 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4045 set.
4046
0e3933b9
CD
40472012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4048
4049 * configure.in: Use AC_LANG_SOURCE.
4050 * configure: Regenerate.
4051
4248b1b1
RM
40522012-06-22 Roland McGrath <roland@hack.frob.com>
4053
4054 * configure.in (libc_cv_localstatedir): New substituted variable.
4055 * configure: Regenerated.
4056 * config.make.in (localstatedir): New variable, substituted from
4057 libc_cv_localstatedir.
4058 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4059 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4060 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4061 * sysdeps/gnu/configure: Regenerated.
4062
006dd861
JL
40632012-06-21 Jeff Law <law@redhat.com>
4064
4065 [BZ #14277]
4066 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4067 free. Simplify list management for _LIBC case.
4068
79662d42
JM
40692012-06-21 Joseph Myers <joseph@codesourcery.com>
4070
b7abb4bf
JM
4071 [BZ #14273]
4072 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4073 Clear sign bit of 64-bit integer value before comparing against
4074 overflow value.
4075
79662d42
JM
4076 * sysdeps/mach/configure: Regenerated.
4077
1f150908
L
40782012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4079
4080 [BZ #14278]
4081 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4082
28363bbf
JL
40832012-06-21 Jeff Law <law@redhat.com>
4084
4085 [BZ #13882]
4086 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4087 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4088 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4089 * elf/dl-open.c (dl_open_worker): Likewise.
4090
09615db4
CD
40912012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4092
4093 * scripts/list-sources.sh: Scan PORTS for translations.
4094 * po/libc.pot: Regenerated.
4095
2174c6dd
AJ
40962012-06-21 Andreas Jaeger <aj@suse.de>
4097
4098 [BZ #12194]
4099 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4100 warning.
4101 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4102 * bits/byteswap-16.h (__bswap_16): Likewise.
4103 * bits/byteswap.h (__bswap_constant_16): Likewise.
4104
3ee947b1
L
41052012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4106
4107 [BZ #14117]
a2f34833
L
4108 * sysdeps/i386/fpu_control.h: Removed.
4109 * sysdeps/x86_64/fpu_control.h: Moved to ...
4110 * sysdeps/x86/fpu_control.h: Here.
4111
3ee947b1
L
4112 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4113 (_FPU_SETCW): Likewise.
4114
ed1825f8
L
41152012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4116
25f1282a
L
4117 [BZ #14117]
4118 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4119 * sysdeps/x86/fpu/bits/mathinline.h: This.
4120 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4121
ed1825f8
L
4122 [BZ #14050]
4123 [BZ #14117]
4124 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4125 functions if __x86_64__ is defined.
4126
36d54b74
CLT
41272012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4128
4129 * string/endian.h: Add !__ASSEMBLER__ condition for including
4130 conversion interfaces.
4131
10285c21
JM
41322012-06-15 Joseph Myers <joseph@codesourcery.com>
4133
4134 [BZ #14241]
4135 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4136 of ABS(x) in calculating zero to negative powers other than odd
4137 integers.
4138 * math/libm-test.inc (pow_test): Add more tests.
4139
06c5abbd
AJ
41402012-06-15 Andreas Jaeger <aj@suse.de>
4141
4142 * manual/contrib.texi (Contributors): Update entry of Liubov
4143 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4144 Machado Filho.
4145
a3aeac40
CH
41462012-06-15 Cyril Hrubis <metan@ucw.cz>
4147
4148 * string/string.h: Add __wur to GNU version of strerror_r.
4149
49bdf4c1
L
41502012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4151
4152 [BZ #14229]
4153 * string/Makefile (tests): Add tst-strtok_r.
4154 * string/tst-strtok_r.c: New file.
4155 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4156 RAX_LP/RDX_LP on SAVE_PTR.
4157
834f9b8d
RM
41582012-06-14 Roland McGrath <roland@hack.frob.com>
4159
4160 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4161
75fa1921
JM
41622012-06-14 Joseph Myers <joseph@codesourcery.com>
4163
4164 * libm_test.inc (csqrt_test): Allow more spurious underflow
4165 exceptions.
4166 (j0_test): Likewise.
4167 (j1_test): Likewise.
4168 (y0_test): Likewise.
4169 (y1_test): Likewise.
4170
771766df
CD
41712012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4172
4173 * po/Makefile (libc.pot): Use UTF-8 charset.
4174
ceb9e56b
PP
41752012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4176
4177 [BZ #14210]
4178 Suppress sign-conversion warning from FD_SET.
4179 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4180 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4181 not unsigned long int.
4182 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4183
ddb28975
L
41842012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4185
4186 [BZ #14050]
4187 [BZ #14117]
4188 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4189 __extern_always_inline instead of __extern_inline.
4190 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4191 (__signbit): Likewise.
4192 (__signbitl): Support C++ namespace.
4193 (lrintf): New inline function.
4194 (lrint): Likewise.
4195 (llrintf): Likewise.
4196 (llrint): Likewise.
4197 (fmaxf): Likewise.
4198 (fmax): Likewise.
4199 (fminf): Likewise.
4200 (fmin): Likewise.
4201 (rint): Likewise.
4202 (rintf): Likewise.
4203 (ceil): Likewise.
4204 (ceilf): Likewise.
4205 (floor): Likewise.
4206 (floorf): Likewise.
4207 (nearbyint): Likewise.
4208 (nearbyintf): Likewise.
4209
d7b4fb26
TS
42102012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4211
4212 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4213 non-default versions.
4214
eb55f5c2
RM
42152012-06-11 Roland McGrath <roland@hack.frob.com>
4216
4217 [BZ #14218]
4218 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4219
366af02c
TS
42202012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4221
99ff6e5c
TS
4222 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4223 (FE_UPWARD, FE_DOWNWARD): Don't define.
4224 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4225 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4226
366af02c
TS
4227 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4228 reading it.
4229 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4230 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4231
793ea851
KK
42322012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4233
4234 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4235 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4236 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4237 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4238
a728a38f
L
42392012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4240
4241 [BZ #14117]
c08010c7
L
4242 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4243 * sysdeps/i386/fpu/Implies: New file.
4244 * sysdeps/x86_64/fpu/Implies: Likewise.
4245 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4246 * sysdeps/x86/fpu/bits/fenv.h: This.
4247
a728a38f
L
4248 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4249 __SSE_MATH__.
4250
6e230d11
SP
42512012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4252
4253 [BZ #14134]
4254 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4255 character 0xffff that matches the last element of the
4256 conversion table.
4257
1b671feb
AZ
42582012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4259
4260 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4261 fmodl commit.
4262
6043738b
AZ
42632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4264
4265 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4266 values higher than 25.6283.
4267
34ae0b32
AZ
42682012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4269
4270 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4271 subnormal exponent extraction and add some __builtin_expect.
4272 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4273 Fix for subnormal mantissa calculation.
4274
1214ec8f
MF
42752012-06-04 Mike Frysinger <vapier@gentoo.org>
4276
4277 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4278 cpu2 is -1 and errno is not ENOSYS.
4279
f3d1f93c
L
42802012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4281
4282 [BZ #14117]
0e4a3cd7
L
4283 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4284 * sysdeps/x86/bits/string.h: This.
4285 * sysdeps/x86_64/bits/string.h: Removed.
4286
6704c645
L
4287 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4288 if not compiling for x86-64, but compiling for >= i486.
4289
48495318
L
4290 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4291 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4292
14adcbfc
L
4293 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4294 New macro from Linux kernel 3.4.0.
4295 (FP_XSTATE_MAGIC2): Likewise.
4296 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4297 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4298 (struct _fpx_sw_bytes): New struct.
4299 (struct _xsave_hdr): Likewise.
4300 (struct _ymmh_state): Likewise.
4301 (struct _xstate): Likewise.
4302
68e408ab
L
4303 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4304 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4305 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4306 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4307 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4308 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4309
f3d1f93c
L
4310 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4311 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4312 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4313 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4314 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4315 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4316
d9dc34cd
TMQMF
43172012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4318
4319 [BZ #13743]
4320 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4321 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4322 (sysdep_headers): Include sys/platform/ppc.h.
4323 * sysdeps/powerpc/test-gettimebase.c: Test for
4324 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4325 * manual/Makefile (appendices): Include platform.texi.
4326 * manual/contrib.texi (Contributors): Update @node pointers.
4327 * manual/maint.texi (Maintenance): Likewise.
4328 (Platform): New node.
4329 * manual/platform.texi: New file. Document the new features.
4330
4af3879c
SP
43312012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4332 Jakub Jelinek <jakub@redhat.com>
4333
4334 [BZ #14188]
4335 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4336 where __builtin_expect is unavailable.
4337
2fd6ff13
DM
43382012-06-03 David S. Miller <davem@davemloft.net>
4339
4340 * stdlib/longlong.h: Updated from GCC.
4341
173f7220
AS
43422012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4343
4344 [BZ #14042]
4345 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4346 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4347 __mcount_internal.
4348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4349 (GLIBC_2.16): Likewise.
4350
f34a1c6f
L
43512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4352
4353 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4354
88a4576f
JM
43552012-06-01 Joseph Myers <joseph@codesourcery.com>
4356
ea32bcdd
JM
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4358 (default-abi): New variable.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4360 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4361 variable.
4362 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4363 Likewise.
4364 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4365 Likewise.
4366 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4367 Likewise.
4368
88a4576f
JM
4369 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4370 definition. Document in comment.
4371
402fe938
DM
43722012-06-01 David S. Miller <davem@davemloft.net>
4373
4374 * stdlib/longlong.h: Updated from GCC.
4375
3553723f
L
43762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4377
4378 [BZ #14117]
3bd872c4
L
4379 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4380 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4381 sys/debugreg.h sys/io.h here.
4382 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4383 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4384 sys/io.h.
4385 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4386 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4387 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4388 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4389 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4390 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4391
3553723f
L
4392 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4393 Define only if __x86_64__ is defined.
4394
4842e4fe
JM
43952012-06-01 Joseph Myers <joseph@codesourcery.com>
4396
c5bfe3d5
JM
4397 [BZ #14048]
4398 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4399 Use int64_t for variable i.
4400 * math/libm-test.inc (fmod_test): Add more tests.
4401
4842e4fe
JM
4402 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4403 z computation is not scheduled after fetestexcept.
4404 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4405 Use math_force_eval instead of asm to ensure calculation scheduled
4406 before exception test.
4407 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4408 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4409
efb73488
AJ
44102012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4411
4412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4413 computation is not scheduled after fetestexcept.
4414
29bcce7c
L
44152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4416
4417 [BZ #14117]
4418 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4419 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4420
73a68f94
AZ
44212012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4422
4423 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4424 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4425
67b6df78
L
44262012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4427
edf2933a 4428 [BZ #14117]
ebc64a18
L
4429 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4430 <bits/wordsize.h>.
4431 (__WCHAR_MIN): Support __WORDSIZE == 64.
4432 (__WCHAR_MAX): Likewise.
4433
edf2933a
L
4434 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4435 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4436
57c6cf40
L
4437 [BZ #14183]
4438 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4439 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4440
67b6df78 4441 [BZ #14117]
8eb6281e
L
4442 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4443 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4444
aac639f4
L
4445 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4446 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4447
67b6df78
L
4448 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4449 Defined to 1 if __x86_64__ isn't defined.
4450 (_STAT_VER_LINUX_OLD): New.
4451 (st_atime): Remove duplicate.
4452 (st_mtime): Likewise.
4453 (st_ctime): Likewise.
4454
1c2cfe81
DM
44552012-05-31 David S. Miller <davem@davemloft.net>
4456
4457 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4458 entries.
4459
5be8418c
AS
44602012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4461
e7725326
AS
4462 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4463 gen-libm-test.pl.
4464
5be8418c
AS
4465 [BZ #14132]
4466 * elf/dl-reloc.c: Include <_itoa.h>.
4467 (_dl_reloc_bad_type): Remove use of INTUSE.
4468 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4469 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4470 * stdio-common/psiginfo.c (psiginfo): Likewise.
4471 * stdio-common/psignal.c (psignal): Likewise.
4472 * string/strsignal.c (strsignal): Likewise.
4473 * include/signal.h (_sys_siglist): Declare hidden proto.
4474 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4475 INTVARDEF with libc_hidden_data_def.
4476 * stdio-common/itoa-udigits.c: Likewise.
4477 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4478 (_itoa_lower_digits_internal): Remove declaration.
4479 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4480 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4481 (_sys_sigabbrev_internal): Remove aliases.
4482 (_sys_siglist): Define hidden alias.
4483
507352f1
MT
44842012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4485
4486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4487 bits/sysctl.h.
4488
42bbb1c3
L
44892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4490
4491 [BZ #14117]
6bd784b6
L
4492 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4493 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4494
8bca20f0
L
4495 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4496 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4497 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4498 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4500 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4501
f9e890a9
L
4502 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4503 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4504 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4505
471101a1
L
4506 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4507 with __addr.
4508 (insw): Likewise.
4509 (insl): Likewise.
4510 (outsb): Likewise.
4511 (outsw): Likewise.
4512 (outsl): Likewise.
4513
6451c862
L
4514 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4515 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4516 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4517
a254b8c9
L
4518 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4519 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4520 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4521 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4522 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4523 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4524
b8dfdd92
L
4525 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4526 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4527
578cd270
L
4528 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4529 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4530
de662f5f
L
4531 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4532 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4533 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4534
25653439
L
4535 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4536 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4537 to ...
4538 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4539
6bad24a0
L
4540 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4541 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4542 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4543
42bbb1c3
L
4544 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4545 for x86-64.
4546 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4547
2d10d547
JM
45482012-05-31 Joseph Myers <joseph@codesourcery.com>
4549
4550 * math/math.h (M_El): Use two more decimal places.
4551 (M_LOG2El): Likewise.
4552 (M_LOG10El): Likewise.
4553 (M_LN2l): Likewise.
4554 (M_LN10l): Likewise.
4555 (M_PIl): Likewise.
4556 (M_PI_2l): Likewise.
4557 (M_PI_4l): Likewise.
4558 (M_1_PIl): Likewise.
4559 (M_2_PIl): Likewise.
4560 (M_2_SQRTPIl): Likewise.
4561 (M_SQRT2l): Likewise.
4562 (M_SQRT1_2l): Likewise.
4563
f230c29b
DM
45642012-05-31 David S. Miller <davem@davemloft.net>
4565
4566 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4567 values between float registers.
4568 * sysdeps/sparc/sparc64/memset.S: Likewise.
4569 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4570
fed806c3
MF
45712012-05-31 Mike Frysinger <vapier@gentoo.org>
4572
4573 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4574 -D_FORTIFY_SOURCE=1.
4575 (CPPFLAGS-tst-longjmp_chk.c): Define.
4576 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4577 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4578 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4579 CFLAGS-tst-wchar-h.c.
4580
30917259
MP
45812012-05-31 Marek Polacek <polacek@redhat.com>
4582
4583 [BZ #14132]
4584 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4585 __endmntent_internal): Remove declaration.
4586 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4587 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4588 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4589
1c58d5dc
DM
45902012-05-30 David S. Miller <davem@davemloft.net>
4591
4592 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4593 (___Q_simulate_exceptions): Use real FP ops rather than writing
4594 into the %fsr.
4595 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4596 Likewise.
4597
7dc00e0d
L
45982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4599
4600 [BZ #14117]
0bd53985
L
4601 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4602 * sysdeps/x86/bits/xtitypes.h: This.
4603
3a257e66
L
4604 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4605 * sysdeps/x86/bits/wordsize.h: This.
4606
62f62904
L
4607 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4608 * sysdeps/x86/bits/huge_vall.h: This.
4609
404fe9d9
L
4610 * sysdeps/i386/bits/select.h: Removed.
4611 * sysdeps/x86_64/bits/select.h: Renamed to ...
4612 * sysdeps/x86/bits/select.h: This.
4613
d48d0446
L
4614 * sysdeps/i386/bits/setjmp.h: Removed.
4615 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4616 * sysdeps/x86/bits/setjmp.h: This.
4617
7dc00e0d
L
4618 * sysdeps/i386/bits/mathdef.h: Removed.
4619 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4620 * sysdeps/x86/bits/mathdef.h: This.
4621
03277f8f
AS
46222012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4623
4624 [BZ #14132]
4625 * include/sys/socket.h (__connect_internal)
4626 (__libc_sa_len_internal): Remove declaration.
4627 (__connect, __libc_sa_len): Declare hidden_proto.
4628 (SA_LEN): Remove use of INTUSE.
4629 * socket/connect.c: Add libc_hidden_def.
4630 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4631 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4632 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4633 alias.
4634 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4635 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4636 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4637 of adding _internal alias.
4638
13764867
L
46392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4640
4641 [BZ #14117]
6bd97696
L
4642 * sysdeps/i386/bits/link.h: Removed.
4643 * sysdeps/i386/bits/linkmap.h: Likewise.
4644 * sysdeps/x86_64/bits/link.h: Renamed to ...
4645 * sysdeps/x86/bits/link.h: This.
4646 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4647 * sysdeps/x86/bits/linkmap.h: This.
4648
f726f0bb
L
4649 * sysdeps/i386/bits/endian.h: Removed.
4650 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4651 * sysdeps/x86/bits/endian.h: This.
4652
13764867
L
4653 * sysdeps/i386/bits/byteswap.h: Removed.
4654 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4655 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4656 * sysdeps/x86/bits/byteswap.h: This.
4657 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4658 * sysdeps/x86/bits/byteswap-16.h: This.
4659 * sysdeps/i386/Implies: Add x86.
4660 * sysdeps/x86_64/Implies: Likewise.
4661
ae251b0b
DM
46622012-05-30 David S. Miller <davem@davemloft.net>
4663
4664 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4665 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4666 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4667 (FP_TRAPPING_EXCEPTIONS): Define.
4668 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4669 (FP_TRAPPING_EXCEPTIONS): Define.
4670 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4671 subnormals only when inexact has been signalled or underflow
4672 exceptions are enabled.
4673 (_FP_PACK_CANONICAL): Likewise.
4674
d5c90867
L
46752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4676
4677 [BZ #14183]
4678 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4679 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4680
63f1549e
RH
46812012-05-30 Richard Henderson <rth@twiddle.net>
4682
8d8f2279
RH
4683 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4684 with #ifndef NOT_IN_libc.
4685
63f1549e
RH
4686 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4687 marked to avoid plt entry.
4688
0ab0291b
L
46892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4690
4691 [BZ #14112]
4692 * Makeconfig (default-abi): New macro.
4693 (abi-includes): Likewise.
4694 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4695 $(abi-$(default-abi)-lib-soname) for soname if defined.
4696 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4697 abi-variants.
4698 * Makefile (installed-stubs): Likewise.
4699 * include/stubs-biarch.h: Removed.
4700 * scripts/lib-names.awk: Only handle one library at a time.
4701 * scripts/soversions.awk: Remove WORDSIZE support.
4702 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4703 entries.
4704 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4705 Removed.
4706 (syscall-list-default-condition): Likewise.
4707 (syscall-list-default-condition): Likewise.
4708 (syscall-list-includes): Likewise.
4709 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4710 syscall-list-* with abi-*. Handle undefined abi-variants.
4711 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4712 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4713 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4714 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4715 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4716 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4717 Removed.
4718 (syscall-list-32-options): Likewise.
4719 (syscall-list-32-condition): Likewise.
4720 (syscall-list-64-options): Likewise.
4721 (syscall-list-64-condition): Likewise.
4722 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4723 macro.
4724 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4725 Renamed to ...
4726 (abi-*): This.
4727 (abi-64-ld-soname): New macro.
4728 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4729 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4730 Renamed to ...
4731 (abi-*): This.
4732 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4733 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4734
4da0431d
JM
47352012-05-30 Joseph Myers <joseph@codesourcery.com>
4736
3a85279c
JM
4737 * sysdeps/unix/sysv/linux/kernel-features.h
4738 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4739 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4740 include <kernel-features.h>.
4741 [!__NR_ftruncate64]: Remove conditional code.
4742 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4743 [__NR_ftruncate64]: Make code unconditional.
4744 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4745 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4746 include <kernel-features.h>.
4747 [!__NR_ftruncate64]: Remove conditional code.
4748 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4749 [__NR_ftruncate64]: Make code unconditional.
4750 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4752 include <kernel-features.h>.
4753 [!__NR_ftruncate64]: Remove conditional code.
4754 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4755 [__NR_ftruncate64]: Make code unconditional.
4756 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4758 include <kernel-features.h>.
4759 [!__NR_ftruncate64]: Remove conditional code.
4760 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4761 [__NR_ftruncate64]: Make code unconditional.
4762 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4763
4da0431d
JM
4764 * configure.in (libc_cv_fpie): Weaken to a compile test using
4765 LIBC_TRY_CC_OPTION.
4766 * configure: Regenerated.
4767
11ef492c
AK
47682012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4769
4770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4774 Refreshed.
4775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4781 Refreshed.
4782
d66ef399
DM
47832012-05-27 David S. Miller <davem@davemloft.net>
4784
4785 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4786 (___Q_zero): New.
4787 (__Q_simulate_exceptions): Return void. Change to simulate
4788 exceptions by writing into the %fsr.
4789 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4790 (__Qp_handle_exceptions): Likewise.
4791 (numbers): Delete.
4792 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4793 __Qp_handle_exceptions.
4794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4795 __Qp_handle_exceptions.
4796 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4797 as unused and give dummy FP_RND_NEAREST initializer.
4798 (FP_INHIBIT_RESULTS): Define.
4799 (___Q_simulate_exceptions): Update declaration.
4800 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4801 formatting.
4802 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4803 as unused and give dummy FP_RND_NEAREST initializer.
4804 (__Qp_handle_exceptions): Update declaration.
4805 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4806 formatting.
4807
04fb54b5
TS
48082012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4809
4810 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4811 the temporary FPU control word.
4812 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4813 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4814 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4815 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4816 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4817 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4818 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4819 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4820 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4821 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4822 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4823
3f99608f
KK
48242012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4825
4826 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4827 fields.
4828
65a4de4e
CLT
48292012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4830
4831 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4832 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4833 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4834 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4835 Likewise.
4836 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4837 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4838 Likewise.
4839
15749d40
UD
48402012-05-27 Ulrich Drepper <drepper@gmail.com>
4841
4842 * po/h.po: Update from translation team.
4843
25dbcb27
AS
48442012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4845
3d3f8e55
AS
4846 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4847
25dbcb27
AS
4848 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4849 handling of denormals.
4850 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4851 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4852 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4853 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4854 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4855 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4856 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4857 Likewise.
4858
7ad47a80 48592012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4860
4861 [BZ #14152]
4862 * math/libm-test.inc (fma_test): Don't always expect underflow
4863 exception.
4864
9c6ea9fa
SP
48652012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4866
4867 [BZ #12416]
4868 * elf/tst-execstack.c: Include stackinfo.h.
4869 (do_test): Adjust test case to ensure that pthread_getattr_np
4870 behaviour remains the same after marking stack executable.
4871
a8239222
JM
48722012-05-25 Joseph Myers <joseph@codesourcery.com>
4873
4874 * sysdeps/unix/sysv/linux/kernel-features.h
4875 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4876 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4877 kernel-features.h.
4878 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4879 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4880 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4881 kernel-features.h.
4882 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4883 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4884
918b5606
L
48852012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4886
4887 * configure.in: Define the default includes to being none.
4888 * configure: Regenerated.
4889
3a097cc7
RM
48902012-05-25 Roland McGrath <roland@hack.frob.com>
4891
8422c9a5
RM
4892 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4893 * sysdeps/x86_64/setjmp.S: Likewise.
4894 * sysdeps/i386/bsd-setjmp.S: Likewise.
4895 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4896 * sysdeps/i386/setjmp.S: Likewise.
4897 * sysdeps/i386/__longjmp.S: Likewise.
4898 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4899 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4900
3a097cc7
RM
4901 * include/stap-probe.h: New file.
4902 * configure.in: Handle --enable-systemtap.
4903 * configure: Regenerated.
4904 * config.h.in (USE_STAP_PROBE): New #undef.
4905 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4906 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4907 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4908
21708942
JM
49092012-05-25 Joseph Myers <joseph@codesourcery.com>
4910
4911 [BZ #13717]
4912 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4913 to 2.4.0 where earlier.
4914 * sysdeps/unix/sysv/linux/configure: Regenerated.
4915 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4916 <kernel-features.h>.
4917 [__ASSUME_32BITUIDS]: Make code unconditional.
4918 [!__ASSUME_32BITUIDS]: Remove conditional code.
4919 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4920 <kernel-features.h>.
4921 [__ASSUME_32BITUIDS]: Make code unconditional.
4922 [!__ASSUME_32BITUIDS]: Remove conditional code.
4923 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4924 [__ASSUME_32BITUIDS]: Make code unconditional.
4925 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4926 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/i386/getuid.c: Do not include
4951 <kernel-features.h>.
4952 [__ASSUME_32BITUIDS]: Make code unconditional.
4953 [!__ASSUME_32BITUIDS]: Remove conditional code.
4954 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4955 <kernel-features.h>.
4956 [__ASSUME_32BITUIDS]: Make code unconditional.
4957 [!__ASSUME_32BITUIDS]: Remove conditional code.
4958 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4959 <kernel-features.h>.
4960 [__ASSUME_32BITUIDS]: Make code unconditional.
4961 [!__ASSUME_32BITUIDS]: Remove conditional code.
4962 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4963 <kernel-features.h>.
4964 [__ASSUME_32BITUIDS]: Make code unconditional.
4965 [!__ASSUME_32BITUIDS]: Remove conditional code.
4966 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4967 <kernel-features.h>.
4968 [__NR_setresgid] (__setresgid): Do not declare.
4969 [__ASSUME_32BITUIDS]: Make code unconditional.
4970 [!__ASSUME_32BITUIDS]: Remove conditional code.
4971 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4972 <kernel-features.h>.
4973 [__NR_setresuid] (__setresuid): Do not declare.
4974 [__ASSUME_32BITUIDS]: Make code unconditional.
4975 [!__ASSUME_32BITUIDS]: Remove conditional code.
4976 * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
4981 <kernel-features.h>.
4982 [__ASSUME_32BITUIDS]: Make code unconditional.
4983 [!__ASSUME_32BITUIDS]: Remove conditional code.
4984 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4985 <kernel-features.h>.
4986 [__ASSUME_32BITUIDS]: Make code unconditional.
4987 [!__ASSUME_32BITUIDS]: Remove conditional code.
4988 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4989 <kernel-features.h>.
4990 [__ASSUME_32BITUIDS]: Make code unconditional.
4991 [!__ASSUME_32BITUIDS]: Remove conditional code.
4992 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4993 <kernel-features.h>.
4994 [__ASSUME_32BITUIDS]: Make code unconditional.
4995 [!__ASSUME_32BITUIDS]: Remove conditional code.
4996 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4997 <kernel-features.h>.
4998 [__ASSUME_32BITUIDS]: Make code unconditional.
4999 [!__ASSUME_32BITUIDS]: Remove conditional code.
5000 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5001 <kernel-features.h>.
5002 [__ASSUME_32BITUIDS]: Make code unconditional.
5003 [!__ASSUME_32BITUIDS]: Remove conditional code.
5004 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5005 <kernel-features.h>.
5006 [__ASSUME_32BITUIDS]: Make code unconditional.
5007 [!__ASSUME_32BITUIDS]: Remove conditional code.
5008 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5009 <kernel-features.h>.
5010 [__ASSUME_32BITUIDS]: Make code unconditional.
5011 [!__ASSUME_32BITUIDS]: Remove conditional code.
5012 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5013 <kernel-features.h>.
5014 [__ASSUME_32BITUIDS]: Make code unconditional.
5015 [!__ASSUME_32BITUIDS]: Remove conditional code.
5016 * sysdeps/unix/sysv/linux/kernel-features.h
5017 (__ASSUME_SETRESUID_SYSCALL): Remove.
5018 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5019 (__ASSUME_32BITUIDS): Likewise.
5020 (__ASSUME_LDT_WORKS): Likewise.
5021 (__ASSUME_O_DIRECTORY): Likewise.
5022 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5023 architecture but not kernel version.
5024 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5025 (__ASSUME_MMAP2_SYSCALL): Likewise.
5026 (__ASSUME_STAT64_SYSCALL): Likewise.
5027 (__ASSUME_IPC64): Likewise.
5028 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5029 <kernel-features.h>.
5030 [__ASSUME_32BITUIDS]: Make code unconditional.
5031 [!__ASSUME_32BITUIDS]: Remove conditional code.
5032 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5033 <kernel-features.h>.
5034 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5035 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5036 132096]: Remove conditional code.
5037 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5038 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5039 <kernel-features.h>.
5040 [__ASSUME_32BITUIDS]: Make code unconditional.
5041 [!__ASSUME_32BITUIDS]: Remove conditional code.
5042 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5043 <kernel-features.h>.
5044 [__ASSUME_32BITUIDS]: Make code unconditional.
5045 [!__ASSUME_32BITUIDS]: Remove conditional code.
5046 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5047 <kernel-features.h>.
5048 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5049 unconditional.
5050 (__setresgid): Do not declare.
5051 [__ASSUME_32BITUIDS]: Make code unconditional.
5052 [!__ASSUME_32BITUIDS]: Remove conditional code.
5053 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5054 <kernel-features.h>.
5055 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5056 unconditional.
5057 (__setresuid): Do not declare.
5058 [__ASSUME_32BITUIDS]: Make code unconditional.
5059 [!__ASSUME_32BITUIDS]: Remove conditional code.
5060 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5061 <kernel-features.h>.
5062 [__ASSUME_32BITUIDS]: Make code unconditional.
5063 [!__ASSUME_32BITUIDS]: Remove conditional code.
5064 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5065 <kernel-features.h>.
5066 [__ASSUME_32BITUIDS]: Make code unconditional.
5067 [!__ASSUME_32BITUIDS]: Remove conditional code.
5068
a386f1cc
RH
50692012-05-25 Richard Henderson <rth@twiddle.net>
5070
5071 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5072 dl_hwcap to ifunc resolver.
5073 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5074 elf_ifunc_invoke.
5075 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5076 dl_hwcap to ifunc resolver.
5077 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5078
b6550497
JM
50792012-05-24 Joseph Myers <joseph@codesourcery.com>
5080
5081 [BZ #14153]
5082 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5083 for |x| <= 2**-26, not 2**-57.
5084 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5085 exception.
5086
b0bc23a1
JL
50872012-05-24 Jeff Law <law@redhat.com>
5088
5089 * stdio-common/Makefile (tests): Add bug25.
5090 * stdio-common/bug25.c: New test.
5091
347c92e9
L
50922012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5093
5094 [BZ #13576]
5095 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5096 multiple of MALLOC_ALIGNMENT in size.
5097 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5098
6bcc8b3f
JM
50992012-05-24 Joseph Myers <joseph@codesourcery.com>
5100
5101 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5102 Require >= 256.
5103 (FILENAME_MAX): Use macro-int-constant.
5104 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5105 (_IOFBF): Use macro-int-constant.
5106 (_IOLBF): Likewise.
5107 (_IONBF): Likewise.
5108 (SEEK_CUR): Likewise.
5109 (SEEK_END): Likewise.
5110 (SEEK_SET): Likewise.
5111 (TMP_MAX): Likewise.
5112 (EOF): Use macro-int-constant. Require < 0.
5113 (NULL): Use macro-constant. Require == 0.
5114 (stdin): Require type to be FILE *.
5115 (stdout): Likewise.
5116 (stderr): Likewise.
5117 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5118 macro-int-constant.
5119 (EXIT_SUCCESS): Likewise.
5120 (NULL): Use macro-constant. Require == 0.
5121 (RAND_MAX): Use macro-int-constant.
5122 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5123 [C99-based standards] (strtof): Require function.
5124 [C99-based standards] (strtold): Likewise.
5125 [C99-based standards] (strtoll): Likewise.
5126 [C99-based standards] (strtoull): Likewise.
5127 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5128 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5129 [ISO || ISO99 || ISO11] (math.h): Likewise.
5130 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5131 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5132 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5133
d18ea0c5
AS
51342012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5135
5136 [BZ #14132]
56d25bb8
AS
5137 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5138 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5139 * intl/dgettext.c (DCGETTEXT): Likewise.
5140 * intl/gettext.c (DCGETTEXT): Likewise.
5141 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5142 * posix/regex_internal.h (gettext): Likewise.
5143 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5144 Remove declaration.
5145 * include/argz.h (__argz_count_internal)
5146 (__argz_stringify_internal): Remove declaration.
5147 (__argz_count, __argz_stringify): Declare hidden proto.
5148 * intl/dcgettext.c: Remove use of INTDEF.
5149 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5150 * string/argz-stringify.c: Likewise.
5151 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5152 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5153 Declare hidden proto.
d18ea0c5
AS
5154 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5155 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5156 Declare hidden proto.
5157 * include/stdio.h (__asprintf_internal): Don't declare.
5158 (__asprintf): Don't define as macro. Declare hidden proto.
5159 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5160 (__fsetlocking): Declare hidden proto.
5161 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5162 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5163 hidden proto.
5164 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5165 (_IO_setlinebuf): Remove use of INTUSE.
5166 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5167 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5168 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5169 Remove declaration.
5170 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5171 (_IO_do_flush): Remove use of INTUSE.
5172 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5173 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5174 (_IO_adjust_column, _IO_least_wmarker)
5175 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5176 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5177 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5178 (_IO_default_doallocate, _IO_wdefault_doallocate)
5179 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5180 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5181 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5182 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5183 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5184 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5185 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5186 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5187 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5188 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5189 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5190 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5191 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5192 proto.
5193 (_IO_flush_all_internal, _IO_adjust_column_internal)
5194 (_IO_default_uflow_internal, _IO_default_finish_internal)
5195 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5196 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5197 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5198 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5199 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5200 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5201 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5202 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5203 (_IO_file_close_internal, _IO_file_close_it_internal)
5204 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5205 (_IO_file_init_internal, _IO_file_attach_internal)
5206 (_IO_file_fopen_internal, _IO_file_read_internal)
5207 (_IO_file_sync_internal, _IO_file_seek_internal)
5208 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5209 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5210 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5211 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5212 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5213 (_IO_list_all_internal, _IO_link_in_internal)
5214 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5215 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5216 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5217 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5218 (_IO_do_write_internal, _IO_padn_internal)
5219 (_IO_getline_info_internal, _IO_getline_internal)
5220 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5221 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5222 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5223 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5224 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5225 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5226 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5227 with libc_hidden_ver, remove use of INTUSE.
5228 * libio/genops.c: Likewise.
5229 * libio/freopen.c: Likewise.
5230 * libio/freopen64.c: Likewise.
5231 * libio/iofclose.c: Likewise.
5232 * libio/iofdopen.c: Likewise.
5233 * libio/iofflush.c: Likewise.
5234 * libio/iofflush_u.c: Likewise.
5235 * libio/iofgets.c: Likewise.
5236 * libio/iofgets_u.c: Likewise.
5237 * libio/iofopen.c: Likewise.
5238 * libio/iofopncook.c: Likewise.
5239 * libio/iofread.c: Likewise.
5240 * libio/iofread_u.c: Likewise.
5241 * libio/ioftell.c: Likewise.
5242 * libio/iofwrite.c: Likewise.
5243 * libio/iogetline.c: Likewise.
5244 * libio/iogets.c: Likewise.
5245 * libio/iogetwline.c: Likewise.
5246 * libio/iopadn.c: Likewise.
5247 * libio/iopopen.c: Likewise.
5248 * libio/ioseekoff.c: Likewise.
5249 * libio/ioseekpos.c: Likewise.
5250 * libio/iosetbuffer.c: Likewise.
5251 * libio/iosetvbuf.c: Likewise.
5252 * libio/ioungetc.c: Likewise.
5253 * libio/ioungetwc.c: Likewise.
5254 * libio/iovdprintf.c: Likewise.
5255 * libio/iovsprintf.c: Likewise.
5256 * libio/iovsscanf.c: Likewise.
5257 * libio/memstream.c: Likewise.
5258 * libio/obprintf.c: Likewise.
5259 * libio/oldfileops.c: Likewise.
5260 * libio/oldiofclose.c: Likewise.
5261 * libio/oldiofdopen.c: Likewise.
5262 * libio/oldiofopen.c: Likewise.
5263 * libio/oldiopopen.c: Likewise.
5264 * libio/oldstdfiles.c: Likewise.
5265 * libio/putc.c: Likewise.
5266 * libio/setbuf.c: Likewise.
5267 * libio/setlinebuf.c: Likewise.
5268 * libio/stdfiles.c: Likewise.
5269 * libio/strops.c: Likewise.
5270 * libio/vasprintf.c: Likewise.
5271 * libio/vscanf.c: Likewise.
5272 * libio/vsnprintf.c: Likewise.
5273 * libio/vswprintf.c: Likewise.
5274 * libio/wfiledoalloc.c: Likewise.
5275 * libio/wfileops.c: Likewise.
5276 * libio/wgenops.c: Likewise.
5277 * libio/wmemstream.c: Likewise.
5278 * libio/wstrops.c: Likewise.
5279 * libio/__fpurge.c: Likewise.
5280 * libio/__fsetlocking.c: Likewise.
5281 * assert/assert.c: Likewise.
5282 * debug/fgets_chk.c: Likewise.
5283 * debug/fgets_u_chk.c: Likewise.
5284 * debug/fread_chk.c: Likewise.
5285 * debug/fread_u_chk.c: Likewise.
5286 * debug/gets_chk.c: Likewise.
5287 * debug/obprintf_chk.c: Likewise.
5288 * debug/vasprintf_chk.c: Likewise.
5289 * debug/vdprintf_chk.c: Likewise.
5290 * debug/vsnprintf_chk.c: Likewise.
5291 * debug/vsprintf_chk.c: Likewise.
5292 * malloc/mtrace.c: Likewise.
5293 * misc/error.c: Likewise.
5294 * misc/syslog.c: Likewise.
5295 * stdio-common/asprintf.c: Likewise.
5296 * stdio-common/fxprintf.c: Likewise.
5297 * stdio-common/getw.c: Likewise.
5298 * stdio-common/isoc99_fscanf.c: Likewise.
5299 * stdio-common/isoc99_scanf.c: Likewise.
5300 * stdio-common/isoc99_vfscanf.c: Likewise.
5301 * stdio-common/isoc99_vscanf.c: Likewise.
5302 * stdio-common/isoc99_vsscanf.c: Likewise.
5303 * stdio-common/printf-prs.c: Likewise.
5304 * stdio-common/printf_fp.c: Likewise.
5305 * stdio-common/printf_fphex.c: Likewise.
5306 * stdio-common/printf_size.c: Likewise.
5307 * stdio-common/putw.c: Likewise.
5308 * stdio-common/scanf.c: Likewise.
5309 * stdio-common/sprintf.c: Likewise.
5310 * stdio-common/tmpfile.c: Likewise.
5311 * stdio-common/vfprintf.c: Likewise.
5312 * stdio-common/vfscanf.c: Likewise.
5313 * stdlib/strfmon_l.c: Likewise.
5314 * sunrpc/openchild.c: Likewise.
5315 * sunrpc/xdr_stdio.c: Likewise.
5316 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5317 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5318
d6c33fda
RM
53192012-05-24 Roland McGrath <roland@hack.frob.com>
5320
c1487492
RM
5321 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5322
5323 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5324 in the third column, to generate for the shared library an IFUNC
5325 that uses _dl_vdso_vsym.
5326 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5327 * Makeconfig (object-suffixes-noshared): New variable.
5328
5329 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5330 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5331 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5332 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5333
d6c33fda
RM
5334 [BZ #14132]
5335 * include/sys/time.h (__gettimeofday): Remove macro.
5336 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5337 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5338 Remove INTDEF.
5339 (__gettimeofday): Add libc_hidden_def.
5340 (gettimeofday): Add libc_hidden_weak.
5341 * sysdeps/mach/gettimeofday.c: Likewise.
5342 * sysdeps/posix/gettimeofday.c: Likewise.
5343 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5344 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5345 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5346 (__gettimeofday_internal): Remove strong_alias.
5347 (__gettimeofday): Add libc_hidden_def.
5348 (gettimeofday): Add libc_hidden_weak.
5349 * sysdeps/unix/syscalls.list (gettimeofday):
5350 Remove __gettimeofday_internal alias.
5351
b5a2bbe6
L
53522012-05-24 Daniel Jacobowitz <drow@false.org>
5353 H.J. Lu <hongjiu.lu@intel.com>
5354
5355 [BZ #12495]
5356 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5357 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5358 (largebin_index_32_big): New.
5359 (largebin_index): Use it for 16-byte alignment.
5360 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5361 correction with front_misalign.
5362
cfba4fda
L
53632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5364
7f907421
L
5365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5367 Likewise.
5368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5369 Likewise.
5370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5371 Likewise.
5372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5373 Likewise.
5374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5375 Likewise.
5376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5377 Likewise.
5378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5379 Likewise.
5380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5381 Likewise.
5382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5383 Likewise.
5384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5385 Likewise.
5386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5387 Likewise.
5388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5389 Likewise.
5390
cfba4fda
L
5391 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5392 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5393
80bad0cc
JM
53942012-05-24 Joseph Myers <joseph@codesourcery.com>
5395
7a25eb06
JM
5396 [BZ #10846]
5397 [BZ #14036]
5398 * math/libm-test.inc (exp_test): Add test from bug 14036.
5399 (pow_test): Add test from bug 10846.
5400
795405f9
JM
5401 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5402 and other flags.
5403 (special_function): Do not include flags in test name.
5404 (parse_args): Likewise.
5405 * sysdeps/i386/fpu/libm-test-ulps: Update.
5406 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5407 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5408 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5410
80bad0cc
JM
5411 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5412 exceptions.
5413 * math/libm-test.inc ("Philosophy"): Update comment about
5414 exception testing.
5415 (UNDERFLOW_EXCEPTION): New macro.
5416 (UNDERFLOW_EXCEPTION_OK): Likewise.
5417 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5418 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5419 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5420 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5421 (INVALID_EXCEPTION_OK): Update value.
5422 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5423 (OVERFLOW_EXCEPTION_OK): Likewise.
5424 (IGNORE_ZERO_INF_SIGN): Likewise.
5425 (test_exceptions): Handle underflow exceptions.
5426 (acos_test): Update for underflow exception expectations.
5427 (cexp_test): Likewise.
5428 (clog_test): Likewise.
5429 (clog10_test): Likewise.
5430 (csqrt_test): Likewise.
5431 (ctan_test): Likewise.
5432 (ctanh_test): Likewise.
5433 (exp_test): Likewise.
5434 (exp10_test): Likewise.
5435 (exp2_test): Likewise.
5436 (expm1_test): Likewise.
5437 (fma_test): Likewise.
5438 (j0_test): Likewise.
5439 (jn_test): Likewise.
5440 (nexttoward_test): Likewise.
5441 (pow_test): Likewise.
5442 (scalbn_test): Likewise.
5443 (scalbln_test): Likewise.
5444 (tan_test): Likewise.
5445 (y1_test): Likewise.
5446 * sysdeps/i386/fpu/libm-test-ulps: Update.
5447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5448
9e0e3d0b
DM
54492012-05-23 David S. Miller <davem@davemloft.net>
5450
5451 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5452 (__libc_sigaction): Remove unused local variables.
5453
ccd0a08f
L
54542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5455
5456 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5457
62bdf9a6
PE
54582012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5459
f8591f80
PE
5460 mktime: avoid signed integer overflow
5461 * time/mktime.c (__mktime_internal): Do not mishandle the case
5462 where diff == INT_MIN.
5463
94c7d826
PE
5464 mktime: simplify computation of average
5465 * time/mktime.c (ranged_convert): Use new time_t_avg function
5466 instead of rolling our own (probably-slower) code.
5467
ce73d683
PE
5468 mktime: do not assume signed right shift propagates sign bit
5469 * time/mktime.c (isdst_differ): New static function.
5470 (__mktime_internal): No need to normalize tm_isdst now.
5471 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5472 tm_isdst values.
5473
72a22e59
PE
5474 mktime: merge another wrapv change from gnulib
5475 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5476 from some compilers.
5477
68605433
PE
5478 mktime: remove incorrect attempt at unusual arithmetics
5479 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5480 The code didn't really work on such machines anyway.
5481 (TYPE_MINIMUM): Assume two's complement.
5482 (twos_complement_arithmetic): Verify that long_int and time_t
5483 are two's complement (or unsigned, in the latter case).
5484
03cf7fe3
PE
5485 mktime: check signed shifts on long_int and time_t, too
5486 * time/mktime.c (SHR): Check that shifts work as desired
5487 on the types long_int and time_t too, as SHR is used on
5488 such types.
5489
f04dfbc2
PE
5490 mktime: do not assume 'long' is wide enough
5491 * time/mktime.c (verify): Move decl up.
5492 (long_int): New type.
5493 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5494 to remove assumption in the code that 'long' is wide enough to
5495 store year values. This assumption is not true on x32 and on
5496 some non-glibc platforms.
5497
62bdf9a6
PE
5498 mktime: merge wrapv change from gnulib
5499 * time/mktime.c (WRAPV): New macro.
5500 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5501 (guess_time_tm, __mktime_internal): Do not assume that signed
5502 integer overflow wraps around; modern compilers generate code
5503 where this assumption is no longer valid.
5504
5e292e4f
L
55052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5506
5507 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5508 Replace "jmp L(pseudo_end)" with "ret".
5509 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5510 Likewise.
5511
8caf8c87
AJ
55122012-05-23 Andreas Jaeger <aj@suse.de>
5513
5514 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5515 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5516
1a09dc56
AJ
55172012-05-23 Andreas Jaeger <aj@suse.de>
5518 Maximilian Attems <max@stro.at>
5519
5520 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5521 New macros.
5522
1c87aba0
L
55232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5524
5525 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5526 code so that pseudo_end is just ret and the stack pointer is
5527 correct also for static library in error case.
5528
40e45bd5
JM
55292012-05-23 Joseph Myers <joseph@codesourcery.com>
5530
c2670533
JM
5531 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5532 move to syscalls.list.
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5537
40e45bd5
JM
5538 * manual/install.texi (Running make install): Do not mention Linux
5539 kernel version for which pt_chown is not needed.
5540 (Linux): Do not mention problems with nscd with 2.0 kernels.
5541 * INSTALL: Regenerated.
5542
be08eda5
AJ
55432012-05-23 Andreas Jaeger <aj@suse.de>
5544
5545 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5546 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5547 macro.
5548 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5549 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5550 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5552 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5553 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5554 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5555 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5556 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5557 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5558 * sysdeps/unix/sysv/linux/bits/in.h
5559 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5560
a6a056bb
RM
55612012-05-22 Roland McGrath <roland@hack.frob.com>
5562
5563 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5564 (PREPARE_VERSION): Just use assert instead, it will be elided
5565 under [NDEBUG] anyway.
5566
c9009328
L
55672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5568
5569 * sysdeps/unix/sysv/linux/Makefile: Include
5570 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5571 (sysdep_routines): Remove sysctl.
c9009328
L
5572 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5573 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5574 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5575 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5576 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5577
73338355
AJ
55782012-05-22 Andreas Jaeger <aj@suse.de>
5579
5580 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5581 that pseudo_end is just ret and the stack pointer is correct also
5582 for static library in error case.
5583
d44638b0
PP
55842012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5585
5586 [BZ #14122]
5587 * nss/nsswitch.c (defconfig_entries): New variable.
5588 (__nss_database_lookup): Don't leak defconfig entries.
5589 (nss_parse_service_list): Don't leak on error paths.
5590 (free_database_entries): New function.
5591 (free_defconfig): New function.
5592 (free_mem): Move common code to free_database_entries.
5593
31a39bd8
L
55942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5595
da0331a8
L
5596 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5597 Add arch_prctl.
5598 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5599
31a39bd8
L
5600 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5601 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5603 New macro.
5604 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5605 (INTERNAL_SYSCALL_TYPES): Likewise.
5606 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5607 (LOAD_REGS_TYPES_[1-6]): Likewise.
5608 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5609 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5610
45470df3
AZ
56112012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5612
5613 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5614 copysignl for GLIBC_2_0.
5615 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5616 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5618 logbl for GLIBC_2_0.
5619 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5620 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5621
98a61bcb
L
56222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5623
a4f6e481
L
5624 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5625 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5626
f63d5db6
L
5627 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5628 Use "neg %eax".
5629
98a61bcb
L
5630 * time/mktime.c: Update copyright years.
5631
95770f14
PE
56322012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5633
6226efbd
PE
5634 mktime: merge comment-quoting-style change from gnulib
5635 * time/mktime.c: Quote 'like this' in comments.
5636 The GNU coding standards suggest that we no longer quote `like this',
5637 as "`" and "'" are typically rendered asymmetrically nowadays.
5638 The typical gnulib style is to quote 'like this' when quoting
5639 code, and "like this" when quoting English.
5640
b99e4f78
PE
5641 * time/mktime.c (compile-command): Add "-I.".
5642
643e01e6
PE
5643 mktime: merge mktime-internal.h change from gnulib
5644 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5645
2554247d
PE
5646 mktime: merge time_r change from gnulib
5647 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5648
826dd0ab
PE
5649 mktime: merge DEBUG change from gnulib
5650 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5651 case system <time.h> has a #define.
5652
bd83aabe
PE
5653 mktime: merge <sys/types.h> change from gnulib
5654 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5655 since <time.t> is now guaranteed to define time_t.
5656
95770f14
PE
5657 mktime: merge HAVE_CONFIG_H change from gnulib
5658 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5659
5e1a27a9
L
56602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5661
0e44a77e
L
5662 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5663 Use "neg %eax".
5664
5e1a27a9
L
5665 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5666 __rlim_t cast.
5667 (struct rusage): Use anonymous union to pad each field to
5668 __syscall_slong_t.
5669
46259bec
DM
56702012-05-21 David S. Miller <davem@davemloft.net>
5671
5672 * Makefules (o-iterator): Remove .s cases.
5673 (compile-command.s): Delete.
5674 (COMPILE.s): Delete.
5675 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5676
59f0c22e
JM
56772012-05-21 Joseph Myers <joseph@codesourcery.com>
5678
5679 * configure.in (libc_cv_predef_stack_protector): Only consider
5680 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5681 * configure: Regenerated.
5682
20c07380
L
56832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5684
bbb3154b
L
5685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5686 New macro. Use R*LP on int and pointer.
5687 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5688 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5689 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5690 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5691
20c07380
L
5692 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5693 [__WORDSIZE_TIME64_COMPAT32] instead of
5694 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5695 (struct utmp): Likewise.
5696 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5697 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5698 Renamed to ...
5699 (__WORDSIZE_TIME64_COMPAT32): This.
5700 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5701 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5702 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5703 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5704 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5705 (__WORDSIZE_TIME64_COMPAT32): New macro.
5706
d8d1017e
AJ
57072012-05-21 Andreas Jaeger <aj@suse.de>
5708
5709 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5710 only if [SHARED]. Add prototype for __wcschr_ia32.
5711
6c7fb145
RM
57122012-05-21 Roland McGrath <roland@hack.frob.com>
5713
5714 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5715 of %rbp unmolested in the jmp_buf while mangling the low bits.
5716 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5717 unmolested high bits of %rbp while demangling the low bits.
5718 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5719
66274218
AJ
57202012-05-21 Andreas Jaeger <aj@suse.de>
5721
07c58f8f
AJ
5722 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5723 * sunrpc/svc_simple.c: Use it for registerrpc.
5724 * sunrpc/xcrypt.c: Use it for passwd2des.
5725
66274218
AJ
5726 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5727
61f65140
L
57282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5729
5730 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5731 Don't define if [__SYSCALL_WORDSIZE != 32].
5732 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5733 New macro.
5734
5fefb436
AJ
57352012-05-21 Bruno Haible <bruno@clisp.org>
5736 Andreas Jaeger <aj@suse.de>
5737
5738 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5739 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5740 inptr and inend for must_buffer_ch.
5741 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5742 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5743 * stdio-common/Makefile (tests): Remove bug15.
5744 (bug15-ENV): Remove macro.
5745 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5746 anymore.
5747
d8e272ab
AJ
57482012-05-19 Andreas Jaeger <aj@suse.de>
5749 Roland McGrath <roland@hack.frob.com>
5750
5751 * manual/contrib.texi: Completely rewritten. It contains now an
5752 alphabetical list of contributors and their contributions.
5753
4a56a162
RH
57542012-05-21 Richard Henderson <rth@twiddle.net>
5755
5756 * misc/getauxval.c (__getauxval): Use unsigned long int.
5757 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5758 (getauxval): Use unsigned long int.
5759
d024d23c
L
57602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5761
5762 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5763
cbc00a03
RM
57642012-05-21 Roland McGrath <roland@hack.frob.com>
5765
5766 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5767 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5768 __alignof__ (long double).
5769
478143fa
AZ
57702012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5771
5772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5773
c7683a6d
RH
57742012-05-20 Richard Henderson <rth@twiddle.net>
5775
5776 * misc/getauxval.c: New file.
5777 * misc/sys/auxv.h: New file.
5778 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5779 (routines): Add getauxval.
5780 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5781 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5782 * elf/dl-sysdep.c (_dl_auxv): Remove.
5783 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5784 * elf/dl-support.c (_dl_auxv): New variable.
5785 (_dl_aux_init): Initialize it.
5786 * manual/startup.texi (Auxiliary Vector): New node.
5787 * sysdeps/generic/bits/hwcap.h: New file.
5788 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5789 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5790 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5791 * sysdeps/sparc/sysdep.h: ... here. Include it.
5792 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5793 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5795 Update.
c7683a6d
RH
5796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5804
a6f1845d
AZ
58052012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5806
5807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5808
cbcbe830
DM
58092012-05-19 David S. Miller <davem@davemloft.net>
5810
5811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5812
e0b16cc2
JM
58132012-05-19 Joseph Myers <joseph@codesourcery.com>
5814
5815 [BZ #14123]
5816 * math/s_ccosh.c: Include <float.h>
5817 (__ccosh): Avoid internal overflow calculating sinh and cosh
5818 values before multiplying by sin and cos values.
5819 * math/s_ccoshf.c: Likewise.
5820 * math/s_ccoshl.c: Likewise.
5821 * math/s_csin.c: Likewise.
5822 * math/s_csinf.c: Likewise.
5823 * math/s_csinl.c: Likewise.
5824 * math/s_csinh.c: Likewise.
5825 * math/s_csinhf.c: Likewise.
5826 * math/s_csinhl.c: Likewise.
5827 * math/libm-test.inc (ccos_test): Add more tests.
5828 (ccosh_test): Likewise.
5829 (csin_test): Likewise.
5830 (csinh_test): Likewise.
5831 * sysdeps/i386/fpu/libm-test-ulps: Update.
5832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5833
6ad13e08
L
58342012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5835
f66f0ce8
L
5836 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5837 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5838
6ad13e08
L
5839 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5840
b1d072a7
JM
58412012-05-19 Joseph Myers <joseph@codesourcery.com>
5842
5843 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5844 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5845 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5846 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5847 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5848 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5849 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5850 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5851 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5852 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5853 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5854 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5855 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5856 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5857 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5858 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5859 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5860 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5861 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5862 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5863 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5864 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5865 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5866 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5867 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5868 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5869 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5870 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5871 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5872 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5873 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5874
9eae47cb
AJ
58752012-05-18 Andreas Jaeger <aj@suse.de>
5876
5877 * csu/.gitignore: Delete.
5878
bb07f69f
L
58792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5880
5881 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5882 (timex): Use __syscall_slong_t.
5883
e6bdb741
AJ
58842012-05-18 Andreas Jaeger <aj@suse.de>
5885 Carlos O'Donell <carlos_odonell@mentor.com>
5886
5887 * manual/install.texi (Configuring and compiling): Update
5888 description about files modified in the source directory.
d6c33fda 5889 * INSTALL: Regenerated.
e6bdb741 5890
1b74487e
L
58912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5892
5893 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5894 value. Use "or" to set return value to -1.
5895 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5896 negate return value.
5897
a88b64b9
TMQMF
58982012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5899
5900 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5901 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5902 failure if the compiler has Graphite support disabled.
5903 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5904 Likewise.
5905 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5906 CFLAGS-memmove.c): Likewise.
5907 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5908 Likewise.
5909
3707636e
L
59102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5911
610b8622
L
5912 * sysdeps/x86_64/x32/_itoa.h: New file.
5913
7cd195df
L
5914 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5915 getdents system call only if kernel and user dirents have the
5916 same d_ino and d_off.
5917
94b07d20
L
5918 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5919 LLONG_MAX != LONG_MAX.
5920 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5921 (_fitoa_word): Likewise.
5922
18298070
L
5923 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5924 years.
5925 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5926 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5927 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5928
553c7ea4
L
5929 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5930 include <bits/wordsize.h>. Check __x86_64__ instead of
5931 __WORDSIZE.
5932 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5933 if __x86_64__ is defined. Use anonymous union on fpstate.
5934
3707636e
L
5935 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5936 anonymous union.
5937
b53ef01a
AS
59382012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5939
37fb1dc0
AS
5940 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5941 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5942 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5943 Refer to _rtld_local_ro instead of _rtld_global_ro.
5944 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5945 Likewise.
5946 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5947 Likewise.
5948 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5949 Likewise.
5950 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5951 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5952 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5953
b53ef01a
AS
5954 * sysdeps/powerpc/powerpc32/dl-machine.c
5955 (__elf_machine_runtime_setup) [PROF]: Don't reference
5956 _dl_prof_resolve.
5957
7a185db2
AJ
59582012-05-18 Andreas Jaeger <aj@suse.de>
5959
5960 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5961 function only available for GCCs before 3.4 since GCC 3.4
5962 introduced a builtin.
5963 (lrint): Likewise.
5964 (llrintf): Likewise.
5965 (llrint): Likewise.
5966 (fmaxf): Likewise.
5967 (fmax): Likewise.
5968 (fminf): Likewise.
5969 (fmin): Likewise.
5970 (rint): Likewise.
5971 (rintf): Likewise.
5972 (nearbyint): Likewise.
5973 (nearbyintf): Likewise.
5974 (ceil): Likewise.
5975 (ceilf): Likewise.
5976 (floor): Likewise.
5977 (floorf): Likewise.
5978
3e5aef87
L
59792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5980
428bd707
L
5981 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5982 on both fields and cast pointer to __syscall_ulong_t.
5983
3e5aef87
L
5984 * bits/types.h (__fsword_t): New type.
5985 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5986 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5987 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5988 (__FSWORD_T_TYPE): Likewise.
5989 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5990 (__FSWORD_T_TYPE): Likewise.
5991 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5992 (__FSWORD_T_TYPE): Likewise.
5993 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5994 (__FSWORD_T_TYPE): Likewise.
5995 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5996 __SWORD_TYPE with __fsword_t.
5997 (statfs64): Likewise.
5998
1ba7c3dc
DM
59992012-05-17 David S. Miller <davem@davemloft.net>
6000
6001 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6002
59910343
AJ
60032012-05-17 Andreas Jaeger <aj@suse.de>
6004
6005 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6006 warning.
6007
2e4c1e9e
L
60082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6009
6010 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6011
de7f5ce7
AJ
60122012-05-17 Andreas Jaeger <aj@suse.de>
6013
6014 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6015 when it is used.
6016
286abc3d
CM
60172012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6018
6019 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6020
477cc68e
L
60212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6022
6023 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6024 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6025
1a0994f5
CD
60262012-05-17 Andreas Jaeger <aj@suse.de>
6027 Carlos O'Donell <carlos_odonell@mentor.com>
6028
6029 [BZ #14059]
6030 * sysdeps/x86_64/multiarch/init-arch.h
6031 (bit_YMM_Usable): Rename to...
6032 (bit_AVX_Usable): ... this.
6033 (bit_FMA4_Usable): New macro.
6034 (bit_XMM_state): New macro.
6035 (bit_YMM_state): New macro.
6036 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6037 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6038 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6039 (CPUID_OSXSAVE): New macro.
6040 (CPUID_AVX): New macro.
6041 (CPUID_FMA4): New macro.
6042 (index_YMM_Usable): Rename to...
6043 (index_AVX_Usable): ... this.
6044 (HAS_AVX): Use HAS_ARCH_FEATURE.
6045 (HAS_FMA4): Likewise.
6046 (HAS_YMM_USABLE): Remove.
6047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6048 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6049 are present.
6050 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6051 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6052 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6053 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6054 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6055
0af797de
CM
60562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6057
6058 * math/libm-test.c: Support platforms without multiple rounding modes.
6059 * math/bug-nextafter.c: Support platforms without FP exceptions.
6060 * math/bug-nexttoward.c: Likewise.
6061 * math/test-fenv.c: Likewise.
6062 * math/test-misc.c: Likewise.
6063 * stdlib/bug-getcontext.c: Likewise.
6064
e39745ff
AJ
60652012-05-17 Andreas Jaeger <aj@suse.de>
6066
6067 * manual/examples/search.c (critter_cmp): Change signature to
6068 avoid warnings.
6069 * manual/string.texi (Collation Functions): Likewise.
6070
48970aba
L
60712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6072
6073 * bits/types.h: Fold copyright years.
6074 * bits/typesizes.h: Likewise.
6075 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6076 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6077 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6078 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6079 * time/time.h: Likewise.
6080
bedee953
PP
60812012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6082
6083 [BZ #208]
6084 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6085 in instead of returning them. Return void.
6086 (__libc_mallinfo): Accumulate over all arenas.
6087 (__malloc_stats): Adjust for change in int_mallinfo interface.
6088
61653dfb
RM
60892012-05-16 Roland McGrath <roland@hack.frob.com>
6090
30b99d79
RM
6091 [BZ #10375]
6092 * configure.in (NM): Add AC_CHECK_TOOL for it.
6093 (libc_extra_cflags): New substituted variable.
6094 Check for -fstack-protector being used implicitly.
6095 * configure: Regenerated.
6096 * config.make.in (config-extra-cflags): New variable,
6097 gets @libc_extra_cflags@.
6098 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6099
61653dfb
RM
6100 [BZ #10375]
6101 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6102 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6103 * configure: Regenerated.
6104 * config.make.in (CPPUNDEFS): New substituted variable.
6105 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6106 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6107 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6108
661768bb
L
61092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6110
6111 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6112 (mq_attr): Use __syscall_slong_t.
6113
d4261567
L
61142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6115
6116 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6117 Check __x86_64__ instead of __WORDSIZE.
6118 (_STAT_VER_LINUX): Likewise.
6119 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6120 __syscall_ulong_t and __syscall_slong_t.
6121 (stat64): Likewise.
6122
cf3ff365
L
61232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6124
6125 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6126
76cf3e4d
L
61272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6128
6129 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6130
a637753a
L
61312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6132
6133 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6134 __syscall_ulong_t.
6135
d5e05119
L
6136 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6137 include <bits/wordsize.h>. Check __x86_64__ instead of
6138 __WORDSIZE.
6139 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6140 defined.
6141 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6142
f62ee380
L
6143 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6144 include <bits/wordsize.h>. Check __x86_64__ instead of
6145 __WORDSIZE.
6146 (user_regs_struct): Use "__extension__ unsigned long long"
6147 instead of "unsigned long" if __x86_64__ is defined.
6148 (user): Likewise. Pad after pointer field if __ILP32__ is
6149 defined.
6150
4e124ced
JM
61512012-05-16 Joseph Myers <joseph@codesourcery.com>
6152
6a3951a0
JM
6153 * configure.in (makeinfo): Require version 4.5 or later. Allow
6154 versions 5 to 9.
6155 * configure: Regenerated.
6156 * manual/install.texi (texinfo): Increase version requirement to
6157 4.5 or later.
6158 * INSTALL: Regenerated.
6159
4e124ced
JM
6160 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6161
953ca31a
L
61622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6163
6164 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6165
617aca05
L
6166 * sysdeps/x86_64/x32/ffs.c: New file.
6167
5762f7ae
L
6168 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6169 __syscall_ulong_t.
6170 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6171 defined. Use __syscall_ulong_t.
6172 (shminfo): Use __syscall_ulong_t.
6173 (shm_info): Likewise.
6174
a26b6856
L
6175 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6176 __syscall_ulong_t.
6177
cb2b9ef7
L
6178 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6179 <bits/wordsize.h>.
6180 (msgqnum_t): Use __syscall_ulong_t.
6181 (msglen_t): Likewise.
6182 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6183 __syscall_ulong_t.
6184
34683bb0
L
6185 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6186 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6187
84a68786
L
6188 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6189
48baa5f1
L
6190 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6191 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6192
180be88b
L
6193 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6194 __syscall_slong_t.
6195
5e90c8ad
L
6196 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6197 include <bits/wordsize.h>. Check __x86_64__ instead of
6198 __WORDSIZE.
6199
23dfb58b
L
6200 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6201 "unsigned long long int" if __x86_64__ is defined.
6202 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6203
ce5d54b0
L
6204 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6205 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6206 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6207
13dc9eac
L
6208 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6209 <stdint.h>.
6210 (GET_PC): Cast to uintptr_t first.
6211 (GET_FRAME): Likewise.
6212 (GET_STACK): Likewise.
6213
a7895d15
L
6214 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6215 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6216 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6217 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6218 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6219 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6220 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6221 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6222 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6223 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6224 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6225 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6226 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6227 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6228 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6229 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6230 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6231 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6232 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6233 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6234 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6235 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6236 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6237 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6238 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6239 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6240 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6241 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6242 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6243
656416c9
AS
62442012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6245
5bd66283
AS
6246 * Makerules (+depfiles): Also collect depfiles from .oS in
6247 $(extra-objs).
6248 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6249 .oS, $(libnldbl-routines)).
6250
656416c9
AS
6251 * Makerules (native-compile-mkdep-flags): Define.
6252 * sunrpc/Makefile (extra-objs): Add $(addprefix
6253 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6254 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6255 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6256 calling $(make-target-directory).
6257
a46f2169
L
62582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6259
6260 * bits/types.h (__snseconds_t): Removed.
6261 * time/time.h (struct timespec): Replace __snseconds_t with
6262 __syscall_slong_t.
6263 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6264 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6265 Likewise.
6266 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6267 (__SNSECONDS_T_TYPE): Likewise.
6268 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6269 (__SNSECONDS_T_TYPE): Likewise.
6270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6271 (__SNSECONDS_T_TYPE): Likewise.
6272
6af6528b
L
62732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6274
6275 * sysdeps/mach/hurd/bits/typesizes.h
6276 (__SYSCALL_SLONG_TYPE): New macro.
6277 (__SYSCALL_ULONG_TYPE): Likewise.
6278
de986b56
L
62792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6280
6281 * bits/types.h (__syscall_slong_t): New type.
6282 (__syscall_ulong_t): Likewise.
6283
6284 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6285 (__SYSCALL_ULONG_TYPE): Likewise.
6286 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6287 (__SYSCALL_SLONG_TYPE): Likewise.
6288 (__SYSCALL_ULONG_TYPE): Likewise.
6289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6290 (__SYSCALL_SLONG_TYPE): Likewise.
6291 (__SYSCALL_ULONG_TYPE): Likewise.
6292 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6293 (__SYSCALL_SLONG_TYPE): Likewise.
6294 (__SYSCALL_ULONG_TYPE): Likewise.
6295
85736dc7
L
62962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6297
6298 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6299 Add sigaltstack-offsets.sym.
6300 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6301 <sigaltstack-offsets.h>.
6302 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6303 longjmp_msg pointer.
6304 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6305 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6306 signal stack.
6307 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6308
cc03b296
JM
63092012-05-15 Joseph Myers <joseph@codesourcery.com>
6310
a9538892
JM
6311 * elf/stackguard-macros.h: Remove file.
6312 * sysdeps/generic/stackguard-macros.h: New file.
6313 * sysdeps/i386/stackguard-macros.h: Likewise.
6314 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6315 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6316 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6317 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6318 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6319 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6320 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6321 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6322 <elf/stackguard-macros.h>.
6323
cc03b296
JM
6324 [BZ #14109]
6325 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6326 __aligned__ in attribute.
6327 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6328 (gregset_t): Likewise.
6329
93171016
L
63302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6331
6332 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6333 * sysdeps/x86_64/64/Implies-after: Here. New file.
6334 * sysdeps/x86_64/x32/Implies-after: New file.
6335
d86813a0
L
63362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6337
6338 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6339 and access return value for _dl_profile_fixup. Use R10_LP to
6340 load frame size.
6341
2953ec75
L
63422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6343
6344 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6345
3b550e9e
L
63462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6347
6348 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6349 * sysdeps/x86_64/x32/sysdep.h: New file.
6350
eda41706
L
63512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6352
6353 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6354 * sysdeps/x86_64/setjmp.S: Likewise.
6355
9ea01d93
AZ
63562012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357
6358 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6359 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6360 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6361 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6362 remove unused global constant.
6363
02a91938
CM
63642012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6365
6366 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6367 include of <not-cancel.h>.
6368
6540185f
RM
63692012-05-15 Roland McGrath <roland@hack.frob.com>
6370
6371 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6372
509072a0
AJ
63732012-05-15 Jeff Law <law@redhat.com>
6374 Andreas Jaeger <aj@suse.de>
6375
6376 [BZ #13594]
6377 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6378 out from...
6379 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6380 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6381 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6382 code changing __hst_map_handle.map.
6383
ba75122d
RM
63842012-05-15 Roland McGrath <roland@hack.frob.com>
6385
6386 * configure.in (sysnames): Look for Implies-before and Implies-after
6387 files.
6388 * configure: Regenerated.
6389
890d8bd8
L
63902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6391
6392 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6393 8-byte data alignment with LP_SIZE alignment.
6394
f6ee6623
L
63952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6396
6397 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6398 into R10_LP.
6399
ea2626f6
L
64002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6401
6402 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6403
085f715e
L
64042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6405
6406 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6407 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6408 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6409 Likewise.
6410 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6411
be8498fc
L
64122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6413
6414 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6415 (stackinfo_sub_sp): Likewise.
6416
70bc83b9
L
64172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6418
6419 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6420 RAX_LP.
6421
9bc0b730
L
64222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6423
6424 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6425 into R*_LP.
6426
6d2850e7
L
64272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6428
6429 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6430 sizes into R*_LP.
6431
3cb84561
L
64322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6433
6434 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6435
54e2ed81
L
64362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6437
6438 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6439 into R11_LP and load __x86_64_shared_cache_size_half into
6440 R8_LP.
6441
8a17f349
L
64422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6443
6444 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6445 R8_LP.
6446
777b1eea
AZ
64472012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6448
6449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6450 logb for POWER7.
6451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6452 logbf for POWER7.
6453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6454 logbl for POWER7.
6455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6456 powerpc32/power7/fpu/s_logb.c via #include.
6457 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6458 powerpc32/power7/fpu/s_logbf.c via #include.
6459 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6460 powerpc32/power7/fpu/s_logbl.c via #include.
6461
d20d4ac2
JM
64622012-05-15 Joseph Myers <joseph@codesourcery.com>
6463
6464 * README.libm: Remove file.
6465
6cdef1ab
L
64662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6467
6468 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6469 count for x32. Use R*_LP and omit operand-size suffix.
6470
0b254d8f
L
64712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6472
6473 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6474 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6475 * sysdeps/x86_64/x32/shlib-versions: New file.
6476
ceb809dc
RM
64772012-05-14 Roland McGrath <roland@hack.frob.com>
6478
6479 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6480 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6481 Use _dl_fatal_printf instead.
6482
37f1abd4
JM
64832012-05-14 Joseph Myers <joseph@codesourcery.com>
6484
6485 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6486 set if not set by the user. Do not allow for being unset.
6487 * sysdeps/unix/sysv/linux/configure: Regenerated.
6488
11de3a33
L
64892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6490
6491 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6492 the `q' suffix from lea and replace .quad with ASM_ADDR.
6493
e02f153a
L
64942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6495
6496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6497 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6498 instead of $17.
6499 (PTR_DEMANGLE): Likewise.
6500
520ae0fd
L
65012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6502
6503 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6504 (LP_OP): Likewise.
6505 (ASM_ADDR): Likewise.
6506 (RAX_LP): Likewise.
6507 (RBP_LP): Likewise.
6508 (RBX_LP): Likewise.
6509 (RCX_LP): Likewise.
6510 (RDI_LP): Likewise.
6511 (RSI_LP): Likewise.
6512 (RSP_LP): Likewise.
6513 (R8_LP): Likewise.
6514 (R9_LP): Likewise.
6515 (R10_LP): Likewise.
6516 (R10_LP): Likewise.
6517 (R11_LP): Likewise.
6518 (R12_LP): Likewise.
6519 (R13_LP): Likewise.
6520 (R14_LP): Likewise.
6521 (R15_LP): Likewise.
6522
b985be81
L
65232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6524
6525 * sysdeps/x86_64/x32/dl-machine.h: New file.
6526
6a4888ff
AJ
65272012-05-14 Andreas Jaeger <aj@suse.de>
6528
6529 * manual/Makefile (subdir): Remove export of subdir.
6530 (all): Remove target.
6531 (.PHONY): Remove all from list.
6532 (mkinstalldirs): Remove.
6533 (.PHONY): Remove installdirs from list.
6534 ($(inst_infodir)/libc.info): Use make-target-directory.
6535 (installdirs): Remove.
6536 (subdir_%): Remove.
6537 (glibc-targets): Remove.
6538 (lib): Remove.
6539 (stubs): Remove.
6540 ($(objpfx)stubs ../po/manual.pot): Remove.
6541 ($(objpfx)stamp%): Remove.
6542 (make-target-directory): Remove.
6543 (subdir_install): Remove.
6544 (routines): Remove.
6545 (aux): Remove.
6546 (sources): Remove.
6547 (objects): Remove.
6548 (headers): Remove.
6549
6550 [BZ #13750]
6551 * manual/.gitignore: Remove, it's not needed anymore.
6552 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6553 all files in it.
6554 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6555 directory.
6556 (texis): Renamed to $(objpfx)texis.
6557 (texis-path): New, contains path to generated files.
6558 (chapters.%): Use texis-path for complete path, add extra argument
6559 libc-texinfo.sh.
6560 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6561 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6562 (summary,texi, stamp-summary): Use complete path of
6563 files. Generate files in build dir.
6564 (dir-add.texi): Build in build dir.
6565 (libm-err.texi,stamp-libm-err): Likewise.
6566 (version.texi, stamp-version): Likewise.
6567 (.%c.texi): Likewise.
6568 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6569 (mostlyclean): Remove target.
6570 (realclean): Remove target.
6571 (generated): Add new variable with contents from mostlyclean and
6572 realclean, remove entries duplicated in common-mostlyclean, add
6573 stamp-libm-err and stamp-version.
6574 (generated-dirs): Add libc directory.
6575 ($(inst_infodir)/libc.info): Install files from build dir.
6576
6577 * manual/install.texi (Configuring and compiling): Adjust since
6578 the info files are not part of the tar ball anymore.
6579
7ac77294
AJ
65802012-05-14 Andreas Jaeger <aj@suse.de>
6581
6582 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6583 variable.
6584
ffb7875d
JM
65852012-05-14 Joseph Myers <joseph@codesourcery.com>
6586
6587 [BZ #13717]
6588 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6589 to 2.2.0 where earlier.
6590 * sysdeps/unix/sysv/linux/configure: Regenerated.
6591 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6592 Remove conditional code.
6593 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6594 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6595 Remove conditional code.
6596 [!__NR_lchown]: Likewise.
6597 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6598 [__NR_lchown]: Likewise.
6599 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6600 comment referencing __ASSUME_LCHOWN_SYSCALL.
6601 * sysdeps/unix/sysv/linux/i386/sigaction.c
6602 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6603 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6604 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6605 Remove conditional code.
6606 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6607 (__protocol_available): Remove #if 0 code.
6608 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6609 conditional code.
6610 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6611 * sysdeps/unix/sysv/linux/kernel-features.h
6612 (__ASSUME_GETCWD_SYSCALL): Don't define.
6613 (__ASSUME_REALTIME_SIGNALS): Likewise.
6614 (__ASSUME_PREAD_SYSCALL): Likewise.
6615 (__ASSUME_PWRITE_SYSCALL): Likewise.
6616 (__ASSUME_POLL_SYSCALL): Likewise.
6617 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6618 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6619 non-SPARC.
6620 (__ASSUME_SIOCGIFNAME): Don't define.
6621 (__ASSUME_MSG_NOSIGNAL): Likewise.
6622 (__ASSUME_SENDFILE): Define unconditionally.
6623 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6624 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6625 conditional code.
6626 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6627 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6628 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6629 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6630 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6631 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6632 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6634 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6635 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6637 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6638 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6640 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6641 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6643 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6644 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6646 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6647 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6649 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6650 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6652 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6655 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6656 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6657 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6658 Remove conditional code.
6659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6660 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6661 Remove conditional code.
6662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6663 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6664 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6665 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6666 Remove conditional code.
6667 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6668 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6669 Remove conditional code.
6670 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6671 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6672 Remove conditional code.
6673 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6674 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6675 Remove conditional code.
6676 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6677 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6678 Remove conditional code.
6679 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6680 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6681 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6682 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6683 * sysdeps/unix/sysv/linux/sigaction.c
6684 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6685 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6686 * sysdeps/unix/sysv/linux/sigpending.c
6687 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6688 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6689 * sysdeps/unix/sysv/linux/sigprocmask.c
6690 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6691 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6692 * sysdeps/unix/sysv/linux/sigsuspend.c
6693 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6694 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6695 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6696 (__libc_missing_rt_sigs): Remove.
6697 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6698 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6699 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6700 Remove conditional code.
6701 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6702 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6703 return 1.
6704 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6705 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6706 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6707 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6708
1bfb7291
AJ
67092012-05-14 Andreas Jaeger <aj@suse.de>
6710
caae5a81
AJ
6711 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6712 it's not used in glibc.
6713 (__coshm1): Likewise.
6714 (__acosh1p): Likewise.
6715 (__sgn): Likewise.
6716
1bfb7291
AJ
6717 * manual/string.texi (Copying and Concatenation): Add missing
6718 variable in concat example.
6719 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6720
c044d724
L
67212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6722
144c5467 6723 [BZ #14103]
c044d724
L
6724 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6725 __builtin_clzl with __builtin_clzll.
6726
2523c62b
L
67272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6728
6729 [BZ #14104]
6730 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6731 libc_freeres_ptr.
6732
d7bb4c42
LD
67332012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6734
6735 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6736 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6737 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6738 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6739
9dc4e1fb
MF
67402012-05-14 Mike Frysinger <vapier@gentoo.org>
6741
6742 * NEWS: Update ia64 info.
6743
c7df0112
AS
67442012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6745
6746 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6747 used as bcopy.
6748
dc70356c
TS
67492012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6750
6751 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6752 * sysdeps/unix/syscalls.list (dup3): Likewise.
6753 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6754 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6755
9fb1a21f
L
67562012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6757
6758 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6759 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6760
4822a2a5
L
67612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6762
6763 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6764 thread pointer.
6765 (TLS_IE): Use mov/add instead of movq/addq to load thread
6766 pointer.
6767 (TLS_GD_PREFIX): New.
6768 (TLS_GD): Use it.
6769
842b81d6
DM
67702012-05-11 David S. Miller <davem@davemloft.net>
6771
6772 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6773 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6774 (_FPU_SETCW): Likewise.
6775
1cf463cd
L
67762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6777
6778 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6779 is 32-byte aligned.
6780
60cc4a18
AS
67812012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6782
6783 [BZ #11837]
6784 * iconvdata/gb18030.c: Update tables.
6785 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6786 characters specially.
6787 (BODY for TO_LOOP): Add encoding of missing ranges.
6788
febb44a4
TS
67892012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6790
6791 [BZ #13673]
6792 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6793 * sysdeps/mach/hurd/dup3.c: Likewise.
6794 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6795 * sysdeps/powerpc/memmove.c:: Likewise.
6796
0a10fb9e
L
67972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6798
6799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6800 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6801
df8a552f
L
68022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6803
6804 * elf/elf.h (R_X86_64_RELATIVE64): New.
6805 (R_X86_64_NUM): Updated.
6806 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6807 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6808 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6809 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6810 tst-quad1pie tst-quad2pie
6811 (modules-names): Add tst-quadmod1 tst-quadmod2.
6812 ($(objpfx)tst-quad1): New dependency.
6813 ($(objpfx)tst-quad2): Likewise.
6814 ($(objpfx)tst-quad1pie): Likewise.
6815 ($(objpfx)tst-quad2pie): Likewise.
6816 * sysdeps/x86_64/tst-quad1.c: New file.
6817 * sysdeps/x86_64/tst-quad1pie.c: New file.
6818 * sysdeps/x86_64/tst-quad2.c: Likewise.
6819 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6820 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6821 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6822 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6823 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6824
f34d6f84
ST
68252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6826
f42d41d1
ST
6827 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6828 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6829 * streams/stropts.h (t_scalar_t): Define type.
6830
3c3571fc
ST
6831 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6832 (_PATH_PRESERVE): Set to "/var/lib".
6833 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6834
61f06bd3
ST
6835 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6836 instead of int.
6837
918d4d71
ST
6838 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6839 if __dir_mkfile succeeded.
6840
f34d6f84
ST
6841 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6842 checking for _hurd_dtablesize. Unlock it right after having
6843 finished _hurd_dtable allocation.
6844
10589b4a
TS
68452012-05-10 Thomas Schwinge <thomas@schwinge.name>
6846
674cdbc7
TS
6847 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6848 * sysdeps/mach/hurd/configure: Regenerated.
6849 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6850 special-casing to...
6851 * sysdeps/gnu/configure.in: ... this new file.
6852 * sysdeps/unix/sysv/linux/configure: Regenerated.
6853 * sysdeps/gnu/configure: New generated file.
6854
8e41b99f
TS
6855 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6856 for Linux: use nsec instead of usec, as well as:
6857 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6858 members of type struct timespec.
6859 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6860 New macros.
6861 (struct stat64): Likewise.
6862 (_STATBUF_ST_NSEC): New macro.
6863 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6864
10589b4a
TS
6865 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6866 __strtoul_internal rather than strtoul.
6867
63643c85
PT
68682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6869
6870 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6871 and reject them.
6872
3faebe6a
ST
68732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6874
6875 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6876 which preserves existing values.
6877 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6878
c6474b07
PT
68792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6880
6881 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6882 TIMEOUT values. Return EINVAL for NFDS values either negative or
6883 greater than FD_SETSIZE.
6884
1043890b
ST
68852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6886
6887 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6888 allocated, call __vm_protect to finish enabling the existing space, and
6889 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6890 allocate the remainder.
6891
37ed8b9b
PT
68922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6893
6894 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6895 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6896
db653660
ST
68972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6898
37ed8b9b
PT
6899 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6900 sysdeps/mach/hurd/readlink.c.
b29d4053 6901
db653660
ST
6902 * posix/tst-sysconf.c (posix_options): Only use
6903 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6904 _POSIX_SYNCHRONIZED_IO when they are defined
6905 * sysdeps/mach/hurd/bits/posix_opt.h:
6906 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6907 (_XOPEN_REALTIME): Undefine macro.
6908 (_XOPEN_REALTIME_THREADS): Undefine macro.
6909 (_XOPEN_SHM): Undefine macro.
6910 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6911 macro to -1.
6912 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6913 macro to -1.
6914 (_POSIX_ASYNC_IO): Undefine macro.
6915 (_POSIX_PRIORITIZED_IO): Undefine macro.
6916 (_POSIX_SPIN_LOCKS): Define macro to -1.
6917
ee16e894
ST
6918 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6919 SA_NODEFER, SA_RESETHAND.
6920 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6921 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6922 F_DUPFD_CLOEXEC.
6923
6103ae3b
TS
69242012-05-10 Thomas Schwinge <thomas@schwinge.name>
6925
6926 * elf/Makefile (pldd-modules): Define unconditionally.
6927
80b4e5f3
TS
69282012-05-10 Thomas Schwinge <thomas@schwinge.name>
6929
6930 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6931
edadcbd6
ST
69322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6933
6934 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6935 Return ENOENT when name is empty.
6936 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6937
80694780
TS
69382012-05-10 Thomas Schwinge <thomas@schwinge.name>
6939
1792c087
TS
6940 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6941
80694780
TS
6942 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6943
6b645f0d
ST
69442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6945
80694780
TS
6946 Fix mlock in all cases except non-readable pages.
6947 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6948 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6949
6b645f0d
ST
6950 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6951 (__mkdir): When path is `/', just fail with EEXIST.
6952 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6953
e468f8a3
TS
69542012-05-10 Thomas Schwinge <thomas@schwinge.name>
6955
6956 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6957 <sys/uio.h> (for writev).
6958 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6959 and <sys/param.h> (for MIN).
6960
a4186cff
PT
69612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6962
6963 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6964 REQUESTED_TIME. Properly set the remaining time and return EINTR
6965 if interrupted.
6966
510bbf14
TS
69672012-05-10 Thomas Schwinge <thomas@schwinge.name>
6968
6969 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6970 Depend on against $(link-rpcuserlibs).
6971
5d5722e8
ST
69722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6973
a4186cff
PT
6974 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6975 (__libc_stack_end): Do not use attribute_relro.
6976 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6977 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6978 to libthread-provided value.
a4186cff
PT
6979 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6980 attribute_relro.
5d5722e8 6981
37233df9
TS
69822012-05-10 Thomas Schwinge <thomas@schwinge.name>
6983
be971a2b
TS
6984 [BZ #3748]
6985 * bits/libc-lock.h (__libc_once_get): New macro.
6986 * sysdeps/mach/bits/libc-lock.h: Likewise.
6987 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6988 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6989 instead of using implementation details.
6990
37233df9
TS
6991 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6992 * libio/freopen.c: Likewise.
6993 * libio/freopen64.c: Likewise.
6994 * misc/syslog.c: Likewise.
6995 * nscd/connections.c: Likewise.
6996 * nscd/netgroupcache.c: Likewise.
6997 * sysdeps/posix/getcwd.c: Likewise.
6998
38de94a5
RM
69992012-05-10 Roland McGrath <roland@hack.frob.com>
7000
7001 * math/w_ilogbf.c: Add #include <limits.h>.
7002
67530489
ST
70032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7004
a4186cff 7005 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
7006 path instead of returning without unlocking.
7007
67530489
ST
7008 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7009 immediate-write ioctls.
7010 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7011
5aa3a74a
TS
70122012-05-10 Thomas Schwinge <thomas@schwinge.name>
7013
18bad2ae
TS
7014 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7015 __builtin_frame_address instead of making assumptions about the
7016 location of the return address relative to DATA. Force early load of
7017 the return address.
7018 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7019 __builtin_frame_address.
7020
5aa3a74a
TS
7021 dup3 for GNU Hurd.
7022 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7023 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7024 implement dup3 and do some further code clean-ups.
7025 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7026 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7027
ecd0de9a
ST
70282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7029
cd9fa985
ST
7030 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7031
a4186cff
PT
7032 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7033 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7034 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7035 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7036 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7037 d->port.lock.
802ca5a5 7038
a4186cff
PT
7039 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7040 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7041 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 7042
bcf55240
TS
70432012-05-10 Thomas Schwinge <thomas@schwinge.name>
7044
6960eb42
TS
7045 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7046 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7047 definitions.
7048
eb43375f
TS
7049 accept4 for GNU Hurd.
7050 * include/sys/socket.h (__libc_accept4): New prototype.
7051 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7052 to implement __libc_accept4.
7053 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7054 __libc_accept4.
7055 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7056
bcf55240
TS
7057 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7058 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7059 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7060 signal-defines.sym.
7061
6178c55b
ST
70622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7063
a4186cff 7064 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7065
6f080c2f
TS
70662012-05-10 Thomas Schwinge <thomas@schwinge.name>
7067
7068 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7069 assertion on O_CLOEXEC flag.
7070 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7071 * hurd/intern-fd.c: Likewise.
7072 * hurd/port2fd.c: Likewise.
7073
bcfe3a54
ST
70742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7075
7076 [BZ #3906]
7077 * bits/in.h (IPV6_PKTINFO): Define new macro.
7078 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7079
89c9aa49
AZ
70802012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7081
7082 [BZ #13954]
7083 [BZ #13955]
7084 [BZ #13956]
7085 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7086 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7087 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7088 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7089 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7090 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7091 * math/libm-test.inc (logb_test) : Additional logb tests.
7092
021db4be
AJ
70932012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7094 Andreas Jaeger <aj@suse.de>
7095
7096 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7097 * configure: Regenerated.
7098 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7099 * config.make.in (link-obsolete-rpc): New substituted variable.
7100 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7101 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7102 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7103 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7104 so that libc.a contains the symbols.
7105 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7106 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7107 * sunrpc/auth_none.c: Likewise.
7108 * sunrpc/auth_unix.c: Likewise.
7109 * sunrpc/authdes_prot.c: Likewise.
7110 * sunrpc/authuxprot.c: Likewise.
7111 * sunrpc/clnt_gen.c: Likewise.
7112 * sunrpc/clnt_perr.c: Likewise.
7113 * sunrpc/clnt_raw.c: Likewise.
7114 * sunrpc/clnt_simp.c: Likewise.
7115 * sunrpc/clnt_tcp.c: Likewise.
7116 * sunrpc/clnt_udp.c: Likewise.
7117 * sunrpc/clnt_unix.c: Likewise.
7118 * sunrpc/des_crypt.c: Likewise.
7119 * sunrpc/des_soft.c: Likewise.
7120 * sunrpc/get_myaddr.c: Likewise.
7121 * sunrpc/key_call.c: Likewise.
7122 * sunrpc/key_prot.c: Likewise.
7123 * sunrpc/netname.c: Likewise.
7124 * sunrpc/pm_getmaps.c: Likewise.
7125 * sunrpc/pm_getport.c: Likewise.
7126 * sunrpc/pmap_clnt.c: Likewise.
7127 * sunrpc/pmap_prot.c: Likewise.
7128 * sunrpc/pmap_prot2.c: Likewise.
7129 * sunrpc/pmap_rmt.c: Likewise.
7130 * sunrpc/publickey.c: Likewise.
7131 * sunrpc/rpc_cmsg.c: Likewise.
7132 * sunrpc/rpc_common.c: Likewise.
7133 * sunrpc/rpc_dtable.c: Likewise.
7134 * sunrpc/rpc_prot.c: Likewise.
7135 * sunrpc/rpc_thread.c: Likewise.
7136 * sunrpc/rtime.c: Likewise.
7137 * sunrpc/svc.c: Likewise.
7138 * sunrpc/svc_auth.c: Likewise.
7139 * sunrpc/svc_raw.c: Likewise.
7140 * sunrpc/svc_run.c: Likewise.
7141 * sunrpc/svc_tcp.c: Likewise.
7142 * sunrpc/svc_udp.c: Likewise.
7143 * sunrpc/svc_unix.c: Likewise.
7144 * sunrpc/svcauth_des.c: Likewise.
7145 * sunrpc/xcrypt.c: Likewise.
7146 * sunrpc/xdr.c: Likewise.
7147 * sunrpc/xdr_array.c: Likewise.
7148 * sunrpc/xdr_float.c: Likewise.
7149 * sunrpc/xdr_intXX_t.c: Likewise.
7150 * sunrpc/xdr_mem.c: Likewise.
7151 * sunrpc/xdr_rec.c: Likewise.
7152 * sunrpc/xdr_ref.c: Likewise.
7153 * sunrpc/xdr_sizeof.c: Likewise.
7154 * sunrpc/xdr_stdio.c: Likewise.
7155
b5c086a2
RM
71562012-05-10 Roland McGrath <roland@hack.frob.com>
7157
7158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7159 change. Update copyright years.
7160
6d74dd09
JM
71612012-05-10 Joseph Myers <joseph@codesourcery.com>
7162
7163 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7164
28e72501
MK
71652012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7166 Joseph Myers <joseph@codesourcery.com>
7167 Paul Pluzhnikov <ppluzhnikov@google.com>
7168
7169 [BZ #14012]
7170 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7171 requiring rpcgen.
7172 [cross-compiling] (extra-libs): Likewise.
7173 [cross-compiling] (extra-libs-others): Likewise.
7174 [cross-compiling] (librpcsvc-routines): Likewise.
7175 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7176 [cross-compiling] (omit-deps): Likewise.
7177 (sunrpc-CPPFLAGS): New variable.
7178 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7179 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7180 (cross-rpcgen-objs): New variable.
7181 (extra-objs): Append $(cross-rpcgen-objs).
7182 ($(cross-rpcgen-objs)): New rule.
7183 ($(objpfx)cross-rpcgen): Likewise.
7184 (rpcgen-cmd): Define to use $(built-program-file). Expand
7185 comment.
7186 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7187 ($(objpfx)x%.stmp): Likewise.
7188 * sunrpc/proto.h [IS_IN_build] (_): Define.
7189 [IS_IN_build] (_libc_intl_domainname): Likewise.
7190
c8c59454
L
71912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7192
7193 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7194 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7195 and R_X86_64_TPOFF64.
7196
6f27cd16
JM
71972012-05-10 Joseph Myers <joseph@codesourcery.com>
7198
7199 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7200 sysdeps/unix/sysv/syscalls.list.
7201 (stime): Likewise.
7202 (utime): Likewise.
7203 * sysdeps/unix/sysv/syscalls.list: Remove file.
7204
02467e1c
PE
72052012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7206
7207 [BZ #3440]
7208 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7209 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7210 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7211 (__LC_IDENTIFICATION): Make these macros useful in #if
7212 expressions, as required by C99.
7213
da392631
AS
72142012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7215
7216 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7217 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7218 after this.
7219
8115f29b
L
72202012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7221
7222 * stdlib/longlong.h: Updated from GCC.
7223
bdd74070
AJ
72242012-05-09 Andreas Jaeger <aj@suse.de>
7225
edfe0dbe
AJ
7226 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7227 default is first entry.
7228 (run_mode): Set type.
7229 (main): Remove informal message about syslog.
7230 (options): Fix typo.
7231
bcfe3a54
ST
7232 [BZ #14053]
7233 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7234 to asm.
bcfe3a54
ST
7235 (lrint): Likewise.
7236 (llrintf): Likewise.
7237 (llrint): Likewise.
7238 (rint): Likewise.
7239 (rintf): Likewise.
7240 (nearbyint): Likewise.
7241 (nearbyintf): Likewise.
bdd74070 7242
91d8d69e
AJ
72432012-05-09 Andreas Jaeger <aj@suse.de>
7244 Pedro Alves <palves@redhat.com>
7245
7246 * nscd/nscd.c (run_mode): Use enum.
7247 (main): Cleanup coding style issue.
7248
bb90b80b
AJ
72492012-05-09 Alexandre Oliva <aoliva@redhat.com>
7250 Andreas Jaeger <aj@suse.de>
7251
bcfe3a54
ST
7252 * nscd/nscd.c (go_background): Replaced with...
7253 (run_mode): ... this.
bb90b80b 7254 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7255 (options): Add -F --foreground.
7256 (main): Implement it.
7257 (parse_opt): Parse it.
bb90b80b 7258
1a4b75a1
AJ
72592012-05-09 Andreas Jaeger <aj@suse.de>
7260
7261 [BZ #14083]
7262 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7263 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7264 -Wconversion warning.
7265 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7266 Likewise.
7267
b1cc2472
JM
72682012-05-09 Joseph Myers <joseph@codesourcery.com>
7269
7270 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7271 == 0.
7272 (LC_ALL): Use macro-int-constant.
7273 (LC_COLLATE): Likewise.
7274 (LC_CTYPE): Likewise.
7275 (LC_MESSAGES): Likewise.
7276 (LC_MONETARY): Likewise.
7277 (LC_NUMERIC): Likewise.
7278 (LC_TIME): Likewise.
7279 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7280 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7281 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7282 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7283 Specify type.
7284 [C99-based standards] (float_t): Expect type.
7285 [C99-based standards] (double_t): Expect type.
7286 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7287 type.
7288 [C99-based standards] (HUGE_VALL): Likewise.
7289 [C99-based standards] (INFINITY): Likewise.
7290 [C99-based standards] (NAN): Likewise.
7291 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7292 [C99-based standards] (FP_NAN): Likewise.
7293 [C99-based standards] (FP_NORMAL): Likewise.
7294 [C99-based standards] (FP_SUBNORMAL): Likewise.
7295 [C99-based standards] (FP_ZERO): Likewise.
7296 [C99-based standards] (FP_FAST_FMA): Use
7297 optional-macro-int-constant. Specify type. Require == 1.
7298 [C99-based standards] (FP_FAST_FMAF): Likewise.
7299 [C99-based standards] (FP_FAST_FMAL): Likewise.
7300 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7301 [C99-based standards] (FP_ILOGBNAN): Likewise.
7302 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7303 Specify type.
7304 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7305 [C99-based standards] (math_errhandling): Specify type.
7306 [ISO99 || ISO11] (signgam): Do not allow.
7307 [non-C99-based standards] (copysignf): Do not allow.
7308 [non-C99-based standards] (exp2f): Likewise.
7309 [non-C99-based standards] (log2f): Likewise.
7310 [non-C99-based standards] (modff): Allow.
7311 [non-C99-based standards] (erff): Do not allow.
7312 [non-C99-based standards] (erfcf): Likewise.
7313 [non-C99-based standards] (gammaf): Likewise.
7314 [non-C99-based standards] (hypotf): Likewise.
7315 [non-C99-based standards] (j0f): Likewise.
7316 [non-C99-based standards] (j1f): Likewise.
7317 [non-C99-based standards] (jnf): Likewise.
7318 [non-C99-based standards] (lgammaf): Likewise.
7319 [non-C99-based standards] (tgammaf): Likewise.
7320 [non-C99-based standards] (y0f): Likewise.
7321 [non-C99-based standards] (y1f): Likewise.
7322 [non-C99-based standards] (ynf): Likewise.
7323 [non-C99-based standards] (isnanf): Likewise.
7324 [non-C99-based standards] (acoshf): Likewise.
7325 [non-C99-based standards] (asinhf): Likewise.
7326 [non-C99-based standards] (atanhf): Likewise.
7327 [non-C99-based standards] (cbrtf): Likewise.
7328 [non-C99-based standards] (expm1f): Likewise.
7329 [non-C99-based standards] (ilogbf): Likewise.
7330 [non-C99-based standards] (log1pf): Likewise.
7331 [non-C99-based standards] (logbf): Likewise.
7332 [non-C99-based standards] (nextafterf): Likewise.
7333 [non-C99-based standards] (remainderf): Likewise.
7334 [non-C99-based standards] (rintf): Likewise.
7335 [non-C99-based standards] (scalbf): Likewise.
7336 [non-C99-based standards] (copysignl): Likewise.
7337 [non-C99-based standards] (exp2l): Likewise.
7338 [non-C99-based standards] (log2l): Likewise.
7339 [non-C99-based standards] (modfl): Allow.
7340 [non-C99-based standards] (erfl): Do not allow.
7341 [non-C99-based standards] (erfcl): Likewise.
7342 [non-C99-based standards] (gammal): Likewise.
7343 [non-C99-based standards] (hypotl): Likewise.
7344 [non-C99-based standards] (j0l): Likewise.
7345 [non-C99-based standards] (j1l): Likewise.
7346 [non-C99-based standards] (jnl): Likewise.
7347 [non-C99-based standards] (lgammal): Likewise.
7348 [non-C99-based standards] (tgammal): Likewise.
7349 [non-C99-based standards] (y0l): Likewise.
7350 [non-C99-based standards] (y1l): Likewise.
7351 [non-C99-based standards] (ynl): Likewise.
7352 [non-C99-based standards] (isnanl): Likewise.
7353 [non-C99-based standards] (acoshl): Likewise.
7354 [non-C99-based standards] (asinhl): Likewise.
7355 [non-C99-based standards] (atanhl): Likewise.
7356 [non-C99-based standards] (cbrtl): Likewise.
7357 [non-C99-based standards] (expm1l): Likewise.
7358 [non-C99-based standards] (ilogbl): Likewise.
7359 [non-C99-based standards] (log1pl): Likewise.
7360 [non-C99-based standards] (logbl): Likewise.
7361 [non-C99-based standards] (nextafterl): Likewise.
7362 [non-C99-based standards] (remainderl): Likewise.
7363 [non-C99-based standards] (rintl): Likewise.
7364 [non-C99-based standards] (scalbl): Likewise.
7365 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7366 [non-C99-based standards] (FP_*): Do not allow.
7367 [C99-based standards] (FP_*): Change to
7368 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7369 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7370 allow.
7371 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7372 (SIG_ERR): Likewise.
7373 [X/Open-based standards] (SIG_HOLD): Likewise.
7374 (SIG_IGN): Likewise.
7375 (SIGABRT): Use macro-int-constant. Specify type. Require
7376 positive value.
7377 (SIGFPE): Likewise.
7378 (SIGILL): Likewise.
7379 (SIGINT): Likewise.
7380 (SIGSEGV): Likewise.
7381 (SIGTER): Likewise.
7382 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7383 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7384 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7385 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7386 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7387 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7388 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7389 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7390 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7391 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7392 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7393 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7394 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7395 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7396 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7397 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7398 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7399 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7400 [X/Open-based standards] (SIGTRAP): Likewise.
7401 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7402 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7403 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7404 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7405 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7406 allow.
7407
b9f1922d
IW
74082012-05-08 Ian Wienand <ianw@vmware.com>
7409
7410 [BZ #14080]
7411 * time/tzset.c (__tzset_parse_tz): Update default rules for
7412 daylight time changes in the Energy Policy Act of 2005.
7413
1db86e88
AJ
74142012-05-09 Andreas Jaeger <aj@suse.de>
7415
7416 [BZ #13983]
7417 * elf/ldconfig.c (parse_conf): Change string to make clear that
7418 ldconfig only issued a warning if ld.so.conf does not exist.
7419
dee4a4e3
DM
74202012-05-08 David S. Miller <davem@davemloft.net>
7421
ee0db190
DM
7422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7423 movxtod instead of popping the value on the stack.
7424
dee4a4e3
DM
7425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7426
6a43ec98
CD
74272012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7428
7429 * config.h.in: Add HAVE_ARM_PCS_VFP.
7430
05c2c961
RMG
74312012-05-08 Roland Mc Grath <roland@hack.frob.com>
7432
bcfe3a54
ST
7433 [BZ #13979]
7434 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7435 checking but the checks are disabled for any reason.
05c2c961 7436
4b30f61a
L
74372012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7438
7439 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7440 and ELF64_R_TYPE with ELFW(R_TYPE).
7441
eee2bc67
JM
74422012-05-08 Joseph Myers <joseph@codesourcery.com>
7443
7ea5391a
JM
7444 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7445 (ulimit): Likewise.
7446
eee2bc67
JM
7447 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7448 (settimeofday): Likewise.
7449
abb66a67
MF
74502012-05-08 Mike Frysinger <vapier@gentoo.org>
7451
7452 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7453 a struct th_u2 inside the union, and move tu_block/tu_code into
7454 a new th_u3 union of tu_block/tu_code inside of that. Move
7455 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7456 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7457 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7458 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7459 (th_stuff): Change to th_u1.tu_stuff.
7460 (th_data): Define.
7461 (th_msg): Change to th_u1.th_u2.tu_data.
7462
7f18b530
DM
74632012-05-07 David S. Miller <davem@davemloft.net>
7464
05760585
DM
7465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7466
7f18b530
DM
7467 [BZ #14074]
7468 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7469 (SETUP_PIC_REG): Use it.
7470 (SETUP_PIC_REG_LEAF): Use it.
7471
495fd99f
JM
74722012-05-07 Joseph Myers <joseph@codesourcery.com>
7473
7474 [BZ #13885]
7475 [BZ #13923]
7476 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7477 USE_AS_EXPM1L.
7478 (EXPL_FINITE): Likewise.
7479 (FLDLOG): Likewise.
7480 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7481 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7482 e_expl.S.
7483 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7484 USE_AS_EXPM1L.
7485 (EXPL_FINITE): Likewise.
7486 (FLDLOG): Likewise.
7487 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7488 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7489 e_expl.S.
7490 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7491 test of -max_value argument for long double.
7492 * sysdeps/i386/fpu/libm-test-ulps: Update.
7493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7494
6693d694
DM
74952012-05-06 David S. Miller <davem@davemloft.net>
7496
7497 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7498 quad soft-float symbols whose references which are compiler
7499 generated.
7500 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7501
6c23e11c
JM
75022012-05-06 Joseph Myers <joseph@codesourcery.com>
7503
d8b82cad
JM
7504 [BZ #13884]
7505 [BZ #13914]
7506 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7507 USE_AS_EXP10L.
7508 (EXPL_FINITE): Likewise.
7509 (FLDLOG): Likewise.
7510 (c0): Likewise.
7511 (c1): Likewise.
7512 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7513 Adjust comments for base varying.
7514 (__expl_finite): Change alias to EXPL_FINITE.
7515 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7516 e_expl.S.
7517 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7518 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7519 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7520 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7521 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7522 USE_AS_EXP10L.
7523 (EXPL_FINITE): Likewise.
7524 (FLDLOG): Likewise.
7525 (c0): Likewise.
7526 (c1): Likewise.
7527 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7528 Adjust comments for base varying.
7529 (__expl_finite): Change alias to EXPL_FINITE.
7530 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7531 tests for bugs.
7532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7533
6c23e11c
JM
7534 [BZ #14064]
7535 * math/libm-test.inc (check_float_internal): Correct ulp
7536 calculation for subnormal expected results.
7537
29ba805c
AJ
75382012-05-06 Andreas Jaeger <aj@suse.de>
7539
7540 * Makeconfig (+math-flags): New, set to -frounding-math.
7541 (+cflags): Add +math-flags so that all of glibc gets compiled with
7542 it.
7543
7544 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7545
7b17aeda
JM
75462012-05-05 Joseph Myers <joseph@codesourcery.com>
7547
5779f134
JM
7548 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7549 Disable one test.
7550
41498f4d
JM
7551 [BZ #13787]
7552 [BZ #13922]
7553 [BZ #14036]
7554 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7555 (__ieee754_expl): Allow for and saturate large arguments.
7556 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7557 (u_threshold): Likewise.
7558 (__exp): Call __ieee754_exp before checking for overflow and
7559 underflow.
7560 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7561 (u_threshold): Likewise.
7562 (__expf): Call __ieee754_expf before checking for overflow and
7563 underflow.
7564 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7565 (u_threshold): Likewise.
7566 (__expl): Call __ieee754_expl before checking for overflow and
7567 underflow.
7568 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7569 (__ieee754_expl): Allow for and saturate large arguments.
7570 * math/libm-test.inc (exp_test): Add another test. Do not allow
7571 missing overflow exception on overflow.
7572 (expm1_test): Do not allow missing overflow exception on overflow.
7573
6698b8bf
JM
7574 * sysdeps/i386/fpu/e_expl.c: Move to ...
7575 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7576 rather than using inline asm.
7577 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7578 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7579 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7580
7b17aeda
JM
7581 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7582 (nice): Likewise.
7583 (poll): Likewise.
7584 (signal): Likewise.
7585 (time): Likewise.
7586 (times): Likewise.
7587
f7c85819
JM
75882012-05-04 Joseph Myers <joseph@codesourcery.com>
7589
7590 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7591 sysdeps/unix/common/syscalls.list.
7592 (fchmod): Likewise.
7593 (fchown): Likewise.
7594 (ftruncate): Likewise.
7595 (getrusage): Likewise.
7596 (gettimeofday): Likewise.
7597 (setpgid): Likewise.
7598 (setregid): Likewise.
7599 (setreuid): Likewise.
7600 (sigaction): Likewise.
7601 (truncate): Likewise.
7602 (vhangup): Likewise.
7603 * sysdeps/unix/common/syscalls.list: Remove file.
7604 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7605 * sysdeps/unix/sysv/linux/Implies: Likewise.
7606
336270d0
L
76072012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7608
7609 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7611 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7612 Moved to ...
7613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7614 Here.
7615 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7616 to ...
7617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7618 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7619 to ...
7620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7621 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7622 to ...
7623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7624 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7625 to ...
7626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7627 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7628 to ...
7629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7630 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7631 to ...
7632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7633 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7634 to ...
7635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7636 Here.
7637 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7638 to ...
7639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7640 Here.
7641 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7642 to ...
7643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7644 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7645 Moved to ...
7646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7647 Here.
7648 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7649 to ...
7650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7651
d128e450
JM
76522012-05-04 Joseph Myers <joseph@codesourcery.com>
7653
fa8ee516
JM
7654 * sysdeps/unix/common/bits/dirent.h: Remove file.
7655 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7656
d128e450
JM
7657 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7658 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7659 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7660 * sysdeps/unix/bsd/isatty.c: Likewise.
7661 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7662 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7663 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7664
ff8faaf0 76652012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7666
62881be4 7667 [BZ #13563]
31dc8730
AZ
7668 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7669 long double comparison inaccuracies.
7670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7672
6fef930c
AS
76732012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7674
7675 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7676 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7677
8f203e6c
JM
76782012-05-04 Joseph Myers <joseph@codesourcery.com>
7679
7680 [BZ #14049]
7681 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7682 nonzero digits before rounding a hex value.
7683 * stdlib/tst-strtod.c (tests): Add another test.
7684
5197d9c2
AK
76852012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7686
7687 * sysdeps/s390/fpu/libm-test-ulps: Update.
7688
f0c1dedf
AJ
76892012-05-03 Andreas Jaeger <aj@suse.de>
7690
7691 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7692 does not get optimized out.
7693 (malloc_opt_barrier): New.
7694
a65ef2ae 76952012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7696 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7697
2b942cb7 7698 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7699 intermediate file deletion.
2b942cb7 7700 (generated): Add .symlist files.
a65ef2ae 7701
54b71e02
JM
77022012-05-03 Joseph Myers <joseph@codesourcery.com>
7703
7704 [BZ #13775]
7705 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7706 Redirect under this condition.
7707 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7708 [__USE_GNU] (__dprintf_chk): Not under this condition.
7709 [__USE_GNU] (__vdprintf_chk): Likewise.
7710 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7711 under this condition.
7712 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7713 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7714 [__USE_XOPEN2K8] (vdprintf): Likewise.
7715 [__USE_GNU] (__dprintf_chk): Not under this condition.
7716 [__USE_GNU] (__vdprintf_chk): Likewise.
7717 [__USE_GNU] (dprintf): Likewise.
7718 [__USE_GNU] (vdprintf): Likewise.
7719
d3dfcc41
RM
77202012-05-03 Roland McGrath <roland@hack.frob.com>
7721
7722 * elf/Makefile (common-generated): Set this instead of generated for
7723 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7724 $(all-built-dso)-derived lists.
7725
7ac30cc5
AJ
77262012-05-03 Andreas Jaeger <aj@suse.de>
7727
0c51e550
AJ
7728 * sysdeps/i386/fpu/libm-test-ulps: Update.
7729
7ac30cc5
AJ
7730 * FAQ: Removed.
7731 * FAQ.in: Likewise.
7732 * scripts/gen-FAQ.pl: Likewise.
7733 * manual/install.texi (Installation): Point to online location of
7734 FAQ.
7735 * Makefile (files-for-dist): Remove FAQ.
7736 (FAQ): Remove.
7737
d4c2917f
AM
77382012-05-02 Allan McRae <allan@archlinux.org>
7739
7740 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7741 (LDFLAGS-reldepmod5.so): Likewise.
7742 (LDFLAGS-reldep6mod1.so): Likewise.
7743 (LDFLAGS-reldep6mod4.so): Likewise.
7744 (LDFLAGS-reldep8mod3.so): Likewise.
7745 (LDFLAGS-unload4mod1.so): Likewise.
7746 (LDFLAGS-unload4mod2.so): Likewise.
7747 (LDFLAGS-tst-initorder): Likewise.
7748 (LDFLAGS-tst-initordera2.so): Likewise.
7749 (LDFLAGS-tst-initordera3.so): Likewise.
7750 (LDFLAGS-tst-initordera4.so): Likewise.
7751 (LDFLAGS-tst-initorderb2.so): Likewise.
7752 (LDFLAGS-noload): Likewise.
7753 (LDFLAGS-next): Likewise.
7754 (LDFLAGS-order2mod1.so): Likewise.
7755 (LDFLAGS-order2mod2.so): Likewise.
7756 (LDFLAGS-tst-initorder2): Likewise.
7757 (LDFLAGS-tst-initorder2a.so): Likewise.
7758 (LDFLAGS-tst-initorder2b.so): Likewise.
7759 (LDFLAGS-tst-initorder2c.so): Likewise.
7760 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7761
d77f993f
DM
77622012-05-02 David S. Miller <davem@davemloft.net>
7763
7764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7765
171a70b4
PP
77662012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7767
7768 [BZ #14055]
7769 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7770
0be196ad
AJ
77712012-05-02 Andreas Jaeger <aj@suse.de>
7772
7773 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7774 since we manipulate rounding mode.
7775 (CPPFLAGS-test-idouble.c): Likewise.
7776 (CPPFLAGS-test-ifloat.c): Likewise.
7777 (CFLAGS-test-ldouble.c): Likewise.
7778 (CFLAGS-test-double.c): Likewise.
7779 (CFLAGS-test-float.c): Likewise.
7780 (CFLAGS-test-misc.c): Likewise.
7781 (CFLAGS-test-test-fenv.c): Likewise.
7782
4f9d04aa
AZ
77832012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7784
2b942cb7
RM
7785 [BZ #2550]
7786 [BZ #2570]
7787 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7788 comparisons to determine direction to adjust input.
4f9d04aa 7789
82a79e7d
RM
77902012-05-01 Roland McGrath <roland@hack.frob.com>
7791
f5a01ca9
RM
7792 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7793 output to the target.
7794
90fe4186
RM
7795 * scripts/localplt.awk: New file.
7796 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7797 (check-localplt-CFLAGS): Variable removed.
7798 ($(all-built-dso:=.jmprel)): New static pattern rule.
7799 (generated): Add those targets.
7800 (localplt-built-dso): New variable.
7801 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7802
7803 * elf/check-localplt.c: File removed.
7804
82397ed6
RM
7805 * scripts/check-execstack.awk: New file.
7806 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7807 (check-execstack-CFLAGS): Variable removed.
7808 ($(objpfx)check-execstack.h): Target removed.
7809 ($(objpfx)execstack-default): New target.
7810 (generated): Add that instead of check-execstack.h.
7811 ($(all-built-dso:=.phdr)): New static pattern rule.
7812 (generated): Add those targets.
7813 * elf/check-execstack.c: File removed.
7814
82a79e7d
RM
7815 * scripts/check-textrel.awk: New file.
7816 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7817 (check-textrel-CFLAGS): Variable removed.
7818 (all-built-dso): Use := to define.o
7819 ($(all-built-dso:=.dyn)): New static pattern rule.
7820 (generated): Add those targets.
7821 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7822 * config.make.in (READELF): New substituted variable.
7823 * elf/check-textrel.c: File removed.
7824
62fde54f 78252012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7826
615605c9
JM
7827 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7828 allow.
7829 * conform/data/ctype.h-data [C99-based standards] (isblank):
7830 Expect function.
7831 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7832 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7833 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7834 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7835 Specify type. Require positive value.
7836 (EILSEQ): Likewise.
7837 (ERANGE): Likewise.
7838 [ISO || POSIX] (EILSEQ): Do not expect.
7839 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7840 Specify type. Require positive value.
7841 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7842 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7843 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7844 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7845 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7846 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7847 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7848 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7849 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7850 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7851 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7852 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7853 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7854 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7855 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7856 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7857 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7858 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7859 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7860 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7861 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7862 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7863 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7864 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7865 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7866 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7867 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7868 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7869 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7870 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7871 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7872 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7873 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7874 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7875 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7876 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7877 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7878 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7879 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7880 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7881 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7882 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7883 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7884 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7885 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7886 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7887 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7888 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7889 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7890 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7891 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7892 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7893 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7894 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7895 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7896 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7897 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7898 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7899 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7900 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7901 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7902 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7903 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7904 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7905 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7906 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7907 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7908 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7909 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7910 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7911 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7912 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7913 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7914 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7915 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7916 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7917 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7918 Require >= 2.
7919 (FLT_ROUNDS): Expect as macro, not constant.
7920 (FLT_MANT_DIG): Use macro-int-constant.
7921 (DBL_MANT_DIG): Likewise.
7922 (LDBL_MANT_DIG): Likewise.
7923 (FLT_DIG): Likewise.
7924 (DBL_DIG): Likewise.
7925 (LDBL_DIG): Likewise.
7926 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7927 (DBL_MIN_EXP): Likewise.
7928 (LDBL_MIN_EXP): Likewise.
7929 (FLT_MAX_EXP): Use macro-int-constant.
7930 (DBL_MAX_EXP): Likewise.
7931 (LDBL_MAX_EXP): Likewise.
7932 (FLT_MAX_10_EXP): Likewise.
7933 (DBL_MAX_10_EXP): Likewise.
7934 (LDBL_MAX_10_EXP): Likewise.
7935 (FLT_MAX): Use macro-constant.
7936 (DBL_MAX): Likewise.
7937 (LDBL_MAX): Likewise.
7938 (FLT_EPSILON): Use macro-constant. Give upper bound.
7939 (DBL_EPSILON): Likewise.
7940 (LDBL_EPSILON): Likewise.
7941 (FLT_MIN): Likewise.
7942 (DBL_MIN): Likewise.
7943 (LDBL_MIN): Likewise.
7944 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7945 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7946 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7947 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7948 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7949 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7950 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7951 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7952 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7953 [ISO11] (FLT_TRUE_MIN): Likewise.
7954 [ISO11] (LDBL_TRUE_MIN): Likewise.
7955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7956 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7957 (SCHAR_MIN): Use macro-int-constant. Specify type.
7958 (SCHAR_MAX): Likewise.
7959 (UCHAR_MAX): Likewise.
7960 (CHAR_MIN): Likewise.
7961 (CHAR_MAX): Likewise.
7962 (MB_LEN_MAX): Use macro-int-constant.
7963 (SHRT_MIN): Use macro-int-constant. Specify type.
7964 (SHRT_MAX): Likewise.
7965 (USHRT_MAX): Likewise.
7966 (INT_MAX): Likewise.
7967 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7968 bound negative.
7969 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7970 bound with "U".
7971 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7972 bound with "L".
7973 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7974 bound negative. Suffix upper bound with "L".
7975 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7976 bound with "UL".
7977 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7978 Specify type.
7979 [C99-based standards] (LLONG_MAX): Likewise.
7980 [C99-based standards] (ULLONG_MAX): Likewise.
7981 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7982 == 0.
7983 [ISO11] (max_align_t): Require type.
7984 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7985
c9140a62
JM
7986 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7987 from $CFLAGS, without defining away __attribute__ calls.
7988 (checknamespace): Use $CFLAGS_namespace.
7989
9af0bf29
JM
7990 * conform/conformtest.pl (@keywords): Only include C99 keywords
7991 for standards based on C99 or C11.
7992
343222a2
JM
7993 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7994 Disable tests.
7995 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7996 UNIX98]: Likewise.
7997
661f8cf0
JM
7998 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7999 usability of symbols in #if.
8000
ee74b9cb
JM
8001 * conform/conformtest.pl: If macro or constant types start
8002 "promoted:", expect the symbol to be of the following type
8003 promoted by the integer promotions.
62fde54f 8004
aafc49b3
JM
8005 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8006 in one place. Also handle "macro-constant".
8007
fefdf574
JM
8008 * conform/conformtest.pl: Only accept expected macro values with
8009 "==". Parse all "macro" lines in one place.
8010 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8011
f2d922fe
JM
8012 * conform/conformtest.pl: Handle braced types on "constant" lines
8013 instead of handling "typed-constant".
8014 * conform/data/signal.h-data: Use "constant" instead of
8015 "typed-constant".
8016
d22956c9
JM
8017 * conform/conformtest.pl: Handle "optional-" at start of lines in
8018 one place rather than duplicating several cases. Handle each
8019 format of "macro" line with initial "optional-".
8020
028e2e38
JM
8021 * conform/conformtest.pl: Only accept expected constant or
8022 optional-constant values with "==". Parse all "constant" lines in
8023 one place. Parse all "optional-constant" lines in one place.
8024 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8025 * conform/data/fmtmsg.h-data: Likewise.
8026 * conform/data/netinet/in.h-data: Likewise.
8027 * conform/data/tar.h-data: Likewise.
8028 * conform/data/limits.h-data: Use "==" form on "constant" and
8029 "optional-constant" lines.
8030
1b8f2850
JM
8031 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8032 Use -std=c99 for XOPEN2K.
8033 (@knownproblems): Remove.
8034 (newtoken): Don't check %isknown.
8035
a05a144b
JM
8036 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8037 Do not expect macro.
8038 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8039 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8040 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8041 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8042 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8043 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8044 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8045 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8046 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8047 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8048 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8049 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8050 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8051 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8052 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8053 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8054 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8055 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8056 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8057 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8058 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8059 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8060 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8061 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8062 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8063 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8064 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8065 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8066 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8067 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8068 [XPG3] (acosh): Likewise.
8069 [XPG3] (asinh): Likewise.
8070 [XPG3] (atanh): Likewise.
8071 [XPG3] (cbrt): Likewise.
8072 [XPG3] (expm1): Likewise.
8073 [XPG3] (ilogb): Likewise.
8074 [XPG3] (log1p): Likewise.
8075 [XPG3] (logb): Likewise.
8076 [XPG3] (nextafter): Likewise.
8077 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8078 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8079 [XPG3] (remainder): Likewise.
8080 [XPG3] (rint): Likewise.
8081 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8082 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8083 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8084 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8085 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8086 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8087 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8088 [UNIX98 || XOPEN2K] (scalb): Expect.
8089 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8090 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8091 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8092 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8093 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8094 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8095 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8096 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8097 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8098 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8099 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8100 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8101 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8102 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8103 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8104 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8105 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8106 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8107 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8108 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8109 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8110 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8111 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8112 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8113 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8114 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8115 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8116 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8117 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8118 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8119 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8120 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8121 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8122 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8123 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8124 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8125 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8126 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8127 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8128 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8129 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8130 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8131 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8132 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8133 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8134 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8135 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8136 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8137 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8138 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8139 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8140 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8141 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8142 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8143 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8144 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8145 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8146 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8147 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8148 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8149 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8150 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8151 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8152 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8153 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8154 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8155 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8156 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8157 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8158 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8159 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8160 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8161 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8162 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8163 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8164 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8165 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8166 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8167 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8168 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8169 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8170 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8171 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8172 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8173 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8174 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8175 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8176 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8177 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8178 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8179 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8180 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8181 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8182 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8183 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8184 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8185 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8186 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8187 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8188 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8189 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8190 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8191 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8192 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8193 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8194 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8195 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8196 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8197 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8198 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8199 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8200 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8201 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8202 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8203 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8204 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8205 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8206 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8207 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8208 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8209 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8210 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8211 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8212 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8213 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8214 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8215 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8216 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8217 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8218 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8219 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8220 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8221 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8222 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8223 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8224 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8225 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8226
73c5ebe3
JM
8227 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8228 _XOPEN_SOURCE_EXTENDED for XPG4.
8229
39c33b6c
JM
8230 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8231
62fde54f
JM
8232 * Makeconfig (localtime): Remove variable.
8233 (inst_localtime-file): Likewise.
8234
0741d64c
AS
82352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8236
8237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8238 Update.
8239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8240 Update.
8241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8242 Update.
8243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8244 Update.
8245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8246 Update.
8247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8248 Update.
8249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8250 Update.
8251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8252 Update.
8253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8254 Update.
8255
7cb029ee
JM
82562012-05-01 Joseph Myers <joseph@codesourcery.com>
8257
8258 [BZ #2550]
8259 [BZ #2570]
8260 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8261 comparisons to determine direction to adjust input.
8262 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8263 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8264 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8265 Likewise.
8266 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8267 Likewise.
8268 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8269 Likewise.
8270 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8271 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8272 Likewise.
8273 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8274 Likewise.
8275 * math/libm-test.inc (nexttoward_test): Add more tests.
8276
412bd966
AS
82772012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8278
8279 [BZ #14040]
8280 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8281 in version GLIBC_2.1, not GLIBC_2.0.
8282 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8283 Likewise.
8284
9568c0c2
JM
82852012-04-30 Joseph Myers <joseph@codesourcery.com>
8286
adfbc8ac
JM
8287 [BZ #13942]
8288 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8289 (1 - x) * (1 + x).
8290 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8291 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8292 * math/libm-test.inc (acos_test): Add more tests.
8293 (asin_test): Likewise.
8294 * sysdeps/i386/fpu/libm-test-ulps: Update.
8295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8296
5ba3cc69
JM
8297 [BZ #14034]
8298 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8299 of square root.
8300 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8301 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8302 * math/libm-test.inc (acos_test_tonearest): New function.
8303 (acos_test_towardzero): Likewise.
8304 (acos_test_downward): Likewise.
8305 (acos_test_upward): Likewise.
8306 (asin_test_tonearest): Likewise.
8307 (asin_test_towardzero): Likewise.
8308 (asin_test_downward): Likewise.
8309 (asin_test_upward): Likewise.
8310 (main): Call the new functions.
8311 * sysdeps/i386/fpu/libm-test-ulps: Update.
8312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8313
9568c0c2
JM
8314 [BZ #13884]
8315 [BZ #13924]
8316 * math/e_exp10.c: Include <float.h>.
8317 (__ieee754_exp10): Handle underflow here rather than multiplying
8318 large negative argument by M_LN10.
8319 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8320 of __ieee754_expf.
8321 * math/e_exp10l.c: Include <float.h>.
8322 (__ieee754_exp10l): Handle underflow here rather than multiplying
8323 large negative argument by M_LN10l.
8324 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8325 spurious overflow exception on underflow.
8326
5ac3ea17
MP
83272012-04-29 Marek Polacek <polacek@redhat.com>
8328
8329 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8330 (__fortify_function): New macro.
8331 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8332 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8333 __extern_always_inline.
8334 * libio/bits/stdio2.h: Likewise.
8335 * libio/bits/stdio.h: Likewise.
8336 * string/string.h: Likewise.
8337 * string/bits/string3.h: Likewise.
8338 * include/stdio.h: Likewise.
8339 * stdlib/bits/stdlib.h: Likewise.
8340 * stdlib/stdlib.h: Likewise.
8341 * rt/bits/mqueue2.h: Likewise.
8342 * rt/mqueue.h: Likewise.
8343 * posix/bits/unistd.h: Likewise.
8344 * posix/unistd.h: Likewise.
8345 * io/bits/poll2.h: Likewise.
8346 * io/bits/fcntl2.h: Likewise.
8347 * io/fcntl.h: Likewise.
8348 * io/sys/poll.h: Likewise.
8349 * misc/bits/syslog.h: Likewise.
8350 * misc/bits/syslog-ldbl.h: Likewise.
8351 * misc/sys/syslog.h: Likewise.
8352 * socket/bits/socket2.h: Likewise.
8353 * socket/sys/socket.h: Likewise.
8354 * debug/tst-chk1.c: Likewise.
8355 * wcsmbs/bits/wchar2.h: Likewise.
8356 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8357 * wcsmbs/wchar.h: Likewise.
8358
ecf0ebfb
AJ
83592012-04-29 Andreas Jaeger <aj@suse.de>
8360
8361 * Makerules (tests): Remove enable-check-abi protection.
8362 (check-abi-warn): Remove.
8363 (check-abi-%): Remove check-abi-warn usage.
8364
8365 * configure.in: Remove check-abi configure option.
8366 * configure: Regenerated.
8367 * config.make.in (enable-check-abi): Remove.
8368
6d5c57fa
AS
83692012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8370
24c5d07e 8371 [BZ #14033]
ded5180a
AS
8372 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8373 double functions to double *_finite functions.
8374
7e0d315d
AS
8375 [BZ #13941]
8376 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8377 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8378 LDBL_MIN_EXP.
8379 * stdio-common/Makefile (tests): Add tst-sprintf3.
8380 * stdio-common/tst-sprintf3.c: New file.
8381
6d5c57fa
AS
8382 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8383 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8384
0749ff8b
JM
83852012-04-28 Joseph Myers <joseph@codesourcery.com>
8386
8387 * conform/conformtest.pl: Remove duplicate typed-constant
8388 handling.
8389
8dbd5d7b
DM
83902012-04-28 David S. Miller <davem@davemloft.net>
8391
8392 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8393 (check-abi-%): Remove AWK script prerequisite and explicit
8394 abilist directory.
8395 (check-abi): Rewrite to just diff the symlist with the abilist.
8396 (config-tls, config-abi-config): Delete, no longer used.
8397 (update-abi-%): Remove AWK script and explicit abilist directory.
8398 (update-abi): Rewrite to simply compare and conditionally copy the
8399 symlist and the sysdep abilist file. Remove update-abi-config
8400 checks.
8401 * abilist/ld.abilist: Remove.
8402 * abilist/libBrokenLocale.abilist: Remove.
8403 * abilist/libanl.abilist: Remove.
8404 * abilist/libcrypt.abilist: Remove.
8405 * abilist/libdl.abilist: Remove.
8406 * abilist/librt.abilist: Remove.
8407 * abilist/libthread_db.abilist: Remove.
8408 * abilist/libutil.abilist: Remove.
8409 * scripts/extract-abilist.awk: Remove.
8410 * scripts/merge-abilist.awk: Remove.
8411 * sysdeps/generic/libcidn.abilist: New file.
8412 * sysdeps/generic/libnss_compat.abilist: New file.
8413 * sysdeps/generic/libnss_db.abilist: New file.
8414 * sysdeps/generic/libnss_dns.abilist: New file.
8415 * sysdeps/generic/libnss_files.abilist: New file.
8416 * sysdeps/generic/libnss_hesiod.abilist: New file.
8417 * sysdeps/generic/libnss_nis.abilist: New file.
8418 * sysdeps/generic/libnss_nisplus.abilist: New file.
8419 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8420 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8421 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8422 file.
8423 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8424 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8425 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8426 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8427 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8428 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8429 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8430 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8431 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8432 file.
8433 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8434 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8435 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8436 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8437 file.
8438 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8439 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8440 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8441 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8442 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8443 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8444 file.
8445 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8446 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8447 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8448 file.
8449 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8451 New file.
8452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8453 New file.
8454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8455 New file.
8456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8457 New file.
8458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8459 New file.
8460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8461 New file.
8462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8463 New file.
8464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8465 New file.
8466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8467 New file.
8468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8469 New file.
8470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8471 New file.
8472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8473 New file.
8474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8475 New file.
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8477 file.
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8479 New file.
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8481 New file.
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8483 file.
8484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8485 New file.
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8487 New file.
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8489 file.
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8491 New file.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8493 New file.
8494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8495 New file.
8496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8497 New file.
8498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8499 New file.
8500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8501 New file.
8502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8504 file.
8505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8506 New file.
8507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8508 file.
8509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8510 file.
8511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8512 file.
8513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8514 file.
8515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8516 file.
8517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8518 New file.
8519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8520 file.
8521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8522 file.
8523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8524 New file.
8525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8526 file.
8527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8529 file.
8530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8531 New file.
8532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8533 file.
8534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8535 file.
8536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8537 file.
8538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8539 file.
8540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8541 file.
8542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8543 New file.
8544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8545 file.
8546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8547 file.
8548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8549 New file.
8550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8551 file.
8552 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8553 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8554 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8555 file.
8556 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8557 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8558 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8559 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8560 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8561 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8562 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8563 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8564 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8565 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8568 file.
8569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8570 New file.
8571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8572 file.
8573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8574 file.
8575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8576 file.
8577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8578 file.
8579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8580 file.
8581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8582 New file.
8583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8584 New file.
8585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8586 file.
8587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8588 New file.
8589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8590 file.
8591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8593 file.
8594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8595 New file.
8596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8597 file.
8598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8599 file.
8600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8601 file.
8602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8603 file.
8604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8605 file.
8606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8607 New file.
8608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8609 New file.
8610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8611 file.
8612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8613 New file.
8614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8615 file.
8616
41d73a1b
JM
86172012-04-28 Joseph Myers <joseph@codesourcery.com>
8618
8619 * conform/conformtest.pl: Fix typo in handling typed-constant from
8620 allow-header.
8621
28aeeda4
JM
86222012-04-27 Joseph Myers <joseph@codesourcery.com>
8623
adae8f5e
JM
8624 * README: Cut down references to pre-2.6 Linux kernels and
8625 Linuxthreads. Update lists of configurations in libc and ports
8626 and sort alphabetically. Say "or newer" with Linux kernel version
8627 requirements.
8628
28aeeda4
JM
8629 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8630
a462cb63
RA
86312012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8632
8633 [BZ #887]
8634 * math/libm-test.inc (logb_test_downward): New test to expose
8635 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8636 rounding mode.
8637
6ad3493e
JM
86382012-04-27 Joseph Myers <joseph@codesourcery.com>
8639
8640 [BZ #14027]
8641 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8642 to be done.
8643 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8644 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8645
2ce4f015
JM
86462012-04-26 Joseph Myers <joseph@codesourcery.com>
8647
5aeb141a
JM
8648 * sysdeps/unix/i386/brk.S: Remove file.
8649 * sysdeps/unix/i386/dl-brk.S: Likewise.
8650 * sysdeps/unix/i386/pipe.S: Likewise.
8651 * sysdeps/unix/i386/sigreturn.S: Likewise.
8652 * sysdeps/unix/i386/syscall.S: Likewise.
8653 * sysdeps/unix/i386/vfork.S: Likewise.
8654 * sysdeps/unix/i386/wait.S: Likewise.
8655
7143acae
JM
8656 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8657 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8658
2ce4f015
JM
8659 * configure.in (arm*-none*): Do not allow without
8660 --enable-hacker-mode.
8661 (netbsd*): Remove case setting base_os.
8662 (386bsd*): Likewise.
8663 (freebsd*): Likewise.
8664 (bsdi*): Likewise.
8665 (osf*): Likewise.
8666 (sunos*): Likewise.
8667 (ultrix*): Likewise.
8668 (newsos*): Likewise.
8669 (dynix*): Likewise.
8670 (*bsd*): Likewise.
8671 (sysv*): Likewise.
8672 (isc*): Likewise.
8673 (esix*): Likewise.
8674 (sco*): Likewise.
8675 (minix*): Likewise.
8676 (irix4*): Likewise.
8677 (irix6*): Likewise.
8678 (solaris[2-9]*): Likewise.
8679 (none): Likewise.
8680 * configure: Regenerated.
8681
0ac229c8
AZ
86822012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8683
8684 [BZ #11521]
8685 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8686 overflow or cancellation in calculating denominator.
8687 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8688 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8689 down expression to avoid unexpected rounding in newer GCCs.
8690 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8691
33f244f4
DM
86922012-04-26 David S. Miller <davem@davemloft.net>
8693
8694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8695 long-double compat symbols.
8696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8709
cfa1f3e8
DM
87102012-04-25 David S. Miller <davem@davemloft.net>
8711
8712 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8713 HWCAP_* values only after the memory barriers have been defined.
8714 (atomic_full_barrier): Define.
8715 (atomic_read_barrier): Define.
8716 (atomic_write_barrier): Define.
8717
6e236b92
SP
87182012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8719
8720 * shlib-versions: Add libgcc_s version information.
8721 * sysdeps/generic/libgcc_s.h: Remove.
8722 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8723 libgcc_s.h.
8724 * sysdeps/gnu/unwind-resume.c: Likewise.
8725 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8726
aab39a09
DM
87272012-04-25 David S. Miller <davem@davemloft.net>
8728
8729 * sysdeps/unix/sparc/brk.S: Delete.
8730 * sysdeps/unix/sparc/dl-brk.S: Delete.
8731 * sysdeps/unix/sparc/pipe.S: Delete.
8732 * sysdeps/unix/sparc/sysdep.S: Delete.
8733 * sysdeps/unix/sparc/sysdep.h: Delete.
8734 * sysdeps/unix/sparc/vfork.S: Delete.
8735 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8736 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8737 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8738 ret_ERRVAL, r0, r1, MOVE): Define.
8739 (JUMPTARGET): Remove.
8740 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8741 sysdeps/unix/sparc/sysdep.h
8742 (ENTRY, END): Remove.
8743 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8744
a3cc4f48
JM
87452012-04-25 Joseph Myers <joseph@codesourcery.com>
8746
2ed8cda2
JM
8747 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8748 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8749 -DIS_IN_build.
8750
35d76d59
JM
8751 * timezone/README: Update upstream location and email address for
8752 tzcode and tzdata.
8753 * timezone/zdump.c: Update from tzcode 2012b.
8754 * timezone/zic.c: Likewise.
8755
a3cc4f48
JM
8756 * configure.in (libc_cv_as_needed): Remove test.
8757 * configure: Regenerated.
8758 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8759 conditional definition.
8760 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8761 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8762 * config.make.in (have-as-needed): Remove variable.
8763
ceab42c3
SP
87642012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8765 Paul Pluzhnikov <ppluzhnikov@google.com>
8766
8767 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8768 strings correctly.
8769
3ce2865f
CLT
87702012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8771
8772 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8773 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8774 * sysdeps/sh/strlen.S: Likewise.
8775
f37e0d68
JM
87762012-04-24 Joseph Myers <joseph@codesourcery.com>
8777
ae186e9a
JM
8778 * sysdeps/unix/fork.S: Remove file.
8779 * sysdeps/unix/i386/fork.S: Likewise.
8780 * sysdeps/unix/sparc/fork.S: Likewise.
8781
b96914af
JM
8782 * sysdeps/unix/system.c: Remove file.
8783 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8784
f37e0d68
JM
8785 * sysdeps/unix/getegid.S: Remove file.
8786 * sysdeps/unix/geteuid.S: Likewise.
8787
87ef29ca
RM
87882012-04-24 Roland McGrath <roland@hack.frob.com>
8789
83bcd236
RM
8790 * scripts/check-localplt.awk: New file.
8791 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8792 of diff.
8793 * scripts/data/localplt-generic.data: Add a comment.
8794
87ef29ca
RM
8795 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8796 NODE when __dir_mkfile failed.
8797 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8798 Reported by Ludovic Courtès <ludo@gnu.org>.
8799
e5a6e567
AJ
88002012-04-24 Andreas Jaeger <aj@suse.de>
8801
8802 * Makerules (common-clean): Also remove gen-as-const-headers
8803 files.
8804
c1820385
JM
88052012-04-24 Joseph Myers <joseph@codesourcery.com>
8806
8807 * Makerules (native-compile): Do not change working directory for
8808 build. Use $(OUTPUT_OPTION) in command.
8809 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8810
94e02fc4
AZ
88112012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8812
8813 [BZ #13886]
8814 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8815 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8816 * math/libm-test.inc (floor_test): Add more tests.
8817 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8818
3a533ca3
JM
88192012-04-24 Joseph Myers <joseph@codesourcery.com>
8820
940ab4b3
JM
8821 * sysdeps/unix/getdents.c: Remove file.
8822 * sysdeps/unix/sysv/getdents.c: Likewise.
8823 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8824
90e037bd
JM
8825 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8826 sysdeps/unix/mman/syscalls.list.
8827 (mmap): Likewise.
8828 (mprotect): Likewise.
8829 (msync): Likewise.
8830 (munmap): Likewise.
8831 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8832 * sysdeps/unix/mman/syscalls.list: Remove.
8833 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8834
3a533ca3
JM
8835 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8836 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8837 * configure: Regenerated.
8838 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8839 $(libgcc_s_suffix).
8840 * config.make.in (libgcc_s_suffix): Remove variable.
8841
1ad743de
JM
88422012-04-23 Joseph Myers <joseph@codesourcery.com>
8843
4ad451e2
JM
8844 * sysdeps/unix/sysv/gethostname.c: Move to ...
8845 * sysdeps/posix/gethostname.c: ... here.
8846
5e37ce39
JM
8847 * sysdeps/unix/execve.S: Remove file.
8848
1ad743de
JM
8849 * sysdeps/unix/_exit.S: Remove file.
8850
4e681b5b
AJ
88512012-04-23 Andreas Jaeger <aj@suse.de>
8852
8853 [BZ #13739]
8854 * manual/Makefile: Remove make dist support, there's no
8855 need for a stand-alone documentation tar ball.
8856 (TEXI2DVI): Define always, it's not in Makeconfig.
8857 (dist): Removed.
8858 (tar-it): Removed.
8859 (edition): Removed.
8860 (glibc-doc-$(edition).tar): Removed
8861 (%.Z): Removed.
8862 (%.gz): Removed.
8863 (%.uu): Removed.
8864 (ETAGS): Remove, it's in Makeconfig.
8865 (move-if-change): Remove, it's in Makeconfig.
8866
c0baea34
PE
88672013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8868
8869 [BZ #13970]
8870 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8871 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8872 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8873 (strtod_l, strtof_l, strtold_l): Remove __wur.
8874 It is not necessarily an error to ignore strtol's return value.
8875 One can reliably look at the stored endptr to decide whether
8876 the number had valid syntax.
8877
7c0616fa
AJ
88782012-04-21 Andreas Jaeger <aj@suse.de>
8879
803cb6b7 8880 [BZ #13739]
7c0616fa
AJ
8881 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8882
b0fe253f
JM
88832012-04-21 Joseph Myers <joseph@codesourcery.com>
8884
8885 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8886 * sysdeps/unix/sysv/Versions: Remove file.
8887
8280f22d
MT
88882012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8889
8890 [BZ #13927]
8891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8892
75ce411f 88932012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8894
8895 [BZ #7064]
8896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8897 version from __vm86.
8898
097d59fa
JM
88992012-04-20 Joseph Myers <joseph@codesourcery.com>
8900
a90f3bcb
JM
8901 * sysdeps/unix/common/lxstat.c: Remove file.
8902 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8903
edc7ea78
JM
8904 * sysdeps/unix/sysv/Makefile: Remove file.
8905
cb78c221
JM
8906 * sysdeps/unix/sysv/direct.h: Remove file.
8907
efa6a45f
JM
8908 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8909 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8910 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8911 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8912 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8913 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8914 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8915
9c9f2d0c
JM
8916 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8917
4541c83b
JM
8918 * sysdeps/unix/xmknod.c: Remove file.
8919 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8920
f5d153a0
JM
8921 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8922
aa746595
JM
8923 * sysdeps/unix/sysv/i386/time.S: Remove file.
8924
cce5905e
JM
8925 * sysdeps/unix/fxstat.c: Remove file.
8926 * sysdeps/unix/xstat.c: Likewise.
8927 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8928
37fa3841
JM
8929 * sysdeps/unix/sysv/sigaction.c: Remove file.
8930
ff1962a3
JM
8931 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8932 (sysdep_headers): Remove variable.
8933 [termio.h not in sysdep_headers] (generated): Likewise.
8934 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8935 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8936 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8937 * sysdeps/unix/sysv/tcflow.c: Likewise.
8938 * sysdeps/unix/sysv/tcflush.c: Likewise.
8939 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8940 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8941 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8942 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8943 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8944
e7740d31
JM
8945 * sysdeps/unix/siglist.c: Remove file.
8946
ee06f18b
JM
8947 * sysdeps/unix/getppid.S: Remove file.
8948
097d59fa
JM
8949 * sysdeps/unix/mkdir.c: Remove file.
8950 * sysdeps/unix/rmdir.c: Likewise.
8951
ff3d51ec
AS
89522012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8953
8954 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8955 ERR_MAX value.
8956 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8957 errlist-compat value.
8958
50f81fd7
DM
89592012-04-18 David S. Miller <davem@davemloft.net>
8960
8961 * sysdeps/generic/memcopy.h (reg_char): Delete.
8962 * debug/strcat_chk.c: Use char, not reg_char.
8963 * debug/strcpy_chk.c: Likewise.
8964 * debug/strncat_chk.c: Likewise.
8965 * debug/strncpy_chk.c: Likewise.
8966 * string/memchr.c: Likewise.
8967 * string/memrchr.c: Likewise.
8968 * string/rawmemchr.c: Likewise.
8969 * string/strcat.c: Likewise.
8970 * string/strchr.c: Likewise.
8971 * string/strchrnul.c: Likewise.
8972 * string/strcmp.c: Likewise.
8973 * string/strcpy.c: Likewise.
8974 * string/strncat.c: Likewise.
8975 * string/strncmp.c: Likewise.
8976 * string/strncpy.c: Likewise.
8977
8ff41c46
WS
89782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8979
8980 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8981 __builtin_memcopy is called when src and dest ranges are known to not
8982 overlap.
8983
6b652f46
WS
89842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8985
8986 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8987 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8988 fwd_align_merge macro call.
8989 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8990 bwd_align_merge macro call.
8991 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8992
b282631e
WS
89932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8994
8995 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8996 bwd_align_merge macros.
8997 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8998 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8999 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9000
95aa737c
DM
90012012-04-18 David S. Miller <davem@davemloft.net>
9002
9003 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9004
7a99a614
AJ
90052012-04-18 Andreas Jaeger <aj@suse.de>
9006
9007 [BZ# 6794]
9008 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9009 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9010 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9011
9012 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9013 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9014 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9015
9016 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9017 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9018 Adjust for changed ldbl-128 files.
9019
9020 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9021 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9022 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9023
e5270c23
DM
90242012-04-17 David S. Miller <davem@davemloft.net>
9025
9026 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9027
fb5e92c9
AS
90282012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9029
9030 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9031 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9032 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9033 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9034 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9035 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9036
76da7265
AZ
90372012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9038
9039 [BZ #6794]
9040 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9041 * math/libm-test.inc: Add ilogb errno and exception tests.
9042 * math/w_ilogb.c: New file: ilogb wrapper.
9043 * math/w_ilogbf.c: New file: ilogbf wrapper.
9044 * math/w_ilogbl.c: New file: ilogbl wrapper.
9045 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9046 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9047 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9048 exception being thrown with 0.0 as argument.
9049 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9050 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9051 exception being thrown with 0.0 as argument.
9052 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9053 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9054 exception being thrown with 0.0 as argument.
9055 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9056 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9057 exception being thrown with 0.0 as argument.
9058 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9059 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9060 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9061 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9062 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9063 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9064 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9065 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9066 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9067
0396e69d
PB
90682012-04-17 Petr Baudis <pasky@ucw.cz>
9069
9070 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9071 with altivec.
9072
750b5926
MP
90732012-04-16 Marek Polacek <polacek@redhat.com>
9074
9075 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9076
751728a1
MP
90772012-04-16 Marek Polacek <polacek@redhat.com>
9078
9079 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9080 operands of fdivp instruction.
9081
34a27407
L
90822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9083
9084 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9085 * elf/tst-auditmod3b.c: Likewise.
9086 * elf/tst-auditmod4b.c: Likewise.
9087 * elf/tst-auditmod5b.c: Likewise.
9088 * elf/tst-auditmod6b.c: Likewise.
9089 * elf/tst-auditmod6c.c: Likewise.
9090 * elf/tst-auditmod7b.c: Likewise.
9091 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9092 * sysdeps/x86_64/preconfigure.in: Likewise.
9093 * sysdeps/x86_64/preconfigure: Regenerated.
9094
7e73e17d
L
90952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9096
9097 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9098 __ILP32__.
9099
c7a6ab72
AB
91002012-04-13 Antoine Balestrat <merkil33@gmail.com>
9101
9102 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9103 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9104
a9e8e0e0
CL
91052012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9106
9107 [BZ #13973]
9108 * locale/iso-639.def: Fix gl language name. Spotted by
9109 Yaron Shahrabani.
9110
ec98af7d
RM
91112012-04-12 Roland McGrath <roland@hack.frob.com>
9112
9113 [BZ #2074]
9114 * libio/libio.h (__io_write_fn): Update comment.
9115
247c3ede
PB
91162012-04-12 Petr Baudis <pasky@ucw.cz>
9117
9118 [BZ #2074]
9119 * stdio.texi (Hook Functions): The user provided writer function
9120 is not allowed to return -1.
9121
55939d6d
DM
91222012-04-11 David S. Miller <davem@davemloft.net>
9123
9124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9125
90020f5a
MF
91262012-04-11 Mike Frysinger <vapier@gentoo.org>
9127
9128 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9129 Add a leading slash to rtkaio.
9130
288f9098
JM
91312012-04-11 Jim Meyering <meyering@redhat.com>
9132
90020f5a
MF
9133 [BZ #11959]
9134 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9135 It is not necessarily an error to ignore fwrite's return
9136 value. One can reliably use ferror to test for errors after
9137 the fact.
288f9098 9138
4be2b570
L
91392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9140
9141 * bits/types.h (__snseconds_t): New type.
9142 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9143
9144 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9145 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9146 (__SNSECONDS_T_TYPE): Likewise.
9147 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9148 (__SNSECONDS_T_TYPE): Likewise.
9149 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9150 (__SNSECONDS_T_TYPE): Likewise.
9151
288f9098 91522012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9153
9154 [BZ #2636]
9155 * manual/time.texi (Processor Time): Return type of times is
9156 elapsed real time since an arbitrary point in the past.
9157 (CPU Time): Move CLK_TCK from here...
9158 (Processor Time): ...to here. Correct description.
9159 * manual/conf.texi (Constants for Sysconf): Correct description of
9160 _SC_CLK_TCK.
9161
d7dd4413
DM
91622012-04-10 David S. Miller <davem@davemloft.net>
9163
9164 [BZ #13967]
9165 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9166 where the is a gap between DT_REL(A) and DT_JMPREL.
9167
b46068fc
L
91682012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9169
9170 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9171 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9172 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9173
73d65cc3
SP
91742012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9175
9176 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9177 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9178 (dl_main): Handle --inhibit-cache.
9179 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9180 _dl_inhibit_cache.
9181 * elf/dl-load.c (_dl_map_object): Use it.
9182 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9183
bcc8d661
JM
91842012-04-09 Joseph Myers <joseph@codesourcery.com>
9185
8f9a2fae
JM
9186 [BZ #13872]
9187 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9188 (__ieee754_powl): Saturate large exponents rather than testing for
9189 overflow of y*log2(x).
9190 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9191 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9192 exceptions.
9193
bcc8d661
JM
9194 [BZ #11521]
9195 * math/s_ctan.c: Include <float.h>.
9196 (__ctan): Avoid internal overflow or cancellation in calculating
9197 denominator.
9198 * math/s_ctanf.c: Likewise.
9199 * math/s_ctanl.c: Likewise.
9200 * math/s_ctanh.c: Likewise.
9201 * math/s_ctanhf.c: Likewise.
9202 * math/s_ctanhl.c: Likewise.
9203 * math/libm-test.inc (ctan_test): Add more tests.
9204 (ctanh_test): Likewise.
9205 * sysdeps/i386/fpu/libm-test-ulps: Update.
9206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9207
823fbbb4
AJ
92082012-04-09 Andreas Jaeger <aj@suse.de>
9209
03879793
AJ
9210 [BZ #6894]
9211 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9212 is an optional BSD extension.
9213
823fbbb4
AJ
9214 [BZ #10254]
9215 * manual/stdio.texi (Opening Streams): Document additional fopen
9216 parameters.
9217
8de131cb
RM
92182012-04-09 Roland McGrath <roland@hack.frob.com>
9219
9220 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9221 %eax without telling the compiler.
9222
c0ed9d7d
CD
92232012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9224
9225 [BZ # 13963]
9226 * manual/install.texi: Use sourceware.org.
9227
c483f6b4
JM
92282012-04-09 Joseph Myers <joseph@codesourcery.com>
9229
d7dd9453
JM
9230 [BZ #13873]
9231 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9232 (__ieee754_pow): Generate overflow and underflow using huge*huge
9233 and tiny*tiny rather than just returning constant infinity or zero
9234 for large exponents.
9235 * math/libm-test.inc (pow_test): Require overflow exceptions for
9236 applicable cases of large exponents.
9237
c483f6b4
JM
9238 [BZ #706]
9239 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9240 (__ieee754_pow): Use iterative multiplication algorithm only for
9241 integer exponents with absolute value below 1024. Check for odd
9242 integer exponents when using algorithm for real exponents.
9243 * math/libm-test.inc (pow_test): Add more tests.
9244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9245
d2de7579
JM
92462012-04-08 Joseph Myers <joseph@codesourcery.com>
9247
9248 [BZ #13705]
9249 * math/libm-test.inc (exp_test): Do not allow overflow exception
9250 on underflow test.
9251
f77f1232
AJ
92522012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9253
9254 [BZ #13705]
9255 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9256 instead of __kernel_standard_f.
9257
3884932b
MF
92582012-04-08 Mike Frysinger <vapier@gentoo.org>
9259
9260 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9261 * sysdeps/x86_64/memset_chk.S: Likewise.
9262
54472e9c
AJ
92632012-04-08 Andreas Jaeger <aj@suse.de>
9264
6ab0fbfc
AJ
9265 [BZ #10153]
9266 * manual/startup.texi (Environment Access): Describe return value
9267 for putenv and setenv.
9268
61efba8c
AJ
9269 [BZ #6895]
9270 * manual/filesys.texi (Directory Entries): Add description for
9271 DT_LNK.
9272
95c3f29a
AJ
9273 [BZ #6890]
9274 * manual/filesys.texi (Directory Entries): Clarify that it's file
9275 system not operating system in the description of DT_UNKNOWN.
9276
54472e9c
AJ
9277 [BZ #6578]
9278 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9279
624254b1
SC
92802012-04-08 Stephen Compall <s11@member.fsf.org>
9281
9282 [BZ #6649]
9283 * manual/llio.texi (Opening and Closing Files): Add cross
9284 reference to explain mode argument.
9285
1e4920e0
MF
92862012-04-07 Mike Frysinger <vapier@gentoo.org>
9287
9288 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9289 * sysdeps/x86_64/memset_chk.S: Likewise.
9290
5ed848f3
DM
92912012-04-07 David S. Miller <davem@davemloft.net>
9292
9293 * elf/elf.h (R_SPARC_WDISP10): Define.
9294 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9295 R_SPARC_SIZE32.
9296 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9297 R_SPARC_SIZE64 and R_SPARC_H34.
9298
96154cd8
CD
92992012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9300
9301 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9302 conditions and remove no longer applicable assertion.
9303
9904dc47
L
93042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9305
9306 * bits/byteswap.h: Include <features.h>.
9307 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9308 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9309
f8887d0a
L
93102012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9311
9312 * bits/byteswap.h (__bswap_16): Removed.
9313 Include <bits/byteswap-16.h> to get __bswap_16.
9314 * sysdeps/i386/bits/byteswap.h: Likewise.
9315 * sysdeps/s390/bits/byteswap.h: Likewise.
9316 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9317 * bits/byteswap-16.h: New file.
9318 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9319 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9320 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9321 * string/Makefile (headers): Add bits/byteswap-16.h.
9322
62470f60
PP
93232012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9324
9325 [BZ #13895]
9326 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9327 extra indirection.
9328 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9329 * nss/tst-nss-static.c: New.
9330
4dad7bab
RM
93312012-04-06 Robert Millan <rmh@gnu.org>
9332
9333 [BZ #6486]
9334 * manual/llio.texi (File Position Primitive): lseek
9335 refers to WHENCE when it really means OFFSET.
9336
e9142a17
AJ
93372012-04-06 Andreas Jaeger <aj@suse.de>
9338
2c040eff
AJ
9339 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9340 strncmp declarations.
9341
e9142a17
AJ
9342 * abilist/libc.abilist: Add __poll and __ppoll.
9343
ff9f1c5f
DM
93442012-04-05 David S. Miller <davem@davemloft.net>
9345
dcd2ae90
DM
9346 * scripts/check-local-headers.sh: Accept a host triplet in the
9347 path matched by the exclude regexp.
9348
993eb054
DM
9349 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9350 definition.
9351 * sysdeps/powerpc/powerpc32/dl-machine.h
9352 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9353 * sysdeps/s390/s390-32/dl-machine.h
9354 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9355 * sysdeps/sparc/sparc32/dl-machine.h
9356 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9357 * sysdeps/sparc/sparc64/dl-machine.h
9358 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9359
ff9f1c5f
DM
9360 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9361 lazy binding.
48e2e132 9362 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9363 undefined symbol errors.
9364
48e2e132 9365 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9366 DT_NEEDED entries.
9367
e80d6f94
MM
93682012-04-05 Michael Matz <matz@suse.de>
9369
9370 [BZ #13592]
9371 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9372
349fa79f
AJ
93732012-04-05 Andreas Jaeger <aj@suse.de>
9374
9375 [BZ #13908]
9376 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9377 comment.
9378
f402708f
KK
93792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9380
9381 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9382 which ROUND is no valid rounding mode.
9383
2ecccfc9
KK
93842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9385
9386 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9387 read again.
9388 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9389
8a53f50f
KK
93902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9391
9392 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9393 an exception using FPU order intentionally.
9394
93952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9396
9397 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9398 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9399 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9400 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9401
d653abb7
SJ
94022012-04-05 Simon Josefsson <simon@josefsson.org>
9403
9404 [BZ #12340]
9405 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9406 EINVAL when BUFLEN is too smal.
9407
c3b1bf7d
TS
94082012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9409
9410 [BZ #13553]
9411 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9412 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9413
b1aa60f3
AJ
94142012-04-03 Andreas Jaeger <aj@suse.de>
9415
c3b1bf7d 9416 [BZ #13938]
67f60a26
AJ
9417 * manual/setjmp.texi (System V contexts): Fix sentence.
9418
b1aa60f3
AJ
9419 [BZ #13926]
9420 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9421 New macro for this case.
9422 [!__GNUC__] (__bswap_64): New inline function for this case.
9423 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9424 * bits/byteswap.h: Likewise.
9425 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9426 ull, guard with __GLIBC_HAVE_LONG_LONG.
9427
9428 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9429 __GLIBC_HAVE_LONG_LONG.
9430
9431 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9432 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9433
39c59c35
TMQMF
94342012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9435
9436 [BZ #13691]
9437 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9438 inptr and inend, rather than using last_ch.
9439
135ffda8
DM
94402012-04-02 David S. Miller <davem@davemloft.net>
9441
9442 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9443 * stdio-common/printf-parse.h (read_int): Change return type to
9444 'int', return -1 on INT_MAX overflow.
9445 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9446 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9447 overflows INT_MAX. Check for overflow of in-format-string precision
9448 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9449 SIZE_MAX not INT_MAX for integer overflow test.
9450 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9451 skip the construct in the format string but do not record anything.
9452 * stdio-common/bug22.c: Adjust to test both width/prevision
9453 INT_MAX overflow as well as total length INT_MAX overflow. Check
9454 explicitly for proper errno values.
9455
228c019e
TS
94562012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9457
302cadd3
TS
9458 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9459 CHAR_MAX.
9460 * string/test-strcmp.c [! WIDE]: Likewise.
9461 * time/tst-mktime2.c: Likewise for INT_MAX.
9462 * string/test-string.h: #include <sys/param.h> for MIN.
9463
228c019e
TS
9464 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9465 * sysdeps/i386/init-first.c (init): Likewise.
9466 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9467 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9468 * sysdeps/sh/init-first.c (init): Likewise.
9469
cfa633f5
UD
94702012-04-01 Ulrich Drepper <drepper@gmail.com>
9471
9472 * po/ru.po: Update from translation team.
d1635ef8 9473 * po/vi.po: Likewise.
cfa633f5 9474
6cd0a5ea
SP
94752012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9476
9477 * resolv/nss_dns/dns-host.c: Merge copyright years.
9478
4b43400f
LD
94792012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9480
9481 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9482 Optimize memcpy with prefetch if
9483 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9484 src, dst pointers have unequal 16 byte alignments.
9485
48c41d04
SP
94862012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9487
9488 [BZ #13928]
9489 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9490 from a CNAME entry and return the minimum ttl for the query.
9491 (gaih_getanswer_slice): Likewise.
9492
b8dc394d
JL
94932012-03-30 Jeff Law <law@redhat.com>
9494
9495 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9496 due to long keys.
9497 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9498 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9499
2f5a5ed0
JL
9500 * resolv/nss_dns/dns-host.c: Update copyright year.
9501
1d39e359
UD
95022012-03-30 Ulrich Drepper <drepper@gmail.com>
9503
c030f70c 9504 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9505 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9506
1d39e359
UD
9507 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9508 comments for sendmmsg.
9509
95102012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9511
9512 [BZ #13691]
9513 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9514 with only 1 character between 0x0041 and 0x01b0.
9515 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9516 * wcsmbs/tst-mbsnrtowcs.c: New file.
9517
20fde227
DM
95182012-03-29 David S. Miller <davem@davemloft.net>
9519
9520 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9521 small copies by hand.
9522
984a4237
JL
95232012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9524
9525 [BZ #13761]
9526 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9527 _nss_compat_initgroups_dyn): Fall back to malloc/free
9528 for large group memberships.
9529
18c9d62b
DM
95302012-03-28 David S. Miller <davem@davemloft.net>
9531
88d85d4f
DM
9532 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9533 that branches into memcpy.
9534 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9535 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9536 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9537 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9539 bits.
9540 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9541 implementation too.
9542 * sysdeps/sparc/mempcpy.S: New file.
9543
e5aa83e1
DM
9544 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9545 the IFUNC routine in the libc case.
9546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9547
88570753
DM
9548 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9549 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9550 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9551 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9552 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9553 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9554 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9555 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9556
249d7567
DM
9557 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9558 loop to 256 bytes instead of 64 bytes and fix test signedness.
9559
18c9d62b
DM
9560 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9561 * sysdeps/sparc/sparc32/Makefile: rather than here...
9562 * sysdeps/sparc/sparc64/Makefile: and here.
9563
05f3d1f6
UD
95642012-03-28 Ulrich Drepper <drepper@gmail.com>
9565
9566 * malloc/mallocbug.c: Avoid warnings about unused variables.
9567
86ae07a8
JL
95682012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9569
9570 [BZ #13760]
9571 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9572 in the right place. Discard and retry query if response is
9573 larger than input buffer size.
9574
41bf21a1
JM
95752012-03-28 Joseph Myers <joseph@codesourcery.com>
9576
d6270972
JM
9577 [BZ #369]
9578 [BZ #2678]
9579 [BZ #3866]
9580 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9581 x for large integer exponent.
9582 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9583 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9584 sign of result as needed afterwards.
9585 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9586 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9587 result for underflowing pow the same as for overflow.
9588 (__kernel_standard_l): Handle powl overflow and underflow here
9589 rather than calling __kernel_standard.
9590 * math/libm-test.inc (pow_test): Add more tests.
9591
414fca03 9592 [BZ #3868]
41bf21a1
JM
9593 [BZ #13879]
9594 [BZ #13910]
9595 [BZ #13911]
9596 [BZ #13912]
9597 [BZ #13913]
9598 [BZ #13915]
9599 [BZ #13916]
9600 [BZ #13917]
9601 [BZ #13918]
9602 [BZ #13919]
9603 [BZ #13920]
9604 [BZ #13921]
9605 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9606 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9607 (__kernel_standard_l): New function.
9608 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9609 __kernel_standard.
9610 * math/w_acosl.c (__acosl): Likewise.
9611 * math/w_asinl.c (__asinl): Likewise.
9612 * math/w_atan2l.c (__atan2l): Likewise.
9613 * math/w_atanhl.c (__atanhl): Likewise.
9614 * math/w_coshl.c (__coshl): Likewise.
9615 * math/w_exp10l.c (__exp10l): Likewise.
9616 * math/w_exp2l.c (__exp2l): Likewise.
9617 * math/w_fmodl.c (__fmodl): Likewise.
9618 * math/w_hypotl.c (__hypotl): Likewise.
9619 * math/w_j0l.c (__j0l, __y0l): Likewise.
9620 * math/w_j1l.c (__j1l, __y1l): Likewise.
9621 * math/w_jnl.c (__jnl, __ynl): Likewise.
9622 * math/w_lgammal.c (__lgammal): Likewise.
9623 * math/w_log10l.c (__log10l): Likewise.
9624 * math/w_log2l.c (__log2l): Likewise.
9625 * math/w_logl.c (__logl): Likewise.
9626 * math/w_powl.c (__powl): Likewise.
9627 * math/w_remainderl.c (__remainderl): Likewise.
9628 * math/w_scalbl.c (sysv_scalbl): Likewise.
9629 * math/w_sinhl.c (__sinhl): Likewise.
9630 * math/w_sqrtl.c (__sqrtl): Likewise.
9631 * math/w_tgammal.c (__tgammal): Likewise.
9632 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9633 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9634 * math/libm-test.inc (acos_test): Add more tests.
9635 (acosh_test): Likewise.
9636 (asin_test): Likewise.
9637 (atanh_test): Likewise.
9638 (exp_test): Likewise.
9639 (exp10_test): Likewise.
9640 (exp2_test): Likewise.
9641 (expm1_test): Likewise.
9642 (lgamma_test): Likewise.
9643 (log_test): Likewise.
9644 (log10_test): Likewise.
9645 (log1p_test): Likewise.
9646 (log2_test): Likewise.
9647 (pow_test): Do not allow some spurious overflow exceptions.
9648 (sqrt_test): Add more tests.
9649 (tgamma_test): Likewise.
9650 (y0_test): Likewise.
9651 (y1_test): Likewise.
9652 (yn_test): Likewise.
9653
dd62fda6
AB
96542012-03-27 Anton Blanchard <anton@samba.org>
9655
9656 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9657 MAP_HUGETLB.
9658 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9659 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9660 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9661
1e3cdfda
AJ
96622012-03-27 David S. Miller <davem@davemloft.net>
9663
b855ab85
DM
9664 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9665
1e3cdfda
AJ
9666 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9667 have-as-vis3 check.
9668
96692012-03-27 Andreas Jaeger <aj@suse.de>
9670
9671 * sysdeps/x86_64/elf/configure.in: Moved to ...
9672 * sysdeps/x86_64/configure.in: ... here.
9673 * sysdeps/x86_64/elf/start.S: Moved to ...
9674 * sysdeps/x86_64/start.S: ... here.
9675 * sysdeps/x86_64/elf/configure: Delete.
9676
9677 * sysdeps/x86_64/configure.in: Merge contents from
9678 sysdeps/i386/configure.in (without i686 check).
9679
9680 * sysdeps/i386/elf/Versions: Merge into ...
9681 * sysdeps/i386/Versions: ... this.
9682 * sysdeps/i386/elf/Versions: Delete file.
9683 * sysdeps/i386/elf/start.S: Moved to ...
9684 * sysdeps/i386/start.S: ...here.
9685 * sysdeps/i386/elf/configure.in: Merge into...
9686 * sysdeps/i386/configure.in: ...here.
9687 * sysdeps/i386/elf/configure.in: Delete file.
9688 * sysdeps/i386/elf/configure: Delete file.
9689
9690 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9691 * debug/backtracesyms.c: ... here.
9692 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9693 * debug/backtracesymsfd.c: ... here.
9694 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9695 * sysdeps/generic/ifunc-sel.h: ... here.
9696
9697 * sysdeps/unix/i386/start.c: Delete file.
9698 * sysdeps/unix/sparc/start.c: Delete file.
9699 * sysdeps/unix/start.c: Delete file.
9700
9701 * sysdeps/sh/elf/configure.in: Moved to ...
9702 * sysdeps/sh/configure.in: ... here.
9703 * sysdeps/sh/elf/start.S: Moved to ...
9704 * sysdeps/sh/start.S: ... here.
9705 * sysdeps/sh/elf/configure: Delete file.
9706
9707 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9708 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9709 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9710 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9711 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9712 * sysdeps/powerpc/powerpc64/start.S: here.
9713 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9714 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9715 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9716 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9717 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9718
9719 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9720 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9721 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9722 * sysdeps/powerpc/powerpc32/start.S: ... here.
9723 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9724 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9725 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9726
9727 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9728 * sysdeps/powerpc/ifunc-sel.h: ... here.
9729 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9730 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9731
9732 * sysdeps/sparc/elf/configure.in: Moved to ...
9733 * sysdeps/sparc/configure.in: ... here.
9734 * sysdeps/sparc/elf/configure: Delete file.
9735 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9736 * sysdeps/sparc/sparc32/start.S: ... here.
9737 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9738 * sysdeps/sparc/sparc64/start.S: ... here.
9739 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9740 * sysdeps/sparc/sparc32/Makefile: ... this.
9741 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9742 * sysdeps/sparc/sparc64/Makefile: ... this.
9743
9744 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9745 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9746 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9747 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9748 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9749 * sysdeps/s390/s390-32/setjmp.S: ... here.
9750 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9751 * sysdeps/s390/s390-32/configure.in: ... here.
9752 * sysdeps/s390/s390-32/elf/configure: Delete file.
9753 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9754 * sysdeps/s390/s390-32/start.S: ... here.
9755
9756 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9757 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9758 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9759 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9760 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9761 * sysdeps/s390/s390-64/setjmp.S: ... here.
9762 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9763 * sysdeps/s390/s390-64/configure.in: ... here
9764 * sysdeps/s390/s390-64/elf/configure: Delete file.
9765 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9766 * sysdeps/s390/s390-64/start.S: ... here.
9767 * sysdeps/s390/s390-64/elf/configure: Delete.
9768
9769 * configure.in: Remove support for elf directories in sysdeps.
9770
9771 * configure: Regenerated.
9772 * sysdeps/i386/configure: Regenerated.
9773 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9774 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9775 * sysdeps/s390/s390-32/configure: Regenerated.
9776 * sysdeps/s390/s390-64/configure: Regenerated.
9777 * sysdeps/sh/configure: Regenerated.
9778 * sysdeps/sparc/configure: Regenerated.
9779 * sysdeps/x86_64/configure: Regenerated.
9780
a3f61311
AS
97812012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9782
c876e002
AS
9783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9784
a3f61311
AS
9785 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9786 denormal result into account.
9787
ac4c54f0
RM
97882012-03-25 Roland McGrath <roland@hack.frob.com>
9789
9790 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9791 Reported by Allan McRae <allan@archlinux.org>.
9792
6a9b9c02
JL
97932012-03-23 Jeff Law <law@redhat.com>
9794
9795 * nss/getnssent.c (__nss_getent): Fix typo.
9796
4c42a0c1
DM
97972012-03-23 David S. Miller <davem@davemloft.net>
9798
9799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9800
1532c7ac
L
98012012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9802
9803 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9804 to pad to uint64_t for each field.
9805 (dl_tls_index): Replace unsigned long with uint64_t.
9806
3ff42526
PP
98072012-03-23 Daniel Jacobowitz <dmj@google.com>
9808 Paul Pluzhnikov <ppluzhnikov@google.com>
9809
9810 [BZ #6528]
9811 * grp/Makefile (otherlibs): Don't set it.
9812 * inet/Makefile (otherlibs): Likewise.
9813 * login/Makefile (otherlibs): Likewise.
9814 * nscd/Makefile (otherlibs): Likewise.
9815 * posix/Makefile (otherlibs): Likewise.
9816 * pwd/Makefile (otherlibs): Likewise.
9817 * rt/Makefile (otherlibs): Likewise.
9818 * sunrpc/Makefile (otherlibs): Likewise.
9819 * nss/Makefile (otherlibs): Likewise.
9820 Add libnss_files to routines and static-only-routines.
9821 ($(objpfx)getent): Remove rule.
9822 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9823 static-only-routines.
9824
7c69cd14
JM
98252012-03-22 Joseph Myers <joseph@codesourcery.com>
9826
9827 [BZ #13892]
9828 * math/s_cexp.c: Include <float.h>.
9829 (__cexp): Handle exp result overflowing not necessarily
9830 overflowing both real and imaginary parts of result.
9831 * math/s_cexpf.c: Likewise.
9832 * math/s_cexpl.c: Likewise.
9833 * math/libm-test.inc (cexp_test): Add more tests.
9834 * sysdeps/i386/fpu/libm-test-ulps: Update.
9835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9836
81b035fe
L
98372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9838
9839 * include/link.h (ELFW): New macro.
9840 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9841 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9842
1da7940c
L
98432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9844
9845 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9846 with uint64_t.
9847
b749dbb9
L
98482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9849
9850 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9851 declaration.
9852 (struct La_x32_retval): Likewise.
9853
2ff87f3f
L
98542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9855
9856 * sysdeps/x86_64/preconfigure.in: New file.
9857 * sysdeps/x86_64/preconfigure: New generated file.
9858
c0df8e69
JM
98592012-03-22 Joseph Myers <joseph@codesourcery.com>
9860
48e44791
JM
9861 [BZ #13824]
9862 * math/e_exp2l.c: Include <float.h>.
9863 (__ieee754_exp2l): Handle overflow and underflow cases
9864 separately. Only pass fractional part of argument to
9865 __ieee754_expl.
9866 * math/libm-test.inc (exp2_test): Add more tests.
9867
c0df8e69
JM
9868 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9869 negating x to take absolute value.
9870 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9871 Likewise.
9872 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9873 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9874 Likewise.
9875 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9876 computing low part if x was negated.
9877 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9878
c8e43ba7
L
98792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9880
9881 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9882 la_x32_gnu_pltexit.
9883 (pltexit): Cast int_retval to ptrdiff_t.
9884 * elf/tst-auditmod3b.c: Likewise.
9885 * elf/tst-auditmod4b.c: Likewise.
9886 * elf/tst-auditmod5b.c: Likewise.
9887 * elf/tst-auditmod6b.c: Likewise.
9888 * elf/tst-auditmod6c.c: Likewise.
9889 * elf/tst-auditmod7b.c: Likewise.
9890
9891 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9892 and x32_gnu_pltexit.
9893
9894 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9895 __ELF_NATIVE_CLASS.
9896 (La_x32_regs): New macro.
9897 (La_x32_retval): Likewise.
9898 (la_x32_gnu_pltenter): New function prototype.
9899 (la_x32_gnu_pltexit): Likewise.
9900
7998fa78
AS
99012012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9902
dcb33988
AS
9903 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9904 exponent.
9905
233fc563
AS
9906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9907
7998fa78
AS
9908 * configure.in (libc_cv_cc_nofma): Check for option to disable
9909 generation of FMA instructions.
9910 * configure: Regenerate.
9911 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9912 * sysdeps/ieee754/dbl-64/Makefile: New file.
9913 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9914 Remove brandred-fma4.
9915 (CFLAGS-brandred-fma4.c): Remove.
9916 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9917 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9918 define.
9919 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9920 define.
9921
8e95c99a
L
99222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9923
9924 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9925 LLONG_MAX != LONG_MAX.
9926 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9927 (_fitoa_word): Likewise.
9928 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9929 LLONG_MAX != LONG_MAX.
9930 * stdio-common/_itowa.h: Include <_itoa.h>.
9931 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9932 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9933 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9934 only if not defined.
9935 (_ITOA_WORD_TYPE): Likewise.
9936 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9937 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9938
6f4db457
DM
99392012-03-21 David S. Miller <davem@davemloft.net>
9940
9941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9942
7785fe5a
L
99432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9944
9945 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9946 of x86_64 when setting libc_cv_slibdir, libdir and
9947 libc_cv_localedir.
9948 * sysdeps/unix/sysv/linux/configure: Regenerated.
9949
4535cd55
JM
99502012-03-21 Joseph Myers <joseph@codesourcery.com>
9951
9952 * manual/lang.texi (Old Varargs): Remove section.
9953 (How Variadic): Update menu.
9954 (va_start): Do not mention varargs.h.
9955
17228132
TS
99562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9957 Joseph Myers <joseph@codesourcery.com>
9958
9959 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9960 link test.
9961 * configure: Regenerated.
9962
8149f976
TS
99632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9964
05f3d1f6
UD
9965 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9966 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9967 conformtest.pl
8149f976 9968
1a4ac776
JM
99692012-03-21 Joseph Myers <joseph@codesourcery.com>
9970
be22ce65
JM
9971 * NOTES: Remove.
9972 * Makefile (files-for-dist): Remove NOTES.
9973 (NOTES): Remove rule.
9974 * README: Don't refer to NOTES.
9975 * manual/creature.texi: Don't include macros.texi.
9976 * manual/intro.texi (creature.texi): Remove comment referring to
9977 NOTES.
9978
40b601fb
JM
9979 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9980 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9981 * configure: Regenerated.
9982 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9983 LIBC_TRY_CC_OPTION.
9984 (libc_cv_as_i686): Likewise.
9985 (libc_cv_cc_avx): Likewise.
9986 (libc_cv_cc_sse2avx): Likewise.
9987 (libc_cv_cc_fma4): Likewise.
9988 (libc_cv_cc_novzeroupper): Likewise.
9989 * sysdeps/i386/configure: Regenerated.
9990
1a4ac776
JM
9991 [BZ #13883]
9992 * sysdeps/i386/fpu/s_cexp.S: Remove.
9993 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9994 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9995 * math/libm-test.inc (cexp_test): Add more tests.
9996 * sysdeps/i386/fpu/libm-test-ulps: Update.
9997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9998
a458e7fe
AM
99992012-03-21 Allan McRae <allan@archlinux.org>
10000
10001 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10002
0cb7efc5
JM
100032012-03-21 Joseph Myers <joseph@codesourcery.com>
10004
10005 [BZ #13871]
10006 * math/w_exp2.c: Do not include <float.h>.
10007 (o_threshold, u_threshold): Remove.
10008 (__exp2): Calculate result before checking finiteness and calling
10009 __kernel_standard.
10010 * math/w_exp2f.c: Likewise.
10011 * math/w_exp2l.c: Likewise.
10012 * math/libm-test.inc (exp2_test): Require overflow exception for
10013 1e6 input.
2460d3aa
JM
10014
10015 [BZ #3866]
10016 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10017 range of signed 64-bit integers before using fistpll. Remove
10018 checks for whether integers fit in mantissa bits.
10019 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10020 the range of signed 32-bit integers before using fistpl. Remove
10021 checks for whether integers fit in mantissa bits.
10022 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10023 (__ieee754_powl): Test for y outside the range of signed 64-bit
10024 integers before using fistpll. Reduce 64-bit values to 63-bit
10025 ones as needed.
10026 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10027 divide-by-zero is raised for zero to large negative powers.
10028 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10029 (__ieee754_powl): Test for y outside the range of signed 64-bit
10030 integers before using fistpll. Reduce 64-bit values to 63-bit
10031 ones as needed.
10032 * math/libm-test.inc (pow_test): Add more tests.
10033
eb96ffb0
L
100342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10035
10036 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10037 <stdio-common/_itoa.h>.
10038 * debug/segfault.c: Likewise.
10039 * elf/dl-cache.c: Likewise.
10040 * elf/dl-minimal.c: Likewise.
10041 * elf/dl-misc.c: Likewise.
10042 * elf/dl-sysdep.c: Likewise.
10043 * elf/dl-version.c: Likewise.
10044 * elf/rtld.c: Likewise.
10045 * hurd/hurdsock.c: Likewise.
10046 * hurd/lookup-retry.c: Likewise.
10047 * malloc/malloc.c: Likewise.
10048 * malloc/mtrace.c: Likewise.
10049 * nscd/nscd_getgr_r.c: Likewise.
10050 * nscd/nscd_getpw_r.c: Likewise.
10051 * nscd/nscd_getserv_r.c: Likewise.
10052 * posix/getopt_init.c: Likewise.
10053 * posix/wordexp.c: Likewise.
10054 * stdio-common/_itoa.c: Likewise.
10055 * stdio-common/printf_fphex.c: Likewise.
10056 * stdio-common/vfprintf.c: Likewise.
10057 * string/_strerror.c: Likewise.
10058 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10059 * sysdeps/i386/i686/hp-timing.h: Likewise.
10060 * sysdeps/mach/_strerror.c: Likewise.
10061 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10062 * sysdeps/mach/hurd/sethostid.c: Likewise.
10063 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10064 * sysdeps/mach/xpg-strerror.c: Likewise.
10065 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10066 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10067 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10068 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10069 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10070 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10071 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10072 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10073 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10074 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10075 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10076 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10077 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10078 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10079 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10080 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10081 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10082 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10083 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10084 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10085 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10086
10087 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10088
10089 * stdio-common/_itoa.h: Moved to ...
10090 * sysdeps/generic/_itoa.h: Here.
10091
10092 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10093
10094 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10095 instead of "_itoa.h" and "_itowa.h".
10096 * stdio-common/vfprintf.: Likewise.
10097
d1af992d
L
100982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10099
10100 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10101 <bits/wordsize.h>.
10102 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10103 (__signbit): Likwise.
10104 (llrintf): Likwise.
10105 (llrint): Likwise.
10106
114883e0
L
101072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10108
10109 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10110 __WORDSIZE != 64.
10111
c135cc1b
JM
101122012-03-20 Joseph Myers <joseph@codesourcery.com>
10113
10114 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10115 OVERFLOW_EXCEPTION_OK.
10116 * math/libm-test.inc ("Philosophy"): Update comment about
10117 exception testing.
10118 (OVERFLOW_EXCEPTION): Define.
10119 (OVERFLOW_EXCEPTION_OK): Likewise.
10120 (INVALID_EXCEPTION_OK): Renumber.
10121 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10122 (IGNORE_ZERO_INF_SIGN): Likewise.
10123 (test_exceptions): Handle FE_OVERFLOW.
10124 (exp10_test): Expect overflow exceptions.
10125 (exp2_test): Likewise.
10126 (expm1_test): Likewise.
10127 (nextafter_test): Likewise.
10128 (pow_test): Likewise.
10129 (scalbn_test): Likewise.
10130 (scalbln_test): Likewise.
10131
95443d88
L
101322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10133
10134 * sysdeps/x86_64/bits/atomic.h
10135 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10136 64bit integer.
10137 (atomic_exchange_acq): Likewise.
10138 (__arch_exchange_and_add_body): Likewise.
10139 (__arch_add_body): Likewise.
10140 (atomic_add_negative): Likewise.
10141 (atomic_add_zero): Likewise.
10142
490df6c4
L
101432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10144
c2722551 10145 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10146 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10147
5e52b189
L
101482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10149
10150 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10151 Check __x86_64__ instead of __WORDSIZE.
10152
a9879d4c
L
101532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10154
10155 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10156
5df98260
DM
101572012-03-19 David S. Miller <davem@davemloft.net>
10158
e1497744
DM
10159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10160
5df98260
DM
10161 * sysdeps/sparc/fpu/fenv_private.h: New file.
10162 * sysdeps/sparc/fpu/math_private.h: Use it.
10163 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10164 Remove.
10165 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10166 (libc_feholdexcept_setroundl): Remove.
10167 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10168 Remove.
10169 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10170 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10171
b4c35121
L
101722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10173
10174 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10175 int64_t instead of long int.
10176 (INSERT_WORDS64): Likwise.
10177
56965fd7
L
101782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10179
10180 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10181 _Unwind_GetCFA return to _Unwind_Ptr first.
10182
83d1aec8
JM
101832012-03-19 Joseph Myers <joseph@codesourcery.com>
10184
1897ad44
JM
10185 [BZ #13629]
10186 * math/s_clog.c: Include <float.h>.
10187 (__clog): Scale large or subnormal inputs.
10188 * math/s_clogf.c: Likewise.
10189 * math/s_clogl.c: Likewise.
10190 * math/s_clog10.c: Include <float.h>.
10191 (M_LOG10_2): Define.
10192 (__clog10): Scale large or subnormal inputs.
10193 * math/s_clog10f.c: Likewise.
10194 * math/s_clog10l.c: Likewise.
10195 * math/libm-test.inc (clog_test): Add more tests.
10196 (clog10_test): Likewise.
10197 * sysdeps/i386/fpu/libm-test-ulps: Update.
10198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10199
7726d6a9
JM
10200 [BZ #11451]
10201 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10202 x and y.
10203 * math/libm-test.inc (atan2_test): Add another test.
10204
83d1aec8
JM
10205 * Makerules (common-objdir-compile): Remove.
10206 * sysdeps/unix/Makefile (config-generated): Do not add
10207 $(unix-generated) to variable.
10208 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10209 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10210 Remove rule.
10211 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10212 Likewise.
10213 [generic bits/local_lim.h] (before-compile): Do not append to
10214 variable.
10215 [generic bits/local_lim.h] (common-generated): Likewise.
10216 [generic sys/param.h] (before-compile): Do not append to variable.
10217 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10218 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10219 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10220 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10221 include.
10222 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10223 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10224 [generic sys/param.h] ($(addprefix
10225 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10226 [generic sys/param.h] (common-generated): Do not append to
10227 variable.
10228 [generic sys/param.h] (sysdep_headers): Likewise.
10229 [generic bits/errno.h] (before-compile): Do not append to
10230 variable.
10231 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10232 rule.
10233 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10234 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10235 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10236 [generic bits/errno.h] (common-generated): Do not append to
10237 variable.
10238 [generic bits/ioctls.h] (before-compile): Do not append to
10239 variable.
10240 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10241 rule.
10242 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10243 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10244 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10245 rule.
10246 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10247 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10248 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10249 [generic bits/ioctls.h] (common-generated): Do not append to
10250 variable.
10251 [generic sys/syscall.h] (syscall.h): Remove variable.
10252 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10253 rule.
10254 [generic sys/syscall.h] (before-compile): Do not append to
10255 variable.
10256 [generic sys/syscall.h] (common-generated): Likewise.
10257 * sysdeps/unix/errnos-tmpl.c: Remove file.
10258 * sysdeps/unix/errnos.awk: Likewise.
10259 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10260 * sysdeps/unix/ioctls.awk: Likewise.
10261 * sysdeps/unix/mk-local_lim.c: Likewise.
10262 * sysdeps/unix/snarf-ioctls: Likewise.
10263
4851a949
RH
102642012-03-19 Richard Henderson <rth@twiddle.net>
10265
bd37f2ee
RH
10266 * sysdeps/i386/fpu/fenv_private.h: New file.
10267 * sysdeps/i386/fpu/math_private.h: Use it.
10268 (math_opt_barrier, math_force_eval): Remove.
10269 (libc_feholdexcept_setround_53bit): Remove.
10270 (libc_feupdateenv_53bit): Remove.
10271 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10272 (math_opt_barrier, math_force_eval): Remove.
10273 (libc_feholdexcept): Remove.
10274 (libc_feholdexcept_setround): Remove.
10275 (libc_fetestexcept, libc_fesetenv): Remove.
10276 (libc_feupdateenv_test): Remove.
10277 (libc_feupdateenv, libc_feholdsetround): Remove.
10278 (libc_feresetround): Remove.
10279
d0adc922
RH
10280 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10281 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10282
0fe0f1f8
RH
10283 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10284 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10285 (libc_feupdateenv_testl): New.
10286 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10287 (libc_feupdateenv_testf): New.
10288 (libc_feupdateenv): Use libc_feupdateenv_test.
10289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10290 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10291
eb92c487
RH
10292 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10293 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10294 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10295 (libc_feresetround_noex): New.
10296 (libc_feresetround_noexf): New.
10297 (libc_feresetround_noexl): New.
10298 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10299 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10300 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10301 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10302 SET_RESTORE_ROUND.
10303 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10304 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10305 (__cos): Likewise.
10306 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10307 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10308 SET_RESTORE_ROUND_NOEX.
10309 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10310 SET_RESTORE_ROUND_NOEXF.
10311 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10312 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10313 (libc_feholdsetroundf): New.
10314 (libc_feresetround, libc_feresetroundf): New.
10315
7d2e8012
RH
10316 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10317 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10318 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10319
b4dabbb4
RH
10320 * sysdeps/generic/math_private.h: Include <fenv.h>.
10321 (default_libc_feholdexcept): New.
10322 (default_libc_feholdexcept_setround): New.
10323 (default_libc_fesetenv, default_libc_feupdateenv): New.
10324 (libc_feholdexcept): Only define if undefined.
10325 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10326 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10327 (libc_feholdexcept_setroundl): Likewise.
10328 (libc_feholdexcept_setround_53bit): Likewise.
10329 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10330 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10331 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10332 (libc_feupdateenv_53bit): Likewise.
10333 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10334 (libc_feholdexcept): Convert from macro to inline function.
10335 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10336 (libc_fesetenv, libc_feupdateenv): Likewise.
10337
4851a949
RH
10338 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10339 not previously defined.
10340 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10341 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10342 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10343 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10344 * sysdeps/ieee754/flt-32/math_private.h: New file.
10345 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10346 math_private.h below SET_FLOAT_WORD.
10347 (__isnan, __isinf_ns, __finite): Remove.
10348 (__isnanf, __isinf_nsf, __finitef): Remove.
10349
e79d442e
AS
103502012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10351
10352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10353
90b80344
DM
103542012-03-17 David S. Miller <davem@davemloft.net>
10355
10356 [BZ #6471]
10357 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10358 for 2.16.
10359
edc21804
DM
103602012-03-16 David S. Miller <davem@davemloft.net>
10361
77e927af
DM
10362 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10363 warnings.
10364
374976dd
DM
10365 [BZ #6471]
10366 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10367 properly.
10368 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10369 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10370 sysdep_routines when subdir is sysvipc.
10371 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10372 __getshmlba helper.
10373
edc21804
DM
10374 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10375
473c3ef3
L
103762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10377
10378 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10379 [__LP64__].
10380
eb0f39b6
L
103812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10382
10383 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10384 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10385 (__lround): Renamed to ...
10386 (__llround): This. Replace long int with long long int.
10387 Define lround functions as aliases of llround functions.
10388 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10389
6b6cd74b
L
103902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10391
10392 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10393 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10394 adresses to uintptr_t. Replace "long int" and "unsigned long
10395 int" with "greg_t" on va_arg.
10396
f1a77b01
L
103972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10398
10399 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10400 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10401
10402 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10403 Move e_machine check before EI_CLASS check. Handle x32
10404 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10405 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10406 SKIP_EM_IA_64 and include
10407 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10408
10409 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10410 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10411 (add_system_dir): New macro.
10412
10413 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10414 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10415
11b90b9f
JM
104162012-03-16 Joseph Myers <joseph@codesourcery.com>
10417
c36e1d23
JM
10418 [BZ #2551]
10419 [BZ #2552]
10420 [BZ #2553]
10421 [BZ #2554]
10422 [BZ #2562]
10423 [BZ #2563]
10424 [BZ #2565]
10425 [BZ #2566]
10426 [BZ #2576]
10427 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10428 (y0): Likewise.
10429 * math/w_j0f.c (j0f): Likewise.
10430 (y0f): Likewise.
10431 * math/w_j0l.c (__j0l): Likewise.
10432 (__y0l): Likewise.
10433 * math/w_j1.c (j1): Likewise.
10434 (y1): Likewise.
10435 * math/w_j1f.c (j1f): Likewise.
10436 (y1f): Likewise.
10437 * math/w_j1l.c (__j1l): Likewise.
10438 (__y1l): Likewise.
10439 * math/w_jn.c (jn): Likewise.
10440 (yn): Likewise.
10441 * math/w_jnf.c (jnf): Likewise.
10442 (ynf): Likewise.
10443 * math/w_jnl.c (__jnl): Likewise.
10444 (__ynl): Likewise.
10445 * math/libm-test.inc (j0_test): Add more tests.
10446 (j1_test): Likewise.
10447 (jn_test): Likewise. Add trailing semicolon to existing test.
10448 (y0_test): Likewise.
10449 (y1_test): Likewise.
10450 * sysdeps/i386/fpu/libm-test-ulps: Update.
10451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10452
11b90b9f
JM
10453 [BZ #13851]
10454 [BZ #13854]
10455 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10456 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10457 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10458 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10459 (__tanl): Set errno for infinite argument.
10460 * sysdeps/i386/fpu/mptan.c: Remove.
10461 * sysdeps/i386/fpu/s_tan.S: Likewise.
10462 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10463 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10464 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10465 * math/libm-test.inc (tan_test): Add more tests and enable more
10466 tests for double and long double.
10467 * sysdeps/i386/fpu/libm-test-ulps: Update.
10468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10469
6a1bd2a1
JK
104702012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10471
10472 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10473 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10474
10a803e0
RM
104752012-03-16 Roland McGrath <roland@hack.frob.com>
10476
10477 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10478 * configure.in: Use it for both main tree and add-ons.
10479 * configure: Regenerated.
10480
f196c7f7
L
104812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10482
10483 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10484
8848d99d
JM
104852012-03-16 Joseph Myers <joseph@codesourcery.com>
10486
96cbe7f4
JM
10487 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10488 in comment.
10489
8848d99d
JM
10490 [BZ #13851]
10491 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10492 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10493 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10494 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10495 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10496 infinite argument.
10497 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10498 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10499 != 0 for prec == 2.
10500 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10501 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10502 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10503 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10504 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10505 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10506 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10507 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10508 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10509 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10510 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10511 * math/libm-test.inc (cos_test): Add more tests and enable more
10512 tests for long double.
10513 (sin_test): Likewise.
10514 (sincos_test): Likewise.
10515 * sysdeps/i386/fpu/libm-test-ulps: Update.
10516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10517
dd7f4703
DM
105182012-03-16 David S. Miller <davem@davemloft.net>
10519
10520 * sysdeps/sparc/fpu/math_private.h: New file.
10521
006f1daa
DM
105222012-03-15 David S. Miller <davem@davemloft.net>
10523
c0c83bc8
DM
10524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10525 file.
e6a62e18 10526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10528 file.
e6a62e18
DM
10529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10534 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10535 sysdep routines.
10536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10537
88cb87d9
DM
10538 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10539 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10540
006f1daa 10541 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10543 sparc-ifunc.h
006f1daa 10544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10546 Likewise.
10547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10548 Likewise.
006f1daa
DM
10549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10553 Likewise.
006f1daa
DM
10554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10559 Likewise.
10560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10561 Likewise.
006f1daa
DM
10562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10569 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10580 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10582 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10583 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10584 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10585 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10586
11e0098e
AS
105872012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10588
10589 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10590 scaling.
10591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10592
e85b09d0
AJ
105932012-03-15 Andreas Jaeger <aj@suse.de>
10594
10595 [BZ #13852]
10596 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10597 ieee754/flt-32 implementation for sin, cos and sincos.
10598 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10599 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10600 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10601 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10602 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10603 ieee754/flt-32 implementation for tan.
10604
10605 * math/libm-test.inc (cos_test): Enable some large input tests for
10606 float as well
10607 (sin_test): Likewise.
10608 (sincos_test): Likewise.
10609 (tan_test): Add tests for large input.
10610
10611 * sysdeps/i386/fpu/libm-test-ulps: Update.
10612
81c64153
AJ
106132012-03-15 Andreas Jaeger <aj@suse.de>
10614
10615 [BZ #13658]
10616 * math/libm-test.inc (cos_test): Add more test cases.
10617 (sin_test): Likewise.
10618 (sincos_test): Likewise.
10619
7bbfa5c6
AJ
106202012-03-15 Andreas Jaeger <aj@suse.de>
10621
10622 [BZ #13837]
10623 * math/libm-test.inc (cos_test): Add a test case for large input
10624 value.
10625 (sin_test): Likewise.
10626 (sincos_test): Likewise.
10627
106282012-03-15 Andreas Jaeger <aj@suse.de>,
10629 Joseph Myers <joseph@codesourcery.com>
10630
10631 [BZ #13658]
0671f479 10632 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10633 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10634 * sysdeps/i386/fpu/branred.c: Likewise.
10635 * sysdeps/i386/fpu/dosincos.c: Likewise.
10636 * sysdeps/i386/fpu/mpa.c: Likewise.
10637 * sysdeps/i386/fpu/s_cos.S: Likewise.
10638 * sysdeps/i386/fpu/s_sin.S: Likewise.
10639 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10640 * sysdeps/i386/fpu/sincos32.c: Likewise.
10641
10642 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10643 Define.
10644 (libc_feupdateenv_53bit): Define.
10645 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10646 Define.
10647 (libc_feupdateenv_53bit): Define.
10648
10649 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10650 53 bit (without extend i386 double precision).
10651
10652 * math/libm-test.inc (sincos_test): Add tests for large input.
10653 (sin): Likewise.
10654 (cos): Likewise.
10655
10656 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10657
9cad04ea
AS
106582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10659
10660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10661
f7062b9a
DM
106622012-03-15 David S. Miller <davem@davemloft.net>
10663
10664 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10665 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10666 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10667 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10680 file.
f7062b9a 10681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10683 file.
f7062b9a 10684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10686 file.
f7062b9a 10687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10689 file.
f7062b9a
DM
10690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10692 fmin/fmax sysdep routines.
10693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10694
7bd951ff
DM
106952012-03-14 David S. Miller <davem@davemloft.net>
10696
559398ab
DM
10697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10701 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10702 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10720 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10725 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10726 routines.
10727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10728 file.
559398ab 10729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10731 file.
559398ab 10732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10734 file.
559398ab 10735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10737 file.
559398ab 10738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10740 file.
559398ab 10741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10743 file.
10744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10745 file.
10746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10747 file.
10748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10749 file.
10750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10751 New file.
10752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10753 file.
10754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10755 file.
559398ab 10756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10758 file.
559398ab 10759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10761 file.
559398ab 10762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10764 file.
559398ab 10765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10767 VIS3 routines.
559398ab
DM
10768
10769 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10770 New file.
10771
5a1c1e32
DM
10772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10773
eae47a36
DM
10774 * sysdeps/sparc/configure.in: New file.
10775 * sysdeps/sparc/configure: Generate.
10776 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10777 * configure: Regenerate.
10778 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10779 * config.make.in (have-as-vis3): New.
10780 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10781 available use -Av9d instead of -Av9a.
10782 * sysdeps/sparc/sparc64/Makefile: Likewise.
10783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10785 New file.
10786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10787 file.
10788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10789 New file.
10790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10791 file.
eae47a36
DM
10792 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10794 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10795 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10796 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10797
c0c83bc8
DM
10798 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10799 fzeros/fnegs to load 0x80000000 into a float register instead of
10800 using the stack.
7bd951ff
DM
10801 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10802
bd951ccb
JM
108032012-03-14 Joseph Myers <joseph@codesourcery.com>
10804
10805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10806 bits/syscall.h.
10807 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10808 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10809 ($(inst_includedir)/bits/syscall.h): Remove rule.
10810 ($(objpfx)bits/syscall.d): Include instead of
10811 $(objpfx)syscall-list.d.
10812 (generated): Change syscall-list.h and syscall-list.d to
10813 bits/syscall.h and bits/syscall.d.
10814
bb4e6db2
RM
108152012-03-14 Roland McGrath <roland@hack.frob.com>
10816
10817 [BZ #13846]
10818 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10819
aa4a2ae1
JM
108202012-03-14 Joseph Myers <joseph@codesourcery.com>
10821
e456826d
JM
10822 [BZ #13841]
10823 * math/s_csqrt.c: Include <float.h>.
10824 (__csqrt): Scale large or subnormal inputs.
10825 * math/s_csqrtf.c: Likewise.
10826 * math/s_csqrtl.c: Likewise.
10827 * math/libm-test.inc (csqrt_test): Add more tests.
10828 * sysdeps/i386/fpu/libm-test-ulps: Update.
10829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10830
aa4a2ae1
JM
10831 [BZ #13840]
10832 * math/libm-test.inc (hypot_test): Add more tests.
10833
7c10fd35
DM
108342012-03-13 David S. Miller <davem@davemloft.net>
10835
10836 [BZ #13840]
10837 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10838 double-precision for the calculation instead of scaling.
10839
f453b98b
JM
108402012-03-13 Joseph Myers <joseph@codesourcery.com>
10841
10842 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10843 manipulate bits before adding and subtracting TWO52[sx].
10844 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10845 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10846 Likewise.
10847 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10848
09a3453f
DM
108492012-03-13 David S. Miller <davem@davemloft.net>
10850
8e59da90
DM
10851 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10852 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10853 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10854 rtld-global-offsets.h
10855 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10856
2a8ab7f2
DM
10857 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10858 large parameters.
10859
10f62770
DM
10860 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10861
5f0bdb18
DM
10862 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10863 'err' in the ifdef scope in which it is actually used.
10864
09a3453f
DM
10865 * nss/nss_db/db-init.c: Include string.h
10866
b4b2eb5e
DM
108672012-03-12 David S. Miller <davem@davemloft.net>
10868
98bb2f1c
DM
10869 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10870 masking out of the most significant byte of random value used.
10871 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10872 Fix coding style in previous change.
10873
b4b2eb5e
DM
10874 * sysdeps/unix/sysv/linux/kernel-features.h
10875 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10876 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10877 expression.
10878 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10879 later.
10880
6e226b09
DM
108812012-03-11 David S. Miller <davem@davemloft.net>
10882
a1bcbd40
DM
10883 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10884 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10885 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10886 for 'resultvar' otherwise things get truncated on 64-bit.
10887
cb9d6174
DM
10888 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10889 Fix masking out of the most significant byte of random value used.
10890
6e226b09
DM
10891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10892
058c132d
AS
108932012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10894
10895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10896
2d2cd515
DM
108972012-03-09 David S. Miller <davem@davemloft.net>
10898
10899 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10900 variables with appropriate CPP guards.
10901 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10902 frame pointer, not the stack pointer. Correct layout comments. Fix test
10903 on resulting framesize and the management of the outregs buffer for pltexit.
10904 Preserve floating point return values across _dl_call_pltexit call.
10905 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10906 framesize and the management of the outregs buffer for pltexit.
10907 Preserve floating point return values across _dl_call_pltexit
10908 call.
10909 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10910 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10911 (print_exit): Fix format string for return register value.
10912
9a07f9d0
JM
109132012-03-10 Joseph Myers <joseph@codesourcery.com>
10914
10915 * sunrpc/Makefile (others): Add rpcgen.
10916 ($(objpfx)rpcgen): Remove special build rule and dependency on
10917 libc.
10918 * sunrpc/rpcgen.c: New file.
10919
547b5e30
PE
109202012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10921
c524201a
PE
10922 [BZ #13673]
10923 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10924 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10925 * sysdeps/i386/crti.S: Likewise.
10926 * sysdeps/i386/crtn.S: Likewise.
10927 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10928 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10929 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10930 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10931 * sysdeps/sh/crti.S: Likewise.
10932 * sysdeps/sh/crtn.S: Likewise.
10933 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10934
7b6235f2
PE
10935 [BZ #13673]
10936 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10937 with URL.
10938 * locale/programs/locfile-kw.gperf: Likewise.
10939 * locale/programs/charmap-kw.h: Regenerated.
10940 * locale/programs/locfile-kw.h: Likewise.
10941
547b5e30
PE
10942 [BZ #13673]
10943 * intl/plural.y: Replace FSF snail mail address with URL.
10944 * intl/plural.c: Regenerated.
10945
5f0a5dae
RH
109462012-03-09 Richard Henderson <rth@twiddle.net>
10947
10948 * include/math_private.h: Remove file.
10949 * math/math_private.h: Move file ...
10950 * sysdeps/generic/math_private.h: ... here.
10951
b8c03620
RH
10952 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10953 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10954 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10955
4e234f5d 10956 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10957 and <math_private.h>.
10958 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10959 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10960 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10961 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10962 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10964 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10965 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10966 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10967 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10969 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10970 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10971 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10972 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10973 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10975 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10976 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10977 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10978 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10980 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10982 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10983 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10984 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10985 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10986 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10987 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10988 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10990 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10991 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10992 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10993 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10994 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10995 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10996 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10997 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10998 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11000 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11002 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11003 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11004 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11005 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11006 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11007 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11008 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11009 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11010 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11011 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11012 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11013 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11014 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11015 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11016 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11017 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11018 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11019 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11020 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11021 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11022 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11023 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11024 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11025 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11026 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11028 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11032 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11033 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11034 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11035 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11036 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11037 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11038 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11039 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11040 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11041 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11042 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11044 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11045 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11046 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11047 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11048 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11049 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11050 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11051 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11052 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11053 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11054 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11055 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11056 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11057 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11058 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11059 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11060 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11061 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11062 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11063 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11064 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11065 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11066 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11067 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11068 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11069 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11070 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11071 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11072 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11073 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11074 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11075 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11076 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11077 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11078 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11079 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11080 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11081 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11082 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11083 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11084 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11085 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11086 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11087 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11088 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11089 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11090 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11091 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11092 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11093 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11094 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11095 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11096 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11097 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11098 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11099 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11100 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11101 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11102 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11103 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11104 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11105 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11106 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11107 * sysdeps/ieee754/k_standard.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11175 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11181 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11182 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11185 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11187 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11197 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11201 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11211 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11212 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11213 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11214 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11216 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11221 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11223 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11226 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11227 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11228 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11229 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11230 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11234 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11235 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11236 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11237 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11240 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11242 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11256 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11257 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11258 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11262 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11268 * sysdeps/ieee754/s_lib_version.c: Likewise.
11269 * sysdeps/ieee754/s_matherr.c: Likewise.
11270 * sysdeps/ieee754/s_signgam.c: Likewise.
11271 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11272 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11273 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11274 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11275 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11276 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11277 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11278 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11279 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11280 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11281 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11282 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11283 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11284 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11285 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11286 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11287 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11288 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11289 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11291 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11292
1991fa03
JM
112932012-03-09 Joseph Myers <joseph@codesourcery.com>
11294
11295 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11296 * sunrpc/rpc_main.c: Likewise.
11297 * sunrpc/rpc_svcout.c: Likewise.
11298
60d6f5a6
DM
112992012-03-09 David S. Miller <davem@davemloft.net>
11300
11301 * include/math_private.h: New file.
11302
4962050e
JM
113032012-03-09 Joseph Myers <joseph@codesourcery.com>
11304
02a6f887
JM
11305 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11306 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11307 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11308 from <bits/socket_type.h>.
11309 (enum __socket_type): Don't define here.
11310 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11312 bits/socket_type.h.
11313
c6e013c1
JM
11314 [BZ #13566]
11315 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11316 checking __USE_GNU.
11317
4962050e
JM
11318 * Makerules ($(inst_includedir)/%.h): New rule.
11319 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11320 (install-others): Remove variable setting.
11321 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11322
38842f45
RH
113232012-03-08 Richard Henderson <rth@twiddle.net>
11324
67bb6da6
RH
11325 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11326 from macro to inline function; merge with the
11327 !__LIBC_INTERNAL_MATH_INLINES version.
11328 (__ieee754_sqrtf): Likewise.
11329
15194b4b
RH
11330 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11331 to inline function.
11332 (__rintf, __floor, __floorf): Likewise.
11333
64e21ede
RH
11334 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11335 macro to inline function.
11336 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11337
38842f45
RH
11338 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11339 not <math/math_private.h>.
11340
c64bf5fe
DM
113412012-03-08 David S. Miller <davem@davemloft.net>
11342
11343 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11344 copyright year.
11345 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11346
82d86f28
TS
113472012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11348
11349 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11350 normalization.
11351 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11352 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11353
aea5d727
UD
113542012-03-08 Ulrich Drepper <drepper@gmail.com>
11355
11356 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11357 be defined individually, they must be defined as a block. Define
11358 S for printing a string instead of hidint the different by using a
11359 macro for adding the 'l'.
11360 * stdio-common/tst-fphex-wide.c: Adjust.
11361
70bca0a3
MP
113622012-03-07 Marek Polacek <polacek@redhat.com>
11363
11364 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11365
65b81130
MP
113662012-03-08 Marek Polacek <polacek@redhat.com>
11367
11368 [BZ #13806]
11369 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11370 * stdio-common/tst-fphex.c: Define a few macros to make the
11371 test reusable. Use them.
11372 * stdio-common/tst-fphex-wide.c: New file.
11373
07037eeb
JM
113742012-03-08 Joseph Myers <joseph@codesourcery.com>
11375
a7a93d50
JM
11376 [BZ #6911]
11377 * manual/macros.texi (gnusystems): New macro.
11378 (nongnusystems): Likewise.
11379 (gnulinuxhurdsystems): Likewise.
11380 (gnuhurdsystems): Likewise..
11381 (gnulinuxsystems): Likewise.
11382 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11383 variants of the GNU system, not "GNU system".
11384 * manual/conf.texi: Likewise.
11385 * manual/errno.texi: Likewise. Update example of errno macro
11386 expansion.
11387 * manual/filesys.texi: Likewise.
11388 (getumask): Document as specific to GNU/Hurd.
11389 * manual/install.texi: Likewise. Reword some references to
11390 GNU/Linux.
11391 * manual/intro.texi: Likewise.
11392 * manual/io.texi: Likewise.
11393 (File Name Portability): Detail which constraints are inapplicable
11394 to all GNU systems and which are only inapplicable to GNU/Hurd.
11395 * manual/job.texi: Likewise.
11396 * manual/llio.texi: Likewise.
11397 (O_NOCTTY): Document as present on GNU/Linux.
11398 * manual/maint.texi: Likewise.
11399 * manual/memory.texi: Likewise.
11400 * manual/pattern.texi: Likewise.
11401 * manual/pipe.texi: Likewise.
11402 * manual/process.texi: Likewise.
11403 * manual/resource.texi: Likewise.
11404 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11405 child on GNU/Hurd.
11406 * manual/setjmp.texi: Likewise.
11407 * manual/signal.texi: Likewise.
11408 * manual/startup.texi: Likewise.
11409 * manual/stdio.texi: Likewise.
11410 * manual/terminal.texi: Likewise.
11411 (ONLCR): Document as POSIX.
11412 (OXTABS): Document availability on GNU/Linux as XTABS.
11413 (ONOEOT): Document availability separately from other bits.
11414 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11415 * manual/time.texi: Likewise.
11416 * manual/users.texi: Likewise.
11417 * INSTALL: Regenerated.
11418 * sysdeps/gnu/errlist.c: Regenerated.
11419
07037eeb
JM
11420 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11421 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11422 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11423 puts.
11424 * configure: Regenerated.
11425
d1d3431a
JM
114262012-03-07 Joseph Myers <joseph@codesourcery.com>
11427
af6a1e37
JM
11428 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11429 default includes instead of AC_HEADER_CHECK.
11430 * sysdeps/i386/configure: Regenerated.
11431
d1d3431a
JM
11432 [BZ #10716]
11433 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11434 * math/s_cacoshf.c (__cacoshf): Likewise.
11435 * math/s_cacoshl.c (__cacoshl): Likewise.
11436 * math/s_casinh.c (__casinh): Set signs of result from argument.
11437 * math/s_casinhf.c (__casinhf): Likewise.
11438 * math/s_casinhl.c (__casinhl): Likewise.
11439 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11440 (casinh_test): Add more tests.
11441 * sysdeps/i386/fpu/libm-test-ulps: Update.
11442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11443
482ff4da
UD
114442012-03-07 Ulrich Drepper <drepper@gmail.com>
11445
872fda05
UD
11446 * po/zh_TW.po: Update from translation team.
11447
a4300c7a
UD
11448 * login/Makefile (distribute): Remove variable.
11449 * catgets/Makefile: Likewise.
11450 * mach/Makefile: Likewise.
11451 * malloc/Makefile: Likewise.
11452 * misc/Makefile: Likewise.
11453 * iconv/Makefile: Likewise.
11454 * nscd/Makefile: Likewise.
11455 * hurd/Makefile: Likewise.
11456 * manual/Makefile: Likewise.
11457 * locale/Makefile: Likewise.
11458 * intl/Makefile: Likewise.
11459 * conform/Makefile: Likewise.
11460 * nss/Makefile: Likewise.
11461 * time/Makefile: Likewise.
11462 * soft-fp/Makefile: Likewise.
11463 * dirent/Makefile: Likewise.
11464 * gmon/Makefile: Likewise.
11465 * po/Makefile: Likewise.
11466 * rt/Makefile: Likewise.
11467 * socket/Makefile: Likewise.
11468 * math/Makefile: Likewise.
11469 * signal/Makefile: Likewise.
11470 * debug/Makefile: Likewise.
11471 * elf/Makefile: Likewise.
11472 * timezone/Makefile: Likewise.
11473 * stdlib/Makefile: Likewise.
11474 * iconvdata/Makefile: Likewise.
11475 * sunrpc/Makefile: Likewise.
11476 * io/Makefile: Likewise.
11477 * argp/Makefile: Likewise.
11478 * inet/Makefile: Likewise.
11479 * hesiod/Makefile: Likewise.
11480 * grp/Makefile: Likewise.
11481 * csu/Makefile: Likewise.
11482 * wctype/Makefile: Likewise.
11483 * crypt/Makefile: Likewise.
11484 * libio/Makefile: Likewise.
11485 * string/Makefile: Likewise.
11486 * nis/Makefile: Likewise.
11487 * resolv/Makefile: Likewise.
11488 * stdio-common/Makefile: Likewise.
11489 * wcsmbs/Makefile: Likewise.
11490 * dlfcn/Makefile: Likewise.
11491 * posix/Makefile: Likewise.
11492
3b7c4e74 11493 [BZ #6959]
482ff4da
UD
11494 * timezone/Makefile: Don't install timezone files, just the programs
11495 and scripts.
11496
f72ed77d
UD
114972012-03-06 Ulrich Drepper <drepper@gmail.com>
11498
a000466f
UD
11499 * nss/databases.def: Add missing gshadow entry.
11500
f72ed77d
UD
11501 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11502
a53b7a4e
MP
115032012-03-06 Marek Polacek <polacek@redhat.com>
11504
11505 [BZ #13726]
11506 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11507 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11508 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11509 * stdio-common/tst-long-dbl-fphex.c: New file.
11510
e9258400
DM
115112012-03-06 David S. Miller <davem@davemloft.net>
11512
11513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11514 (set_obp_int): New function.
11515 (get_obp_int): New function.
11516 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11517 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11518 Avoid unused variable warnings on 'val' and use builtin_expect.
11519 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11520 __builtin_expect.
e9258400
DM
11521 (INLINE_CLONE_SYSCALL): Likewise.
11522
3bd2c723
DM
115232012-03-05 David S. Miller <davem@davemloft.net>
11524
11525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11526
bbb78d03
AS
115272012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11528
884c5db4
AS
11529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11530
bbb78d03
AS
11531 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11532 only for |x| >= 40.
11533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11534
1c9f702a 115352012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11536
11537 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11538 Replace gettimeofday with __vdso_gettimeofday.
11539
7be16f82
RM
11540 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11541 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11542 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11543
11544 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11545 time with __vdso_time.
11546
ed58a00f
JM
115472012-03-05 Joseph Myers <joseph@codesourcery.com>
11548
11549 * manual/lang.texi (size_t): Note types to which size_t may be
11550 equivalent with the GNU C Library, but do not describe when
11551 differences between them are significant.
11552
30ee4ced
AJ
115532012-03-05 Andreas Jaeger <aj@suse.de>
11554
11555 * sysdeps/i386/fpu/libm-test-ulps: Update.
11556
b7cd39e8
JM
115572012-03-05 Joseph Myers <joseph@codesourcery.com>
11558
11559 [BZ #3976]
11560 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11561 (__ieee754_pow): Save and restore rounding mode and use
11562 round-to-nearest for main computations.
11563 * math/libm-test.inc (pow_test_tonearest): New function.
11564 (pow_test_towardzero): Likewise.
11565 (pow_test_downward): Likewise.
11566 (pow_test_upward): Likewise.
11567 (main): Call the new functions.
11568 * sysdeps/i386/fpu/libm-test-ulps: Update.
11569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11570
11571 [BZ #3976]
11572 * math/libm-test.inc (cosh_test_tonearest): New function.
11573 (cosh_test_towardzero): Likewise.
11574 (cosh_test_downward): Likewise.
11575 (cosh_test_upward): Likewise.
11576 (sinh_test_tonearest): Likewise.
11577 (sinh_test_towardzero): Likewise.
11578 (sinh_test_downward): Likewise.
11579 (sinh_test_upward): Likewise.
11580 (main): Call the new functions.
11581 * sysdeps/i386/fpu/libm-test-ulps: Update.
11582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11583
6c6a98c9
TV
115842012-03-05 Tom de Vries <tom@codesourcery.com>
11585
11586 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11587 default stack guard is set in last bytes.
11588 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11589
21bb2d2e 115902012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11591
21bb2d2e 11592 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11593
21bb2d2e
AJ
11594 [BZ #13656]
11595 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11596 possibly allocate from heap instead of stack.
11597 * stdio-common/bug-vfprintf-nargs.c: New file.
11598 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11599
c6922934
AS
116002012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11601
11602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11603
bc957d53
MP
116042012-03-03 Marek Polacek <polacek@redhat.com>
11605
11606 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11607 * math/math_private.h: Likewise.
11608 * stdlib/tst-strtod.c: Likewise.
11609 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11610 * sysdeps/x86_64/bits/atomic.h: Likewise.
11611
6358490d
DM
116122012-03-02 David S. Miller <davem@davemloft.net>
11613
11614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11618 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11619 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11620 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11621 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11622
01ae168d
RM
116232012-03-02 Roland McGrath <roland@hack.frob.com>
11624
d9a17c07
RM
11625 [BZ #13792]
11626 * manual/examples/README: New file, says the example source files
11627 can be used under GPL>=2.
11628 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11629 line containing just "*/".
11630 * manual/examples/add.c: Add copyright header (GPL>=2).
11631 * manual/examples/argp-ex1.c: Likewise.
11632 * manual/examples/argp-ex2.c: Likewise.
11633 * manual/examples/argp-ex3.c: Likewise.
11634 * manual/examples/argp-ex4.c: Likewise.
11635 * manual/examples/atexit.c: Likewise.
11636 * manual/examples/db.c: Likewise.
11637 * manual/examples/dir.c: Likewise.
11638 * manual/examples/dir2.c: Likewise.
11639 * manual/examples/execinfo.c: Likewise.
11640 * manual/examples/filecli.c: Likewise.
11641 * manual/examples/filesrv.c: Likewise.
11642 * manual/examples/fmtmsgexpl.c: Likewise.
11643 * manual/examples/genpass.c: Likewise.
11644 * manual/examples/inetcli.c: Likewise.
11645 * manual/examples/inetsrv.c: Likewise.
11646 * manual/examples/isockad.c: Likewise.
11647 * manual/examples/longopt.c: Likewise.
11648 * manual/examples/memopen.c: Likewise.
11649 * manual/examples/memstrm.c: Likewise.
11650 * manual/examples/mkfsock.c: Likewise.
11651 * manual/examples/mkisock.c: Likewise.
11652 * manual/examples/mygetpass.c: Likewise.
11653 * manual/examples/pipe.c: Likewise.
11654 * manual/examples/popen.c: Likewise.
11655 * manual/examples/rprintf.c: Likewise.
11656 * manual/examples/search.c: Likewise.
11657 * manual/examples/select.c: Likewise.
11658 * manual/examples/setjmp.c: Likewise.
11659 * manual/examples/sigh1.c: Likewise.
11660 * manual/examples/sigusr.c: Likewise.
11661 * manual/examples/stpcpy.c: Likewise.
11662 * manual/examples/strdupa.c: Likewise.
11663 * manual/examples/strftim.c: Likewise.
11664 * manual/examples/strncat.c: Likewise.
11665 * manual/examples/subopt.c: Likewise.
11666 * manual/examples/swapcontext.c: Likewise.
11667 * manual/examples/termios.c: Likewise.
11668 * manual/examples/testopt.c: Likewise.
11669 * manual/examples/testpass.c: Likewise.
11670 * manual/examples/timeval_subtract.c: Likewise.
11671
01ae168d
RM
11672 [BZ #13792]
11673 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11674 function to ...
11675 * manual/timeval_subtract.c.texi: ... here, new file.
11676
49efa33d
DM
116772012-03-02 David S. Miller <davem@davemloft.net>
11678
11679 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11680
28afd92d
JM
116812012-03-02 Joseph Myers <joseph@codesourcery.com>
11682
804360ed
JM
11683 [BZ #3976]
11684 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11685 (__sin): Save and restore rounding mode and use round-to-nearest
11686 for all computations.
11687 (__cos): Save and restore rounding mode and use round-to-nearest
11688 for all computations.
11689 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11690 <fenv.h>.
11691 (tan): Save and restore rounding mode and use round-to-nearest for
11692 all computations.
11693 * math/libm-test.inc (cos_test_tonearest): New function.
11694 (cos_test_towardzero): Likewise.
11695 (cos_test_downward): Likewise.
11696 (cos_test_upward): Likewise.
11697 (sin_test_tonearest): Likewise.
11698 (sin_test_towardzero): Likewise.
11699 (sin_test_downward): Likewise.
11700 (sin_test_upward): Likewise.
11701 (tan_test_tonearest): Likewise.
11702 (tan_test_towardzero): Likewise.
11703 (tan_test_downward): Likewise.
11704 (tan_test_upward): Likewise.
11705 (main): Call the new functions.
11706 * sysdeps/i386/fpu/libm-test-ulps: Update.
11707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11708
a6d06d7b
JM
11709 [BZ #10135]
11710 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11711 small n, then large n, before computing and testing k+n.
11712 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11714 Likewise.
11715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11716 Likewise.
11717 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11718 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11719 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11720 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11721 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11722 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11723 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11724 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11725 * math/libm-test.inc (scalbn_test): Add more tests.
11726 (scalbln_test): Likewise.
11727
07e12bb3
JM
11728 * manual/filesys.texi (mode_t): Describe constraints on size and
11729 signedness, not exact equivalence to a particular type.
11730 (ino_t): Likewise.
11731 (ino64_t): Likewise.
11732 (dev_t): Likewise.
11733 (nlink_t): Likewise.
11734 (blkcnt_t): Likewise.
11735 (blkcnt64_t): Likewise.
11736 * manual/llio.texi (off_t): Likewise.
11737
28afd92d
JM
11738 [BZ #3976]
11739 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11740 (__ieee754_exp): Save and restore rounding mode and use
11741 round-to-nearest for all computations.
11742 * math/libm-test.inc (exp_test_tonearest): New function.
11743 (exp_test_towardzero): Likewise.
11744 (exp_test_downward): Likewise.
11745 (exp_test_upward): Likewise.
11746 (main): Call the new functions.
11747 * sysdeps/i386/fpu/libm-test-ulps: Update.
11748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11749
b1eeb65d
CD
117502012-03-01 Chris Demetriou <cgd@google.com>
11751
11752 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11753 have predictable order.
11754
53362a4b
DM
117552012-03-01 David S. Miller <davem@davemloft.net>
11756
3c969083
DM
11757 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11758
759707de
DM
11759 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11760 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11761 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11762 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11763
dfdb8ff2
DM
11764 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11765 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11766 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11768 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11769 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11770 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11771 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11772 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11773
ead89f96
DM
11774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11775
7f66bd07
DM
11776 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11777 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11778 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11779
53362a4b
DM
11780 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11781 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11782 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11783 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11784 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11785 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11786 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11787 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11788 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11789 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11790 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11791 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11792 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11793 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11794 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11796 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11797 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11798 * sysdeps/sparc/elf/configure: Regenerated.
11799
7b1902cb
JM
118002012-03-01 Joseph Myers <joseph@codesourcery.com>
11801
bec039bc
JM
11802 * configure.in (AS, LD): Require binutils 2.20 or later.
11803 * configure: Regenerated.
11804 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11805 as required minimum version.
11806 * INSTALL: Regenerated.
11807
7b1902cb
JM
11808 [BZ #2541]
11809 [BZ #4108]
11810 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11811 before squaring exponent.
11812 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11813 bottom long double and 27 bits of top long double before squaring
11814 exponent.
11815 * math/libm-test.inc (erfc_test): Add more tests.
11816 * sysdeps/i386/fpu/libm-test-ulps: Update.
11817 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11819
f775c276
KT
118202012-03-01 Kai Tietz <ktietz@redhat.com>
11821
11822 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11823 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11824 containing bit-fields.
11825 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11826 * soft-fp/single.h (_FP_UNION_S): Likewise.
11827 * soft-fp/double.h (_FP_UNION_D): Likewise.
11828
5b8a4d4a
JM
118292012-02-29 Joseph Myers <joseph@codesourcery.com>
11830
0bab47b6
JM
11831 [BZ #13786]
11832 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11833 not include ../strcmp.S.
11834 [USE_AS_STRNCASECMP_L]: Likewise.
11835 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11836 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11837 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11838 (__strncasecmp_l_ia32): Define as alias to
11839 __strncasecmp_l_nonascii.
11840
0fcad3e2
JM
11841 [BZ #5794]
11842 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11843 * sysdeps/i386/fpu/libm-test-ulps: Update.
11844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11845
5b8a4d4a
JM
11846 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11848
8fdceb2e
JL
118492012-02-29 Jeff Law <law@redhat.com>
11850
11851 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11852 out of bounds read.
11853
1f393a11
MP
118542012-02-29 Marek Polacek <polacek@redhat.com>
11855
11856 [BZ #13706]
11857 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11858 * elf/Makefile: Add rules to run tst-unused-dep.out.
11859
8847f037
DM
118602012-02-28 David S. Miller <davem@davemloft.net>
11861
11862 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11863 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11864 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11865 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11866 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11867 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11868
169d7f11
JM
118692012-02-29 Joseph Myers <joseph@codesourcery.com>
11870
11871 * math/libm-test.inc (llround_test): Move one test from
11872 lround_test. Use TEST_f_L in moved test.
11873 (lround_test): Move misplaced test to llround_test. Add testcase
11874 from bug 2561.
11875
39adf059
UD
118762012-02-28 Ulrich Drepper <drepper@gmail.com>
11877
11878 * sysdeps/x86_64/fpu/e_expf.S: New file.
11879 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11880
71b5d1c5
SB
118812012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11882
11883 [BZ #13637]
11884 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11885 of remain_len that may cause incomplete multi-byte character and
11886 false match.
11887 * posix/bug-regex33.c: New file.
11888 * posix/Makefile (tests): Add bug-regex33.
11889
1f77f049
JM
118902012-02-28 Joseph Myers <joseph@codesourcery.com>
11891
11892 * manual/macros.texi: New file.
11893 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11894 * manual/libc.texinfo: Include macros.texi.
11895 * manual/creatute.texi: Likewise.
11896 * manual/install.texi: Likewise.
11897 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11898 @glibcadj{} in references to the GNU C Library.
11899 * manual/charset.texi: Likewise.
11900 * manual/conf.texi: Likewise.
11901 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11902 when not using those macros.
11903 * manual/creature.texi: Likewise.
11904 * manual/crypt.texi: Likewise.
11905 * manual/errno.texi: Likewise.
11906 * manual/filesys.texi: Likewise.
11907 * manual/header.texi: Likewise.
11908 * manual/install.texi: Likewise.
11909 * manual/intro.texi: Likewise.
11910 * manual/io.texi: Likewise.
11911 * manual/job.texi: Likewise.
11912 * manual/lang.texi: Likewise.
11913 * manual/libc.texiinfo: Likewise.
11914 * manual/llio.texi: Likewise.
11915 * manual/locale.texi: Likewise.
11916 * manual/maint.texi: Likewise.
11917 * manual/math.texi: Likewise.
11918 * manual/memory.texi: Likewise.
11919 * manual/message.texi: Likewise.
11920 * manual/nss.texi: Likewise.
11921 * manual/pattern.texi: Likewise.
11922 * manual/process.texi: Likewise.
11923 * manual/resource.texi: Likewise.
11924 * manual/search.texi: Likewise.
11925 * manual/setjmp.texi: Likewise.
11926 * manual/signal.texi: Likewise.
11927 * manual/socket.texi: Likewise.
11928 * manual/startup.texi: Likewise.
11929 * manual/stdio.texi: Likewise.
11930 * manual/string.texi: Likewise.
11931 * manual/sysinfo.texi: Likewise.
11932 * manual/syslog.texi: Likewise.
11933 * manual/terminal.texi: Likewise.
11934 * manual/time.texi: Likewise.
11935 * manual/users.texi: Likewise.
11936 * INSTALL: Regenerated.
11937 * NOTES: Regenerated.
d40c5d54 11938 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11939
450bf206
AS
119402012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11941
11942 * include/dirent.h: Include <dirstream.h> before
11943 <dirent/dirent.h>.
11944
741a235b
DM
119452012-02-28 David S. Miller <davem@davemloft.net>
11946
11947 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11948 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11949 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11950 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11951
d6b5aa58
DM
119522012-02-27 David S. Miller <davem@davemloft.net>
11953
1aff59a3
DM
11954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11956 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11957 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11958
d6b5aa58
DM
11959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11960 frame pointer instead of stack pointer relative arg slot.
11961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11962 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11963 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11964
433f48bf
CD
119652012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11966
11967 [BZ #3992]
11968 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11969
d674b76d
DM
119702012-02-27 David S. Miller <davem@davemloft.net>
11971
11972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11976 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11977 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11978 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11979 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11980
0e7727f7
JM
119812012-02-27 Joseph Myers <joseph@codesourcery.com>
11982
11983 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11984 later. Allow versions 5-9.
43be4ca2 11985 * configure: Regenerated.
0e7727f7
JM
11986 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11987 required minimum version and 4.6 as recommended version. Do not
11988 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11989 * INSTALL: Regenerated.
0e7727f7 11990
a78bc654
DM
119912012-02-27 David S. Miller <davem@davemloft.net>
11992
428d5830
DM
11993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11997 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11998 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11999 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12000 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12001
a78bc654
DM
12002 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12003 manipulate bits before adding and subtracting TWO112[sx].
12004 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12005
4579f81c
RM
120062012-02-27 Roland McGrath <roland@hack.frob.com>
12007
36c8acb4
RM
12008 [BZ #13775]
12009 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12010 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12011 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12012 being in POSIX, because they are in 1003.1-2008.
12013
84ad622b
RM
12014 * rt/tst-aio.c: Include <fcntl.h>.
12015 * rt/tst-aio7.c: Likewise.
12016 * rt/tst-aio64.c: Likewise.
12017
4579f81c
RM
12018 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12019
abd923db
JM
120202012-02-27 Joseph Myers <joseph@codesourcery.com>
12021
12022 * manual/install.texi (--with-headers): Describe headers as
12023 interface headers, not private headers.
12024 (Specific advice for GNU/Linux systems): Describe use of headers
12025 from "make headers_install", not private headers from older
12026 kernels.
43be4ca2 12027 * INSTALL: Regenerated.
abd923db
JM
12028 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12029 Change to 2.6.19.
12030 * sysdeps/unix/sysv/linux/configure: Regenerated.
12031
6664049b
JM
12032 * manual/llio.texi (fclean): Remove documentation.
12033
bb8b6697
JM
12034 * manual/Makefile (libc-texi-generated): New variable. Include
12035 version.texi.
12036 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12037 $(libc-texi-generated), not duplicated list of files.
12038 (version.texi, stamp-version): New rules.
12039 (realclean): Remove $(libc-texi-generated), not individual files
12040 from that list. Do not remove dir-add.texinfo.
12041 * manual/libc.texinfo: Comment out uses of edition numbers and
12042 references to printed manual. Remove last-updated dates.
12043 (EDITION): Comment out.
12044 (ISBN): Likewise.
12045 (VERSION, UPDATED): Remove.
12046 (version.texi): Include.
12047
12e5c3b9
AS
120482012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12049
12050 * sysdeps/posix/spawni.c: Include <signal.h>.
12051 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12052 * sysdeps/pthread/aio_fsync.c: Likewise.
12053
4efeffc1 120542012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12055
ba63ba08
UD
12056 * conform/Makefile (tests): Run only when not cross-compiling and
12057 when fast-check is not defined.
12058
d94a4670
UD
12059 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12060 * conform/data/limits.h-data: Fixes for POSIX2008.
12061 * conform/run-conformtest.sh: Run all tests.
12062 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12063 headers.
12064 * include/bits/dlfcn.h: Likewise.
12065 * include/langinfo.h: Likewise.
12066 * include/monetary.h: Likewise.
12067 * include/sys/poll.h: Likewise.
12068
12069 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12070 for __USE_GNU.
12071 * posix/spawn.h: Define __need_sigset_t.
12072 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12073 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12074 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12075 to get sigevent_t only.
12076 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12077 only for __USE_GNU.
12078 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12079 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12080 process_vm_writev only for __USE_GNU.
12081 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12082
12083 * conform/Makefile: For now ignore errors from run-conformtest.
12084 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12085 POSIX to avoid namespace pollution. Don't prepend headers.
12086 * conform/data/aio.h-data: Fixes for POSIX testing.
12087 * conform/data/fcntl.h-data: Likewise.
12088 * conform/data/glob.h-data: Likewise.
12089 * conform/data/grp.h-data: Likewise.
12090 * conform/data/pthread.h-data: Likewise.
12091 * conform/data/pwd.h-data: Likewise.
12092 * conform/data/signal.h-data: Likewise.
12093 * conform/data/spawn.h-data: Likewise.
12094 * conform/data/stdio.h-data: Likewise.
12095 * conform/data/stdlib.h-data: Likewise.
12096 * conform/data/stropts.h-data: Likewise.
12097 * conform/data/sys/mman.h-data: Likewise.
12098 * conform/data/sys/stat.h-data: Likewise.
12099 * conform/data/sys/types.h-data: Likewise.
12100 * conform/data/sys/wait.h-data: Likewise.
12101 * conform/data/time.h-data: Likewise.
12102 * conform/data/unistd.h-data: Likewise.
12103 * conform/data/utime.h-data: Likewise.
12104
12105 * io/sys/stat.h: fchmod was always in POSIX.
12106 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12107 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12108 * rt/aio.h: Define __need_timespec before including <time.h>.
12109 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12110 struct. Add forward declaration of pthread_attr_t and use it in
12111 sigevent.
12112 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12113 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12114 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12115 always remove CLK_TCK definition.
12116
c20105c3
AS
121172012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12118
12119 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12120
7a270350
UD
121212012-02-25 Ulrich Drepper <drepper@gmail.com>
12122
31341567
UD
12123 * conform/run-conformtest.sh: New file.
12124 * conform/Makefile: Run run-conformtest for tests.
12125 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12126 support.
12127
12128 * conform/data/uchar.h-data: New file.
12129 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12130 * conform/data/arpa/inet.h-data: Likewise.
12131 * conform/data/assert.h-data: Likewise.
12132 * conform/data/complex.h-data: Likewise.
12133 * conform/data/cpio.h-data: Likewise.
12134 * conform/data/ctype.h-data: Likewise.
12135 * conform/data/dirent.h-data: Likewise.
12136 * conform/data/dlfcn.h-data: Likewise.
12137 * conform/data/errno.h-data: Likewise.
12138 * conform/data/fcntl.h-data: Likewise.
12139 * conform/data/float.h-data: Likewise.
12140 * conform/data/fmtmsg.h-data: Likewise.
12141 * conform/data/fnmatch.h-data: Likewise.
12142 * conform/data/ftw.h-data: Likewise.
12143 * conform/data/glob.h-data: Likewise.
12144 * conform/data/grp.h-data: Likewise.
12145 * conform/data/iconv.h-data: Likewise.
12146 * conform/data/inttypes.h-data: Likewise.
12147 * conform/data/langinfo.h-data: Likewise.
12148 * conform/data/libgen.h-data: Likewise.
12149 * conform/data/limits.h-data: Likewise.
12150 * conform/data/locale.h-data: Likewise.
12151 * conform/data/math.h-data: Likewise.
12152 * conform/data/monetary.h-data: Likewise.
12153 * conform/data/mqueue.h-data: Likewise.
12154 * conform/data/ndbm.h-data: Likewise.
12155 * conform/data/net/if.h-data: Likewise.
12156 * conform/data/netdb.h-data: Likewise.
12157 * conform/data/netinet/in.h-data: Likewise.
12158 * conform/data/nl_types.h-data: Likewise.
12159 * conform/data/poll.h-data: Likewise.
12160 * conform/data/pthread.h-data: Likewise.
12161 * conform/data/pwd.h-data: Likewise.
12162 * conform/data/regex.h-data: Likewise.
12163 * conform/data/sched.h-data: Likewise.
12164 * conform/data/search.h-data: Likewise.
12165 * conform/data/semaphore.h-data: Likewise.
12166 * conform/data/setjmp.h-data: Likewise.
12167 * conform/data/signal.h-data: Likewise.
12168 * conform/data/spawn.h-data: Likewise.
12169 * conform/data/stdarg.h-data: Likewise.
12170 * conform/data/stdio.h-data: Likewise.
12171 * conform/data/stdlib.h-data: Likewise.
12172 * conform/data/string.h-data: Likewise.
12173 * conform/data/strings.h-data: Likewise.
12174 * conform/data/stropts.h-data: Likewise.
12175 * conform/data/sys/ipc.h-data: Likewise.
12176 * conform/data/sys/mman.h-data: Likewise.
12177 * conform/data/sys/msg.h-data: Likewise.
12178 * conform/data/sys/resource.h-data: Likewise.
12179 * conform/data/sys/select.h-data: Likewise.
12180 * conform/data/sys/sem.h-data: Likewise.
12181 * conform/data/sys/shm.h-data: Likewise.
12182 * conform/data/sys/socket.h-data: Likewise.
12183 * conform/data/sys/stat.h-data: Likewise.
12184 * conform/data/sys/statvfs.h-data: Likewise.
12185 * conform/data/sys/time.h-data: Likewise.
12186 * conform/data/sys/timeb.h-data: Likewise.
12187 * conform/data/sys/times.h-data: Likewise.
12188 * conform/data/sys/types.h-data: Likewise.
12189 * conform/data/sys/uio.h-data: Likewise.
12190 * conform/data/sys/un.h-data: Likewise.
12191 * conform/data/sys/utsname.h-data: Likewise.
12192 * conform/data/sys/wait.h-data: Likewise.
12193 * conform/data/syslog.h-data: Likewise.
12194 * conform/data/tar.h-data: Likewise.
12195 * conform/data/termios.h-data: Likewise.
12196 * conform/data/utime.h-data: Likewise.
12197 * conform/data/utmpx.h-data: Likewise.
12198 * conform/data/varargs.h-data: Likewise.
12199 * conform/data/wchar.h-data: Likewise.
12200 * conform/data/wctype.h-data: Likewise.
12201 * conform/data/wordexp.h-data: Likewise.
12202
12203 * include/stropts.h: New file.
12204 * include/uchar.h: New file.
12205 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12206 * include/assert.h: Likewise.
12207 * include/ctype.h: Likewise.
12208 * include/dirent.h: Likewise.
12209 * include/dlfcn.h: Likewise.
12210 * include/fcntl.h: Likewise.
12211 * include/fnmatch.h: Likewise.
12212 * include/glob.h: Likewise.
12213 * include/grp.h: Likewise.
12214 * include/libio.h: Likewise.
12215 * include/locale.h: Likewise.
12216 * include/math.h: Likewise.
12217 * include/net/if.h: Likewise.
12218 * include/netdb.h: Likewise.
12219 * include/netinet/in.h: Likewise.
12220 * include/pthread.h: Likewise.
12221 * include/pwd.h: Likewise.
12222 * include/regex.h: Likewise.
12223 * include/sched.h: Likewise.
12224 * include/search.h: Likewise.
12225 * include/setjmp.h: Likewise.
12226 * include/signal.h: Likewise.
12227 * include/stdio.h: Likewise.
12228 * include/stdlib.h: Likewise.
12229 * include/string.h: Likewise.
12230 * include/sys/cdefs.h: Likewise.
12231 * include/sys/mman.h: Likewise.
12232 * include/sys/msg.h: Likewise.
12233 * include/sys/resource.h: Likewise.
12234 * include/sys/select.h: Likewise.
12235 * include/sys/socket.h: Likewise.
12236 * include/sys/stat.h: Likewise.
12237 * include/sys/statvfs.h: Likewise.
12238 * include/sys/time.h: Likewise.
12239 * include/sys/times.h: Likewise.
12240 * include/sys/uio.h: Likewise.
12241 * include/sys/utsname.h: Likewise.
12242 * include/sys/wait.h: Likewise.
12243 * include/termios.h: Likewise.
12244 * include/time.h: Likewise.
12245 * include/ulimit.h: Likewise.
12246 * include/unistd.h: Likewise.
12247 * include/utime.h: Likewise.
12248 * include/wchar.h: Likewise.
12249 * include/wctype.h: Likewise.
12250 * include/wordexp.h: Likewise.
12251
12252 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12253
7a270350
UD
12254 * time/time.h: TIME_UTC must be a macro.
12255 Make timespec_get available for ISO C11 only as well.
12256
7724defc
UD
122572012-02-24 Ulrich Drepper <drepper@gmail.com>
12258
12259 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12260 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12261
6b1d1d46
JM
122622012-02-24 Joseph Myers <joseph@codesourcery.com>
12263
12264 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12265
0f8bbd69
JM
122662012-02-24 Joseph Myers <joseph@codesourcery.com>
12267
12268 * manual/texinfo.tex: Update to version 2012-01-19.16.
12269
66ab80bc
JM
122702012-02-24 Joseph Myers <joseph@codesourcery.com>
12271
12272 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12273
74981cc5
RM
122742012-02-24 Roland McGrath <roland@hack.frob.com>
12275
ee968201
RM
12276 [BZ #13738]
12277 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12278 * manual/fdl-1.3.texi: New file.
12279 * manual/fdl-1.1.texi: File removed.
12280
74981cc5
RM
12281 [BZ #13738]
12282 * manual/libc.texinfo (FDL_VERSION): New @set.
12283 Use it for mention of FDL in cover text.
12284 (Documentation License): Use it in @include file name.
12285
7bb764bc
JM
122862012-02-22 Joseph Myers <joseph@codesourcery.com>
12287 Roland McGrath <roland@hack.frob.com>
12288
12289 [BZ #5461]
12290 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12291 not LONG_LONG_MAX and LONG_LONG_MIN.
12292 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12293 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12294 name.
12295 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12296
6cbeae47
JM
122972012-02-22 Joseph Myers <joseph@codesourcery.com>
12298
12299 [BZ #2547]
12300 [BZ #11365]
12301 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12302 manipulate bits before adding and subtracting TWO23[sx].
12303 * math/libm-test.inc (nearbyint_test): Add more tests.
12304
fe45ce09
JM
123052012-02-22 Joseph Myers <joseph@codesourcery.com>
12306
12307 [BZ #2548]
12308 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12309 bits before adding and subtracting TWO23[sx].
12310 * math/libm-test.inc (rint_test): Add more tests.
12311 (rint_test_tonearest): Likewise.
12312 (rint_test_towardzero): Likewise.
12313 (rint_test_downward): Likewise.
12314 (rint_test_upward: Likewise.
12315
ff3b3d82
JM
123162012-02-22 Joseph Myers <joseph@codesourcery.com>
12317
12318 [BZ #10110]
12319 * include/stdc-predef.h: New file. Extracted from features.h.
12320 * include/features.h: Include stdc-predef.h.
12321 * Makefile (headers): Add stdc-predef.h.
12322 * CONFORMANCE (Compiler limitations): Update.
12323
ef0aab35
JM
123242012-02-22 Joseph Myers <joseph@codesourcery.com>
12325
12326 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12327
58639409
DM
123282012-02-21 David S. Miller <davem@davemloft.net>
12329
12330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12331 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12332
c0e70b25
DM
123332012-02-20 David S. Miller <davem@davemloft.net>
12334
12335 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12336 using a normal save/restore sequence, rather than allocating a
12337 dummy stack frame just to store a frame pointer and restore.
12338 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12339
fb06851d
JM
123402012-02-21 Joseph Myers <joseph@codesourcery.com>
12341
12342 * manual/install.texi: Fix stray word in line-wrapped comment.
12343
7a8b71c3
DM
123442012-02-20 David S. Miller <davem@davemloft.net>
12345
d510c123
DM
12346 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12347 both binutils and gcc support GOTDATA.
12348
0722d7c2
DM
12349 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12350 "rd %pc" in the PIC register setup sequences.
12351
3d2b3019
DM
12352 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12353 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12354 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12355 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12356 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12358 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12359 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12361 (SYSCALL_ERROR_HANDLER): Likewise.
12362 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12363 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12365 (SYSCALL_ERROR_HANDLER): Likewise.
12366
c80098a9
DM
12367 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12368 (HAVE_GCC_GOTDATA): New.
12369 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12370 relocation support in both binutils and gcc.
12371 * sysdeps/sparc/elf/configure: Regenerate.
12372
3a2545a0
DM
12373 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12374 * sysdeps/sparc/sparc32/elf/configure: Delete.
12375 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12376 * sysdeps/sparc/sparc64/elf/configure: Delete.
12377 * sysdeps/sparc/elf/configure.in: New file.
12378 * sysdeps/sparc/elf/configure: Generate.
12379
7a8b71c3
DM
12380 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12381 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12382 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12383 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12384 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12385
f1e86fca
JM
123862012-02-21 Joseph Myers <joseph@codesourcery.com>
12387
12388 * manual/install.texi: Do not mention specific glibc version
12389 numbers.
12390 * manual/libc.texinfo (VERSION, UPDATED): Update.
12391 (@copying): Use @copyright{} and range of years.
12392
0e7dfaef
JM
123932012-02-21 Joseph Myers <joseph@codesourcery.com>
12394
12395 [BZ #13695]
12396 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12397 [crti.S not in sysdirs] (generated): Do not append.
12398 [crti.S not in sysdirs] (omit-deps): Likewise.
12399 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12400 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12401 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12402 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12403 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12404 Likewise.
12405 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12406 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12407 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12408 * csu/defs.awk: Remove file.
12409 * sysdeps/generic/initfini.c: Likewise.
12410 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12411 variable.
12412 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12413 Likewise.
12414
599af3ca
JM
124152012-02-20 Joseph Myers <joseph@codesourcery.com>
12416
12417 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12418 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12419 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12420 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12421 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12422 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12423 <bits/epoll.h>.
12424 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12425 (__EPOLL_PACKED): Define to empty if not defined by
12426 <bits/epoll.h>.
12427 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12429 bits/epoll.h.
12430
0e499750
JM
124312012-02-20 Joseph Myers <joseph@codesourcery.com>
12432
12433 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12434 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12435 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12436 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12437 <bits/timerfd.h>.
12438 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12440 bits/timerfd.h.
12441
5ad91f6e
JM
124422012-02-20 Joseph Myers <joseph@codesourcery.com>
12443
12444 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12445 in C locale.
12446 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12447 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12448 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12450
06b99b02
AJ
124512012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12452
12453 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12454 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12455
7638c0fd
AS
124562012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12457
12458 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12459 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12460 defined.
12461 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12462 Likewise.
12463 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12464 entry for 2.16.
12465
92221550
AJ
124662012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12467
12468 * math/w_acos.c: Use non-signaling floating-point comparisons.
12469 * math/w_acosf.c: Likewise.
12470 * math/w_acosh.c: Likewise.
12471 * math/w_acoshf.c: Likewise.
12472 * math/w_acoshl.c: Likewise.
12473 * math/w_acosl.c: Likewise.
12474 * math/w_asin.c: Likewise.
12475 * math/w_asinf.c: Likewise.
12476 * math/w_asinl.c: Likewise.
12477 * math/w_atanh.c: Likewise.
12478 * math/w_atanhf.c: Likewise.
12479 * math/w_atanhl.c: Likewise.
12480 * math/w_exp2.c: Likewise.
12481 * math/w_exp2f.c: Likewise.
12482 * math/w_exp2l.c: Likewise.
12483 * math/w_j0.c: Likewise.
12484 * math/w_j0f.c: Likewise.
12485 * math/w_j0l.c: Likewise.
12486 * math/w_j1.c: Likewise.
12487 * math/w_j1f.c: Likewise.
12488 * math/w_j1l.c: Likewise.
12489 * math/w_jn.c: Likewise.
12490 * math/w_jnf.c: Likewise.
12491 * math/w_log.c: Likewise.
12492 * math/w_log10.c: Likewise.
12493 * math/w_log10f.c: Likewise.
12494 * math/w_log10l.c: Likewise.
12495 * math/w_log2.c: Likewise.
12496 * math/w_log2f.c: Likewise.
12497 * math/w_log2l.c: Likewise.
12498 * math/w_logf.c: Likewise.
12499 * math/w_logl.c: Likewise.
12500 * math/w_sqrt.c: Likewise.
12501 * math/w_sqrtf.c: Likewise.
12502 * math/w_sqrtl.c: Likewise.
12503 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12504 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12505 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12506 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12507 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12508
ebaf36eb
JM
125092012-02-19 Joseph Myers <joseph@codesourcery.com>
12510
12511 [BZ #9739]
12512 * manual/string.texi (strnlen): Use correct parameter name in
12513 equivalent expression.
12514
71c254a6
JM
125152012-02-19 Joseph Myers <joseph@codesourcery.com>
12516
12517 [BZ #11174]
12518 * manual/users.texi (seteuid): Consistently use neweuid for
12519 argument name.
12520
16d2c631
JM
125212012-02-19 Joseph Myers <joseph@codesourcery.com>
12522
12523 [BZ #13704]
12524 * manual/nss.texi (Services in the NSS configuration): Correct
12525 list of services in example configuration file.
12526
cd837b09
NB
125272012-02-19 Nick Bowler <nbowler@draconx.ca>
12528
12529 [BZ #11322]
12530 * manual/arith.texi: Remove statements about negative zero
12531 behaving identically to zero.
12532
02c4bbad
JM
125332012-02-18 Joseph Myers <joseph@codesourcery.com>
12534
12535 [BZ #5993]
12536 * manual/install.texi: Do not document upgrading from libc5.
12537
366842e7
JM
125382012-02-18 Joseph Myers <joseph@codesourcery.com>
12539
12540 [BZ #4596]
12541 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12542
dd54084d
DM
125432012-02-18 David S. Miller <davem@davemloft.net>
12544
12545 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12546 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12547 %o7 across the call.
12548 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12549 instead.
12550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12551 SETUP_PIC_REG_LEAF.
12552 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12553 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12554 * sysdeps/sparc/crtn.S: Likewise.
12555
2bcc53a3
UD
125562012-02-17 Ulrich Drepper <drepper@gmail.com>
12557
12558 * aout/Makefile: Remove.
12559
09c093b5
RK
125602012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12561
12562 [BZ #13058]
12563 * manual/examples/argp-ex1.c (main): Format definition in GNU
12564 style.
12565 * manual/examples/argp-ex2.c (main): Likewise.
12566 * manual/examples/argp-ex3.c (main): Likewise.
12567 * manual/examples/argp-ex4.c (main): Likewise.
12568 * manual/examples/longopt.c (main): Use new-style prototype
12569 definition.
12570 * manual/examples/strncat.c (main): Specify return type and use
12571 (void) for arguments.
12572 * manual/examples/subopt.c (main): Use char **argv argument.
12573
2ee633a2
JM
125742012-02-17 Joseph Myers <joseph@codesourcery.com>
12575
12576 [BZ #5077]
12577 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12578 rounding modes.
12579
0520adde
FB
125802012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12581
12582 [BZ #6907]
12583 * manual/string.texi (strchr): Change when strchrnul is
12584 recommended.
12585
3f4081cd
DGM
125862012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12587
12588 [BZ #174]
12589 * manual/locale.texi (setlocale): Document LOCPATH.
12590
d1b10e78
JM
125912012-02-17 Joseph Myers <joseph@codesourcery.com>
12592
12593 [BZ #10210]
12594 * manual/process.texi (execle): Move @dots{} before last argument.
12595
79c6869c
PB
125962012-02-17 Paul Bolle <pebolle@tiscali.nl>
12597
12598 [BZ #12047]
12599 * manual/charset.texi (Generic Charset Conversion): Fix typo
12600 (LC_TYPE -> LC_CTYPE).
12601
cc6e48bc
NB
126022012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12603
12604 [BZ #5805]
12605 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12606 (scalbnf): Likewise.
12607 (scalbnl): Likewise.
12608 (scalbln): Likewise.
12609 (scalblnf): Likewise.
12610 (scalblnl): Likewise.
12611 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12612 (vwarnx): Likewise.
12613 (verr): Likewise.
12614 (verrx): Likewise.
12615 * manual/filesys.texi (telldir): Use braces around return type.
12616 * manual/llio.texi (mmap): Add space after comma.
12617 (mmap64): Likewise.
12618 * manual/math.texi (jn): Use @var{} on parameter names.
12619 (jnf): Likewise.
12620 (jnl): Likewise.
12621 (yn): Likewise.
12622 (ynf): Likewise.
12623 (ynl): Likewise.
12624 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12625 line.
12626 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12627 "...".
12628 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12629 (sched_get_priority_max): Likewise.
12630 * manual/signal.texi (sigvec): Add space after comma.
12631 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12632 names.
12633 (if_indextoname): Likewise.
12634 (if_freenameindex): Likewise.
12635 (sendto): Use ',' instead of '.' in prototype.
12636 * manual/startup.texi (syscall): Use @dots{} instead of literal
12637 "...".
12638 * manual/stdio.texi (__fpending): Separate initial words of
12639 paragraph from @deftypefun line.
12640 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12641 "...".
12642 (vsyslog): Use @var{} on parameter names.
12643 * manual/terminal.texi (stty): Use @var{} on parameter names.
12644 * manual/users.texi (getutmp): Use @var{} on parameter names.
12645 (getutmpx): Likewise.
12646
5b23062f
JM
126472012-02-17 Joseph Myers <joseph@codesourcery.com>
12648
12649 [BZ #6884]
12650 * manual/stdio.texi (fopen): Fix typos in description of
12651 ",ccs=STRING".
12652
8dee4833
AJ
126532012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12654
12655 [BZ #4026]
12656 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12657 get clock_id definition.
12658
9078ce93
TS
126592012-02-17 Thomas Schwinge <thomas@schwinge.name>
12660
12661 [BZ #4822]
12662 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12663 (madvise): Cast every argument to void on its own.
12664
3835c55f
JM
126652012-02-17 Joseph Myers <joseph@codesourcery.com>
12666
12667 [BZ #9902]
12668 * manual/startup.texi (Exit Status): Fix typo.
12669
35c47e37
JM
126702012-02-17 Joseph Myers <joseph@codesourcery.com>
12671
12672 [BZ #10140]
12673 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12674 * manual/examples/argp-ex2.c: Likewise.
12675 * manual/examples/argp-ex3.c: Likewise.
12676
e3b69ca7
RH
126772012-02-16 Richard Henderson <rth@redhat.com>
12678
12679 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12680 * sysdeps/s390/s390-32/initfini.c: Remove.
12681 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12682 * sysdeps/s390/s390-64/initfini.c: Remove.
12683
df83af67
KK
126842012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12685
12686 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12687 compiler output for sysdeps/generic/initfini.c.
12688 * sysdeps/sh/elf/initfini.c: Remove file.
12689
f63f3380
DM
126902012-02-16 David S. Miller <davem@davemloft.net>
12691
fb59b3a4
DM
12692 [BZ #11494]
12693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12694
f63f3380
DM
12695 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12696 * sysdeps/sparc/crti.S: New file.
12697 * sysdeps/sparc/crtn.S: New file.
12698 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12699 * sysdeps/sparc/sparc64/Makefile: Likewise.
12700
df6a4a4a
MF
127012012-02-15 Mike Frysinger <vapier@gentoo.org>
12702
6dd8f3dc 12703 [BZ #3335]
df6a4a4a
MF
12704 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12705
1cac7236
RM
127062012-02-15 Roland McGrath <roland@hack.frob.com>
12707
d2c736f8
RM
12708 [BZ #4822]
12709 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12710
1cac7236
RM
12711 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12712 (write, read, close): Likewise.
12713 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12714
8e475601
JM
127152012-02-15 Joseph Myers <joseph@codesourcery.com>
12716
12717 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12718 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12719 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12720 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12721 <bits/signalfd.h>.
12722 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12724 bits/signalfd.h.
12725
ed656b40
MP
127262012-02-14 Marek Polacek <polacek@redhat.com>
12727
12728 * sysdeps/x86_64/crti.S: New file.
12729 * sysdeps/x86_64/crtn.S: New file.
12730 * sysdeps/x86_64/elf/initfini.c: Remove file.
12731
2a979d3a
JM
127322012-02-13 Joseph Myers <joseph@codesourcery.com>
12733
12734 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12735 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12736 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12737 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12738 <bits/inotify.h>.
12739 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12741 bits/inotify.h.
12742
2a418ac3
JM
127432012-02-13 Joseph Myers <joseph@codesourcery.com>
12744
12745 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12746 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12747 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12748 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12749 <bits/eventfd.h>.
12750 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12752 bits/eventfd.h.
12753
fb779be7
TS
127542012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12755
e19e83c5
RM
12756 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12757 __feraiseexcept instead of feraiseexcept.
7c35ffed 12758
fb779be7
TS
12759 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12760 nanosleep invocations.
12761 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12762 strings, and add error checking for a nanosleep invocations.
12763
59ba27a6
PE
127642012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12765
12766 Replace FSF snail mail address with URLs, as per GNU coding standards.
12767 Most of the snail mail addresses were wrong anyway, and omitting
12768 them makes the source code easier to maintain. Almost all of the
12769 changes are to license notices and to locale LC_IDENTIFICATION
12770 addresses, except for this one:
12771 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12772 not its snail mail address.
12773
57b957eb
RH
127742012-02-09 Richard Henderson <rth@twiddle.net>
12775
af850b1c
RH
12776 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12777 of kernel-features.h.
12778
57b957eb
RH
12779 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12780
6b73181a
MP
127812012-02-08 Marek Polacek <polacek@redhat.com>
12782
12783 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12784 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12785 * sysdeps/gnu/_G_config.h: Likewise.
12786 * sysdeps/generic/_G_config.h: Likewise.
12787
26ecc33a
AS
127882012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12789
6c6dbc63
AS
12790 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12791 tests.
12792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12793
e216c012
AS
12794 * sysdeps/powerpc/powerpc32/crti.S: New file.
12795 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12796 * sysdeps/powerpc/powerpc64/crti.S: New file.
12797 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12798
26ecc33a
AS
12799 * Makeconfig (have-initfini): Don't set.
12800 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12801 * configure.in (nopic_initfini): Don't substitute.
12802 * config.h.in (HAVE_INITFINI): Don't #undef.
12803 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12804 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12805
3add8e13
JM
128062012-02-08 Joseph Myers <joseph@codesourcery.com>
12807
12808 Support crti.S and crtn.S provided directly by architectures.
12809 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12810 [crti.S in sysdirs] (omit-deps): Likewise.
12811 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12812 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12813 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12814 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12815 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12816 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12817 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12818 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12819 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12820 compiler output for sysdeps/generic/initfini.c.
12821 * sysdeps/i386/elf/Makefile: Remove file.
12822 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12823
a22f12b4
MP
128242012-02-07 Marek Polacek <polacek@redhat.com>
12825
12826 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12827 * sysdeps/gnu/_G_config.h: Likewise.
12828 * sysdeps/mach/hurd/_G_config.h: Likewise.
12829
148cf100
MP
128302012-02-07 Marek Polacek <polacek@redhat.com>
12831
12832 * math/Makefile (tests): Add tst-CMPLX2.
12833 * math/tst-CMPLX2.c: New file.
12834
cfdc0dd7
AS
128352012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12836
84ba42c4
AS
12837 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12838
cfdc0dd7
AS
12839 * math/libm-test.inc (jn_test): Add missing L suffix.
12840
622c86f4
MP
128412012-02-06 Marek Polacek <polacek@redhat.com>
12842
12843 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12844 * sysdeps/i386/fpu/e_powf.S: Likewise.
12845 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12846 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12847 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12848 * sysdeps/i386/fpu/e_pow.S: Likewise.
12849 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12850 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12851 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12852 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12853 * sysdeps/i386/fpu/e_log2.S: Likewise.
12854 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12855 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12856 * sysdeps/i386/fpu/e_powl.S: Likewise.
12857 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12858 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12859 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12860 * sysdeps/i386/fpu/e_logl.S: Likewise.
12861 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12862 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12863 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12864 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12865 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12866 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12867 * sysdeps/i386/fpu/e_log.S: Likewise.
12868 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12869 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12870 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12871 * sysdeps/i386/fpu/e_logf.S: Likewise.
12872 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12873 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12874 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12875 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12876 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12877 * sysdeps/i386/fpu/e_log10.S: Likewise.
12878 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12879 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12880 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12881 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12882 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12883 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12884 * sysdeps/i386/asm-syntax.h: Likewise.
12885 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12886 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12887 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12888 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12889 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12890 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12891 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12892 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12893 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12894 * sysdeps/powerpc/sysdep.h: Likewise.
12895 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12896 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12897
d4a54ac6
JM
128982012-02-06 Joseph Myers <joseph@codesourcery.com>
12899
12900 [BZ #411]
12901 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12902
314054ea
JM
129032012-02-06 Joseph Myers <joseph@codesourcery.com>
12904
12905 * sysdeps/i386/sysdep.h: Include <features.h>.
12906 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12907 version.
12908
d8e0ca50
JM
129092012-02-05 Joseph Myers <joseph@codesourcery.com>
12910
12911 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12912 Define.
12913 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12914 LOAD_PIC_REG_STR.
12915
b1da7dd9
JM
129162012-02-03 Joseph Myers <joseph@codesourcery.com>
12917
12918 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12919 (SETUP_PIC_REG): Use GET_PC_THUNK.
12920 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12921 macro.
12922
9a1d9254
JM
129232012-02-03 Joseph Myers <joseph@codesourcery.com>
12924
12925 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12926 for non-PIC compilation.
12927 (SETUP_PIC_REG): Add .p2align directive.
12928 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12929 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12930 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12931 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12932 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12933 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12934 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12935 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12936 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12937 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12938 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12939 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12940 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12941 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12942 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12943 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12944 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12945 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12946 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12947 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12948 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12949 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12950 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12951 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12952 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12953 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12954 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12955 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12956 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12957 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12958 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12959 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12960 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12961 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12962 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12963 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12964 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12965 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12966 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12967 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12968 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12969
65dc3b75
JM
129702012-02-03 Joseph Myers <joseph@codesourcery.com>
12971
12972 * math/tst-CMPLX.c: Include <stdio.h>.
12973
d55bf177
JM
129742012-01-31 Joseph Myers <joseph@codesourcery.com>
12975
12976 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12977 float.
12978 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12979 * sysdeps/sparc/bits/mathdef.h: Likewise.
12980
69db4f8f
MP
129812012-01-31 Marek Polacek <polacek@redhat.com>
12982
12983 * libio/libio.h: Don't define _PARAMS.
12984 * locale/programs/config.h: Don't define PARAMS.
12985 * stdlib/strtol_l.c: Likewise.
12986 (__strtol_l): Remove PARAMS from the prototype.
12987
41b81892
UD
129882012-01-31 Ulrich Drepper <drepper@gmail.com>
12989
3b49edc0
UD
12990 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12991 names. Just use the correct names. Remove unnecessary wrapper
12992 functions.
12993 * malloc/arena.c: Likewise.
12994 * malloc/hooks.c: Likewise.
12995
41b81892
UD
12996 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12997 ARENA_TEST says not to. Simplify test for creation of a new arena.
12998 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12999
27a25b6e
UD
130002012-01-30 Ulrich Drepper <drepper@gmail.com>
13001
13002 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13003 into tail calls.
13004 (update_get_addr): New function.
13005 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13006 GET_ADDR_MODULE parameter.
13007
c8a89e7d
JM
130082012-01-30 Joseph Myers <joseph@codesourcery.com>
13009
13010 * crypt/cert.c: Remove __STDC__ conditionals.
13011 * crypt/crypt-entry.c: Likewise.
13012 * crypt/crypt_util.c: Likewise.
13013 * libio/filedoalloc.c: Likewise.
13014 * libio/fileops.c: Likewise.
13015 * libio/genops.c: Likewise.
13016 * libio/iofclose.c: Likewise.
13017 * libio/iofdopen.c: Likewise.
13018 * libio/iofopen.c: Likewise.
13019 * libio/iofopen64.c: Likewise.
13020 * libio/iogetdelim.c: Likewise.
13021 * libio/iopopen.c: Likewise.
13022 * libio/obprintf.c: Likewise.
13023 * libio/oldfileops.c: Likewise.
13024 * libio/oldiofclose.c: Likewise.
13025 * libio/oldiofdopen.c: Likewise.
13026 * libio/oldiofopen.c: Likewise.
13027 * libio/oldiopopen.c: Likewise.
13028 * libio/wfiledoalloc.c: Likewise.
13029 * libio/wgenops.c: Likewise.
13030 * locale/programs/xmalloc.c: Likewise.
13031 * misc/syslog.c: Likewise.
13032 * stdio-common/xbug.c: Likewise.
13033 * string/memchr.c: Likewise.
13034 * string/memcmp.c: Likewise.
13035 * string/memrchr.c: Likewise.
13036 * string/rawmemchr.c: Likewise.
13037 * sysdeps/posix/getcwd.c: Likewise.
13038 * time/strftime_l.c: Likewise.
13039
3b100462
JM
130402012-01-30 Joseph Myers <joseph@codesourcery.com>
13041
13042 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
13043 * config.make.in (config-cflags-sse2avx): Define.
13044 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13045 Fix typo.
13046
607998af
CM
130472012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13048
13049 * scripts/config.guess: Update from upstream config git repository.
13050 * scripts/config.sub: Likewise.
13051
3601428f
CM
130522012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13053
3ac8b282
CM
13054 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13055 (EM_NUM): Update.
13056 (R_TILEPRO_*, R_TILEGX_*): New macros.
13057
e034841e
CM
13058 * scripts/firstversions.awk: Fix bug in version range handling.
13059
540d7568
CM
13060 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13061
3601428f
CM
13062 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13063
463de862
CM
13064 * include/sys/epoll.h: New file.
13065 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13066 libc_hidden_def.
13067
73139a76
UD
130682012-01-28 Ulrich Drepper <drepper@gmail.com>
13069
96bc5b45
UD
13070 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13071 Avoid unnecessary __WORDSIZE == 64 test.
13072 (fmaxf): Use VEX format if possible.
13073 (fmax): Likewise.
13074 (fminf): Likewise.
13075 (fmin): Likewise.
13076
56f6f6a2
UD
13077 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13078 * math/math_private.h: Remove libc_fegetround* and
13079 libc_fesetround*.
13080 * sysdeps/i386/configure.in: Check for -msse2avx.
13081 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13082 also if SSE2AVX is defined.
13083 Remove libc_fegetround* and libc_fesetround*.
13084 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13085 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13086 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13087 of HAS_YMM_USABLE.
13088 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13089 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13090 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13091 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13092 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13093
73139a76
UD
13094 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13095
d73f93a4
AZ
130962012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13097
13098 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13099 size is not set.
13100 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13101
6ee65ed6
UD
131022012-01-27 Ulrich Drepper <drepper@gmail.com>
13103
13104 [BZ #13618]
13105 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13106 relocation.
13107 * Makeconfig (libm): Define.
13108 * elf/Makefile: Add rules to build and run tst-relsort1.
13109 * elf/tst-relsort1.c: New file.
13110 * elf/tst-relsort1mod1.c: New file.
13111 * elf/tst-relsort1mod2.c: New file.
13112
8db21882
JM
131132012-01-27 Joseph Myers <joseph@codesourcery.com>
13114
13115 * math/s_ldexp.c: Remove __STDC__ conditionals.
13116 * math/s_ldexpf.c: Likewise.
13117 * math/s_ldexpl.c: Likewise.
13118 * math/s_nextafter.c: Likewise.
13119 * math/s_nexttowardf.c: Likewise.
13120 * math/s_significand.c: Likewise.
13121 * math/s_significandf.c: Likewise.
13122 * math/s_significandl.c: Likewise.
13123 * math/w_jnl.c: Likewise.
13124 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13125 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13126 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13127 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13128 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13136 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13137 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13138 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13139 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13140 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13141 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13143 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13144 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13145 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13146 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13147 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13148 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13149 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13150 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13151 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13152 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13153 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13154 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13155 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13156 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13157 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13158 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13159 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13160 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13161 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13162 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13163 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13164 * sysdeps/ieee754/k_standard.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13169 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13170 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13171 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13172 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13174 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13175 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13179 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13181 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13182 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13183 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13184 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13185 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13186 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13188 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13189 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13190 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13191 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13193 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13194 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13195 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13197 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13200 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13201 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13202 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13207 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13208 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13209 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13210 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13211 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13212 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13213 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13214 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13215 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13216 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13217 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13218 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13219 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13220 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13221 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13222 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13223 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13224 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13225 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13226 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13227 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13228 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13229 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13230 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13231 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13232 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13233 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13234 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13235 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13236 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13237 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13238 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13239 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13240 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13241 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13242 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13243 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13244 * sysdeps/ieee754/s_matherr.c: Likewise.
13245 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13246 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13247 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13248 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13249
965a54a4
JM
132502012-01-26 Joseph Myers <joseph@codesourcery.com>
13251
13252 * crypt/md5.h: Remove __STDC__ conditionals.
13253 * libio/libioP.h: Likewise.
13254 * locale/programs/config.h: Likewise.
13255 * sysdeps/generic/sysdep.h: Likewise.
13256 * sysdeps/i386/asm-syntax.h: Likewise.
13257 * sysdeps/s390/asm-syntax.h: Likewise.
13258 * sysdeps/unix/sysdep.h: Likewise.
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13261
7071ad79
JM
132622012-01-26 Joseph Myers <joseph@codesourcery.com>
13263
13264 * libio/libio.h: Remove __STDC__ conditionals.
13265 * malloc/obstack.h: Likewise.
13266 * math/complex.h: Likewise.
13267 * math/math.h: Likewise.
13268 * sysdeps/generic/_G_config.h: Likewise.
13269 * sysdeps/gnu/_G_config.h: Likewise.
13270 * sysdeps/mach/hurd/_G_config.h: Likewise.
13271 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13272 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13273 * sysdeps/sparc/bits/mathdef.h: Likewise.
13274
afc5ed09
UD
132752012-01-26 Ulrich Drepper <drepper@gmail.com>
13276
13277 [BZ #13583]
13278 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13279 Clean up HAS_* macros.
afc5ed09 13280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13281 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13282 possible.
13283 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13284 HAS_AVX.
13285 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13286 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13287 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13288 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13289 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13290
bdb6de1d
JM
132912012-01-25 Joseph Myers <joseph@codesourcery.com>
13292
13293 * elf/tst-unique3.cc (gets): Remove declaration.
13294 * elf/tst-unique3lib.cc (gets): Likewise.
13295 * elf/tst-unique3lib2.cc (gets): Likewise.
13296 * elf/tst-unique4.cc (gets): Likewise.
13297
b15549e6
UD
132982012-01-24 Ulrich Drepper <drepper@gmail.com>
13299
13300 * include/stdio.h: Add C++ protection. Add gets declarations and
13301 definitions.
13302 * debug/tst-chk1.c: Don't declare gets here.
13303 * stdio-common/tst-gets.c: Likewise.
13304
a037381f
JM
133052012-01-24 Joseph Myers <joseph@codesourcery.com>
13306
13307 * posix/glob: Remove directory.
13308
f1d4aa75
JM
133092012-01-24 Joseph Myers <joseph@codesourcery.com>
13310
13311 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13312
81c0c964
PT
133132012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13314
13315 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13316 of the non-standard EPFNOSUPPORT.
13317
0ea698ae
ST
133182011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13319
13320 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13321 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13322 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13323
d220b117
UD
133242012-01-21 Ulrich Drepper <drepper@gmail.com>
13325
13326 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13327
3e1aa84e
UD
133282012-01-20 Ulrich Drepper <drepper@gmail.com>
13329
13330 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13331 transient errors.
13332 * nscd/grpcache.c (cache_addgr): Likewise.
13333 * nscd/hstcache.c (cache_addhst): Likewise.
13334 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13335 * nscd/pwdcache.c (cache_addpw): Likewise.
13336 * nscd/servicescache.c (cache_addserv): Likewise.
13337
400aa020
UD
133382012-01-16 Ulrich Drepper <drepper@gmail.com>
13339
d77e7869
UD
13340 * malloc/malloc.c: Various cleanups.
13341 * malloc/hooks.c: Likewise.
13342
400aa020
UD
13343 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13344 * stdlib/bug-fmtmsg1.c: New file.
13345
13346 * stdlib/fmtmsg.c (init): Add missing unlock.
13347 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13348
e0a309cf
MP
133492012-01-12 Marek Polacek <polacek@redhat.com>
13350
13351 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13352 and _GNU_SOURCE.
13353
929d11c7
WS
133542012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13355
13356 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13357 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13358 macro to ensure uniqueness of label name.
13359 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13360 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13361
41d0e869
UD
133622012-01-11 Ulrich Drepper <drepper@gmail.com>
13363
0cc5ed3b
UD
13364 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13365
41d0e869
UD
13366 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13367 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13368 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13370
a47a831a
UD
133712012-01-10 Ulrich Drepper <drepper@gmail.com>
13372
daa891c0
UD
13373 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13374
13375 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13376 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13377 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13378
e58ef0f2
UD
13379 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13380
a47a831a 13381 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13382 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13383 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13384 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13385
13386 * math/bits/math-finite.h: Add ldexp support.
13387
a0bfc9c7
MP
133882012-01-10 Marek Polacek <polacek@redhat.com>
13389
13390 * locale/programs/localedef.h (show_archive_content): Add noreturn
13391 attribute.
13392
d6e97a1d
UD
133932012-01-09 Ulrich Drepper <drepper@gmail.com>
13394
13395 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13396
d5835c26
UD
133972012-01-08 Ulrich Drepper <drepper@gmail.com>
13398
e5f484c6
UD
13399 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13400
d5835c26
UD
13401 * io/Makefile (headers): Add bits/poll2.h.
13402
d1f741e9
WS
134032011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13404
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13406 typo #include statement.
13407
ec09c1c4
UD
134082012-01-08 Ulrich Drepper <drepper@gmail.com>
13409
13410 * include/sys/cdefs.h: Define __attribute_alloc_size.
13411 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13412 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13413 * elf/pldd.c: Likewise.
13414 * iconv/iconv_charmap.c: Likewise.
13415 * iconv/iconvconfig.c: Likewise.
13416 * iconv/strtab.c: Likewise.
13417 * locale/programs/locale.c: Likewise.
13418 * locale/programs/localedef.h: Likewise.
13419 * locale/programs/simple-hash.c: Likewise.
13420 * nscd/nscd.h: Likewise.
13421 * nss/makedb.c: Likewise.
13422 * sysdeps/generic/ldconfig.h: Likewise.
13423 * locale/programs/localedef.c: Remove xmalloc prototype.
13424 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13425
20b38e03
PP
134262012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13427
13428 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13429 appropriate.
13430
a0da5fe1
UD
134312012-01-08 Ulrich Drepper <drepper@gmail.com>
13432
1d5a644a 13433 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13434 * math/tst-CMPLX.c: New file.
1d5a644a 13435
8784a6db
UD
13436 * math/complex.h (CMPLXL): Fix typo.
13437
d9a216c0
UD
13438 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13439 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13440 GLIBC_2.16.
13441 * debug/tst-chk1.c: Add poll and ppoll tests.
13442 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13443 * include/sys/poll.h: Add hidden proto for ppoll.
13444 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13445 * sysdeps/mach/hurd/ppoll.c: Likewise.
13446 * io/ppoll.c: Likewise.
13447 * debug/poll_chk.c: New file.
13448 * debug/ppoll_chk.c: New file.
13449 * include/bits/poll2.h: New file.
13450 * io/bits/poll2.h: New file.
13451
ac097f5c
UD
13452 [BZ #1350]
13453 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13454
2119dcfa
UD
13455 * configure.in: static is always set to yes. Remove.
13456 * config.make.in: Don't set build-static.
13457 * Makeconfig: Remove use of build-static.
13458 * dlfcn/Makefile: Likewise.
13459 * elf/Makefile: Likewise.
13460 * math/Makefile: Likewise.
13461 * misc/Makefile: Likewise.
13462 * nptl/Makefile: Likewise.
13463 * sysdeps/mach/hurd/Makefile: Likewise.
13464
121766a9
UD
13465 * configure.in: PWD_P is not used anymore.
13466 * config.make.in: Remove PWD_P entry.
13467
51a1d39c 13468 * configure.in: Remove last remnants of RANLIB.
8720d066 13469 No need to check for signed size_t anymore.
215f4bdc
UD
13470 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13471 and IA-64.
3857022a 13472 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13473 * aclocal.m4: Likewise.
13474
d3ed7225
UD
13475 * wcsmbs/mbrtoc16.c: Implement using towc function.
13476 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13477 * wcsmbs/wcsmbsload.c: Likewise.
13478 * iconv/gconv_simple.c: Likewise.
13479 * iconv/gconv_int.h: Likewise.
13480 * iconv/gconv_builtin.h: Likewise.
13481 * iconv/iconv_prog.c: Remove CHAR16 handling.
13482
13483 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13484
13485 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13486
a0da5fe1
UD
13487 * configure.in: Remove --with-elf and --enable-bounded options.
13488 Dont set base_machine for ia64. More non-ELF conditions removed.
13489 Remove testing and setting of leading underscore information.
13490 * config.make.in (build-bounded): Set to no.
13491 * config.h.in: Remove NO_UNDERSCORES entry.
13492 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13493 them.
13494 * csu/start.c: Remove !NO_UNDERSCORE code.
13495 * locale/localeinfo.h: Likewise.
13496 * sysdeps/generic/machine-gmon.h: Likewise.
13497 * sysdeps/generic/sysdep.h: Likewise.
13498 * sysdeps/i386/sysdep.h: Likewise.
13499 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13500 * sysdeps/mach/sysdep.h: Likewise.
13501 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13502 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13503 * sysdeps/sh/sysdep.h: Likewise.
13504 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13505 * sysdeps/unix/i386/sysdep.S: Likewise.
13506 * sysdeps/unix/sparc/start.c: Likewise.
13507 * sysdeps/unix/sparc/sysdep.S: Likewise.
13508 * sysdeps/unix/sparc/sysdep.h: Likewise.
13509 * sysdeps/unix/start.c: Likewise.
13510 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13511 * sysdeps/x86_64/sysdep.h: Likewise.
13512
df78418a
UD
135132012-01-07 Ulrich Drepper <drepper@gmail.com>
13514
a784e502
UD
13515 [BZ #13553]
13516 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13517 for non-gcc.
13518 * argp/argp-fmtstream.h: Use const instead __const.
13519 * argp/argp.h: Likewise.
13520 * assert/assert.h: Likewise.
13521 * bits/fenv.h: Likewise.
13522 * bits/sched.h: Likewise.
13523 * bits/sigset.h: Likewise.
13524 * bits/sigthread.h: Likewise.
13525 * catgets/nl_types.h: Likewise.
13526 * conform/data/pthread.h-data: Likewise.
13527 * crypt/crypt-private.h: Likewise.
13528 * crypt/crypt.h: Likewise.
13529 * crypt/crypt_util.c: Likewise.
13530 * ctype/ctype.h: Likewise.
13531 * debug/execinfo.h: Likewise.
13532 * debug/mbsnrtowcs_chk.c: Likewise.
13533 * debug/mbsrtowcs_chk.c: Likewise.
13534 * debug/wcsnrtombs_chk.c: Likewise.
13535 * debug/wcsrtombs_chk.c: Likewise.
13536 * debug/wcstombs_chk.c: Likewise.
13537 * dirent/dirent.h: Likewise.
13538 * dlfcn/dlfcn.h: Likewise.
13539 * elf/neededtest4.c: Likewise.
13540 * grp/grp.h: Likewise.
13541 * gshadow/gshadow.h: Likewise.
13542 * iconv/gconv.h: Likewise.
13543 * iconv/gconv_int.h: Likewise.
13544 * iconv/gconv_simple.c: Likewise.
13545 * iconv/iconv.h: Likewise.
13546 * iconv/loop.c: Likewise.
13547 * iconv/skeleton.c: Likewise.
13548 * include/aio.h: Likewise.
13549 * include/aliases.h: Likewise.
13550 * include/argz.h: Likewise.
13551 * include/arpa/inet.h: Likewise.
13552 * include/assert.h: Likewise.
13553 * include/dirent.h: Likewise.
13554 * include/dlfcn.h: Likewise.
13555 * include/execinfo.h: Likewise.
13556 * include/fcntl.h: Likewise.
13557 * include/fenv.h: Likewise.
13558 * include/glob.h: Likewise.
13559 * include/grp.h: Likewise.
13560 * include/libintl.h: Likewise.
13561 * include/mntent.h: Likewise.
13562 * include/netdb.h: Likewise.
13563 * include/pwd.h: Likewise.
13564 * include/rpc/netdb.h: Likewise.
13565 * include/sched.h: Likewise.
13566 * include/search.h: Likewise.
13567 * include/shadow.h: Likewise.
13568 * include/signal.h: Likewise.
13569 * include/stdio.h: Likewise.
13570 * include/stdlib.h: Likewise.
13571 * include/string.h: Likewise.
13572 * include/sys/socket.h: Likewise.
13573 * include/sys/stat.h: Likewise.
13574 * include/sys/statfs.h: Likewise.
13575 * include/sys/statvfs.h: Likewise.
13576 * include/sys/syslog.h: Likewise.
13577 * include/sys/time.h: Likewise.
13578 * include/sys/uio.h: Likewise.
13579 * include/time.h: Likewise.
13580 * include/unistd.h: Likewise.
13581 * include/utmp.h: Likewise.
13582 * include/wchar.h: Likewise.
13583 * include/wctype.h: Likewise.
13584 * inet/aliases.h: Likewise.
13585 * inet/arpa/inet.h: Likewise.
13586 * inet/netinet/ether.h: Likewise.
13587 * inet/netinet/in.h: Likewise.
13588 * intl/libintl.h: Likewise.
13589 * io/bits/fcntl2.h: Likewise.
13590 * io/fcntl.h: Likewise.
13591 * io/ftw.h: Likewise.
13592 * io/sys/poll.h: Likewise.
13593 * io/sys/stat.h: Likewise.
13594 * io/sys/statfs.h: Likewise.
13595 * io/sys/statvfs.h: Likewise.
13596 * io/utime.h: Likewise.
13597 * libio/bits/stdio.h: Likewise.
13598 * libio/bits/stdio2.h: Likewise.
13599 * libio/libio.h: Likewise.
13600 * libio/libioP.h: Likewise.
13601 * libio/stdio.h: Likewise.
13602 * locale/lc-ctype.c: Likewise.
13603 * locale/locale.h: Likewise.
13604 * login/utmp.h: Likewise.
13605 * malloc/arena.c: Likewise.
13606 * malloc/malloc.c: Likewise.
13607 * malloc/malloc.h: Likewise.
13608 * malloc/mcheck.c: Likewise.
13609 * malloc/mtrace.c: Likewise.
13610 * math/bits/mathcalls.h: Likewise.
13611 * math/fenv.h: Likewise.
13612 * math/math_private.h: Likewise.
13613 * misc/bits/error.h: Likewise.
13614 * misc/bits/syslog.h: Likewise.
13615 * misc/err.h: Likewise.
13616 * misc/error.h: Likewise.
13617 * misc/fstab.h: Likewise.
13618 * misc/mntent.h: Likewise.
13619 * misc/regexp.h: Likewise.
13620 * misc/search.h: Likewise.
13621 * misc/sgtty.h: Likewise.
13622 * misc/sys/mman.h: Likewise.
13623 * misc/sys/syslog.h: Likewise.
13624 * misc/sys/uio.h: Likewise.
13625 * misc/sys/xattr.h: Likewise.
13626 * misc/ttyent.h: Likewise.
13627 * nis/rpcsvc/ypclnt.h: Likewise.
13628 * nss/nss.h: Likewise.
13629 * posix/bits/unistd.h: Likewise.
13630 * posix/fnmatch.h: Likewise.
13631 * posix/glob.h: Likewise.
13632 * posix/sched.h: Likewise.
13633 * posix/spawn.h: Likewise.
13634 * posix/sys/wait.h: Likewise.
13635 * posix/unistd.h: Likewise.
13636 * posix/wordexp.h: Likewise.
13637 * pwd/pwd.h: Likewise.
13638 * resolv/netdb.h: Likewise.
13639 * resource/sys/resource.h: Likewise.
13640 * rt/aio.h: Likewise.
13641 * rt/bits/mqueue2.h: Likewise.
13642 * rt/mqueue.h: Likewise.
13643 * shadow/shadow.h: Likewise.
13644 * signal/signal.h: Likewise.
13645 * socket/send.c: Likewise.
13646 * socket/sendto.c: Likewise.
13647 * socket/sys/socket.h: Likewise.
13648 * stdio-common/printf.h: Likewise.
13649 * stdlib/bits/stdlib.h: Likewise.
13650 * stdlib/fmtmsg.h: Likewise.
13651 * stdlib/monetary.h: Likewise.
13652 * stdlib/stdlib.h: Likewise.
13653 * stdlib/ucontext.h: Likewise.
13654 * streams/stropts.h: Likewise.
13655 * string/argz.h: Likewise.
13656 * string/bits/string2.h: Likewise.
13657 * string/string.h: Likewise.
13658 * string/strings.h: Likewise.
13659 * sunrpc/rpc/auth.h: Likewise.
13660 * sunrpc/rpc/auth_des.h: Likewise.
13661 * sunrpc/rpc/clnt.h: Likewise.
13662 * sunrpc/rpc/netdb.h: Likewise.
13663 * sunrpc/rpc/pmap_clnt.h: Likewise.
13664 * sunrpc/rpc/xdr.h: Likewise.
13665 * sysdeps/generic/inttypes.h: Likewise.
13666 * sysdeps/generic/net/if.h: Likewise.
13667 * sysdeps/generic/sys/swap.h: Likewise.
13668 * sysdeps/gnu/net/if.h: Likewise.
13669 * sysdeps/gnu/utmpx.h: Likewise.
13670 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13671 * sysdeps/i386/i486/bits/string.h: Likewise.
13672 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13673 * sysdeps/s390/bits/string.h: Likewise.
13674 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13675 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13676 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13677 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13678 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13679 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13680 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13681 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13682 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13683 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13684 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13685 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13686 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13687 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13688 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13689 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13690 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13691 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13692 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13693 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13694 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13695 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13696 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13697 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13698 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13699 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13700 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13701 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13702 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13703 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13704 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13705 * sysvipc/sys/ipc.h: Likewise.
13706 * sysvipc/sys/msg.h: Likewise.
13707 * sysvipc/sys/sem.h: Likewise.
13708 * sysvipc/sys/shm.h: Likewise.
13709 * termios/termios.h: Likewise.
13710 * time/sys/time.h: Likewise.
13711 * time/time.h: Likewise.
13712 * wcsmbs/bits/wchar2.h: Likewise.
13713 * wcsmbs/uchar.h: Likewise.
13714 * wcsmbs/wchar.h: Likewise.
13715 * wctype/wctype.h: Likewise.
13716
0269750c
UD
13717 [BZ #13551]
13718 * Makeconfig: Remove all but ELF support including AIX support.
13719 * Makerules: Likewise.
13720 * config.h.in: Likewise.
13721 * config.make.in: Likewise.
13722 * configure: Likewise.
13723 * configure.in: Likewise.
13724 * csu/Makefile: Likewise.
13725 * csu/version.c: Likewise.
13726 * debug/Makefile: Likewise.
13727 * dlfcn/Makefile: Likewise.
13728 * elf/Makefile: Likewise.
13729 * extra-lib.mk: Likewise.
13730 * iconv/Makefile: Likewise.
13731 * include/libc-symbols.h: Likewise.
13732 * include/shlib-compat.h: Likewise.
13733 * resolv/Makefile: Likewise.
13734 * resolv/res_libc.c: Likewise.
13735 * rt/Makefile: Likewise.
13736 * sysdeps/i386/asm-syntax.h: Likewise.
13737 * sysdeps/i386/sysdep.h: Likewise.
13738 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13739 * sysdeps/mach/sysdep.h: Likewise.
13740 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13741 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13742 * sysdeps/s390/asm-syntax.h: Likewise.
13743 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13744 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13745 * sysdeps/sh/sysdep.h: Likewise.
13746 * sysdeps/unix/sparc/sysdep.h: Likewise.
13747 * sysdeps/wordsize-32/divdi3.c: Likewise.
13748 * sysdeps/x86_64/sysdep.h: Likewise.
13749
00bbd29b
UD
13750 * argp/Versions: Remove _argp_unlock_xxx.
13751
13752 [BZ #13559]
13753 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13754 * abilist/libBrokenLocale.abilist: Likewise.
13755 * abilist/libanl.abilist: Likewise.
13756 * abilist/libc.abilist: Likewise.
13757 * abilist/libcrypt.abilist: Likewise.
13758 * abilist/libdl.abilist: Likewise.
13759 * abilist/libm.abilist: Likewise.
13760 * abilist/libnsl.abilist: Likewise.
13761 * abilist/libpthread.abilist: Likewise.
13762 * abilist/libresolv.abilist: Likewise.
13763 * abilist/librt.abilist: Likewise.
13764 * abilist/libthread_db.abilist: Likewise.
13765 * abilist/libutil.abilist: Likewise.
13766 * abilist/libnss_db.abilist: New file.
13767
13768 * scripts/abilist.awk: Add support for indirect functions.
13769
a2693a0e
UD
13770 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13771
3f05895f
UD
13772 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13773
ecb6fb48
UD
13774 * shlib-versions: Remove entries for ports architectures.
13775
664f8cb9
UD
13776 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13777 files in ports.
13778 * elf/stackguard-macros.h: Remove support for IA-64.
13779 * elf/tst-auditmod1.c: Likewise.
13780 * sysdeps/generic/ldsodefs.h: Likewise.
13781
7ae81d88
UD
13782 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13783 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13784 configure files.
13785
bdeba135
UD
13786 [BZ #13552]
13787 * configure.in: Remove --enable-omitfp support.
13788 * FAQ.in: Adjust.
13789 * config.make.in: Likewise.
13790 * Makeconfig: Likewise.
13791 * manual/install.texi: Likewise.
13792
d75a0a62
UD
13793 In case anyone cares, the IA-64 architecture could move to ports.
13794 * sysdeps/ia64/*: Removed.
13795 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13796 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13797
dcc9756b
UD
13798 [BZ #13555]
13799 * configure.in: Remove entries for unsupported architectures.
13800
d3761ebc 13801 [BZ #13533]
9954432e
UD
13802 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13803 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13804 routines.
13805 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13806 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13807 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13808 fall back to using wcrtomb.
13809 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13810 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13811 renaming.
13812 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13813 * wcsmbs/tst-c16c32-1.c: New file.
13814
13815 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13816 local variable.
13817
c3a87236
UD
13818 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13819
28926a1b
UD
13820 * elf/tst-unique3.cc: Add explicit declaration of gets.
13821 * elf/tst-unique3lib.cc: Likewise.
13822 * elf/tst-unique3lib2.cc: Likewise.
13823 * elf/tst-unique4.cc: Likewise.
13824
df78418a
UD
13825 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13826
8ecd6b2a
JM
138272012-01-06 Joseph Myers <joseph@codesourcery.com>
13828
13829 [BZ #13566]
13830 * assert/assert.h (static_assert): Don't define for C++.
13831 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13832 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13833
9f115170
UD
138342012-01-03 Ulrich Drepper <drepper@gmail.com>
13835
5e0d0300
UD
13836 * iconv/loop.c (single loop): Fix assertion in storing of
13837 remaining bytes.
13838
9f115170
UD
13839 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13840
81fb02b0
UD
138412012-01-01 Ulrich Drepper <drepper@gmail.com>
13842
13843 * posix/getconf.c: Update copyright year.
13844 * nss/getent.c: Likewise.
a316c1f6 13845 * nss/makedb.c: Likewise.
81fb02b0
UD
13846 * iconv/iconvconfig.c: Likewise.
13847 * iconv/iconv_prog.c: Likewise.
13848 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13849 * elf/pldd.c: Likewise.
13850 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13851 * catgets/gencat.c: Likewise.
13852 * csu/version.c: Likewise.
13853 * elf/ldd.bash.in: Likewise.
13854 * elf/sprof.c (print_version): Likewise.
13855 * locale/programs/locale.c: Likewise.
13856 * locale/programs/localedef.c: Likewise.
a316c1f6 13857 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13858 * nscd/nscd.c (print_version): Likewise.
13859 * debug/xtrace.sh: Likewise.
13860 * malloc/memusage.sh: Likewise.
13861 * malloc/mtrace.pl: Likewise.
13862 * debug/catchsegv.sh: Likewise.
13863
2ba92745
JJ
138642011-12-30 Jakub Jelinek <jakub@redhat.com>
13865
13866 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13867 pure attribute.
13868
dadebdae
UD
138692011-12-24 Ulrich Drepper <drepper@gmail.com>
13870
d3761ebc 13871 [BZ #13533]
db6af3eb
UD
13872 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13873 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13874 transformations.
13875 * iconv/gconv_int.h: Likewise.
13876 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13877 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13878 from libc for GLIBC_2.16.
13879 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13880 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13881 * wcsmbs/uchar.h: Really define mbstate_t.
13882 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13883 * wcsmbs/c16rtomb.c: New file.
13884 * wcsmbs/mbrtoc16.c: New file.
13885 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13886 for C/POSIX locale.
13887 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13888 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13889
dadebdae
UD
13890 * wcsmbs/wchar.h: Add missing __restrict.
13891
67371b56
UD
138922011-12-23 Ulrich Drepper <drepper@gmail.com>
13893
74033a25
UD
13894 [BZ #13532]
13895 * time/Makefile (routines): Add timespec_get.
13896 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13897 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13898 timespec for ISO C11.
13899 * time/timespec_get.c: New file.
13900 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13901 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13902
380d7e87
UD
13903 [BZ #13531]
13904 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13905 * stdlib/stdlib.h: Declare aligned_alloc.
13906 * Versions.def: Add GLIBC_2.16 for libc.
13907 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13908
4e9e7a35
UD
13909 [BZ 13527]
13910 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13911 ISO C11.
13912
380d7e87 13913 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13914 code.
13915
03a71829
UD
13916 [BZ #13528]
13917 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13918
839e283e
UD
13919 [BZ #13529]
13920 * assert/assert.h (static_assert): Define.
13921
ce5294e2 13922 * version.h: Update for 2.16 development version.
90fa7312 13923
8d44e150 13924 [BZ #13526]
d7809905
UD
13925 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13926 _ISOC11_SOURCE.
13927
c0da14cd
UD
13928 * version.h (RELEASE): Bump for 2.15 release.
13929 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13930
530a3249
MP
13931 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13932 Patch by Marek Polacek <mpolacek@redhat.com>.
13933
67371b56
UD
13934 * bits/byteswap.h: Protect long long constants with __extension__.
13935 * sysdeps/i386/bits/byteswap.h: Likewise.
13936 * sysdeps/ia64/bits/byteswap.h: Likewise.
13937 * sysdeps/s390/bits/byteswap.h: Likewise.
13938 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13939
15db4de1
LD
139402011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13941
13942 [BZ #13540]
bbe315ea
LD
13943 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13944 destination buffer.
15db4de1
LD
13945 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13946
2b2596b1
MP
139472011-12-23 Marek Polacek <polacek@redhat.com>
13948
13949 * elf/dl-addr.c (determine_info): Add inline keyword.
13950 * elf/tst-auditmod4b.c (check_avx): Likewise.
13951 * elf/tst-auditmod6b.c (check_avx): Likewise.
13952 * elf/tst-auditmod6c.c (check_avx): Likewise.
13953 * elf/tst-auditmod7b.c (check_avx): Likewise.
13954
70c6c246
UD
139552011-12-23 Ulrich Drepper <drepper@gmail.com>
13956
13957 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13958 !__SSE_MATH__.
13959
c044cf14
LD
139602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13961
15db4de1 13962 [BZ #13540]
c044cf14
LD
13963 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13964 processing for last bytes.
13965
6b13d9d9
BH
139662011-08-06 Bruno Haible <bruno@clisp.org>
13967
d455f537
BH
13968 [BZ #13061]
13969 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13970 U+0385, not to U+1FEE.
13971
6b13d9d9
BH
13972 [BZ #13062]
13973 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13974 entry for U+00A5 U+0301.
13975
db910efd
UD
139762011-12-22 Ulrich Drepper <drepper@gmail.com>
13977
27deeafc
UD
13978 [BZ #13166]
13979 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13980 buffer for the output is too small.
13981
aed9d171
UD
13982 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13983 optimization.
13984
db910efd
UD
13985 [BZ #13185]
13986 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13987 SSE flags if possible.
13988
2bd779ae
LD
139892011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13990
e7f9dac3 13991 [BZ #13540]
2bd779ae
LD
13992 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13993 processing for last bytes.
13994
154bfc16
JM
139952011-12-22 Joseph Myers <joseph@codesourcery.com>
13996
13997 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13998 (syscall-list-default-options, syscall-list-default-condition)
13999 (syscall-list-includes): Define.
14000 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14001 list of ABIs and options and #if conditions for each ABI. Do not
14002 handle common syscalls between ABIs specially.
14003 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14004 Remove.
14005 (syscall-list-variants, syscall-list-32bit-options)
14006 (syscall-list-32bit-condition, syscall-list-64bit-options)
14007 (syscall-list-64bit-condition): Define.
14008 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14009 (syscall-list-variants, syscall-list-32bit-options)
14010 (syscall-list-32bit-condition, syscall-list-64bit-options)
14011 (syscall-list-64bit-condition): Define.
14012 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14013 Remove.
14014 (syscall-list-variants, syscall-list-32bit-options)
14015 (syscall-list-32bit-condition, syscall-list-64bit-options)
14016 (syscall-list-64bit-condition): Define.
14017 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14018 Remove.
14019 (syscall-list-variants, syscall-list-32bit-options)
14020 (syscall-list-32bit-condition, syscall-list-64bit-options)
14021 (syscall-list-64bit-condition): Define.
14022
21eaf3a5
UD
140232011-12-22 Ulrich Drepper <drepper@gmail.com>
14024
16c6f992
UD
14025 * locale/iso-639.def: Add brx entry.
14026
41043168
UD
14027 [BZ #13328]
14028 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14029 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14030
21eaf3a5
UD
14031 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14032 __feraiseexcept_renamed.
14033
e3a851a2
UD
140342011-12-21 Ulrich Drepper <drepper@gmail.com>
14035
4920765e
UD
14036 [BZ #13538]
14037 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14038 EPOLLET with unsigned values.
14039 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14040 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14041
e3a851a2
UD
14042 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14043 to large cancellation.
14044 * math/s_cacoshf.c: Likewise.
14045 * math/s_cacoshl.c: Likewise.
14046
b27e24b8
RK
140472011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14048
14049 [BZ #13305]
aebefeee 14050 [BZ #12786]
b27e24b8
RK
14051 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14052 * math/s_cacoshf.c: Likewise.
14053 * math/s_cacoshl.c: Likewise.
14054
ee190f67
UD
140552011-12-21 Ulrich Drepper <drepper@gmail.com>
14056
14057 [BZ #13439]
14058 * iconv/gconv.h: Define __GCONV_SWAP.
14059 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14060 * iconvdata/utf-16.c: Likewise.
14061 * iconvdata/utf-32.c: Likewise.
14062
707f25df
AS
140632011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14064
14065 [BZ #13524]
14066 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14067 numerator after shifting it by one limb.
14068
d2daaa1e
RÁE
140692011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14070
14071 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14072 under [__USE_EXTERN_INLINES].
14073
a4647e72
UD
140742011-12-17 Ulrich Drepper <drepper@gmail.com>
14075
14076 [BZ #13446]
14077 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14078
f0b264f1
AZ
140792011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14080
14081 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14082 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14083 optimized code.
14084 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14085 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14086 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14087 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14088 for strncasecmp/strncasecmp_l compilation.
14089 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14090 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14091
8ef4f244
MP
140922011-12-08 Marek Polacek <mpolacek@redhat.com>
14093
14094 [BZ #13484]
14095 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14096 of __asm__.
14097
97ac2654
UD
140982011-12-17 Ulrich Drepper <drepper@gmail.com>
14099
14100 [BZ #13506]
14101 * time/tzfile.c (__tzfile_read): Check values from file header.
14102
91d2a845
WS
141032011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14104
14105 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14106 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14107 * powerpc/powerpc32/dl-start.S: Likewise.
14108 * powerpc/powerpc32/elf/start.S: Likewise.
14109 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14110 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14111 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14112 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14113 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14114 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14115 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14116 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14117 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14118 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14119 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14120 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14121 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14122 * powerpc/powerpc32/memset.S: Likewise.
14123 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14124 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14125 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14126 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14127 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14128 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14129 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14130 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14131 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14132 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14133 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14134 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14135 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14136
a1267ba1
AZ
141372011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14138
14139 * math/libm-test.inc: Added more nearbyint tests.
14140 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14141 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14142 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14143 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14144
ad8ac1bd
RL
141452011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14146
14147 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14148 FD_CLOEXEC.
14149
1d3e4b61
UD
141502011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14151
14152 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14153 Add wcscpy-ssse3 wcscpy-c.
14154 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14155 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14156 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14157 * sysdeps/x86_64/wcschr.S: New file.
14158 * sysdeps/x86_64/wcsrchr.S: New file.
14159 * string/test-strcmp.c: Remove checking of wcscmp function for
14160 wrong alignments.
14161 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14162 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14163 wcsrchr-sse2 wcsrchr-c.
14164 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14165 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14166 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14167 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14168 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14169 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14170 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14171 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14172 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14173 * wcsmbc/wcschr.c (WCSCHR): New macro.
14174
5b330a2d
UD
141752011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14176
14177 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14178 * wcsmbs/test-wcsrchr.c: New file.
14179 * string/test-strrchr.c: Add wcsrchr support.
14180 (WIDE): New macro.
14181 * wcsmbs/test-wcscpy.c: New file.
14182 * string/test-strcpy.c: Add wcscpy support.
14183 (WIDE): New macro.
26428b7c 14184
f039c043
UD
141852011-12-10 Ulrich Drepper <drepper@gmail.com>
14186
14187 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14188 the inner loop.
14189
850fb039
AS
141902011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14191
14192 [BZ #13472]
14193 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14194
4efbd5cb
UD
141952011-12-04 Ulrich Drepper <drepper@gmail.com>
14196
52ff5dd0 14197 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14198 Minor optimizations.
52ff5dd0 14199
4efbd5cb
UD
14200 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14201 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14202 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14203
8a426e12
UD
142042011-12-03 Ulrich Drepper <drepper@gmail.com>
14205
aff2453d
UD
14206 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14207 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14208 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14209 for gcc to avoid warnings.
14210 * inet/Makefile (tests): Add tst-checks.
14211 * inet/tst-checks.c: New file.
14212
14213 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14214 warning.
14215
14216 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14217 __wmemcmp_sse2.
14218
14219 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14220 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14221
8a426e12
UD
14222 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14223
9bea3473
UD
142242011-12-02 Ulrich Drepper <drepper@gmail.com>
14225
3a965496
UD
14226 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14227 problem.
14228
9bea3473
UD
14229 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14230
f101631b
UD
142312011-11-29 Joseph Myers <joseph@codesourcery.com>
14232
14233 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14234 conditional on GCC version.
14235 (__arch_compare_and_exchange_val_8_acq)
14236 (__arch_compare_and_exchange_val_16_acq)
14237 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14238 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14239 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14240
a98275aa
UD
142412011-12-02 Joseph Myers <joseph@codesourcery.com>
14242
14243 * sysdeps/sh/backtrace.c: New file.
14244
d4cc29a2
AS
142452011-12-02 Andreas Schwab <schwab@redhat.com>
14246
14247 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14248 parenthesis.
14249
6257af2d
AS
142502011-12-01 Andreas Schwab <schwab@redhat.com>
14251
14252 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14253 falling back to utime.
14254
b5f44c1a
AS
142552011-11-30 Andreas Schwab <schwab@redhat.com>
14256
14257 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14258 expectations for float.
14259
f3a6cc0a
AS
142602011-11-29 Andreas Schwab <schwab@redhat.com>
14261
14262 * locale/weight.h (findidx): Add parameter len.
14263 * locale/weightwc.h (findidx): Likewise.
14264 * posix/fnmatch_loop.c (FCT): Adjust caller.
14265 * posix/regcomp.c (build_equiv_class): Likewise.
14266 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14267 * posix/regexec.c (check_node_accept_bytes): Likewise.
14268 * string/strcoll_l.c (STRCOLL): Likewise.
14269 * string/strxfrm_l.c (STRXFRM): Likewise.
14270
9d65ea3a
UD
142712011-11-17 Ulrich Drepper <drepper@gmail.com>
14272
14273 * Makefile.in: Remove CVSOPT handling.
14274 * configure.in: Remove use of AC_REVISION.
14275 * iconvdata/Makefile (distribute): No need to filter out CVS.
14276 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14277 handling.
14278
5583a086
AS
142792011-11-16 Andreas Schwab <schwab@redhat.com>
14280
14281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14282 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14283 [USE_AS_STRNCASECMP_L]: Likewise.
14284 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14285 NO_TLS_DIRECT_SEG_REFS.
14286 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14287 Fix argument offsets for non-PIC.
14288 [USE_AS_STRNCASECMP_L]: Likewise.
14289 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14290 NO_TLS_DIRECT_SEG_REFS.
14291
d62a8200
UD
142922011-11-15 Ulrich Drepper <drepper@gmail.com>
14293
9d65ea3a 14294 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14295 O_CLOEXEC.
14296 * locale/loadlocale.c (_nl_load_locale): Likewise.
14297
09f93bd3
AS
142982011-11-15 Andreas Schwab <schwab@redhat.com>
14299
446514f9
AS
14300 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14301 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14302 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14303 (SYSCALL_GETTIME): Set errno on error.
14304
09f93bd3
AS
14305 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14306 count references to noai6ai_cached.
14307
312be3f9
UD
143082011-11-15 Ulrich Drepper <drepper@gmail.com>
14309
14310 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14311
14312 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14313 FD_CLOEXEC for /proc/self/maps.
14314
14315 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14316 FD_CLOEXEC for /proc/meminfo.
14317
14318 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14319 gai.conf.
14320
14321 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14322 FD_CLOEXEC for given file.
14323
14324 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14325
14326 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14327 FD_CLOEXEC for /etc/hosts.
14328 (_gethtent): Likewise.
14329
14330 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14331
14332 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14333 cancellation and set FD_CLOEXEC for /etc/netgroup.
14334
14335 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14336 reading /etc/publickey.
14337
14338 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14339 allow cancellation when reading /etc/group.
14340
14341 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14342 cancellation.
14343 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14344
14345 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14346 when using data file.
14347
14348 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14349
14350 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14351 (write_nis_obj): Use "c" and "e" in fopen.
14352
14353 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14354
14355 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14356
14357 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14358
14359 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14360
14361 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14362 locale.alias.
14363
14364 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14365
14366 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14367
14368 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14369
14370 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14371 file parsing and set FD_CLOEXEC.
14372
82af0fa8
UD
143732011-11-14 Ulrich Drepper <drepper@gmail.com>
14374
14375 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14376
a5fb313c
AS
143772011-11-14 Andreas Schwab <schwab@redhat.com>
14378
14379 * malloc/arena.c (arena_get2): Don't call reused_arena when
14380 _int_new_arena failed.
14381
6abf3465
UD
143822011-11-14 Ulrich Drepper <drepper@gmail.com>
14383
14384 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14385 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14386 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14387 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14388 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14389 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14390 to compile strcasecmp and strncasecmp.
14391 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14392 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14393
14394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14395
76e3966e
UD
143962011-11-13 Ulrich Drepper <drepper@gmail.com>
14397
14398 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14399 locale-defines.sym to gen-as-const-headers.
14400 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14401 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14403 to compile strcasecmp and strncasecmp.
14404 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14405 strcasecmp_l and strncasecmp_l.
14406 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14407 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14408 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14409 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14410 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14411 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14412 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14413 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14414 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14415 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14416 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14417
ab26144e
UD
144182011-11-12 Ulrich Drepper <drepper@gmail.com>
14419
7edb22ef
UD
14420 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14421 result of SYSDEP_GETTIME_CPU to retval.
14422 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14423 parameter list to macro. Remove trailing semicolon. Adjust users.
14424
9694fc44
UD
14425 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14426 variable.
14427
8ad89ef8
UD
14428 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14429 mantissa words.
14430 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14431
0c822ef9
UD
14432 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14433 from unused variable.
14434
874e0564
UD
14435 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14436 DWARF definitions.
14437 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14438 for assembling.
14439
3a2edc79
UD
14440 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14441 over namespaces.
14442
f3c2577f
UD
14443 * sunrpc/rpc_prot.c (rejected): Fix case value.
14444
294ce126
UD
14445 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14446 unsigned long long int to avoid warnings in shift.
14447
5e2b63c6
UD
14448 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14449 of use of trans.
14450 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14451 variable tmp.
14452
e7f4b08e
UD
14453 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14454 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14455 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14456
ab26144e
UD
14457 * nis/nis_table.c (nis_list): Use variable of correct type for
14458 result of __follow_path call.
14459
8a6d5255
AZ
144602011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14461
14462 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14463 of math functions ceil, trunc, floor, round, and sqrt, when
14464 avaliable on the platform.
14465 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14466 name clash.
14467 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14468 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14469 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14470
aaddc98c
MP
144712011-10-30 Marek Polacek <mpolacek@redhat.com>
14472
14473 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14474 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14475
95b7042b
RM
144762011-11-11 Roland McGrath <roland@hack.frob.com>
14477
14478 * include/unistd.h: Fix __readlink return type.
14479 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14480
57769839
UD
144812011-11-11 Ulrich Drepper <drepper@gmail.com>
14482
14483 * stdlib/ucontext.h: Undo last change for makecontext.
14484
edc5984d
AS
144852011-11-11 Andreas Schwab <schwab@redhat.com>
14486
98591e58
AS
14487 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14488
edc5984d
AS
14489 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14490 * setjmp/setjmp.h: Mark functions as non-leaf.
14491 * setjmp/bits/setjmp2.h: Likewise.
14492 * stdlib/ucontext.h: Likewise.
14493
77cdc054
AS
144942011-11-10 Andreas Schwab <schwab@redhat.com>
14495
14496 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14497 (reused_arena): Don't check arena limit.
14498 (arena_get2): Atomically check arena limit.
14499
fe72eebd
UD
145002011-11-08 Ulrich Drepper <drepper@gmail.com>
14501
5f078c32
UD
14502 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14503 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14504
fe72eebd
UD
14505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14506 instructions.
14507
ae1bc2fa
AS
145082011-11-07 Andreas Schwab <schwab@redhat.com>
14509
7583a88d
AS
14510 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14511 handler when locking.
14512
ae1bc2fa
AS
14513 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14514 Fix size of allocated buffer.
14515
10fb0bfa
AS
145162011-11-04 Andreas Schwab <schwab@redhat.com>
14517
998832a4
AS
14518 [BZ #10103]
14519 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14520 declarations for long double functions.
14521 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14522
10fb0bfa
AS
14523 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14524
3d7ba52b
AS
145252011-11-03 Andreas Schwab <schwab@redhat.com>
14526
a9ae54a1
AS
14527 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14528 installed.
14529
3d7ba52b
AS
14530 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14531 is disabled.
14532
bc8db248
ST
145332011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14534
14535 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14536
45b96dd6
AS
145372011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14538
647776f6
AS
14539 * include/alloca.h (stackinfo_alloca_round): Define.
14540 (extend_alloca): Use it.
14541 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14542 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14543 here.
14544
d91a8b93
AS
14545 * scripts/check-local-headers.sh: Ignore libaudit.h.
14546
45b96dd6
AS
14547 * nscd/Makefile (extra-objs): Make recursively expanded.
14548
432d41ce
UD
145492011-11-01 Ulrich Drepper <drepper@gmail.com>
14550
34372fc6
UD
14551 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14552 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14553
fadb59f8
UD
14554 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14555 * posix/tst-rfc3484-2.c: Likewise.
14556 * posix/tst-rfc3484-3.c: Likewise.
14557
78239589
UD
14558 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14559 process_vm_writev.
14560 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14561 process_vm_writev.
14562 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14563 process_vm_writev from libc using GLIBC_2.15 version.
14564
432d41ce
UD
14565 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14566
02f9c6cf
PP
145672011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14568
14569 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14570 stack usage.
14571
3a2c0242
UD
145722011-10-31 Ulrich Drepper <drepper@gmail.com>
14573
f4ec4833
UD
14574 [BZ #13367]
14575 * nss/getent.c (initgroups_keys): Show error message in case no group
14576 names are given.
14577
3a2c0242
UD
14578 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14579 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14580 __bump_nl_timestamp.
14581 * nscd/connections (nscd_init): When host database is served open
14582 netlink socket and request notification about configuration changes.
14583 (main_loop_poll): Track netlink file descriptor and bump timestamp
14584 in case data becomes available.
14585 (main_loop_epoll): Likewise.
14586 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14587 (database_pers_head): Add extra_data fileds.
14588 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14589 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14590 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14591 Adjust caller.
14592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14593 in6ai data, call __free_in6ai.
14594 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14595 Add -DHAVE_NETLINK.
14596 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14597 interface information. Reuse previous data if netlink timestamp
14598 is not changed.
14599 (__bump_nl_timestamp): New function.
14600 (__free_in6ai): New function.
14601
636064eb
UD
146022011-10-30 Ulrich Drepper <drepper@gmail.com>
14603
14604 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14605 close_not_cancel_no_status here.
14606 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14607
9beb2334
UD
146082011-10-29 Ulrich Drepper <drepper@gmail.com>
14609
6ef76f3b
UD
14610 [BZ #13276]
14611 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14612 return value.
14613
0ffc4f3e 14614 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14615 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14616 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14617
cb95113e
UD
146182011-07-03 Andreas Jaeger <aj@suse.de>
14619
14620 [BZ #10709]
14621 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14622 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14623 * math/libm-test.inc (sin_test): Add test case.
14624
a1b560ff
UD
146252011-10-29 Ulrich Drepper <drepper@gmail.com>
14626
c9aaface
UD
14627 [BZ #13337]
14628 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14629 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14630
d272e7f1
UD
14631 * elf/chroot_canon.c (chroot_canon): Cleanups.
14632
1bc33071
UD
14633 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14634
1760874d
TJ
14635 [BZ #13335]
14636 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14637 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14638
51d91b18
UD
14639 * string/test-strchr.c: Make usable for strchrnul testing.
14640 * string/test-strchrnul.c: New file.
14641 * string/Makefile (strop-tests): Add strchrnul.
14642
a1b560ff 14643 * po/it.po: Update from translation team.
b611fb81 14644 * po/es.po: Likewise.
a1b560ff 14645
a5b81e1f
UD
146462011-10-28 Ulrich Drepper <drepper@gmail.com>
14647
fd52bc6d
UD
14648 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14649 the three constants needed as parameters. Drop the others.
14650 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14651 __m128i_strloadu_tolower.
52e4b9eb
UD
14652 Create and initialize variable zero and use it in all the places
14653 where _mm_setzero_si128 was used.
fd52bc6d 14654
a5b81e1f
UD
14655 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14656 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14657 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14658 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14659 anymore.
14660 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14661 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14662 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14663 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14664 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14665 __mpranred, __mptan.
14666 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14667 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14668 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14669 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14670 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14671 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14672 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14673 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14674 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14675
b4343346
AS
146762011-10-28 Andreas Schwab <schwab@redhat.com>
14677
0c92d8a8
AS
14678 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14679 redefine if SHARED.
14680 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14681
b4343346
AS
14682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14683 wide char related routines to wcsmbs subdir.
14684
3871f58f
AS
146852011-10-27 Andreas Schwab <schwab@redhat.com>
14686
14687 [BZ #13344]
14688 * misc/sys/cdefs.h (__THROWNL): Define.
14689 * posix/unistd.h: Use __THREADNL instead of __THREAD
14690 for memory synchronization functions.
14691
94d44d9f
RM
146922011-10-26 Roland McGrath <roland@hack.frob.com>
14693
21b64b15 14694 [BZ #13349]
94d44d9f
RM
14695 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14696 doesn't exist.
14697 * manual/stdio.texi (Obstack Streams): Node removed.
14698
f6ce9294
AS
146992011-10-26 Andreas Schwab <schwab@redhat.com>
14700
80479147
AS
14701 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14702 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14703 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14704
f6ce9294
AS
14705 * math/math_private.h (math_force_eval): Allow non-addressable
14706 arguments.
14707 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14708
618280a1
UD
147092011-10-25 Ulrich Drepper <drepper@gmail.com>
14710
e0016b11
UD
14711 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14712 file is not needed.
14713
14714 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14715 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14716 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14717 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14718 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14719 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14720 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14721 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14722 Add AVX variants.
14723 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14724 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14725 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14726 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14727 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14728 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14729 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14730 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14731 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14732 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14733 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14734 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14735 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14736 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14737 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14738 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14739 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14740 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14741 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14742
14743 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14744 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14745
618280a1
UD
14746 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14747 place. Use VEX encoding when compiling for AVX.
14748
37822576
AS
147492011-10-25 Andreas Schwab <schwab@redhat.com>
14750
1f1e1947
AS
14751 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14752 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14753
37822576
AS
14754 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14755
31ea014d
UD
147562011-10-25 Ulrich Drepper <drepper@gmail.com>
14757
d7826aa1 14758 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14759 useless if() expression.
d7826aa1
UD
14760 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14761 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14762 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14763 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14764 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14765 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14766 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14767 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14768 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14769 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14770 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14771 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14772 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14773 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14774 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14775 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14776 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14777 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14778 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14779
31ea014d
UD
14780 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14781
16437fec
AS
147822011-10-25 Andreas Schwab <schwab@redhat.com>
14783
14784 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14785 condition.
14786 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14787
31d3cc00
UD
147882011-10-25 Ulrich Drepper <drepper@gmail.com>
14789
14790 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14791 .text section. Avoid duplicate constants.
14792 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14793 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14794 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14798 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14800 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14801 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14802 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14803 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14804 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14805 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14806 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14807 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14808 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14809 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14815 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14816 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14817 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14818 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14819 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14820 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14821 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14822 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14823 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14824 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14825 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14826 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14827 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14828 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14830 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14831 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14832 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14833 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14834 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14835 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14836 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14837
58985aa9
UD
148382011-10-24 Ulrich Drepper <drepper@gmail.com>
14839
202c9deb
UD
14840 * sysdeps/x86_64/dla.h: Move to ...
14841 * sysdeps/x86_64/fpu/dla.h: ...here.
14842 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14843 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14844
af968f62
UD
14845 * config.make.in: Add have-mfma4 entry.
14846 * configure.in: Substitute libc_cv_cc_fma4.
14847 * math/Makefile (dbl-only-routines): Add sincostab.
14848 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14849 Use __sincostab not sincos.
14850 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14851 name is a macro.
14852 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14855 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14856 using __copysign.
14857 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14858 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14859 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14860 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14861 and __inv.
14862 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14863 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14864 __copysign.
14865 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14866 define aliases when function name is a macro.
14867 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14868 sysdeps/ieee754/dbl-64/sincos.tbl.
14869 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14870 fma4-enabled routines.
14871 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14872 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14873 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14874 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14875 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14876 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14877 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14878 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14879 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14880 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14881 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14882 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14883 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14884 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14885 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14886 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14887 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14888 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14889 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14890 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14891 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14892 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14893 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14894 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14895 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14896 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14897 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14898 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14899 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14900 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14901
58985aa9
UD
14902 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14903 rename.
14904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14909 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14910 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14911 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14912
a201fbcf
AS
149132011-10-24 Andreas Schwab <schwab@redhat.com>
14914
14915 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14916
fc2ee42a
LD
149172011-10-23 Ulrich Drepper <drepper@gmail.com>
14918
bb3129bd
UD
14919 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14920
0275fff8
UD
14921 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14922 prediction.
14923 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14924
2fa2ae85
UD
14925 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14926 Remove unused variable magic_bits.
14927 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14928
fc2ee42a
LD
14929 * string/strnlen.c: Define and use STRNLEN macro.
14930 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14931 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14932 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14933 * wcsmbs/wcslen.c: Define and use WCSLEN.
14934 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14935 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14936 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14937 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14938 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14939 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14940 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14941
ce7dd29f
LD
149422011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14943
14944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14945 strnlen-sse2-no-bsf.
14946 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14947 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14948 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14949 Add strnlen support.
14950 (USE_AS_STRNLEN): New macro.
14951 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14952 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14953 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14954 * sysdeps/x86_64/wcslen.S: New file.
14955
979c70a3
MZ
149562011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14957
14958 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14959 XMM-moves are used for copying on small sizes.
14960
2d09f82f
LD
149612011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14962
14963 * wcsmbs/Makefile (strop-tests): Add wcschr.
14964 * wcsmbs/test-wcschr.c: New file.
14965 * string/test-strchr.c: Update.
14966 Add wcschr support.
14967 (WIDE): New macro.
14968
619fccca
LD
149692011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14970
2d09f82f 14971 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14972 * wcsmbs/test-wcslen.c: New file.
14973 * string/test-strlen.c: Update.
14974 Add wcslen support.
14975 (WIDE): New macro.
14976
09f699ea
UD
149772011-10-23 Ulrich Drepper <drepper@gmail.com>
14978
14979 * po/it.po: Update from translation team.
14980
95584d3b
LD
149812011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14982
14983 * sysdeps/x86_64/wcscmp.S: Update.
14984 Fix wrong comparison semantics.
14985 wcscmp shall use signed comparison not unsigned.
14986 Don't use substraction to avoid overflow bug.
14987 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14988 * wcsmbc/wcscmp.c: Likewise.
14989 * string/test-strcmp.c: Likewise.
14990 Add new tests to check cases with negative values.
14991
c8b3296b
UD
149922011-10-23 Ulrich Drepper <drepper@gmail.com>
14993
14994 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14995 * sysdeps/x86_64/dla.h: ...here. New file.
14996 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15001 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15003 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15004 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15005
246ad57a
AS
150062011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15007
15008 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15009 __ynl_finite aliases.
15010
a1a87169
UD
150112011-10-22 Ulrich Drepper <drepper@gmail.com>
15012
0d355eb7
UD
15013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15014
a1a87169
UD
15015 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15016 define DLA_FMA.
15017 [DLA_FMA] (EMULV): Use DLA_FMA.
15018 [DLA_FMA] (MUL12): Use EMULV.
15019 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15020 that are not needed.
15021 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15025 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15026 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15027 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15028
ee2aafe0
AS
150292011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15030
15031 * math/s_nan.c: Undef __nan.
15032 * math/s_nanf.c: Undef __nanf.
15033 * math/s_nanl.c: Undef __nanl.
15034 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15035 "math_private.h".
15036
bc62c2fb
UD
150372011-10-22 Ulrich Drepper <drepper@gmail.com>
15038
77425c63
UD
15039 * math/s_catan.c: Add branch predictions.
15040 * math/s_catanf.c: Likewise.
15041 * math/s_catanh.c: Likewise.
15042 * math/s_catanhf.c: Likewise.
15043 * math/s_catanhl.c: Likewise.
15044 * math/s_catanl.c: Likewise.
15045 * math/s_cexp.c: Likewise.
15046 * math/s_cexpf.c: Likewise.
15047 * math/s_cexpl.c: Likewise.
15048 * math/s_clog.c: Likewise.
15049 * math/s_clog10.c: Likewise.
15050 * math/s_clog10f.c: Likewise.
15051 * math/s_clog10l.c: Likewise.
15052 * math/s_clogf.c: Likewise.
15053 * math/s_clogl.c: Likewise.
15054 * math/s_csqrt.c: Likewise.
15055 * math/s_csqrtf.c: Likewise.
15056 * math/s_csqrtl.c: Likewise.
15057 * math/s_ctanf.c: Likewise.
15058 * math/s_ctanh.c: Likewise.
15059 * math/s_ctanhf.c: Likewise.
15060 * math/s_ctanhl.c: Likewise.
15061 * math/s_ctanl.c: Likewise.
15062
bc62c2fb
UD
15063 * math/math_private.h: Define __nan, __nanf, __nanl.
15064 * math/s_cacosh.c: Include <math_private.h>.
15065 * math/s_cacoshl.c: Likewise.
15066 * math/s_casinh.c: Likewise.
15067 * math/s_casinhf.c: Likewise.
15068 * math/s_casinhl.c: Likewise.
15069 * math/s_ccos.c: Rely entire on ccosh.
15070 * math/s_ccosf.c: Rely entire on ccoshf.
15071 * math/s_ccosl.c: Rely entirely on ccoshl.
15072 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15073 Remove tests for FE_INVALID.
15074 * math/s_ccoshf.c: Likewise.
15075 * math/s_ccoshl.c: Likewise.
15076 * math/s_csin.c: Likewise.
15077 * math/s_csinf.c: Likewise.
15078 * math/s_csinh.c Likewise.
15079 * math/s_csinhf.c: Likewise.
15080 * math/s_csinhl.c: Likewise.
15081 * math/s_csinl.c: Likewise.
15082 * math/s_ctan.c: Likewise.
15083 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15084 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15085 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15086
8ec250a4
UD
150872011-10-21 Ulrich Drepper <drepper@gmail.com>
15088
c196fed8
UD
15089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15090 compilation problems.
15091
8ec250a4
UD
15092 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15093 __builtin_expect.
15094
8d4f46c6
UD
150952011-10-20 Ulrich Drepper <drepper@gmail.com>
15096
ed72b654
UD
15097 * sysdeps/i386/configure.in: Test for -mfma4 option.
15098 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15099 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15100 COMMON_CPUID_INDEX_80000001.
15101 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15102 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15103 use it if FMA3 is not supported.
15104 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15105
8d4f46c6
UD
15106 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15107 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15108
d45c60c2
AS
151092011-10-20 Andreas Schwab <schwab@redhat.com>
15110
15111 [BZ #12892]
15112 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15113 it would create a cycle with a link time dependency.
15114
d9a4d2ab
UD
151152011-10-19 Ulrich Drepper <drepper@gmail.com>
15116
855d1560
UD
15117 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15118 instruction.
15119 * string/Makefile (strop-tests): Add rawmemchr.
15120 * string/test-rawmemchr.c: New file.
15121
d9a4d2ab
UD
15122 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15123 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15124 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15125 when compiling str{,n}casecmp and when AVX is available. Hook up
15126 new optimized code in initializers.
15127
8f3b1ffe
AS
151282011-10-19 Andreas Schwab <schwab@redhat.com>
15129
15130 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15131 __feraiseexcept instead of feraiseexcept.
15132
d38f1dba
UD
151332011-10-18 Ulrich Drepper <drepper@gmail.com>
15134
d9a8d0ab
UD
15135 * math/math_private.h: Define defaults for libc_fetestexcept and
15136 libc_feupdateenv.
15137 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15138 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15139 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15140 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15141 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15142 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15143 libc_fetestexcept and libc_feupdateenv.
15144
4855e3dd
UD
15145 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15146 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15147 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15148 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15149 libc_feholdexcept_setround.
15150
581d30e3
UD
15151 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15152 Add s_nearbyint-c and s_nearbyintf-c.
15153 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15154 nearbyintf inlines.
15155 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15156 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15157 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15158 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15159
d38f1dba
UD
15160 * math/math_private.h: Define defaults for libc_fegetround,
15161 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15162 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15163 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15164 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15165 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15166 standard functions.
15167 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15168 Remove comments and hacks for old compiler versions.
15169 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15170 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15171 libc_feholdexceptl.
15172
caa6c9d8
AS
151732011-10-18 Andreas Schwab <schwab@redhat.com>
15174
15175 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15176 (__feraiseexcept_renamed): Add __NTH.
15177 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15178 namespace violations.
15179
97c066e6
UD
151802011-10-17 Ulrich Drepper <drepper@gmail.com>
15181
99ce7b04
UD
15182 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15183
1004d182
UD
15184 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15185
228a984d
UD
15186 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15187 recently added interfaces.
15188 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15189
c8553a6a
UD
15190 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15191 about macro parameter expansion.
15192
ed22dcf6
UD
15193 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15194 __NO_MATH_INLINES is defined. Cleanups.
15195
15196 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15197 and __floorf is target has SSE4.1.
15198 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15199 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15200 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15201 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15202
b171c137
UD
15203 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15204 name.
15205 (floorf): Likewise.
15206
97c066e6
UD
15207 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15208
629f62ef
AS
152092011-10-17 Andreas Schwab <schwab@redhat.com>
15210
49a43d80
AS
15211 * misc/sys/cdefs.h: Fix last change.
15212
629f62ef
AS
15213 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15214 database lookup.
15215
e453f6cd
UD
152162011-10-16 Ulrich Drepper <drepper@gmail.com>
15217
aa78043a
UD
15218 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15219
ad0f5cad
UD
15220 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15221 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15223 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15224 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15225 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15226 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15227 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15228 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15229 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15230 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15231 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15232 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15233 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15234 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15235 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15236 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15237 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15238 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15239 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15240 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15241 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15242
15243 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15244 ceil, ceilf, floor, floorf.
15245
15246 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15247 Perform IRELATIVE relocations last.
15248
e453f6cd
UD
15249 * elf/do-rel.h: Add another parameter nrelative, replacing the
15250 local variable with the same name. Change name of the function
15251 to end in Rel or Rela (uppercase).
15252 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15253 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15254 elf_dynamic_do_##reloc function.
15255
fd5bdc09
UD
152562011-10-15 Ulrich Drepper <drepper@gmail.com>
15257
79b195b5
UD
15258 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15259 is sufficient, at least on modern CPUs.
15260
d4a28569
UD
15261 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15262
b61099b5
UD
15263 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15264 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15265
bcf01e6d
UD
15266 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15267 __expl_finite.
15268 * math/bits/math-finite.h: Add entries for exp.
15269 * math/e_expl.c: Add __*_finite alias.
15270 * sysdeps/i386/fpu/e_exp.S: Likewise.
15271 * sysdeps/i386/fpu/e_expf.S: Likewise.
15272 * sysdeps/i386/fpu/e_expl.c: Likewise.
15273 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15274 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15275 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15276 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15277 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15278 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15279 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15280
ba1a0d59
UD
15281 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15282 is sufficient, at least on modern CPUs.
15283
fd5bdc09
UD
15284 * ctype/ctype-info.c (__ctype_init): Define.
15285 * include/ctype.h (__ctype_init): Declare.
15286 (__ctype_b_loc): The variable is always initialized.
15287 (__ctype_toupper_loc): Likewise.
15288 (__ctype_tolower_loc): Likewise.
15289 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15290 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15291
7872cfb0
AS
152922011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15293
b468825a
AS
15294 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15295
7872cfb0
AS
15296 * configure.in: Also look in $cxxmachine/include for C++ system
15297 headers.
15298
be13f7bf
LD
152992011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15300
15301 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15302 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15303 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15304 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15305 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15306 (USE_AS_WMEMCMP): New macro.
15307 Fixing indents.
15308 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15309 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15310 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15311 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15313 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15314 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15315 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15316 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15317 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15318 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15319 (USE_AS_WMEMCMP): New macro.
15320 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15321 * sysdeps/string/test-memcmp.c: Update.
15322 Fix simple_wmemcmp.
15323 Add new tests.
15324 * wcsmbs/wmemcmp.c: Update.
15325 (WMEMCMP): New macro.
15326 Fix overflow bug.
15327
556a2007
AJ
153282011-10-12 Andreas Jaeger <aj@suse.de>
15329
15330 [BZ #13268]
15331 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15332
538faaa7
UD
153332011-10-15 Ulrich Drepper <drepper@gmail.com>
15334
ab6737ff
UD
15335 * libio/iofwide.c (do_length): Avoid warning.
15336
538faaa7
UD
15337 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15338
396a21b1
UD
153392011-10-14 Ulrich Drepper <drepper@gmail.com>
15340
cdf2901f
UD
15341 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15342
38ad40ce
UD
15343 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15344 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15345 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15346 * sysdeps/i386/i686/fpu/e_log.S: New file.
15347 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15348 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15349
396a21b1
UD
15350 * ctype/ctype.h: Add support for inlined isXXX functions when
15351 compiling C++ code.
15352
6b1f68c9
AS
153532011-10-14 Andreas Schwab <schwab@redhat.com>
15354
349290c0
AS
15355 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15356
6b1f68c9
AS
15357 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15358
f2282d42
RM
153592011-10-13 Roland McGrath <roland@hack.frob.com>
15360
15361 [BZ #13291]
15362 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15363
5298ffa8
AS
153642011-10-13 Andreas Schwab <schwab@redhat.com>
15365
714fad23
AS
15366 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15367 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15368 feraiseexcept.
15369
81dcc7fb
AS
15370 * sysdeps/x86_64/memrchr.S: Check for zero size.
15371
5298ffa8
AS
15372 * string/stratcliff.c: Add memrchr tests.
15373
951fbcec
LD
153742011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15375
15376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15377 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15378 rawmemchr-sse2 rawmemchr-sse2-bsf.
15379 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15380 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15381 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15382 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15383 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15384 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15385 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15386 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15387 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15388 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15389 * string/memrchr.c (MEMRCHR): New macro.
15390
0ac5ae23
UD
153912011-10-12 Ulrich Drepper <drepper@gmail.com>
15392
15393 Add integration with gcc's -ffinite-math-only and optimize wrapper
15394 functions in libm.
15395 * Versions.def: Define GLIBC_2.15 version for libm.
15396 * math/Makefile (headers): Add bits/math-finite.h.
15397 * math/bits/math-finite.h: New file.
15398 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15399 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15400 * math/e_acoshl.c: Add __*_finite alias.
15401 * math/e_acosl.c: Likewise.
15402 * math/e_asinl.c: Likewise.
15403 * math/e_atan2l.c: Likewise.
15404 * math/e_atanhl.c: Likewise.
15405 * math/e_coshl.c: Likewise.
15406 * math/e_exp10.c: Likewise.
15407 * math/e_exp10f.c: Likewise.
15408 * math/e_exp10l.c: Likewise.
15409 * math/e_exp2l.c: Likewise.
15410 * math/e_fmodl.c: Likewise.
15411 * math/e_gammal_r.c: Likewise.
15412 * math/e_hypotl.c: Likewise.
15413 * math/e_j0l.c: Likewise.
15414 * math/e_j1l.c: Likewise.
15415 * math/e_jnl.c: Likewise.
15416 * math/e_lgammal_r.c: Likewise.
15417 * math/e_log10l.c: Likewise.
15418 * math/e_log2l.c: Likewise.
15419 * math/e_logl.c: Likewise.
15420 * math/e_powl.c: Likewise.
15421 * math/e_sinhl.c: Likewise.
15422 * math/e_sqrtl.c: Likewise.
15423 * math/e_scalb.c: Completely rewritten and optimized.
15424 * math/e_scalbf.c: Likewise.
15425 * math/e_scalbl.c: Likewise.
15426 * math/w_acos.c: Likewise.
15427 * math/w_acosf.c: Likewise.
15428 * math/w_acosl.c: Likewise.
15429 * math/w_acosh.c: Likewise.
15430 * math/w_acoshf.c: Likewise.
15431 * math/w_acoshl.c: Likewise.
15432 * math/w_asin.c: Likewise.
15433 * math/w_asinf.c: Likewise.
15434 * math/w_asinl.c: Likewise.
15435 * math/w_atan2.c: Likewise.
15436 * math/w_atan2f.c: Likewise.
15437 * math/w_atan2l.c: Likewise.
15438 * math/w_atanh.c: Likewise.
15439 * math/w_atanhf.c: Likewise.
15440 * math/w_atanhl.c: Likewise.
15441 * math/w_exp10.c: Likewise.
15442 * math/w_exp10f.c: Likewise.
15443 * math/w_exp10l.c: Likewise.
15444 * math/w_fmod.c: Likewise.
15445 * math/w_fmodf.c: Likewise.
15446 * math/w_fmodl.c: Likewise.
15447 * math/w_j0.c: Likewise.
15448 * math/w_j0f.c: Likewise.
15449 * math/w_j0l.c: Likewise.
15450 * math/w_j1.c: Likewise.
15451 * math/w_j1f.c: Likewise.
15452 * math/w_j1l.c: Likewise.
15453 * math/w_jn.c: Likewise.
15454 * math/w_jnf.c: Likewise.
15455 * math/w_log.c: Likewise.
15456 * math/w_logf.c: Likewise.
15457 * math/w_logl.c: Likewise.
15458 * math/w_log10.c: Likewise.
15459 * math/w_log10f.c: Likewise.
15460 * math/w_log10l.c: Likewise.
15461 * math/w_log2.c: Likewise.
15462 * math/w_log2f.c: Likewise.
15463 * math/w_log2l.c: Likewise.
15464 * math/w_pow.c: Likewise.
15465 * math/w_powf.c: Likewise.
15466 * math/w_powl.c: Likewise.
15467 * math/w_remainder.c: Likewise.
15468 * math/w_remainderf.c: Likewise.
15469 * math/w_remainderl.c: Likewise.
15470 * math/w_scalb.c: Likewise.
15471 * math/w_scalbf.c: Likewise.
15472 * math/w_scalbl.c: Likewise.
15473 * math/w_sqrt.c: Likewise.
15474 * math/w_sqrtf.c: Likewise.
15475 * math/w_sqrtl.c: Likewise.
15476 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15477 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15478 used.
15479 * math/math_private.h: Declare __kernel_standard_f.
15480 * math/w_cosh.c: Remove cruft and optimize a bit.
15481 * math/w_coshf.c: Likewise.
15482 * math/w_coshl.c: Likewise.
15483 * math/w_exp2.c: Likewise.
15484 * math/w_exp2f.c: Likewise.
15485 * math/w_exp2l.c: Likewise.
15486 * math/w_hypot.c: Likewise.
15487 * math/w_hypotf.c: Likewise.
15488 * math/w_hypotl.c: Likewise.
15489 * math/w_lgamma.c: Likewise.
15490 * math/w_lgamma_r.c: Likewise.
15491 * math/w_lgammaf.c: Likewise.
15492 * math/w_lgammaf_r.c: Likewise.
15493 * math/w_lgammal.c: Likewise.
15494 * math/w_lgammal_r.c: Likewise.
15495 * math/w_sinh.c: Likewise.
15496 * math/w_sinhf.c: Likewise.
15497 * math/w_sinhl.c: Likewise.
15498 * math/w_tgamma.c: Likewise.
15499 * math/w_tgammaf.c: Likewise.
15500 * math/w_tgammal.c: Likewise.
15501 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15502 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15503 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15504 Minor optimizations. Pretty printing. Remove cruft.
15505 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15506 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15507 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15508 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15509 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15510 * sysdeps/i386/fpu/e_asin.S: Likewise.
15511 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15512 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15513 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15514 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15515 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15516 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15517 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15518 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15519 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15520 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15521 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15522 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15523 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15524 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15525 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15526 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15527 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15528 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15529 * sysdeps/i386/fpu/e_log.S: Likewise.
15530 * sysdeps/i386/fpu/e_log10.S: Likewise.
15531 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15532 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15533 * sysdeps/i386/fpu/e_log2.S: Likewise.
15534 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15535 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15536 * sysdeps/i386/fpu/e_logf.S: Likewise.
15537 * sysdeps/i386/fpu/e_logl.S: Likewise.
15538 * sysdeps/i386/fpu/e_pow.S: Likewise.
15539 * sysdeps/i386/fpu/e_powf.S: Likewise.
15540 * sysdeps/i386/fpu/e_powl.S: Likewise.
15541 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15542 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15543 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15544 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15545 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15546 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15547 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15548 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15549 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15550 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15551 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15553 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15555 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15556 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15557 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15558 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15559 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15560 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15561 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15563 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15564 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15566 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15567 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15568 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15570 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15571 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15572 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15573 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15574 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15575 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15576 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15577 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15578 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15579 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15580 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15581 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15582 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15583 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15584 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15585 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15586 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15587 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15588 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15589 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15590 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15591 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15596 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15598 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15599 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15600 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15601 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15602 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15603 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15604 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15605 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15606 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15607 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15608 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15609 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15610 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15611 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15612 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15613 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15614 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15615 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15616 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15617 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15618 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15619 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15620 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15621 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15622 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15624 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15625 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15626 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15627 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15628 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15629 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15630 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15631 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15632 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15633 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15634 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15635 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15636 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15637 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15638 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15639 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15640 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15641 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15642 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15643 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15644 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15645 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15646 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15647 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15648 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15649 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15650 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15651 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15652 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15653 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15654 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15655 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15656 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15657 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15658 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15659 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15660 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15661 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15662 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15663 (__isnanf): Likewise.
15664 (__isinf_ns): Likewise.
15665 (__isinf_nsf): Likewise.
15666 (__finite): Likewise.
15667 (__finitef): Likewise.
15668 (__ieee754_sqrt): Define as macro.
15669 (__ieee754_sqrtf): Define as macro.
15670 (__ieee754_sqrtl): Define as macro.
15671 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15672 inlined copy.
15673 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15674 __FINITE_MATH_ONLY__ consistent.
15675 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15676
12cc2fcd
AS
156772011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15678
a843a204
AS
15679 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15680 of rawmemchr.
15681
12cc2fcd
AS
15682 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15683
c853acd5
UD
156842011-10-09 Ulrich Drepper <drepper@gmail.com>
15685
15686 * po/ja.po: Update from translation team.
15687
c658d255
RM
156882011-10-08 Roland McGrath <roland@hack.frob.com>
15689
110946e4
RM
15690 * locale/programs/locarchive.c (prepare_address_space): New function.
15691 (create_archive, enlarge_archive, open_archive): Use it.
15692
50604220
RM
15693 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15694 inside [SHARED], where it is used.
15695
c658d255
RM
15696 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15697
15698 * nss/getent.c (netgroup_keys): Remove unused variable.
15699 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15700
6a621eb7
UD
157012011-10-08 Ulrich Drepper <drepper@gmail.com>
15702
7edb55ce
UD
15703 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15704 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15705 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15706 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15707 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15708 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15709 * math/Makefile (libm-calls): Add s_isinf_ns.
15710 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15711 * math/multc3.c: Likewise.
15712 * math/s_casin.c: Likewise.
15713 * math/s_casinf.c: Likewise.
15714 * math/s_casinl.c: Likewise.
15715 * math/s_ccos.c: Likewise.
15716 * math/s_ccosf.c: Likewise.
15717 * math/s_ccosl.c: Likewise.
15718 * math/s_ctan.c: Likewise.
15719 * math/s_ctanf.c: Likewise.
15720 * math/s_ctanh.c: Likewise.
15721 * math/s_ctanhf.c: Likewise.
15722 * math/s_ctanhl.c: Likewise.
15723 * math/s_ctanl.c: Likewise.
15724 * math/w_fmod.c: Likewise.
15725 * math/w_fmodf.c: Likewise.
15726 * math/w_fmodl.c: Likewise.
15727 * math/w_remainder.c: Likewise.
15728 * math/w_remainderf.c: Likewise.
15729 * math/w_remainderl.c: Likewise.
15730 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15731 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15732 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15733 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15734 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15735 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15736 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15737 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15738
187da0ae
UD
15739 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15740 of the number.
15741 * stdio-common/printf_fphex.c: Likewise.
15742 * stdio-common/printf_size.c: Likewise.
15743
9277c064
UD
15744 * math/e_exp10.c: Include math_private.h using <...> not "...".
15745 * math/e_exp10f.c: Likewise.
15746 * math/e_exp10l.c: Likewise.
15747 * math/e_exp2l.c: Likewise.
15748 * math/e_j0l.c: Likewise.
15749 * math/e_j1l.c: Likewise.
15750 * math/e_jnl.c: Likewise.
15751 * math/e_lgammal_r.c: Likewise.
15752 * math/e_rem_pio2l.c: Likewise.
15753 * math/e_scalb.c: Likewise.
15754 * math/e_scalbf.c: Likewise.
15755 * math/e_scalbl.c: Likewise.
15756 * math/k_cosl.c: Likewise.
15757 * math/k_sinl.c: Likewise.
15758 * math/k_tanl.c: Likewise.
15759 * math/s_cacoshf.c: Likewise.
15760 * math/s_catan.c: Likewise.
15761 * math/s_catanf.c: Likewise.
15762 * math/s_catanh.c: Likewise.
15763 * math/s_catanhf.c: Likewise.
15764 * math/s_catanhl.c: Likewise.
15765 * math/s_catanl.c: Likewise.
15766 * math/s_ccosh.c: Likewise.
15767 * math/s_ccoshf.c: Likewise.
15768 * math/s_ccoshl.c: Likewise.
15769 * math/s_cexp.c: Likewise.
15770 * math/s_cexpf.c: Likewise.
15771 * math/s_cexpl.c: Likewise.
15772 * math/s_clog.c: Likewise.
15773 * math/s_clog10.c: Likewise.
15774 * math/s_clog10f.c: Likewise.
15775 * math/s_clog10l.c: Likewise.
15776 * math/s_clogf.c: Likewise.
15777 * math/s_clogl.c: Likewise.
15778 * math/s_csin.c: Likewise.
15779 * math/s_csinf.c: Likewise.
15780 * math/s_csinh.c: Likewise.
15781 * math/s_csinhf.c: Likewise.
15782 * math/s_csinhl.c: Likewise.
15783 * math/s_csinl.c: Likewise.
15784 * math/s_csqrt.c: Likewise.
15785 * math/s_csqrtf.c: Likewise.
15786 * math/s_csqrtl.c: Likewise.
15787 * math/s_ctan.c: Likewise.
15788 * math/s_ctanf.c: Likewise.
15789 * math/s_ctanh.c: Likewise.
15790 * math/s_ctanhf.c: Likewise.
15791 * math/s_ctanhl.c: Likewise.
15792 * math/s_ctanl.c: Likewise.
15793 * math/s_ldexp.c: Likewise.
15794 * math/s_ldexpf.c: Likewise.
15795 * math/s_ldexpl.c: Likewise.
15796 * math/s_significand.c: Likewise.
15797 * math/s_significandf.c: Likewise.
15798 * math/s_significandl.c: Likewise.
15799 * math/w_acos.c: Likewise.
15800 * math/w_acosf.c: Likewise.
15801 * math/w_acosh.c: Likewise.
15802 * math/w_acoshf.c: Likewise.
15803 * math/w_acoshl.c: Likewise.
15804 * math/w_acosl.c: Likewise.
15805 * math/w_asin.c: Likewise.
15806 * math/w_asinf.c: Likewise.
15807 * math/w_asinl.c: Likewise.
15808 * math/w_atan2.c: Likewise.
15809 * math/w_atan2f.c: Likewise.
15810 * math/w_atan2l.c: Likewise.
15811 * math/w_atanh.c: Likewise.
15812 * math/w_atanhf.c: Likewise.
15813 * math/w_atanhl.c: Likewise.
15814 * math/w_cosh.c: Likewise.
15815 * math/w_coshf.c: Likewise.
15816 * math/w_coshl.c: Likewise.
15817 * math/w_dremf.c: Likewise.
15818 * math/w_exp10.c: Likewise.
15819 * math/w_exp10f.c: Likewise.
15820 * math/w_exp10l.c: Likewise.
15821 * math/w_exp2.c: Likewise.
15822 * math/w_exp2f.c: Likewise.
15823 * math/w_fmod.c: Likewise.
15824 * math/w_fmodf.c: Likewise.
15825 * math/w_fmodl.c: Likewise.
15826 * math/w_hypot.c: Likewise.
15827 * math/w_hypotf.c: Likewise.
15828 * math/w_hypotl.c: Likewise.
15829 * math/w_j0.c: Likewise.
15830 * math/w_j0f.c: Likewise.
15831 * math/w_j0l.c: Likewise.
15832 * math/w_j1.c: Likewise.
15833 * math/w_j1f.c: Likewise.
15834 * math/w_j1l.c: Likewise.
15835 * math/w_jn.c: Likewise.
15836 * math/w_jnf.c: Likewise.
15837 * math/w_jnl.c: Likewise.
15838 * math/w_lgamma.c: Likewise.
15839 * math/w_lgamma_r.c: Likewise.
15840 * math/w_lgammaf.c: Likewise.
15841 * math/w_lgammaf_r.c: Likewise.
15842 * math/w_lgammal.c: Likewise.
15843 * math/w_lgammal_r.c: Likewise.
15844 * math/w_log.c: Likewise.
15845 * math/w_log10.c: Likewise.
15846 * math/w_log10f.c: Likewise.
15847 * math/w_log10l.c: Likewise.
15848 * math/w_log2.c: Likewise.
15849 * math/w_log2f.c: Likewise.
15850 * math/w_log2l.c: Likewise.
15851 * math/w_logf.c: Likewise.
15852 * math/w_logl.c: Likewise.
15853 * math/w_pow.c: Likewise.
15854 * math/w_powf.c: Likewise.
15855 * math/w_powl.c: Likewise.
15856 * math/w_remainder.c: Likewise.
15857 * math/w_remainderf.c: Likewise.
15858 * math/w_remainderl.c: Likewise.
15859 * math/w_scalb.c: Likewise.
15860 * math/w_scalbf.c: Likewise.
15861 * math/w_scalbl.c: Likewise.
15862 * math/w_sinh.c: Likewise.
15863 * math/w_sinhf.c: Likewise.
15864 * math/w_sinhl.c: Likewise.
15865 * math/w_sqrt.c: Likewise.
15866 * math/w_sqrtf.c: Likewise.
15867 * math/w_sqrtl.c: Likewise.
15868 * math/w_tgamma.c: Likewise.
15869 * math/w_tgammaf.c: Likewise.
15870 * math/w_tgammal.c: Likewise.
15871
6a621eb7
UD
15872 * po/ja.po: Update from translation team.
15873
bf582445
AJ
158742011-09-29 Andreas Jaeger <aj@suse.de>
15875
f9efbf3a
AJ
15876 [BZ #13179]
15877 * sunrpc/netname.c (netname2host): Fix logic.
15878
bf582445
AJ
15879 [BZ #6779]
15880 [BZ #6783]
15881 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15882 correctly.
15883 * math/w_remainder.c (__remainder): Likewise.
15884 * math/w_remainderf.c (__remainderf): Likewise.
15885 * math/libm-test.inc (remainder_test): Add test cases.
15886
48693bea
AK
158872011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15888
15889 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15890 sdiv_qrnnd.
15891
42622229
LD
158922011-10-07 Ulrich Drepper <drepper@gmail.com>
15893
15894 * string/test-memcmp.c: Avoid unncessary #defines.
15895 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15896
093ecf92
LD
158972011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15898
15899 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15900 Use new sse2 version for core i3 - i7 as it's faster
15901 than sse42 version.
15902 (bit_Prefer_PMINUB_for_stringop): New.
15903 * sysdeps/x86_64/rawmemchr.S: Update.
15904 Replace with faster SSE2 version.
15905 * sysdeps/x86_64/memrchr.S: New file.
15906 * sysdeps/x86_64/memchr.S: Update.
15907 Replace with faster SSE2 version.
15908
fde56e5c
MP
159092011-09-12 Marek Polacek <mpolacek@redhat.com>
15910
15911 * elf/dl-load.c (lose): Add cast to avoid warning.
15912
21fd49a9
UD
159132011-10-07 Ulrich Drepper <drepper@gmail.com>
15914
5a06e643
UD
15915 * po/ca.po: Update from translation team.
15916
684ae515
UD
15917 * inet/getnetgrent_r.c: Hook up nscd.
15918 * nscd/Makefile (routines): Add nscd_netgroup.
15919 (nscd-modules): Add netgroupcache.
15920 (CFLAGS-netgroupcache.c): Define.
15921 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15922 (cache_search): Add const to second parameter.
15923 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15924 INNETGR.
15925 (dbs): Add netgrdb entry.
15926 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15927 (verify_persistent_db): Handle netgrdb.
15928 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15929 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15930 GETFDNETGR.
15931 (netgroup_response_header): Define.
15932 (innetgroup_response_header): Define.
15933 (datahead): Add netgroup_response_header and innetgroup_response_header
15934 elements.
15935 * nscd/nscd.conf: Add entries for netgroup cache.
15936 * nscd/nscd.h (dbtype): Add netgrdb.
15937 (_PATH_NSCD_NETGROUP_DB): Define.
15938 (netgroup_iov_disabled): Declare.
15939 (xmalloc, xcalloc, xrealloc): Move declarations here.
15940 (cache_search): Adjust prototype.
15941 Add netgroup-related prototypes.
15942 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15943 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15944 (__nscd_innetgr): Declare.
15945 * nscd/selinux.c (perms): Use access_vector_t as element type and
15946 add netgroup-related initializers.
15947 * nscd/netgroupcache.c: New file.
15948 * nscd/nscd_netgroup.c: New file.
15949 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15950 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15951 For four parameters use innetgr.
15952 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15953 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15954 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15955 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15956
21fd49a9
UD
15957 * nscd/connections.c (register_traced_file): Don't register file
15958 for disabled databases.
15959
054c0457
UD
159602011-10-06 Ulrich Drepper <drepper@gmail.com>
15961
32b63198
UD
15962 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15963
054c0457
UD
15964 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15965 from tree and freeing node.
15966
64031225
JO
159672011-09-25 Jiri Olsa <jolsa@redhat.com>
15968
15969 * nss/nsswitch.c (__nss_database_lookup): Handle
15970 nss_parse_service_list out of memory case.
15971
0490345c
JO
159722011-09-15 Jiri Olsa <jolsa@redhat.com>
15973
15974 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15975 out of memory case.
15976
3a62d00d
AS
159772011-10-04 Andreas Schwab <schwab@redhat.com>
15978
15979 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15980 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15981 pass it down.
15982 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15983 elf_machine_rela, elf_machine_lazy_rel.
15984 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15985 (ELF_DYNAMIC_DO_REL): Likewise.
15986 (ELF_DYNAMIC_DO_RELA): Likewise.
15987 (ELF_DYNAMIC_RELOCATE): Likewise.
15988 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15989 to ELF_DYNAMIC_DO_REL.
15990 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15991 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15992 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15993 elf_machine_rela.
15994 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15995 skip_ifunc, don't call ifunc function if non-zero.
15996 (elf_machine_rela): Likewise.
15997 (elf_machine_lazy_rel): Likewise.
15998 (elf_machine_lazy_rela): Likewise.
15999 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16000 (elf_machine_lazy_rel): Likewise.
16001 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16002 Likewise.
16003 (elf_machine_lazy_rel): Likewise.
16004 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16005 Likewise.
16006 (elf_machine_lazy_rel): Likewise.
16007 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16008 (elf_machine_lazy_rel): Likewise.
16009 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16010 (elf_machine_lazy_rel): Likewise.
16011 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16012 (elf_machine_lazy_rel): Likewise.
16013 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16014 (elf_machine_lazy_rel): Likewise.
16015 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16016 (elf_machine_lazy_rel): Likewise.
16017 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16018 (elf_machine_lazy_rel): Likewise.
16019
68577918
UD
160202011-09-28 Ulrich Drepper <drepper@gmail.com>
16021
16022 * nss/nss_files/files-init.c (_nss_files_init): Use static
16023 initialization for all the *_traced_file variables.
16024
68822d74
AS
160252011-09-28 Andreas Schwab <schwab@redhat.com>
16026
16027 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16028
2056100b
RM
160292011-09-27 Roland McGrath <roland@hack.frob.com>
16030
16031 [BZ #13226]
16032 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16033
32c76b63
AS
160342011-09-27 Andreas Schwab <schwab@redhat.com>
16035
16036 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16037 Reread the line before reparsing it.
16038
bf972c9d
AS
160392011-09-26 Andreas Schwab <schwab@redhat.com>
16040
16041 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16042
e057a1b5
JM
160432011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16044 Maxim Kuvyrkov <maxim@codesourcery.com>
16045 Joseph Myers <joseph@codesourcery.com>
16046
16047 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16048 if needed for __stack_chk_guard.
16049
bc7e1c36
RM
160502011-09-19 Roland McGrath <roland@hack.frob.com>
16051
ecb1482f
RM
16052 * sysdeps/posix/spawni.c (script_execute): Always define it.
16053 It will be optimized away if unused.
16054 (maybe_script_execute): New function.
16055 (__spawni): Call it.
16056
bc7e1c36
RM
16057 * Makerules: Don't include tls.make.
16058 (config-tls): Always set to thread.
16059 * tls.make.c: File removed.
16060
1c3b002b
MF
160612011-09-19 Mike Frysinger <vapier@gentoo.org>
16062
16063 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16064 * config.make.in (CPPFLAGS-config): New substituted variable.
16065
2840865d
UD
160662011-09-15 Ulrich Drepper <drepper@gmail.com>
16067
88738eb6
UD
16068 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16069
cbf645a6 16070 [BZ #13192]
2840865d
UD
16071 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16072 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16073
b402e91a
RM
160742011-09-15 Roland McGrath <roland@hack.frob.com>
16075
16076 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16077 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16078 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16079 (CALL_FAIL): Likewise.
16080 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16081 (CALL_FAIL): Macro removed.
16082 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16083
4c1a1f71
UD
160842011-09-15 Ulrich Drepper <drepper@gmail.com>
16085
16086 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16087 for __FINITE_MATH_ONLY__ == 1.
16088
edc121be
AS
160892011-09-15 Andreas Schwab <schwab@redhat.com>
16090
16091 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16092 __ieee754_sqrt instead of sqrt.
16093 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16094 __ieee754_sqrtf instead of sqrtf.
16095 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16096 __floorf instead of floorf.
16097 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16098 __floorf, __truncf instead of floorf, truncf.
16099
cd205654
UD
161002011-09-14 Ulrich Drepper <drepper@gmail.com>
16101
ee4d0315
UD
16102 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16103
cd205654
UD
16104 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16105 __extern_always_inline.
16106 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16107 32-bit.
16108
48b67d71
AS
161092011-09-14 Andreas Schwab <schwab@redhat.com>
16110
16111 * elf/rtld.c (dl_main): Also relocate in dependency order when
16112 doing symbol dependency testing.
16113
1ae12c75
AS
161142011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16115
16116 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16117 Always define `refsym'.
16118
995a80df
AS
161192011-09-13 Andreas Schwab <schwab@redhat.com>
16120
e529793b
AS
16121 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16122 (__FD_ELT): Renamed from __FDELT.
16123 * misc/bits/select2.h (__FD_ELT): Likewise.
16124 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16125 __FD_MASK instead of __FDELT, __FDMASK.
16126 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16127 Likewise.
16128 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16129 Likewise.
16130
52d4fef8
AS
16131 * elf/Makefile (gen-ldd): Fix pattern.
16132
995a80df
AS
16133 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16134 (init_tls): Likewise.
16135
8682f8b0
UD
161362011-09-12 Ulrich Drepper <drepper@gmail.com>
16137
16138 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16139
de82006d
AS
161402011-09-12 Andreas Schwab <schwab@redhat.com>
16141
a7c8e6a1
AS
16142 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16143 `struct cmsghdr *' instead of `void *'.
16144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16145 Likewise.
16146
0f31fe77
AS
161472011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16148
16149 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16150 if non-absolute.
16151 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16152 ldd_rewrite_script.
0f31fe77 16153
32b4c839
UD
161542011-09-11 Ulrich Drepper <drepper@gmail.com>
16155
83cd1420
UD
16156 * configure.in: Remove --with-tls option.
16157 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16158 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16159 out in case it is missing.
16160 * sysdeps/ia64/elf/configure.in: Likewise.
16161 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16162 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16163 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16164 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16165 * sysdeps/sh/elf/configure.in: Likewise.
16166 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16167 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16168 * sysdeps/x86_64/elf/configure.in: Likewise.
16169 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16170 * sysdeps/mach/hurd/tls.h: Likewise.
16171
633f745d
UD
16172 [BZ #13067]
16173 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16174
f318beb8
UD
16175 [BZ #13090]
16176 * configure.in: Fix use of AC_INIT.
16177
32b4c839
UD
16178 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16179
3ce1f295
UD
161802011-09-10 Ulrich Drepper <drepper@gmail.com>
16181
bb016596
UD
16182 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16183 __set_errno.
8e58439c
UD
16184 * malloc/hooks.c: Likewise.
16185
aebae053 16186 [BZ #11929]
02d46fc4
UD
16187 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16188 variables statically.
16189 (narenas): Initialize.
16190 (list_lock): Initialize.
bb016596
UD
16191 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16192 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16193 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16194 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16195 Add initializers to main_arena and mp_.
16196 (malloc_state): Remove pagesize member. Change all users to use
16197 GLRO(dl_pagesize).
16198
16199 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16200 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16201 is always initialized.
16202
22a89187
UD
16203 * malloc/malloc.c: Removed unused configurations and dead code.
16204 * malloc/arena.c: Likewise.
16205 * malloc/hooks.c: Likewise.
02d46fc4 16206 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16207
d063d164
UD
16208 * include/tls.h: Removed. USE___THREAD must always be defined.
16209 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16210 * elf/dl-libc.c: Likewise.
16211 * elf/dl-tsd.c: Likewise.
16212 * include/errno.h: Likewise.
16213 * include/netdb.h: Likewise.
16214 * include/resolv.h: Likewise.
16215 * inet/herrno-loc.c: Likewise.
16216 * inet/herrno.c: Likewise.
16217 * malloc/arena.c: Likewise.
16218 * malloc/hooks.c: Likewise.
16219 * malloc/malloc.c: Likewise.
16220 * resolv/res-state.c: Likewise.
16221 * resolv/res_libc.c: Likewise.
16222 * sysdeps/i386/dl-machine.h: Likewise.
16223 * sysdeps/ia64/dl-machine.h: Likewise.
16224 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16225 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16226 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16227 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16228 * sysdeps/sh/dl-machine.h: Likewise.
16229 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16230 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16231 * sysdeps/unix/i386/sysdep.S: Likewise.
16232 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16233 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16235 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16237 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16238 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16239 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16240 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16242 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16243 * sysdeps/x86_64/dl-machine.h: Likewise.
16244 * tls.make.c: Likewise.
16245
3ce1f295
UD
16246 * configure.in: Remove --with-__thread option. Make tests for
16247 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16248 tls_model attribute fail if no support is available. Remove
16249 USE_IN_LIBIO.
16250 * Makeconfig: Adjust for dropped configure option. All features are
16251 now mandatory.
16252 * Makerules: Likewise.
16253 * Versions.def: Likewise.
16254 * argp/argp-fmtstream.c: Likewise.
16255 * argp/argp-fmtstream.h: Likewise.
16256 * argp/argp-help.c: Likewise.
16257 * assert/assert.c: Likewise.
16258 * config.h.in: Likewise.
16259 * config.make.in: Likewise.
16260 * configure: Likewise.
16261 * configure.in: Likewise.
16262 * csu/Versions: Likewise.
16263 * csu/init.c: Likewise.
16264 * elf/tst-audit2.c: Likewise.
16265 * elf/tst-tls10.c: Likewise.
16266 * elf/tst-tls10.h: Likewise.
16267 * elf/tst-tls11.c: Likewise.
16268 * elf/tst-tls12.c: Likewise.
16269 * elf/tst-tls14.c: Likewise.
16270 * elf/tst-tlsmod11.c: Likewise.
16271 * elf/tst-tlsmod12.c: Likewise.
16272 * elf/tst-tlsmod13.c: Likewise.
16273 * elf/tst-tlsmod13a.c: Likewise.
16274 * elf/tst-tlsmod14a.c: Likewise.
16275 * elf/tst-tlsmod15b.c: Likewise.
16276 * elf/tst-tlsmod16a.c: Likewise.
16277 * elf/tst-tlsmod16b.c: Likewise.
16278 * elf/tst-tlsmod7.c: Likewise.
16279 * elf/tst-tlsmod8.c: Likewise.
16280 * elf/tst-tlsmod9.c: Likewise.
16281 * gmon/gmon.c: Likewise.
16282 * grp/fgetgrent_r.c: Likewise.
16283 * grp/putgrent.c: Likewise.
16284 * hurd/fopenport.c: Likewise.
16285 * include/libc-symbols.h: Likewise.
16286 * include/tls.h: Likewise.
16287 * intl/gettextP.h: Likewise.
16288 * intl/loadinfo.h: Likewise.
16289 * locale/global-locale.c: Likewise.
16290 * locale/localeinfo.h: Likewise.
16291 * mach/devstream.c: Likewise.
16292 * malloc/arena.c: Likewise.
16293 * malloc/set-freeres.c: Likewise.
16294 * misc/err.c: Likewise.
16295 * misc/getttyent.c: Likewise.
16296 * misc/mntent_r.c: Likewise.
16297 * posix/getopt.c: Likewise.
16298 * posix/wordexp.c: Likewise.
16299 * pwd/fgetpwent_r.c: Likewise.
16300 * resolv/Versions: Likewise.
16301 * resolv/res_hconf.c: Likewise.
16302 * shadow/fgetspent_r.c: Likewise.
16303 * shadow/putspent.c: Likewise.
16304 * stdio-common/printf_fphex.c: Likewise.
16305 * stdio-common/tmpfile.c: Likewise.
16306 * stdlib/abort.c: Likewise.
16307 * stdlib/fmtmsg.c: Likewise.
16308 * sunrpc/auth_unix.c: Likewise.
16309 * sunrpc/clnt_perr.c: Likewise.
16310 * sunrpc/clnt_tcp.c: Likewise.
16311 * sunrpc/clnt_udp.c: Likewise.
16312 * sunrpc/clnt_unix.c: Likewise.
16313 * sunrpc/openchild.c: Likewise.
16314 * sunrpc/svc_simple.c: Likewise.
16315 * sunrpc/svc_tcp.c: Likewise.
16316 * sunrpc/svc_udp.c: Likewise.
16317 * sunrpc/svc_unix.c: Likewise.
16318 * sunrpc/xdr.c: Likewise.
16319 * sunrpc/xdr_array.c: Likewise.
16320 * sunrpc/xdr_rec.c: Likewise.
16321 * sunrpc/xdr_ref.c: Likewise.
16322 * sunrpc/xdr_stdio.c: Likewise.
16323
1248c1c4
PB
163242011-09-09 Ulrich Drepper <drepper@gmail.com>
16325
16326 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16327
163282011-07-03 Andreas Jaeger <aj@suse.de>
16329
16330 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16331 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16332 regenerate with gen-libm-tests.pl.
16333
163342010-05-12 Petr Baudis <pasky@suse.cz>
16335
16336 [BZ #11589]
16337 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16338 around j0() zero points by switching to j1().
16339 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16340 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16343
f22e1074
UD
163442011-09-09 Ulrich Drepper <drepper@gmail.com>
16345
f19009c1
UD
16346 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16347 instead of 0.
16348 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16349 instead of 0. .
16350 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16351 Patch in part by Pavel Roskin <proski@gnu.org>.
16352
3f8cc204
UD
16353 [BZ #13138]
16354 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16355 realloc.
16356 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16357 Free memory block if necessary.
16358
f22e1074
UD
16359 [BZ #12847]
16360 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16361 be NULL. Don't lock in this case.
16362
0a2349f9
RM
163632011-09-09 Roland McGrath <roland@hack.frob.com>
16364
16365 * elf/elf.h (ELFOSABI_GNU): New macro.
16366 (ELFOSABI_LINUX): Define to that.
16367
f3cdd467
DZ
163682011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16369
16370 * string/strncat.c (strncat): Undef the symbol in case it has been
16371 defined in bits/string.h.
16372
74718d13
UD
163732011-09-09 Ulrich Drepper <drepper@gmail.com>
16374
633e9e0f
UD
16375 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16376
0a2349f9 16377 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16378 link map.
16379
f9924780
AJ
163802011-08-17 Andreas Jaeger <aj@suse.de>
16381
16382 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16383
7f5517aa
PP
163842011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16385 Ian Lance Taylor <iant@google.com>
16386
16387 * math/libm-test.inc (lround_test): New testcase.
16388 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16389
762011fe
UD
163902011-09-08 Ulrich Drepper <drepper@gmail.com>
16391
92963737
UD
16392 * Makefile: Remove support for automatic cvs check-ins.
16393 * Makerules: Likewise.
16394 * config.make.in: Likewise.
16395 * configure.in: Likewise.
16396 * intl/Makefile: Likewise.
16397 * locale/Makefile: Likewise.
16398 * po/Makefile: Likewise.
16399 * posix/Makefile: Likewise.
16400 * sysdeps/gnu/Makefile: Likewise.
16401 * sysdeps/mach/hurd/Makefile: Likewise.
16402 * sysdeps/sparc/sparc32/Makefile: Likewise.
16403
b0727fd8
JS
16404 [BZ #13118]
16405 * posix/Makefile (bug-regex32-ENV): Define.
16406 Patch by John Stanley <jpsinthemix@verizon.net>.
16407
a0f33f99
UD
16408 * misc/Makefile (headers): Add bits/select2.h.
16409 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16410 * misc/bits/select2.h: New file.
16411 * include/bits/select2.h: New file.
16412 * debug/Makefile (routines): Add fdelt_chk.
16413 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16414 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16415 FD_ISSET.
16416 * debug/fdelt_chk.c: New file.
16417
762011fe
UD
16418 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16419 * wcsmbs/test-wmemcmp.c: Likewise.
16420 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16421 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16422
164232011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16424
16425 * string/Makefile (strop-tests): Add memcmp.
16426 * string/test-wmemcmp.c: New file.
16427 * string/test-memcmp.c: Add wmemcmp support.
16428
7f513ec8
RM
164292011-09-08 Roland McGrath <roland@hack.frob.com>
16430
0442afb4
RM
16431 [BZ #13153]
16432 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16433 2011-07-19 change.
16434
7f513ec8
RM
16435 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16436 garbage value in a __mach_port_mod_refs call in the cases of the
16437 task-self and thread-self ports.
16438
a12b2239
ST
164392011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16440
16441 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16442
610f9ab4
AS
164432011-09-08 Andreas Schwab <schwab@redhat.com>
16444
7f513ec8 16445 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16446
48882a1a
LD
164472011-09-07 Ulrich Drepper <drepper@gmail.com>
16448
b49865be
UD
16449 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16450
fdc86bc9
UD
16451 * elf/dl-libc.c (dlerror_run): Pass back error code from
16452 dl_catch_error.
16453
c966526a
UD
16454 [BZ #13123]
16455 * elf/dl-load.c (lose): Free l_origin if it is valid.
16456
48882a1a
LD
16457 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16458 names.
16459 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16460 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16461 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16462 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16463 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16464 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16465
77a2a8b4
AZ
164662011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16467
16468 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16469 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16470 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16471 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16472 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16473 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16474 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16475 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16476 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16477 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16478
24f579d8
AM
164792011-08-15 Alan Modra <amodra@gmail.com>
16480
16481 [BZ #13092]
16482 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16483 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16484 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16485 ppc_mcount to static-only-routines.
16486 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16487 __mcount_internal.
16488 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16489 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16490
3d4837df
UD
164912011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16492
16493 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16494 for finite and infinity parameters.
16495
22700377
WS
164962011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16497
16498 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16499 and add nop instructions for throughput optimization.
16500 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16501
5025581e
WS
165022011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16503
16504 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16505 aligned copy for power7 with vector-scalar instructions.
16506 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16507
08a300c9
L
165082011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16509
16510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16511 AVX check.
16512
59178ef9
AS
165132011-09-07 Andreas Schwab <schwab@redhat.com>
16514
16515 [BZ #13144]
16516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16517 last change.
16518
e38ba7ab
UD
165192011-09-07 Ulrich Drepper <drepper@gmail.com>
16520
16521 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16522 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16523 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16524 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16525 clock_gettime.
16526
d53a73ac
UD
165272011-09-06 Ulrich Drepper <drepper@gmail.com>
16528
fc8bffcc
UD
16529 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16530 Forgot to demangle the pointer.
16531
ceaa0c5d
UD
16532 * sysdeps/i386/sysdep.h: Define atom_text_section.
16533 * sysdeps/x86_64/sysdep.h: Likewise.
16534 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16535 section with atom_text_section.
16536 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16537 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16538 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16539 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16540 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16541
a77d3c17
UD
16542 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16543 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16544 already be defined. Change to take two parameters and don't assign
16545 result to variable. Adjust all users.
16546 Define INTERNAL_GETTIME if not already defined.
16547 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16548 call.
16549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16550 HAVE_CLOCK_GETTIME_VSYSCALL.
16551 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16552
d53a73ac
UD
16553 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16554 gettimeofday vsyscall, just use time.
16555
a8f84144
AS
165562011-09-06 Andreas Schwab <schwab@redhat.com>
16557
16558 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16559 <errno.h>.
16560
ef606249
UD
165612011-09-06 Ulrich Drepper <drepper@gmail.com>
16562
16563 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16564 syscall on x86-64.
16565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16566 syscall.
16567 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16568 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16569 syscall if possible.
16570
6585cb60
UD
165712011-09-05 Ulrich Drepper <drepper@gmail.com>
16572
16573 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16574 e_ident. Don't pass to find_mapsXX.
16575 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16576
a5f524e4
LD
165772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16578
16579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16580 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16581 * sysdeps/x86_64/multiarch/strchr.S: Update.
16582 Check bit_slow_BSF bit.
16583 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16584 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16585 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16586
554881ef
UD
165872011-09-05 Ulrich Drepper <drepper@gmail.com>
16588
d96de963
UD
16589 [BZ #13134]
16590 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16591 before glibc 2.15.
16592 (tryshell): Define.
16593 (__spawni): Change last parameter to be flag. Test
16594 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16595 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16596 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16597 * posix/spawni.c: Likewise.
16598 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16599 * posix/spawnp.c: Likewise. Change normal version to use
16600 SPAWN_XFLAGS_USE_PATH.
16601 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16602 SPAWN_XFLAGS_TRY_SHELL.
16603
d48e5868
UD
16604 [BZ #13150]
16605 * posix/glob.h: Remove gcc 1.x support.
16606
554881ef
UD
16607 [BZ #13068]
16608 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16609
693fb948
LD
166102011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16611
16612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16613 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16614 strrchr-sse2-bsf
16615 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16616 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16617 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16618 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16619 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16620 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16621
1b48c537
UD
166222011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16623
49d42c37
UD
16624 * sysdeps/x86_64/wcscmp.S: New file.
16625
1b48c537
UD
16626 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16627 wcscmp-c wcscmp-sse2
16628 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16629 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16630 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16631 * wcsmbs/wcscmp.c: Allow renaming.
16632
15c95c5d
DM
166332011-09-05 David S. Miller <davem@davemloft.net>
16634
16635 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16636 stack slot, rather than the struct return pointer slot.
16637 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16638 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16640 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16641
2f0ad8f3
UD
166422011-09-05 Ulrich Drepper <drepper@gmail.com>
16643
d88ae418
UD
16644 * po/ja.po: Update from translation team.
16645
2f0ad8f3
UD
16646 [BZ #13144]
16647 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16648 kernel in 64-bit binaries.
16649
5f4318d1
DM
166502011-09-01 David S. Miller <davem@davemloft.net>
16651
16652 * elf/elf.h (HWCAP_SPARC_*): Move to..
16653 * sysdeps/sparc/sysdep.h: this new file and add new values.
16654 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16655 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16656 _DL_HWCAP_COUNT to 24.
16657 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16658 entries.
16659 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16660 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16661 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16663 instead of magic constants.
16664 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16665
3ba57516
DM
166662011-08-31 David S. Miller <davem@davemloft.net>
16667
16668 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16669 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16670 Reimplement to do errno handling inline.
16671 (SYSCALL_ERROR_HANDLER): New macro.
16672 (__SYSCALL_STRING): Do not do errno handling in asm.
16673 (__CLONE_SYSCALL_STRING): Delete.
16674 (__INTERNAL_SYSCALL_STRING): Delete.
16675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16676 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16677 (PSEUDO): Reimplement to do errno handling inline.
16678 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16679 (SYSCALL_ERROR_HANDLER): New macro.
16680 (__SYSCALL_STRING): Do not do errno handling in asm.
16681 (__CLONE_SYSCALL_STRING): Delete.
16682 (__INTERNAL_SYSCALL_STRING): Delete.
16683 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16684 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16685 i386.
16686 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16687 (inline_syscall*): Add 'err' argument.
16688 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16689 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16690 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16691 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16692
16693 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16694 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16695
2bc17433
AS
166962011-08-30 Andreas Schwab <schwab@redhat.com>
16697
16698 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16699
fbeb5f4d
JO
167002011-08-29 Jiri Olsa <jolsa@redhat.com>
16701
16702 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16703 directive.
16704
ad69cc26
DM
167052011-08-24 David S. Miller <davem@davemloft.net>
16706
16707 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16708
39dd69df
AS
167092011-08-24 Andreas Schwab <schwab@redhat.com>
16710
16711 * elf/Makefile: Add rules to build and run unload8 test.
16712 * elf/unload8.c: New file.
16713 * elf/unload8mod1.c: New file.
16714 * elf/unload8mod1x.c: New file.
16715 * elf/unload8mod2.c: New file.
16716 * elf/unload8mod3.c: New file.
16717
16718 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16719 it wasn't used.
16720
2c0b250a
DM
167212011-08-23 David S. Miller <davem@davemloft.net>
16722
16723 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16724 subtract stack bias.
16725 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16726 %sp not %fp in calculations.
16727 (_JMPBUF_UNWINDS_ADJ): Likewise.
16728
22044b48
DM
16729 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16730 (aio_suspend): Call it to force an exception region around the
16731 AIO_MISC_WAIT() invocation.
16732
2cae4995
AS
167332011-08-23 Andreas Schwab <schwab@redhat.com>
16734
16735 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16736 backslash.
16737
873a772e
AJ
167382011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16739
16740 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16741 protection macro.
16742 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16743 and <dl-machine.h>.
16744 (Elf64_FuncDesc): Remove.
16745
25ad0df1
DM
167462011-08-22 David S. Miller <davem@davemloft.net>
16747
16748 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16749 sigaltstack check, add missing cfi directives.
16750 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16751 missing cfi directives, and sigaltstack handling.
16752
e888bcbe
AS
167532011-08-16 Andreas Schwab <schwab@redhat.com>
16754
16755 [BZ #11724]
16756 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16757 object is seen twice.
16758 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16759
16760 * elf/Makefile (distribute): Add tst-initorder2.c.
16761 (tests): Add tst-initorder2.
16762 (modules-names): Add tst-initorder2a tst-initorder2b
16763 tst-initorder2c tst-initorder2d. Add rules to build them.
16764 ($(objpfx)tst-initorder2.out): New rule.
16765 * elf/tst-initorder2.c: New file.
16766 * elf/tst-initorder2.exp: New file.
16767
87162f46
AS
167682011-08-22 Andreas Schwab <schwab@redhat.com>
16769
70538b7f
AS
16770 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16771
f55ffe58
AS
16772 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16773 dependencies back to end of function.
16774
87162f46
AS
16775 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16776 $(elfobjdir)/ld.so.
16777
91b392a4
UD
167782011-08-21 Ulrich Drepper <drepper@gmail.com>
16779
16780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16781 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16782 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16783 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16784 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16785 of __vdso_gettimeofday.
16786 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16787 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16788 attribute_hidden.
16789 (_libc_vdso_platform_setup): Remove initialization of
16790 __vdso_gettimeofday and __vdso_time.
16791
5c43483f
UD
167922011-08-20 Ulrich Drepper <drepper@gmail.com>
16793
775a77e7
UD
16794 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16795 and fgetc_unlocked.
16796 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16797 getc_unlocked.
89f447ed 16798
49c74ba9
UD
16799 * elf/dl-open.c (add_to_global): Report additions to the global scope
16800 for LD_DEBUG=scopes.
16801 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16802 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16803
5c43483f
UD
16804 [BZ #13114]
16805 * stdio-common/Makefile (tests): Add bug24.
16806 * stdio-common/bug24.c: New file.
16807
a101b025
AJ
168082011-08-19 Andreas Jaeger <aj@suse.de>
16809
16810 [BZ #13114]
16811 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16812 non-existant file when using close-on-exec mode.
16813
c88f1766
UD
168142011-08-20 Ulrich Drepper <drepper@gmail.com>
16815
0276a718
UD
16816 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16817 the very first instruction.
16818
c88f1766
UD
16819 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16820 the CFI state in the end.
16821 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16822 inclusion of dl-trampoline.h.
16823 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16824
51ccffa0
AS
168252011-08-19 Andreas Schwab <schwab@redhat.com>
16826
94d7165f
AS
16827 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16828 expectations for long double.
16829
51ccffa0
AS
16830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16831 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16832
fd708658 168332011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16834
16835 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16836 artificual limit depends upon the system page size.
16837
44f0a71e
UD
168382011-08-17 Ulrich Drepper <drepper@gmail.com>
16839
16840 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16841 * resolv/Makefile: Define CFLAGS-libresolv.
16842
8de79a24
AS
168432011-08-17 Andreas Schwab <schwab@redhat.com>
16844
16845 * nss/makedb.c (compute_tables): Make variables used in nested
16846 function static.
16847
27724598
UD
168482011-08-17 Ulrich Drepper <drepper@gmail.com>
16849
c5305d88
UD
16850 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16851 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16852 if buffer was too small.
16853
27724598
UD
16854 * elf/pldd.c (main): Attach to all threads in the process.
16855 Rewrite /proc handling to use *at functions.
16856
076fe015
UD
168572011-08-16 Ulrich Drepper <drepper@gmail.com>
16858
174baab3
UD
16859 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16860 specifies first scope to show.
16861 (dl_open_worker): Update callers. Move printing scope of new
16862 object to before the relocation.
44f0a71e 16863 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16864 * sysdeps/generic/ldsodefs.h: Update declaration.
16865
076fe015
UD
16866 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16867 string for the scope number.
16868
a60df2c3
UD
168692011-08-14 Ulrich Drepper <drepper@gmail.com>
16870
16871 * nscd/servicescache.c (cache_addserv): Make sure written is always
16872 initialized.
16873
5e4287d1
RM
168742011-08-14 Roland McGrath <roland@hack.frob.com>
16875
85ae0589
RM
16876 * sysdeps/i386/i486/bits/atomic.h
16877 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16878 statement expression, so as to suppress "set but not used" warning.
16879 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16880
69f63097
RM
16881 * string/strncat.c (STRNCAT): Use prototype definition.
16882
675456ef
RM
16883 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16884 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16885 -Iprograms here.
16886 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16887 (localedef-modules): Add localedef.
16888 (locale-modules): Add locale.
16889
5e4287d1
RM
16890 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16891 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16892 to avoid a warning.
16893
9c96ff23
DM
168942011-08-14 David S. Miller <davem@davemloft.net>
16895
16896 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16897 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16898
f9ddf089
UD
168992011-08-13 Ulrich Drepper <drepper@gmail.com>
16900
44f0a71e 16901 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16902 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16903 * elf/rtld.c (dl_main): Set l_name of vDSO.
16904 Call _dl_show_scope when DL_DEBUG_SCOPES.
16905 (process_dl_debug): Recognize scopes flag and also set it for all.
16906 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16907 Declare _dl_show_scope.
16908
1dc27704
UD
16909 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16910 (do_dlopen): Pass caller_dlopen to dl_open.
16911 (__libc_dlopen_mode): Initialize caller_dlopen.
16912
f9ddf089
UD
16913 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16914 of libc. Make tolower call locale-independent. Optimize a bit by
16915 using isdigit instead of isalnum.
16916 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16917
9ac533d3
UD
169182011-08-12 Ulrich Drepper <drepper@gmail.com>
16919
16920 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16921 was a dependency or dynamically loaded.
16922
89edf2e9
UD
169232011-08-11 Ulrich Drepper <drepper@gmail.com>
16924
8e999d29
UD
16925 * intl/l10nflist.c: Allow architecture-specific pop function.
16926 * sysdeps/x86_64/l10nflist.c: New file.
16927
89edf2e9
UD
16928 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16929 classification.
16930
14d96785
AS
169312011-08-10 Andreas Schwab <schwab@redhat.com>
16932
16933 * include/dirent.h: Add libc_hidden_proto for scandirat and
16934 scandirat64. Don't declare __scandirat64.
16935 * dirent/scandirat.c: Add libc_hidden_def.
16936 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16937 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16938
6761ac04
DM
169392011-08-10 David S. Miller <davem@davemloft.net>
16940
16941 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16942 enum.
16943 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16944 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16945 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16946
c55fbd1e
UD
169472011-08-09 Ulrich Drepper <drepper@gmail.com>
16948
16949 * Versions.def [libc]: Add GLIBC_2.15.
16950 * dirent/Makefile (routines): Add scandirat and scandirat64.
16951 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16952 GLIBC_2.15.
16953 * dirent/dirent.h: Declare scandirat and scandirat64.
16954 * dirent/scandirat.c: New file.
16955 * dirent/scandirat64.c: New file.
16956 * sysdeps/wordsize-64/scandirat.c: New file.
16957 * sysdeps/wordsize-64/scandirat64.c: New file.
16958 * dirent/opendir.c: Define opendirat.
16959 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16960 using scandirat.
16961 * dirent/scandir64.c: Adjust for scandir.c change.
16962 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16963 __scandirat64, and __scandir_cancel_handler.
16964 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16965 additional parameter and use openat instead of open (outside of ld.so).
16966 Add new __opendir as wrapper around __opendirat.
16967 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16968 here without requiring old scandirat implementation.
16969
879165f2
UD
169702011-08-08 Ulrich Drepper <drepper@gmail.com>
16971
16972 * dirent/scandir.c (cancel_handler): Renamed to
16973 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16974 defined. Adjust users.
16975 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16976 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16977
cb7e923b
UD
169782011-08-04 Ulrich Drepper <drepper@gmail.com>
16979
16292edd
UD
16980 * string/test-string.h (IMPL): Use __STRING to expand name and then
16981 stringify it.
16982
cb7e923b
UD
16983 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16984 of cleanups.
16985
cff82933
LD
169862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16987
16988 * string/Makefile: Update.
16989 (strop-tests): Append strncat.
16990 * string/test-wcscmp.c: New file.
16991 New comprehensive test for wcscmp.
16992 * string/test-strcmp.c: Update.
16993 (WIDE): New define.
16994
9be9bfcc
AS
169952011-07-22 Andreas Schwab <schwab@redhat.com>
16996
16997 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16998 line.
16999
2e96f1c7
AS
170002011-07-26 Andreas Schwab <schwab@redhat.com>
17001
17002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17003 encoding to ACE if AI_IDN.
17004
85188888
JJ
170052011-08-01 Jakub Jelinek <jakub@redhat.com>
17006
17007 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17008 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17009
5fa16e9b
LD
170102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17011
17012 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17013 Fix overflow bug in strncat.
17014 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17015
17016 * string/test-strncat.c: Update.
17017 Add new tests for checking overflow bugs.
17018
170192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17020
17021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17022 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17023 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17024 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17025 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17026 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17027 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17028 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17029 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17030
17031 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17032 (USE_AS_STRCAT): Define.
17033 Add strcat and strncat support.
17034 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17035
8c1a459f
AS
170362011-07-25 Andreas Schwab <schwab@redhat.com>
17037
17038 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17039 __n bigger than INT_MAX+1.
17040 (__strncmp_g): Likewise.
17041
bba33c28
UD
170422011-07-23 Ulrich Drepper <drepper@gmail.com>
17043
798be72d
UD
17044 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17045 * libio/stido.h: Likewise.
17046
8accd4dc
UD
17047 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17048 (AF_NFC): Define.
17049 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17050 (AF_NFC): Define.
17051
cbff0d96
UD
17052 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17053 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17054 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17055 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17056 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17057
9191c04a
UD
17058 [BZ #13021]
17059 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17060 installed.
17061
bba33c28
UD
17062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17063 typo.
17064 (_dl_x86_64_save_sse): Likewise.
17065
90f139dd
UD
170662011-07-22 Ulrich Drepper <drepper@gmail.com>
17067
1aae088a
UD
17068 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17069 OSXSAVE.
17070 (_dl_x86_64_save_sse): Likewise.
17071
8e2045f5
UD
17072 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17073
90f139dd
UD
17074 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17075
1d002f25
AS
170762011-07-21 Andreas Schwab <schwab@redhat.com>
17077
17078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17079 change.
17080 (_dl_x86_64_save_sse): Use correct AVX check.
17081
21137f89
UD
170822011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17083
17084 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17085 bug in strncpy/strncat.
17086 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17087
a65c0b7a
UD
170882011-07-21 Ulrich Drepper <drepper@gmail.com>
17089
17090 * string/tester.c (test_strcat): Add tests for different alignments
17091 of source and destination.
17092 (test_strncat): Likewise.
17093
6986b98a
UD
170942011-07-20 Ulrich Drepper <drepper@gmail.com>
17095
90bb2039
UD
17096 [BZ #12852]
17097 * posix/glob.c (glob): Check passed in values before using them in
17098 expressions to avoid some overflows.
17099 (glob_in_dir): Likewise.
17100
5644ef54
UD
17101 [BZ #13007]
17102 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17103 check for AVX enablement so that we don't crash with old kernels and
17104 new hardware.
17105 * elf/tst-audit4.c: Add same checks here.
17106 * elf/tst-audit6.c: Likewise.
17107
17108 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17109
bfc9dc9b
AS
171102011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17111
17112 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17113
702e64bb
UD
171142011-07-20 Ulrich Drepper <drepper@gmail.com>
17115
17116 * po/cs.po: Update from translation team.
17117 * po/bg.po: Likewise.
17118
295e904f
MP
171192011-07-12 Marek Polacek <mpolacek@redhat.com>
17120
17121 * misc/sys/cdefs.h: Add support for const attribute.
17122 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17123 to gnu_dev_{major,minor,makedev} functions.
17124
3ff94596
MP
171252011-07-20 Marek Polacek <mpolacek@redhat.com>
17126
17127 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17128
28b59fca
AS
171292011-07-20 Andreas Schwab <schwab@redhat.com>
17130
17131 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17132 strlen results.
17133
19df733e
AK
171342011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17135
17136 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17137 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17138 register in order to avoid conflicts with the soft frame pointer
17139 being held in r11 when necessary.
17140 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17141 (INTERNAL_VSYSCALL_NCS): Likewise.
17142
c8835729
MP
171432011-07-14 Marek Polacek <mpolacek@redhat.com>
17144
17145 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17146 * elf/dl-fini.c (_dl_fini): Adjust caller.
17147 * elf/dl-close.c (_dl_close_worker): Likewise.
17148 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17149
b902330c
MP
171502011-07-15 Marek Polacek <mpolacek@redhat.com>
17151
8991e135
MP
17152 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17153 "aux_cache->nlibs < 0".
17154
b902330c
MP
17155 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17156 in the reload-count case.
17157
99710781
LD
171582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17159
17160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17161 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17162 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17163 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17164 * sysdeps/x86_64/multiarch/strcat.S: New file.
17165 * sysdeps/x86_64/multiarch/strncat.S: New file.
17166 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17167 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17168 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17169 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17170 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17171 (USE_AS_STRCAT): Define.
17172 Add strcat and strncat support.
17173 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17174 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17175 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17176 * string/strncat.c: Update.
17177 (USE_AS_STRNCAT): Define.
17178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17179 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17180 and i7.
17181 * sysdeps/x86_64/multiarch/init-arch.h
17182 (bit_Prefer_PMINUB_for_stringop): New.
17183 (index_Prefer_PMINUB_for_stringop): Likewise.
17184 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17185 bit_Prefer_PMINUB_for_stringop.
17186
7dc6bd90
UD
171872011-07-19 Ulrich Drepper <drepper@gmail.com>
17188
17189 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17190 buffer64.
17191 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17192 of casting of buffer.
17193 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17194 buffer32 and buffer64.
17195 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17196 writes instead of casting of buffer.
17197 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17198 buffer32.
17199 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17200 casting of buffer.
17201
e0e72284
AS
172022011-07-19 Andreas Schwab <schwab@redhat.com>
17203
17204 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17205
feb1eb0b
UD
172062011-07-19 Ulrich Drepper <drepper@gmail.com>
17207
17208 * nscd/nscd.c (termination_handler): Don't do anything for a database
17209 if it has not yet been initialized.
17210
298711ff
UD
172112011-07-18 Ulrich Drepper <drepper@gmail.com>
17212
17213 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17214
172152011-07-15 Marek Polacek <mpolacek@redhat.com>
17216
17217 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17218
f9d68389
UD
172192011-07-18 Ulrich Drepper <drepper@gmail.com>
17220
17221 * po/nl.po: Update from translation team.
17222 * po/sv.po: Likewise.
17223
db290cf5
RM
172242011-07-16 Roland McGrath <roland@hack.frob.com>
17225
17226 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17227 now disallowed by GCC.
5c550700 17228
fd5e21c7
RM
17229 * configure.in (use-default-link): Default to yes if a test -shared
17230 link meets our qualifications.
17231 * configure: Regenerated.
17232
5c550700
RM
17233 * config.make.in (output-format): New variable.
17234 * configure.in: Check for ld --print-output-format support.
17235 * configure: Regenerated.
17236 * Makerules ($(common-objpfx)format.lds)
17237 [$(output-format) != unknown]: Just use $(output-format),
17238 instead of the linker-script munging.
17239
9fa2c032
RM
172402011-07-14 Roland McGrath <roland@hack.frob.com>
17241
a6928d51
RM
17242 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17243 of $(common-objpfx)shlib.lds.
17244 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17245
661607b3
RM
17246 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17247 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17248
9fa2c032
RM
17249 * configure.in (-z relro check): Adjust test code to add a large
17250 writable data section after it.
17251 * configure: Regenerated.
17252
defe9061
RM
172532011-07-11 Roland McGrath <roland@hack.frob.com>
17254
17255 * configure.in (-z relro check): Fix test code to make the variable
17256 truly const.
17257 * configure: Regenerated.
17258
319b9ad4
UD
172592011-07-11 Ulrich Drepper <drepper@gmail.com>
17260
17261 * nscd/nscd.h (struct traced_file): Define.
17262 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17263 elements. Add traced_files.
17264 (inotify_fd): Declare.
17265 (register_traced_file): Declare.
17266 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17267 (inotify_fd): Export.
17268 (resolv_conf_descr): Remove.
17269 (nscd_init): Move inotify descriptor creation to main.
17270 Don't register files for notification here.
17271 (register_traced_file): New function.
17272 (invalidate_cache): Don't use reset_res to determine whether to call
17273 res_init, go through the list of registered files.
17274 (main_loop_poll): The inotify descriptors are now stored in the
17275 structures for the traced files.
17276 (main_loop_epoll): Likewise
17277 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17278 to __nss_disable_nscd.
17279 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17280 for a database anymore. Check the records for all the registered
17281 files instead.
17282 * nss/Makefile (libnss_files-routines): Add files-init.
17283 (libnss_db-routines): Add db-init.
17284 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17285 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17286 * nss/nss_db/db-init.c: New file.
17287 * nss/nss_files/files-init.c: New file.
17288 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17289 __nss_lookup_function.
17290 (__nss_lookup_function): Call nss_load_library.
17291 (nss_load_all_libraries): New function.
17292 (__nss_disable_nscd): Take parameter with callback function for files
17293 to register. Set is_nscd. Load all the DSOs for the NSS modules
17294 used for the cached services.
17295 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17296 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17297 options for features to all the files in nscd.
17298
17299 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17300
23bee3e8
RM
173012011-07-10 Roland McGrath <roland@hack.frob.com>
17302
17303 * csu/elf-init.c (__libc_csu_init): Comment typo.
17304
46a5b7f0
UD
173052011-07-09 Ulrich Drepper <drepper@gmail.com>
17306
17307 * po/pl.po: Update from translation team.
17308 * po/ja.po: Likewise.
17309 * po/ru.po: Likewise.
17310 * po/ko.po: Likewise.
17311 * po/fr.po: Likewise.
17312
d30cf5bb
RM
173132011-07-09 Roland McGrath <roland@hack.frob.com>
17314
113ddea4
RM
17315 * configure.in (.ctors/.dtors header and trailer check):
17316 Use an empirical test on a built program.
17317 * configure: Regenerated.
17318
574920b4
RM
17319 * configure.in (-z relro check): Use an empirical test on a built DSO.
17320 Detect, but do not require, on ia64.
17321 * configure: Regenerated.
17322
d30cf5bb
RM
17323 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17324 Update tests that use readelf to use $READELF instead.
17325 * configure: Regenerated.
17326
8538fdb3
UD
173272011-07-08 Ulrich Drepper <drepper@gmail.com>
17328
17329 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17330 if the result is not used.
17331
04d08991
AJ
173322011-07-05 Andreas Jaeger <aj@suse.de>
17333
17334 [BZ#9696]
17335 * stdlib/tst-strtod.c: Add testcase.
17336
de283087
AD
173372011-07-07 Ulrich Drepper <drepper@gmail.com>
17338
4e5f31c8 17339 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17340 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17341 The latter has a higher limit. Take additional parameter to pass to
17342 the new function.
17343 (__pathconf): Pass file to __statfs_link_max.
17344 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17345 __statfs_link_max.
17346 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17347 __statfs_link_max.
17348
de283087
AD
17349 [BZ #12868]
17350 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17351 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17352 Handle Lustre.
17353 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17354 (__statfs_filesize_max): Likewise.
17355 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17356
c75fa153
AJ
173572011-07-05 Andreas Jaeger <aj@suse.de>
17358
17359 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17360
1a544854
UD
173612011-07-06 Marek Polacek <mpolacek@redhat.com>
17362
17363 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17364 `status' variable.
17365 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17366 Likewise.
17367
6f0eec67
UD
173682011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17369
17370 * Makefile (strop-tests): Add strncat.
17371 * string/test-strncat.c: New file.
17372
aae30307
UD
173732011-06-30 Marek Polacek <mpolacek@redhat.com>
17374
17375 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17376
c0cfb5eb
UD
173772011-06-21 Andreas Jaeger <aj@suse.de>
17378
17379 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17380 Copy rule from iconvdata/Makefile.
17381
01636b21
UD
173822011-07-06 Ulrich Drepper <drepper@gmail.com>
17383
17384 [BZ #12922]
17385 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17386 but no long options are defined, just return 'W'.
17387
9895c8bc
UD
173882011-06-22 Marek Polacek <mpolacek@redhat.com>
17389
17390 [BZ #9696]
17391 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17392
5d4cf042
UD
173932011-07-06 Ulrich Drepper <drepper@gmail.com>
17394
17395 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17396 netgroups to read.
960e5535 17397 (innetgr): Likewise.
5d4cf042 17398
751eb97e
RM
173992011-07-05 Roland McGrath <roland@hack.frob.com>
17400
17401 * config.make.in (install_root): Default to $(DESTDIR).
17402
f15f1e45
UD
174032011-07-05 Ulrich Drepper <drepper@gmail.com>
17404
17405 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17406
4e34ac6a
RM
174072011-07-02 Roland McGrath <roland@hack.frob.com>
17408
5e9b6af4
RM
17409 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17410
84f9ea0f
RM
17411 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17412 containing directory rather than embedding absolute directory names.
17413
ea5ee9f7
RM
17414 * scripts/check-local-headers.sh: Rewritten using awk.
17415 Match by word, not by line. Print error messages for matches.
17416 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17417
1b74661a
RM
17418 * Makerules [shlib-lds-flags empty]:
17419 ($(common-objpfx)libc_pic.opts): New target.
17420 ($(common-objpfx)libc_pic.os.clean): New target.
17421 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17422
17423 * config.make.in (OBJCOPY): New variable.
17424 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17425 * configure: Regenerated.
17426
f781ef40
RM
17427 * config.make.in (use-default-link): New variable.
17428 * configure.in (use_default_link): Grok --with-default-link to set it.
17429 * configure: Regenerated.
17430 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17431 (shlib-lds, shlib-lds-flags): Define to empty.
17432
2d4fa81e
RM
17433 * Makerules (shlib-lds): New variable.
17434 (shlib-lds-flags): New variable.
17435 (build-shlib, build-moduile, build-module-asneeded): Use it.
17436 ($(common-objpfx)libc.so): Use $(shlib-lds).
17437 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17438 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17439
31fffa6b
RM
17440 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17441 DT_FLAGS/DT_FLAGS_1 with zero flags.
17442
4e34ac6a
RM
17443 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17444 linker script munging.
17445
fcfc776b
UD
174462011-07-02 Ulrich Drepper <drepper@gmail.com>
17447
17448 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17449 as 128-bit value.
17450 * crypt/sha512.c (sha512_process_block): Perform total addition using
17451 128-bit if possible.
17452 (__sha512_finish_ctx): Likewise.
17453 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17454 as 64-bit value.
17455 * crypt/sha256.c (SWAP64): Define.
17456 (sha256_process_block): Perform total addition using 64-bit if
17457 possible.
17458 (__sha256_finish_ctx): Likewise.
17459
99231d9a
UD
174602011-07-01 Ulrich Drepper <drepper@gmail.com>
17461
17462 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17463 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17464 * nscd/hstcache.c (cache_addhst): Likewise.
17465 * nscd/grpcache.c (cache_addgr): Likewise.
17466 * nscd/aicache.c (addhstaiX): Likewise
17467 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17468
445b4a53
TK
174692011-07-01 Thorsten Kukuk <kukuk@suse.de>
17470
17471 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17473 * nscd/hstcache.c (cache_addhst): Likewise.
17474 * nscd/grpcache.c (cache_addgr): Likewise.
17475 * nscd/aicache.c (addhstaiX): Likewise
17476
6d4d8e8e
AS
174772011-07-01 Andreas Schwab <schwab@redhat.com>
17478
17479 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17480 domain only when needed.
17481
89f654c5
AS
174822011-06-30 Andreas Schwab <schwab@redhat.com>
17483
17484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17485 is always restored.
17486
cf3b23ff
UD
174872011-06-29 Ulrich Drepper <drepper@gmail.com>
17488
17489 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17490 are re-adding the entry.
17491 * nscd/servicescache.c (cache_addserv): Likewise.
17492
751626f9
AJ
174932011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17494
17495 * sysdeps/generic/dl-irel.h: fix protection against multiple
17496 inclusions.
17497 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17498
9113ea1f
UD
174992011-06-28 Ulrich Drepper <drepper@gmail.com>
17500
5c0b8d90
UD
17501 [BZ #12935]
17502 * malloc/memusage.sh: Fix quoting in message.
17503 * debug/xtrace.sh: Likewise.
17504
9113ea1f
UD
17505 * configure.in: Remove support for --experimental-malloc option, make
17506 it the default.
17507 * config.make.in: Likewise.
17508 * malloc/Makefile: Likewise.
17509
a4172181
AS
175102011-06-27 Andreas Schwab <schwab@redhat.com>
17511
17512 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17513 two-byte characters.
17514
78a7eee7
RM
175152011-06-27 Roland McGrath <roland@hack.frob.com>
17516
62bede13
RM
17517 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17518 AC_CACHE_CHECK invocation.
17519 * configure: Regenerated.
17520
78a7eee7
RM
17521 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17522
5ce33a62
UD
175232011-06-27 Ulrich Drepper <drepper@gmail.com>
17524
034807a9
UD
17525 [BZ #12350]
17526 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17527 bit from old_res_options.
17528
4902da17
UD
17529 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17530
5ce33a62
UD
17531 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17532 value type for setfct.
17533
c2344f56
L
175342011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17535
17536 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17537 __gettimeofday instead of gettimeofday.
17538
68468076
UD
175392011-06-26 Ulrich Drepper <drepper@gmail.com>
17540
17541 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17542
acb0d739
L
175432011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17544
17545 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17546
17547 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17548 info.
17549
8912479f
L
175502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17551
17552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17553 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17554 strcpy-sse2-unaligned strncpy-sse2-unaligned
17555 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17556 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17557 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17558 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17559 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17560 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17561 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17562 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17563 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17564 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17565 (STRCPY): Support SSE2 and SSSE3 versions.
17566
d5495a11
UD
175672011-06-24 Ulrich Drepper <drepper@gmail.com>
17568
17569 [BZ #12874]
17570 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17571 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17572 kernels which artificially limit size of requests.
17573
0b1cbaae
L
175742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17575
17576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17577 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17578 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17579 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17580 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17581 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17582 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17583 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17584 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17586 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17587 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17588 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17589 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17590 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17592 Enable unaligned load optimization for Intel Core i3, i5 and i7
17593 processors.
17594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17595 Define.
17596 (index_Fast_Unaligned_Load): Define.
17597 (HAS_FAST_UNALIGNED_LOAD): Define.
17598
07f494a0
MP
175992011-06-23 Marek Polacek <mpolacek@redhat.com>
17600
17601 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17602
fa3fc0fe
UD
176032011-06-22 Ulrich Drepper <drepper@gmail.com>
17604
17605 [BZ #12907]
17606 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17607 until it is clear that the information is realy needed.
17608 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17609
e12df166
AS
176102011-06-22 Andreas Schwab <schwab@redhat.com>
17611
17612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17613
852eb34d
UD
176142011-06-22 Ulrich Drepper <drepper@gmail.com>
17615
84e2a551
UD
17616 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17617 /sys/devices/system/cpu/online if it is usable.
17618
852eb34d
UD
17619 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17620 reading the information from the /proc filesystem to once a second.
17621
6e502e19
UD
176222011-06-21 Andreas Jaeger <aj@suse.de>
17623
17624 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17625 NULL after inclusion of kernel headers.
17626
75d39ff2
UD
176272011-06-21 Ulrich Drepper <drepper@gmail.com>
17628
51f9aa6a
UD
17629 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17630 calls to internal_setent.
17631
c0244a9d
UD
17632 [BZ #12885]
17633 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17634 addresses using gethostbyname4_r ignore IPv4 addresses.
17635
c5e3c2ae
UD
17636 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17637 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17638
75d39ff2
UD
17639 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17640
42675c6f
DM
176412011-06-20 David S. Miller <davem@davemloft.net>
17642
17643 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17644 inclusions.
17645 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17646
17647 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17648 (elf_irel): Use it.
17649 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17650 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17651 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17652 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17653 * sysdeps/x86_64/dl-irel.h: Likewise.
17654
17655 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17656 * elf/dl-sym.c: Likewise.
17657
57912a71
UD
176582011-06-15 Ulrich Drepper <drepper@gmail.com>
17659
17660 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17661 need to dereference resplen2.
17662
ee22793d
AS
176632011-06-14 Andreas Schwab <schwab@redhat.com>
17664
17665 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17666
a9e836b0
UD
176672011-06-15 Ulrich Drepper <drepper@gmail.com>
17668
77fb9117
UD
17669 * Makeconfig: Define vardbdir and inst_vardbdir.
17670 * nss/Makefile: Add rules to install db-Makefile.
17671
40c1b22c
UD
17672 * nss/nss_db/db-XXX.c: Cleanup.
17673
9f2da732
UD
17674 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17675 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17676 GLIBC_PRIVATE.
17677 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17678 * nss/makedb.c: Implement -g option to specify that value strings
17679 are generated and should not be added to table iterated over for
17680 get*ent calls.
17681 * nss/nss_db/db-initgroups.c: New file.
17682
82e9a1f7
UD
17683 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17684 interface.
17685
c41af17e
UD
17686 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17687 (internal_getgrouplist): Adjust to name change.
17688 Update use_initgroups_entry if this is not the first call.
17689 * nss/databases.def: Add initgroups entry.
17690
a9e836b0
UD
17691 * nss/makedb.c (compute_tables): Check result of multiple hash table
17692 sizes to minimize maximum chain length.
17693
2666d441
UD
176942011-06-14 Ulrich Drepper <drepper@gmail.com>
17695
17696 * Versions.def: Add entry for libnss_db.
17697 * shlib-versions: Likewise.
17698 * nss/Makefile: Add rules to build libnss_db.
17699 * nss/Versions: Add libnss_db information. Organize libnss_files
17700 entries better.
17701 * nss/db-Makefile: Add gshadow support. Change rules for the new
17702 makedb progra. Some minor improvements to generate smaller files.
17703 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17704 here from...
17705 * nss/makedb.c: ...here.
17706 Improve database format to be smaller and require less memory at
17707 runtime.
17708 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17709 db anymore.
17710 * nss/nss_db/db-netgrp.c: Likewise.
17711 * nss/nss_db/db-open.c: Likewise.
17712 * nss/nss_files/flies-XXX.x: Adjust comments.
17713 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17714 * nss/nss_files/files-grp.c: Likewise.
17715 * nss/nss_files/files-hosts.c: Likewise.
17716 * nss/nss_files/files-network.c: Likewise.
17717 * nss/nss_files/files-proto.c: Likewise.
17718 * nss/nss_files/files-pwd.c: Likewise.
17719 * nss/nss_files/files-rpc.c: Likewise.
17720 * nss/nss_files/files-service.c: Likewise.
17721 * nss/nss_files/files-sgrp.c: Likewise.
17722 * nss/nss_files/files-spwd.c: Likewise.
17723 * nss/nss_db/db-alias.c: Removed.
17724 * nss/nss_db/dummy-db.h: Removed.
17725
9ee76b5a
UD
177262011-06-02 Ulrich Drepper <drepper@gmail.com>
17727
17728 * nss/makedb.c: Rewritten to not use database library.
17729 * nss/Makefile: Update to build new makedb program.
17730
c71ca1f8
AJ
177312011-06-14 Andreas Jaeger <aj@suse.de>
17732
17733 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17734 memset declaration.
17735
3154bfb8
UD
177362011-06-10 Andreas Schwab <schwab@redhat.com>
17737
17738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17739 tmpbuf.
17740
b350afab
RM
177412011-06-10 Roland McGrath <roland@hack.frob.com>
17742
decd4e50
RM
17743 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17744 * elf/Makefile ($(objpfx)ld.so): Likewise.
17745
5615eaf2
RM
17746 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17747 Don't list ld.so twice in dependencies.
17748
17749 * posix/bug-regex31.c: Include <stdlib.h>.
17750
17751 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17752
17753 * nis/nss_compat/compat-spwd.c
17754 (getspent_next_nss_netgr): Remove unused variable.
17755 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17756
17757 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17758 nonmembers" output to use the right array.
17759
17760 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17761
17762 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17763
17764 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17765 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17766 * catgets/gencat.c (read_input_file): Likewise.
17767 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17768
17769 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17770 variable definition inside #if's controlling its use.
17771
17772 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17773
17774 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17775
17776 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17777
17778 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17779 unreachable code.
17780
17781 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17782
b68e08db
RM
17783 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17784 * configure: Regenerated.
17785
b350afab
RM
17786 * Makerules: Revert last change.
17787 * elf/Makefile: Likewise.
17788
28368601
RM
177892011-06-09 Roland McGrath <roland@hack.frob.com>
17790
17791 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17792 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17793 (reloc-link): Likewise.
17794
11988f8f
UD
177952011-06-09 Ulrich Drepper <drepper@gmail.com>
17796
17797 * elf/Makefile: Add rules to build pldd.
17798 * elf/pldd.c: New file.
17799 * elf/pldd-xx.c: New file.
17800
e80fab37
UD
178012011-06-07 Ulrich Drepper <drepper@gmail.com>
17802
17803 * version.h: Update for 2.15 development version.
17804
9b849836
DM
178052011-06-07 David S. Miller <davem@davemloft.net>
17806
17807 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17808 ifuncs.
17809 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17810 elf_machine_lazy_rel): Likewise.
17811 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17812 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17813 elf_machine_lazy_rel): Likewise.
17814 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17815 dl_hwcap via passed in argument.
17816 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17817 Likewise.
17818
5a31b283
AK
178192011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17820
17821 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17822
069e52f8
RM
178232011-06-06 Roland McGrath <roland@hack.frob.com>
17824
17825 [BZ #12849]
17826 * manual/fdl-1.1.texi: New file, verbatim from:
17827 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17828 * manual/lgpl-2.1.texi: New file, verbatim from:
17829 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17830 * manual/Makefile (licenses): New variable, list those new file names.
17831 (texis): Use it.
17832 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17833
17834 * manual/fdl.texi: File removed.
17835 * manual/lesser.texi: File removed.
17836 * manual/libc.texinfo (Copying, Documentation License):
17837 Use new @include file names, put @appendix directive before @include.
17838
f16846a5
JJ
178392011-06-04 Jakub Jelinek <jakub@redhat.com>
17840
17841 [BZ #12841]
17842 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17843 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17844 (mq_open): Add __NTH.
17845
3d29045b
L
178462011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17847
17848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17849 Assume Intel Core i3/i5/i7 processor if AVX is available.
17850
8c297311
UD
178512011-05-31 Ulrich Drepper <drepper@gmail.com>
17852
17853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17854 typo.
17855
c8fc0c91
UD
178562011-05-31 Andreas Schwab <schwab@redhat.com>
17857
17858 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17859 memory. Use alloca_account. Fix memory leak when retrying.
17860
5b27a807
UD
178612011-05-31 Ulrich Drepper <drepper@gmail.com>
17862
356f8bc6
UD
17863 * version.h (RELEASE): Bump for 2.14 release.
17864 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17865
5b27a807
UD
17866 * config.make.in (RANLIB): Remove entry.
17867
01f16ab0
UD
178682011-05-30 Ulrich Drepper <drepper@gmail.com>
17869
41fce8bd
UD
17870 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17871 (libc.pot): Work around missing support for .ksh extension in xgettext.
17872
4769ae77
UD
17873 [BZ #12684]
17874 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17875 if both request failed.
17876 (send_dg): In case of server errors clear resplen or *resplen2.
17877
6b1e7d19
UD
17878 [BZ #12454]
17879 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17880 when there are multiple maps.
17881 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17882 (_dl_fini): Remove test here.
17883
01f16ab0
UD
17884 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17885
b1ebd700
UD
178862011-05-29 Ulrich Drepper <drepper@gmail.com>
17887
7ae22829
UD
17888 [BZ #12350]
17889 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17890 bit from old_res_options.
17891 (gaih_inet): Likewise.
17892
553149f6 17893 [BZ #11099]
18a84741 17894 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17895 as signed.
17896
652ffab1
UD
17897 * resolv/res_init.c (res_setoptions): Make the code more compact.
17898
16985fd0
UD
17899 [BZ #11558]
17900 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17901 set RES_USEVC.
17902
0464f746
UD
17903 [BZ #11634]
17904 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17905
7d17596c
UD
17906 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17907
cf6bbbd7
UD
17908 [BZ #11781]
17909 * malloc/malloc.h: Declare malloc hook variables as volatile.
17910
13f1ab36
UD
17911 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17912 in last patch.
17913
b1ebd700
UD
17914 [BZ #11799]
17915 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17916 raise in the comment.
80e2212d
UD
17917 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17918 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17919 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17920
ce67228d
UD
179212011-05-28 Ulrich Drepper <drepper@gmail.com>
17922
8887a920
UD
17923 [BZ #12811]
17924 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17925 grow the buffers more if it already has to be sufficient.
17926 (build_wcs_upper_buffer): Likewise.
17927 * posix/regexec.c (check_matching): Likewise.
17928 (clean_state_log_if_needed): Likewise.
17929 (extend_buffers): Don't enlarge buffers beyond size of the input
17930 buffer.
17931 Patches mostly by Emil Wojak <emil@wojak.eu>.
17932 * posix/bug-regex32.c: New file.
17933 * posix/Makefile (tests): Add bug-regex32.
17934
4f031072
UD
17935 * locale/findlocale.c (_nl_find_locale): Return right away if
17936 _nl_explode_name failed.
17937 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17938
d0478f0c
UD
17939 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17940
de81b246
UD
17941 * debug/xtrace.sh: Unify messages.
17942 * malloc/memusage.sh: Likewise.
17943
c738465a
UD
17944 [BZ #12813]
17945 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17946 time symbol from vDSO. Substitute with vsyscall if not available.
17947 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17948 __vdso_time.
17949
f1f929d7
UD
17950 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17951 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17952 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17953 Add sendmmsg and internal_sendmmsg.
17954 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17955 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17956 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17957
ce67228d
UD
17958 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17959 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17960 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17961
e57420c6
UD
179622011-05-27 Ulrich Drepper <drepper@gmail.com>
17963
a8509ca5
UD
17964 [BZ #12813]
17965 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17966 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17967 available.
17968 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17969 __vdso_getcpu.
17970
e57420c6
UD
17971 [BZ #12814]
17972 * iconvdata/Makefile (tests): Add bug-iconv9.
17973 * iconvdata/bug-iconv9.c: New file.
17974
4d07db15
AS
179752011-05-27 Andreas Schwab <schwab@redhat.com>
17976
17977 [BZ #12814]
17978 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17979
ea486f69
JJ
179802011-05-25 Jakub Jelinek <jakub@redhat.com>
17981
17982 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17983 (struct user_regs_struct): Change intcs field back to cs.
17984
6f038433
UD
179852011-05-25 Ulrich Drepper <drepper@gmail.com>
17986
17987 * po/ja.po: Update from translation team.
17988
67f86a25
UD
179892011-05-23 Ulrich Drepper <drepper@gmail.com>
17990
17991 [BZ #12795]
17992 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17993 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17994
def7fbd6
AS
179952011-05-20 Andreas Schwab <schwab@redhat.com>
17996
17997 * stdlib/longlong.h: Update from GCC.
17998
f50ef8f1
AS
179992011-05-23 Andreas Schwab <schwab@redhat.com>
18000
18001 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18002 parameter name.
18003 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18004 Add parameter name.
18005 (__sysconf): Pass it down.
18006
de7ce8f1
UD
180072011-05-22 Ulrich Drepper <drepper@gmail.com>
18008
f2962a71
UD
18009 [BZ #12671]
18010 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18011 some situations.
18012 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18013 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18014 add in in __libc_use_alloca calls. Adjust callers.
18015 (glob): Use malloc in some situations.
18016
de7ce8f1
UD
18017 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18018 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18019 pltexit.
18020
aec84f53
UD
180212011-05-21 Ulrich Drepper <drepper@gmail.com>
18022
05bb4a68
UD
18023 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18024 and CLOCK_BOOTTIME_ALARM.
18025
7ea72f99
UD
18026 [BZ #12782]
18027 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18028 is returned.
18029
7e4afad5
UD
18030 * string/_strerror.c (__strerror_r): Print negative errors as signed
18031 numbers.
18032
8e211fec
UD
18033 [BZ #12777]
18034 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18035 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18036 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18037
f7d82dc9
UD
18038 * configure.in: Fix typo in redirection and correct removal of test
18039 files in two cases.
18040
cc9e536d
UD
18041 [BZ #12788]
18042 * locale/setlocale.c (new_composite_name): Fix test to check for
18043 identical name of all categories.
18044
aec84f53
UD
18045 [BZ #12792]
18046 * libio/filedoalloc.c (local_isatty): New function.
18047 (_IO_file_doallocate): Use local_isatty.
18048 * stdio-common/perror.c (perror): In case a new stream is used
18049 forward the stream error.
18050 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18051 error flag.
18052
78e64fdc
RT
180532011-05-20 Ulrich Drepper <drepper@gmail.com>
18054
34a9094f
UD
18055 [BZ #11869]
18056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18057 alloca.
18058 * include/alloca.h (extend_alloca_account): Define.
18059
78e64fdc
RT
18060 [BZ #11857]
18061 * posix/regex.h: Fix comments with documentation of user-accessible
18062 fields after compilation and describe correct free'ing of pattern
18063 after re_compile_pattern.
18064 Patch by Reuben Thomas <rrt@sc3d.org>.
18065
457bddfc
RA
180662011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18067
18068 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18069 and -mno-altivec to prevent the compiler from using Altivec and/or
18070 VSX instructions when the corresponding registers are not available.
18071
a4527b51
AS
180722011-05-19 Andreas Schwab <schwab@redhat.com>
18073
18074 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18075
ed690b2f
UD
180762011-05-19 Ulrich Drepper <drepper@gmail.com>
18077
18078 * libio/freopen.c (freopen): Use __dup2, not dup2.
18079 * libio/freopen64.c (freopen64): Likewise.
18080
8db73634
L
180812011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18082
18083 [BZ #12775]
18084 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18085 * math/Makefile (tests): Add test-powl.
18086 (CFLAGS-test-powl.c): Define.
18087 * math/test-powl.c: New file.
18088
0a197a9d
L
180892011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18090
18091 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18092
ee30c380
UD
180932011-05-17 Ulrich Drepper <drepper@gmail.com>
18094
18095 [BZ #11837]
18096 * iconvdata/gb18030.c: Update to GB18020-2005.
18097
6ce75379
UD
180982011-05-16 Ulrich Drepper <drepper@gmail.com>
18099
a4b89fd8
AR
18100 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18101 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18102 Patch by Aharon Robbins <arnold@skeeve.com>.
18103
ea389b12
UD
18104 [BZ #11892]
18105 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18106 on the stack.
18107
68a3f91f
UD
18108 [BZ #11895]
18109 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18110 through underflows.
18111
15cc7dd1
UD
18112 [BZ #12766]
18113 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18114 point to strings before performing equality test for error_one_per_line
18115 mode.
18116
f3799213
UD
18117 [BZ #11697]
18118 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18119
d79a9c94
UD
18120 [BZ #11820]
18121 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18122 (struct user_fpregs_struct): Avoid __uint*_t types.
18123
56e5eb46
UD
18124 [BZ #6420]
18125 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18126 symbol info. Use it instead of calling _dl_addr locally.
18127 (lock_and_info): New function.
18128 (tr_freehook): Call lock_and_info and pass symbol info as additional
18129 parameter to tr_where.
18130 (tr_mallochook): Likewise.
18131 (tr_reallochook): Likewise.
18132 (tr_memalignhook): Likewise.
18133
6ce75379
UD
18134 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18135 used and couldn't be at all thread-safe.
18136
f8a3b5bf
UD
181372011-05-15 Ulrich Drepper <drepper@gmail.com>
18138
94b7cc37
UD
18139 * libio/freopen.c (freopen): Don't close old file descriptor
18140 before the new one is opened. Instead dup the new file descriptor
18141 to the old one after the new stream is created.
18142 * libio/freopen64.c (freopen64): Likewise.
18143 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18144 * libio/fileops.c (_IO_new_file_close_it): Handle new
18145 _IO_FLAGS2_NOCLOSE flag.
18146 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18147 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18148 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18149 _IO_FLAGS2_NOCLOSE flag.
18150 * include/unistd.h: Add hidden_proto for dup3.
18151 Define __have_dup3.
18152 * io/dup3.c: Define hidden symbol.
18153 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18154
bd25564e
UD
18155 [BZ #7101]
18156 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18157 when an incomplete long option is used.
18158 * posix/tst-getopt_long1.c: New file.
18159 * posix/Makefile (tests): Add tst-getopt_long1.
18160
c84cfef4
UD
18161 [BZ #10138]
18162 * scripts/config.guess: Update from autoconf-2.68.
18163 * scripts/config.sub: Likewise.
18164
3b85df27
UD
18165 [BZ #10157]
18166 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18167 tests into ...
18168 (has_cpuclock): ...this. New function.
18169 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18170 macro here based on has_cpuclock code.
18171
15a856b1
UD
18172 [BZ #10149]
18173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18174 First byte (not low byte) is now always NUL.
18175 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18176
05f399e6
UD
18177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18178 Use non-cancelable interfaces.
18179
10a52685 18180 [BZ #9809]
94ecc67d
UD
18181 * locale/iso-639.def: Add entry for Sorani.
18182
f8a3b5bf
UD
18183 [BZ #11901]
18184 * include/stdlib.h: Move include protection to the right place.
18185 Define abort_msg_s. Declare __abort_msg with it.
18186 * stdlib/abort.c (__abort_msg): Adjust type.
18187 * assert/assert.c (__assert_fail_base): New function. Majority
18188 of code from __assert_fail. Allocate memory for __abort_msg with
18189 mmap.
18190 (__assert_fail): Now call __assert_fail_base.
18191 * assert/assert-perr.c: Remove bulk of implementation. Use
18192 __assert_fail_base.
18193 * include/assert.hL Declare __assert_fail_base.
18194 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18195 mmap.
18196 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18197
1af4e298
UD
181982011-05-14 Ulrich Drepper <drepper@gmail.com>
18199
f8a3b5bf 18200 [BZ #11952]
d26dfc60
MG
18201 [BZ #12453]
18202 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18203 until all modules are registered in the DTV.
18204 * elf/Makefile: Add rules to build and run tst-tls19.
18205 * elf/tst-tls19.c: New file.
18206 * elf/tst-tls19mod1.c: New file.
18207 * elf/tst-tls19mod2.c: New file.
18208 * elf/tst-tls19mod3.c: New file.
18209 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18210
2fc54d6f
UD
18211 [BZ #12083]
18212 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18213 correctly.
18214
98d76b46
UD
18215 [BZ #12601]
18216 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18217 two-byte sequence errors.
18218 * iconvdata/Makefile (tests): Add bug-iconv8.
18219 * iconvdata/bug-iconv8.c: New file.
18220
da3c19ef
UD
18221 [BZ #12626]
18222 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18223 buf2 definition.
18224
ca408c15
UD
18225 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18226
d6f67f7d
UD
18227 [BZ #12432]
18228 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18229 (dummy_getcfa): New function.
18230 (init): Get _Unwind_GetCFA address, use dummy if not found.
18231 (backtrace_helper): In recursion check, also check whether CFA changes.
18232 (__backtrace): Completely initialize arg.
18233
1af4e298 18234 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18235 storing incomplete byte sequence in state object. Avoid testing for
18236 guaranteed too small input if we know there is enough data available.
1af4e298 18237
da62f81b
AS
182382011-05-11 Andreas Schwab <schwab@redhat.com>
18239
18240 * Makeconfig (+link-pie): Indent.
18241 * Rules (binaries-pie): Define if $(have-fpie) and
18242 $(build-shared).
18243 (binaries-shared): Also filter out $(binaries-pie).
18244 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18245 * nscd/Makefile (others-pie): Add nscd.
18246 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18247 ($(objpfx)nscd): Remove command override.
18248 * login/Makefile (others-pie): Add pt_chown.
18249 ($(objpfx)pt_chown): Remove command override.
18250 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18251 remove command overrides.
18252
fcabc0f8
UD
182532011-05-13 Ulrich Drepper <drepper@gmail.com>
18254
20030ae6
UD
18255 * libio/tst_putwc.c: Fix error messages.
18256
fcabc0f8
UD
18257 [BZ #12724]
18258 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18259 currently writing and seek to current position when not.
18260 * libio/Makefile (tests): Add bug-fclose1.
18261 * libio/bug-fclose1.c: New file.
18262
320a5dc0
PB
182632011-05-12 Ulrich Drepper <drepper@gmail.com>
18264
18265 [BZ #12511]
18266 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18267 don't set DF_1_NODELETE here.
18268 (do_lookup_x): When entering new entry test for copy relocation
18269 and if necessary set DF_1_NODELETE flag.
18270 * elf/tst-unique4.cc: New file.
18271 * elf/tst-unique4.h: New file.
18272 * elf/tst-unique4lib.cc: New file.
18273 * elf/Makefile: Add rules to build and run tst-unique4.
18274 Patch by Piotr Bury <pbury@goahead.com>.
18275
22836f52
UD
182762011-05-11 Ulrich Drepper <drepper@gmail.com>
18277
f574184a
UD
18278 [BZ #12052]
18279 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18280
e1fb097f
UD
18281 [BZ #12625]
18282 * misc/mntent_r.c (addmntent): Flush the stream after the output
18283
22836f52
UD
18284 [BZ #12393]
18285 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18286 (is_trusted_path_normalize): Skip initial colon. Append slash
18287 to empty buffer. Duplicate is_trusted_path code but allow
18288 constructed patch to be prefix.
18289 (is_dst): Allow $ORIGIN followed by /.
18290 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18291 Correct testing of result of is_trusted_path_normalize
18292 (decompose_rpath): Fix warning.
18293
7b3b0b2a
UD
182942011-05-10 Ulrich Drepper <drepper@gmail.com>
18295
18296 [BZ #11257]
18297 * grp/initgroups.c (internal_getgrouplist): When we found the service
18298 list through the initgroups entry in nsswitch.conf do not always
18299 continue on a successful lookup. Don't always use the
eac80ce2 18300 __nss_group_database value if it is set.
7b3b0b2a
UD
18301 * nss/nsswitch.conf (initgroups): Change action for successful db
18302 lookup to continue for compatibility.
18303
2a81eaa5
UD
183042011-05-09 Ulrich Drepper <drepper@gmail.com>
18305
be97a69e
UD
18306 [BZ #11532]
18307 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18308 and CP774 modules.
18309 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18310 and CP774 modules.
18311 * iconvdata/tst-tables.sh: Likewise.
18312 * iconvdata/cp770.c: New file.
18313 * iconvdata/cp771.c: New file.
18314 * iconvdata/cp772.c: New file.
18315 * iconvdata/cp773.c: New file.
18316 * iconvdata/cp774.c: New file.
18317 * iconvdata/testdata/CP770: New file.
18318 * iconvdata/testdata/CP770..UTF8: New file.
18319 * iconvdata/testdata/CP771: New file.
18320 * iconvdata/testdata/CP771..UTF8: New file.
18321 * iconvdata/testdata/CP772: New file.
18322 * iconvdata/testdata/CP772..UTF8: New file.
18323 * iconvdata/testdata/CP773: New file.
18324 * iconvdata/testdata/CP773..UTF8: New file.
18325 * iconvdata/testdata/CP774: New file.
18326 * iconvdata/testdata/CP774..UTF8: New file.
18327
18328 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18329 END CHARMAP line.
18330 * iconvdata/gen-8bit-gap.sh: Likewise.
18331 * iconvdata/gen-8bit.sh: Likewise.
18332
c1e9e399
UD
18333 * locale/iso-639.def: Add ary entry.
18334
24c55fb3 18335 [BZ #11258]
96b4b1b0
UD
18336 * locale/C-translit.h.in: Add U20A1 transliteration.
18337
bdc2f971
KB
18338 [BZ #12178]
18339 * locale/iso-639.def: Add wae entry.
18340 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18341
2952b117
UD
18342 [BZ #12545]
18343 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18344 for n.
18345
2a81eaa5
UD
18346 [BZ #12711]
18347 * locale/C-translit.h.in: Add entry for U20B9.
18348 Patch by pravin.d.s@gmail.com.
18349
28377d1b
UD
183502011-05-08 Ulrich Drepper <drepper@gmail.com>
18351
7fb90fb8
UD
18352 [BZ #12713]
18353 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18354 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18355 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18356 in rtld. Use *stat64.
7fb90fb8 18357 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18358 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18359 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18360 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18361 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18362 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18363 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18364 __fstatat64 macros.
7fb90fb8
UD
18365 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18366 * dirent/rewinddir.c: Add libc_hidden_def.
18367 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18368 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18369
28377d1b
UD
18370 * include/dirent.h (__alloc_dir): Add flags parameter.
18371 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18372 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18373 __alloc_dir.
18374 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18375 from fdopendir if O_CLOEXEC is already set.
18376
66bdbaa4
AM
183772011-03-15 Alan Modra <amodra@gmail.com>
18378
18379 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18380 l_tls_firstbyte_offset non-zero. Save padding offset in
18381 l_tls_firstbyte_offset for later use.
18382 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18383 freeing static tls block.
18384
95721191
JN
183852011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18386
18387 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18388 where #ifdef was intended. The intent is to prevent ARG_MAX from
18389 being defined by the kernel headers.
18390
f87dfb1f
UD
183912011-05-07 Ulrich Drepper <drepper@gmail.com>
18392
18393 [BZ #12734]
18394 * resolv/resolv.h: Define RES_NOTLDQUERY.
18395 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18396 no-tld-query and set RES_NOTLDQUERY.
18397 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18398 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18399 modern BIND to search name as TLD unless forbidden.
18400
47c3cd7a
UD
184012011-05-07 Petr Baudis <pasky@suse.cz>
18402 Ulrich Drepper <drepper@gmail.com>
18403
18404 [BZ #12393]
18405 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18406 (is_trusted_path): ...to here.
c1e9ea35 18407 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18408 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18409 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18410
8a35c912
PP
184112011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18412
18413 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18414 __BEGIN/__END_DECLS.
18415
acd41f47
UD
184162011-05-06 Ulrich Drepper <drepper@gmail.com>
18417
18418 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18419 NSS_STATUS_NOTFOUND if no record was found.
18420
597df647
AS
184212011-05-05 Andreas Schwab <schwab@redhat.com>
18422
18423 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18424 (headers-not-in-tirpc): Remove rpc/netdb.h
18425 * resolv/netdb.h: Revert last change.
18426
b9af1301
PP
184272011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18428
18429 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18430 circular dependency between libgcc.a and libc.a.
18431
4e34d5f5
AS
184322011-05-05 Andreas Schwab <schwab@redhat.com>
18433
18434 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18435 * nis/Makefile: Don't install rpcsvc/*.
18436 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18437 instead of <rpc/types.h>.
18438 (MAXHOSTNAMELEN): Define.
18439
00ee369c
AS
184402011-05-03 Andreas Schwab <schwab@redhat.com>
18441
18442 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18443
0b592a30
MB
184442011-04-28 Maciej Babinski <mbabinski@google.com>
18445
18446 [BZ #12714]
18447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18448 gethostbyname4_r when IPv6 results are possible.
18449
6e04cbbe
UD
184502011-05-02 Ulrich Drepper <drepper@gmail.com>
18451
18452 [BZ #12723]
18453 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18454 _PC_PIPE_BUF handling.
18455
e4ecafe0
BH
184562011-04-30 Bruno Haible <bruno@clisp.org>
18457
18458 [BZ #12717]
18459 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18460 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18461 to 'int'.
18462 * inet/getnameinfo.c (getnameinfo): Likewise.
18463
125ee683
UD
184642011-04-29 Ulrich Drepper <drepper@gmail.com>
18465
18466 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18467 to groups setting in database lookup.
18468 * nss/nsswitch.conf: Add initgroups entry.
18469
b722481a
EB
184702011-04-22 Ulrich Drepper <drepper@gmail.com>
18471
18472 [BZ #12685]
18473 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18474 mode string.
18475 Patch by Eric Blake <eblake@redhat.com>.
18476
4df46dbd
L
184772011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18478
18479 * sunrpc/Makefile (need-export-routines): Add svc_run.
18480 (routines): Remove svc_run.
18481 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18482 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18483 * sunrpc/svc_run.c (svc_run): Likewise.
18484 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18485
e84142d2
UD
184862011-04-21 Ulrich Drepper <drepper@gmail.com>
18487
18488 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18489 problem in reallocation in last patch.
18490
877175d8
UD
184912011-04-20 Ulrich Drepper <drepper@gmail.com>
18492
18493 * sunrpc/Makefile: Move inclusion of Rules.
18494
ab8eed78
UD
184952011-04-19 Ulrich Drepper <drepper@gmail.com>
18496
18497 * nss/nss_files/files-initgroups.c: New file.
18498 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18499 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18500 _nss_files_initgroups_dyn.
18501
e3d8f584
RS
185022011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18503
18504 * elf/elf.h (R_ARM_IRELATIVE): Define.
18505
af190f45
UD
185062011-04-19 Ulrich Drepper <drepper@gmail.com>
18507
18508 * po/ru.po: Update from translation team.
18509
53cf59ef
UD
185102011-04-17 Ulrich Drepper <drepper@gmail.com>
18511
18512 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18513 dependencies.
18514
4c559bcd
MF
185152011-02-06 Mike Frysinger <vapier@gentoo.org>
18516
18517 [BZ #12653]
18518 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18519 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18522 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18523
4420675c
AS
185242011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18525
18526 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18527 differing bytes.
18528 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18529 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18530 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18531
75ea32ab
UD
185322011-04-17 Ulrich Drepper <drepper@gmail.com>
18533
18534 [BZ #12420]
18535 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18536 storing it.
18537 * stdlib/bug-getcontext.c: New file.
18538 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18539
27390476
AK
185402011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18541
18542 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18543 instructions into .machine "z9-109".
18544 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18545 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18546
10442705
AK
185472011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18548
18549 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18550 between environment variables and auxiliary vector.
18551
7b57bfe5
UD
185522011-04-16 Ulrich Drepper <drepper@gmail.com>
18553
18554 * Makefile: Add rules to build linkobj/libc.so.
18555 * include/libc-symbols.h: Define libc_hidden_nolink.
18556 * include/rpc/auth.h: Mark functions which are to be hidden.
18557 * include/rpc/auth_des.h: Likewise.
18558 * include/rpc/auth_unix.h: Likewise.
18559 * include/rpc/clnt.h: Likewise.
18560 * include/rpc/des_crypt.h: Likewise.
18561 * include/rpc/key_prot.h: Likewise.
18562 * include/rpc/pmap_clnt.h: Likewise.
18563 * include/rpc/pmap_prot.h: Likewise.
18564 * include/rpc/pmap_rmt.h: Likewise.
18565 * include/rpc/rpc_msg.h: Likewise.
18566 * include/rpc/svc.h: Likewise.
18567 * include/rpc/svc_auth.h: Likewise.
18568 * include/rpc/xdr.h: Likewise.
18569 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18570 * nss/Makefile: Likewise.
18571 * sunrpc/Makefile: Don't install headers. Build library with normal
18572 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18573 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18574 for the compat linking library. Remove use of INTDEF/INTUSE.
18575 * sunrpc/auth_none.c: Likewise.
18576 * sunrpc/auth_unix.c: Likewise.
18577 * sunrpc/authdes_prot.c: Likewise.
18578 * sunrpc/authuxprot.c: Likewise.
18579 * sunrpc/clnt_gen.c: Likewise.
18580 * sunrpc/clnt_perr.c: Likewise.
18581 * sunrpc/clnt_raw.c: Likewise.
18582 * sunrpc/clnt_simp.c: Likewise.
18583 * sunrpc/clnt_tcp.c: Likewise.
18584 * sunrpc/clnt_udp.c: Likewise.
18585 * sunrpc/clnt_unix.c: Likewise.
18586 * sunrpc/des_crypt.c: Likewise.
18587 * sunrpc/des_soft.c: Likewise.
18588 * sunrpc/get_myaddr.c: Likewise.
18589 * sunrpc/key_call.c: Likewise.
18590 * sunrpc/key_prot.c: Likewise.
18591 * sunrpc/netname.c: Likewise.
18592 * sunrpc/pm_getmaps.c: Likewise.
18593 * sunrpc/pm_getport.c: Likewise.
18594 * sunrpc/pmap_clnt.c: Likewise.
18595 * sunrpc/pmap_prot.c: Likewise.
18596 * sunrpc/pmap_prot2.c: Likewise.
18597 * sunrpc/pmap_rmt.c: Likewise.
18598 * sunrpc/publickey.c: Likewise.
18599 * sunrpc/rpc_cmsg.c: Likewise.
18600 * sunrpc/rpc_common.c: Likewise.
18601 * sunrpc/rpc_dtable.c: Likewise.
18602 * sunrpc/rpc_prot.c: Likewise.
18603 * sunrpc/rpc_thread.c: Likewise.
18604 * sunrpc/rtime.c: Likewise.
18605 * sunrpc/svc.c: Likewise.
18606 * sunrpc/svc_auth.c: Likewise.
18607 * sunrpc/svc_authux.c: Likewise.
18608 * sunrpc/svc_raw.c: Likewise.
18609 * sunrpc/svc_run.c: Likewise.
18610 * sunrpc/svc_simple.c: Likewise.
18611 * sunrpc/svc_tcp.c: Likewise.
18612 * sunrpc/svc_udp.c: Likewise.
18613 * sunrpc/svc_unix.c: Likewise.
18614 * sunrpc/svcauth_des.c: Likewise.
18615 * sunrpc/xcrypt.c: Likewise.
18616 * sunrpc/xdr.c: Likewise.
18617 * sunrpc/xdr_array.c: Likewise.
18618 * sunrpc/xdr_float.c: Likewise.
18619 * sunrpc/xdr_intXX_t.c: Likewise.
18620 * sunrpc/xdr_mem.c: Likewise.
18621 * sunrpc/xdr_rec.c: Likewise.
18622 * sunrpc/xdr_ref.c: Likewise.
18623 * sunrpc/xdr_sizeof.c: Likewise.
18624 * sunrpc/xdr_stdio.c: Likewise.
18625
e6c61494
UD
186262011-04-10 Ulrich Drepper <drepper@gmail.com>
18627
18628 [BZ #12650]
18629 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18630 * sysdeps/ia64/dl-tls.h: Likewise.
18631 * sysdeps/powerpc/dl-tls.h: Likewise.
18632 * sysdeps/s390/dl-tls.h: Likewise.
18633 * sysdeps/sh/dl-tls.h: Likewise.
18634 * sysdeps/sparc/dl-tls.h: Likewise.
18635 * sysdeps/x86_64/dl-tls.h: Likewise.
18636 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18637
34fe483e
AS
186382011-03-14 Andreas Schwab <schwab@redhat.com>
18639
18640 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18641 rpath element also skip the following colon.
18642 (expand_dynamic_string_token): Add is_path parameter and pass
18643 down to DL_DST_REQUIRED and _dl_dst_substitute.
18644 (decompose_rpath): Call expand_dynamic_string_token with
18645 non-zero is_path. Ignore empty rpaths.
18646 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18647 with zero is_path.
18648
f12a32e6
AS
186492011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18650
18651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18652 Make cancelable.
18653
38a7d692
UD
186542011-04-09 Ulrich Drepper <drepper@gmail.com>
18655
18656 [BZ #12655]
18657 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18658 Patch by Filipe David Manana <fdmanana@apache.org>.
18659
e451d22b
AS
186602011-04-07 Andreas Schwab <schwab@redhat.com>
18661
18662 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18663 Maintain aligned stack.
18664 (CHECK_RSP): Remove unused macro.
18665
dedc7c7b
UD
186662011-04-03 Ulrich Drepper <drepper@gmail.com>
18667
18668 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18669 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18670
94521213
UD
186712011-04-02 Ulrich Drepper <drepper@gmail.com>
18672
18673 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18674
8cb700c0 18675 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18676
0354e355
L
186772011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18678
18679 [BZ #12518]
18680 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18681 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18682 * sysdeps/x86_64/memmove.c: New file.
18683 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18684 (memcpy): Renamed to ...
18685 (__new_memcpy): This.
18686 (memcpy): Provide GLIBC_2_14 memcpy.
18687 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18688 (memcpy): Provide GLIBC_2_2_5 memcpy.
18689
8593482f
UD
186902011-04-01 Ulrich Drepper <drepper@gmail.com>
18691
18692 [BZ #12631]
18693 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18694
81a5726b
AS
186952011-03-30 Andreas Schwab <schwab@redhat.com>
18696
18697 * misc/syncfs.c: New file.
18698 * misc/Makefile (routines): Add syncfs.
18699 * posix/unistd.h: Declare syncfs.
18700 * sysdeps/unix/syscalls.list: Add syncfs.
18701
00e5419f
AS
187022011-04-01 Andreas Schwab <schwab@redhat.com>
18703
18704 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18705 open_by_handle_at.
18706 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18707 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18709 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18711 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18712 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18713
748876bf
UD
187142011-04-01 Ulrich Drepper <drepper@gmail.com>
18715
658e451d
UD
18716 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18717 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18718 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18719 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18720 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18722 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18723
748876bf
UD
18724 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18725 sync_file_range.c with -fexceptions.
18726 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18727 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18728 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18729 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18730 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18731 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18732 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18733 sync_file_range as cancellation point
18734 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18735 now a wrapper around __call_sync_file_range with cancellation handling.
18736 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18737 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18738 function name to __call_sync_file_range.
18739 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18740 Add call_sync_file_range.
748876bf 18741
6e63d5e1
AS
187422011-04-01 Andreas Schwab <schwab@redhat.com>
18743
18744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18745 bits/timex.h.
6e63d5e1 18746
46998f74
UD
187472011-04-01 Ulrich Drepper <drepper@gmail.com>
18748
4c1423ed
UD
18749 * iconv/iconv.h: Fix typo in comment.
18750 * io/fcntl.h: Likewise.
18751 * libio/stdio.h: Likewise.
18752 * posix/spawn.h: Likewise.
18753 * posix/unistd.h: Likewise.
18754 * stdlib/stdlib.h: Likewise.
18755 * time/time.h: Likewise.
18756 * wcsmbs/wchar.h: Likewise.
18757
158648c0
UD
18758 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18759 open_by_handle): Add.
18760 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18761 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18762 Augment a few comments.
18763 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18765 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18767 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18768 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18769 open_by_handle.
18770
46998f74
UD
18771 * io/fcntl.h (AT_EMPTY_PATH): Define.
18772
83fe108b
UD
187732011-03-30 Ulrich Drepper <drepper@gmail.com>
18774
18775 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18776 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18777 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18778 to...
18779 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18780 * Versions.def: Add GLIBC_2.14.
18781 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18782 Export.
83fe108b 18783
bb242059
UD
187842011-03-22 Ulrich Drepper <drepper@gmail.com>
18785
18786 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18787 round counter.
18788 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18789
c97a1282
L
187902011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18791
18792 [BZ #12597]
18793 * string/test-strncmp.c (do_page_test): New function.
18794 (check2): Likewise.
18795 (test_main): Call check2.
18796 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18797
2a115601
UD
187982011-03-20 Ulrich Drepper <drepper@gmail.com>
18799
18800 [BZ #12587]
18801 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18802 Handle cache information in CPU leaf 4.
18803 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18804
8126d904
UD
188052011-03-18 Ulrich Drepper <drepper@gmail.com>
18806
042c49c6 18807 [BZ #12583]
8126d904
UD
18808 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18809 character representation.
18810 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18811
ccfe366e
RA
188122011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18813
18814 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18815 END(__isnan) to END(__isnanf) to match function entry point/label
18816 EALIGN(__isnanf,...).
18817
c6e13027
JJ
188182011-03-10 Jakub Jelinek <jakub@redhat.com>
18819
18820 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18821
33f85a3f
UD
188222011-03-10 Ulrich Drepper <drepper@gmail.com>
18823
028478fa
UD
18824 [BZ #12510]
18825 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18826 copy from the symbol referenced in the relocation to initialize the
18827 used variable.
18828 Patch by Piotr Bury <pbury@goahead.com>.
18829 * elf/Makefile: Add rules to build and tst-unique3.
18830 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18831 * elf/tst-unique3.cc: New file.
18832 * elf/tst-unique3.h: New file.
18833 * elf/tst-unique3lib.cc: New file.
18834 * elf/tst-unique3lib2.cc: New file.
18835
33f85a3f
UD
18836 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18837
03592fc7
MF
188382011-03-10 Mike Frysinger <vapier@gentoo.org>
18839
18840 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18841 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18842 to _start.
03592fc7 18843
6a5ee102
UD
188442011-03-06 Ulrich Drepper <drepper@gmail.com>
18845
18846 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18847 to-be-loaded object along a path to loader is ld.so.
18848
7e4ba49c
HJ
188492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18850 Ulrich Drepper <drepper@gmail.com>
18851
18852 * sysdeps/x86_64/memset.S: After aligning destination, code
18853 branches to different locations depending on the value of
18854 misalignment, when multiarch is enabled. Fix this.
18855
188562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18857
18858 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18859 Set _x86_64_preferred_memory_instruction for AMD processsors.
18860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18861 Set bit_Prefer_SSE_for_memop for AMD processors.
18862
13a804de
UD
188632011-03-04 Ulrich Drepper <drepper@gmail.com>
18864
18865 * libio/fmemopen.c (fmemopen): Optimize a bit.
18866
9d25c392
AS
188672011-03-03 Andreas Schwab <schwab@redhat.com>
18868
18869 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18870
a5543c6a
RM
188712011-03-03 Roland McGrath <roland@redhat.com>
18872
18873 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18874
012d35f7
DM
188752011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18876
7e4ba49c 18877 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18878 __bzero_ultra1 instead of __memset_ultra1.
18879
4bff6e01
AS
188802011-02-23 Andreas Schwab <schwab@redhat.com>
18881 Ulrich Drepper <drepper@gmail.com>
18882
18883 [BZ #12509]
18884 * include/link.h (struct link_map): Add l_orig_initfini.
18885 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18886 returning unsuccessfully.
18887 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18888 close of a file loaded at startup, restore the original l_initfini
18889 list.
18890 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18891 list, store the pointer.
18892 * elf/Makefile ($(objpfx)noload-mem): New rule.
18893 (noload-ENV): Define.
18894 (tests): Add $(objpfx)noload-mem.
18895 * elf/noload.c: Include <memcheck.h>.
18896 (main): Call mtrace. Close all opened handles.
18897
f2092faf
AS
188982011-02-17 Andreas Schwab <schwab@redhat.com>
18899
18900 [BZ #12454]
18901 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18902 dependencies are missing.
18903
6c8a2e88
ST
189042011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18905
f2092faf 18906 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18907 Hurd needs munmap.
18908 * sysdeps/mach/hurd/ifreq.h: New file.
18909
84a42118
PB
189102011-01-27 Petr Baudis <pasky@suse.cz>
18911 Ulrich Drepper <drepper@gmail.com>
18912
071f805e 18913 [BZ 12445]#
84a42118
PB
18914 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18915 to extend_alloca().
18916 * stdio-common/bug23.c: New file.
18917 * stdio-common/Makefile (tests): Add bug23.
18918
e23fe25b
AS
189192010-09-28 Andreas Schwab <schwab@redhat.com>
18920 Ulrich Drepper <drepper@gmail.com>
18921
18922 [BZ #12489]
18923 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18924 before performing relro protection. At old place add assertion
18925 to make sure nothing changed.
18926
d3f02e10
NS
189272011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18928 Glauber de Oliveira Costa <glommer@gmail.com>
18929
18930 * elf/elf.h: Add new ARM TLS relocs.
18931
d55fd7a5
RA
189322011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18933
18934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18935 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18936 cast from r3.
18937 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18938 'tests' variable.
18939 * sysdeps/wordsize-64/tst-writev.c: New file.
18940
2206397e
RA
189412011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18942
18943 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18944 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18945 insns in _dl_start to prevent a TOC reference before relocs are
18946 resolved.
18947
e9433893
UD
189482011-02-15 Ulrich Drepper <drepper@gmail.com>
18949
18950 [BZ #12469]
18951 * Makeconfig: Remove RANLIB definition.
18952 * Makerules: Don't use RANLIB.
18953 * aclocal.m4: Remove ranlib test.
18954 * configure.in: No need to check for ranlib.
18955 * elf/rtld-Rules: Don't use RANLIB.
18956
f75286c6
ST
189572011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18958
8e31c82d
ST
18959 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18960 protection macro.
18961 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18962 inclusion protection macro.
18963
f75286c6
ST
18964 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18965 SIGRTMIN and SIGRTMAX and print information in that case only when
18966 SIGRTMIN is defined.
18967
c1d0e639
JJ
189682011-02-11 Jakub Jelinek <jakub@redhat.com>
18969
18970 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18971 arginfo fn returning -1.
18972
18973 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18974 and thousands string is zero terminated.
18975
edf9294e
AS
189762011-02-03 Andreas Schwab <schwab@redhat.com>
18977
18978 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18979 sysdeps/unix/sysv/linux/bits/socket.h.
18980
2b7e92df
ST
189812011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18982
edf9294e
AS
18983 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18984 (__CPU_COUNT): Remove old macros.
18985 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18986 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18987 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18988 (__sched_cpualloc, __sched_cpufree): Add declarations.
18989
a4c7ea7b
UD
189902011-02-05 Ulrich Drepper <drepper@gmail.com>
18991
18992 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18993 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18994 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18995 (readdhstai): Return value of addhstaiX call.
18996 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18997 (addgrbyX): Return value returned by cache_addgr.
18998 (readdgrbyname): Return value returned by addgrbyX.
18999 (readdgrbygid): Likewise.
19000 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19001 (addpwbyX): Return value returned by cache_addpw.
19002 (readdpwbyname): Return value returned by addhstbyX.
19003 (readdpwbyuid): Likewise.
19004 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19005 (addservbyX): Return value returned by cache_addserv.
19006 (readdservbyname): Return value returned by addservbyX:
19007 (readdservbyport): Likewise.
19008 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19009 (addhstbyX): Return value returned by cache_addhst.
19010 (readdhstbyname): Return value returned by addhstbyX.
19011 (readdhstbyaddr): Likewise.
19012 (readdhstbynamev6): Likewise.
19013 (readdhstbyaddrv6): Likewise.
19014 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19015 (readdinitgroups): Return value returned by addinitgroupsX.
19016 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19017 (prune_cache): Keep track of timeout value of re-added entries.
19018 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19019 * nscd/nscd.h: Adjust prototypes of readd* functions.
19020
a0bf67cc
RM
190212011-02-04 Roland McGrath <roland@redhat.com>
19022
19023 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19024 (nis_stats): Likewise.
19025 * nis/nis_modify.c (nis_modify): Likewise.
19026 * nis/nis_remove.c (nis_remove): Likewise.
19027 * nis/nis_add.c (nis_add): Likewise.
19028
19029 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19030
19031 * posix/fnmatch_loop.c: Add some consts.
19032
19033 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19034
435b95eb
L
190352011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19036
19037 [BZ #12460]
19038 * config.make.in (config-cflags-novzeroupper): Define.
19039 * configure.in: Substitute libc_cv_cc_novzeroupper.
19040 * elf/Makefile (AVX-CFLAGS): Define.
19041 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19042 (CFLAGS-tst-auditmod4a.c): Likewise.
19043 (CFLAGS-tst-auditmod4b.c): Likewise.
19044 (CFLAGS-tst-auditmod6b.c): Likewise.
19045 (CFLAGS-tst-auditmod6c.c): Likewise.
19046 (CFLAGS-tst-auditmod7b.c): Likewise.
19047 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19048
8517b15e
UD
190492011-02-02 Ulrich Drepper <drepper@gmail.com>
19050
19051 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19052 function to the callback.
19053 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19054
10a656fe
AS
190552011-02-02 Andreas Schwab <schwab@redhat.com>
19056
19057 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19058 of errno.
19059
968dad0a
UD
190602011-01-19 Ulrich Drepper <drepper@gmail.com>
19061
9f94d2ea 19062 [BZ #11724]
968dad0a
UD
19063 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19064 of constructors.
19065 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19066 of destructors.
19067 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19068
19069 [BZ #11724]
19070 * elf/Makefile: Add rules to build and run new test.
19071 * elf/tst-initorder.c: New file.
19072 * elf/tst-initorder.exp: New file.
19073 * elf/tst-initordera1.c: New file.
19074 * elf/tst-initordera2.c: New file.
19075 * elf/tst-initordera3.c: New file.
19076 * elf/tst-initordera4.c: New file.
19077 * elf/tst-initorderb1.c: New file.
19078 * elf/tst-initorderb2.c: New file.
19079 * elf/tst-order-a1.c: New file.
19080 * elf/tst-order-a2.c: New file.
19081 * elf/tst-order-a3.c: New file.
19082 * elf/tst-order-a4.c: New file.
19083 * elf/tst-order-b1.c: New file.
19084 * elf/tst-order-b2.c: New file.
19085 * elf/tst-order-main.c: New file.
19086 New test case by George Gensure <werkt0@gmail.com>.
19087
86e92359
UD
190882010-10-01 Andreas Schwab <schwab@redhat.com>
19089
19090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19091 decoding ACE if AI_CANONIDN.
19092
5d5732b0
UD
190932011-01-18 Ulrich Drepper <drepper@gmail.com>
19094
19095 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19096
a77e8cbc
UD
190972011-01-17 Ulrich Drepper <drepper@gmail.com>
19098
6392473f
UD
19099 * version.h (RELEASE): Bump for 2.13 release.
19100 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19101
620a0529
UD
19102 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19103
18ba70a5
UD
19104 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19105 MADV_NOHUGEPAGE.
32465c3e
UD
19106 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19107 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19108 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19109 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19110 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19111 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19112
c0dafcf1
UD
19113 * posix/getconf.c: Update copyright year.
19114 * catgets/gencat.c: Likewise.
19115 * csu/version.c: Likewise.
19116 * debug/catchsegv.sh: Likewise.
19117 * debug/xtrace.sh: Likewise.
19118 * elf/ldconfig.c: Likewise.
19119 * elf/ldd.bash.in: Likewise.
19120 * elf/sprof.c (print_version): Likewise.
19121 * iconv/iconv_prog.c: Likewise.
19122 * iconv/iconvconfig.c: Likewise.
19123 * locale/programs/locale.c: Likewise.
19124 * locale/programs/localedef.c: Likewise.
19125 * malloc/memusage.sh: Likewise.
19126 * malloc/mtrace.pl: Likewise.
19127 * nscd/nscd.c (print_version): Likewise.
19128 * nss/getent.c: Likewise.
19129
a77e8cbc
UD
19130 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19131 PF_CAIF, and PF_ALG.
19132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19133
77e8bddf
AS
191342011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19135
1f20b93a
AS
19136 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19137 (modules-names): Use them.
19138 (ifunc-test-modules, ifunc-pie-tests): Define.
19139 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19140 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19141 (test-extras): Likewise.
19142 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19143 $(compile-command.c).
19144 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19145 (all-built-dso): Define.
19146 (check-textrel.out, check-execstack.out): Depend on it.
19147
77e8bddf
AS
19148 * configure.in: Don't override --enable-multi-arch.
19149
bc425b33
UD
191502011-01-15 Ulrich Drepper <drepper@gmail.com>
19151
19152 [BZ #6812]
19153 * nscd/hstcache.c (tryagain): Define.
19154 (cache_addhst): Return tryagain not notfound for temporary errors.
19155 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19156 failed.
19157
794c3ad3
UD
191582011-01-14 Ulrich Drepper <drepper@gmail.com>
19159
70181fdd
UD
19160 [BZ #10563]
19161 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19162 to make the syscall.
19163 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19164
794c3ad3
UD
19165 [BZ #12378]
19166 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19167 and fall back to matching as normal character if the string ends before
19168 the matching ']' is found. This is what POSIX requires.
19169 * posix/testfnm.c: Adjust test result.
19170 * posix/globtest.sh: Adjust test result. Add new test.
19171 * posix/tst-fnmatch.input: Likewise.
19172 * posix/tst-fnmatch2.c: Add new test.
19173
68dc9497
AS
191742010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19175
19176 * elf/Makefile (check-execstack): Revert last change. Depend on
19177 check-execstack.h.
19178 (check-execstack.h): New target.
19179 (generated): Add check-execstack.h.
19180 * elf/check-execstack.c: Include "check-execstack.h".
19181 (main): Revert last change.
19182 (handle_file): Return zero if GNU_STACK is absent and
19183 DEFAULT_STACK_PERMS doesn't include PF_X.
19184
451f001b
UD
191852011-01-13 Ulrich Drepper <drepper@gmail.com>
19186
cfa28e56
UD
19187 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19188 in child fails because the descriptor is already closed.
8cf8ce17
UD
19189 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19190 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19191 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19192
1086d70d
UD
19193 [BZ #12397]
19194 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19195 syscall.
19196
451f001b
UD
19197 [BZ #10484]
19198 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19199 temporary buffer used to handle multi lookups locally.
a85b5cb4 19200 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19201
08769175
UD
192022011-01-12 Ulrich Drepper <drepper@gmail.com>
19203
19204 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19205 loader is ld.so.
19206
5e49c52e
UD
192072011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19208
19209 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19210 alignment for SSE2.
19211
60522a5f
UD
192122011-01-12 Ulrich Drepper <drepper@gmail.com>
19213
19214 [BZ #12394]
19215 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19216 characters. When rounding increased number of integer digits recompute
19217 number of groups.
19218 * stdio-common/tst-grouping.c: New file.
19219 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19220
f257bbd7
UD
192212011-01-09 Ulrich Drepper <drepper@gmail.com>
19222
19223 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19224 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19225
19226 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19227 void.
19228 * bits/select.h: Likewise.
19229
fa9c15cb
UD
192302011-01-08 Ulrich Drepper <drepper@gmail.com>
19231
19232 * po/ja.po: Update from translation team.
19233
16c2895f
DM
192342011-01-04 David S. Miller <davem@sunset.davemloft.net>
19235
19236 [BZ #11155]
19237 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19238 implementation just like for lxstat, fxstatat, et al.
19239
2543fef2
JM
192402010-12-27 Jim Meyering <meyering@redhat.com>
19241
19242 [BZ #12348]
19243 * posix/regexec.c (build_trtable): Return failure indication upon
19244 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19245
98727dbe
UD
192462010-12-25 Ulrich Drepper <drepper@gmail.com>
19247
5bd6dc5c
UD
19248 [BZ #12201]
19249 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19250 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19251 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19252 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19253
97983464
UD
19254 [BZ #12207]
19255 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19256
98727dbe
UD
19257 [BZ #12204]
19258 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19259 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19260
4a531bb0
L
192612010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19262
19263 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19264 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19265 script has SORT_BY_INIT_PRIORITY.
19266 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19267 NO_CTORS_DTORS_SECTIONS is defined.
19268 * elf/soinit.c: Likewise.
19269 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19270 NO_CTORS_DTORS_SECTIONS is defined.
19271 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19272 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19273 * sysdeps/sh/init-first.c: Likewise.
19274 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19275
07eb4b71
UD
192762010-12-24 Ulrich Drepper <drepper@gmail.com>
19277
19278 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19279 always use the slow path.
19280
30950a5f
RA
192812010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19282
19283 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19284 similar rule which adds the sysdep directories to the header search in
19285 order to pick up the correct platform stackinfo.h.
19286 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19287 perform test if it is, otherwise return successfully without testing.
19288 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19289 DEFAULT_STACK_PERMS define in stackinfo.h.
19290 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19291 defined in stackinfo.h.
19292 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19293 DEFAULT_STACK_PERMS defined in stackinfo.h.
19294 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19295 * sysdeps/ia64/stackinfo.h: Likewise.
19296 * sysdeps/s390/stackinfo.h: Likewise.
19297 * sysdeps/sh/stackinfo.h: Likewise.
19298 * sysdeps/sparc/stackinfo.h: Likewise.
19299 * sysdeps/x86_64/stackinfo.h: Likewise.
19300 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19301 PF_X for powerpc64. Retain PF_X for powerpc32.
19302
db753e2c
UD
193032010-12-19 Ulrich Drepper <drepper@gmail.com>
19304
14b697f7
UD
19305 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19306 accurately.
db753e2c
UD
19307 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19308 GETDENTS_64BIT_ALIGNED.
19309
28300719
UD
193102010-12-14 Ulrich Drepper <dreper@gmail.com>
19311
14b697f7 19312 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19313
4f197237
AS
193142010-12-10 Andreas Schwab <schwab@redhat.com>
19315
dbb0472f
AS
19316 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19317 _GNU_SOURCE.
19318
4f197237
AS
19319 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19320 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19321 Remove __restrict.
19322 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19323 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19324
fb88ac72
UD
193252010-12-09 Ulrich Drepper <drepper@gmail.com>
19326
19327 [BZ #11655]
19328 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19329 are initialized.
19330
42acbb92
JJ
193312010-12-09 Jakub Jelinek <jakub@redhat.com>
19332
19333 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19334
c038d98d
UD
193352010-12-03 Ulrich Drepper <drepper@gmail.com>
19336
19337 * po/it.po: Update from translation team.
19338
3a4a2499
L
193392010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19340
19341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19342 unused codes.
19343
1e24cf6e
UD
193442010-11-30 Ulrich Drepper <drepper@gmail.com>
19345
19346 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19347
a7690819
AS
193482010-11-24 Andreas Schwab <schwab@redhat.com>
19349
19350 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19351 specially.
19352 (gaih_getanswer_slice): Likewise.
19353
3bf8d1b1
JJ
193542010-10-20 Jakub Jelinek <jakub@redhat.com>
19355
19356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19357
6db52fbb
PB
193582010-05-31 Petr Baudis <pasky@suse.cz>
19359
19360 [BZ #11149]
19361 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19362 silently even in the chroot mode.
19363
eaca7569
UD
193642010-11-22 Ulrich Drepper <drepper@gmail.com>
19365
19366 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19367 last patch a bit. Pretty printing
19368
3056dcdb
UD
193692010-05-31 Petr Baudis <pasky@suse.cz>
19370
19371 [BZ #10085]
19372 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19373 initialization of skip_initgroups_dyn.
19374
cf7c9078
UD
193752010-11-19 Ulrich Drepper <drepper@gmail.com>
19376
19377 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19378 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19379
a1fb5e3e
UD
193802010-11-16 Ulrich Drepper <drepper@gmail.com>
19381
19382 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19383
3540d66b
AS
193842010-11-11 Andreas Schwab <schwab@redhat.com>
19385
19386 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19387 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19388 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19389 ($(objpfx)tst-fnmatch-mem): New rule.
19390 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19391 * posix/tst-fnmatch.c (main): Call mtrace.
19392
13b69574
L
193932010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19394
19395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19396 Support Intel processor model 6 and model 0x2c.
19397
da93d214
LM
193982010-11-10 Luis Machado <luisgpm@br.ibm.com>
19399
19400 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19401 signed comparison.
19402
8ca52c6e
L
194032010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19404
19405 [BZ #12205]
19406 * string/test-strncasecmp.c (check_result): New function.
19407 (do_one_test): Use it.
19408 (check1): New function.
19409 (test_main): Use it.
19410 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19411 Support strcasecmp and strncasecmp.
19412
69da074d
UD
194132010-11-08 Ulrich Drepper <drepper@gmail.com>
19414
19415 [BZ #12194]
19416 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19417 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19418
ff02d528
L
194192010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19420
19421 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19422 IFUNC support.
19423 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19424 memset-x86-64.
19425 * sysdeps/x86_64/multiarch/bzero.S: New file.
19426 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19427 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19428 * sysdeps/x86_64/multiarch/memset.S: New file.
19429 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19431 Set bit_Prefer_SSE_for_memop for Intel processors.
19432 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19433 Define.
19434 (index_Prefer_SSE_for_memop): Define.
19435 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19436
344d0b54
LM
194372010-11-04 Luis Machado <luisgpm@br.ibm.com>
19438
19439 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19440 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19441
c0dde15b
UD
194422010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19443
19444 [BZ #12191]
19445 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19446 (__x86_64_raw_data_cache_size_half): Likewise.
19447 (__x86_64_raw_shared_cache_size): Likewise.
19448 (__x86_64_raw_shared_cache_size_half): Likewise.
19449
19450 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19451 (__x86_64_raw_data_cache_size_half): Likewise.
19452 (__x86_64_raw_shared_cache_size): Likewise.
19453 (__x86_64_raw_shared_cache_size_half): Likewise.
19454 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19455 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19456 and __x86_64_raw_shared_cache_size_half. Round
19457 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19458 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19459 to multiple of 256 bytes.
19460
0e516e0e
MS
194612010-11-03 Ulrich Drepper <drepper@gmail.com>
19462
19463 [BZ #12167]
19464 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19465 of inacessible symlinks. Verify result of symlink before returning it.
19466 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19467 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19468
0e012e87
ER
194692010-10-28 Erich Ritz <erichritz@gmail.com>
19470
19471 * math/math.h (isinf): Fix typo in comment.
19472
de0ff7bc
UD
194732010-11-01 Ulrich Drepper <drepper@gmail.com>
19474
19475 * po/da.po: Update from translation team.
19476
fa41c84d
UD
194772010-10-26 Ulrich Drepper <drepper@gmail.com>
19478
19479 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19480 is added to the list.
19481
f0967738
AK
194822010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19483 Ulrich Drepper <drepper@gmail.com>
19484
19485 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19486 the global list here. Move code to...
19487 (_dl_add_to_namespace_list): ...here. New function.
19488 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19489 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19490 * elf/dl-load.c (lose): Don't remove the element from the list.
19491 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19492 (_dl_map_object): Likewise.
19493
194942010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19495
19496 [BZ #12159]
19497 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19498 into all bytes of SSE register.
19499 Patch by Richard Li <richardpku@gmail.com>.
19500
f0967738 195012010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19502
19503 [BZ #12140]
19504 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19505 perturbing.
19506
d0b9e94f
MB
195072010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19508
19509 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19510 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19511 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19512 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19514 submachine.
19515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19516
8e9f92e9
AS
195172010-10-22 Andreas Schwab <schwab@redhat.com>
19518
19519 * include/dlfcn.h (__RTLD_SECURE): Define.
19520 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19521 mode & __RTLD_SECURE instead.
19522 (open_path): Rename preloaded parameter to secure.
19523 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19524 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19525 * elf/dl-deps.c (openaux): Likewise.
19526 * elf/rtld.c (struct map_args): Remove is_preloaded.
19527 (map_doit): Don't use it.
19528 (dl_main): Likewise.
19529 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19530 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19531
bc96fbda
AS
195322010-09-09 Andreas Schwab <schwab@redhat.com>
19533
19534 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19535 (sysd-rules-targets): Remove duplicates.
19536 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19537 rtld-%.$o dependency.
19538
22cd1c9b
AS
195392010-10-18 Andreas Schwab <schwab@redhat.com>
19540
19541 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19542 _dl_map_object do it.
19543
18edac48
UD
195442010-10-19 Ulrich Drepper <drepper@gmail.com>
19545
19546 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19547 fast fma builtins, define the macros in the C99 standard.
19548 (FP_FAST_FMAF): Likewise.
19549 (FP_FAST_FMAL): Likewise.
19550 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19551
19552 * bits/mathdef.h: Update copyright year.
19553 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19554
d2050124
MM
195552010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19556
19557 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19558 builtins, define the macros in the C99 standard.
19559 (FP_FAST_FMAF): Likewise.
19560 (FP_FAST_FMAL): Likewise.
19561 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19562 multiply/add.
19563 (FP_FAST_FMAF): Likewise.
19564
475facd1
JJ
195652010-10-15 Jakub Jelinek <jakub@redhat.com>
19566
19567 [BZ #3268]
19568 * math/libm-test.inc (fma_test): Some new testcases.
19569 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19570 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19571 y and infinite z. Do multiplication by C already in long double.
19572 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19574 y and infinite z. Do bitwise or of inexact bit into u.d.
19575 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19576 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19577 * sysdeps/i386/fpu/s_fma.S: Removed.
19578 * sysdeps/i386/fpu/s_fmal.S: Removed.
19579
7c08a05c
JJ
195802010-10-16 Jakub Jelinek <jakub@redhat.com>
19581
19582 [BZ #3268]
19583 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19585 computation is not scheduled after fetestexcept. Fix value
19586 of minimum denormal long double.
19587
f3f7372d
JJ
195882010-10-14 Jakub Jelinek <jakub@redhat.com>
19589
19590 [BZ #3268]
19591 * math/libm-test.inc (fma_test): Add some more tests.
19592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19593 correctly.
19594
14d43591
AS
195952010-10-15 Andreas Schwab <schwab@redhat.com>
19596
19597 * scripts/data/localplt-s390-linux-gnu.data: New file.
19598 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19599
5e908464
JJ
196002010-10-13 Jakub Jelinek <jakub@redhat.com>
19601
19602 [BZ #3268]
19603 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19604 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19605 instead of dbl-64.
19606 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19607 inlines.
19608 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19610 if one of x and y is very large and the other is subnormal.
19611 * sysdeps/s390/fpu/s_fmaf.c: New file.
19612 * sysdeps/s390/fpu/s_fma.c: New file.
19613 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19614 * sysdeps/powerpc/fpu/s_fma.S: New file.
19615 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19616 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19617 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19618
196192010-10-12 Jakub Jelinek <jakub@redhat.com>
19620
19621 [BZ #3268]
19622 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19623 fma tests.
19624 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19625 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19626 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19627 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19628 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19629 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19630 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19631
b833d51f
UD
196322010-10-12 Ulrich Drepper <drepper@redhat.com>
19633
19634 [BZ #12078]
19635 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19636 * posix/bug-regex31.input: Add test case.
19637
1751705d
UD
196382010-10-11 Ulrich Drepper <drepper@gmail.com>
19639
e9b9cbf5
UD
19640 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19641 * posix/bug-regex31.input: New file.
19642
19643 [BZ #12078]
19644 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19645 (parse_sub_exp): Fix last change, use postorder.
19646
ef06edbe
UD
19647 * posix/bug-regex31.c: New file.
19648 * posix/Makefile: Add rules to build and run bug-regex31.
19649
a129c80d
UD
19650 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19651
19652 [BZ #12078]
19653 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19654
b76b818e
UD
19655 [BZ #12108]
19656 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19657 to have entries in sys_siglist.
19658
1751705d
UD
19659 [BZ #12093]
19660 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19661 be NULL.
19662
9ff8d36f
JJ
196632010-10-07 Jakub Jelinek <jakub@redhat.com>
19664
19665 [BZ #3268]
19666 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19667 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19668 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19669 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19670 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19671 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19672 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19673 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19674 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19675 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19676 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19677 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19678 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19679 * math/ftestexcept.c (fetestexcept): Likewise.
19680 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19681 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19682 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19683 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19684 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19685 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19686 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19687
af325969
UD
196882010-10-11 Ulrich Drepper <drepper@gmail.com>
19689
c579b202 19690 [BZ #12107]
af325969
UD
19691 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19692 newline.
19693
67a67b95
UD
196942010-10-06 Ulrich Drepper <drepper@gmail.com>
19695
19696 * string/bug-strstr1.c: New file.
19697 * string/Makefile: Add rules to build and run bug-strstr1.
19698
5fb308bc
EB
196992010-10-05 Eric Blake <eblake@redhat.com>
19700
19701 [BZ #12092]
19702 * string/str-two-way.h (two_way_long_needle): Always clear memory
19703 when skipping input due to the shift table.
19704
45db99c7
UD
197052010-10-03 Ulrich Drepper <drepper@gmail.com>
19706
3b111893
UD
19707 [BZ #12005]
19708 * malloc/mcheck.c: Handle large requests.
19709
45db99c7
UD
19710 [BZ #12077]
19711 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19712 for strncmp and strncasecmp.
19713 * string/stratcliff.c: Add tests for strcmp and strncmp.
19714 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19715
cf7a1eb8
NI
197162010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19717
19718 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19719 __set_fpscr.
19720
6484ba5e
AJ
197212010-09-30 Andreas Jaeger <aj@suse.de>
19722
19723 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19724 (CGROUP_SUPER_MAGIC): Define.
19725 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19726 Handle btrfs and cgroup file systems.
19727 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19728 Likewise.
19729
91c42559
LM
197302010-09-27 Luis Machado <luisgpm@br.ibm.com>
19731
19732 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19733 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19734
87a97932
AK
197352010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19736
19737 [BZ #12067]
19738 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19739 trying to locate the ELF header.
19740
c21cc9bc
AS
197412010-09-27 Andreas Schwab <schwab@redhat.com>
19742
19743 [BZ #11611]
19744 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19745 Mask out sign-bit copies when constructing f_fsid.
19746
315970f6
PB
197472010-09-24 Petr Baudis <pasky@suse.cz>
19748
19749 * debug/stack_chk_fail_local.c: Add missing licence exception.
19750 * debug/warning-nop.c: Likewise.
19751
1ac7a2c7
JM
197522010-09-15 Joseph Myers <joseph@codesourcery.com>
19753
19754 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19755 implementing getdents64 using getdents syscall, set d_type if
19756 __ASSUME_GETDENTS32_D_TYPE.
19757
56801c50
AS
197582010-09-16 Andreas Schwab <schwab@redhat.com>
19759
19760 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19761 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19762
dda51327
UD
197632010-09-21 Ulrich Drepper <drepper@redhat.com>
19764
19765 [BZ #12037]
19766 * posix/unistd.h: Undo change of feature selection for ftruncate from
19767 2010-01-11.
19768
8ffcee4a
UD
197692010-09-20 Ulrich Drepper <drepper@redhat.com>
19770
a545ecd9 19771 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19772 detection.
19773
e24f0a8b
AS
197742010-09-20 Andreas Schwab <schwab@redhat.com>
19775
19776 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19777 fanotify_mark.
19778 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19779
7291c56f
AS
197802010-09-14 Andreas Schwab <schwab@redhat.com>
19781
19782 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19783 variables after CHECK_SP call.
19784 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19785
bc5fb037
AS
197862010-09-13 Andreas Schwab <schwab@redhat.com>
19787 Ulrich Drepper <drepper@redhat.com>
19788
19789 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19790 re-relocationg ld.so.
19791 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19792 _dl_init_paths call.
19793 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19794 here anymore.
19795
e66e7419
UD
197962010-09-14 Ulrich Drepper <drepper@redhat.com>
19797
19798 * resolv/res_init.c (__res_vinit): Count the default server we added.
19799
c044aa75
CLT
198002010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19801 Ulrich Drepper <drepper@redhat.com>
19802
19803 [BZ #11968]
19804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19805 (____longjmp_chk): Use %ebx for saving value across system call.
19806 Add unwind info.
19807
32cf4069
AS
198082010-09-06 Andreas Schwab <schwab@redhat.com>
19809
19810 * manual/Makefile: Don't mix pattern rules with normal rules.
19811
817328ee
AS
198122010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19813
19814 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19815 operation.
19816 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19817 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19818 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19819 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19820 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19821 Likewise.
19822
29fddf61
UD
198232010-09-04 Ulrich Drepper <drepper@redhat.com>
19824
19825 [BZ #11979]
19826 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19827 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19828
0959ffc9
UD
198292010-09-02 Ulrich Drepper <drepper@redhat.com>
19830
19831 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19832 * sysdeps/x86_64/addmul_1.S: Likewise.
19833 * sysdeps/x86_64/lshift.S: Likewise.
19834 * sysdeps/x86_64/mul_1.S: Likewise.
19835 * sysdeps/x86_64/rshift.S: Likewise.
19836 * sysdeps/x86_64/sub_n.S: Likewise.
19837 * sysdeps/x86_64/submul_1.S: Likewise.
19838
ece29840
ST
198392010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19840
0959ffc9
UD
19841 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19842 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19843 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19844 * bits/sched.h [__need_schedparam]
ece29840 19845 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19846 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19847 (__defined_schedparam): Define to 1.
ece29840
ST
19848 (__sched_param): New structure, identical to sched_param.
19849 (__need_schedparam): Undefine.
19850
e53a31fe
MF
198512010-08-31 Mike Frysinger <vapier@gentoo.org>
19852
fdc0c10d
MF
19853 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19854 (epoll_create1): Declare.
19855
e53a31fe
MF
19856 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19857
a726d796
AS
198582010-08-31 Andreas Schwab <schwab@redhat.com>
19859
19860 [BZ #7066]
19861 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19862 shifting retval into place.
19863
2f3e3dc7
UD
198642010-09-01 Ulrich Drepper <drepper@redhat.com>
19865
f2933da9
UD
19866 * nis/rpcsvc/nis.h: Update copyright notice.
19867 * nis/rpcsvc/nis.x: Likewise.
19868 * nis/rpcsvc/nis_callback.h: Likewise.
19869 * nis/rpcsvc/nis_callback.x: Likewise.
19870 * nis/rpcsvc/nis_object.x: Likewise.
19871 * nis/rpcsvc/nis_tags.h: Likewise.
19872 * nis/rpcsvc/yp.h: Likewise.
19873 * nis/rpcsvc/yp.x: Likewise.
19874 * nis/rpcsvc/ypupd.h: Likewise.
19875 * nis/yp_xdr.c: Likewise.
19876 * nis/ypupdate_xdr.c: Likewise.
19877
2f3e3dc7
UD
19878 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19879 mainly the body of pmap_getport. Add parameters to specify timeouts.
19880 (pmap_getport): Use __libc_rpc_getport.
19881 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19882 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19883 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19884
f3dcc2f9
AS
198852010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19886
19887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19888 fanotify_mark.
19889
6d34eb5b
RM
198902010-08-27 Roland McGrath <roland@redhat.com>
19891
19892 * sysdeps/i386/i686/multiarch/Makefile
19893 (CFLAGS-varshift.c): New variable.
19894
9ea3de11
UD
198952010-08-27 Ulrich Drepper <drepper@redhat.com>
19896
c96d23fc
UD
19897 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19898 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19899
9ea3de11
UD
19900 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19901
19902 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19903
623aac7f
L
199042010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19905
19906 * sysdeps/x86_64/strlen.S: Unroll the loop.
19907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19908 strlen-sse2 strlen-sse2-bsf.
19909 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19910 __strlen_no_bsf if bit_Slow_BSF is set.
19911 (__strlen_sse42): Removed.
19912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19913 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19914
8b2b7715
RM
199152010-08-25 Roland McGrath <roland@redhat.com>
19916
19917 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19918 * sysdeps/x86_64/multiarch/varshift.c: New file.
19919 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19920 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19921 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19922 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19923
e73015f2
L
199242010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19925
19926 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19927 strlen-sse2 strlen-sse2-bsf.
19928 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19929 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19930 (__strlen_sse2): Removed.
19931 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19932 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19934 bit_Slow_BSF for Atom.
19935 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19936 (index_Slow_BSF): Define.
19937 (HAS_SLOW_BSF): Define.
19938
df24a73e
UD
199392010-08-25 Ulrich Drepper <drepper@redhat.com>
19940
19941 [BZ #10851]
19942 * resolv/res_init.c (__res_vinit): When no server address at all
19943 is given default to loopback.
19944
f2ac4868
RM
199452010-08-24 Roland McGrath <roland@redhat.com>
19946
09055553
RM
19947 * configure.in: Remove config-name.h generation.
19948 * configure: Regenerated.
19949 * config-name.in: File removed.
19950 * scripts/config-uname.sh: New file.
19951 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19952 ($(objdir)config-name.h): New target.
19953
f2ac4868
RM
19954 * sunrpc/rpc_parse.h: Avoid nested comment.
19955
73f27d5e
RH
199562010-08-24 Richard Henderson <rth@redhat.com>
19957 Ulrich Drepper <drepper@redhat.com>
19958 H.J. Lu <hongjiu.lu@intel.com>
19959
19960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19962 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19963 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19964 _mm_alignr_epi8 with _mm_loadu_si128.
19965 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19966 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19967 (__m128i_shift_right): Removed.
19968 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19969 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19970 * sysdeps/x86_64/multiarch/varshift.h: New file.
19971 * sysdeps/x86_64/multiarch/varshift.S: New file.
19972
84b9230c
MF
199732010-08-21 Mike Frysinger <vapier@gentoo.org>
19974
19975 * configure.in: Move assembler checks to before sysdep dir checking.
19976
9bbd0ddc
PB
199772010-08-20 Petr Baudis <pasky@suse.cz>
19978
19979 * LICENSES: Sync the sunrpc license.
19980
9da4bb31
UD
199812010-08-19 Ulrich Drepper <drepper@redhat.com>
19982
a7ab6ec8
UD
19983 * sunrpc/auth_des.c: Update copyright notice once again.
19984 * sunrpc/auth_none.c: Likewise.
19985 * sunrpc/auth_unix.c: Likewise.
19986 * sunrpc/authdes_prot.c: Likewise.
19987 * sunrpc/authuxprot.c: Likewise.
19988 * sunrpc/bindrsvprt.c: Likewise.
19989 * sunrpc/clnt_gen.c: Likewise.
19990 * sunrpc/clnt_perr.c: Likewise.
19991 * sunrpc/clnt_raw.c: Likewise.
19992 * sunrpc/clnt_simp.c: Likewise.
19993 * sunrpc/clnt_tcp.c: Likewise.
19994 * sunrpc/clnt_udp.c: Likewise.
19995 * sunrpc/clnt_unix.c: Likewise.
19996 * sunrpc/des_crypt.c: Likewise.
19997 * sunrpc/des_soft.c: Likewise.
19998 * sunrpc/get_myaddr.c: Likewise.
19999 * sunrpc/getrpcport.c: Likewise.
20000 * sunrpc/key_call.c: Likewise.
20001 * sunrpc/key_prot.c: Likewise.
20002 * sunrpc/openchild.c: Likewise.
20003 * sunrpc/pm_getmaps.c: Likewise.
20004 * sunrpc/pm_getport.c: Likewise.
20005 * sunrpc/pmap_clnt.c: Likewise.
20006 * sunrpc/pmap_prot.c: Likewise.
20007 * sunrpc/pmap_prot2.c: Likewise.
20008 * sunrpc/pmap_rmt.c: Likewise.
20009 * sunrpc/rpc/auth.h: Likewise.
20010 * sunrpc/rpc/auth_unix.h: Likewise.
20011 * sunrpc/rpc/clnt.h: Likewise.
20012 * sunrpc/rpc/des_crypt.h: Likewise.
20013 * sunrpc/rpc/key_prot.h: Likewise.
20014 * sunrpc/rpc/netdb.h: Likewise.
20015 * sunrpc/rpc/pmap_clnt.h: Likewise.
20016 * sunrpc/rpc/pmap_prot.h: Likewise.
20017 * sunrpc/rpc/pmap_rmt.h: Likewise.
20018 * sunrpc/rpc/rpc.h: Likewise.
20019 * sunrpc/rpc/rpc_des.h: Likewise.
20020 * sunrpc/rpc/rpc_msg.h: Likewise.
20021 * sunrpc/rpc/svc.h: Likewise.
20022 * sunrpc/rpc/svc_auth.h: Likewise.
20023 * sunrpc/rpc/types.h: Likewise.
20024 * sunrpc/rpc/xdr.h: Likewise.
20025 * sunrpc/rpc_clntout.c: Likewise.
20026 * sunrpc/rpc_cmsg.c: Likewise.
20027 * sunrpc/rpc_common.c: Likewise.
20028 * sunrpc/rpc_cout.c: Likewise.
20029 * sunrpc/rpc_dtable.c: Likewise.
20030 * sunrpc/rpc_hout.c: Likewise.
20031 * sunrpc/rpc_main.c: Likewise.
20032 * sunrpc/rpc_parse.c: Likewise.
20033 * sunrpc/rpc_parse.h: Likewise.
20034 * sunrpc/rpc_prot.c: Likewise.
20035 * sunrpc/rpc_sample.c: Likewise.
20036 * sunrpc/rpc_scan.c: Likewise.
20037 * sunrpc/rpc_scan.h: Likewise.
20038 * sunrpc/rpc_svcout.c: Likewise.
20039 * sunrpc/rpc_tblout.c: Likewise.
20040 * sunrpc/rpc_util.c: Likewise.
20041 * sunrpc/rpc_util.h: Likewise.
20042 * sunrpc/rpcinfo.c: Likewise.
20043 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20044 * sunrpc/rpcsvc/key_prot.x: Likewise.
20045 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20046 * sunrpc/rpcsvc/mount.x: Likewise.
20047 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20048 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20049 * sunrpc/rpcsvc/rex.x: Likewise.
20050 * sunrpc/rpcsvc/rstat.x: Likewise.
20051 * sunrpc/rpcsvc/rusers.x: Likewise.
20052 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20053 * sunrpc/rpcsvc/spray.x: Likewise.
20054 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20055 * sunrpc/rtime.c: Likewise.
20056 * sunrpc/svc.c: Likewise.
20057 * sunrpc/svc_auth.c: Likewise.
20058 * sunrpc/svc_authux.c: Likewise.
20059 * sunrpc/svc_raw.c: Likewise.
20060 * sunrpc/svc_run.c: Likewise.
20061 * sunrpc/svc_simple.c: Likewise.
20062 * sunrpc/svc_tcp.c: Likewise.
20063 * sunrpc/svc_udp.c: Likewise.
20064 * sunrpc/svc_unix.c: Likewise.
20065 * sunrpc/svcauth_des.c: Likewise.
20066 * sunrpc/xcrypt.c: Likewise.
20067 * sunrpc/xdr.c: Likewise.
20068 * sunrpc/xdr_array.c: Likewise.
20069 * sunrpc/xdr_float.c: Likewise.
20070 * sunrpc/xdr_mem.c: Likewise.
20071 * sunrpc/xdr_rec.c: Likewise.
20072 * sunrpc/xdr_ref.c: Likewise.
20073 * sunrpc/xdr_sizeof.c: Likewise.
20074 * sunrpc/xdr_stdio.c: Likewise.
20075
9da4bb31
UD
20076 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20077 handling.
20078
bdaa77bc
AS
200792010-08-19 Andreas Schwab <schwab@redhat.com>
20080
20081 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20082
fe2f79db
LM
200832010-08-19 Luis Machado <luisgpm@br.ibm.com>
20084
20085 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20086 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20087 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20088 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20089 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20090 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20091 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20092 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20093 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20094 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20095 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20096 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20097 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20098 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20099
b9b42ee0
AB
201002010-07-26 Anton Blanchard <anton@samba.org>
20101
20102 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20103 * malloc/arena.c (heap_trim): Likewise.
20104
1c06ba31
UD
201052010-08-16 Ulrich Drepper <drepper@redhat.com>
20106
20107 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20108 here. Not...
20109 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20110 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20111
f8392f40
L
201122010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20113
20114 * sysdeps/i386/elf/Makefile: New file.
20115
3162f12e
AS
201162010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20117
20118 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20119 from fanotify_init.
20120 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20122
28c90b2c
UD
201232010-08-15 Ulrich Drepper <drepper@redhat.com>
20124
20125 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20126 of strncasecmp_l.
1feccb6c 20127 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20128
ca6bb004
UD
201292010-08-14 Ulrich Drepper <drepper@redhat.com>
20130
e9f82e0d
UD
20131 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20132 strncase_l-nonascii.
20133 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20134 Add strncase_l-ssse3.
20135 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20136 * sysdeps/x86_64/strcmp.S: Likewise.
20137 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20138 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20139 * sysdeps/x86_64/strncase.S: New file.
20140 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20141 * sysdeps/x86_64/strncase_l.S: New file.
20142 * string/Makefile (strop-tests): Add strncasecmp.
20143 * string/test-strncasecmp.c: New file.
20144
20145 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20146 warning.
20147
ca6bb004
UD
20148 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20149 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20150
052fa7b3
AS
201512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20152
20153 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20154
962dba78
UD
201552010-08-12 Ulrich Drepper <drepper@redhat.com>
20156
20157 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20158 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20159 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20160
bebff237
AM
201612010-05-01 Alan Modra <amodra@gmail.com>
20162
20163 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20164 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20165 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20166 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20167 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20168 tidying. Don't tail-call __sigjmp_save for static lib.
20169 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20170 save location.
20171 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20172 (CALL_MCOUNT): Add eh info, and nop after bl.
20173 (TAIL_CALL_SYSCALL_ERROR): New macro.
20174 (PSEUDO_RET): Use it.
20175 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20176 Correct save location of integer regs and cr.
20177 (_dl_profile_resolve): Correct cr save location. Delete nops
20178 after bl when SHARED. Reduce cfi size a little by better
20179 placement of cfi directives.
20180 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20181 make a stack frame. Instead use parm save area as a temp.
20182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20183 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20185 Don't make a stack frame for parent, use parm save area.
20186 Increase child stack frame to 112 bytes. Don't save unused reg,
20187 and adjust reg usage. Set up cfi on error recovery and
20188 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20190 (__makecontext): Add dummy nop after jump to exit.
20191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20192 Use correct parm save area and cr save, reduce stack frame.
20193 Correct cfi for possible PSEUDO_RET frame setup.
20194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20195 Branch to local label emitted by PSEUDO_RET rather than
20196 __syscall_error.
20197
02637374
AS
201982010-08-12 Andreas Schwab <schwab@redhat.com>
20199
20200 [BZ #11904]
20201 * locale/programs/locale.c (print_assignment): New function.
20202 (show_locale_vars): Use it.
20203
c3e2f19b
UD
202042010-08-11 Ulrich Drepper <drepper@redhat.com>
20205
3cdaa6ad
UD
20206 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20207 field.
20208 (struct statfs64): Likewise.
20209 (_STATFS_F_FLAGS): Define.
20210 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20211 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20212 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20213 (ST_VALID): Define locally.
20214 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20215 __statvfs_getflags, use the provided value.
20216 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20217 __ASSUME_STATFS_F_FLAGS.
20218
754f7da3
UD
20219 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20220
10b3bedc
UD
20221 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20222 Add sys/fanotify.h.
20223 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20224 fanotify_mask for GLIBC_2.13.
20225 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20226 fanotify_init and fanotify_mark.
20227 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20228 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20229
c08fb0d7
UD
20230 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20231 Add prlimit.
20232 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20233 prlimit64 for GLIBC_2.13.
20234 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20235 prlimit64.
20236 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20237 syscall.
20238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20239 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20240 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20241 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20242 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20243 add prlimit alias.
20244 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20245
15bac72b
UD
20246 [BZ #11903]
20247 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20248 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20249
c3e2f19b
UD
20250 * nss/Makefile: Add rules to build and run tst-nss-test1.
20251 * shlib-versions: Add entry for libnss_test1.
20252 * nss/nss_test1.c: New file.
20253 * nss/tst-nss-test1.c: New file.
20254
20255 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20256 (__nss_configure_lookup): Set appropriate entry in
20257 __nss_configure_lookup to true.
20258 * nss/nsswitch.h: Define enum with indeces of databases in
20259 databases and __nss_database_custom arrays. Declare
20260 __nss_database_custom.
20261 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20262 to avoid using nscd when custom rules are installed.
20263 * nss/getXXbyYY_r.c: Likewise.
20264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20265
20266 * nss/nss_files/files-parse.c: Whitespace fixes.
20267
f15ce4d8
UD
202682010-08-09 Ulrich Drepper <drepper@redhat.com>
20269
20270 [BZ #11883]
20271 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20272 * posix/fnmatch_loop.c: Likewise.
20273
d22e4cc9
AK
202742010-07-17 Andi Kleen <ak@linux.intel.com>
20275
20276 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20277 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20278 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20279 * Versions.def [GLIBC_2.13]: Add.
20280
805bc17d
UD
202812010-08-06 Ulrich Drepper <drepper@redhat.com>
20282
20283 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20284 Also fail if tpwd after pwuid call is NULL.
20285
5a42321d
ST
202862010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20287
20288 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20289 when converting to ms.
20290
fd3ebeda
ST
202912010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20292
20293 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20294 EOPNOTSUPP errors with ENOTTY.
20295 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20296 EOPNOTSUPP errors with ENOTTY.
20297
73507d3a
UD
202982010-07-31 Ulrich Drepper <drepper@redhat.com>
20299
20300 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20301 Add strcasecmp_l-ssse3.
20302 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20303 strcasecmp.
20304 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20305 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20306 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20307
fe36dd02
UD
203082010-07-30 Ulrich Drepper <drepper@redhat.com>
20309
66f6765a
UD
20310 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20311
42e08a54
UD
20312 * string/Makefile (strop-tests): Add strcasecmp.
20313 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20314 strcasecmp_l-nonascii.
20315 (gen-as-const-headers): Add locale-defines.sym.
20316 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20317 * sysdeps/x86_64/strcasecmp.S: New file.
20318 * sysdeps/x86_64/strcasecmp_l.S: New file.
20319 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20320 * sysdeps/x86_64/locale-defines.sym: New file.
20321 * string/test-strcasecmp.c: New file.
20322
fe36dd02
UD
20323 * string/test-strcasestr.c: Test both ends of the range of characters.
20324 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20325
48cbc0d6
RM
203262010-07-29 Roland McGrath <roland@redhat.com>
20327
76e6d6bc 20328 [BZ #11856]
48cbc0d6
RM
20329 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20330
880113d9
UD
203312010-07-27 Ulrich Drepper <drepper@redhat.com>
20332
20333 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20334 for ld.so.
20335
deb9cabb
AS
203362010-07-27 Andreas Schwab <schwab@redhat.com>
20337
20338 * manual/memory.texi (Malloc Tunable Parameters): Document
20339 M_PERTURB.
20340
1c7570ff
RM
203412010-07-26 Roland McGrath <roland@redhat.com>
20342
20343 [BZ #11840]
20344 * configure.in (-fgnu89-inline check): Set and substitute
20345 gnu89_inline, not libc_cv_gnu89_inline.
20346 * configure: Regenerated.
20347 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20348
24fb0f88
UD
203492010-07-26 Ulrich Drepper <drepper@redhat.com>
20350
20351 * string/test-strnlen.c: New file.
20352 * string/Makefile (strop-tests): Add strnlen.
20353 * string/tester.c (test_strnlen): Add a few more test cases.
20354 * string/tst-strlen.c: Better error reporting.
20355
20356 * sysdeps/x86_64/strnlen.S: New file.
20357
8e96b93a
UD
203582010-07-24 Ulrich Drepper <drepper@redhat.com>
20359
20360 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20361 lower-latency instructions.
20362
dbc676d4
UD
203632010-07-23 Ulrich Drepper <drepper@redhat.com>
20364
20365 * string/test-strcasestr.c: New file.
20366 * string/test-strstr.c: New file.
20367 * string/Makefile (strop-tests): Add strstr and strcasestr.
20368 * string/str-two-way.h: Don't undefine MAX.
20369 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20370
f6a31e0e
AS
203712010-07-21 Andreas Schwab <schwab@redhat.com>
20372
20373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20374 strcasestr-nonascii.
20375 (CFLAGS-strcasestr-nonascii.c): Define.
20376 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20377 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20378 Remove unused attribute.
20379
5dbc3b6c
RM
203802010-07-20 Roland McGrath <roland@redhat.com>
20381
20382 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20383 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20384 ld.so.cache was broken. With it, there is no way to disable dsocaps
20385 like LD_HWCAP_MASK can disable hwcaps.
20386
23d101d8
EPM
203872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20388
20389 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20390
cc9f2e47
UD
203912010-07-16 Ulrich Drepper <drepper@redhat.com>
20392
20393 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20394 call in strcasestr.
20395 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20396 __strcasestr_sse42_nonascii.
20397 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20398 strcasestr-nonascii.c.
20399 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20400
77c1b069
LM
204012010-06-15 Luis Machado <luisgpm@br.ibm.com>
20402
20403 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20404 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20405 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20406 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20407
440566c3
UD
204082010-07-09 Ulrich Drepper <drepper@redhat.com>
20409
20410 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20411 fcntl.
20412
5be9d05d
AS
204132010-07-06 Andreas Schwab <schwab@redhat.com>
20414
c30b7ee2 20415 [BZ #11577]
5be9d05d
AS
20416 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20417 dl_signal_cerror.
20418
8a492a67
UD
204192010-07-06 Ulrich Drepper <drepper@redhat.com>
20420
20421 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20422 _PC_PIPE_BUF using F_GETPIPE_SZ.
20423
713df3d5
RM
204242010-07-05 Roland McGrath <roland@redhat.com>
20425
20426 * manual/arith.texi (Rounding Functions): Fix rint description
20427 implicit in round description.
20428
702e8f14
UD
204292010-07-02 Ulrich Drepper <drepper@redhat.com>
20430
20431 * elf/Makefile: Fix linking for a few tests to make recent linker
20432 happy.
20433
52ed8be9
AS
204342010-06-30 Andreas Schwab <schwab@redhat.com>
20435
20436 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20437 $(common-objpfx)libc_nonshared.a.
20438
f47c9a11
LM
204392010-06-21 Luis Machado <luisgpm@br.ibm.com>
20440
20441 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20442 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20443 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20444 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20445 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20446 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20447 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20448 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20463 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20464 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20465 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20466 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20467 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20468 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20469 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20470 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20471 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20472 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20473 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20474 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20489
6fb8cbcb
L
204902010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20491
20492 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20493 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20494 * string/memmove.c (memmove): Renamed to ...
20495 (MEMMOVE): ...this. Default to memmove.
20496 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20497 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20498 (END_CHK): Define.
20499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20500 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20501 mempcpy-ssse3-back memmove-ssse3-back.
20502 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20503 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20504 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20505 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20506 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20507 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20508 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20509 * sysdeps/x86_64/multiarch/memmove.c: New file.
20510 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20511 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20512 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20513 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20514 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20515 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20516 Define.
20517 (index_Fast_Copy_Backward): Define.
20518 (HAS_ARCH_FEATURE): Define.
20519 (HAS_FAST_REP_STRING): Define.
20520 (HAS_FAST_COPY_BACKWARD): Define.
20521
4e733bac 205222010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20523
20524 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20525 Restore proper fallback handling.
20526
63c4ed22
UD
205272010-06-19 Ulrich Drepper <drepper@redhat.com>
20528
ac2b484c
UD
20529 [BZ #11701]
20530 * posix/group_member.c (__group_member): Correct checking loop.
20531
63c4ed22
UD
20532 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20533 OOM in getpwuid_r correctly. Return error number when the caller
20534 should return, otherwise -1.
20535 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20536 call returning > 0 value.
20537 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20538
765ade4b
AS
205392010-06-07 Andreas Schwab <schwab@redhat.com>
20540
20541 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20542 libc_nonshared.a from targets in modules-names.
20543
80da2e09
KS
205442010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20545
20546 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20547 requires it.
20548
158db122
LM
205492010-06-10 Luis Machado <luisgpm@br.ibm.com>
20550
20551 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20552 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20553 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20554 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20555
caa78cf8
AS
205562010-06-02 Andreas Schwab <schwab@redhat.com>
20557
20558 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20559
b2ef2c01
UD
205602010-06-14 Ulrich Drepper <drepper@redhat.com>
20561
20562 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20563 and F_GETPIPE_SZ.
20564 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20565 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20568 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20569 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20570
fbd643b6
RM
205712010-06-14 Roland McGrath <roland@redhat.com>
20572
20573 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20574
f32f2869
JJ
205752010-06-07 Jakub Jelinek <jakub@redhat.com>
20576
20577 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20578 __REDIRECT followed by __THROW.
20579 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20580 * posix/getopt.h (getopt): Likewise.
20581
2a50c078
EPM
205822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20583
20584 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20585 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20586 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20587 in AT_FLAGS.
20588 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20589 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20590
eb5ad2eb
LM
205912010-05-28 Luis Machado <luisgpm@br.ibm.com>
20592
20593 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20594
3c88fe1e
L
205952010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20596
20597 [BZ #11640]
20598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20599 Properly check family and model.
20600
d2f73151
TY
206012010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20602
20603 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20604
ebd2e13d
LM
206052010-05-24 Luis Machado <luisgpm@br.ibm.com>
20606
20607 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20608
b32b8b45
UD
206092010-05-21 Ulrich Drepper <drepper@redhat.com>
20610
20611 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20612 symbol reference.
20613
9acbe24d
AS
206142010-05-19 Andreas Schwab <schwab@redhat.com>
20615
20616 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20617 symbol reference.
20618
f0ccf6ea
AS
206192010-05-21 Andreas Schwab <schwab@redhat.com>
20620
3d04ff3a
AS
20621 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20622 and internal_recvmmsg.
20623 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20624 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20625 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20626 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20627
f0ccf6ea
AS
20628 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20629 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20630 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20631
5b08ac57
AS
206322010-05-20 Andreas Schwab <schwab@redhat.com>
20633
20634 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20635
4828935d
LM
206362010-05-17 Luis Machado <luisgpm@br.ibm.com>
20637
20638 POWER7 optimizations.
20639 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20640 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20641
373d545e
UD
206422010-05-19 Ulrich Drepper <drepper@redhat.com>
20643
20644 * version.h: Update for 2.13 development version.
20645
21a2b1ae
AS
206462010-05-12 Andrew Stubbs <ams@codesourcery.com>
20647
20648 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20649 exceptions. Return 0.
20650
3f7dcb2b
RM
206512010-05-07 Roland McGrath <roland@redhat.com>
20652
20653 * elf/ldconfig.c (main): Add a const.
20654
5f24d53a 206552010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20656
a160f8d8
UD
20657 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20658 (args_options): Add no-idn option.
20659 (ahosts_keys_int): Add idn_flags to ai_flags.
20660 (parse_option): Handle 'i' option to clear idn_flags.
20661
5f24d53a
UD
20662 * malloc/malloc.c (_int_free): Possible race in the most recently
20663 added check. Only act on the data if no current modification
20664 happened.
265bb1ce
UD
20665
20666See ChangeLog.17 for earlier changes.