]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix run-program-prefix comment.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
25fe8932
JM
12012-10-25 Joseph Myers <joseph@codesourcery.com>
2
3 * Makeconfig (run-program-prefix): Fix comment.
4
cc1290d0
JM
52012-10-24 Joseph Myers <joseph@codesourcery.com>
6 Jim Blandy <jimb@codesourcery.com>
7
8 * Makeconfig (test-wrapper): New variable,
9 (test-wrapper-env): Likewise.
10 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11 (run-built-tests): Define to yes.
12 (run-program-prefix): Use $(test-wrapper).
13 (built-program-cmd): Likewise.
14 * Rules (make-test-out): Use $(test-wrapper-env) and
15 $(host-built-program-cmd).
16 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18 tst-pathopt.sh.
19 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
20 $(test-wrapper-env) to tst-rtld-load-self.sh.
21 ($(objpfx)order2.out): Use $(test-wrapper).
22 ($(objpfx)tst-initorder.out): Likewise.
23 ($(objpfx)tst-initorder2.out): Likewise.
24 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26 (test_wrapper_env): New variable. Use it to run ld.so.
27 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28 Use it to run ld.so.
29 (test_wrapper_env): Likewise.
30 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31 $(test-wrapper) to run-iconv-test.sh.
32 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33 (ICONV): Use $test_wrapper.
34 * posix/Makefile ($(objpfx)globtest.out): Pass
35 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36 globtest.sh, not $(run-program-prefix).
37 * posix/globtest.sh (run_via_rtld_prefix): New variable.
38 (test_wrapper): Likewise.
39 (test_wrapper_env): Likewise. Use it to run globtest with HOME
40 set together with run_via_rtld_prefix.
41 (run_program_prefix): Define in terms of test_wrapper and
42 run_via_rtld_prefix.
43
6e6249d0
RM
442012-10-24 Roland McGrath <roland@hack.frob.com>
45
46 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
47 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
48 Targets removed.
49
50 [BZ #14743]
51 * include/time.h: Remove librt_hidden_proto (clock_gettime).
52 Declare __clock_getres, __clock_gettime, __clock_settime,
53 __clock_nanosleep, and __clock_getcpuclockid.
54 * rt/clock_gettime.c: Define __clock_gettime as an alias.
55 Remove librt_hidden_def (clock_gettime).
56 * sysdeps/unix/clock_gettime.c: Likewise.
57 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59 * rt/clock_getres.c: Define __clock_getres as an alias.
60 * sysdeps/posix/clock_getres.c: Likewise.
61 * rt/clock_settime.c: Define __clock_settime as an alias.
62 * sysdeps/unix/clock_settime.c: Likewise.
63 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
64 * sysdeps/unix/clock_nanosleep.c: Likewise.
65 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
66 * rt/clock-compat.c: New file.
67 * rt/Makefile (librt-routines): Add clock-compat and move
68 $(clock-routines) to ...
69 (routines): ... here, new variable.
70 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
71 Don't add get_clockfreq here.
72 * rt/Versions (libc: GLIBC_2.17): New version set.
73 Add clock_* symbols here.
74 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
75 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
76 (GLIBC_2.17): Add clock_* symbols.
77 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
78 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
80 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
81 Likewise.
82 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83 Likewise.
84 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
85 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
86 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
87 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
88 * NEWS: Mention the move.
89
90 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
91 Use __open, __read, __close rather than their public counterparts.
92 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
93 (__get_clockfreq_via_cpuinfo): Likewise.
94 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
95 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
96
97 * config.h.in (HAVE_IFUNC): New #undef.
98 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
99 was successful.
100 * configure: Regenerated.
101
0cae3f4b
MF
1022012-10-24 Mike Frysinger <vapier@gentoo.org>
103
104 * configure.in: Move READELF check to start of file.
105 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
106 libc_cv_asm_gnu_indirect_function in the process.
107 * configure: Regenerated.
108
8175a253
MF
1092012-10-24 Mike Frysinger <vapier@gentoo.org>
110
111 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
112 send the output to /dev/null.
113 (libc_cv_cc_with_libunwind): Likewise.
114 (libc_cv_as_noexecstack): Likewise.
115 * configure: Regenerate.
116
0708a7d1
JM
1172012-10-24 Joseph Myers <joseph@codesourcery.com>
118
10b40d85
JM
119 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
120
0708a7d1
JM
121 * posix/globtest.sh (TMPDIR): Do not set.
122 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
123 (testout): Likewise.
124
9fddec1a
AJ
1252012-10-24 Andreas Jaeger <aj@suse.de>
126
3a8db22f
AJ
127 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
128 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
129 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
130 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
131 posix_fadvise64, posix_fallocate64.
132
9fddec1a
AJ
133 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
134 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
135 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
136 Likewise.
137 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
138 Likewise.
139 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
140
141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
142 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
143 <bits/fcntl-linux.h>.
144 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
145
146 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
147 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
148 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
149 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
150 [__WORDSIZE != 64]: Likewise.
151
ebfd1bbd
JM
1522012-10-23 Joseph Myers <joseph@codesourcery.com>
153
03ac099f
JM
154 * Makeconfig (run-built-tests): New variable.
155 * Rules [$(cross-compiling) = yes]: Change condition to
156 [$(run-built-tests) = no].
157 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
158 to [$(run-built-tests) = yes].
159 * elf/Makefile [$(cross-compiling) = no]: Likewise
160 * grp/Makefile [$(cross-compiling) = no]: Likewise.
161 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
162 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
163 * intl/Makefile [$(cross-compiling) = no]: Likewise.
164 * io/Makefile [$(cross-compiling) = no]: Likewise.
165 * libio/Makefile [$(cross-compiling) = no]: Likewise.
166 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
167 * misc/Makefile [$(cross-compiling) = no]: Likewise.
168 * posix/Makefile [$(cross-compiling) = no]: Likewise.
169 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
170 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
171 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
172 * string/Makefile [$(cross-compiling) = no]: Likewise.
173
ebfd1bbd
JM
174 * posix/Makefile ($(objpfx)globtest.out): Pass
175 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
176 $(rtld-installed-name).
177 * posix/globtest.sh (elf_objpfx): Remove variable.
178 (rtld_installed_name): Likewise.
179 (library_path): Likewise.
180 (run_program_prefix): New variable. Use for running globtest
181 binary.
182
166bca24
JB
1832012-10-23 Jim Blandy <jimb@codesourcery.com>
184 Joseph Myers <joseph@codesourcery.com>
185
186 * Makeconfig (host-built-program-cmd): New variable.
187 * elf/Makefile (tst-stackguard1-ARGS): Use
188 $(host-built-program-cmd).
189 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
190 (tst-spawn-ARGS): Likewise.
191 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
192
88866099
JM
1932012-10-23 Joseph Myers <joseph@codesourcery.com>
194 Jim Blandy <jimb@codesourcery.com>
195
196 * Makeconfig (run-via-rtld-prefix): New variable.
197 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
198 (built-program-cmd): Likewise.
199
b4b4c296
AJ
2002012-10-22 Andreas Jaeger <aj@suse.de>
201
202 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
203 __O_RSYNC if it exists, otherwise to O_SYNC.
204
6fb54a22
JB
2052012-10-22 Jim Blandy <jimb@codesourcery.com>
206 Joseph Myers <joseph@codesourcery.com>
207
208 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
209 /dev/null.
210 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
211 from /dev/null
212 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
213 /dev/null.
214
481b90b9
AJ
2152012-10-22 Andreas Jaeger <aj@suse.de>
216
2a0e2669
AJ
217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
218 Define always.
219 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
220
76e38f9a
AJ
221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
222 bits/fcntl-linux.h.
223
7cd37b43
AJ
224 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
225 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
226
481b90b9
AJ
227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
228 to __O_LARGEFILE.
229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
230 to __O_LARGEFILE.
231
aba75984
JB
2322012-10-21 Jim Blandy <jimb@codesourcery.com>
233 Joseph Myers <joseph@codesourcery.com>
234
235 * config.make.in (NM): New variable.
236
88d4247f
AJ
2372012-10-21 Andreas Jaeger <aj@suse.de>
238
239 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
240 definitions and declarations that are provided by
241 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
242
f2eed205
L
2432012-10-20 H.J. Lu <hongjiu.lu@intel.com>
244
245 [BZ #14683]
246 * elf/Makefile (tests-static): Add tst-leaks1-static.
247 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
248 ($(objpfx)tst-leaks1-static): New rule.
249 ($(objpfx)tst-leaks1-static-mem): Likewise.
250 (tst-leaks1-static-ENV): New macro.
251 * elf/dl-open.c (dl_open_worker): Check the main application
252 only if SHARED is defined.
253 * elf/tst-leaks1-static.c: New file.
254
335e6931
AJ
2552012-10-20 Andreas Jaeger <aj@suse.de>
256
257 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
258 generic values for Linux.
259 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
260 and declarations that are provided by <bits/fcntl-linux.h> and
261 include <bits/fcntl-linux.h>.
262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
263 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
264
ac5c94d3
RM
2652012-10-20 Roland McGrath <roland@hack.frob.com>
266
267 * io/fcntl.h: Move include of <bits/types.h> to the top and
268 include it unconditionally.
269
de54b33a
L
2702012-10-20 H.J. Lu <hongjiu.lu@intel.com>
271
228cfb01
L
272 * wcsmbs/Makefile (tests-ifunc): New variable.
273 (tests): Add $(tests-ifunc).
274 * wcsmbs/test-wcschr-ifunc.c: New file.
275 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
276 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
277 * wcsmbs/test-wcslen-ifunc.c: Likewise.
278 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
279 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
280
69f07e5f
L
281 * string/Makefile (tests-ifunc): New variable.
282 (tests): Add $(tests-ifunc).
283 * string/test-memccpy.c (TEST_NAME): New macro.
284 * string/test-memchr.c (TEST_NAME): Likewise.
285 * string/test-memcmp.c (TEST_NAME): Likewise.
286 * string/test-memcpy.c (TEST_NAME): Likewise.
287 * string/test-memmem.c (TEST_NAME): Likewise.
288 * string/test-memmove.c (TEST_NAME): Likewise.
289 * string/test-memset.c (TEST_NAME): Likewise.
290 * string/test-rawmemchr.c (TEST_NAME): Likewise.
291 * string/test-stpcpy.c (TEST_NAME): Likewise.
292 * string/test-stpncpy.c (TEST_NAME): Likewise.
293 * string/test-strcasecmp.c (TEST_NAME): Likewise.
294 * string/test-strcasestr.c (TEST_NAME): Likewise.
295 * string/test-strcat.c (TEST_NAME): Likewise.
296 * string/test-strchr.c (TEST_NAME): Likewise.
297 * string/test-strcmp.c(TEST_NAME): Likewise.
298 * string/test-strcpy.c (TEST_NAME): Likewise.
299 * string/test-strcspn.c (TEST_NAME): Likewise.
300 * string/test-strlen.c (TEST_NAME): Likewise.
301 * string/test-strncasecmp.c (TEST_NAME): Likewise.
302 * string/test-strncmp.c (TEST_NAME): Likewise.
303 * string/test-strncpy.c (TEST_NAME): Likewise.
304 * string/test-strnlen.c (TEST_NAME): Likewise.
305 * string/test-strpbrk.c (TEST_NAME): Likewise.
306 * string/test-strrchr.c (TEST_NAME): Likewise.
307 * string/test-strspn.c (TEST_NAME): Likewise.
308 * string/test-strstr.c (TEST_NAME): Likewise.
309 * string/test-bcopy-ifunc.c: New file.
310 * string/test-bzero-ifunc.c: Likewise.
311 * string/test-memccpy-ifunc.c: Likewise.
312 * string/test-memchr-ifunc.c: Likewise.
313 * string/test-memcmp-ifunc.c: Likewise.
314 * string/test-memcpy-ifunc.c: Likewise.
315 * string/test-memmem-ifunc.c: Likewise.
316 * string/test-memmove-ifunc.c: Likewise.
317 * string/test-mempcpy-ifunc.c: Likewise.
318 * string/test-memset-ifunc.c: Likewise.
319 * string/test-rawmemchr-ifunc.c: Likewise.
320 * string/test-stpcpy-ifunc.c: Likewise.
321 * string/test-stpncpy-ifunc.c: Likewise.
322 * string/test-strcasecmp-ifunc.c: Likewise.
323 * string/test-strcasestr-ifunc.c: Likewise.
324 * string/test-strcat-ifunc.c: Likewise.
325 * string/test-strchr-ifunc.c: Likewise.
326 * string/test-strchrnul-ifunc.c: Likewise.
327 * string/test-strcmp-ifunc.c: Likewise.
328 * string/test-strcpy-ifunc.c: Likewise.
329 * string/test-strcspn-ifunc.c: Likewise.
330 * string/test-strlen-ifunc.c: Likewise.
331 * string/test-strncasecmp-ifunc.c: Likewise.
332 * string/test-strncat-ifunc.c: Likewise.
333 * string/test-strncmp-ifunc.c: Likewise.
334 * string/test-strncpy-ifunc.c: Likewise.
335 * string/test-strnlen-ifunc.c: Likewise.
336 * string/test-strpbrk-ifunc.c: Likewise.
337 * string/test-strrchr-ifunc.c: Likewise.
338 * string/test-strspn-ifunc.c: Likewise.
339 * string/test-strstr-ifunc.c: Likewise.
340
de54b33a
L
341 * debug/Makefile (tests-ifunc): New variable.
342 (tests): Add $(tests-ifunc).
343 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
344 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
345 * debug/test-stpcpy_chk-ifunc.c: New file.
346 * debug/test-strcpy_chk-ifunc.c: Likewise.
347
88481c16
SP
3482012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
349
350 [BZ #13601]
351 * elf/dl-load.c (open_verify): Retry read if the entire ELF
352 header is not read in.
353
135948bd
JM
3542012-10-19 Joseph Myers <joseph@codesourcery.com>
355
89f1c388
JM
356 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
357 script to $(SHELL) as $<. Pass $(common-objpfx) to script
358 directly. Pass built executable to script as
359 $(built-program-cmd).
360 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
361 $testprogram without using LD_LIBRARY_PATH and $ldso.
362
e40a0d21
JM
363 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
364 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
365 $(rtld-installed-name).
366 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
367 (rtld_installed_name): Likewise.
368 (library_path): Likewise.
369 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
370 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
371 $(run-program-prefix) to tst-tables.sh.
372 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
373 it to run tst-table-from and tst-table-to.
374 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
375 Pass it to tst-table.sh.
376 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
377 $(run-program-prefix) to tst-gettext.sh.
378 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
379 tst-translit.sh.
380 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
381 tst-gettext2.sh.
382 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
383 to run tst-gettext.
384 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
385 to run tst-gettext2.
386 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
387 to run tst-translit.
388 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
389 $(run-program-prefix) to tst-mtrace.sh.
390 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
391 to run tst-mtrace.
392 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
393 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
394 $(rtld-installed-name).
395 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
396 (rtld_installed_name): Likewise.
397 (run_program_prefix): New variable. Use it to run wordexp-test.
398
728e272a
JM
399 * Makeconfig (ARCH): Remove all definitions.
400 (machine): Likewise.
401 [ARCH]: Remove conditional code.
402 [!objdir]: Give error.
403 [!objdir] (objpfx): Remove.
404 [!objdir] (common-objpfx): Likewise.
405 [!objdir] (common-objdir): Likewise.
406 * configure.in (config_makefile): Remove. Hardcode Makefile in
407 AC_CONFIG_FILES call.
408 * configure: Regenerated.
409
d528cdcf
JM
410 [BZ #13888]
411 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
412 or TMPDIR.
413 (testout): Likewise.
414
135948bd
JM
415 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
416 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
417 $(rtld-installed-name).
418 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
419 (rtld_installed_name): Likwise.
420 (runit): Remove function.
421 (run_getconf): New variable, Use it for running getconf binary.
422
38c78296
L
4232012-10-18 H.J. Lu <hongjiu.lu@intel.com>
424
425 [BZ #14716]
426 * string/test-memmem.c (check_result): New function.
427 (do_one_test): Use it.
428 (check1): New function.
429 (test_main): Use it.
430
d077f65f
MT
4312012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
432
433 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
434
ced52c71
JM
4352012-10-18 Joseph Myers <joseph@codesourcery.com>
436
437 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
438 (_G_LSEEK64): Likewise.
439 (_G_MMAP64): Likewise.
440 (_G_FSTAT64): Likewise.
441 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
442 (_G_LSEEK64): Likewise.
443 (_G_MMAP64): Likewise.
444 (_G_FSTAT64): Likewise.
445 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
446 unconditional. Call __mmap64 directly.
447 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
448 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
449 __lseek64 directly.
450 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
451 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
452 __mmap64 directly.
453 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
454 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
455 __lseek64 directly.
456 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
457 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
458 __lseek64 directly.
459 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
460 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
461 __lseek64 directly.
462 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
463 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
464 __fxstat64 directly.
465 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
466 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
467 unconditional.
468 (freopen64) [!_G_OPEN64]: Remove conditional code.
469 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
470 unconditional.
471 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
472 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
473 unconditional.
474 (ftello64) [!_G_LSEEK64]: Remove conditional code.
475 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
476 unconditional.
477 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
478 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
479 unconditional.
480 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
481 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
482 unconditional.
483 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
484 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
485 unconditional.
486 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
487 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
488 unconditional.
489 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
490
b741de23
SP
4912012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
492
493 [BZ #12140]
494 * manual/memory.texi (Malloc Tunable Parameters): Add note
495 about free list pointers overwriting some perturb bytes.
496 Wording suggested by Roland McGrath.
497
f9b9d9c9
JM
4982012-10-17 Joseph Myers <joseph@codesourcery.com>
499
500 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
501 (lgamma_test): Likewise.
502 (tgamma_test): Likewise.
503
172a631a
FW
5042012-10-16 Florian Weimer <fweimer@redhat.com>
505
506 [BZ #14700]
507 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
508 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
509
e9f37252
MK
5102012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
511
512 * NEWS: Mention BZ #14716.
513 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
514 when removing AVAILABLE1_USES_J macro.
515
d394eb74
L
5162012-10-12 H.J. Lu <hongjiu.lu@intel.com>
517
518 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
519 (__bswap_64): __uint64_t for unsigned 64-bit int.
520
ca38dc17
AS
5212012-10-12 Andreas Schwab <schwab@linux-m68k.org>
522
523 * include/string.h (memmem): Declare libc hidden alias.
524 * string/memmem.c (memmem): Define libc hidden alias.
525 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
526 __read, __close instead of open, read, close.
527
9a387d1f
L
5282012-10-11 H.J. Lu <hongjiu.lu@intel.com>
529
ac49ecaf
L
530 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
531 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
532 global and hidden.
533 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
534 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
535 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
536 Likewise.
537 (__rawmemchr_sse2): Likewise.
538 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
539 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
540 (__strchr_sse2): Likewise.
541 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
542 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
543 (__strcasecmp_sse2): Likewise.
544 (__strncasecmp_sse2): Likewise.
545 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
546 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
547 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
548 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
549 (__strrchr_sse2): Likewise.
550 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
551 ifunc-impl-list.c.
552 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
553 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
554 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
555 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
556 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
557 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
558 * sysdeps/x86_64/multiarch/memset.S: Likewise.
559 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
560 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
561 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
562 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
563 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
564 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
565 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
566 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
567 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
568 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
569 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
570 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
571 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
572 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
573 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
574 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
575 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
576 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
577 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
578 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
579 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
580 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
581 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
582
b090e8ea
L
583 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
584 global and hidden.
585 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
586 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
587 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
588 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
589 Likewise.
590 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
591 Likewise.
592 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
593 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
594 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
595 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
596 ifunc-impl-list.c.
597 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
598 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
599 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
600 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
601 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
602 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
603 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
604 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
605 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
606 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
607 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
608 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
609 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
610 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
611 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
612 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
613 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
614 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
615 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
616 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
617 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
618 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
619 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
620 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
621 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
622 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
623 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
624 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
625 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
626 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
627 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
628 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
629 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
630 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
631 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
632 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
633 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
634 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
635 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
636 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
637 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
638
11dd4af6
L
639 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
640 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
641 * include/ifunc-impl-list.h: New file.
642 * misc/ifunc-impl-list.c: Likewise.
643 * misc/Makefile (routines): Add ifunc-impl-list.
644 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
645 * string/test-string.h: Include <ifunc-impl-list.h>.
646 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
647 impl_array): New variables.
648 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
649 are defined.
650 (test_init): Call __libc_ifunc_impl_list to initialize
651 func_list if TEST_IFUNC and TEST_NAME are defined.
652
9a387d1f
L
653 * string/Makefile (strop-tests): Add bcopy and bzero.
654 * string/test-bcopy.c: New file.
655 * string/test-bzero.c: Likewise.
656 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
657 defined.
658 * string/test-memset.c: Support bzero test if TEST_BZERO is
659 defined.
660 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
661 __libc_memmove.
662 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
663 __libc_memset.
664 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
665 of memset.
666
472371b9
JM
6672012-10-10 Joseph Myers <joseph@codesourcery.com>
668
1e4a9536
JM
669 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
670 * configure: Regenerated.
671
d173d12e
JM
672 * Makeconfig (+link-static-before-libc): Don't include
673 $(link-static-libc).
674
472371b9
JM
675 * libio/libio.h (_IO_pos_t): Remove.
676
89a3ad0b
AO
6772012-10-10 Alexandre Oliva <aoliva@redhat.com>
678
679 * NEWS: Add note about FIPS mode. Wording suggested by Roland
680 McGrath.
681
e7451425
AO
6822012-10-10 Alexandre Oliva <aoliva@redhat.com>
683
684 * crypt/crypt-entry.c: Include fips-private.h.
685 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
686 * crypt/md5c-test.c (main): Tolerate disabled MD5.
687 * sysdeps/unix/sysv/linux/fips-private.h: New file.
688 * sysdeps/generic/fips-private.h: New file, dummy fallback.
689
4ba74a35
AO
6902012-10-10 Alexandre Oliva <aoliva@redhat.com>
691
692 * crypt/crypt-private.h: Include stdbool.h.
693 (_ufc_setup_salt_r): Return bool.
694 * crypt/crypt-entry.c: Include errno.h.
695 (__crypt_r): Return NULL with EINVAL for bad salt.
696 * crypt/crypt_util.c (bad_for_salt): New.
697 (_ufc_setup_salt_r): Check that salt is long enough and within
698 the specified alphabet.
699 * crypt/badsalttest.c: New file.
700 * crypt/Makefile (tests): Add it.
701 ($(objpfx)badsalttest): New.
702
f96f1242
MK
7032012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
704
705 * NEWS: Add entry for BZ #14602.
706
0e8e0c1c
JM
7072012-10-09 Joseph Myers <joseph@codesourcery.com>
708
709 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
710 type-generic.
711 * math/libm-test.inc: Update comment listing what functions and
712 macros are tested.
713 (isgreater_test): New function.
714 (isgreaterequal_test): Likewise.
715 (isless_test): Likewise.
716 (islessequal_test): Likewise.
717 (islessgreater_test): Likewise.
718 (isunordered_test): Likewise.
719 (main): Call the new functions.
720
273edc5e
RM
7212012-10-09 Roland McGrath <roland@hack.frob.com>
722
b8493de0
RM
723 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
724 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
725 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
726 * sysdeps/i386/configure: Regenerated.
727 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
728 * sysdeps/mach/configure: Regenerated.
729 * sysdeps/mach/hurd/configure: Regenerated.
730 * sysdeps/powerpc/configure: Regenerated.
731 * sysdeps/powerpc/powerpc32/configure: Regenerated.
732 * sysdeps/powerpc/powerpc64/configure: Regenerated.
733 * sysdeps/s390/s390-32/configure: Regenerated.
734 * sysdeps/s390/s390-64/configure: Regenerated.
735 * sysdeps/sh/configure: Regenerated.
736 * sysdeps/sparc/configure: Regenerated.
737 * sysdeps/unix/sysv/linux/configure: Regenerated.
738 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
739 * sysdeps/x86_64/configure: Regenerated.
740
273edc5e
RM
741 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
742 defined. Don't check if MAP is NULL.
743
c8450f70
JM
7442012-10-09 Joseph Myers <joseph@codesourcery.com>
745
746 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
747 (_G_stat64): Likewise.
748 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
749 (_G_stat64): Likewise.
750 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
751 instead of struct _G_stat64.
752 * libio/fileops.c (mmap_remap_check): Likewise.
753 (decide_maybe_mmap): Likewise.
754 (_IO_new_file_seekoff): Likewise.
755 (_IO_file_stat): Likewise.
756 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
757 _G_off64_t.
758 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
759 instead of struct _G_stat64.
760 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
761
57e605ba
MK
7622012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
763
764 [BZ #14602]
765 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
766 Replace with ...
767 (CHECK_EOL): New macro.
768 (two_way_short_needle): Check beginning of haystack for EOL. Use
769 CHECK_EOL.
770 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
771 Replace with CHECK_EOL.
772 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
773 Replace with CHECK_EOL.
774
ef1bb361
JM
7752012-10-08 Joseph Myers <joseph@codesourcery.com>
776
777 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
778 type-generic.
779 * math/libm-test.inc: Update comment listing what functions and
780 macros are tested.
781 (finite_test): New function.
782 (isinf_test): Likewise.
783 (isnan_test): Likewise.
784 (fpclassify_test): Test subnormal input.
785 (isfinite_test): Likewise.
786 (isnormal_test): Likewise.
787 (main): Call the new functions.
788
55f11534
JN
7892012-10-08 Jonathan Nieder <jrnieder@gmail.com>
790
791 [BZ #14660]
792 * Makerules (%.dynsym): Force C locale when running
793 $(OBJDUMP) --dynamic-syms.
794
1ab29350
AS
7952012-10-08 Andreas Schwab <schwab@linux-m68k.org>
796
797 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
798 <stdint.h>.
799
f1ecb7ef
DM
8002012-10-06 David S. Miller <davem@davemloft.net>
801
802 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
803 upper 32-bits of the length value in %o2 since we use branch-on-register
804 tests which consider the entire 64-bit register.
805
5d41d91a
L
8062012-10-06 H.J. Lu <hongjiu.lu@intel.com>
807
808 * string/test-strstr.c (check2): Add a test for page boundary.
809
3baddb72
DM
8102012-10-05 David S. Miller <davem@davemloft.net>
811
812 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
813 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
814 file.
815 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
816 sysdep_routines.
817 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
818 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
819 and bzero when HWCAP_SPARC_CRYPTO is present.
820
9cee5585
L
8212012-10-05 H.J. Lu <hongjiu.lu@intel.com>
822
d7e0dab9
L
823 [BZ #14602]
824 * string/test-strstr.c (check2): New function.
825 (test_main): Call check2.
826
03759f47
L
827 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
828 and bug-strchr1.
829 * string/bug-strcasestr1.c (do_test): Moved to ...
830 * string/test-strcasestr.c (check1): Here. New function.
831 (do_one_test): Break out result checking code into ...
832 (check_result): This. New function.
833 (do_one_test): Call check_result.
834 (test_main): Call check1.
835 * string/bug-strchr1.c (do_test): Moved to ...
836 * string/test-strchr.c (check1): Here. New function.
837 (do_one_test): Break out result checking code into ...
838 (check_result): This. New function.
839 (do_one_test): Call check_result.
840 (test_main): Call check1.
841 * string/bug-strstr1.c (main): Moved to ...
842 * string/test-strchr.c (check1): Here. New function.
843 (do_one_test): Break out result checking code into ...
844 (check_result): This. New function.
845 (do_one_test): Call check_result.
846 (test_main): Call check1.
847 * string/bug-strcasestr1.c: Removed.
848 * string/bug-strchr1.c: Likewise.
849 * string/bug-strstr1.c: Likewise.
850
53cea63e
L
851 * elf/Makefile (dl-routines): Add hwcaps.
852 * elf/dl-support.c (_dl_important_hwcaps): Removed.
853 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
854 (_dl_important_hwcaps): Moved to ...
855 * elf/dl-hwcaps.c: Here. New file.
856 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
857
9cee5585 858 [BZ #14557]
bb859b06
L
859 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
860 if IS_IN_rtld isn't defined.
861
9cee5585
L
862 * elf/dl-support.c (_dl_sysinfo_map): New.
863 Include "get-dynamic-info.h" and "setup-vdso.h".
864 (_dl_non_dynamic_init): Call setup_vdso.
865 * elf/dynamic-link.h: Don't include <assert.h>.
866 (elf_get_dynamic_info): Moved to ...
867 * elf/get-dynamic-info.h: Here. New file.
868 * elf/dynamic-link.h: Include "get-dynamic-info.h".
869 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
870 * elf/setup-vdso.h: Here. New file.
871 * elf/rtld.c: Include "setup-vdso.h".
872 (dl_main): Call setup_vdso.
873
23c31b76
JM
8742012-10-05 Joseph Myers <joseph@codesourcery.com>
875
28234b07
JM
876 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
877 creal in comment listing functions tested. List finite, isinf,
878 isnan, isless, islessequal, isgreater, isgreaterequal,
879 islessgreater, isunordered, lgamma_r and pow10 as functions and
880 macros not tested. Mention which functions not tested are aliases
881 for other functions. Fix typo. Note that signs of NaNs are not
882 tested.
883
23c31b76
JM
884 * scripts/config.guess: Update from config.git.
885 * scripts/config.sub: Likewise.
886
9043e228
RM
8872012-10-04 Roland McGrath <roland@hack.frob.com>
888
889 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
890 * misc/madvise.c (madvise): Renamed to __madvise.
891 Make madvise a weak alias.
892 * include/sys/mman.h: Declare __madvise.
893 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
894 * sysdeps/unix/syscalls.list
895 (madvise): Make __madvise the strong name, and madvise a weak alias.
896 * sysdeps/unix/sysv/linux/syscalls.list
897 (madvise, mmap): Remove redundant entries.
898 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
899 * malloc/malloc.c (mtrim): Likewise.
900 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
901
f57f8055
RM
9022012-10-03 Roland McGrath <roland@hack.frob.com>
903
904 * sysdeps/mach/hurd/dl-cache.c: File removed.
905 * config.h.in (USE_LDCONFIG): New #undef.
906 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
907 * configure: Regenerated.
908 * elf/Makefile (dl-routines): Add dl-cache only under
909 [$(use-ldconfig) = yes].
910 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
911 cache on [USE_LDCONFIG].
912 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
913 [USE_LDCONFIG].
914 * elf/rtld.c (dl_main): Likewise.
915
5bb0c10a
PT
9162012-10-03 Pino Toscano <toscano.pino@tiscali.it>
917
918 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
919 _SC_LEVEL4_CACHE_LINESIZE.
920
010188c6
RM
9212012-10-03 Roland McGrath <roland@hack.frob.com>
922
923 * sysdeps/unix/bsd/confstr.h: File removed.
924
b6c5ec07
AO
9252012-10-02 Alexandre Oliva <aoliva@redhat.com>
926
927 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
928 sys/sdt-config.h.
929
408223d4
RM
9302012-10-02 Roland McGrath <roland@hack.frob.com>
931
932 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
933 Make 'mapoff' field ElfW(Off) rather than off_t.
934
bb9510dc
DL
9352012-10-02 Dmitry V. Levin <ldv@altlinux.org>
936
fc997c6e
DL
937 * nscd/Makefile: Remove nscd-cflags and all its users.
938 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
939 (CFLAGS-nonlib): Add compiler flags for nscd modules.
940
bb9510dc
DL
941 [BZ #10631]
942 * malloc.c (malloc_printerr): Clarify error message.
943
05699367
L
9442012-10-02 H.J. Lu <hongjiu.lu@intel.com>
945
946 [BZ #14648]
947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
948 Set bit_FMA_Usable if FMA is supported.
949 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
950 macro.
951 (bit_FMA4_Usable): Updated.
952 (index_FMA_Usable): New macro.
953 (CPUID_FMA): Likewise
954 (HAS_FMA): Defined with bit_FMA_Usable.
955
51367701
RM
9562012-10-01 Roland McGrath <roland@hack.frob.com>
957
958 * bits/types.h (__swblk_t): Type removed.
959 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
960 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
961 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
962 (__SWBLK_T_TYPE): Likewise.
963 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
964 (__SWBLK_T_TYPE): Likewise.
965 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
966 (__SWBLK_T_TYPE): Likewise.
967 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
968 (__SWBLK_T_TYPE): Likewise.
969
4d57bf63
JL
9702012-10-01 Patsy Franklin <pfrankli@redhat.com>
971 Honza Horak <hhorak@redhat.com>
972
973 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
974 (xdr_mapname): Use YPMAXMAP as maxsize.
975 (xdr_peername): Use YPMAXPEER as maxsize.
976 (xdr_keydat): Use YPAXRECORD as maxsize.
977 (xdr_valdat): Use YPMAXRECORD as maxsize.
978
93c65d43
RM
9792012-10-01 Roland McGrath <roland@hack.frob.com>
980
497a03d6
RM
981 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
982
93c65d43
RM
983 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
984 * csu/init-first.c: ... here.
985 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
986 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
987 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
988 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
989 * sysdeps/i386/init-first.c: File removed.
990 * sysdeps/sh/init-first.c: File removed.
991
bec749fd
JM
9922012-10-01 Joseph Myers <joseph@codesourcery.com>
993
994 [BZ #14645]
995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
996 if x * y might underflow to zero and z is zero.
997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
998 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
999 * math/libm-test.inc (min_subnorm_value): New variable.
1000 (fma_test): Add more tests.
1001 (fma_test_towardzero): Likewise.
1002 (fma_test_downward): Likewise
1003 (fma_test_upward): Likewise.
1004 (initialize): Set min_subnorm_value.
1005
8ec5b013
JM
10062012-09-29 Joseph Myers <joseph@codesourcery.com>
1007
1008 [BZ #14638]
1009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1010 0 + 0.
1011 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1012 mode for addition resulting in exact zero.
1013 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1015 exact 0 + 0.
1016 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1018 * math/libm-test.inc (fma_test): Add more tests.
1019 (fma_test_towardzero): New function.
1020 (fma_test_downward): Likewise.
1021 (fma_test_upward): Likewise.
1022 (main): Call the new functions.
1023
b1fa802e
DM
10242012-09-28 David S. Miller <davem@davemloft.net>
1025
1026 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1027
d3b9fd9e
RM
10282012-09-28 Roland McGrath <roland@hack.frob.com>
1029
ea4d37b3
RM
1030 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1031 instead of SIGALRM.
1032
ac51c949
RM
1033 * sysdeps/gnu/_G_config.h: Moved to ...
1034 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1035 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1036 * sysdeps/generic/_G_config.h: ... here.
1037
28c195f7
RM
1038 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1039
848917f9
RM
1040 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1041
6bacf05b
RM
1042 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1043 Conditionalize target on [libnss_test1.so-version].
1044
91363dbb
RM
1045 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1046
cc87f7d8
RM
1047 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1048 (elfobjdir): Move out of conditionals.
1049
b1c608fe
RM
1050 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1051 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1052 (__nss_lookup_function): Conditionalize label remove_from_tree on
1053 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 1054
1d9a6d96
DM
10552012-09-28 David S. Miller <davem@davemloft.net>
1056
1057 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1058 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1059 file.
1060 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1061 sysdep_routines.
1062 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1064 when HWCAP_SPARC_CRYPTO is present.
1065
72581615
PT
10662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1067
1068 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1069
715a900c
JL
10702012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1071
1072 [BZ #6530]
1073 * stdio-common/vfprintf.c (process_string_arg): Revert
1074 2000-07-22 change.
1075
10762011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1077
1078 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1079 for testcase.
1080 * stdio-common/tst-sprintf.c: Include <locale.h>
1081 (main): Test sprintf's handling of incomplete multibyte
1082 characters.
1083
9bac1d86
L
10842012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1085
1086 * elf/dl-runtime.c (VERSYMIDX): Removed.
1087 * elf/dl-version.c (VERSYMIDX): Likewise.
1088 * elf/do-rel.h (VERSYMIDX): Likewise.
1089 (VALIDX): Likewise.
1090 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1091 * elf/rtld.c (VALIDX): Likewise.
1092 (ADDRIDX): Likewise.
9bac1d86
L
1093 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1094 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1095 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
1096 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1097 (VALIDX): Likewise.
1098 (ADDRIDX): Likewise.
9bac1d86 1099
b31606c0
PT
11002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1101
1102 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1103
11541177
JL
11042012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1105
1106 [BZ #11438]
1107 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1108 to global scope.
1109 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1110 addresses are in the same scope as 192.0.2/24.
1111 * posix/gai.conf: Document new scope table defaults.
1112
adb26fae
SP
11132012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1114
1115 [BZ #5298]
1116 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1117 for ftell. Compute offsets from write pointers instead.
1118 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1119
4573c6b0
SP
11202012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1121
1122 [BZ #14543]
1123 * libio/Makefile (tests): New test case tst-fseek.
1124 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1125 combination works in wide mode.
1126 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1127 state when the external buffer state changes.
1128
aa9bbfe6
DM
11292012-09-27 David S. Miller <davem@davemloft.net>
1130
1131 [BZ #14376]
1132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1133 pass reloc->r_addend in as the 'high' argument to
1134 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1135
784421e7
DM
1136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1137
c39bc8b8
PT
11382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1139
1140 * rt/tst-aio2.c: Include <pthread.h>.
1141 * rt/tst-aio3.c: Likewise.
1142
1ccc2399
SE
11432012-09-27 Steve Ellcey <sellcey@mips.com>
1144
1145 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1146
31ed4153
L
11472012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1148
25f5f885
L
1149 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1150 contents on [SHARED].
31ed4153 1151
b7bfe116
MP
11522012-09-26 Marek Polacek <polacek@redhat.com>
1153
1154 [BZ #14530]
1155 [BZ #13741]
1156 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1157 for C++ and GCC <4.3 as well as for non GCC compilers.
1158
43c4edba
MT
11592012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1160
1161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1162
6a1bf82f
RM
11632012-09-25 Roland McGrath <roland@hack.frob.com>
1164
1165 * Makefile.in (all, install): Declare with .PHONY.
1166 Reported by Michael Hope <michael.hope@linaro.org>.
1167
8ad11b9a
TMQMF
11682012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1169
1170 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1171 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1172 system header.
1173 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1174 Likewise.
1175 (sydep_routines): Add the new and the internal functions.
1176 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1177 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1179 (GLIBC_2.17): Add the new function.
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1181 (GLIBC_2.17): Likewise.
1182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1183 (GLIBC_2.17): Likewise.
1184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1185 (GLIBC_2.17): Likewise.
1186 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1187
7e2fca8d
AM
11882012-09-25 Alan Modra <amodra@gmail.com>
1189
1190 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1191 Add release barrier before setting once_control to say
1192 initialisation is done. Add hints on lwarx. Use macro in
1193 place of isync.
1194 (clear_once_control): Add release barrier.
1195
b87c4b24
JM
11962012-09-25 Joseph Myers <joseph@codesourcery.com>
1197
d032e0d2
JM
1198 [BZ #13629]
1199 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1200 specially.
1201 * math/s_clog10.c (__clog10): Likewise.
1202 * math/s_clog10f.c (__clog10f): Likewise.
1203 * math/s_clog10l.c (__clog10l): Likewise.
1204 * math/s_clogf.c (__clogf): Likewise.
1205 * math/s_clogl.c (__clogl): Likewise.
1206 * math/Makefile (libm-calls): Add x2y2m1.
1207 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1208 (__x2y2m1): Likewise.
1209 (__x2y2m1l): Likewise.
1210 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1211 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1212 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1213 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1214 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1215 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1216 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1217 * sysdeps/i386/fpu/libm-test-ulps: Update.
1218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1219
b87c4b24
JM
1220 [BZ #14621]
1221 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1222 int as type of variable DEPTH.
1223 (glob): Use size_t instead of int as type of variables NEWCOUNT
1224 and OLD_PATHC.
1225
6d3bf199
LD
12262012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1227
22bf5c17
LD
1228 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1229 Add s_sincosf-sse2.
1230 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1231 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1232 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1233 macros for using routine as __sincosf_ia32.
1234 Use macro for function declaration and weak_alias.
1235 * sysdeps/i386/fpu/libm-test-ulps: Update.
1236
1237 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1239
1240 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1241 subnormal argument.
1242 * math/s_cexpf.c (__cexpf): Likewise.
1243 * math/s_csinf.c (__csinf): Likewise.
1244 * math/s_csinhf.c (__csinhf): Likewise.
1245 * math/s_ctanf.c (__ctanf): Likewise.
1246 * math/s_ctanhf.c (__ctanhf): Likewise.
1247 * math/s_ccosh.c (__ccoshf): Likewise.
1248 * math/s_cexp.c (__cexpl): Likewise.
1249 * math/s_csin.c (__csin): Likewise.
1250 * math/s_csinh.c (__csinh): Likewise.
1251 * math/s_ctan.c (__ctan): Likewise.
1252 * math/s_ctanh.c (ctanh): Likewise.
1253 * math/s_ccoshl.c (__ccoshl): Likewise.
1254 * math/s_cexpl.c (__cexpl): Likewise.
1255 * math/s_csinl.c (__csinl): Likewise.
1256 * math/s_csinhl.c (__csinhl): Likewise.
1257 * math/s_ctanl.c (__ctanl): Likewise.
1258 * math/s_ctanhl.c (__ctanhl): Likewise.
1259
203e5603
JM
12602012-09-25 Joseph Myers <joseph@codesourcery.com>
1261
1262 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1263 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1264 (_IO_off_t): Define to __off_t, not _G_off_t.
1265 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1266 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1267 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1268 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1269 type of __dummy and __dummy2 fields.
1270 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1271 (_G_ssize_t): Likewise.
1272 (_G_off_t): Likewise.
1273 (_G_pid_t): Likewise.
1274 (_G_uid_t): Likewise.
1275 (_G_wchar_t): Likewise.
1276 (_G_wint_t): Likewise.
1277 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1278 (_G_ssize_t): Likewise.
1279 (_G_off_t): Likewise.
1280 (_G_pid_t): Likewise.
1281 (_G_uid_t): Likewise.
1282 (_G_wchar_t): Likewise.
1283 (_G_wint_t): Likewise.
1284 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1285 (_G_ssize_t): Likewise.
1286 (_G_off_t): Likewise.
1287 (_G_pid_t): Likewise.
1288 (_G_uid_t): Likewise.
1289 (_G_wchar_t): Likewise.
1290 (_G_wint_t): Likewise.
1291
9fab36eb
SP
12922012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1293
1294 * malloc/arena.c: Include malloc-sysdep.h.
1295 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1296 is sufficient to shrink the heap or an unmap is needed.
1297 * sysdeps/generic/malloc-sysdep.h: New file. Define
1298 new function check_may_shrink_heap.
1299 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1300 new function check_may_shrink_heap.
1301
2b4f00d1
SP
13022012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1303
1304 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1305 comments.
1306
9a9028b1
DL
13072012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1308
57c69bef
DL
1309 * catgets/test-gencat.sh: Add "set -e".
1310 * elf/tst-pathopt.sh: Likewise.
1311 * grp/tst_fgetgrent.sh: Likewise.
1312 * iconvdata/run-iconv-test.sh: Likewise.
1313 * intl/tst-gettext.sh: Likewise.
1314 * intl/tst-gettext2.sh: Likewise.
1315 * intl/tst-gettext4.sh: Likewise.
1316 * intl/tst-gettext6.sh: Likewise.
1317 * intl/tst-translit.sh: Likewise.
1318 * io/ftwtest-sh: Likewise.
1319 * libio/test-freopen.sh: Likewise.
1320 * malloc/tst-mtrace.sh: Likewise.
1321 * posix/globtest.sh: Likewise.
1322 * posix/tst-getconf.sh: Likewise.
1323 * posix/wordexp-tst.sh: Likewise.
1324 * stdio-common/tst-printf.sh: Likewise.
1325 * stdio-common/tst-unbputc.sh: Likewise.
1326 * stdlib/tst-fmtmsg.sh: Likewise.
1327 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1328 * catgets/Makefile: Do not specify -e option when running
1329 testsuite shell scripts.
1330 * elf/Makefile: Likewise.
1331 * grp/Makefile: Likewise.
1332 * iconvdata/Makefile: Likewise.
1333 * intl/Makefile: Likewise.
1334 * io/Makefile: Likewise.
1335 * libio/Makefile: Likewise.
1336 * malloc/Makefile: Likewise.
1337 * posix/Makefile: Likewise.
1338 * stdio-common/Makefile: Likewise.
1339 * stdlib/Makefile: Likewise.
1340 * sysdeps/x86_64/Makefile: Likewise.
1341
9a9028b1
DL
1342 * io/ftwtest-sh: Add copyright header.
1343 * posix/globtest.sh: Likewise.
1344 * posix/tst-getconf.sh: Likewise.
1345 * posix/wordexp-tst.sh: Likewise.
1346 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1347
ced6f16e
L
13482012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1349
94b32c39
L
1350 [BZ #13679]
1351 * Makeconfig (+link): Defined as $(+link-static) if
1352 $(build-shared) isn't yes.
1353 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1354 isn't yes.
1355 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1356
189e935b
L
1357 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1358
ced6f16e
L
1359 [BZ #14562]
1360 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1361 new chunk size with MALLOC_ALIGN_MASK.
1362
a9f8e53a
JM
13632012-09-24 Joseph Myers <joseph@codesourcery.com>
1364
1365 [BZ #5044]
1366 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1367 <rounding-mode.h>.
1368 (__printf_fphex): Determine rounding using get_rounding_mode and
1369 round_away.
1370 * stdio-common/tst-printf-round.c (struct hex_test): New
1371 structure.
1372 (hex_tests): New variable.
1373 (test_hex_in_one_mode): New function.
1374 (do_test): Also run tests for hex float output.
1375
43153109
JM
13762012-09-21 Joseph Myers <joseph@codesourcery.com>
1377
1378 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1379 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1380 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1381 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1382 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1383 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1384 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1385 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1386
8a26625d
JM
13872012-09-20 Joseph Myers <joseph@codesourcery.com>
1388
1389 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1390 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1391 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1392 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1393
f3fd569c
DL
13942012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1395
1396 [BZ #14579]
1397 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1398 mode only.
1399 * elf/tst-rtld-load-self.sh: New test.
1400 * elf/Makefile: Run it.
1401
63bbedd4
JM
14022012-09-18 Joseph Myers <joseph@codesourcery.com>
1403
1404 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1405 (tst-writev-ENV): Remove.
1406 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1407
626f8b6a
CM
14082012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1409
1410 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1411
b7aaa4d6
JM
14122012-09-17 Joseph Myers <joseph@codesourcery.com>
1413
1414 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1415 unconditional.
1416 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1417 Likewise.
1418 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1419 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1420 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1421 Likewise.
1422
65513990
L
14232012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1424
1425 [BZ #14587]
1426 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1427 * config.make.in (have-cpp-asm-debuginfo): Removed.
1428 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1429 * configure: Regenerated.
1430
784761be
JM
14312012-09-14 Joseph Myers <joseph@codesourcery.com>
1432
1433 [BZ #5044]
1434 * stdio-common/printf_fp.c: Include <stdbool.h> and
1435 <rounding-mode.h>.
1436 (___printf_fp): Determine rounding using get_rounding_mode and
1437 round_away.
1438 * stdio-common/tst-printf-round.c: New file.
1439 * stdio-common/Makefile (tests): Add tst-printf-round.
1440 (link-libm): New variable.
1441 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1442
9503345f
L
14432012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1444
1445 [BZ #14576]
1446 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1447 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1448 Likewise.
1449 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1450 Likewise.
1451
ad35fc00
JM
14522012-09-13 Joseph Myers <joseph@codesourcery.com>
1453
1454 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1455 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1456 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1457 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1458
6c9b0f68
JM
14592012-09-12 Joseph Myers <joseph@codesourcery.com>
1460
1461 [BZ #14518]
1462 * include/rounding-mode.h: New file.
1463 * sysdeps/generic/get-rounding-mode.h: Likewise.
1464 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1465 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1466 (MAX_VALUE): New macro.
1467 (MIN_VALUE): Likewise.
1468 (overflow_value): New function.
1469 (underflow_value): Likewise.
1470 (round_and_return): Use overflow_value and underflow_value to
1471 determine return values in overflow and underflow cases. Use
1472 round_away to determine rounding depending on rounding mode.
1473 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1474 determine return values in overflow and underflow cases.
1475 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1476 (struct test_results): New structure.
1477 (struct test): Use struct test_results to store expected results
1478 for all rounding modes.
1479 (TEST): Include expected results for all rounding modes.
1480 (test_in_one_mode): New function.
1481 (do_test): Use test_in_one_mode to compute and check results.
1482 Check results for all rounding modes.
1483 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1484 $(link-libm).
1485
19fcedd5
AM
14862012-12-09 Allan McRae <allan@archlinux.org>
1487
1488 * sysdeps/i386/fpu/libm-test-ulps: Update
1489
8bbfd2f1
JM
14902012-09-11 Joseph Myers <joseph@codesourcery.com>
1491
1492 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1493 (_G_int32_t): Likewise.
1494 (_G_uint16_t): Likewise.
1495 (_G_uint32_t): Likewise.
1496 (_G_HAVE_BOOL): Likewise.
1497 (_G_HAVE_ATEXIT): Likewise.
1498 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1499 (_G_HAVE_IO_FILE_OPEN): Likewise.
1500 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1501 (_G_int32_t): Likewise.
1502 (_G_uint16_t): Likewise.
1503 (_G_uint32_t): Likewise.
1504 (_G_HAVE_BOOL): Likewise.
1505 (_G_HAVE_ATEXIT): Likewise.
1506 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1507 (_G_HAVE_IO_FILE_OPEN): Likewise.
1508 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1509 (_G_int32_t): Likewise.
1510 (_G_uint16_t): Likewise.
1511 (_G_uint32_t): Likewise.
1512 (_G_HAVE_BOOL): Likewise.
1513 (_G_HAVE_ATEXIT): Likewise.
1514 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1515 (_G_HAVE_IO_FILE_OPEN): Likewise.
1516
b1dc5912
L
15172012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1518
1519 * csu/libc-tls.c: Update copyright years.
1520
0e886ef9
JM
15212012-09-10 Joseph Myers <joseph@codesourcery.com>
1522
28361c5e
JM
1523 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1524 [!_G_USING_THUNKS]: Remove conditional code.
1525 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1526 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1527
0e886ef9
JM
1528 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1529 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1530 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1531 (_G_VTABLE_LABEL_PREFIX): Likewise.
1532 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1533 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1534 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1535 (_G_VTABLE_LABEL_PREFIX): Likewise.
1536 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1537 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1538 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1539 (_G_VTABLE_LABEL_PREFIX): Likewise.
1540 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1541
bcba7aa2
L
15422012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1543
1544 * libio/Makefile: Include ../Makeconfig before tests.
1545 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1546 only if $(build-shared) is yes.
1547
06585ee8
L
1548 * iconv/gconv_db.c: Update copyright years.
1549
80ccd52c
LD
15502012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1551
1552 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1553 unwind info if defined PIC. Fix special cases description.
1554 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1555
1556 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1557 DP_HI_MASK entry.
1558 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1559
691bc9c1
L
15602012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1561
3d9b46b3
L
1562 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1563
de2139a9
L
1564 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1565 is NULL.
1566
5ca78dd0
L
1567 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1568 (LDLIBS-tst-chk4): This.
1569 (LDFLAGS-tst-chk5): Renamed to ...
1570 (LDLIBS-tst-chk5): This.
1571 (LDFLAGS-tst-chk6): Renamed to ...
1572 (LDLIBS-tst-chk6): This.
1573 (LDFLAGS-tst-lfschk4): Renamed to ...
1574 (LDLIBS-tst-lfschk4): This.
1575 (LDFLAGS-tst-lfschk5): Renamed to ...
1576 (LDLIBS-tst-lfschk5): This.
1577 (LDFLAGS-tst-lfschk6): Renamed to ...
1578 (LDLIBS-tst-lfschk6): This.
1579
691bc9c1
L
1580 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1581 on $(common-objpfx)soversions.mk.
1582
65cafb1c
JM
15832012-09-07 Joseph Myers <joseph@codesourcery.com>
1584
1585 [BZ #10014]
1586 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1587 example host name.
1588
c78ab094
SP
15892012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1590
1591 * malloc/arena.c (arena_get_retry): New function that gets
1592 another arena for the caller to try its request on.
1593 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1594 current arena cannot fulfill the request.
1595 (__libc_memalign): Likewise.
1596 (__libc_memalign): Likewise.
1597 (__libc_pvalloc): Likewise.
1598 (__libc_calloc): Likewise.
1599
01f49f59
JT
16002012-09-05 John Tobey <john.tobey@gmail.com>
1601
1602 [BZ #13542]
1603 * manual/arith.texi (Operations on Complex): Fix description
1604 of carg branch cut.
1605
4c23fed5
JM
16062012-09-06 Joseph Myers <joseph@codesourcery.com>
1607
1d3c8572
JM
1608 [BZ #10014]
1609 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1610 host name.
1611
4c23fed5
JM
1612 [BZ #10038]
1613 * manual/memory.texi (Memory): Make order of menu items match
1614 order of sections.
1615
04570aaa
L
16162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1617
1618 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1619 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1620 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1621
b80af2f4
L
16222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1623
1624 * csu/libc-tls.c (static_dtv): Renamed to ...
1625 (_dl_static_dtv): This. Make it global.
1626 (_dl_initial_dtv): Removed.
1627 (__libc_setup_tls): Updated.
1628 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1629 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1630 DL_INITIAL_DTV.
1631
2abe9f15
PM
16322012-09-06 Petr Machata <pmachata@redhat.com>
1633
1634 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1635 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1636 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1637 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1638
0948c3af
L
16392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1640
1641 [BZ #14545]
1642 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1643 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1644 freeing dtv[-1].
1645
a5055ad1
L
16462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1647
1648 [BZ #14544]
1649 * Makeconfig (link-static-before-libc): Replace $(+prector)
1650 with $(+prectorT).
1651 (link-static-after-libc): Replace $(+postctor) with
1652 $(+postctorT).
1653 (link-bounded): Replace $(+prector)/$(+postctor) with
1654 $(+prectorT)/$(+postctorT).
1655 (+prectorT): New macro.
1656 (+postctorT): Likewise.
1657
ed8c2ecd
JM
16582012-09-06 Joseph Myers <joseph@codesourcery.com>
1659
1660 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1661 (round_str): Handle values above the maximum for IBM long double
1662 as inexact.
1663 * stdlib/tst-strtod-round.c (tests): Regenerated.
1664
14c996c8
AK
16652012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1666
1667 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1668 assembler flag.
1669 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1670 zarch_nohighgprs around the zarch optimized routines.
1671 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1672 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1673 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1674 for zarch.
1675
430d6ce6
DM
16762012-09-05 David S. Miller <davem@davemloft.net>
1677
1678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1679
ff04dda4
DM
1680 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1681 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1682 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1683 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1684 entries.
1685
24d4e01b
AO
16862012-09-05 Alexandre Oliva <aoliva@redhat.com>
1687
1688 * malloc/arena.c: Fold copyright years.
1689 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1690
61d58174
AO
16912012-09-05 Alexandre Oliva <aoliva@redhat.com>
1692
1693 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1694
20196a5e
AO
16952012-09-05 Alexandre Oliva <aoliva@redhat.com>
1696
1697 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1698
5c447383
AO
16992012-09-05 Alexandre Oliva <aoliva@redhat.com>
1700
1701 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1702 change internal state upon failure.
1703
fad64255
AO
17042012-09-05 Alexandre Oliva <aoliva@redhat.com>
1705
1706 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1707 * malloc/memusage.c (mmap): Likewise.
1708 (mmap64, mremap): Likewise. Adjust name in comment.
1709
1ffb8c90
SP
17102012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1711
1712 * libio/fileops.c: Fix typos in comments.
1713 * libio/oldfileops.c: Likewise.
1714 * libio/wfileops.c: Likewise.
1715
6ef9cc37
SP
17162012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1717
1718 [BZ #1349]
1719 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1720 (tst-malloc-usable-ENV): Set environment for test case.
1721 * malloc/hooks.c (malloc_check_get_size): New function to get
1722 requested size.
1723 * malloc/malloc.c (musable): Use malloc_check_get_size.
1724 * malloc/tst-malloc-usable.c: New test case.
1725
4d038ae3
AS
17262012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1727
1728 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1729
c4e85184
AM
17302012-09-05 Allan McRae <allan@archlinux.org>
1731
b9dafc56 1732 [BZ #13966]
c4e85184
AM
1733 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1734 determine header location.
1735 * configure: Regenerated.
1736
e1343020
AS
17372012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1738
1739 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1740 float format.
1741 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1742 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1743 format.
e1343020
AS
1744 (test): Regenerate.
1745
0a9f1987
DM
17462012-09-04 David S. Miller <davem@davemloft.net>
1747
1748 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1749 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1750 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1751
29237804
FW
17522012-09-04 Florian Weimer <fweimer@redhat.com>
1753
1754 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1755 failures.
1756
edb3cb88
FW
1757 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1758
60160d83
JM
17592012-09-04 Joseph Myers <joseph@codesourcery.com>
1760
1761 [BZ #9914]
1762 * libio/iogetdelim.c: Include <limits.h>.
1763 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1764 + len + 1 would overflow.
1765
bcd6c8dc
AJ
17662012-09-03 Andreas Jaeger <aj@suse.de>
1767
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1769 * sysdeps/i386/fpu/libm-test-ulps: Update.
1770
4ffffbd2
LD
17712012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1772
1773 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1774 Add s_sinf-sse2, s_conf-sse2.
1775
1776 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1777 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1778 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1779 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1780
1781 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1782 for using routine as __sinf_ia32.
1783 Use macro for function declaration and weak_alias.
1784 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1785 for using routine as __cosf_ia32.
1786 Use macro for function declaration and weak_alias.
1787
1788 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1789 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1790
1791 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1792 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1794
1795 * math/libm-test.inc (cos_test): Add more test cases.
1796 (sin_test): Likewise.
1797 (sincos_test): Likewise.
1798
511fa286
AK
17992012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1800
1801 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1802 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1803 hidden.
1804 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1805
5f30cfec
L
18062012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 [BZ #14538]
1809 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1810 first element of the GOT.
1811 (elf_machine_load_address): Return the difference between
1812 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1813
0786794f
AM
18142012-09-01 Allan McRae <allan@archlinux.org>
1815
5f30cfec
L
1816 [BZ #13412]
1817 * configure.in (AWK): Require gawk version 3.0 or later.
1818 * configure: Regenerated.
0786794f 1819
26889eac
JM
18202012-09-01 Joseph Myers <joseph@codesourcery.com>
1821
1822 * sysdeps/unix/sysv/linux/kernel-features.h
1823 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1824 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1825 [__NR_clock_getres]: Make code unconditional.
1826 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1827 (clock_getcpuclockid): Remove code left unreachable by removal of
1828 conditionals.
1829 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1830 code unconditional.
1831 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1832 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1833 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1834 Make code unconditional.
1835 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1836 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1837 * sysdeps/unix/sysv/linux/clock_settime.c
1838 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1839 conditional code.
1840 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1841 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1842
d22e28b0
L
18432012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1844
1845 [BZ #14476]
1846 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1847 scripts/test-installation.pl.
1848
1849 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1850 and $ld_so_version if it is set.
1851
050af9c4
SP
18522012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1853
1854 [BZ #14516]
1855 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1856 failure if reading from procfs failed.
1857 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1858
ad845c0b
JM
18592012-08-27 Joseph Myers <joseph@codesourcery.com>
1860
1861 * sysdeps/unix/sysv/linux/kernel-features.h
1862 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1863 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1864 Remove conditional code.
1865 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1866 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1867 Remove conditional code.
1868 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1869 * sysdeps/unix/sysv/linux/i386/fxstat.c
1870 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1871 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1872 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1873 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1874 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1875 * sysdeps/unix/sysv/linux/i386/lxstat.c
1876 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1877 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1878 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1879 Remove conditional code.
1880 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1881 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1882 Remove conditional code.
1883 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1884 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1885 <kernel-features.h>.
1886 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1887 Remove.
1888 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1889 Remove conditional code.
1890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1891 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1892 Remove conditional.
1893
5dbf56af
MF
18942012-08-27 Mike Frysinger <vapier@gentoo.org>
1895
1896 [BZ #5400]
1897 * NEWS: Add fixed bug number.
1898
d6e70f43
JM
18992012-08-27 Joseph Myers <joseph@codesourcery.com>
1900
7efb4737
JM
1901 [BZ #14519]
1902 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1903 underflowing exponent in case of negative sign.
1904 * stdlib/tst-strtod-round-data: Add more tests.
1905 * stdlib/tst-strtod-round.c (tests): Regenerated.
1906
af92131a
JM
1907 [BZ #3479]
1908 * stdlib/strtod_l.c (NDIG): Remove.
1909 (HEXNDIG): Likewise.
1910 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1911 smallest representable value.
1912 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1913 lie within an exact representation of 1/2 ulp of the result.
1914 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1915 unconditionally.
1916 (TENS_P9_IDX): Define unconditionally.
1917 (TENS_P9_SIZE): Likewise.
1918 (TENS_P10_IDX): Likewise.
1919 (TENS_P10_SIZE): Likewise.
1920 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1921 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1922 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1923 entries for 10^2^13 and 10^2^14.
1924 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1925 (TENS_P13_IDX): Define.
1926 (TENS_P13_SIZE): Likewise.
1927 (TENS_P14_IDX): Likewise.
1928 (TENS_P14_SIZE): Likewise.
1929 (_fpioconst_pow10): Change array size to
1930 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1931 unconditional.
1932 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1933 1024]: Add entries for 10^2^13 and 10^2^14.
1934 [LAST_POW10 > _LAST_POW10]: Remove #error.
1935 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1936 (_fpioconst_pow10): Change array size to
1937 FPIOCONST_POW10_ARRAY_SIZE.
1938 * stdlib/gen-fpioconst.c: New file.
1939 * stdlib/gen-tst-strtod-round.c: Likewise.
1940 * stdlib/tst-strtod-round-data: Likewise.
1941 * stdlib/tst-strtod-round.c: Likewise.
1942 * stdlib/Makefile (tests): Add tst-strtod-round.
1943
d6e70f43
JM
1944 [BZ #14459]
1945 * stdlib/strtod_l.c: Include <stdint.h>.
1946 (NDEBUG): Do not define.
1947 (round_and_return): Change EXPONENT parameter to type intmax_t.
1948 Rearrange calculations to avoid internal overflow possibilities.
1949 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1950 Rearrange calculations to avoid internal overflow possibilities.
1951 Assert that number fits inside MPNSIZE limbs.
1952 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1953 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1954 calculations and add assertions to avoid internal overflow
1955 possibilities. Add casts to avoid signed/unsigned operations.
1956 * stdlib/tst-strtod-overflow.c: New file.
1957 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1958
1f529f7d
MP
19592012-08-25 Marek Polacek <polacek@redhat.com>
1960
1961 * time/time.h: Fix some typos in comments.
1962
59a629f1
RM
19632012-08-23 Roland McGrath <roland@hack.frob.com>
1964
1965 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1966 * posix/tst-rfc3484-2.c: Likewise.
1967 * posix/tst-rfc3484-3.c: Likewise.
1968
d3bafbc9
SM
19692012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1970
1971 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1972 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1973
4efcc022
JM
19742012-08-23 Joseph Myers <joseph@codesourcery.com>
1975
1976 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1977 #include of fxstatat64.c.
1978
3cc3ef96
RM
19792012-08-22 Roland McGrath <roland@hack.frob.com>
1980
f04e2132
RM
1981 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1982 * shadow/getspent_r.c: Likewise.
1983 * shadow/getspnam.c: Likewise.
1984 * shadow/getspnam_r.c: Likewise.
1985 * gshadow/getsgent.c: Likewise.
1986 * gshadow/getsgent_r.c: Likewise.
1987 * gshadow/getsgnam.c: Likewise.
1988 * gshadow/getsgnam_r.c: Likewise.
1989 * inet/getnetbyad.c: Likewise.
1990 * inet/getnetbyad_r.c: Likewise.
1991 * inet/getnetbynm.c: Likewise.
1992 * inet/getnetbynm_r.c: Likewise.
1993 * inet/getnetent.c: Likewise.
1994 * inet/getnetent_r.c: Likewise.
1995 * inet/getproto.c: Likewise.
1996 * inet/getproto_r.c: Likewise.
1997 * inet/getprtent.c: Likewise.
1998 * inet/getprtent_r.c: Likewise.
1999 * inet/getprtname.c: Likewise.
2000 * inet/getprtname_r.c: Likewise.
2001 * inet/getrpcbyname.c: Likewise.
2002 * inet/getrpcbyname_r.c: Likewise.
2003 * inet/getrpcbynumber.c: Likewise.
2004 * inet/getrpcbynumber_r.c: Likewise.
2005 * inet/getrpcent.c: Likewise.
2006 * inet/getrpcent_r.c: Likewise.
2007 * inet/getaliasent.c: Likewise.
2008 * inet/getaliasent_r.c: Likewise.
2009 * inet/getaliasname.c: Likewise.
2010 * inet/getaliasname_r.c: Likewise.
2011 * nscd/getgrgid_r.c: Likewise.
2012 * nscd/getgrnam_r.c: Likewise.
2013 * nscd/gethstbyad_r.c: Likewise.
2014 * nscd/gethstbynm3_r.c: Likewise.
2015 * nscd/getpwnam_r.c: Likewise.
2016 * nscd/getpwuid_r.c: Likewise.
2017 * nscd/getsrvbynm_r.c: Likewise.
2018 * nscd/getsrvbypt_r.c: Likewise.
2019 * nscd/gai.c: Likewise.
2020
c53d909c
RM
2021 * configure.in (build_nscd): New substituted variable, set
2022 by --disable-build-nscd and defaults to $use_nscd.
2023 * configure: Regenerated.
2024 * config.make.in (build-nscd): New substituted variable.
2025 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2026 Change conditional to require [$(build-nscd) = yes] as well.
2027 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2028
3cc3ef96
RM
2029 [BZ# 13696]
2030 * configure.in (use_nscd): New substituted variable, set by
2031 --disable-nscd. If enabled, define USE_NSCD.
2032 * configure: Regenerated.
2033 * config.h.in: Add USE_NSCD.
2034 * config.make.in (use-nscd): New substituted variable.
2035 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2036 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2037 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2038 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2039 (CFLAGS-getgrnam_r.c): Likewise.
2040 (CFLAGS-initgroups.c): Likewise.
2041 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2042 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2043 Variables removed.
2044 * inet/getnetgrent_r.c
2045 (nscd_setnetgrent): New function, broken out of ...
2046 (setnetgrent): ... here. Call it.
2047 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2048 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2049 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2050 * nscd/Makefile (routines, aux): Move definitions after include of
2051 Makeconfig. Conditionalize on [$(use-nscd) != no].
2052 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2053 Conditionalize on [USE_NSCD].
2054 (is_nscd, nscd_init_cb): Likewise.
2055 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2056 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2057 * nss/nss_db/db-init.c: Likewise.
2058 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2059 [USE_NSCD].
2060 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2061 (make_request): Use it.
2062 (cache_valid_p): New function.
2063 (__check_pf): Use it.
2064 * NEWS: Add item for --disable-nscd.
2065
07e51550
DL
20662012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2067
2068 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2069 to support sed >= 4.2.1-20-ga9bf076.
2070 * configure: Regenerated.
2071
35a5b08b
RM
20722012-08-22 Roland McGrath <roland@hack.frob.com>
2073
2074 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2075 Conditionalize whole body on [IREL].
2076
8479f23a
JL
20772012-08-22 Jeff Law <law@redhat.com>
2078
2079 [BZ #14505]
2080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2081 if the family is PF_UNSPEC.
2082
48da0b21
MF
20832012-08-22 Mike Frysinger <vapier@gentoo.org>
2084
2085 * Makerules (lib-version): Rename from V.
2086 (install-lib-nosubdir): Change V to lib-version.
2087
15d0da8c
WS
20882012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2089
2090 [BZ #14252]
2091 * powerpc32/power6/wcschr.c: New file.
2092 * powerpc32/power6/wcscpy.c: New file.
2093 * powerpc32/power6/wcsrchr.c: New file.
2094 * powerpc64/power6/wcschr.c: New file.
2095 * powerpc64/power6/wcscpy.c: New file.
2096 * powerpc64/power6/wcsrchr.c: New file.
2097
bcca0895
MK
20982012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2099
2100 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2101 (two_way_short_needle): Use it.
5a4aaa33
RM
2102 * string/strstr.c (AVAILABLE1_USES_J): Define.
2103 * string/strcasestr.c: Likewise.
99677e57
MK
2104
2105 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2106 array references.
2107 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2108
400726de
MK
2109 [BZ #11607]
2110 * NEWS: Add an entry.
2111 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2112 define their defaults.
2113 (two_way_short_needle): Detect end-of-string on-the-fly.
2114 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2115 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2116 * string/bug-strcasestr1.c: New test.
2117 * string/Makefile: Run it.
2118
20a71f2c
MK
21192012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2120
2121 [BZ #11607]
2122 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2123 the first character.
2124
21ad0558
RM
21252012-08-21 Roland McGrath <roland@hack.frob.com>
2126
2127 * csu/elf-init.c (__libc_csu_irel): Function removed.
2128 * csu/libc-start.c (apply_irel): New function.
2129 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2130
0e1d9911
JM
21312012-08-21 Joseph Myers <joseph@codesourcery.com>
2132
2133 * sysdeps/unix/sysv/linux/kernel-features.h
2134 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2135 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2136 <kernel-features.h>.
2137 [__NR_fadvise64_64]: Make code unconditional.
2138 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2139 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2140 !__NR_fadvise64_64)]: Likewise.
2141 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2142 !__NR_fadvise64_64))]: Likewise.
2143 [__NR_fadvise64]: Make code unconditional.
2144 [!__NR_fadvise64]: Remove conditional code.
2145 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2146 <kernel-features.h>.
2147 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2148 unconditional.
2149 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2150 conditional code.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2152 not include <kernel-features.h>.
2153 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2154 unconditional.
2155 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2156 conditional code.
2157 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2158 include <kernel-features.h>.
2159 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2160 unconditional.
2161 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2162 conditional code.
2163
14a50c9d
WS
21642012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2165
2166 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2167 slight instruction rearrangements per scrollpipe analysis.
2168 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2169
c0f4faf0
RM
21702012-08-20 Roland McGrath <roland@hack.frob.com>
2171
696da859
RM
2172 * manual/syslog.texi (syslog; vsyslog, closelog):
2173 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2174 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2175
c0f4faf0
RM
2176 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2177 DSOCAPS to match condition on defining it.
2178
348363b2
JM
21792012-08-20 Joseph Myers <joseph@codesourcery.com>
2180
a35cbf28
JM
2181 * sysdeps/unix/sysv/linux/kernel-features.h
2182 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2184 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2185 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2187 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2188 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2190 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2191 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2192
445f7ecd
JM
2193 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2194 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2195
348363b2
JM
2196 * sysdeps/unix/sysv/linux/kernel-features.h
2197 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2198 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2199 unconditional.
2200 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2201 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2202 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2203 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2204 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2205 Make code unconditional.
2206 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2207 (__mmap64) [!__NR_mmap2]: Likewise.
2208 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2209 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2210 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2211 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2212 [__NR_mmap2]: Make code unconditional.
2213 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2214 (__mmap64) [!__NR_mmap2]: Likewise.
2215
bc5bc0e5
AK
22162012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2217
2218 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2219
88d506de
AJ
22202012-08-18 Andreas Jaeger <aj@suse.de>
2221
2222 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2223
493387d2
MF
22242012-08-18 Mike Frysinger <vapier@gentoo.org>
2225
2226 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2227 * include/unistd.h (__have_sock_cloexec): Likewise.
2228 (__have_pipe2): Likewise.
2229 (__have_dup3): Likewise.
2230
a277af22
MF
22312012-08-18 Mike Frysinger <vapier@gentoo.org>
2232
2233 [BZ #9685]
2234 * include/unistd.h (__have_pipe2): Change define into an extern int.
2235 (__have_dup3): Likewise.
2236 * socket/have_sock_cloexec.c: Include fcntl.h.
2237 (__have_pipe2): New variable.
2238 (__have_dup3): Likewise.
2239
fdab8fd3
MF
22402012-08-17 Mike Frysinger <vapier@gentoo.org>
2241
2242 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2243
31035e80
MP
22442012-08-17 Marek Polacek <polacek@redhat.com>
2245
2246 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2247 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2248
3bd9e993
RM
22492012-08-17 Roland McGrath <roland@hack.frob.com>
2250
c91c505f
RM
2251 * configure.in: Add AC_SUBST for sysheaders.
2252 * configure: Regenerated.
2253 * config.make.in (sysheaders): New substituted variable.
2254
7c6f9d53
RM
2255 * sysdeps/unix/mkfifo.c: Moved ...
2256 * sysdeps/posix/mkfifo.c: ... here.
2257 * sysdeps/unix/mkfifoat.c: Moved ...
2258 * sysdeps/posix/mkfifoat.c: ... here.
2259
2260 * sysdeps/unix/utime.c: Moved ...
2261 * sysdeps/posix/utime.c: ... here.
2262
2263 * sysdeps/unix/time.c: Moved ...
2264 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2265 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2266 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2267
2268 * sysdeps/unix/nice.c: Moved ...
2269 * sysdeps/posix/nice.c: ... here.
2270
2271 * sysdeps/unix/alarm.c: Moved ...
2272 * sysdeps/posix/alarm.c: ... here.
2273
3bd9e993
RM
2274 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2275
d1f09384
JL
22762012-08-17 Jeff Law <law@redhat.com>
2277
2278 * intl/Makefile (codeset_mo): New variable.
2279 ($(codeset_mo)): New target.
2280 (tst-codeset.out): Depend on that. Remove explicit rule.
2281 (tst-gettext3.out, tst-gettext5.out): Likewise.
2282 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2283 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2284 * intl/tst-codeset.sh: Remove.
2285 * intl/tst-gettext3.sh: Likewise.
2286 * intl/tst-gettext5.sh: Likewise.
2287
2ae1ae5c
RM
22882012-08-17 Roland McGrath <roland@hack.frob.com>
2289
c31fdb83
RM
2290 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2291 * sysdeps/unix/syscalls.list: ... here.
2292
a0844057
RM
2293 * sysdeps/posix/getaddrinfo.c
2294 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2295 (gaiconf_init, gaiconf_reload): Use them.
2296 [!_STATBUF_ST_NSEC]
2297 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2298 Define using time_t rather than struct timespec.
2299
750c1f2a
RM
2300 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2301 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2302 Macros removed.
2303 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2304 [!NO_THREADS].
2305 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2306 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2307 Likewise.
2308
2ae1ae5c
RM
2309 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2310 __libc_cleanup_push argument.
2311
e66a42f5
RM
2312 * bits/param.h: New file.
2313 * misc/sys/param.h: New file.
2314 * include/sys/param.h: New file.
2315 * misc/Makefile (headers): Add bits/param.h.
2316 * sysdeps/generic/sys/param.h: File removed.
2317 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2318 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2319 * sysdeps/mach/hurd/bits/param.h: New file.
2320 * sysdeps/mach/hurd/sys/param.h: New file.
2321
b7c08a66
RM
2322 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2323 last change.
2324
b2e1c562
RM
2325 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2326 [_IO_MTSAFE_IO].
2327 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2328 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2329 New macros.
2330
c75ccd4c
RM
2331 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2332 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2333 rather than -D_IO_MTSAFE_IO conditionally.
2334 * stdio-common/Makefile (CPPFLAGS): Likewise.
2335 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2336 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2337 Use $(libio-mtsafe).
2338 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2339 of -D_IO_MTSAFE_IO.
2340 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2341 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2342 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2343 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2344 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2345 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2346 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2347 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2348 (CFLAGS-fread_u_chk.c): Likewise.
2349 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2350 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2351 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2352 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2353 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2354 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2355 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2356 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2357 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2358
2359 * libio/Makefile: Test [$(libc-reentrant) = yes]
2360 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2361
2362 * Makeconfig
2363 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2364 * sysdeps/pthread/configure: File removed.
2365 * sysdeps/pthread/Makeconfig: New file.
2366 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2367 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2368
d9195db8
GB
23692012-08-16 Gary Benson <gbenson@redhat.com>
2370
2371 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2372 unmapping the first object in a namespace.
2373
86466cd9
RM
23742012-08-16 Roland McGrath <roland@hack.frob.com>
2375
2376 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2377 (__internal_setnetgrent): ... this. Add internal_function to
2378 definition. Add libc_hidden_def.
2379 (setnetgrent): Update caller.
2380 (internal_endnetgrent): Renamed to ...
2381 (__internal_endnetgrent): ... this. Add internal_function to
2382 definition. Add libc_hidden_def.
2383 (endnetgrent): Update caller.
2384 (internal_getnetgrent_r): Renamed to ...
2385 (__internal_getnetgrent_r): ... this. Add internal_function to
2386 definition. Add libc_hidden_def.
2387 (__getnetgrent_r): Update caller.
2388 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2389
c3c8283c
JM
23902012-08-16 Joseph Myers <joseph@codesourcery.com>
2391
2392 * stdlib/longlong.h: Update from GCC.
2393
db1ee0a8
RM
23942012-08-16 Roland McGrath <roland@hack.frob.com>
2395
2396 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2397 on _QL, which is set by umul_ppmm but never used.
2398 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2399 variables, which are set by GMP macros but never used.
2400 * stdio-common/_itowa.c (_itowa): Likewise.
2401 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2402 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2403
30f69637
CD
24042012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2405
2406 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2407 struct La_sh_regs is not constant.
2408 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2409 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2410 and struct La_sparc64_regs are not constant.
2411
93a78ac4
JM
24122012-08-16 Joseph Myers <joseph@codesourcery.com>
2413
2414 * sysdeps/unix/sysv/linux/kernel-features.h
2415 (__ASSUME_POSIX_TIMERS): Remove.
2416 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2417 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2418 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2419 Make code unconditional.
2420 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2421 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2422 Make code unconditional.
2423 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2424 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2425 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2426 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2427 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2428 Make code unconditional.
2429 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2430 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2431 (__libc_missing_posix_timers): Remove.
2432
dd924cd7
RM
24332012-08-15 Roland McGrath <roland@hack.frob.com>
2434
4b4f2771
RM
2435 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2436 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2437
601c888b
RM
2438 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2439
176790a7
RM
2440 * elf/dl-sym.c: Include <stdlib.h>.
2441
329bc018
RM
2442 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2443 constants, which avoids warnings in 32-bit builds.
2444
e04e272d
RM
2445 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2446 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2447
952bf94a
RM
2448 * misc/lseek.c: File moved to ...
2449 * io/lseek.c: ... here.
2450
7c99b50a
RM
2451 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2452
dd924cd7
RM
2453 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2454 shifting LEN more than 31 bits at once.
2455
b3f479a8
LD
24562012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2457
2458 [BZ #14195]
8c4ae0d4
RM
2459 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2460 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2461 * string/test-strncasecmp.c (check1): Renamed to...
2462 (bz12205): ...this.
2463 (bz14195): Add new testcase for two empty input strings and N > 0.
2464 (test_main): Call new testcase, adapt for renamed function.
2465
9c55864e
AJ
24662012-08-15 Andreas Jaeger <aj@suse.de>
2467
2468 [BZ #14090]
2469 * crypt/md5test2.c: New test, based on test supplied by Serge
2470 Belyshev <belyshev@depni.sinp.msu.ru>.
2471 * crypt/Makefile (xtests): Add md5test-giant..
2472 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2473
02dcb6c5
PE
24742012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2475
2476 [BZ #14090]
2477 * crypt/md5.c (md5_process_block): Don't assume the buffer
2478 length is less than 2**32.
2479 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2480 length is less than 2**64.
2481
a3f95dcc
RM
24822012-08-15 Roland McGrath <roland@hack.frob.com>
2483
be75d758
RM
2484 * string/str-two-way.h: Include <sys/param.h>.
2485 (MAX): Macro removed.
2486
7312ca90
RM
2487 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2488 Move #define and #undef of memmove to just before and after
2489 including <string.h>.
2490
9a0a5486
RM
2491 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2492 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2493 and after including <string.h>. Move declarations of
2494 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2495 to before #include "string/memmove.c".
2496
67cc348d
RM
2497 * include/dirent.h: Declare __getdirentries.
2498
a3f95dcc
RM
2499 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2500 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2501
ca98e171
MF
25022012-08-14 Mike Frysinger <vapier@gentoo.org>
2503
2504 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2505 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2506 * sysdeps/i386/configure: Regenerated.
2507 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2508 STABS_CURRENT_FILE, and STABS_FUN.
2509 (END): Remove call to STABS_FUN_END.
2510 (STABS_CURRENT_FILE1): Delete.
2511 (STABS_CURRENT_FILE): Likewise.
2512 (STABS_FUN): Likewise.
2513 (STABS_FUN_END): Likewise.
2514 (STABS_FUN2): Likewise.
2515 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2516 * sysdeps/x86_64/configure: Regenerated.
2517
5908bf46
RM
25182012-08-14 Roland McGrath <roland@hack.frob.com>
2519
2520 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2521 * elf/dl-lookup.c: Likewise.
5908bf46 2522
f2c05b9e
JM
25232012-08-14 Joseph Myers <joseph@codesourcery.com>
2524
2525 * sysdeps/unix/sysv/linux/kernel-features.h
2526 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2527 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2528 unconditionally.
2529 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2530 unconditionally.
2531 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2532 condition on __ASSUME_CLONE_THREAD_FLAGS.
2533
e11f5155
AJ
25342012-08-14 Andreas Jaeger <aj@suse.de>
2535
2536 * sysdeps/i386/fpu/libm-test-ulps: Update.
2537
51a9ba86
MK
25382012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2539
2fdd4f78
AJ
2540 * include/atomic.h (atomic_exchange_and_add): Split into ...
2541 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2542 New atomic macros.
51a9ba86 2543
ba6cba9e
MT
25442012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2545
2546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2547
42443a47
JL
25482012-08-13 Jeff Law <law@redhat.com>
2549
2550 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2551 null byte in the output string.
2552
121dce05
JM
25532012-08-10 Joseph Myers <joseph@codesourcery.com>
2554
2555 * sysdeps/unix/sysv/linux/kernel-features.h
2556 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2557 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2558 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2559 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2560 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2561 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2562 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2563
bf51f568
JL
25642012-08-09 Jeff Law <law@redhat.com>
2565
2566 [BZ #13939]
2567 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2568 When avoid_arena is set, don't retry in the that arena. Pick the
2569 next one, whatever it might be.
2570 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2571 (arena_lock): Pass in new parameter to arena_get2.
2572 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2573 arena_get2.
2574 (__libc_malloc): Unify retrying after main arena failure with
2575 __libc_memalign version.
2576 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2577
f85fa270
L
25782012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2579
2580 [BZ #14166]
2581 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2582 to __redirect_strstr.
2583 (__strstr_sse42): Use typeof __redirect_strstr.
2584 (__strstr_ia32): Likewise.
2585 (__libc_strstr): New prototype.
2586 (strstr): Renamed to ...
2587 (__libc_strstr): This.
2588 (strstr): New strong alias of __libc_strstr.
2589 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2590 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2591 __redirect_time.
2592 Include <time.h>.
2593 (__libc_time): New prototype.
2594 (time_ifunc): Replace time with __libc_time.
2595 (time): New strong alias and hidden definition of __libc_time.
2596 (__GI_time): Remove strong alias.
2597 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2598 Include <stddef.h>.
2599 (memmove): Redefined to __redirect_memmove.
2600 (__memmove_sse2): Use typeof __redirect_memmove.
2601 (__memmove_ssse3): Likewise.
2602 (__memmove_ssse3_back): Likewise.
2603 (__libc_memmove): New prototype.
2604 (memmove): Renamed to ...
2605 (__libc_memmove): This.
2606 (memmove): New strong alias of __libc_memmove.
2607
33b4a91e
MS
26082012-08-08 Mark Salter <msalter@redhat.com>
2609
2610 * elf/elf.h
2611 (R_MN10300_TLS_GD): Define.
2612 (R_MN10300_TLS_LD): Likewise.
2613 (R_MN10300_TLS_LDO): Likewise.
2614 (R_MN10300_TLS_GOTIE): Likewise.
2615 (R_MN10300_TLS_IE): Likewise.
2616 (R_MN10300_TLS_LE): Likewise.
2617 (R_MN10300_TLS_DTPMOD): Likewise.
2618 (R_MN10300_TLS_DTPOFF): Likewise.
2619 (R_MN10300_TLS_TPOFF): Likewise.
2620 (R_MN10300_SYM_DIFF): Likewise.
2621 (R_MN10300_ALIGN): Likewise.
2622 (R_MN10300_NUM): Update.
2623
b36137f1
JM
26242012-08-08 Joseph Myers <joseph@codesourcery.com>
2625
2626 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2627 Remove.
2628
cdd915fd
RM
26292012-08-08 Roland McGrath <roland@hack.frob.com>
2630
a2433aac
RM
2631 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2632
cdd915fd
RM
2633 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2634 sysdeps/unix -> sysdeps/posix move.
2635 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2636
bf9b740a
AM
26372012-08-07 Allan McRae <allan@archlinux.org>
2638
2639 [BZ #14303]
2640 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2641 (SUNOS_CPP): Likewise.
2642 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2643 not found.
2644 (open_input): Call CPP using execvp.
2645
93df14ee
JM
26462012-08-07 Joseph Myers <joseph@codesourcery.com>
2647
2648 * sysdeps/unix/sysv/linux/kernel-features.h
2649 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2650 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2651 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2652 (__ASSUME_WAITID_SYSCALL): Likewise.
2653 * sysdeps/unix/sysv/linux/dl-execstack.c
2654 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2655 code unconditional.
2656 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2657 conditional code.
2658 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2659 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2660 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2661 code.
2662 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2663 unconditional.
2664 [__ASSUME_WAITID_SYSCALL]: Likewise.
2665 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2666
d34689de
RM
26672012-08-07 Roland McGrath <roland@hack.frob.com>
2668
a281decc
RM
2669 * sysdeps/unix/closedir.c: Renamed to ...
2670 * sysdeps/posix/closedir.c: ... here.
2671 * sysdeps/unix/dirfd.c: Renamed to ...
2672 * sysdeps/posix/dirfd.c: ... here.
2673 * sysdeps/unix/dirstream.h: Renamed to ...
2674 * sysdeps/posix/dirstream.h: ... here.
2675 * sysdeps/unix/fdopendir.c: Renamed to ...
2676 * sysdeps/posix/fdopendir.c: ... here.
2677 * sysdeps/unix/opendir.c: Renamed to ...
2678 * sysdeps/posix/opendir.c: ... here.
2679 * sysdeps/unix/readdir.c: Renamed to ...
2680 * sysdeps/posix/readdir.c: ... here.
2681 * sysdeps/unix/readdir_r.c: Renamed to ...
2682 * sysdeps/posix/readdir_r.c: ... here.
2683 * sysdeps/unix/rewinddir.c: Renamed to ...
2684 * sysdeps/posix/rewinddir.c: ... here.
2685 * sysdeps/unix/seekdir.c: Renamed to ...
2686 * sysdeps/posix/seekdir.c: ... here.
2687 * sysdeps/unix/telldir.c: Renamed to ...
2688 * sysdeps/posix/telldir.c: ... here.
2689 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2690 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2691 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2692 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2693
22895b47
RM
2694 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2695 * bits/fcntl.h: ... here.
2696
707a53b6
RM
2697 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2698 not 0.
2699 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2700 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2701 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2702 (struct flock): Move l_start, l_len to the beginning.
2703 Use __pid_t for l_pid.
2704 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2705 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2706 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2707 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2708 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2709 [__USE_LARGEFILE64] (struct flock64): New type.
2710 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2711
f0bd3e25
RM
2712 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2713 * bits/dirent.h: ... here.
2714
d34689de
RM
2715 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2716 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2717
6dad2c06
JM
27182012-08-07 Joseph Myers <joseph@codesourcery.com>
2719
2720 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2721 Change from 2.6.0 to 2.6.16.
2722 * sysdeps/unix/sysv/linux/configure: Regenerated.
2723 * sysdeps/unix/sysv/linux/kernel-features.h
2724 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2725 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2726 version.
2727 (__ASSUME_UTIMES): Likewise.
2728 (__ASSUME_CLONE_STOPPED): Remove.
2729 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2730 architectures, not kernel version.
2731 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2732 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2733 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2734 (__ASSUME_WAITID_SYSCALL): Likewise.
2735 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2736 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2737 * README: State 2.6.16 as minimum Linux kernel version. Do not
2738 refer to older versions.
2739
03af9520
RM
27402012-08-06 Roland McGrath <roland@hack.frob.com>
2741
8e49df1d
RM
2742 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2743 Define alphasort64 as an alias.
2744 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2745 Define versionsort64 as an alias.
2746 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2747 Define scandir64 as an alias.
2748 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2749 Define scandirat64 as an alias.
2750 * dirent/alphasort64.c (alphasort64):
2751 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2752 * dirent/versionsort64.c: Likewise.
2753 * dirent/scandir64.c: Likewise.
2754 * dirent/scandirat64.c: Likewise.
2755 * sysdeps/wordsize-64/alphasort.c: File removed.
2756 * sysdeps/wordsize-64/alphasort64.c: File removed.
2757 * sysdeps/wordsize-64/scandir.c: File removed.
2758 * sysdeps/wordsize-64/scandir64.c: File removed.
2759 * sysdeps/wordsize-64/scandirat.c: File removed.
2760 * sysdeps/wordsize-64/scandirat64.c: File removed.
2761 * sysdeps/wordsize-64/versionsort.c: File removed.
2762 * sysdeps/wordsize-64/versionsort64.c: File removed.
2763 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2764 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2765 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2766 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2767 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2768 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2769 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2770 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2771
2772 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2773 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2774 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2775 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2776 [defined __arch64__ || defined __sparcv9]
2777 (__INO_T_MATCHES_INO64_T): New macro.
2778 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2779 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2780 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2781 * sysdeps/unix/sysv/linux/bits/dirent.h
2782 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2783 (_DIRENT_MATCHES_DIRENT64): New macro.
2784
03af9520
RM
2785 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2786 Define lockf64 as an alias.
2787 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2788 Define fseeko64 as an alias.
2789 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2790 Define ftello64 as an alias.
2791 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2792 Define _IO_fgetpos64 and fgetpos64 as aliases.
2793 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2794 Define _IO_fsetpos64 and fsetpos64 as aliases.
2795 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2796 Conditionalize body on this.
2797 * libio/fseeko64.c: Likewise.
2798 * libio/ftello64.c: Likewise.
2799 * libio/iofgetpos64.c: Likewise.
2800 * libio/iofsetpos64.c: Likewise.
2801 * sysdeps/wordsize-64/lockf.c: File removed.
2802 * sysdeps/wordsize-64/lockf64.c: File removed.
2803 * sysdeps/wordsize-64/fseeko.c: File removed.
2804 * sysdeps/wordsize-64/fseeko64.c: File removed.
2805 * sysdeps/wordsize-64/ftello.c: File removed.
2806 * sysdeps/wordsize-64/ftello64.c: File removed.
2807 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2808 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2809 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2810 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2811 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2812 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2813 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2814 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2815 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2816 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2817 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2818 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2819 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2820 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2821
2822 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2823 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2824 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2825 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2826 [defined __arch64__ || defined __sparcv9]
2827 (__OFF_T_MATCHES_OFF64_T): New macro.
2828 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2829 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2831 (__OFF_T_MATCHES_OFF64_T): New macro.
2832
c5757acd
L
28332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2834
2835 * stdlib/secure-getenv.c (__secure_getenv): Replace
2836 GLIBC_2_16 with GLIBC_2_17.
2837
3a31811e
L
28382012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2839
2840 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2841 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2842
faa2bccb
DM
28432012-08-03 David S. Miller <davem@davemloft.net>
2844
2845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2846
85fe1997
JM
28472012-08-03 Joseph Myers <joseph@codesourcery.com>
2848
2849 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2850 Remove.
2851 (__ASSUME_CORRECT_SI_PID): Likewise.
2852 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2853 (__ASSUME_TMPFS_NAME): Likewise.
2854 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2855 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2856 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2857 (HAVE_AUX_SECURE): Make definition unconditional.
2858 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2859 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2860
4f75b7a0
RM
28612012-08-03 Roland McGrath <roland@hack.frob.com>
2862
2863 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2864 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2865 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2866 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2867 __eloop_threshold instead of SYMLOOP_MAX.
2868
2869 * sysdeps/generic/eloop-threshold.h: New file.
2870 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2871 of MAXSYMLINKS.
2872 * elf/chroot_canon.c (chroot_canon): Likewise.
2873
7aab07e4
JM
28742012-08-03 Joseph Myers <joseph@codesourcery.com>
2875
2876 [BZ #13717]
2877 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2878 Change to 2.6.0 everywhere.
2879 * sysdeps/unix/sysv/linux/configure: Regenerated.
2880 * sysdeps/unix/sysv/linux/kernel-features.h
2881 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2882 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2883 kernel versions.
2884 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2885 (__ASSUME_FUTEX_REQUEUE): Remove.
2886 (__ASSUME_STATFS64): Define unconditionally.
2887 (__ASSUME_AT_SECURE): Likewise.
2888 (__ASSUME_CORRECT_SI_PID): Likewise.
2889 (__ASSUME_TGKILL): Define without depending on kernel version for
2890 i386.
2891 (__ASSUME_UTIMES): Likewise.
2892 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2893 kernel version.
2894 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2895 (__ASSUME_TMPFS_NAME): Likewise.
2896 * README: Update reference to Linux kernel versions.
2897
b67e9372
MP
28982012-08-02 Marek Polacek <polacek@redhat.com>
2899
1f529f7d 2900 [BZ# 14150]
b67e9372
MP
2901 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2902 libc_cv_asm_type_prefix with %.
2903 * configure: Regenerated.
d2441631
RM
2904 * include/libc-symbols.h: Remove comment about
2905 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2906 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2907 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2908 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2909 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2910 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2911 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2912 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2913 * elf/tst-unique2mod1.c: Likewise.
2914 * elf/tst-unique1mod2.c: Likewise.
2915 * elf/tst-unique1mod1.c: Likewise.
2916 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2917 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2918 Replace ASM_TYPE_DIRECTIVE with .type.
2919 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2920 * sysdeps/i386/sysdep.h: Likewise.
2921 * sysdeps/x86_64/sysdep.h: Likewise.
2922 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2924 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2925 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2926 * sysdeps/powerpc/powerpc32/sysdep.h:
2927 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2928 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2929 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2930 * sysdeps/i386/fpu/e_powf.S: Likewise.
2931 * sysdeps/i386/fpu/e_expl.S: Likewise.
2932 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2933 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2934 * sysdeps/i386/fpu/e_pow.S: Likewise.
2935 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2936 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2937 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2938 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2939 * sysdeps/i386/fpu/e_log2.S: Likewise.
2940 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2941 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2942 * sysdeps/i386/fpu/e_powl.S: Likewise.
2943 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2944 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2945 * sysdeps/i386/fpu/e_logl.S: Likewise.
2946 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2947 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2948 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2949 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2950 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2951 * sysdeps/i386/fpu/e_log.S: Likewise.
2952 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2953 * sysdeps/i386/fpu/e_logf.S: Likewise.
2954 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2955 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2956 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2957 * sysdeps/i386/fpu/e_log10.S: Likewise.
2958 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2959 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2960 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2961 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2962 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2963 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2964 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2965 * sysdeps/i386/i686/strtok.S: Likewise.
2966 * sysdeps/i386/i386-mcount.S: Likewise.
2967 * sysdeps/i386/strtok.S: Likewise.
2968 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2969 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2970 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2971 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2972 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2973 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2974 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2975 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2976 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2977 * sysdeps/x86_64/_mcount.S: Likewise.
2978 * sysdeps/x86_64/strtok.S: Likewise.
2979 * sysdeps/sh/_mcount.S: Likewise.
2980
2747bf9a
RM
29812012-08-01 Roland McGrath <roland@hack.frob.com>
2982
2983 * libio/iofopen.c: Include <fcntl.h>.
2984 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2985 (_IO_fopen64, fopen64): Define as aliases.
2986 * libio/iofopen64.c: Include <fcntl.h>.
2987 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2988 Conditionalize body on this.
2989 * sysdeps/wordsize-64/iofopen.c: File removed.
2990 * sysdeps/wordsize-64/iofopen64.c: File removed.
2991
3fb791b8
MP
29922012-08-01 Marek Polacek <polacek@redhat.com>
2993
2994 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2995 Use dlfcn directly instead of a variable.
2996 (binfmt-subdir): Do not define.
2997 (dlfcn): Likewise.
2998
a9f1039f
JM
29992012-08-01 Joseph Myers <joseph@codesourcery.com>
3000
23bddc06
JM
3001 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3002 Remove all definitions.
3003 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3004 <kernel-features.h>.
3005 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3006 (miss_F_GETOWN_EX): Remove all definitions.
3007 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3008 macro definition.
3009 [!__ASSUME_FCNTL64]: Remove conditional code.
3010 [__ASSUME_FCNTL64]: Make code unconditional.
3011 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3012 <kernel-features.h>.
3013 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3014 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3015 (lockf64) [__NR_fcntl64]: Make code unconditional.
3016 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3017
a9f1039f
JM
3018 * sysdeps/unix/sysv/linux/kernel-features.h
3019 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3020 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3021 Make code unconditional.
3022 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3023 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3025 [__NR_vfork]: Make code unconditional.
3026 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3027 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3029 [__NR_vfork]: Make code unconditional.
3030 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3031 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3032
09c0ee5f
RM
30332012-08-01 Roland McGrath <roland@hack.frob.com>
3034
48aec5b9
RM
3035 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3036 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3037
cd97c966
RM
3038 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3039 Define mkstemp64 as an alias.
3f55550c
RM
3040 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3041 Define mkstemps64 as an alias.
cd97c966
RM
3042 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3043 Define mkostemp64 as an alias.
b8625cfc
RM
3044 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3045 Define mkostemps64 as an alias.
cd97c966
RM
3046 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3047 Conditionalize body on this.
3048 * misc/mkostemp64.c: Likewise.
b8625cfc 3049 * misc/mkostemps64.c: Likewise.
3f55550c 3050 * misc/mkstemps64.c: Likewise.
cd97c966
RM
3051 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3052 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3053 * sysdeps/wordsize-64/mkostemp.c: File removed.
3054 * sysdeps/wordsize-64/mkstemp.c: File removed.
3055 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3056 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3057 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3058 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3059
09c0ee5f
RM
3060 [BZ #14138]
3061 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3062 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3063 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3064 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3065
3066 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3067 compat_symbol macros from <shlib-compat.h> rather than the underlying
3068 default_symbol_version and symbol_version macros, so that DEFAULT
3069 lines in shlib-versions are respected.
3070 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3071
7e66ee51
FW
30722012-08-01 Florian Weimer <fweimer@redhat.com>
3073
3074 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3075 Declare with warn_unused_result.
3076 (setgid, setregid, setegid, setresgid): Likewise.
3077 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3078 Likewise.
3079 * WUR-REPORT: Remove set*id functions.
3080
d2a54255
PT
30812012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3082
3083 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3084
7ecdb005
RM
30852012-07-31 Roland McGrath <roland@hack.frob.com>
3086
789bd351
RM
3087 * include/sys/socket.h (__libc_accept, __libc_accept4):
3088 Add attribute_hidden.
3089 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3090
40ce302d
RM
3091 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3092 use of PTR_MANGLE.
3093 * inet/getnetgrent_r.c (setup): Likewise.
3094
7ecdb005
RM
3095 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3096
e2eabb2c
DM
30972012-07-31 David S. Miller <davem@davemloft.net>
3098
3099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3100
d0419dbf
JM
31012012-07-31 Joseph Myers <joseph@codesourcery.com>
3102
3103 [BZ #13629]
3104 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3105 value between 1.0 and 2.0 and smaller part has absolute value less
3106 than 1.0.
3107 * math/s_clog10.c (__clog10): Likewise.
3108 * math/s_clog10f.c (__clog10f): Likewise.
3109 * math/s_clog10l.c (__clog10l): Likewise.
3110 * math/s_clogf.c (__clogf): Likewise.
3111 * math/s_clogl.c (__clogl): Likewise.
3112 * math/libm-test.inc (clog_test): Add more tests.
3113 (clog10_test): Likewise.
3114 * sysdeps/i386/fpu/libm-test-ulps: Update.
3115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3116
2bc13872
FW
31172012-07-31 Florian Weimer <fweimer@redhat.com>
3118
3119 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3120 Exit with zero in case no suitable GID is found, and write a
3121 message to standard error.
3122
bea9b193
RM
31232012-07-30 Roland McGrath <roland@hack.frob.com>
3124
3125 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3126 rather than to 1.
3127 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3128 (MAXPATHLEN): Removed.
3129 (NOGROUP, NODEV): New macros.
3130 (setbit, clrbit, isset, isclr): New macros.
3131 (howmany, roundup, powerof2): New macros.
3132 (DEV_BSIZE): New macro.
3133
3134 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3135 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3136
3137 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3138 definition on [!__NO_LONG_DOUBLE_MATH].
3139
3140 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3141 PTR_MANGLE and PTR_DEMANGLE.
3142
3143 * socket/accept4.c (accept4): Rename to __libc_accept4.
3144 Define accept4 as a weak alias.
3145
3146 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3147 on [_DIRENT_HAVE_D_TYPE].
3148 * io/ftw.c (ftw_dir): Likewise.
3149
3150 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3151
3152 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3153
3154 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3155 Use the BSD numbers rather than the arbitrary ones we had.
3156 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3157 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3158 (SIGXCPU, SIGXFSZ): New macros.
3159 (_NSIG): Now 32.
3160
3161 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3162 initializer on [_LIBC_REENTRANT].
3163
3164 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3165 definitions inside [_POSIX_MAPPED_FILES].
3166
3167 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3168
3169 * dirent/opendir.c: Include <fcntl.h>.
3170
3171 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3172 (__libc_getspecific): Likewise.
3173 (__libc_key_create): Likewise.
3174
3175 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3176 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3177 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3178 (tmpfile64): Define as alias.
3179 * sysdeps/wordsize-64/tmpfile.c: File removed.
3180 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3181 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3182 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3183
3184 * stdio-common/vfscanf.c: Include <stdbool.h>.
3185 * nss/makedb.c: Likewise.
3186 * stdio-common/_i18n_number.h: Likewise.
3187 * argp/argp-help.c: Likewise.
3188 * posix/wordexp.c: Likewise.
3189 * sysdeps/posix/spawni.c: Likewise.
3190 * nss/nss_files/files-initgroups.c: Likewise.
3191 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3192 * nss/nss_files/files-initgroups.c: Likewise.
3193 * nss/nss_db/db-netgrp.c: Likewise.
3194 * nss/nss_db/db-initgroups.c: Likewise.
3195 * io/fchmodat.c: Include <sys/stat.h>.
3196
3197 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3198 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3199
3200 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3201 [HAVE_MMAP].
3202
3203 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3204 Add multiple inclusion protection.
3205
e5abc686
DM
32062012-07-27 David S. Miller <davem@davemloft.net>
3207
3208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3209
815e6fa3
GB
32102012-07-27 Gary Benson <gbenson@redhat.com>
3211
3212 [BZ #14298]
3213 * elf/rtld.c: Include <stap-probe.h>.
3214 (dl_main): Added static probes "init_start" and "init_complete".
3215 * elf/dl-load.c: Include <stap-probe.h>.
3216 (lose): Take new parameter "nsid".
3217 Added static probe "map_failed".
3218 (_dl_map_object_from_fd): Pass namespace id to lose.
3219 Added static probe "map_start".
3220 (open_verify): Pass namespace id to lose.
3221 * elf/dl-open.c: Include <stap-probe.h>.
3222 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3223 and "reloc_complete".
3224 * elf/dl-close.c: Include <stap-probe.h>.
3225 (_dl_close_worker): Added static probes "unmap_start" and
3226 "unmap_complete".
3227 * elf/rtld-debugger-interface.txt: New file documenting the above.
3228
9f98c16c
RM
32292012-07-26 Roland McGrath <roland@hack.frob.com>
3230
3231 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3232 rather than a string variable.
3233 * sunrpc/rpc_main.c (h_output): Likewise.
3234 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3235
f3c22df3
PT
32362012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3237
3238 * inet/check_native.c: New file.
3239
3129cfc6
JM
32402012-07-26 Joseph Myers <joseph@codesourcery.com>
3241
da865e95
JM
3242 [BZ #13629]
3243 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3244 if larger part has absolute value 1.0.
3245 * math/s_clog10.c (__clog10): Likewise.
3246 * math/s_clog10f.c (__clog10f): Likewise.
3247 * math/s_clog10l.c (__clog10l): Likewise.
3248 * math/s_clogf.c (__clogf): Likewise.
3249 * math/s_clogl.c (__clogl): Likewise.
3250 * math/libm-test.inc (clog_test): Add more tests.
3251 (clog10_test): Likewise.
3252 * sysdeps/i386/fpu/libm-test-ulps: Update.
3253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3254
3129cfc6
JM
3255 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3256 (pltexit): Likewise.
3257 (La_regs): Likewise.
3258 (La_retval): Likewise.
3259 (int_retval): Likewise.
3260 Update #error for removed macros to refer only to definitions in
3261 tst-audit.h.
3262 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3263 macro.
3264 (pltexit): Likewise.
3265 (La_regs): Likewise.
3266 (La_retval): Likewise.
3267 (int_retval): Likewise.
3268 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3269 macro.
3270 (pltexit): Likewise.
3271 (La_regs): Likewise.
3272 (La_retval): Likewise.
3273 (int_retval): Likewise.
3274 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3275 macro.
3276 (pltexit): Likewise.
3277 (La_regs): Likewise.
3278 (La_retval): Likewise.
3279 (int_retval): Likewise.
3280 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3281 macro.
3282 (pltexit): Likewise.
3283 (La_regs): Likewise.
3284 (La_retval): Likewise.
3285 (int_retval): Likewise.
3286 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3287 macro.
3288 (pltexit): Likewise.
3289 (La_regs): Likewise.
3290 (La_retval): Likewise.
3291 (int_retval): Likewise.
3292 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3293 macro.
3294 (pltexit): Likewise.
3295 (La_regs): Likewise.
3296 (La_retval): Likewise.
3297 (int_retval): Likewise.
3298 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3299 macro definitions in tst-audit.h.
3300 * sysdeps/i386/tst-audit.h: New file.
3301 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3302 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3303 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3304 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3305 * sysdeps/sh/tst-audit.h: Likewise.
3306 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3307 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3308 * sysdeps/x86_64/tst-audit.h: Likewise.
3309
bfc07087
AJ
33102012-07-26 Andreas Jaeger <aj@suse.de>
3311
b1b2aaf8
AJ
3312 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3313 ptrace.
3314
3315 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3316 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3317 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3318 PTRACE_O_MASK.
3319 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3320 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3321 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3322
bfc07087
AJ
3323 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3324 value.
3325
3326 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3327 _sigsys.
3328 (si_call_addr, si_syscall, si_arch): Define new macro.
3329 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3330 _sigsys.
3331 (si_call_addr, si_syscall, si_arch): Define new marcro.
3332 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3333 _sigsys.
3334 (si_call_addr, si_syscall, si_arch): Define new macro.
3335 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3336 _sigsys.
3337 (si_call_addr, si_syscall, si_arch): Define new macro.
3338
89b4b02f
JM
33392012-07-25 Joseph Myers <joseph@codesourcery.com>
3340
3341 [BZ #13717]
3342 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3343 Change to 2.4.21 where previously 2.4.1.
3344 * sysdeps/unix/sysv/linux/configure: Regenerated.
3345 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3346 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3347 Linux kernel version.
3348 (__ASSUME_STD_AUXV): Remove.
3349 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3350 kernel version.
3351 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3352 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3353 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3354 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3355 (__ASSUME_NETLINK_SUPPORT): Likewise.
3356 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3357 (__no_netlink_support): Remove conditional definition.
3358 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3359 Remove.
3360 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3361 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3362 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3363 (if_nameindex_ioctl): Remove.
3364 (if_nameindex_netlink): Do not handle __no_netlink_support.
3365 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3366 code.
3367 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3368 Remove conditional code.
3369 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3370 code.
3371 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3372 unconditional.
3373 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3374 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3375 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3376 Remove.
3377 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3378 [!__ASSUME_STD_AUXV]: Remove conditional code.
3379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3380 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3381 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3383 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3384 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3385 code.
3386 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3388 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3389 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3390 conditional code.
3391 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3393 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3394 code.
3395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3396 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3397 conditional code.
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3399 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3400 code unconditional.
3401 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3402 conditional code.
3403 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3404 unconditional.
3405 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3406 conditional code.
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3408 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3409 unconditional.
3410 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3411 conditional code.
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3413 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3414 code unconditional.
3415 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3416 conditional code.
3417 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3418 unconditional.
3419 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3420 conditional code.
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3422 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3423 code unconditional.
3424 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3425 conditional code.
3426 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3427 unconditional.
3428 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3429 conditional code.
3430
842a39cd
AS
34312012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3432
3433 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3434 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3435 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3436 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3437 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3438 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3439 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3440 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3441 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3442 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3443 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3444 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3445 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3446 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3447 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3448 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3449 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3450 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3451 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3453 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3454 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3455 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3456
84b3fd84
FW
34572012-07-25 Florian Weimer <fweimer@redhat.com>
3458
3459 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3460 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3461 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3462 Introduce __libc_secure_getenv.
0c7936d5
FW
3463 * stdlib/Versions (2.17): Add secure_getenv
3464 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3465 * stdlib/secure-getenv.c: Rename __secure_getenv to
3466 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3467 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3468 * stdlib/tst-secure-getenv.c: New.
3469 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3470 * manual/startup.texi (Environment Access): Document
3471 secure_getenv.
84b3fd84
FW
3472 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3473 __libc_secure_getenv.
3474 * inet/ruserpass.c (ruserpass): Likewise.
3475 * malloc/mtrace.c (mtrace): Likewise.
3476 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3477 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3478 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3479 * sysdeps/posix/tempname.c: Likewise. Evaluate
3480 HAVE_SECURE_GETENV.
3481 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3482 __secure_getenv to __libc_secure_getenv.
84b3fd84 3483 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3485 Likewise.
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3487 Likewise.
3488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3490 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3495
56e49b71
JM
34962012-07-25 Joseph Myers <joseph@codesourcery.com>
3497
3498 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3499 (struct La_i86_retval): Likewise.
3500 (struct La_x86_64_regs): Likewise.
3501 (struct La_x86_64_retval): Likewise.
3502 (struct La_x32_regs): Likewise.
3503 (struct La_x32_retval): Likewise.
3504 (struct La_ppc32_regs): Likewise.
3505 (struct La_ppc32_retval): Likewise.
3506 (struct La_ppc64_regs): Likewise.
3507 (struct La_ppc64_retval): Likewise.
3508 (struct La_sh_regs): Likewise.
3509 (struct La_sh_retval): Likewise.
3510 (struct La_s390_32_regs): Likewise.
3511 (struct La_s390_32_retval): Likewise.
3512 (struct La_s390_64_regs): Likewise.
3513 (struct La_s390_64_retval): Likewise.
3514 (struct La_sparc32_regs): Likewise.
3515 (struct La_sparc32_retval): Likewise.
3516 (struct La_sparc64_regs): Likewise.
3517 (struct La_sparc64_retval): Likewise.
3518 (struct audit_ifaces): Remove architecture-specific pltenter and
3519 pltexit members.
3520 * sysdeps/i386/ldsodefs.h: New file.
3521 * sysdeps/powerpc/ldsodefs.h: Likewise.
3522 * sysdeps/s390/ldsodefs.h: Likewise.
3523 * sysdeps/sh/ldsodefs.h: Likewise.
3524 * sysdeps/sparc/ldsodefs.h: Likewise.
3525 * sysdeps/x86_64/ldsodefs.h: Likewise.
3526
354691b7
MP
35272012-07-25 Marek Polacek <polacek@redhat.com>
3528
3529 [BZ #6808]
3530 * math/libm-test.inc (yn_test): Add another test.
3531 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3532 to ERANGE when the result is +-Inf.
3533 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3534 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3535 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3536 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3537
bf9e2071
JM
35382012-07-24 Joseph Myers <joseph@codesourcery.com>
3539
3540 * conform/data/time.h-data (NULL): Use macro-constant. Require
3541 equal to 0.
3542 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3543 clock_t.
3544 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3545
57633811
TS
35462012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3547
3548 * configure.in <sysdeps resolving>: Correct printing
3549 Implies_before.
3550 * configure: Regenerate.
3551
c23c33b0
TS
35522012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3553
3554 * math/w_ilogb.c: Include <limits.h>.
3555 * math/w_ilogbl.c: Likewise.
3556
b5982523
JM
35572012-07-20 Joseph Myers <joseph@codesourcery.com>
3558
3559 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3560 va_copy. Document allowing for unavailable va_copy only as
3561 pre-C99 compatibility.
3562 * manual/string.texi (Copying and Concatenation): Use va_copy
3563 instead of __va_copy in concat example.
3564
ac4ea442
PT
35652012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3566
3567 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3568 (__sendto): Use create_address_port. Initialize APORT and deallocate
3569 it if not null.
3570
f98eafbd
PT
3571 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3572 with O_NOLINK passed to __file_name_lookup.
3573
898c7aab
PT
3574 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3575 with O_NOLINK passed to __file_name_lookup.
3576
0ced335a
PT
3577 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3578 negative N or less than NGIDS.
3579
b3404dbd
PT
3580 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3581 type to string_t. Set ERANGE as errno and return it if NAME is not big
3582 enough. Use memcpy instead of strncpy.
3583
0f48659e
JM
35842012-07-20 Joseph Myers <joseph@codesourcery.com>
3585
3586 * elf/Makefile (check-data): Remove.
3587 (localplt.data): New vpath directive.
3588 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3589 instead of $(check-data).
3590 * scripts/data/localplt-generic.data: Move to ...
3591 * sysdeps/generic/localplt.data: ... here.
3592 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3593 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3594 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3596 ... here.
3597 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3599 ... here.
3600 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3602 ... here.
3603 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3605 ... here.
3606 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3608 ... here.
3609 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3611 ... here.
3612
d37cbdaa
AZ
36132012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3614
3615 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3616 PPC32 and PPC64 files.
3617 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3618 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3619
46f85fc2
AK
36202012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3621
3622 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3623 __makecontext_ret to ...
3624 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3625 ... here and call exit if uc_link is NULL. New file.
3626 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3627 __makecontext_ret.S.
3628 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3629 __makecontext_ret to ...
3630 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3631 ... here and call exit if uc_link is NULL. New file.
3632 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3633 __makecontext_ret.S.
3634
08f43f9b
AK
36352012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3636
3637 * elf/elf.h (R_390_IRELATIVE): New definition.
3638 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3639 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3640 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3641 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3642 (elf_machine_lazy_rel): Likewise.
3643 * sysdeps/s390/dl-irel.h: New file.
3644 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3645 * sysdeps/s390/s390-64/memset.S: New asm code.
3646 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3647 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3648 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3649 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3650 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3651 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3652 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3653 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3654 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3655 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3656 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3657 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3658 * sysdeps/s390/s390-32/memset.S: New asm code.
3659 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3660
3b05db33
MP
36612012-07-17 Marek Polacek <polacek@redhat.com>
3662
3663 [BZ #14349]
3664 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3665 * sysdeps/s390/s390-64/configure.in: Likewise.
3666 * sysdeps/sparc/configure.in: Likewise.
3667 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3668 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3669 * sysdeps/i386/configure.in: Likewise.
3670 * sysdeps/x86_64/configure.in: Likewise.
3671 * sysdeps/sh/configure.in: Likewise.
3672 * sysdeps/s390/s390-32/configure: Regenerated.
3673 * sysdeps/s390/s390-64/configure: Likewise.
3674 * sysdeps/x86_64/configure: Likewise.
3675 * sysdeps/sh/configure: Likewise.
3676 * sysdeps/powerpc/powerpc64/configure: Likewise.
3677 * sysdeps/powerpc/powerpc32/configure: Likewise.
3678 * sysdeps/sparc/configure: Likwise.
3679 * sysdeps/i386/configure: Likewise.
3680
a66877c6
MP
3681 * elf/dl-open.c: Comment fixes.
3682
cfc82fd8
JM
36832012-07-17 Joseph Myers <joseph@codesourcery.com>
3684
bd29910a
JM
3685 * Makefile [CXX] (check-data): Remove.
3686 [CXX] (c++-types.data): New vpath directive.
3687 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3688 vpath. Do not allow for C++ type data being missing.
3689 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3690 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3691 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3692 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3693 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3694 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3695 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3697 ... here.
3698 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3700 ... here.
3701 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3703 ... here.
3704 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3706 ... here.
3707 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3709 ... here.
3710 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3712 ... here.
3713 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3715 ... here.
3716 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3718
cfc82fd8
JM
3719 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3720 definitions to architecture-specific files.
3721 (TLS_IE): Likewise.
3722 (TLS_LD): Likewise.
3723 (TLS_GD): Likewise.
3724 * sysdeps/i386/tls-macros.h: New file.
3725 * sysdeps/powerpc/tls-macros.h: Likewise.
3726 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3727 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3728 * sysdeps/sh/tls-macros.h: Likewise.
3729 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3730 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3731 * sysdeps/x86_64/tls-macros.h: Likewise.
3732
f7db3170
TS
37332012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3734
07cbfc23
TS
3735 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3736 zero value for regular exit case.
3737
f7db3170
TS
3738 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3739 (__start_context): Preserve zero value for regular exit case.
3740
dc97c227
TS
37412012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3742 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3743
3744 * manual/setjmp.texi (setcontext): Clarify normal process
3745 termination when uc_link is the null pointer.
3746 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3747 exit call.
3748
d0cd7d02
AS
37492012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3750
3751 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3752 preprocessor. Test for each exception mask separately.
3753
dd318934
AJ
37542012-07-16 Andreas Jaeger <aj@suse.de>
3755
3756 * po/ru.po: Update from translation team.
3757
8048311a
JM
37582012-07-15 Joseph Myers <joseph@codesourcery.com>
3759
3760 * conform/data/string.h-data (NULL): Use macro-constant. Require
3761 equal to 0.
3762 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3763 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3764 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3765 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3766 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3767
b637d46e
AJ
37682012-07-13 Andreas Jaeger <aj@suse.de>
3769
3770 * po/fr.po: Update from translation team.
3771
541428fe
MP
37722012-07-12 Marek Polacek <polacek@redhat.com>
3773
3774 [BZ #14173]
3775 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3776 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3777 loop condition.
3778
ec332e94
JM
37792012-07-12 Joseph Myers <joseph@codesourcery.com>
3780
3781 [BZ #13717]
3782 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3783 Change to 2.4.1 where previously 2.4.0.
3784 * sysdeps/unix/sysv/linux/configure: Regenerated.
3785 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3786 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3787 version.
3788 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3789 (__ASSUME_AT_CLKTCK): Remove.
3790 (__ASSUME_AT_PAGESIZE): Likewise.
3791 (__ASSUME_AT_XID): Likewise.
3792 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3793 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3794 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3795 unconditionally.
3796 (HAVE_AUX_PAGESIZE): Likewise.
3797 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3798 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3799 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3800
7b6e99be
JB
38012012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3802
3803 [BZ #14307]
3804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3805 the temporary buffer used to invoke __gethostbyname2_r,
3806 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3807 host_data / struct gaih_addrtuple.
3808 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3809 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3810 header file nss/nsswitch.h.
3811 * nss/nsswitch.h (global scope): Add definition of implementation
3812 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3813 resolv/nss_dns/dns-host.c).
3814
608404eb
AJ
38152012-07-11 Andreas Jaeger <aj@suse.de>
3816
3817 * po/fr.po: Update from translation team.
3818
71220aca
AJ
3819 * po/sv.po: Update from translation team
3820 * po/fr.po: Another update from translation team.
3821
28cfe843
AZ
38222012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3823
3824 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3825 for subnormals or multiply small sinh result by itself.
3826 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3828
6b90f981
DM
38292012-07-11 David S. Miller <davem@davemloft.net>
3830
3831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3832
c6825772
AS
38332012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3834
3835 [BZ #14347]
3836 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3837 (INTERNAL_MARK): Shift it here.
3838
7b8e0d49
MP
38392012-07-10 Marek Polacek <polacek@redhat.com>
3840
3841 [BZ #14151]
3842 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3843 libc_cv_asm_global_directive with .globl.
3844 * configure: Regenerated.
3845 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3846 with .globl.
3847 * sysdeps/i386/configure: Regenerated.
3848 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3849 with .globl.
3850 * sysdeps/x86_64/configure: Regenerated.
3851 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3852 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3853 * elf/tst-unique2mod2.c: Likewise.
3854 * elf/tst-unique2mod1.c: Likewise.
3855 * elf/tst-unique1mod2.c: Likewise.
3856 * elf/tst-unique1mod1.c: Likewise.
3857 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3858 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3859 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3860 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3861 * sysdeps/mach/sysdep.h: Likewise.
3862 * sysdeps/i386/sysdep.h: Likewise.
3863 * sysdeps/i386/i386-mcount.S: Likewise.
3864 * sysdeps/x86_64/_mcount.S: Likewise.
3865 * sysdeps/x86_64/sysdep.h: Likewise.
3866 * sysdeps/sh/_mcount.S: Likewise.
3867 * sysdeps/sh/sysdep.h: Likewise.
3868 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3869 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3870 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3871 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3872 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3873 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3874 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3875 * locale/localeinfo.h: Likewise.
3876 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3877 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3878
6c55cda3
RM
38792012-07-09 Roland McGrath <roland@hack.frob.com>
3880
3881 [BZ #14336]
3882 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3883 system".
3884 * manual/message.texi (The Uniforum approach): Likewise.
3885 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3886 (glibc iconv Implementation): Likewise.
3887
638a572e
JM
38882012-07-09 Joseph Myers <joseph@codesourcery.com>
3889
3890 [BZ #14337]
3891 * math/s_clog.c (__clog): Avoid scaling a value down where that
3892 could result in underflow.
3893 * math/s_clog10.c (__clog10): Likewise.
3894 * math/s_clog10f.c (__clog10f): Likewise.
3895 * math/s_clog10l.c (__clog10l): Likewise.
3896 * math/s_clogf.c (__clogf): Likewise.
3897 * math/s_clogl.c (__clogl): Likewise.
3898 * math/libm-test.inc (clog_test): Add more tests.
3899 (clog10_test): Likewise.
3900 * sysdeps/i386/fpu/libm-test-ulps: Update.
3901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3902
261f4859
AS
39032012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3904
0abaf3e4
AS
3905 [BZ #14283]
3906 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3907 by 7 not 8 to examine high bit of fractional part.
3908
261f4859
AS
3909 [BZ #14042]
3910 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3911 for call to __mcount_internal.
3912 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3913 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3914 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3915
f17ac40d
JM
39162012-07-06 Joseph Myers <joseph@codesourcery.com>
3917
9ad63c23
JM
3918 [BZ #14154]
3919 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3920 approximation for values within 0x1p-13f of an odd multiple of
3921 pi/4.
3922 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3923 exception. Add more tests.
3924 * sysdeps/i386/fpu/libm-test-ulps: Update.
3925
f17ac40d
JM
3926 [BZ #6778]
3927 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3928 inputs and return -1 for them. Do not check for +Inf in case not
3929 reachable for +Inf.
3930 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3931 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3932 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3933 and return -1 for them. Do not check for +Inf in case not
3934 reachable for +Inf.
3935 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3936 define.
3937 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3938 and return -1 for them. Do not check for +Inf in case not
3939 reachable for +Inf.
3940 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3941 spurious underflow.
3942 * sysdeps/i386/fpu/libm-test-ulps: Update.
3943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3944
fb21f89b
MF
39452012-07-06 Mike Frysinger <vapier@gentoo.org>
3946
3947 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3948
cdfe2c5e
JM
39492012-07-05 Joseph Myers <joseph@codesourcery.com>
3950
3951 [BZ #14157]
3952 [BZ #14331]
3953 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3954 could result in spurious underflow. Scale down values above
3955 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3956 * math/s_csqrtf.c (__csqrtf): Likewise.
3957 * math/s_csqrtl.c (__csqrtl): Likewise.
3958 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3959 spurious underflow.
3960 * sysdeps/i386/fpu/libm-test-ulps: Update.
3961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3962
70d35b67
AS
39632012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3964
704bc459
AS
3965 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3966 xopen-msg.sed.
3967 * catgets/xopen-msg.awk: New file.
3968 * catgets/xopen-msg.sed: Removed.
3969
70d35b67
AS
3970 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3971 po2text.sed.
3972 * intl/po2test.awk: New file.
3973 * intl/po2test.sed: Removed.
3974
ca61cf32
JM
39752012-07-04 Joseph Myers <joseph@codesourcery.com>
3976
3977 [BZ #14328]
3978 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3979 or multiply small sinh result by itself.
3980 * math/s_ctanf.c (__ctanf): Likewise.
3981 * math/s_ctanh.c (__ctanh): Likewise.
3982 * math/s_ctanhf.c (__ctanhf): Likewise.
3983 * math/s_ctanhl.c (__ctanhl): Likewise.
3984 * math/s_ctanl.c (__ctanl): Likewise.
3985 * math/libm-test.inc (ctan_test_tonearest): New function.
3986 (ctan_test_towardzero): Likewise.
3987 (ctan_test_downward): Likewise.
3988 (ctan_test_upward): Likewise.
3989 (ctanh_test_tonearest): Likewise.
3990 (ctanh_test_towardzero): Likewise.
3991 (ctanh_test_downward): Likewise.
3992 (ctanh_test_upward): Likewise.
3993 (main): Call these new functions.
3994 * sysdeps/i386/fpu/libm-test-ulps: Update.
3995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3996
ca48a46a
MF
39972012-07-03 Mike Frysinger <vapier@gentoo.org>
3998
3999 * .gitignore: Delete /ports entry.
4000
9d63d37d
AJ
40012012-07-03 Andreas Jaeger <aj@suse.de>
4002
4003 * po/bg.po: Update from translation team.
4004 * po/cs.po: Likewise.
4005 * po/de.po: Likewise.
4006 * po/hr.po: Likewise.
4007 * po/nl.pl: Likewise.
4008 * po/pl.po: Likewise.
4009 * po/vi.po: Likewise.
4010
370ca3d2
JM
40112012-07-03 Joseph Myers <joseph@codesourcery.com>
4012
95f5a9a8
JM
4013 * Makeconfig [!+link] (+link-before-libc): New variable.
4014 [!+link] (+link-after-libc): Likewise.
4015 [!+link] (+link-tests): Likewise.
4016 [!+link] (+link): Define in terms of $(+link-before-libc) and
4017 $(+link-after-libc).
4018 [!+link-static] (+link-static-before-libc): New variable.
4019 [!+link-static] (+link-static-after-libc): Likewise.
4020 [!+link-static] (+link-static-tests): Likewise.
4021 [!+link-static] (+link-static): Define in terms of
4022 $(+link-static-before-libc) and $(+link-static-after-libc).
4023 [build-shared] (link-libc-before-gnulib): New variable.
4024 [build-shared] (link-libc-tests): Likewise.
4025 [build-shared] (link-libc): Define in terms of
4026 $(link-libc-before-gnulib).
4027 [!build-shared] (link-libc-tests): New variable.
4028 (link-libc-static-tests): New variable.
4029 [!gnulib] (gnulib-arch): New variable.
4030 [!gnulib] (gnulib-tests): Likewise.
4031 [!gnulib] (static-gnulib-arch): Likewise.
4032 [!gnulib] (static-gnulib-tests): Likewise.
4033 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4034 Define with "=" instead of ":=".
4035 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4036 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4037 * Rules (binaries-all-notests): New variable.
4038 (binaries-all-tests): Likewise.
4039 (binaries-static-notests): Likewise.
4040 (binaries-static-tests): Likewise.
4041 (binaries-all): Define using $(binaries-all-notests) and
4042 $(binaries-all-tests).
4043 (binaries-static): Define using $(binaries-static-notests) and
4044 $(binaries-static-tests).
4045 (binaries-shared-tests): New variable.
4046 (binaries-shared-notests): Likewise.
4047 (binaries-shared): Remove variable.
4048 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4049 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4050 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4051 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4052 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4053 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4054 * elf/Makefile (sln-modules): New variable.
4055 (extra-objs): Add $(sln-modules:=.o).
4056 (ldconfig-modules): Add static-stubs.
4057 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4058 * elf/static-stubs.c: New file.
4059
7a845b2c
JM
4060 [BZ #14283]
4061 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4062 by 7 not 8 to examine high bit of fractional part. Use volatile
4063 variables when splitting into final array of floats if
4064 __FLT_EVAL_METHOD__ != 0.
4065 * math/libm-test.inc (cos_test): Add another test.
4066 (sin_test): Likewise.
4067 * sysdeps/i386/fpu/libm-test-ulps: Update.
4068
e2283f38
JM
4069 [BZ #14273]
4070 * math/libm-test.inc (cosh_test): Add more tests.
4071
370ca3d2
JM
4072 * version.h (RELEASE): Set to "development".
4073 (VERSION): Set to "2.16.90".
4074
ee9247c3
CD
40752012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4076
4077 * NEWS: Update copyright. Remove last-updated date.
4078 Mention math library bug fixes and timezone data changes.
4079 * README: Mention GNU/Hurd, x32, and HPPA support status.
4080
4648c381
TS
40812012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4082
4083 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4084
aac78a43
AJ
40852012-06-27 Andreas Jaeger <aj@suse.de>
4086
4087 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4088
ed3dbfad
AJ
40892012-06-25 Andreas Jaeger <aj@suse.de>
4090
4091 * sysdeps/s390/fpu/libm-test-ulps: Update.
4092
4d0ee855
AS
40932012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4094 Thomas Schwinge <thomas@codesourcery.com>
4095
4096 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4097 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4098 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4099 fanotify_mark.
4100
af1bce34
TS
41012012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4102
a9fa33ba
TS
4103 * sysdeps/mach/start.c: Remove file.
4104 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4105 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4106 * sysdeps/sh/init-first.c: Likewise.
4107
58f902b8
TS
4108 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4109 registers for frame unwinding purposes, add CFI directives.
4110 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4111 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4112 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4113 Likewise.
4114
1518f58b
TS
4115 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4116 __fortify_fail returning.
4117 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4118
db9b5059
TS
4119 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4120 sysdeps/sh/____longjmp_chk.S.
4121 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4122 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4123 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4124 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4125
967705fe
TS
4126 * sysdeps/sh/abort-instr.h: New file.
4127 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4128 process in case exit returns.
4129
a9def8c4
TS
4130 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4131 initialize the GOT register before use.
4132
2a649725
TS
4133 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4134 calculation of ARGC > 4.
4135
af1bce34
TS
4136 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4137 meaningful names to some local labels.
4138
d230f50a
KK
41392012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4140 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4141
4142 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4143 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4144 (__arch_compare_and_exchange_val_16_acq): Likewise.
4145 (__arch_compare_and_exchange_val_32_acq): Likewise.
4146 (atomic_exchange_and_add): Fix gUSA sequence.
4147 (atomic_add): Likewise.
4148 (atomic_add_negative): Likewise.
4149 (atomic_add_zero): Likewise.
4150 (atomic_bit_test_set): Likewise.
4151
0479b305
AS
41522012-06-22 Andreas Schwab <schwab@redhat.com>
4153
4154 [BZ #13579]
4155 * include/link.h (struct link_map): Add l_free_initfini.
4156 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4157 l_initfini.
4158 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4159 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4160 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4161 set.
4162
0e3933b9
CD
41632012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4164
4165 * configure.in: Use AC_LANG_SOURCE.
4166 * configure: Regenerate.
4167
4248b1b1
RM
41682012-06-22 Roland McGrath <roland@hack.frob.com>
4169
4170 * configure.in (libc_cv_localstatedir): New substituted variable.
4171 * configure: Regenerated.
4172 * config.make.in (localstatedir): New variable, substituted from
4173 libc_cv_localstatedir.
4174 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4175 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4176 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4177 * sysdeps/gnu/configure: Regenerated.
4178
006dd861
JL
41792012-06-21 Jeff Law <law@redhat.com>
4180
4181 [BZ #14277]
4182 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4183 free. Simplify list management for _LIBC case.
4184
79662d42
JM
41852012-06-21 Joseph Myers <joseph@codesourcery.com>
4186
b7abb4bf
JM
4187 [BZ #14273]
4188 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4189 Clear sign bit of 64-bit integer value before comparing against
4190 overflow value.
4191
79662d42
JM
4192 * sysdeps/mach/configure: Regenerated.
4193
1f150908
L
41942012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4195
4196 [BZ #14278]
4197 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4198
28363bbf
JL
41992012-06-21 Jeff Law <law@redhat.com>
4200
4201 [BZ #13882]
4202 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4203 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4204 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4205 * elf/dl-open.c (dl_open_worker): Likewise.
4206
09615db4
CD
42072012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4208
4209 * scripts/list-sources.sh: Scan PORTS for translations.
4210 * po/libc.pot: Regenerated.
4211
2174c6dd
AJ
42122012-06-21 Andreas Jaeger <aj@suse.de>
4213
4214 [BZ #12194]
4215 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4216 warning.
4217 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4218 * bits/byteswap-16.h (__bswap_16): Likewise.
4219 * bits/byteswap.h (__bswap_constant_16): Likewise.
4220
3ee947b1
L
42212012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4222
4223 [BZ #14117]
a2f34833
L
4224 * sysdeps/i386/fpu_control.h: Removed.
4225 * sysdeps/x86_64/fpu_control.h: Moved to ...
4226 * sysdeps/x86/fpu_control.h: Here.
4227
3ee947b1
L
4228 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4229 (_FPU_SETCW): Likewise.
4230
ed1825f8
L
42312012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4232
25f1282a
L
4233 [BZ #14117]
4234 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4235 * sysdeps/x86/fpu/bits/mathinline.h: This.
4236 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4237
ed1825f8
L
4238 [BZ #14050]
4239 [BZ #14117]
4240 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4241 functions if __x86_64__ is defined.
4242
36d54b74
CLT
42432012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4244
4245 * string/endian.h: Add !__ASSEMBLER__ condition for including
4246 conversion interfaces.
4247
10285c21
JM
42482012-06-15 Joseph Myers <joseph@codesourcery.com>
4249
4250 [BZ #14241]
4251 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4252 of ABS(x) in calculating zero to negative powers other than odd
4253 integers.
4254 * math/libm-test.inc (pow_test): Add more tests.
4255
06c5abbd
AJ
42562012-06-15 Andreas Jaeger <aj@suse.de>
4257
4258 * manual/contrib.texi (Contributors): Update entry of Liubov
4259 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4260 Machado Filho.
4261
a3aeac40
CH
42622012-06-15 Cyril Hrubis <metan@ucw.cz>
4263
4264 * string/string.h: Add __wur to GNU version of strerror_r.
4265
49bdf4c1
L
42662012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4267
4268 [BZ #14229]
4269 * string/Makefile (tests): Add tst-strtok_r.
4270 * string/tst-strtok_r.c: New file.
4271 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4272 RAX_LP/RDX_LP on SAVE_PTR.
4273
834f9b8d
RM
42742012-06-14 Roland McGrath <roland@hack.frob.com>
4275
4276 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4277
75fa1921
JM
42782012-06-14 Joseph Myers <joseph@codesourcery.com>
4279
4280 * libm_test.inc (csqrt_test): Allow more spurious underflow
4281 exceptions.
4282 (j0_test): Likewise.
4283 (j1_test): Likewise.
4284 (y0_test): Likewise.
4285 (y1_test): Likewise.
4286
771766df
CD
42872012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4288
4289 * po/Makefile (libc.pot): Use UTF-8 charset.
4290
ceb9e56b
PP
42912012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4292
4293 [BZ #14210]
4294 Suppress sign-conversion warning from FD_SET.
4295 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4296 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4297 not unsigned long int.
4298 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4299
ddb28975
L
43002012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4301
4302 [BZ #14050]
4303 [BZ #14117]
4304 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4305 __extern_always_inline instead of __extern_inline.
4306 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4307 (__signbit): Likewise.
4308 (__signbitl): Support C++ namespace.
4309 (lrintf): New inline function.
4310 (lrint): Likewise.
4311 (llrintf): Likewise.
4312 (llrint): Likewise.
4313 (fmaxf): Likewise.
4314 (fmax): Likewise.
4315 (fminf): Likewise.
4316 (fmin): Likewise.
4317 (rint): Likewise.
4318 (rintf): Likewise.
4319 (ceil): Likewise.
4320 (ceilf): Likewise.
4321 (floor): Likewise.
4322 (floorf): Likewise.
4323 (nearbyint): Likewise.
4324 (nearbyintf): Likewise.
4325
d7b4fb26
TS
43262012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4327
4328 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4329 non-default versions.
4330
eb55f5c2
RM
43312012-06-11 Roland McGrath <roland@hack.frob.com>
4332
4333 [BZ #14218]
4334 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4335
366af02c
TS
43362012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4337
99ff6e5c
TS
4338 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4339 (FE_UPWARD, FE_DOWNWARD): Don't define.
4340 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4341 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4342
366af02c
TS
4343 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4344 reading it.
4345 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4346 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4347
793ea851
KK
43482012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4349
4350 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4351 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4352 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4353 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4354
a728a38f
L
43552012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4356
4357 [BZ #14117]
c08010c7
L
4358 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4359 * sysdeps/i386/fpu/Implies: New file.
4360 * sysdeps/x86_64/fpu/Implies: Likewise.
4361 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4362 * sysdeps/x86/fpu/bits/fenv.h: This.
4363
a728a38f
L
4364 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4365 __SSE_MATH__.
4366
6e230d11
SP
43672012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4368
4369 [BZ #14134]
4370 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4371 character 0xffff that matches the last element of the
4372 conversion table.
4373
1b671feb
AZ
43742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4375
4376 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4377 fmodl commit.
4378
6043738b
AZ
43792012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4380
4381 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4382 values higher than 25.6283.
4383
34ae0b32
AZ
43842012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4385
4386 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4387 subnormal exponent extraction and add some __builtin_expect.
4388 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4389 Fix for subnormal mantissa calculation.
4390
1214ec8f
MF
43912012-06-04 Mike Frysinger <vapier@gentoo.org>
4392
4393 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4394 cpu2 is -1 and errno is not ENOSYS.
4395
f3d1f93c
L
43962012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4397
4398 [BZ #14117]
0e4a3cd7
L
4399 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4400 * sysdeps/x86/bits/string.h: This.
4401 * sysdeps/x86_64/bits/string.h: Removed.
4402
6704c645
L
4403 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4404 if not compiling for x86-64, but compiling for >= i486.
4405
48495318
L
4406 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4407 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4408
14adcbfc
L
4409 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4410 New macro from Linux kernel 3.4.0.
4411 (FP_XSTATE_MAGIC2): Likewise.
4412 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4413 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4414 (struct _fpx_sw_bytes): New struct.
4415 (struct _xsave_hdr): Likewise.
4416 (struct _ymmh_state): Likewise.
4417 (struct _xstate): Likewise.
4418
68e408ab
L
4419 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4420 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4421 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4422 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4423 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4424 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4425
f3d1f93c
L
4426 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4427 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4428 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4429 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4430 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4431 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4432
d9dc34cd
TMQMF
44332012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4434
4435 [BZ #13743]
4436 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4437 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4438 (sysdep_headers): Include sys/platform/ppc.h.
4439 * sysdeps/powerpc/test-gettimebase.c: Test for
4440 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4441 * manual/Makefile (appendices): Include platform.texi.
4442 * manual/contrib.texi (Contributors): Update @node pointers.
4443 * manual/maint.texi (Maintenance): Likewise.
4444 (Platform): New node.
4445 * manual/platform.texi: New file. Document the new features.
4446
4af3879c
SP
44472012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4448 Jakub Jelinek <jakub@redhat.com>
4449
4450 [BZ #14188]
4451 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4452 where __builtin_expect is unavailable.
4453
2fd6ff13
DM
44542012-06-03 David S. Miller <davem@davemloft.net>
4455
4456 * stdlib/longlong.h: Updated from GCC.
4457
173f7220
AS
44582012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4459
4460 [BZ #14042]
4461 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4462 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4463 __mcount_internal.
4464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4465 (GLIBC_2.16): Likewise.
4466
f34a1c6f
L
44672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4468
4469 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4470
88a4576f
JM
44712012-06-01 Joseph Myers <joseph@codesourcery.com>
4472
ea32bcdd
JM
4473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4474 (default-abi): New variable.
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4476 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4477 variable.
4478 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4479 Likewise.
4480 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4481 Likewise.
4482 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4483 Likewise.
4484
88a4576f
JM
4485 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4486 definition. Document in comment.
4487
402fe938
DM
44882012-06-01 David S. Miller <davem@davemloft.net>
4489
4490 * stdlib/longlong.h: Updated from GCC.
4491
3553723f
L
44922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4493
4494 [BZ #14117]
3bd872c4
L
4495 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4496 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4497 sys/debugreg.h sys/io.h here.
4498 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4499 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4500 sys/io.h.
4501 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4502 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4503 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4504 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4505 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4506 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4507
3553723f
L
4508 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4509 Define only if __x86_64__ is defined.
4510
4842e4fe
JM
45112012-06-01 Joseph Myers <joseph@codesourcery.com>
4512
c5bfe3d5
JM
4513 [BZ #14048]
4514 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4515 Use int64_t for variable i.
4516 * math/libm-test.inc (fmod_test): Add more tests.
4517
4842e4fe
JM
4518 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4519 z computation is not scheduled after fetestexcept.
4520 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4521 Use math_force_eval instead of asm to ensure calculation scheduled
4522 before exception test.
4523 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4524 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4525
efb73488
AJ
45262012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4527
4528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4529 computation is not scheduled after fetestexcept.
4530
29bcce7c
L
45312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4532
4533 [BZ #14117]
4534 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4535 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4536
73a68f94
AZ
45372012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4538
4539 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4540 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4541
67b6df78
L
45422012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4543
edf2933a 4544 [BZ #14117]
ebc64a18
L
4545 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4546 <bits/wordsize.h>.
4547 (__WCHAR_MIN): Support __WORDSIZE == 64.
4548 (__WCHAR_MAX): Likewise.
4549
edf2933a
L
4550 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4551 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4552
57c6cf40
L
4553 [BZ #14183]
4554 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4555 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4556
67b6df78 4557 [BZ #14117]
8eb6281e
L
4558 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4559 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4560
aac639f4
L
4561 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4562 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4563
67b6df78
L
4564 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4565 Defined to 1 if __x86_64__ isn't defined.
4566 (_STAT_VER_LINUX_OLD): New.
4567 (st_atime): Remove duplicate.
4568 (st_mtime): Likewise.
4569 (st_ctime): Likewise.
4570
1c2cfe81
DM
45712012-05-31 David S. Miller <davem@davemloft.net>
4572
4573 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4574 entries.
4575
5be8418c
AS
45762012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4577
e7725326
AS
4578 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4579 gen-libm-test.pl.
4580
5be8418c
AS
4581 [BZ #14132]
4582 * elf/dl-reloc.c: Include <_itoa.h>.
4583 (_dl_reloc_bad_type): Remove use of INTUSE.
4584 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4585 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4586 * stdio-common/psiginfo.c (psiginfo): Likewise.
4587 * stdio-common/psignal.c (psignal): Likewise.
4588 * string/strsignal.c (strsignal): Likewise.
4589 * include/signal.h (_sys_siglist): Declare hidden proto.
4590 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4591 INTVARDEF with libc_hidden_data_def.
4592 * stdio-common/itoa-udigits.c: Likewise.
4593 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4594 (_itoa_lower_digits_internal): Remove declaration.
4595 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4596 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4597 (_sys_sigabbrev_internal): Remove aliases.
4598 (_sys_siglist): Define hidden alias.
4599
507352f1
MT
46002012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4601
4602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4603 bits/sysctl.h.
4604
42bbb1c3
L
46052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4606
4607 [BZ #14117]
6bd784b6
L
4608 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4609 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4610
8bca20f0
L
4611 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4612 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4613 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4614 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4615 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4616 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4617
f9e890a9
L
4618 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4619 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4620 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4621
471101a1
L
4622 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4623 with __addr.
4624 (insw): Likewise.
4625 (insl): Likewise.
4626 (outsb): Likewise.
4627 (outsw): Likewise.
4628 (outsl): Likewise.
4629
6451c862
L
4630 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4631 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4632 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4633
a254b8c9
L
4634 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4635 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4636 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4637 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4638 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4639 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4640
b8dfdd92
L
4641 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4642 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4643
578cd270
L
4644 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4645 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4646
de662f5f
L
4647 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4648 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4649 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4650
25653439
L
4651 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4652 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4653 to ...
4654 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4655
6bad24a0
L
4656 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4657 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4658 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4659
42bbb1c3
L
4660 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4661 for x86-64.
4662 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4663
2d10d547
JM
46642012-05-31 Joseph Myers <joseph@codesourcery.com>
4665
4666 * math/math.h (M_El): Use two more decimal places.
4667 (M_LOG2El): Likewise.
4668 (M_LOG10El): Likewise.
4669 (M_LN2l): Likewise.
4670 (M_LN10l): Likewise.
4671 (M_PIl): Likewise.
4672 (M_PI_2l): Likewise.
4673 (M_PI_4l): Likewise.
4674 (M_1_PIl): Likewise.
4675 (M_2_PIl): Likewise.
4676 (M_2_SQRTPIl): Likewise.
4677 (M_SQRT2l): Likewise.
4678 (M_SQRT1_2l): Likewise.
4679
f230c29b
DM
46802012-05-31 David S. Miller <davem@davemloft.net>
4681
4682 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4683 values between float registers.
4684 * sysdeps/sparc/sparc64/memset.S: Likewise.
4685 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4686
fed806c3
MF
46872012-05-31 Mike Frysinger <vapier@gentoo.org>
4688
4689 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4690 -D_FORTIFY_SOURCE=1.
4691 (CPPFLAGS-tst-longjmp_chk.c): Define.
4692 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4693 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4694 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4695 CFLAGS-tst-wchar-h.c.
4696
30917259
MP
46972012-05-31 Marek Polacek <polacek@redhat.com>
4698
4699 [BZ #14132]
4700 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4701 __endmntent_internal): Remove declaration.
4702 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4703 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4704 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4705
1c58d5dc
DM
47062012-05-30 David S. Miller <davem@davemloft.net>
4707
4708 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4709 (___Q_simulate_exceptions): Use real FP ops rather than writing
4710 into the %fsr.
4711 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4712 Likewise.
4713
7dc00e0d
L
47142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4715
4716 [BZ #14117]
0bd53985
L
4717 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4718 * sysdeps/x86/bits/xtitypes.h: This.
4719
3a257e66
L
4720 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4721 * sysdeps/x86/bits/wordsize.h: This.
4722
62f62904
L
4723 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4724 * sysdeps/x86/bits/huge_vall.h: This.
4725
404fe9d9
L
4726 * sysdeps/i386/bits/select.h: Removed.
4727 * sysdeps/x86_64/bits/select.h: Renamed to ...
4728 * sysdeps/x86/bits/select.h: This.
4729
d48d0446
L
4730 * sysdeps/i386/bits/setjmp.h: Removed.
4731 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4732 * sysdeps/x86/bits/setjmp.h: This.
4733
7dc00e0d
L
4734 * sysdeps/i386/bits/mathdef.h: Removed.
4735 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4736 * sysdeps/x86/bits/mathdef.h: This.
4737
03277f8f
AS
47382012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4739
4740 [BZ #14132]
4741 * include/sys/socket.h (__connect_internal)
4742 (__libc_sa_len_internal): Remove declaration.
4743 (__connect, __libc_sa_len): Declare hidden_proto.
4744 (SA_LEN): Remove use of INTUSE.
4745 * socket/connect.c: Add libc_hidden_def.
4746 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4747 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4748 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4749 alias.
4750 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4751 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4752 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4753 of adding _internal alias.
4754
13764867
L
47552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4756
4757 [BZ #14117]
6bd97696
L
4758 * sysdeps/i386/bits/link.h: Removed.
4759 * sysdeps/i386/bits/linkmap.h: Likewise.
4760 * sysdeps/x86_64/bits/link.h: Renamed to ...
4761 * sysdeps/x86/bits/link.h: This.
4762 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4763 * sysdeps/x86/bits/linkmap.h: This.
4764
f726f0bb
L
4765 * sysdeps/i386/bits/endian.h: Removed.
4766 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4767 * sysdeps/x86/bits/endian.h: This.
4768
13764867
L
4769 * sysdeps/i386/bits/byteswap.h: Removed.
4770 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4771 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4772 * sysdeps/x86/bits/byteswap.h: This.
4773 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4774 * sysdeps/x86/bits/byteswap-16.h: This.
4775 * sysdeps/i386/Implies: Add x86.
4776 * sysdeps/x86_64/Implies: Likewise.
4777
ae251b0b
DM
47782012-05-30 David S. Miller <davem@davemloft.net>
4779
4780 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4781 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4782 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4783 (FP_TRAPPING_EXCEPTIONS): Define.
4784 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4785 (FP_TRAPPING_EXCEPTIONS): Define.
4786 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4787 subnormals only when inexact has been signalled or underflow
4788 exceptions are enabled.
4789 (_FP_PACK_CANONICAL): Likewise.
4790
d5c90867
L
47912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4792
4793 [BZ #14183]
4794 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4795 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4796
63f1549e
RH
47972012-05-30 Richard Henderson <rth@twiddle.net>
4798
8d8f2279
RH
4799 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4800 with #ifndef NOT_IN_libc.
4801
63f1549e
RH
4802 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4803 marked to avoid plt entry.
4804
0ab0291b
L
48052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4806
4807 [BZ #14112]
4808 * Makeconfig (default-abi): New macro.
4809 (abi-includes): Likewise.
4810 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4811 $(abi-$(default-abi)-lib-soname) for soname if defined.
4812 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4813 abi-variants.
4814 * Makefile (installed-stubs): Likewise.
4815 * include/stubs-biarch.h: Removed.
4816 * scripts/lib-names.awk: Only handle one library at a time.
4817 * scripts/soversions.awk: Remove WORDSIZE support.
4818 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4819 entries.
4820 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4821 Removed.
4822 (syscall-list-default-condition): Likewise.
4823 (syscall-list-default-condition): Likewise.
4824 (syscall-list-includes): Likewise.
4825 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4826 syscall-list-* with abi-*. Handle undefined abi-variants.
4827 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4828 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4829 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4830 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4831 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4832 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4833 Removed.
4834 (syscall-list-32-options): Likewise.
4835 (syscall-list-32-condition): Likewise.
4836 (syscall-list-64-options): Likewise.
4837 (syscall-list-64-condition): Likewise.
4838 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4839 macro.
4840 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4841 Renamed to ...
4842 (abi-*): This.
4843 (abi-64-ld-soname): New macro.
4844 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4845 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4846 Renamed to ...
4847 (abi-*): This.
4848 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4849 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4850
4da0431d
JM
48512012-05-30 Joseph Myers <joseph@codesourcery.com>
4852
3a85279c
JM
4853 * sysdeps/unix/sysv/linux/kernel-features.h
4854 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4855 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4856 include <kernel-features.h>.
4857 [!__NR_ftruncate64]: Remove conditional code.
4858 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4859 [__NR_ftruncate64]: Make code unconditional.
4860 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4861 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4862 include <kernel-features.h>.
4863 [!__NR_ftruncate64]: Remove conditional code.
4864 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4865 [__NR_ftruncate64]: Make code unconditional.
4866 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4868 include <kernel-features.h>.
4869 [!__NR_ftruncate64]: Remove conditional code.
4870 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4871 [__NR_ftruncate64]: Make code unconditional.
4872 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4874 include <kernel-features.h>.
4875 [!__NR_ftruncate64]: Remove conditional code.
4876 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4877 [__NR_ftruncate64]: Make code unconditional.
4878 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4879
4da0431d
JM
4880 * configure.in (libc_cv_fpie): Weaken to a compile test using
4881 LIBC_TRY_CC_OPTION.
4882 * configure: Regenerated.
4883
11ef492c
AK
48842012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4885
4886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4890 Refreshed.
4891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4897 Refreshed.
4898
d66ef399
DM
48992012-05-27 David S. Miller <davem@davemloft.net>
4900
4901 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4902 (___Q_zero): New.
4903 (__Q_simulate_exceptions): Return void. Change to simulate
4904 exceptions by writing into the %fsr.
4905 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4906 (__Qp_handle_exceptions): Likewise.
4907 (numbers): Delete.
4908 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4909 __Qp_handle_exceptions.
4910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4911 __Qp_handle_exceptions.
4912 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4913 as unused and give dummy FP_RND_NEAREST initializer.
4914 (FP_INHIBIT_RESULTS): Define.
4915 (___Q_simulate_exceptions): Update declaration.
4916 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4917 formatting.
4918 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4919 as unused and give dummy FP_RND_NEAREST initializer.
4920 (__Qp_handle_exceptions): Update declaration.
4921 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4922 formatting.
4923
04fb54b5
TS
49242012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4925
4926 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4927 the temporary FPU control word.
4928 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4929 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4930 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4931 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4932 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4933 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4934 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4935 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4936 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4937 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4938 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4939
3f99608f
KK
49402012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4941
4942 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4943 fields.
4944
65a4de4e
CLT
49452012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4946
4947 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4948 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4949 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4950 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4951 Likewise.
4952 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4953 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4954 Likewise.
4955
15749d40
UD
49562012-05-27 Ulrich Drepper <drepper@gmail.com>
4957
4958 * po/h.po: Update from translation team.
4959
25dbcb27
AS
49602012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4961
3d3f8e55
AS
4962 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4963
25dbcb27
AS
4964 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4965 handling of denormals.
4966 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4967 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4968 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4969 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4970 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4972 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4973 Likewise.
4974
7ad47a80 49752012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4976
4977 [BZ #14152]
4978 * math/libm-test.inc (fma_test): Don't always expect underflow
4979 exception.
4980
9c6ea9fa
SP
49812012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4982
4983 [BZ #12416]
4984 * elf/tst-execstack.c: Include stackinfo.h.
4985 (do_test): Adjust test case to ensure that pthread_getattr_np
4986 behaviour remains the same after marking stack executable.
4987
a8239222
JM
49882012-05-25 Joseph Myers <joseph@codesourcery.com>
4989
4990 * sysdeps/unix/sysv/linux/kernel-features.h
4991 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4992 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4993 kernel-features.h.
4994 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4995 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4996 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4997 kernel-features.h.
4998 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4999 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5000
918b5606
L
50012012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5002
5003 * configure.in: Define the default includes to being none.
5004 * configure: Regenerated.
5005
3a097cc7
RM
50062012-05-25 Roland McGrath <roland@hack.frob.com>
5007
8422c9a5
RM
5008 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5009 * sysdeps/x86_64/setjmp.S: Likewise.
5010 * sysdeps/i386/bsd-setjmp.S: Likewise.
5011 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5012 * sysdeps/i386/setjmp.S: Likewise.
5013 * sysdeps/i386/__longjmp.S: Likewise.
5014 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5015 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5016
3a097cc7
RM
5017 * include/stap-probe.h: New file.
5018 * configure.in: Handle --enable-systemtap.
5019 * configure: Regenerated.
5020 * config.h.in (USE_STAP_PROBE): New #undef.
5021 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5022 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5023 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5024
21708942
JM
50252012-05-25 Joseph Myers <joseph@codesourcery.com>
5026
5027 [BZ #13717]
5028 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5029 to 2.4.0 where earlier.
5030 * sysdeps/unix/sysv/linux/configure: Regenerated.
5031 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5032 <kernel-features.h>.
5033 [__ASSUME_32BITUIDS]: Make code unconditional.
5034 [!__ASSUME_32BITUIDS]: Remove conditional code.
5035 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5036 <kernel-features.h>.
5037 [__ASSUME_32BITUIDS]: Make code unconditional.
5038 [!__ASSUME_32BITUIDS]: Remove conditional code.
5039 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5040 [__ASSUME_32BITUIDS]: Make code unconditional.
5041 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5042 * sysdeps/unix/sysv/linux/i386/getegid.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/i386/geteuid.c: Do not include
5047 <kernel-features.h>.
5048 [__ASSUME_32BITUIDS]: Make code unconditional.
5049 [!__ASSUME_32BITUIDS]: Remove conditional code.
5050 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5051 <kernel-features.h>.
5052 [__ASSUME_32BITUIDS]: Make code unconditional.
5053 [!__ASSUME_32BITUIDS]: Remove conditional code.
5054 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5055 <kernel-features.h>.
5056 [__ASSUME_32BITUIDS]: Make code unconditional.
5057 [!__ASSUME_32BITUIDS]: Remove conditional code.
5058 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5059 <kernel-features.h>.
5060 [__ASSUME_32BITUIDS]: Make code unconditional.
5061 [!__ASSUME_32BITUIDS]: Remove conditional code.
5062 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5063 <kernel-features.h>.
5064 [__ASSUME_32BITUIDS]: Make code unconditional.
5065 [!__ASSUME_32BITUIDS]: Remove conditional code.
5066 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5067 <kernel-features.h>.
5068 [__ASSUME_32BITUIDS]: Make code unconditional.
5069 [!__ASSUME_32BITUIDS]: Remove conditional code.
5070 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5071 <kernel-features.h>.
5072 [__ASSUME_32BITUIDS]: Make code unconditional.
5073 [!__ASSUME_32BITUIDS]: Remove conditional code.
5074 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5075 <kernel-features.h>.
5076 [__ASSUME_32BITUIDS]: Make code unconditional.
5077 [!__ASSUME_32BITUIDS]: Remove conditional code.
5078 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5079 <kernel-features.h>.
5080 [__ASSUME_32BITUIDS]: Make code unconditional.
5081 [!__ASSUME_32BITUIDS]: Remove conditional code.
5082 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5083 <kernel-features.h>.
5084 [__NR_setresgid] (__setresgid): Do not declare.
5085 [__ASSUME_32BITUIDS]: Make code unconditional.
5086 [!__ASSUME_32BITUIDS]: Remove conditional code.
5087 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5088 <kernel-features.h>.
5089 [__NR_setresuid] (__setresuid): Do not declare.
5090 [__ASSUME_32BITUIDS]: Make code unconditional.
5091 [!__ASSUME_32BITUIDS]: Remove conditional code.
5092 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5093 <kernel-features.h>.
5094 [__ASSUME_32BITUIDS]: Make code unconditional.
5095 [!__ASSUME_32BITUIDS]: Remove conditional code.
5096 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5097 <kernel-features.h>.
5098 [__ASSUME_32BITUIDS]: Make code unconditional.
5099 [!__ASSUME_32BITUIDS]: Remove conditional code.
5100 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5101 <kernel-features.h>.
5102 [__ASSUME_32BITUIDS]: Make code unconditional.
5103 [!__ASSUME_32BITUIDS]: Remove conditional code.
5104 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5105 <kernel-features.h>.
5106 [__ASSUME_32BITUIDS]: Make code unconditional.
5107 [!__ASSUME_32BITUIDS]: Remove conditional code.
5108 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5109 <kernel-features.h>.
5110 [__ASSUME_32BITUIDS]: Make code unconditional.
5111 [!__ASSUME_32BITUIDS]: Remove conditional code.
5112 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5113 <kernel-features.h>.
5114 [__ASSUME_32BITUIDS]: Make code unconditional.
5115 [!__ASSUME_32BITUIDS]: Remove conditional code.
5116 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5117 <kernel-features.h>.
5118 [__ASSUME_32BITUIDS]: Make code unconditional.
5119 [!__ASSUME_32BITUIDS]: Remove conditional code.
5120 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5121 <kernel-features.h>.
5122 [__ASSUME_32BITUIDS]: Make code unconditional.
5123 [!__ASSUME_32BITUIDS]: Remove conditional code.
5124 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5125 <kernel-features.h>.
5126 [__ASSUME_32BITUIDS]: Make code unconditional.
5127 [!__ASSUME_32BITUIDS]: Remove conditional code.
5128 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5129 <kernel-features.h>.
5130 [__ASSUME_32BITUIDS]: Make code unconditional.
5131 [!__ASSUME_32BITUIDS]: Remove conditional code.
5132 * sysdeps/unix/sysv/linux/kernel-features.h
5133 (__ASSUME_SETRESUID_SYSCALL): Remove.
5134 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5135 (__ASSUME_32BITUIDS): Likewise.
5136 (__ASSUME_LDT_WORKS): Likewise.
5137 (__ASSUME_O_DIRECTORY): Likewise.
5138 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5139 architecture but not kernel version.
5140 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5141 (__ASSUME_MMAP2_SYSCALL): Likewise.
5142 (__ASSUME_STAT64_SYSCALL): Likewise.
5143 (__ASSUME_IPC64): Likewise.
5144 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5145 <kernel-features.h>.
5146 [__ASSUME_32BITUIDS]: Make code unconditional.
5147 [!__ASSUME_32BITUIDS]: Remove conditional code.
5148 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5149 <kernel-features.h>.
5150 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5151 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5152 132096]: Remove conditional code.
5153 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5154 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5155 <kernel-features.h>.
5156 [__ASSUME_32BITUIDS]: Make code unconditional.
5157 [!__ASSUME_32BITUIDS]: Remove conditional code.
5158 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5159 <kernel-features.h>.
5160 [__ASSUME_32BITUIDS]: Make code unconditional.
5161 [!__ASSUME_32BITUIDS]: Remove conditional code.
5162 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5163 <kernel-features.h>.
5164 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5165 unconditional.
5166 (__setresgid): Do not declare.
5167 [__ASSUME_32BITUIDS]: Make code unconditional.
5168 [!__ASSUME_32BITUIDS]: Remove conditional code.
5169 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5170 <kernel-features.h>.
5171 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5172 unconditional.
5173 (__setresuid): Do not declare.
5174 [__ASSUME_32BITUIDS]: Make code unconditional.
5175 [!__ASSUME_32BITUIDS]: Remove conditional code.
5176 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5177 <kernel-features.h>.
5178 [__ASSUME_32BITUIDS]: Make code unconditional.
5179 [!__ASSUME_32BITUIDS]: Remove conditional code.
5180 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5181 <kernel-features.h>.
5182 [__ASSUME_32BITUIDS]: Make code unconditional.
5183 [!__ASSUME_32BITUIDS]: Remove conditional code.
5184
a386f1cc
RH
51852012-05-25 Richard Henderson <rth@twiddle.net>
5186
5187 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5188 dl_hwcap to ifunc resolver.
5189 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5190 elf_ifunc_invoke.
5191 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5192 dl_hwcap to ifunc resolver.
5193 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5194
b6550497
JM
51952012-05-24 Joseph Myers <joseph@codesourcery.com>
5196
5197 [BZ #14153]
5198 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5199 for |x| <= 2**-26, not 2**-57.
5200 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5201 exception.
5202
b0bc23a1
JL
52032012-05-24 Jeff Law <law@redhat.com>
5204
5205 * stdio-common/Makefile (tests): Add bug25.
5206 * stdio-common/bug25.c: New test.
5207
347c92e9
L
52082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5209
5210 [BZ #13576]
5211 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5212 multiple of MALLOC_ALIGNMENT in size.
5213 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5214
6bcc8b3f
JM
52152012-05-24 Joseph Myers <joseph@codesourcery.com>
5216
5217 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5218 Require >= 256.
5219 (FILENAME_MAX): Use macro-int-constant.
5220 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5221 (_IOFBF): Use macro-int-constant.
5222 (_IOLBF): Likewise.
5223 (_IONBF): Likewise.
5224 (SEEK_CUR): Likewise.
5225 (SEEK_END): Likewise.
5226 (SEEK_SET): Likewise.
5227 (TMP_MAX): Likewise.
5228 (EOF): Use macro-int-constant. Require < 0.
5229 (NULL): Use macro-constant. Require == 0.
5230 (stdin): Require type to be FILE *.
5231 (stdout): Likewise.
5232 (stderr): Likewise.
5233 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5234 macro-int-constant.
5235 (EXIT_SUCCESS): Likewise.
5236 (NULL): Use macro-constant. Require == 0.
5237 (RAND_MAX): Use macro-int-constant.
5238 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5239 [C99-based standards] (strtof): Require function.
5240 [C99-based standards] (strtold): Likewise.
5241 [C99-based standards] (strtoll): Likewise.
5242 [C99-based standards] (strtoull): Likewise.
5243 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5244 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5245 [ISO || ISO99 || ISO11] (math.h): Likewise.
5246 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5247 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5248 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5249
d18ea0c5
AS
52502012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5251
5252 [BZ #14132]
56d25bb8
AS
5253 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5254 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5255 * intl/dgettext.c (DCGETTEXT): Likewise.
5256 * intl/gettext.c (DCGETTEXT): Likewise.
5257 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5258 * posix/regex_internal.h (gettext): Likewise.
5259 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5260 Remove declaration.
5261 * include/argz.h (__argz_count_internal)
5262 (__argz_stringify_internal): Remove declaration.
5263 (__argz_count, __argz_stringify): Declare hidden proto.
5264 * intl/dcgettext.c: Remove use of INTDEF.
5265 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5266 * string/argz-stringify.c: Likewise.
5267 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5268 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5269 Declare hidden proto.
d18ea0c5
AS
5270 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5271 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5272 Declare hidden proto.
5273 * include/stdio.h (__asprintf_internal): Don't declare.
5274 (__asprintf): Don't define as macro. Declare hidden proto.
5275 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5276 (__fsetlocking): Declare hidden proto.
5277 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5278 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5279 hidden proto.
5280 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5281 (_IO_setlinebuf): Remove use of INTUSE.
5282 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5283 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5284 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5285 Remove declaration.
5286 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5287 (_IO_do_flush): Remove use of INTUSE.
5288 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5289 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5290 (_IO_adjust_column, _IO_least_wmarker)
5291 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5292 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5293 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5294 (_IO_default_doallocate, _IO_wdefault_doallocate)
5295 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5296 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5297 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5298 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5299 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5300 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5301 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5302 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5303 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5304 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5305 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5306 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5307 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5308 proto.
5309 (_IO_flush_all_internal, _IO_adjust_column_internal)
5310 (_IO_default_uflow_internal, _IO_default_finish_internal)
5311 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5312 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5313 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5314 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5315 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5316 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5317 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5318 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5319 (_IO_file_close_internal, _IO_file_close_it_internal)
5320 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5321 (_IO_file_init_internal, _IO_file_attach_internal)
5322 (_IO_file_fopen_internal, _IO_file_read_internal)
5323 (_IO_file_sync_internal, _IO_file_seek_internal)
5324 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5325 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5326 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5327 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5328 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5329 (_IO_list_all_internal, _IO_link_in_internal)
5330 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5331 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5332 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5333 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5334 (_IO_do_write_internal, _IO_padn_internal)
5335 (_IO_getline_info_internal, _IO_getline_internal)
5336 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5337 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5338 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5339 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5340 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5341 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5342 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5343 with libc_hidden_ver, remove use of INTUSE.
5344 * libio/genops.c: Likewise.
5345 * libio/freopen.c: Likewise.
5346 * libio/freopen64.c: Likewise.
5347 * libio/iofclose.c: Likewise.
5348 * libio/iofdopen.c: Likewise.
5349 * libio/iofflush.c: Likewise.
5350 * libio/iofflush_u.c: Likewise.
5351 * libio/iofgets.c: Likewise.
5352 * libio/iofgets_u.c: Likewise.
5353 * libio/iofopen.c: Likewise.
5354 * libio/iofopncook.c: Likewise.
5355 * libio/iofread.c: Likewise.
5356 * libio/iofread_u.c: Likewise.
5357 * libio/ioftell.c: Likewise.
5358 * libio/iofwrite.c: Likewise.
5359 * libio/iogetline.c: Likewise.
5360 * libio/iogets.c: Likewise.
5361 * libio/iogetwline.c: Likewise.
5362 * libio/iopadn.c: Likewise.
5363 * libio/iopopen.c: Likewise.
5364 * libio/ioseekoff.c: Likewise.
5365 * libio/ioseekpos.c: Likewise.
5366 * libio/iosetbuffer.c: Likewise.
5367 * libio/iosetvbuf.c: Likewise.
5368 * libio/ioungetc.c: Likewise.
5369 * libio/ioungetwc.c: Likewise.
5370 * libio/iovdprintf.c: Likewise.
5371 * libio/iovsprintf.c: Likewise.
5372 * libio/iovsscanf.c: Likewise.
5373 * libio/memstream.c: Likewise.
5374 * libio/obprintf.c: Likewise.
5375 * libio/oldfileops.c: Likewise.
5376 * libio/oldiofclose.c: Likewise.
5377 * libio/oldiofdopen.c: Likewise.
5378 * libio/oldiofopen.c: Likewise.
5379 * libio/oldiopopen.c: Likewise.
5380 * libio/oldstdfiles.c: Likewise.
5381 * libio/putc.c: Likewise.
5382 * libio/setbuf.c: Likewise.
5383 * libio/setlinebuf.c: Likewise.
5384 * libio/stdfiles.c: Likewise.
5385 * libio/strops.c: Likewise.
5386 * libio/vasprintf.c: Likewise.
5387 * libio/vscanf.c: Likewise.
5388 * libio/vsnprintf.c: Likewise.
5389 * libio/vswprintf.c: Likewise.
5390 * libio/wfiledoalloc.c: Likewise.
5391 * libio/wfileops.c: Likewise.
5392 * libio/wgenops.c: Likewise.
5393 * libio/wmemstream.c: Likewise.
5394 * libio/wstrops.c: Likewise.
5395 * libio/__fpurge.c: Likewise.
5396 * libio/__fsetlocking.c: Likewise.
5397 * assert/assert.c: Likewise.
5398 * debug/fgets_chk.c: Likewise.
5399 * debug/fgets_u_chk.c: Likewise.
5400 * debug/fread_chk.c: Likewise.
5401 * debug/fread_u_chk.c: Likewise.
5402 * debug/gets_chk.c: Likewise.
5403 * debug/obprintf_chk.c: Likewise.
5404 * debug/vasprintf_chk.c: Likewise.
5405 * debug/vdprintf_chk.c: Likewise.
5406 * debug/vsnprintf_chk.c: Likewise.
5407 * debug/vsprintf_chk.c: Likewise.
5408 * malloc/mtrace.c: Likewise.
5409 * misc/error.c: Likewise.
5410 * misc/syslog.c: Likewise.
5411 * stdio-common/asprintf.c: Likewise.
5412 * stdio-common/fxprintf.c: Likewise.
5413 * stdio-common/getw.c: Likewise.
5414 * stdio-common/isoc99_fscanf.c: Likewise.
5415 * stdio-common/isoc99_scanf.c: Likewise.
5416 * stdio-common/isoc99_vfscanf.c: Likewise.
5417 * stdio-common/isoc99_vscanf.c: Likewise.
5418 * stdio-common/isoc99_vsscanf.c: Likewise.
5419 * stdio-common/printf-prs.c: Likewise.
5420 * stdio-common/printf_fp.c: Likewise.
5421 * stdio-common/printf_fphex.c: Likewise.
5422 * stdio-common/printf_size.c: Likewise.
5423 * stdio-common/putw.c: Likewise.
5424 * stdio-common/scanf.c: Likewise.
5425 * stdio-common/sprintf.c: Likewise.
5426 * stdio-common/tmpfile.c: Likewise.
5427 * stdio-common/vfprintf.c: Likewise.
5428 * stdio-common/vfscanf.c: Likewise.
5429 * stdlib/strfmon_l.c: Likewise.
5430 * sunrpc/openchild.c: Likewise.
5431 * sunrpc/xdr_stdio.c: Likewise.
5432 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5433 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5434
d6c33fda
RM
54352012-05-24 Roland McGrath <roland@hack.frob.com>
5436
c1487492
RM
5437 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5438
5439 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5440 in the third column, to generate for the shared library an IFUNC
5441 that uses _dl_vdso_vsym.
5442 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5443 * Makeconfig (object-suffixes-noshared): New variable.
5444
5445 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5446 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5447 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5448 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5449
d6c33fda
RM
5450 [BZ #14132]
5451 * include/sys/time.h (__gettimeofday): Remove macro.
5452 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5453 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5454 Remove INTDEF.
5455 (__gettimeofday): Add libc_hidden_def.
5456 (gettimeofday): Add libc_hidden_weak.
5457 * sysdeps/mach/gettimeofday.c: Likewise.
5458 * sysdeps/posix/gettimeofday.c: Likewise.
5459 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5460 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5461 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5462 (__gettimeofday_internal): Remove strong_alias.
5463 (__gettimeofday): Add libc_hidden_def.
5464 (gettimeofday): Add libc_hidden_weak.
5465 * sysdeps/unix/syscalls.list (gettimeofday):
5466 Remove __gettimeofday_internal alias.
5467
b5a2bbe6
L
54682012-05-24 Daniel Jacobowitz <drow@false.org>
5469 H.J. Lu <hongjiu.lu@intel.com>
5470
5471 [BZ #12495]
5472 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5473 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5474 (largebin_index_32_big): New.
5475 (largebin_index): Use it for 16-byte alignment.
5476 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5477 correction with front_misalign.
5478
cfba4fda
L
54792012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5480
7f907421
L
5481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5483 Likewise.
5484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5485 Likewise.
5486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5487 Likewise.
5488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5489 Likewise.
5490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5491 Likewise.
5492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5493 Likewise.
5494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5495 Likewise.
5496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5497 Likewise.
5498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5499 Likewise.
5500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5501 Likewise.
5502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5503 Likewise.
5504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5505 Likewise.
5506
cfba4fda
L
5507 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5508 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5509
80bad0cc
JM
55102012-05-24 Joseph Myers <joseph@codesourcery.com>
5511
7a25eb06
JM
5512 [BZ #10846]
5513 [BZ #14036]
5514 * math/libm-test.inc (exp_test): Add test from bug 14036.
5515 (pow_test): Add test from bug 10846.
5516
795405f9
JM
5517 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5518 and other flags.
5519 (special_function): Do not include flags in test name.
5520 (parse_args): Likewise.
5521 * sysdeps/i386/fpu/libm-test-ulps: Update.
5522 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5523 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5524 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5526
80bad0cc
JM
5527 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5528 exceptions.
5529 * math/libm-test.inc ("Philosophy"): Update comment about
5530 exception testing.
5531 (UNDERFLOW_EXCEPTION): New macro.
5532 (UNDERFLOW_EXCEPTION_OK): Likewise.
5533 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5534 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5535 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5536 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5537 (INVALID_EXCEPTION_OK): Update value.
5538 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5539 (OVERFLOW_EXCEPTION_OK): Likewise.
5540 (IGNORE_ZERO_INF_SIGN): Likewise.
5541 (test_exceptions): Handle underflow exceptions.
5542 (acos_test): Update for underflow exception expectations.
5543 (cexp_test): Likewise.
5544 (clog_test): Likewise.
5545 (clog10_test): Likewise.
5546 (csqrt_test): Likewise.
5547 (ctan_test): Likewise.
5548 (ctanh_test): Likewise.
5549 (exp_test): Likewise.
5550 (exp10_test): Likewise.
5551 (exp2_test): Likewise.
5552 (expm1_test): Likewise.
5553 (fma_test): Likewise.
5554 (j0_test): Likewise.
5555 (jn_test): Likewise.
5556 (nexttoward_test): Likewise.
5557 (pow_test): Likewise.
5558 (scalbn_test): Likewise.
5559 (scalbln_test): Likewise.
5560 (tan_test): Likewise.
5561 (y1_test): Likewise.
5562 * sysdeps/i386/fpu/libm-test-ulps: Update.
5563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5564
9e0e3d0b
DM
55652012-05-23 David S. Miller <davem@davemloft.net>
5566
5567 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5568 (__libc_sigaction): Remove unused local variables.
5569
ccd0a08f
L
55702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5571
5572 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5573
62bdf9a6
PE
55742012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5575
f8591f80
PE
5576 mktime: avoid signed integer overflow
5577 * time/mktime.c (__mktime_internal): Do not mishandle the case
5578 where diff == INT_MIN.
5579
94c7d826
PE
5580 mktime: simplify computation of average
5581 * time/mktime.c (ranged_convert): Use new time_t_avg function
5582 instead of rolling our own (probably-slower) code.
5583
ce73d683
PE
5584 mktime: do not assume signed right shift propagates sign bit
5585 * time/mktime.c (isdst_differ): New static function.
5586 (__mktime_internal): No need to normalize tm_isdst now.
5587 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5588 tm_isdst values.
5589
72a22e59
PE
5590 mktime: merge another wrapv change from gnulib
5591 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5592 from some compilers.
5593
68605433
PE
5594 mktime: remove incorrect attempt at unusual arithmetics
5595 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5596 The code didn't really work on such machines anyway.
5597 (TYPE_MINIMUM): Assume two's complement.
5598 (twos_complement_arithmetic): Verify that long_int and time_t
5599 are two's complement (or unsigned, in the latter case).
5600
03cf7fe3
PE
5601 mktime: check signed shifts on long_int and time_t, too
5602 * time/mktime.c (SHR): Check that shifts work as desired
5603 on the types long_int and time_t too, as SHR is used on
5604 such types.
5605
f04dfbc2
PE
5606 mktime: do not assume 'long' is wide enough
5607 * time/mktime.c (verify): Move decl up.
5608 (long_int): New type.
5609 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5610 to remove assumption in the code that 'long' is wide enough to
5611 store year values. This assumption is not true on x32 and on
5612 some non-glibc platforms.
5613
62bdf9a6
PE
5614 mktime: merge wrapv change from gnulib
5615 * time/mktime.c (WRAPV): New macro.
5616 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5617 (guess_time_tm, __mktime_internal): Do not assume that signed
5618 integer overflow wraps around; modern compilers generate code
5619 where this assumption is no longer valid.
5620
5e292e4f
L
56212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5622
5623 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5624 Replace "jmp L(pseudo_end)" with "ret".
5625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5626 Likewise.
5627
8caf8c87
AJ
56282012-05-23 Andreas Jaeger <aj@suse.de>
5629
5630 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5631 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5632
1a09dc56
AJ
56332012-05-23 Andreas Jaeger <aj@suse.de>
5634 Maximilian Attems <max@stro.at>
5635
5636 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5637 New macros.
5638
1c87aba0
L
56392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5640
5641 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5642 code so that pseudo_end is just ret and the stack pointer is
5643 correct also for static library in error case.
5644
40e45bd5
JM
56452012-05-23 Joseph Myers <joseph@codesourcery.com>
5646
c2670533
JM
5647 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5648 move to syscalls.list.
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5653
40e45bd5
JM
5654 * manual/install.texi (Running make install): Do not mention Linux
5655 kernel version for which pt_chown is not needed.
5656 (Linux): Do not mention problems with nscd with 2.0 kernels.
5657 * INSTALL: Regenerated.
5658
be08eda5
AJ
56592012-05-23 Andreas Jaeger <aj@suse.de>
5660
5661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5662 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5663 macro.
5664 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5665 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5666 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5667 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5668 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5669 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5670 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5671 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5672 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5673 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5674 * sysdeps/unix/sysv/linux/bits/in.h
5675 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5676
a6a056bb
RM
56772012-05-22 Roland McGrath <roland@hack.frob.com>
5678
5679 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5680 (PREPARE_VERSION): Just use assert instead, it will be elided
5681 under [NDEBUG] anyway.
5682
c9009328
L
56832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5684
5685 * sysdeps/unix/sysv/linux/Makefile: Include
5686 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5687 (sysdep_routines): Remove sysctl.
c9009328
L
5688 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5689 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5690 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5691 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5692 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5693
73338355
AJ
56942012-05-22 Andreas Jaeger <aj@suse.de>
5695
5696 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5697 that pseudo_end is just ret and the stack pointer is correct also
5698 for static library in error case.
5699
d44638b0
PP
57002012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5701
5702 [BZ #14122]
5703 * nss/nsswitch.c (defconfig_entries): New variable.
5704 (__nss_database_lookup): Don't leak defconfig entries.
5705 (nss_parse_service_list): Don't leak on error paths.
5706 (free_database_entries): New function.
5707 (free_defconfig): New function.
5708 (free_mem): Move common code to free_database_entries.
5709
31a39bd8
L
57102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5711
da0331a8
L
5712 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5713 Add arch_prctl.
5714 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5715
31a39bd8
L
5716 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5717 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5719 New macro.
5720 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5721 (INTERNAL_SYSCALL_TYPES): Likewise.
5722 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5723 (LOAD_REGS_TYPES_[1-6]): Likewise.
5724 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5725 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5726
45470df3
AZ
57272012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5728
5729 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5730 copysignl for GLIBC_2_0.
5731 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5732 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5734 logbl for GLIBC_2_0.
5735 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5736 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5737
98a61bcb
L
57382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5739
a4f6e481
L
5740 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5741 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5742
f63d5db6
L
5743 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5744 Use "neg %eax".
5745
98a61bcb
L
5746 * time/mktime.c: Update copyright years.
5747
95770f14
PE
57482012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5749
6226efbd
PE
5750 mktime: merge comment-quoting-style change from gnulib
5751 * time/mktime.c: Quote 'like this' in comments.
5752 The GNU coding standards suggest that we no longer quote `like this',
5753 as "`" and "'" are typically rendered asymmetrically nowadays.
5754 The typical gnulib style is to quote 'like this' when quoting
5755 code, and "like this" when quoting English.
5756
b99e4f78
PE
5757 * time/mktime.c (compile-command): Add "-I.".
5758
643e01e6
PE
5759 mktime: merge mktime-internal.h change from gnulib
5760 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5761
2554247d
PE
5762 mktime: merge time_r change from gnulib
5763 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5764
826dd0ab
PE
5765 mktime: merge DEBUG change from gnulib
5766 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5767 case system <time.h> has a #define.
5768
bd83aabe
PE
5769 mktime: merge <sys/types.h> change from gnulib
5770 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5771 since <time.t> is now guaranteed to define time_t.
5772
95770f14
PE
5773 mktime: merge HAVE_CONFIG_H change from gnulib
5774 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5775
5e1a27a9
L
57762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5777
0e44a77e
L
5778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5779 Use "neg %eax".
5780
5e1a27a9
L
5781 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5782 __rlim_t cast.
5783 (struct rusage): Use anonymous union to pad each field to
5784 __syscall_slong_t.
5785
46259bec
DM
57862012-05-21 David S. Miller <davem@davemloft.net>
5787
5788 * Makefules (o-iterator): Remove .s cases.
5789 (compile-command.s): Delete.
5790 (COMPILE.s): Delete.
5791 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5792
59f0c22e
JM
57932012-05-21 Joseph Myers <joseph@codesourcery.com>
5794
5795 * configure.in (libc_cv_predef_stack_protector): Only consider
5796 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5797 * configure: Regenerated.
5798
20c07380
L
57992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5800
bbb3154b
L
5801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5802 New macro. Use R*LP on int and pointer.
5803 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5804 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5805 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5806 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5807
20c07380
L
5808 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5809 [__WORDSIZE_TIME64_COMPAT32] instead of
5810 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5811 (struct utmp): Likewise.
5812 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5813 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5814 Renamed to ...
5815 (__WORDSIZE_TIME64_COMPAT32): This.
5816 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5817 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5818 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5819 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5820 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5821 (__WORDSIZE_TIME64_COMPAT32): New macro.
5822
d8d1017e
AJ
58232012-05-21 Andreas Jaeger <aj@suse.de>
5824
5825 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5826 only if [SHARED]. Add prototype for __wcschr_ia32.
5827
6c7fb145
RM
58282012-05-21 Roland McGrath <roland@hack.frob.com>
5829
5830 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5831 of %rbp unmolested in the jmp_buf while mangling the low bits.
5832 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5833 unmolested high bits of %rbp while demangling the low bits.
5834 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5835
66274218
AJ
58362012-05-21 Andreas Jaeger <aj@suse.de>
5837
07c58f8f
AJ
5838 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5839 * sunrpc/svc_simple.c: Use it for registerrpc.
5840 * sunrpc/xcrypt.c: Use it for passwd2des.
5841
66274218
AJ
5842 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5843
61f65140
L
58442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5845
5846 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5847 Don't define if [__SYSCALL_WORDSIZE != 32].
5848 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5849 New macro.
5850
5fefb436
AJ
58512012-05-21 Bruno Haible <bruno@clisp.org>
5852 Andreas Jaeger <aj@suse.de>
5853
5854 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5855 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5856 inptr and inend for must_buffer_ch.
5857 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5858 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5859 * stdio-common/Makefile (tests): Remove bug15.
5860 (bug15-ENV): Remove macro.
5861 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5862 anymore.
5863
d8e272ab
AJ
58642012-05-19 Andreas Jaeger <aj@suse.de>
5865 Roland McGrath <roland@hack.frob.com>
5866
5867 * manual/contrib.texi: Completely rewritten. It contains now an
5868 alphabetical list of contributors and their contributions.
5869
4a56a162
RH
58702012-05-21 Richard Henderson <rth@twiddle.net>
5871
5872 * misc/getauxval.c (__getauxval): Use unsigned long int.
5873 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5874 (getauxval): Use unsigned long int.
5875
d024d23c
L
58762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5877
5878 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5879
cbc00a03
RM
58802012-05-21 Roland McGrath <roland@hack.frob.com>
5881
5882 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5883 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5884 __alignof__ (long double).
5885
478143fa
AZ
58862012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5887
5888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5889
c7683a6d
RH
58902012-05-20 Richard Henderson <rth@twiddle.net>
5891
5892 * misc/getauxval.c: New file.
5893 * misc/sys/auxv.h: New file.
5894 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5895 (routines): Add getauxval.
5896 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5897 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5898 * elf/dl-sysdep.c (_dl_auxv): Remove.
5899 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5900 * elf/dl-support.c (_dl_auxv): New variable.
5901 (_dl_aux_init): Initialize it.
5902 * manual/startup.texi (Auxiliary Vector): New node.
5903 * sysdeps/generic/bits/hwcap.h: New file.
5904 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5905 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5906 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5907 * sysdeps/sparc/sysdep.h: ... here. Include it.
5908 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5909 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5911 Update.
c7683a6d
RH
5912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5915 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5920
a6f1845d
AZ
59212012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5922
5923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5924
cbcbe830
DM
59252012-05-19 David S. Miller <davem@davemloft.net>
5926
5927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5928
e0b16cc2
JM
59292012-05-19 Joseph Myers <joseph@codesourcery.com>
5930
5931 [BZ #14123]
5932 * math/s_ccosh.c: Include <float.h>
5933 (__ccosh): Avoid internal overflow calculating sinh and cosh
5934 values before multiplying by sin and cos values.
5935 * math/s_ccoshf.c: Likewise.
5936 * math/s_ccoshl.c: Likewise.
5937 * math/s_csin.c: Likewise.
5938 * math/s_csinf.c: Likewise.
5939 * math/s_csinl.c: Likewise.
5940 * math/s_csinh.c: Likewise.
5941 * math/s_csinhf.c: Likewise.
5942 * math/s_csinhl.c: Likewise.
5943 * math/libm-test.inc (ccos_test): Add more tests.
5944 (ccosh_test): Likewise.
5945 (csin_test): Likewise.
5946 (csinh_test): Likewise.
5947 * sysdeps/i386/fpu/libm-test-ulps: Update.
5948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5949
6ad13e08
L
59502012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5951
f66f0ce8
L
5952 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5953 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5954
6ad13e08
L
5955 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5956
b1d072a7
JM
59572012-05-19 Joseph Myers <joseph@codesourcery.com>
5958
5959 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5960 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5961 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5962 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5963 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5964 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5965 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5966 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5967 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5968 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5969 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5970 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5971 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5972 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5973 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5974 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5975 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5976 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5977 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5978 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5979 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5980 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5981 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5982 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5983 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5984 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5985 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5986 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5987 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5988 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5989 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5990
9eae47cb
AJ
59912012-05-18 Andreas Jaeger <aj@suse.de>
5992
5993 * csu/.gitignore: Delete.
5994
bb07f69f
L
59952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5996
5997 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5998 (timex): Use __syscall_slong_t.
5999
e6bdb741
AJ
60002012-05-18 Andreas Jaeger <aj@suse.de>
6001 Carlos O'Donell <carlos_odonell@mentor.com>
6002
6003 * manual/install.texi (Configuring and compiling): Update
6004 description about files modified in the source directory.
d6c33fda 6005 * INSTALL: Regenerated.
e6bdb741 6006
1b74487e
L
60072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6008
6009 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6010 value. Use "or" to set return value to -1.
6011 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6012 negate return value.
6013
a88b64b9
TMQMF
60142012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6015
6016 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6017 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6018 failure if the compiler has Graphite support disabled.
6019 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6020 Likewise.
6021 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6022 CFLAGS-memmove.c): Likewise.
6023 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6024 Likewise.
6025
3707636e
L
60262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6027
610b8622
L
6028 * sysdeps/x86_64/x32/_itoa.h: New file.
6029
7cd195df
L
6030 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6031 getdents system call only if kernel and user dirents have the
6032 same d_ino and d_off.
6033
94b07d20
L
6034 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6035 LLONG_MAX != LONG_MAX.
6036 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6037 (_fitoa_word): Likewise.
6038
18298070
L
6039 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6040 years.
6041 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6042 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6043 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6044
553c7ea4
L
6045 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6046 include <bits/wordsize.h>. Check __x86_64__ instead of
6047 __WORDSIZE.
6048 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6049 if __x86_64__ is defined. Use anonymous union on fpstate.
6050
3707636e
L
6051 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6052 anonymous union.
6053
b53ef01a
AS
60542012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6055
37fb1dc0
AS
6056 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6057 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6058 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6059 Refer to _rtld_local_ro instead of _rtld_global_ro.
6060 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6061 Likewise.
6062 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6063 Likewise.
6064 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6065 Likewise.
6066 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6067 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6068 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6069
b53ef01a
AS
6070 * sysdeps/powerpc/powerpc32/dl-machine.c
6071 (__elf_machine_runtime_setup) [PROF]: Don't reference
6072 _dl_prof_resolve.
6073
7a185db2
AJ
60742012-05-18 Andreas Jaeger <aj@suse.de>
6075
6076 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6077 function only available for GCCs before 3.4 since GCC 3.4
6078 introduced a builtin.
6079 (lrint): Likewise.
6080 (llrintf): Likewise.
6081 (llrint): Likewise.
6082 (fmaxf): Likewise.
6083 (fmax): Likewise.
6084 (fminf): Likewise.
6085 (fmin): Likewise.
6086 (rint): Likewise.
6087 (rintf): Likewise.
6088 (nearbyint): Likewise.
6089 (nearbyintf): Likewise.
6090 (ceil): Likewise.
6091 (ceilf): Likewise.
6092 (floor): Likewise.
6093 (floorf): Likewise.
6094
3e5aef87
L
60952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6096
428bd707
L
6097 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6098 on both fields and cast pointer to __syscall_ulong_t.
6099
3e5aef87
L
6100 * bits/types.h (__fsword_t): New type.
6101 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6102 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6103 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6104 (__FSWORD_T_TYPE): Likewise.
6105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6106 (__FSWORD_T_TYPE): Likewise.
6107 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6108 (__FSWORD_T_TYPE): Likewise.
6109 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6110 (__FSWORD_T_TYPE): Likewise.
6111 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6112 __SWORD_TYPE with __fsword_t.
6113 (statfs64): Likewise.
6114
1ba7c3dc
DM
61152012-05-17 David S. Miller <davem@davemloft.net>
6116
6117 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6118
59910343
AJ
61192012-05-17 Andreas Jaeger <aj@suse.de>
6120
6121 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6122 warning.
6123
2e4c1e9e
L
61242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6125
6126 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6127
de7f5ce7
AJ
61282012-05-17 Andreas Jaeger <aj@suse.de>
6129
6130 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6131 when it is used.
6132
286abc3d
CM
61332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6134
6135 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6136
477cc68e
L
61372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6138
6139 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6140 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6141
1a0994f5
CD
61422012-05-17 Andreas Jaeger <aj@suse.de>
6143 Carlos O'Donell <carlos_odonell@mentor.com>
6144
6145 [BZ #14059]
6146 * sysdeps/x86_64/multiarch/init-arch.h
6147 (bit_YMM_Usable): Rename to...
6148 (bit_AVX_Usable): ... this.
6149 (bit_FMA4_Usable): New macro.
6150 (bit_XMM_state): New macro.
6151 (bit_YMM_state): New macro.
6152 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6153 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6154 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6155 (CPUID_OSXSAVE): New macro.
6156 (CPUID_AVX): New macro.
6157 (CPUID_FMA4): New macro.
6158 (index_YMM_Usable): Rename to...
6159 (index_AVX_Usable): ... this.
6160 (HAS_AVX): Use HAS_ARCH_FEATURE.
6161 (HAS_FMA4): Likewise.
6162 (HAS_YMM_USABLE): Remove.
6163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6164 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6165 are present.
6166 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6167 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6168 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6169 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6170 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6171
0af797de
CM
61722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6173
6174 * math/libm-test.c: Support platforms without multiple rounding modes.
6175 * math/bug-nextafter.c: Support platforms without FP exceptions.
6176 * math/bug-nexttoward.c: Likewise.
6177 * math/test-fenv.c: Likewise.
6178 * math/test-misc.c: Likewise.
6179 * stdlib/bug-getcontext.c: Likewise.
6180
e39745ff
AJ
61812012-05-17 Andreas Jaeger <aj@suse.de>
6182
6183 * manual/examples/search.c (critter_cmp): Change signature to
6184 avoid warnings.
6185 * manual/string.texi (Collation Functions): Likewise.
6186
48970aba
L
61872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6188
6189 * bits/types.h: Fold copyright years.
6190 * bits/typesizes.h: Likewise.
6191 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6195 * time/time.h: Likewise.
6196
bedee953
PP
61972012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6198
6199 [BZ #208]
6200 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6201 in instead of returning them. Return void.
6202 (__libc_mallinfo): Accumulate over all arenas.
6203 (__malloc_stats): Adjust for change in int_mallinfo interface.
6204
61653dfb
RM
62052012-05-16 Roland McGrath <roland@hack.frob.com>
6206
30b99d79
RM
6207 [BZ #10375]
6208 * configure.in (NM): Add AC_CHECK_TOOL for it.
6209 (libc_extra_cflags): New substituted variable.
6210 Check for -fstack-protector being used implicitly.
6211 * configure: Regenerated.
6212 * config.make.in (config-extra-cflags): New variable,
6213 gets @libc_extra_cflags@.
6214 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6215
61653dfb
RM
6216 [BZ #10375]
6217 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6218 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6219 * configure: Regenerated.
6220 * config.make.in (CPPUNDEFS): New substituted variable.
6221 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6222 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6223 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6224
661768bb
L
62252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6226
6227 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6228 (mq_attr): Use __syscall_slong_t.
6229
d4261567
L
62302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6231
6232 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6233 Check __x86_64__ instead of __WORDSIZE.
6234 (_STAT_VER_LINUX): Likewise.
6235 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6236 __syscall_ulong_t and __syscall_slong_t.
6237 (stat64): Likewise.
6238
cf3ff365
L
62392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6240
6241 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6242
76cf3e4d
L
62432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6244
6245 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6246
a637753a
L
62472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6248
6249 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6250 __syscall_ulong_t.
6251
d5e05119
L
6252 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6253 include <bits/wordsize.h>. Check __x86_64__ instead of
6254 __WORDSIZE.
6255 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6256 defined.
6257 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6258
f62ee380
L
6259 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6260 include <bits/wordsize.h>. Check __x86_64__ instead of
6261 __WORDSIZE.
6262 (user_regs_struct): Use "__extension__ unsigned long long"
6263 instead of "unsigned long" if __x86_64__ is defined.
6264 (user): Likewise. Pad after pointer field if __ILP32__ is
6265 defined.
6266
4e124ced
JM
62672012-05-16 Joseph Myers <joseph@codesourcery.com>
6268
6a3951a0
JM
6269 * configure.in (makeinfo): Require version 4.5 or later. Allow
6270 versions 5 to 9.
6271 * configure: Regenerated.
6272 * manual/install.texi (texinfo): Increase version requirement to
6273 4.5 or later.
6274 * INSTALL: Regenerated.
6275
4e124ced
JM
6276 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6277
953ca31a
L
62782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6279
6280 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6281
617aca05
L
6282 * sysdeps/x86_64/x32/ffs.c: New file.
6283
5762f7ae
L
6284 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6285 __syscall_ulong_t.
6286 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6287 defined. Use __syscall_ulong_t.
6288 (shminfo): Use __syscall_ulong_t.
6289 (shm_info): Likewise.
6290
a26b6856
L
6291 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6292 __syscall_ulong_t.
6293
cb2b9ef7
L
6294 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6295 <bits/wordsize.h>.
6296 (msgqnum_t): Use __syscall_ulong_t.
6297 (msglen_t): Likewise.
6298 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6299 __syscall_ulong_t.
6300
34683bb0
L
6301 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6302 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6303
84a68786
L
6304 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6305
48baa5f1
L
6306 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6307 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6308
180be88b
L
6309 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6310 __syscall_slong_t.
6311
5e90c8ad
L
6312 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6313 include <bits/wordsize.h>. Check __x86_64__ instead of
6314 __WORDSIZE.
6315
23dfb58b
L
6316 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6317 "unsigned long long int" if __x86_64__ is defined.
6318 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6319
ce5d54b0
L
6320 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6321 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6322 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6323
13dc9eac
L
6324 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6325 <stdint.h>.
6326 (GET_PC): Cast to uintptr_t first.
6327 (GET_FRAME): Likewise.
6328 (GET_STACK): Likewise.
6329
a7895d15
L
6330 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6331 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6332 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6333 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6334 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6335 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6336 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6337 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6338 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6339 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6340 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6341 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6342 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6343 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6344 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6345 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6346 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6347 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6348 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6349 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6350 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6351 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6352 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6353 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6354 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6355 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6356 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6357 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6358 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6359
656416c9
AS
63602012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6361
5bd66283
AS
6362 * Makerules (+depfiles): Also collect depfiles from .oS in
6363 $(extra-objs).
6364 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6365 .oS, $(libnldbl-routines)).
6366
656416c9
AS
6367 * Makerules (native-compile-mkdep-flags): Define.
6368 * sunrpc/Makefile (extra-objs): Add $(addprefix
6369 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6370 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6371 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6372 calling $(make-target-directory).
6373
a46f2169
L
63742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6375
6376 * bits/types.h (__snseconds_t): Removed.
6377 * time/time.h (struct timespec): Replace __snseconds_t with
6378 __syscall_slong_t.
6379 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6380 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6381 Likewise.
6382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6383 (__SNSECONDS_T_TYPE): Likewise.
6384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6385 (__SNSECONDS_T_TYPE): Likewise.
6386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6387 (__SNSECONDS_T_TYPE): Likewise.
6388
6af6528b
L
63892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6390
6391 * sysdeps/mach/hurd/bits/typesizes.h
6392 (__SYSCALL_SLONG_TYPE): New macro.
6393 (__SYSCALL_ULONG_TYPE): Likewise.
6394
de986b56
L
63952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6396
6397 * bits/types.h (__syscall_slong_t): New type.
6398 (__syscall_ulong_t): Likewise.
6399
6400 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6401 (__SYSCALL_ULONG_TYPE): Likewise.
6402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6403 (__SYSCALL_SLONG_TYPE): Likewise.
6404 (__SYSCALL_ULONG_TYPE): Likewise.
6405 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6406 (__SYSCALL_SLONG_TYPE): Likewise.
6407 (__SYSCALL_ULONG_TYPE): Likewise.
6408 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6409 (__SYSCALL_SLONG_TYPE): Likewise.
6410 (__SYSCALL_ULONG_TYPE): Likewise.
6411
85736dc7
L
64122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6413
6414 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6415 Add sigaltstack-offsets.sym.
6416 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6417 <sigaltstack-offsets.h>.
6418 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6419 longjmp_msg pointer.
6420 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6421 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6422 signal stack.
6423 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6424
cc03b296
JM
64252012-05-15 Joseph Myers <joseph@codesourcery.com>
6426
a9538892
JM
6427 * elf/stackguard-macros.h: Remove file.
6428 * sysdeps/generic/stackguard-macros.h: New file.
6429 * sysdeps/i386/stackguard-macros.h: Likewise.
6430 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6431 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6432 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6433 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6434 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6435 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6436 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6437 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6438 <elf/stackguard-macros.h>.
6439
cc03b296
JM
6440 [BZ #14109]
6441 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6442 __aligned__ in attribute.
6443 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6444 (gregset_t): Likewise.
6445
93171016
L
64462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6447
6448 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6449 * sysdeps/x86_64/64/Implies-after: Here. New file.
6450 * sysdeps/x86_64/x32/Implies-after: New file.
6451
d86813a0
L
64522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6453
6454 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6455 and access return value for _dl_profile_fixup. Use R10_LP to
6456 load frame size.
6457
2953ec75
L
64582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6459
6460 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6461
3b550e9e
L
64622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6463
6464 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6465 * sysdeps/x86_64/x32/sysdep.h: New file.
6466
eda41706
L
64672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6468
6469 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6470 * sysdeps/x86_64/setjmp.S: Likewise.
6471
9ea01d93
AZ
64722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6473
6474 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6475 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6476 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6477 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6478 remove unused global constant.
6479
02a91938
CM
64802012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6481
6482 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6483 include of <not-cancel.h>.
6484
6540185f
RM
64852012-05-15 Roland McGrath <roland@hack.frob.com>
6486
6487 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6488
509072a0
AJ
64892012-05-15 Jeff Law <law@redhat.com>
6490 Andreas Jaeger <aj@suse.de>
6491
6492 [BZ #13594]
6493 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6494 out from...
6495 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6496 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6497 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6498 code changing __hst_map_handle.map.
6499
ba75122d
RM
65002012-05-15 Roland McGrath <roland@hack.frob.com>
6501
6502 * configure.in (sysnames): Look for Implies-before and Implies-after
6503 files.
6504 * configure: Regenerated.
6505
890d8bd8
L
65062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6507
6508 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6509 8-byte data alignment with LP_SIZE alignment.
6510
f6ee6623
L
65112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6512
6513 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6514 into R10_LP.
6515
ea2626f6
L
65162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6517
6518 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6519
085f715e
L
65202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6521
6522 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6523 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6524 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6525 Likewise.
6526 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6527
be8498fc
L
65282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6529
6530 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6531 (stackinfo_sub_sp): Likewise.
6532
70bc83b9
L
65332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6534
6535 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6536 RAX_LP.
6537
9bc0b730
L
65382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6539
6540 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6541 into R*_LP.
6542
6d2850e7
L
65432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6544
6545 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6546 sizes into R*_LP.
6547
3cb84561
L
65482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6549
6550 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6551
54e2ed81
L
65522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6553
6554 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6555 into R11_LP and load __x86_64_shared_cache_size_half into
6556 R8_LP.
6557
8a17f349
L
65582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6559
6560 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6561 R8_LP.
6562
777b1eea
AZ
65632012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6564
6565 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6566 logb for POWER7.
6567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6568 logbf for POWER7.
6569 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6570 logbl for POWER7.
6571 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6572 powerpc32/power7/fpu/s_logb.c via #include.
6573 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6574 powerpc32/power7/fpu/s_logbf.c via #include.
6575 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6576 powerpc32/power7/fpu/s_logbl.c via #include.
6577
d20d4ac2
JM
65782012-05-15 Joseph Myers <joseph@codesourcery.com>
6579
6580 * README.libm: Remove file.
6581
6cdef1ab
L
65822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6583
6584 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6585 count for x32. Use R*_LP and omit operand-size suffix.
6586
0b254d8f
L
65872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6588
6589 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6590 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6591 * sysdeps/x86_64/x32/shlib-versions: New file.
6592
ceb809dc
RM
65932012-05-14 Roland McGrath <roland@hack.frob.com>
6594
6595 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6596 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6597 Use _dl_fatal_printf instead.
6598
37f1abd4
JM
65992012-05-14 Joseph Myers <joseph@codesourcery.com>
6600
6601 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6602 set if not set by the user. Do not allow for being unset.
6603 * sysdeps/unix/sysv/linux/configure: Regenerated.
6604
11de3a33
L
66052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6606
6607 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6608 the `q' suffix from lea and replace .quad with ASM_ADDR.
6609
e02f153a
L
66102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6611
6612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6613 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6614 instead of $17.
6615 (PTR_DEMANGLE): Likewise.
6616
520ae0fd
L
66172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6618
6619 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6620 (LP_OP): Likewise.
6621 (ASM_ADDR): Likewise.
6622 (RAX_LP): Likewise.
6623 (RBP_LP): Likewise.
6624 (RBX_LP): Likewise.
6625 (RCX_LP): Likewise.
6626 (RDI_LP): Likewise.
6627 (RSI_LP): Likewise.
6628 (RSP_LP): Likewise.
6629 (R8_LP): Likewise.
6630 (R9_LP): Likewise.
6631 (R10_LP): Likewise.
6632 (R10_LP): Likewise.
6633 (R11_LP): Likewise.
6634 (R12_LP): Likewise.
6635 (R13_LP): Likewise.
6636 (R14_LP): Likewise.
6637 (R15_LP): Likewise.
6638
b985be81
L
66392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6640
6641 * sysdeps/x86_64/x32/dl-machine.h: New file.
6642
6a4888ff
AJ
66432012-05-14 Andreas Jaeger <aj@suse.de>
6644
6645 * manual/Makefile (subdir): Remove export of subdir.
6646 (all): Remove target.
6647 (.PHONY): Remove all from list.
6648 (mkinstalldirs): Remove.
6649 (.PHONY): Remove installdirs from list.
6650 ($(inst_infodir)/libc.info): Use make-target-directory.
6651 (installdirs): Remove.
6652 (subdir_%): Remove.
6653 (glibc-targets): Remove.
6654 (lib): Remove.
6655 (stubs): Remove.
6656 ($(objpfx)stubs ../po/manual.pot): Remove.
6657 ($(objpfx)stamp%): Remove.
6658 (make-target-directory): Remove.
6659 (subdir_install): Remove.
6660 (routines): Remove.
6661 (aux): Remove.
6662 (sources): Remove.
6663 (objects): Remove.
6664 (headers): Remove.
6665
6666 [BZ #13750]
6667 * manual/.gitignore: Remove, it's not needed anymore.
6668 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6669 all files in it.
6670 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6671 directory.
6672 (texis): Renamed to $(objpfx)texis.
6673 (texis-path): New, contains path to generated files.
6674 (chapters.%): Use texis-path for complete path, add extra argument
6675 libc-texinfo.sh.
6676 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6677 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6678 (summary,texi, stamp-summary): Use complete path of
6679 files. Generate files in build dir.
6680 (dir-add.texi): Build in build dir.
6681 (libm-err.texi,stamp-libm-err): Likewise.
6682 (version.texi, stamp-version): Likewise.
6683 (.%c.texi): Likewise.
6684 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6685 (mostlyclean): Remove target.
6686 (realclean): Remove target.
6687 (generated): Add new variable with contents from mostlyclean and
6688 realclean, remove entries duplicated in common-mostlyclean, add
6689 stamp-libm-err and stamp-version.
6690 (generated-dirs): Add libc directory.
6691 ($(inst_infodir)/libc.info): Install files from build dir.
6692
6693 * manual/install.texi (Configuring and compiling): Adjust since
6694 the info files are not part of the tar ball anymore.
6695
7ac77294
AJ
66962012-05-14 Andreas Jaeger <aj@suse.de>
6697
6698 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6699 variable.
6700
ffb7875d
JM
67012012-05-14 Joseph Myers <joseph@codesourcery.com>
6702
6703 [BZ #13717]
6704 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6705 to 2.2.0 where earlier.
6706 * sysdeps/unix/sysv/linux/configure: Regenerated.
6707 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6708 Remove conditional code.
6709 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6710 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6711 Remove conditional code.
6712 [!__NR_lchown]: Likewise.
6713 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6714 [__NR_lchown]: Likewise.
6715 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6716 comment referencing __ASSUME_LCHOWN_SYSCALL.
6717 * sysdeps/unix/sysv/linux/i386/sigaction.c
6718 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6719 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6720 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6721 Remove conditional code.
6722 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6723 (__protocol_available): Remove #if 0 code.
6724 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6725 conditional code.
6726 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6727 * sysdeps/unix/sysv/linux/kernel-features.h
6728 (__ASSUME_GETCWD_SYSCALL): Don't define.
6729 (__ASSUME_REALTIME_SIGNALS): Likewise.
6730 (__ASSUME_PREAD_SYSCALL): Likewise.
6731 (__ASSUME_PWRITE_SYSCALL): Likewise.
6732 (__ASSUME_POLL_SYSCALL): Likewise.
6733 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6734 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6735 non-SPARC.
6736 (__ASSUME_SIOCGIFNAME): Don't define.
6737 (__ASSUME_MSG_NOSIGNAL): Likewise.
6738 (__ASSUME_SENDFILE): Define unconditionally.
6739 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6740 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6741 conditional code.
6742 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6743 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6744 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6745 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6746 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6747 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6748 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6750 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6751 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6753 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6754 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6756 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6757 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6759 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6760 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6762 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6763 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6765 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6766 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6768 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6771 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6772 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6773 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6774 Remove conditional code.
6775 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6776 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6777 Remove conditional code.
6778 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6779 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6780 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6781 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6782 Remove conditional code.
6783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6784 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6785 Remove conditional code.
6786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6787 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6788 Remove conditional code.
6789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6790 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6791 Remove conditional code.
6792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6793 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6794 Remove conditional code.
6795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6796 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6799 * sysdeps/unix/sysv/linux/sigaction.c
6800 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6801 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6802 * sysdeps/unix/sysv/linux/sigpending.c
6803 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6804 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6805 * sysdeps/unix/sysv/linux/sigprocmask.c
6806 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6807 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6808 * sysdeps/unix/sysv/linux/sigsuspend.c
6809 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6810 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6811 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6812 (__libc_missing_rt_sigs): Remove.
6813 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6814 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6815 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6816 Remove conditional code.
6817 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6818 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6819 return 1.
6820 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6821 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6822 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6823 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6824
1bfb7291
AJ
68252012-05-14 Andreas Jaeger <aj@suse.de>
6826
caae5a81
AJ
6827 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6828 it's not used in glibc.
6829 (__coshm1): Likewise.
6830 (__acosh1p): Likewise.
6831 (__sgn): Likewise.
6832
1bfb7291
AJ
6833 * manual/string.texi (Copying and Concatenation): Add missing
6834 variable in concat example.
6835 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6836
c044d724
L
68372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6838
144c5467 6839 [BZ #14103]
c044d724
L
6840 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6841 __builtin_clzl with __builtin_clzll.
6842
2523c62b
L
68432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6844
6845 [BZ #14104]
6846 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6847 libc_freeres_ptr.
6848
d7bb4c42
LD
68492012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6850
6851 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6852 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6853 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6854 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6855
9dc4e1fb
MF
68562012-05-14 Mike Frysinger <vapier@gentoo.org>
6857
6858 * NEWS: Update ia64 info.
6859
c7df0112
AS
68602012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6861
6862 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6863 used as bcopy.
6864
dc70356c
TS
68652012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6866
6867 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6868 * sysdeps/unix/syscalls.list (dup3): Likewise.
6869 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6870 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6871
9fb1a21f
L
68722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6873
6874 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6875 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6876
4822a2a5
L
68772012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6878
6879 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6880 thread pointer.
6881 (TLS_IE): Use mov/add instead of movq/addq to load thread
6882 pointer.
6883 (TLS_GD_PREFIX): New.
6884 (TLS_GD): Use it.
6885
842b81d6
DM
68862012-05-11 David S. Miller <davem@davemloft.net>
6887
6888 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6889 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6890 (_FPU_SETCW): Likewise.
6891
1cf463cd
L
68922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6893
6894 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6895 is 32-byte aligned.
6896
60cc4a18
AS
68972012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6898
6899 [BZ #11837]
6900 * iconvdata/gb18030.c: Update tables.
6901 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6902 characters specially.
6903 (BODY for TO_LOOP): Add encoding of missing ranges.
6904
febb44a4
TS
69052012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6906
6907 [BZ #13673]
6908 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6909 * sysdeps/mach/hurd/dup3.c: Likewise.
6910 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6911 * sysdeps/powerpc/memmove.c:: Likewise.
6912
0a10fb9e
L
69132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6914
6915 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6916 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6917
df8a552f
L
69182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6919
6920 * elf/elf.h (R_X86_64_RELATIVE64): New.
6921 (R_X86_64_NUM): Updated.
6922 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6923 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6924 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6925 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6926 tst-quad1pie tst-quad2pie
6927 (modules-names): Add tst-quadmod1 tst-quadmod2.
6928 ($(objpfx)tst-quad1): New dependency.
6929 ($(objpfx)tst-quad2): Likewise.
6930 ($(objpfx)tst-quad1pie): Likewise.
6931 ($(objpfx)tst-quad2pie): Likewise.
6932 * sysdeps/x86_64/tst-quad1.c: New file.
6933 * sysdeps/x86_64/tst-quad1pie.c: New file.
6934 * sysdeps/x86_64/tst-quad2.c: Likewise.
6935 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6936 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6937 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6938 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6939 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6940
f34d6f84
ST
69412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6942
f42d41d1
ST
6943 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6944 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6945 * streams/stropts.h (t_scalar_t): Define type.
6946
3c3571fc
ST
6947 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6948 (_PATH_PRESERVE): Set to "/var/lib".
6949 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6950
61f06bd3
ST
6951 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6952 instead of int.
6953
918d4d71
ST
6954 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6955 if __dir_mkfile succeeded.
6956
f34d6f84
ST
6957 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6958 checking for _hurd_dtablesize. Unlock it right after having
6959 finished _hurd_dtable allocation.
6960
10589b4a
TS
69612012-05-10 Thomas Schwinge <thomas@schwinge.name>
6962
674cdbc7
TS
6963 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6964 * sysdeps/mach/hurd/configure: Regenerated.
6965 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6966 special-casing to...
6967 * sysdeps/gnu/configure.in: ... this new file.
6968 * sysdeps/unix/sysv/linux/configure: Regenerated.
6969 * sysdeps/gnu/configure: New generated file.
6970
8e41b99f
TS
6971 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6972 for Linux: use nsec instead of usec, as well as:
6973 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6974 members of type struct timespec.
6975 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6976 New macros.
6977 (struct stat64): Likewise.
6978 (_STATBUF_ST_NSEC): New macro.
6979 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6980
10589b4a
TS
6981 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6982 __strtoul_internal rather than strtoul.
6983
63643c85
PT
69842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6985
6986 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6987 and reject them.
6988
3faebe6a
ST
69892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6990
6991 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6992 which preserves existing values.
6993 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6994
c6474b07
PT
69952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6996
6997 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6998 TIMEOUT values. Return EINVAL for NFDS values either negative or
6999 greater than FD_SETSIZE.
7000
1043890b
ST
70012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7002
7003 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7004 allocated, call __vm_protect to finish enabling the existing space, and
7005 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7006 allocate the remainder.
7007
37ed8b9b
PT
70082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7009
7010 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7011 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7012
db653660
ST
70132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7014
37ed8b9b
PT
7015 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7016 sysdeps/mach/hurd/readlink.c.
b29d4053 7017
db653660
ST
7018 * posix/tst-sysconf.c (posix_options): Only use
7019 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7020 _POSIX_SYNCHRONIZED_IO when they are defined
7021 * sysdeps/mach/hurd/bits/posix_opt.h:
7022 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7023 (_XOPEN_REALTIME): Undefine macro.
7024 (_XOPEN_REALTIME_THREADS): Undefine macro.
7025 (_XOPEN_SHM): Undefine macro.
7026 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7027 macro to -1.
7028 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7029 macro to -1.
7030 (_POSIX_ASYNC_IO): Undefine macro.
7031 (_POSIX_PRIORITIZED_IO): Undefine macro.
7032 (_POSIX_SPIN_LOCKS): Define macro to -1.
7033
ee16e894
ST
7034 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7035 SA_NODEFER, SA_RESETHAND.
7036 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7037 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7038 F_DUPFD_CLOEXEC.
7039
6103ae3b
TS
70402012-05-10 Thomas Schwinge <thomas@schwinge.name>
7041
7042 * elf/Makefile (pldd-modules): Define unconditionally.
7043
80b4e5f3
TS
70442012-05-10 Thomas Schwinge <thomas@schwinge.name>
7045
7046 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7047
edadcbd6
ST
70482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7049
7050 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7051 Return ENOENT when name is empty.
7052 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7053
80694780
TS
70542012-05-10 Thomas Schwinge <thomas@schwinge.name>
7055
1792c087
TS
7056 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7057
80694780
TS
7058 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7059
6b645f0d
ST
70602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7061
80694780
TS
7062 Fix mlock in all cases except non-readable pages.
7063 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7064 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 7065
6b645f0d
ST
7066 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7067 (__mkdir): When path is `/', just fail with EEXIST.
7068 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7069
e468f8a3
TS
70702012-05-10 Thomas Schwinge <thomas@schwinge.name>
7071
7072 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7073 <sys/uio.h> (for writev).
7074 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7075 and <sys/param.h> (for MIN).
7076
a4186cff
PT
70772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7078
7079 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7080 REQUESTED_TIME. Properly set the remaining time and return EINTR
7081 if interrupted.
7082
510bbf14
TS
70832012-05-10 Thomas Schwinge <thomas@schwinge.name>
7084
7085 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7086 Depend on against $(link-rpcuserlibs).
7087
5d5722e8
ST
70882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7089
a4186cff
PT
7090 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7091 (__libc_stack_end): Do not use attribute_relro.
7092 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7093 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 7094 to libthread-provided value.
a4186cff
PT
7095 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7096 attribute_relro.
5d5722e8 7097
37233df9
TS
70982012-05-10 Thomas Schwinge <thomas@schwinge.name>
7099
be971a2b
TS
7100 [BZ #3748]
7101 * bits/libc-lock.h (__libc_once_get): New macro.
7102 * sysdeps/mach/bits/libc-lock.h: Likewise.
7103 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7104 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7105 instead of using implementation details.
7106
37233df9
TS
7107 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7108 * libio/freopen.c: Likewise.
7109 * libio/freopen64.c: Likewise.
7110 * misc/syslog.c: Likewise.
7111 * nscd/connections.c: Likewise.
7112 * nscd/netgroupcache.c: Likewise.
7113 * sysdeps/posix/getcwd.c: Likewise.
7114
38de94a5
RM
71152012-05-10 Roland McGrath <roland@hack.frob.com>
7116
7117 * math/w_ilogbf.c: Add #include <limits.h>.
7118
67530489
ST
71192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7120
a4186cff 7121 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
7122 path instead of returning without unlocking.
7123
67530489
ST
7124 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7125 immediate-write ioctls.
7126 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7127
5aa3a74a
TS
71282012-05-10 Thomas Schwinge <thomas@schwinge.name>
7129
18bad2ae
TS
7130 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7131 __builtin_frame_address instead of making assumptions about the
7132 location of the return address relative to DATA. Force early load of
7133 the return address.
7134 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7135 __builtin_frame_address.
7136
5aa3a74a
TS
7137 dup3 for GNU Hurd.
7138 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7139 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7140 implement dup3 and do some further code clean-ups.
7141 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7142 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7143
ecd0de9a
ST
71442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7145
cd9fa985
ST
7146 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7147
a4186cff
PT
7148 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7149 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7150 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7151 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7152 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7153 d->port.lock.
802ca5a5 7154
a4186cff
PT
7155 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7156 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7157 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 7158
bcf55240
TS
71592012-05-10 Thomas Schwinge <thomas@schwinge.name>
7160
6960eb42
TS
7161 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7162 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7163 definitions.
7164
eb43375f
TS
7165 accept4 for GNU Hurd.
7166 * include/sys/socket.h (__libc_accept4): New prototype.
7167 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7168 to implement __libc_accept4.
7169 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7170 __libc_accept4.
7171 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7172
bcf55240
TS
7173 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7174 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7175 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7176 signal-defines.sym.
7177
6178c55b
ST
71782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7179
a4186cff 7180 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7181
6f080c2f
TS
71822012-05-10 Thomas Schwinge <thomas@schwinge.name>
7183
7184 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7185 assertion on O_CLOEXEC flag.
7186 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7187 * hurd/intern-fd.c: Likewise.
7188 * hurd/port2fd.c: Likewise.
7189
bcfe3a54
ST
71902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7191
7192 [BZ #3906]
7193 * bits/in.h (IPV6_PKTINFO): Define new macro.
7194 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7195
89c9aa49
AZ
71962012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7197
7198 [BZ #13954]
7199 [BZ #13955]
7200 [BZ #13956]
7201 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7202 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7203 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7204 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7205 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7206 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7207 * math/libm-test.inc (logb_test) : Additional logb tests.
7208
021db4be
AJ
72092012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7210 Andreas Jaeger <aj@suse.de>
7211
7212 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7213 * configure: Regenerated.
7214 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7215 * config.make.in (link-obsolete-rpc): New substituted variable.
7216 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7217 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7218 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7219 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7220 so that libc.a contains the symbols.
7221 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7222 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7223 * sunrpc/auth_none.c: Likewise.
7224 * sunrpc/auth_unix.c: Likewise.
7225 * sunrpc/authdes_prot.c: Likewise.
7226 * sunrpc/authuxprot.c: Likewise.
7227 * sunrpc/clnt_gen.c: Likewise.
7228 * sunrpc/clnt_perr.c: Likewise.
7229 * sunrpc/clnt_raw.c: Likewise.
7230 * sunrpc/clnt_simp.c: Likewise.
7231 * sunrpc/clnt_tcp.c: Likewise.
7232 * sunrpc/clnt_udp.c: Likewise.
7233 * sunrpc/clnt_unix.c: Likewise.
7234 * sunrpc/des_crypt.c: Likewise.
7235 * sunrpc/des_soft.c: Likewise.
7236 * sunrpc/get_myaddr.c: Likewise.
7237 * sunrpc/key_call.c: Likewise.
7238 * sunrpc/key_prot.c: Likewise.
7239 * sunrpc/netname.c: Likewise.
7240 * sunrpc/pm_getmaps.c: Likewise.
7241 * sunrpc/pm_getport.c: Likewise.
7242 * sunrpc/pmap_clnt.c: Likewise.
7243 * sunrpc/pmap_prot.c: Likewise.
7244 * sunrpc/pmap_prot2.c: Likewise.
7245 * sunrpc/pmap_rmt.c: Likewise.
7246 * sunrpc/publickey.c: Likewise.
7247 * sunrpc/rpc_cmsg.c: Likewise.
7248 * sunrpc/rpc_common.c: Likewise.
7249 * sunrpc/rpc_dtable.c: Likewise.
7250 * sunrpc/rpc_prot.c: Likewise.
7251 * sunrpc/rpc_thread.c: Likewise.
7252 * sunrpc/rtime.c: Likewise.
7253 * sunrpc/svc.c: Likewise.
7254 * sunrpc/svc_auth.c: Likewise.
7255 * sunrpc/svc_raw.c: Likewise.
7256 * sunrpc/svc_run.c: Likewise.
7257 * sunrpc/svc_tcp.c: Likewise.
7258 * sunrpc/svc_udp.c: Likewise.
7259 * sunrpc/svc_unix.c: Likewise.
7260 * sunrpc/svcauth_des.c: Likewise.
7261 * sunrpc/xcrypt.c: Likewise.
7262 * sunrpc/xdr.c: Likewise.
7263 * sunrpc/xdr_array.c: Likewise.
7264 * sunrpc/xdr_float.c: Likewise.
7265 * sunrpc/xdr_intXX_t.c: Likewise.
7266 * sunrpc/xdr_mem.c: Likewise.
7267 * sunrpc/xdr_rec.c: Likewise.
7268 * sunrpc/xdr_ref.c: Likewise.
7269 * sunrpc/xdr_sizeof.c: Likewise.
7270 * sunrpc/xdr_stdio.c: Likewise.
7271
b5c086a2
RM
72722012-05-10 Roland McGrath <roland@hack.frob.com>
7273
7274 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7275 change. Update copyright years.
7276
6d74dd09
JM
72772012-05-10 Joseph Myers <joseph@codesourcery.com>
7278
7279 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7280
28e72501
MK
72812012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7282 Joseph Myers <joseph@codesourcery.com>
7283 Paul Pluzhnikov <ppluzhnikov@google.com>
7284
7285 [BZ #14012]
7286 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7287 requiring rpcgen.
7288 [cross-compiling] (extra-libs): Likewise.
7289 [cross-compiling] (extra-libs-others): Likewise.
7290 [cross-compiling] (librpcsvc-routines): Likewise.
7291 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7292 [cross-compiling] (omit-deps): Likewise.
7293 (sunrpc-CPPFLAGS): New variable.
7294 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7295 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7296 (cross-rpcgen-objs): New variable.
7297 (extra-objs): Append $(cross-rpcgen-objs).
7298 ($(cross-rpcgen-objs)): New rule.
7299 ($(objpfx)cross-rpcgen): Likewise.
7300 (rpcgen-cmd): Define to use $(built-program-file). Expand
7301 comment.
7302 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7303 ($(objpfx)x%.stmp): Likewise.
7304 * sunrpc/proto.h [IS_IN_build] (_): Define.
7305 [IS_IN_build] (_libc_intl_domainname): Likewise.
7306
c8c59454
L
73072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7308
7309 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7310 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7311 and R_X86_64_TPOFF64.
7312
6f27cd16
JM
73132012-05-10 Joseph Myers <joseph@codesourcery.com>
7314
7315 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7316 sysdeps/unix/sysv/syscalls.list.
7317 (stime): Likewise.
7318 (utime): Likewise.
7319 * sysdeps/unix/sysv/syscalls.list: Remove file.
7320
02467e1c
PE
73212012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7322
7323 [BZ #3440]
7324 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7325 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7326 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7327 (__LC_IDENTIFICATION): Make these macros useful in #if
7328 expressions, as required by C99.
7329
da392631
AS
73302012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7331
7332 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7333 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7334 after this.
7335
8115f29b
L
73362012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7337
7338 * stdlib/longlong.h: Updated from GCC.
7339
bdd74070
AJ
73402012-05-09 Andreas Jaeger <aj@suse.de>
7341
edfe0dbe
AJ
7342 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7343 default is first entry.
7344 (run_mode): Set type.
7345 (main): Remove informal message about syslog.
7346 (options): Fix typo.
7347
bcfe3a54
ST
7348 [BZ #14053]
7349 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7350 to asm.
bcfe3a54
ST
7351 (lrint): Likewise.
7352 (llrintf): Likewise.
7353 (llrint): Likewise.
7354 (rint): Likewise.
7355 (rintf): Likewise.
7356 (nearbyint): Likewise.
7357 (nearbyintf): Likewise.
bdd74070 7358
91d8d69e
AJ
73592012-05-09 Andreas Jaeger <aj@suse.de>
7360 Pedro Alves <palves@redhat.com>
7361
7362 * nscd/nscd.c (run_mode): Use enum.
7363 (main): Cleanup coding style issue.
7364
bb90b80b
AJ
73652012-05-09 Alexandre Oliva <aoliva@redhat.com>
7366 Andreas Jaeger <aj@suse.de>
7367
bcfe3a54
ST
7368 * nscd/nscd.c (go_background): Replaced with...
7369 (run_mode): ... this.
bb90b80b 7370 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7371 (options): Add -F --foreground.
7372 (main): Implement it.
7373 (parse_opt): Parse it.
bb90b80b 7374
1a4b75a1
AJ
73752012-05-09 Andreas Jaeger <aj@suse.de>
7376
7377 [BZ #14083]
7378 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7379 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7380 -Wconversion warning.
7381 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7382 Likewise.
7383
b1cc2472
JM
73842012-05-09 Joseph Myers <joseph@codesourcery.com>
7385
7386 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7387 == 0.
7388 (LC_ALL): Use macro-int-constant.
7389 (LC_COLLATE): Likewise.
7390 (LC_CTYPE): Likewise.
7391 (LC_MESSAGES): Likewise.
7392 (LC_MONETARY): Likewise.
7393 (LC_NUMERIC): Likewise.
7394 (LC_TIME): Likewise.
7395 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7396 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7397 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7398 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7399 Specify type.
7400 [C99-based standards] (float_t): Expect type.
7401 [C99-based standards] (double_t): Expect type.
7402 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7403 type.
7404 [C99-based standards] (HUGE_VALL): Likewise.
7405 [C99-based standards] (INFINITY): Likewise.
7406 [C99-based standards] (NAN): Likewise.
7407 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7408 [C99-based standards] (FP_NAN): Likewise.
7409 [C99-based standards] (FP_NORMAL): Likewise.
7410 [C99-based standards] (FP_SUBNORMAL): Likewise.
7411 [C99-based standards] (FP_ZERO): Likewise.
7412 [C99-based standards] (FP_FAST_FMA): Use
7413 optional-macro-int-constant. Specify type. Require == 1.
7414 [C99-based standards] (FP_FAST_FMAF): Likewise.
7415 [C99-based standards] (FP_FAST_FMAL): Likewise.
7416 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7417 [C99-based standards] (FP_ILOGBNAN): Likewise.
7418 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7419 Specify type.
7420 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7421 [C99-based standards] (math_errhandling): Specify type.
7422 [ISO99 || ISO11] (signgam): Do not allow.
7423 [non-C99-based standards] (copysignf): Do not allow.
7424 [non-C99-based standards] (exp2f): Likewise.
7425 [non-C99-based standards] (log2f): Likewise.
7426 [non-C99-based standards] (modff): Allow.
7427 [non-C99-based standards] (erff): Do not allow.
7428 [non-C99-based standards] (erfcf): Likewise.
7429 [non-C99-based standards] (gammaf): Likewise.
7430 [non-C99-based standards] (hypotf): Likewise.
7431 [non-C99-based standards] (j0f): Likewise.
7432 [non-C99-based standards] (j1f): Likewise.
7433 [non-C99-based standards] (jnf): Likewise.
7434 [non-C99-based standards] (lgammaf): Likewise.
7435 [non-C99-based standards] (tgammaf): Likewise.
7436 [non-C99-based standards] (y0f): Likewise.
7437 [non-C99-based standards] (y1f): Likewise.
7438 [non-C99-based standards] (ynf): Likewise.
7439 [non-C99-based standards] (isnanf): Likewise.
7440 [non-C99-based standards] (acoshf): Likewise.
7441 [non-C99-based standards] (asinhf): Likewise.
7442 [non-C99-based standards] (atanhf): Likewise.
7443 [non-C99-based standards] (cbrtf): Likewise.
7444 [non-C99-based standards] (expm1f): Likewise.
7445 [non-C99-based standards] (ilogbf): Likewise.
7446 [non-C99-based standards] (log1pf): Likewise.
7447 [non-C99-based standards] (logbf): Likewise.
7448 [non-C99-based standards] (nextafterf): Likewise.
7449 [non-C99-based standards] (remainderf): Likewise.
7450 [non-C99-based standards] (rintf): Likewise.
7451 [non-C99-based standards] (scalbf): Likewise.
7452 [non-C99-based standards] (copysignl): Likewise.
7453 [non-C99-based standards] (exp2l): Likewise.
7454 [non-C99-based standards] (log2l): Likewise.
7455 [non-C99-based standards] (modfl): Allow.
7456 [non-C99-based standards] (erfl): Do not allow.
7457 [non-C99-based standards] (erfcl): Likewise.
7458 [non-C99-based standards] (gammal): Likewise.
7459 [non-C99-based standards] (hypotl): Likewise.
7460 [non-C99-based standards] (j0l): Likewise.
7461 [non-C99-based standards] (j1l): Likewise.
7462 [non-C99-based standards] (jnl): Likewise.
7463 [non-C99-based standards] (lgammal): Likewise.
7464 [non-C99-based standards] (tgammal): Likewise.
7465 [non-C99-based standards] (y0l): Likewise.
7466 [non-C99-based standards] (y1l): Likewise.
7467 [non-C99-based standards] (ynl): Likewise.
7468 [non-C99-based standards] (isnanl): Likewise.
7469 [non-C99-based standards] (acoshl): Likewise.
7470 [non-C99-based standards] (asinhl): Likewise.
7471 [non-C99-based standards] (atanhl): Likewise.
7472 [non-C99-based standards] (cbrtl): Likewise.
7473 [non-C99-based standards] (expm1l): Likewise.
7474 [non-C99-based standards] (ilogbl): Likewise.
7475 [non-C99-based standards] (log1pl): Likewise.
7476 [non-C99-based standards] (logbl): Likewise.
7477 [non-C99-based standards] (nextafterl): Likewise.
7478 [non-C99-based standards] (remainderl): Likewise.
7479 [non-C99-based standards] (rintl): Likewise.
7480 [non-C99-based standards] (scalbl): Likewise.
7481 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7482 [non-C99-based standards] (FP_*): Do not allow.
7483 [C99-based standards] (FP_*): Change to
7484 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7485 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7486 allow.
7487 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7488 (SIG_ERR): Likewise.
7489 [X/Open-based standards] (SIG_HOLD): Likewise.
7490 (SIG_IGN): Likewise.
7491 (SIGABRT): Use macro-int-constant. Specify type. Require
7492 positive value.
7493 (SIGFPE): Likewise.
7494 (SIGILL): Likewise.
7495 (SIGINT): Likewise.
7496 (SIGSEGV): Likewise.
7497 (SIGTER): Likewise.
7498 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7499 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7500 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7501 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7502 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7503 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7504 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7505 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7506 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7507 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7508 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7509 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7510 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7511 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7512 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7513 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7514 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7515 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7516 [X/Open-based standards] (SIGTRAP): Likewise.
7517 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7518 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7519 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7520 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7521 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7522 allow.
7523
b9f1922d
IW
75242012-05-08 Ian Wienand <ianw@vmware.com>
7525
7526 [BZ #14080]
7527 * time/tzset.c (__tzset_parse_tz): Update default rules for
7528 daylight time changes in the Energy Policy Act of 2005.
7529
1db86e88
AJ
75302012-05-09 Andreas Jaeger <aj@suse.de>
7531
7532 [BZ #13983]
7533 * elf/ldconfig.c (parse_conf): Change string to make clear that
7534 ldconfig only issued a warning if ld.so.conf does not exist.
7535
dee4a4e3
DM
75362012-05-08 David S. Miller <davem@davemloft.net>
7537
ee0db190
DM
7538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7539 movxtod instead of popping the value on the stack.
7540
dee4a4e3
DM
7541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7542
6a43ec98
CD
75432012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7544
7545 * config.h.in: Add HAVE_ARM_PCS_VFP.
7546
05c2c961
RMG
75472012-05-08 Roland Mc Grath <roland@hack.frob.com>
7548
bcfe3a54
ST
7549 [BZ #13979]
7550 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7551 checking but the checks are disabled for any reason.
05c2c961 7552
4b30f61a
L
75532012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7554
7555 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7556 and ELF64_R_TYPE with ELFW(R_TYPE).
7557
eee2bc67
JM
75582012-05-08 Joseph Myers <joseph@codesourcery.com>
7559
7ea5391a
JM
7560 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7561 (ulimit): Likewise.
7562
eee2bc67
JM
7563 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7564 (settimeofday): Likewise.
7565
abb66a67
MF
75662012-05-08 Mike Frysinger <vapier@gentoo.org>
7567
7568 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7569 a struct th_u2 inside the union, and move tu_block/tu_code into
7570 a new th_u3 union of tu_block/tu_code inside of that. Move
7571 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7572 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7573 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7574 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7575 (th_stuff): Change to th_u1.tu_stuff.
7576 (th_data): Define.
7577 (th_msg): Change to th_u1.th_u2.tu_data.
7578
7f18b530
DM
75792012-05-07 David S. Miller <davem@davemloft.net>
7580
05760585
DM
7581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7582
7f18b530
DM
7583 [BZ #14074]
7584 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7585 (SETUP_PIC_REG): Use it.
7586 (SETUP_PIC_REG_LEAF): Use it.
7587
495fd99f
JM
75882012-05-07 Joseph Myers <joseph@codesourcery.com>
7589
7590 [BZ #13885]
7591 [BZ #13923]
7592 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7593 USE_AS_EXPM1L.
7594 (EXPL_FINITE): Likewise.
7595 (FLDLOG): Likewise.
7596 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7597 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7598 e_expl.S.
7599 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7600 USE_AS_EXPM1L.
7601 (EXPL_FINITE): Likewise.
7602 (FLDLOG): Likewise.
7603 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7604 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7605 e_expl.S.
7606 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7607 test of -max_value argument for long double.
7608 * sysdeps/i386/fpu/libm-test-ulps: Update.
7609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7610
6693d694
DM
76112012-05-06 David S. Miller <davem@davemloft.net>
7612
7613 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7614 quad soft-float symbols whose references which are compiler
7615 generated.
7616 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7617
6c23e11c
JM
76182012-05-06 Joseph Myers <joseph@codesourcery.com>
7619
d8b82cad
JM
7620 [BZ #13884]
7621 [BZ #13914]
7622 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7623 USE_AS_EXP10L.
7624 (EXPL_FINITE): Likewise.
7625 (FLDLOG): Likewise.
7626 (c0): Likewise.
7627 (c1): Likewise.
7628 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7629 Adjust comments for base varying.
7630 (__expl_finite): Change alias to EXPL_FINITE.
7631 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7632 e_expl.S.
7633 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7634 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7635 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7636 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7637 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7638 USE_AS_EXP10L.
7639 (EXPL_FINITE): Likewise.
7640 (FLDLOG): Likewise.
7641 (c0): Likewise.
7642 (c1): Likewise.
7643 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7644 Adjust comments for base varying.
7645 (__expl_finite): Change alias to EXPL_FINITE.
7646 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7647 tests for bugs.
7648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7649
6c23e11c
JM
7650 [BZ #14064]
7651 * math/libm-test.inc (check_float_internal): Correct ulp
7652 calculation for subnormal expected results.
7653
29ba805c
AJ
76542012-05-06 Andreas Jaeger <aj@suse.de>
7655
7656 * Makeconfig (+math-flags): New, set to -frounding-math.
7657 (+cflags): Add +math-flags so that all of glibc gets compiled with
7658 it.
7659
7660 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7661
7b17aeda
JM
76622012-05-05 Joseph Myers <joseph@codesourcery.com>
7663
5779f134
JM
7664 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7665 Disable one test.
7666
41498f4d
JM
7667 [BZ #13787]
7668 [BZ #13922]
7669 [BZ #14036]
7670 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7671 (__ieee754_expl): Allow for and saturate large arguments.
7672 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7673 (u_threshold): Likewise.
7674 (__exp): Call __ieee754_exp before checking for overflow and
7675 underflow.
7676 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7677 (u_threshold): Likewise.
7678 (__expf): Call __ieee754_expf before checking for overflow and
7679 underflow.
7680 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7681 (u_threshold): Likewise.
7682 (__expl): Call __ieee754_expl before checking for overflow and
7683 underflow.
7684 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7685 (__ieee754_expl): Allow for and saturate large arguments.
7686 * math/libm-test.inc (exp_test): Add another test. Do not allow
7687 missing overflow exception on overflow.
7688 (expm1_test): Do not allow missing overflow exception on overflow.
7689
6698b8bf
JM
7690 * sysdeps/i386/fpu/e_expl.c: Move to ...
7691 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7692 rather than using inline asm.
7693 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7694 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7695 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7696
7b17aeda
JM
7697 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7698 (nice): Likewise.
7699 (poll): Likewise.
7700 (signal): Likewise.
7701 (time): Likewise.
7702 (times): Likewise.
7703
f7c85819
JM
77042012-05-04 Joseph Myers <joseph@codesourcery.com>
7705
7706 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7707 sysdeps/unix/common/syscalls.list.
7708 (fchmod): Likewise.
7709 (fchown): Likewise.
7710 (ftruncate): Likewise.
7711 (getrusage): Likewise.
7712 (gettimeofday): Likewise.
7713 (setpgid): Likewise.
7714 (setregid): Likewise.
7715 (setreuid): Likewise.
7716 (sigaction): Likewise.
7717 (truncate): Likewise.
7718 (vhangup): Likewise.
7719 * sysdeps/unix/common/syscalls.list: Remove file.
7720 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7721 * sysdeps/unix/sysv/linux/Implies: Likewise.
7722
336270d0
L
77232012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7724
7725 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7727 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7728 Moved to ...
7729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7730 Here.
7731 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7732 to ...
7733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7734 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7735 to ...
7736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7737 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7738 to ...
7739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7740 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7741 to ...
7742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7743 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7744 to ...
7745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7746 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7747 to ...
7748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7749 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7750 to ...
7751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7752 Here.
7753 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7754 to ...
7755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7756 Here.
7757 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7758 to ...
7759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7760 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7761 Moved to ...
7762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7763 Here.
7764 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7765 to ...
7766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7767
d128e450
JM
77682012-05-04 Joseph Myers <joseph@codesourcery.com>
7769
fa8ee516
JM
7770 * sysdeps/unix/common/bits/dirent.h: Remove file.
7771 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7772
d128e450
JM
7773 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7774 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7775 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7776 * sysdeps/unix/bsd/isatty.c: Likewise.
7777 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7778 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7779 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7780
ff8faaf0 77812012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7782
62881be4 7783 [BZ #13563]
31dc8730
AZ
7784 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7785 long double comparison inaccuracies.
7786 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7788
6fef930c
AS
77892012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7790
7791 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7792 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7793
8f203e6c
JM
77942012-05-04 Joseph Myers <joseph@codesourcery.com>
7795
7796 [BZ #14049]
7797 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7798 nonzero digits before rounding a hex value.
7799 * stdlib/tst-strtod.c (tests): Add another test.
7800
5197d9c2
AK
78012012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7802
7803 * sysdeps/s390/fpu/libm-test-ulps: Update.
7804
f0c1dedf
AJ
78052012-05-03 Andreas Jaeger <aj@suse.de>
7806
7807 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7808 does not get optimized out.
7809 (malloc_opt_barrier): New.
7810
a65ef2ae 78112012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7812 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7813
2b942cb7 7814 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7815 intermediate file deletion.
2b942cb7 7816 (generated): Add .symlist files.
a65ef2ae 7817
54b71e02
JM
78182012-05-03 Joseph Myers <joseph@codesourcery.com>
7819
7820 [BZ #13775]
7821 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7822 Redirect under this condition.
7823 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7824 [__USE_GNU] (__dprintf_chk): Not under this condition.
7825 [__USE_GNU] (__vdprintf_chk): Likewise.
7826 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7827 under this condition.
7828 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7829 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7830 [__USE_XOPEN2K8] (vdprintf): Likewise.
7831 [__USE_GNU] (__dprintf_chk): Not under this condition.
7832 [__USE_GNU] (__vdprintf_chk): Likewise.
7833 [__USE_GNU] (dprintf): Likewise.
7834 [__USE_GNU] (vdprintf): Likewise.
7835
d3dfcc41
RM
78362012-05-03 Roland McGrath <roland@hack.frob.com>
7837
7838 * elf/Makefile (common-generated): Set this instead of generated for
7839 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7840 $(all-built-dso)-derived lists.
7841
7ac30cc5
AJ
78422012-05-03 Andreas Jaeger <aj@suse.de>
7843
0c51e550
AJ
7844 * sysdeps/i386/fpu/libm-test-ulps: Update.
7845
7ac30cc5
AJ
7846 * FAQ: Removed.
7847 * FAQ.in: Likewise.
7848 * scripts/gen-FAQ.pl: Likewise.
7849 * manual/install.texi (Installation): Point to online location of
7850 FAQ.
7851 * Makefile (files-for-dist): Remove FAQ.
7852 (FAQ): Remove.
7853
d4c2917f
AM
78542012-05-02 Allan McRae <allan@archlinux.org>
7855
7856 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7857 (LDFLAGS-reldepmod5.so): Likewise.
7858 (LDFLAGS-reldep6mod1.so): Likewise.
7859 (LDFLAGS-reldep6mod4.so): Likewise.
7860 (LDFLAGS-reldep8mod3.so): Likewise.
7861 (LDFLAGS-unload4mod1.so): Likewise.
7862 (LDFLAGS-unload4mod2.so): Likewise.
7863 (LDFLAGS-tst-initorder): Likewise.
7864 (LDFLAGS-tst-initordera2.so): Likewise.
7865 (LDFLAGS-tst-initordera3.so): Likewise.
7866 (LDFLAGS-tst-initordera4.so): Likewise.
7867 (LDFLAGS-tst-initorderb2.so): Likewise.
7868 (LDFLAGS-noload): Likewise.
7869 (LDFLAGS-next): Likewise.
7870 (LDFLAGS-order2mod1.so): Likewise.
7871 (LDFLAGS-order2mod2.so): Likewise.
7872 (LDFLAGS-tst-initorder2): Likewise.
7873 (LDFLAGS-tst-initorder2a.so): Likewise.
7874 (LDFLAGS-tst-initorder2b.so): Likewise.
7875 (LDFLAGS-tst-initorder2c.so): Likewise.
7876 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7877
d77f993f
DM
78782012-05-02 David S. Miller <davem@davemloft.net>
7879
7880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7881
171a70b4
PP
78822012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7883
7884 [BZ #14055]
7885 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7886
0be196ad
AJ
78872012-05-02 Andreas Jaeger <aj@suse.de>
7888
7889 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7890 since we manipulate rounding mode.
7891 (CPPFLAGS-test-idouble.c): Likewise.
7892 (CPPFLAGS-test-ifloat.c): Likewise.
7893 (CFLAGS-test-ldouble.c): Likewise.
7894 (CFLAGS-test-double.c): Likewise.
7895 (CFLAGS-test-float.c): Likewise.
7896 (CFLAGS-test-misc.c): Likewise.
7897 (CFLAGS-test-test-fenv.c): Likewise.
7898
4f9d04aa
AZ
78992012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7900
2b942cb7
RM
7901 [BZ #2550]
7902 [BZ #2570]
7903 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7904 comparisons to determine direction to adjust input.
4f9d04aa 7905
82a79e7d
RM
79062012-05-01 Roland McGrath <roland@hack.frob.com>
7907
f5a01ca9
RM
7908 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7909 output to the target.
7910
90fe4186
RM
7911 * scripts/localplt.awk: New file.
7912 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7913 (check-localplt-CFLAGS): Variable removed.
7914 ($(all-built-dso:=.jmprel)): New static pattern rule.
7915 (generated): Add those targets.
7916 (localplt-built-dso): New variable.
7917 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7918
7919 * elf/check-localplt.c: File removed.
7920
82397ed6
RM
7921 * scripts/check-execstack.awk: New file.
7922 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7923 (check-execstack-CFLAGS): Variable removed.
7924 ($(objpfx)check-execstack.h): Target removed.
7925 ($(objpfx)execstack-default): New target.
7926 (generated): Add that instead of check-execstack.h.
7927 ($(all-built-dso:=.phdr)): New static pattern rule.
7928 (generated): Add those targets.
7929 * elf/check-execstack.c: File removed.
7930
82a79e7d
RM
7931 * scripts/check-textrel.awk: New file.
7932 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7933 (check-textrel-CFLAGS): Variable removed.
7934 (all-built-dso): Use := to define.o
7935 ($(all-built-dso:=.dyn)): New static pattern rule.
7936 (generated): Add those targets.
7937 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7938 * config.make.in (READELF): New substituted variable.
7939 * elf/check-textrel.c: File removed.
7940
62fde54f 79412012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7942
615605c9
JM
7943 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7944 allow.
7945 * conform/data/ctype.h-data [C99-based standards] (isblank):
7946 Expect function.
7947 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7948 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7949 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7950 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7951 Specify type. Require positive value.
7952 (EILSEQ): Likewise.
7953 (ERANGE): Likewise.
7954 [ISO || POSIX] (EILSEQ): Do not expect.
7955 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7956 Specify type. Require positive value.
7957 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7958 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7959 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7960 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7961 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7962 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7963 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7964 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7965 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7966 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7967 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7968 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7969 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7970 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7971 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7972 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7973 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7974 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7975 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7976 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7977 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7978 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7979 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7980 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7981 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7982 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7983 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7984 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7985 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7986 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7987 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7988 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7989 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7990 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7991 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7992 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7993 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7994 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7995 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7996 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7997 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7998 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7999 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8000 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8001 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8002 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8003 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8004 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8005 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8006 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8007 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8008 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8009 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8010 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8011 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8012 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8013 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8014 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8015 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8016 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8017 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8018 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8019 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8020 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8021 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8022 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8023 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8024 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8025 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8026 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8027 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8028 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8029 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8030 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8031 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8032 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8033 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8034 Require >= 2.
8035 (FLT_ROUNDS): Expect as macro, not constant.
8036 (FLT_MANT_DIG): Use macro-int-constant.
8037 (DBL_MANT_DIG): Likewise.
8038 (LDBL_MANT_DIG): Likewise.
8039 (FLT_DIG): Likewise.
8040 (DBL_DIG): Likewise.
8041 (LDBL_DIG): Likewise.
8042 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8043 (DBL_MIN_EXP): Likewise.
8044 (LDBL_MIN_EXP): Likewise.
8045 (FLT_MAX_EXP): Use macro-int-constant.
8046 (DBL_MAX_EXP): Likewise.
8047 (LDBL_MAX_EXP): Likewise.
8048 (FLT_MAX_10_EXP): Likewise.
8049 (DBL_MAX_10_EXP): Likewise.
8050 (LDBL_MAX_10_EXP): Likewise.
8051 (FLT_MAX): Use macro-constant.
8052 (DBL_MAX): Likewise.
8053 (LDBL_MAX): Likewise.
8054 (FLT_EPSILON): Use macro-constant. Give upper bound.
8055 (DBL_EPSILON): Likewise.
8056 (LDBL_EPSILON): Likewise.
8057 (FLT_MIN): Likewise.
8058 (DBL_MIN): Likewise.
8059 (LDBL_MIN): Likewise.
8060 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8061 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8062 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8063 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8064 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8065 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8066 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8067 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8068 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8069 [ISO11] (FLT_TRUE_MIN): Likewise.
8070 [ISO11] (LDBL_TRUE_MIN): Likewise.
8071 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8072 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8073 (SCHAR_MIN): Use macro-int-constant. Specify type.
8074 (SCHAR_MAX): Likewise.
8075 (UCHAR_MAX): Likewise.
8076 (CHAR_MIN): Likewise.
8077 (CHAR_MAX): Likewise.
8078 (MB_LEN_MAX): Use macro-int-constant.
8079 (SHRT_MIN): Use macro-int-constant. Specify type.
8080 (SHRT_MAX): Likewise.
8081 (USHRT_MAX): Likewise.
8082 (INT_MAX): Likewise.
8083 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8084 bound negative.
8085 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8086 bound with "U".
8087 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8088 bound with "L".
8089 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8090 bound negative. Suffix upper bound with "L".
8091 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8092 bound with "UL".
8093 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8094 Specify type.
8095 [C99-based standards] (LLONG_MAX): Likewise.
8096 [C99-based standards] (ULLONG_MAX): Likewise.
8097 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8098 == 0.
8099 [ISO11] (max_align_t): Require type.
8100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8101
c9140a62
JM
8102 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8103 from $CFLAGS, without defining away __attribute__ calls.
8104 (checknamespace): Use $CFLAGS_namespace.
8105
9af0bf29
JM
8106 * conform/conformtest.pl (@keywords): Only include C99 keywords
8107 for standards based on C99 or C11.
8108
343222a2
JM
8109 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8110 Disable tests.
8111 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8112 UNIX98]: Likewise.
8113
661f8cf0
JM
8114 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8115 usability of symbols in #if.
8116
ee74b9cb
JM
8117 * conform/conformtest.pl: If macro or constant types start
8118 "promoted:", expect the symbol to be of the following type
8119 promoted by the integer promotions.
62fde54f 8120
aafc49b3
JM
8121 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8122 in one place. Also handle "macro-constant".
8123
fefdf574
JM
8124 * conform/conformtest.pl: Only accept expected macro values with
8125 "==". Parse all "macro" lines in one place.
8126 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8127
f2d922fe
JM
8128 * conform/conformtest.pl: Handle braced types on "constant" lines
8129 instead of handling "typed-constant".
8130 * conform/data/signal.h-data: Use "constant" instead of
8131 "typed-constant".
8132
d22956c9
JM
8133 * conform/conformtest.pl: Handle "optional-" at start of lines in
8134 one place rather than duplicating several cases. Handle each
8135 format of "macro" line with initial "optional-".
8136
028e2e38
JM
8137 * conform/conformtest.pl: Only accept expected constant or
8138 optional-constant values with "==". Parse all "constant" lines in
8139 one place. Parse all "optional-constant" lines in one place.
8140 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8141 * conform/data/fmtmsg.h-data: Likewise.
8142 * conform/data/netinet/in.h-data: Likewise.
8143 * conform/data/tar.h-data: Likewise.
8144 * conform/data/limits.h-data: Use "==" form on "constant" and
8145 "optional-constant" lines.
8146
1b8f2850
JM
8147 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8148 Use -std=c99 for XOPEN2K.
8149 (@knownproblems): Remove.
8150 (newtoken): Don't check %isknown.
8151
a05a144b
JM
8152 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8153 Do not expect macro.
8154 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8155 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8156 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8157 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8158 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8159 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8160 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8161 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8162 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8163 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8164 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8165 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8166 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8167 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8168 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8169 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8170 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8171 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8172 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8173 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8174 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8175 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8176 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8177 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8178 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8179 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8180 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8181 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8182 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8183 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8184 [XPG3] (acosh): Likewise.
8185 [XPG3] (asinh): Likewise.
8186 [XPG3] (atanh): Likewise.
8187 [XPG3] (cbrt): Likewise.
8188 [XPG3] (expm1): Likewise.
8189 [XPG3] (ilogb): Likewise.
8190 [XPG3] (log1p): Likewise.
8191 [XPG3] (logb): Likewise.
8192 [XPG3] (nextafter): Likewise.
8193 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8194 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8195 [XPG3] (remainder): Likewise.
8196 [XPG3] (rint): Likewise.
8197 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8198 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8199 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8200 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8201 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8202 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8203 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8204 [UNIX98 || XOPEN2K] (scalb): Expect.
8205 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8206 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8207 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8208 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8209 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8210 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8211 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8212 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8213 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8214 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8215 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8216 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8217 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8218 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8219 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8220 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8221 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8222 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8223 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8224 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8225 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8226 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8227 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8228 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8229 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8230 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8231 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8232 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8233 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8234 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8235 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8236 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8237 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8238 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8239 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8240 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8241 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8242 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8243 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8244 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8245 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8246 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8247 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8248 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8249 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8250 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8251 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8252 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8253 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8254 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8255 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8256 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8257 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8258 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8259 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8260 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8261 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8262 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8263 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8264 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8265 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8266 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8267 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8268 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8269 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8270 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8271 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8272 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8273 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8274 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8275 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8276 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8277 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8278 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8279 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8280 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8281 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8282 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8283 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8284 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8285 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8286 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8287 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8288 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8289 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8290 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8291 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8292 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8293 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8294 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8295 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8296 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8297 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8298 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8299 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8300 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8301 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8302 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8303 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8304 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8305 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8306 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8307 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8308 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8309 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8310 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8311 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8312 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8313 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8314 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8315 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8316 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8317 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8318 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8319 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8320 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8321 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8322 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8323 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8324 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8325 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8326 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8327 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8328 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8329 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8330 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8331 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8332 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8333 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8334 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8335 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8336 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8337 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8338 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8339 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8340 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8341 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8342
73c5ebe3
JM
8343 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8344 _XOPEN_SOURCE_EXTENDED for XPG4.
8345
39c33b6c
JM
8346 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8347
62fde54f
JM
8348 * Makeconfig (localtime): Remove variable.
8349 (inst_localtime-file): Likewise.
8350
0741d64c
AS
83512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8352
8353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8354 Update.
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8356 Update.
8357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8358 Update.
8359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8360 Update.
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8362 Update.
8363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8364 Update.
8365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8366 Update.
8367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8368 Update.
8369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8370 Update.
8371
7cb029ee
JM
83722012-05-01 Joseph Myers <joseph@codesourcery.com>
8373
8374 [BZ #2550]
8375 [BZ #2570]
8376 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8377 comparisons to determine direction to adjust input.
8378 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8379 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8380 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8381 Likewise.
8382 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8383 Likewise.
8384 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8385 Likewise.
8386 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8387 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8388 Likewise.
8389 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8390 Likewise.
8391 * math/libm-test.inc (nexttoward_test): Add more tests.
8392
412bd966
AS
83932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8394
8395 [BZ #14040]
8396 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8397 in version GLIBC_2.1, not GLIBC_2.0.
8398 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8399 Likewise.
8400
9568c0c2
JM
84012012-04-30 Joseph Myers <joseph@codesourcery.com>
8402
adfbc8ac
JM
8403 [BZ #13942]
8404 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8405 (1 - x) * (1 + x).
8406 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8407 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8408 * math/libm-test.inc (acos_test): Add more tests.
8409 (asin_test): Likewise.
8410 * sysdeps/i386/fpu/libm-test-ulps: Update.
8411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8412
5ba3cc69
JM
8413 [BZ #14034]
8414 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8415 of square root.
8416 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8417 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8418 * math/libm-test.inc (acos_test_tonearest): New function.
8419 (acos_test_towardzero): Likewise.
8420 (acos_test_downward): Likewise.
8421 (acos_test_upward): Likewise.
8422 (asin_test_tonearest): Likewise.
8423 (asin_test_towardzero): Likewise.
8424 (asin_test_downward): Likewise.
8425 (asin_test_upward): Likewise.
8426 (main): Call the new functions.
8427 * sysdeps/i386/fpu/libm-test-ulps: Update.
8428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8429
9568c0c2
JM
8430 [BZ #13884]
8431 [BZ #13924]
8432 * math/e_exp10.c: Include <float.h>.
8433 (__ieee754_exp10): Handle underflow here rather than multiplying
8434 large negative argument by M_LN10.
8435 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8436 of __ieee754_expf.
8437 * math/e_exp10l.c: Include <float.h>.
8438 (__ieee754_exp10l): Handle underflow here rather than multiplying
8439 large negative argument by M_LN10l.
8440 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8441 spurious overflow exception on underflow.
8442
5ac3ea17
MP
84432012-04-29 Marek Polacek <polacek@redhat.com>
8444
8445 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8446 (__fortify_function): New macro.
8447 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8448 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8449 __extern_always_inline.
8450 * libio/bits/stdio2.h: Likewise.
8451 * libio/bits/stdio.h: Likewise.
8452 * string/string.h: Likewise.
8453 * string/bits/string3.h: Likewise.
8454 * include/stdio.h: Likewise.
8455 * stdlib/bits/stdlib.h: Likewise.
8456 * stdlib/stdlib.h: Likewise.
8457 * rt/bits/mqueue2.h: Likewise.
8458 * rt/mqueue.h: Likewise.
8459 * posix/bits/unistd.h: Likewise.
8460 * posix/unistd.h: Likewise.
8461 * io/bits/poll2.h: Likewise.
8462 * io/bits/fcntl2.h: Likewise.
8463 * io/fcntl.h: Likewise.
8464 * io/sys/poll.h: Likewise.
8465 * misc/bits/syslog.h: Likewise.
8466 * misc/bits/syslog-ldbl.h: Likewise.
8467 * misc/sys/syslog.h: Likewise.
8468 * socket/bits/socket2.h: Likewise.
8469 * socket/sys/socket.h: Likewise.
8470 * debug/tst-chk1.c: Likewise.
8471 * wcsmbs/bits/wchar2.h: Likewise.
8472 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8473 * wcsmbs/wchar.h: Likewise.
8474
ecf0ebfb
AJ
84752012-04-29 Andreas Jaeger <aj@suse.de>
8476
8477 * Makerules (tests): Remove enable-check-abi protection.
8478 (check-abi-warn): Remove.
8479 (check-abi-%): Remove check-abi-warn usage.
8480
8481 * configure.in: Remove check-abi configure option.
8482 * configure: Regenerated.
8483 * config.make.in (enable-check-abi): Remove.
8484
6d5c57fa
AS
84852012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8486
24c5d07e 8487 [BZ #14033]
ded5180a
AS
8488 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8489 double functions to double *_finite functions.
8490
7e0d315d
AS
8491 [BZ #13941]
8492 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8493 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8494 LDBL_MIN_EXP.
8495 * stdio-common/Makefile (tests): Add tst-sprintf3.
8496 * stdio-common/tst-sprintf3.c: New file.
8497
6d5c57fa
AS
8498 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8499 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8500
0749ff8b
JM
85012012-04-28 Joseph Myers <joseph@codesourcery.com>
8502
8503 * conform/conformtest.pl: Remove duplicate typed-constant
8504 handling.
8505
8dbd5d7b
DM
85062012-04-28 David S. Miller <davem@davemloft.net>
8507
8508 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8509 (check-abi-%): Remove AWK script prerequisite and explicit
8510 abilist directory.
8511 (check-abi): Rewrite to just diff the symlist with the abilist.
8512 (config-tls, config-abi-config): Delete, no longer used.
8513 (update-abi-%): Remove AWK script and explicit abilist directory.
8514 (update-abi): Rewrite to simply compare and conditionally copy the
8515 symlist and the sysdep abilist file. Remove update-abi-config
8516 checks.
8517 * abilist/ld.abilist: Remove.
8518 * abilist/libBrokenLocale.abilist: Remove.
8519 * abilist/libanl.abilist: Remove.
8520 * abilist/libcrypt.abilist: Remove.
8521 * abilist/libdl.abilist: Remove.
8522 * abilist/librt.abilist: Remove.
8523 * abilist/libthread_db.abilist: Remove.
8524 * abilist/libutil.abilist: Remove.
8525 * scripts/extract-abilist.awk: Remove.
8526 * scripts/merge-abilist.awk: Remove.
8527 * sysdeps/generic/libcidn.abilist: New file.
8528 * sysdeps/generic/libnss_compat.abilist: New file.
8529 * sysdeps/generic/libnss_db.abilist: New file.
8530 * sysdeps/generic/libnss_dns.abilist: New file.
8531 * sysdeps/generic/libnss_files.abilist: New file.
8532 * sysdeps/generic/libnss_hesiod.abilist: New file.
8533 * sysdeps/generic/libnss_nis.abilist: New file.
8534 * sysdeps/generic/libnss_nisplus.abilist: New file.
8535 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8536 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8537 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8538 file.
8539 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8540 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8541 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8542 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8543 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8544 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8545 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8546 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8547 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8548 file.
8549 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8550 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8551 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8552 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8553 file.
8554 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8555 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8556 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8557 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8558 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8559 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8560 file.
8561 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8562 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8563 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8564 file.
8565 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8567 New file.
8568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8569 New file.
8570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8571 New file.
8572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8573 New file.
8574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8575 New file.
8576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8577 New file.
8578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8579 New file.
8580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8581 New file.
8582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8583 New file.
8584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8585 New file.
8586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8587 New file.
8588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8589 New file.
8590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8591 New file.
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8593 file.
8594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8595 New file.
8596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8597 New file.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8599 file.
8600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8601 New file.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8603 New file.
8604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8605 file.
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8607 New file.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8609 New file.
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8611 New file.
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8613 New file.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8615 New file.
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8617 New file.
8618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8620 file.
8621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8622 New file.
8623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8624 file.
8625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8626 file.
8627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8628 file.
8629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8630 file.
8631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8632 file.
8633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8634 New file.
8635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8636 file.
8637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8638 file.
8639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8640 New file.
8641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8642 file.
8643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8645 file.
8646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8647 New file.
8648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8649 file.
8650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8651 file.
8652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8653 file.
8654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8655 file.
8656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8657 file.
8658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8659 New file.
8660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8661 file.
8662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8663 file.
8664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8665 New file.
8666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8667 file.
8668 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8669 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8670 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8671 file.
8672 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8673 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8674 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8675 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8676 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8677 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8678 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8679 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8680 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8681 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8684 file.
8685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8686 New file.
8687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8688 file.
8689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8690 file.
8691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8692 file.
8693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8694 file.
8695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8696 file.
8697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8698 New file.
8699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8700 New file.
8701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8702 file.
8703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8704 New file.
8705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8706 file.
8707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8709 file.
8710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8711 New file.
8712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8713 file.
8714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8715 file.
8716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8717 file.
8718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8719 file.
8720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8721 file.
8722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8723 New file.
8724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8725 New file.
8726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8727 file.
8728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8729 New file.
8730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8731 file.
8732
41d73a1b
JM
87332012-04-28 Joseph Myers <joseph@codesourcery.com>
8734
8735 * conform/conformtest.pl: Fix typo in handling typed-constant from
8736 allow-header.
8737
28aeeda4
JM
87382012-04-27 Joseph Myers <joseph@codesourcery.com>
8739
adae8f5e
JM
8740 * README: Cut down references to pre-2.6 Linux kernels and
8741 Linuxthreads. Update lists of configurations in libc and ports
8742 and sort alphabetically. Say "or newer" with Linux kernel version
8743 requirements.
8744
28aeeda4
JM
8745 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8746
a462cb63
RA
87472012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8748
8749 [BZ #887]
8750 * math/libm-test.inc (logb_test_downward): New test to expose
8751 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8752 rounding mode.
8753
6ad3493e
JM
87542012-04-27 Joseph Myers <joseph@codesourcery.com>
8755
8756 [BZ #14027]
8757 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8758 to be done.
8759 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8760 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8761
2ce4f015
JM
87622012-04-26 Joseph Myers <joseph@codesourcery.com>
8763
5aeb141a
JM
8764 * sysdeps/unix/i386/brk.S: Remove file.
8765 * sysdeps/unix/i386/dl-brk.S: Likewise.
8766 * sysdeps/unix/i386/pipe.S: Likewise.
8767 * sysdeps/unix/i386/sigreturn.S: Likewise.
8768 * sysdeps/unix/i386/syscall.S: Likewise.
8769 * sysdeps/unix/i386/vfork.S: Likewise.
8770 * sysdeps/unix/i386/wait.S: Likewise.
8771
7143acae
JM
8772 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8773 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8774
2ce4f015
JM
8775 * configure.in (arm*-none*): Do not allow without
8776 --enable-hacker-mode.
8777 (netbsd*): Remove case setting base_os.
8778 (386bsd*): Likewise.
8779 (freebsd*): Likewise.
8780 (bsdi*): Likewise.
8781 (osf*): Likewise.
8782 (sunos*): Likewise.
8783 (ultrix*): Likewise.
8784 (newsos*): Likewise.
8785 (dynix*): Likewise.
8786 (*bsd*): Likewise.
8787 (sysv*): Likewise.
8788 (isc*): Likewise.
8789 (esix*): Likewise.
8790 (sco*): Likewise.
8791 (minix*): Likewise.
8792 (irix4*): Likewise.
8793 (irix6*): Likewise.
8794 (solaris[2-9]*): Likewise.
8795 (none): Likewise.
8796 * configure: Regenerated.
8797
0ac229c8
AZ
87982012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8799
8800 [BZ #11521]
8801 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8802 overflow or cancellation in calculating denominator.
8803 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8804 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8805 down expression to avoid unexpected rounding in newer GCCs.
8806 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8807
33f244f4
DM
88082012-04-26 David S. Miller <davem@davemloft.net>
8809
8810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8811 long-double compat symbols.
8812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8825
cfa1f3e8
DM
88262012-04-25 David S. Miller <davem@davemloft.net>
8827
8828 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8829 HWCAP_* values only after the memory barriers have been defined.
8830 (atomic_full_barrier): Define.
8831 (atomic_read_barrier): Define.
8832 (atomic_write_barrier): Define.
8833
6e236b92
SP
88342012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8835
8836 * shlib-versions: Add libgcc_s version information.
8837 * sysdeps/generic/libgcc_s.h: Remove.
8838 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8839 libgcc_s.h.
8840 * sysdeps/gnu/unwind-resume.c: Likewise.
8841 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8842
aab39a09
DM
88432012-04-25 David S. Miller <davem@davemloft.net>
8844
8845 * sysdeps/unix/sparc/brk.S: Delete.
8846 * sysdeps/unix/sparc/dl-brk.S: Delete.
8847 * sysdeps/unix/sparc/pipe.S: Delete.
8848 * sysdeps/unix/sparc/sysdep.S: Delete.
8849 * sysdeps/unix/sparc/sysdep.h: Delete.
8850 * sysdeps/unix/sparc/vfork.S: Delete.
8851 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8852 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8853 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8854 ret_ERRVAL, r0, r1, MOVE): Define.
8855 (JUMPTARGET): Remove.
8856 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8857 sysdeps/unix/sparc/sysdep.h
8858 (ENTRY, END): Remove.
8859 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8860
a3cc4f48
JM
88612012-04-25 Joseph Myers <joseph@codesourcery.com>
8862
2ed8cda2
JM
8863 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8864 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8865 -DIS_IN_build.
8866
35d76d59
JM
8867 * timezone/README: Update upstream location and email address for
8868 tzcode and tzdata.
8869 * timezone/zdump.c: Update from tzcode 2012b.
8870 * timezone/zic.c: Likewise.
8871
a3cc4f48
JM
8872 * configure.in (libc_cv_as_needed): Remove test.
8873 * configure: Regenerated.
8874 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8875 conditional definition.
8876 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8877 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8878 * config.make.in (have-as-needed): Remove variable.
8879
ceab42c3
SP
88802012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8881 Paul Pluzhnikov <ppluzhnikov@google.com>
8882
8883 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8884 strings correctly.
8885
3ce2865f
CLT
88862012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8887
8888 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8889 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8890 * sysdeps/sh/strlen.S: Likewise.
8891
f37e0d68
JM
88922012-04-24 Joseph Myers <joseph@codesourcery.com>
8893
ae186e9a
JM
8894 * sysdeps/unix/fork.S: Remove file.
8895 * sysdeps/unix/i386/fork.S: Likewise.
8896 * sysdeps/unix/sparc/fork.S: Likewise.
8897
b96914af
JM
8898 * sysdeps/unix/system.c: Remove file.
8899 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8900
f37e0d68
JM
8901 * sysdeps/unix/getegid.S: Remove file.
8902 * sysdeps/unix/geteuid.S: Likewise.
8903
87ef29ca
RM
89042012-04-24 Roland McGrath <roland@hack.frob.com>
8905
83bcd236
RM
8906 * scripts/check-localplt.awk: New file.
8907 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8908 of diff.
8909 * scripts/data/localplt-generic.data: Add a comment.
8910
87ef29ca
RM
8911 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8912 NODE when __dir_mkfile failed.
8913 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8914 Reported by Ludovic Courtès <ludo@gnu.org>.
8915
e5a6e567
AJ
89162012-04-24 Andreas Jaeger <aj@suse.de>
8917
8918 * Makerules (common-clean): Also remove gen-as-const-headers
8919 files.
8920
c1820385
JM
89212012-04-24 Joseph Myers <joseph@codesourcery.com>
8922
8923 * Makerules (native-compile): Do not change working directory for
8924 build. Use $(OUTPUT_OPTION) in command.
8925 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8926
94e02fc4
AZ
89272012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8928
8929 [BZ #13886]
8930 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8931 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8932 * math/libm-test.inc (floor_test): Add more tests.
8933 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8934
3a533ca3
JM
89352012-04-24 Joseph Myers <joseph@codesourcery.com>
8936
940ab4b3
JM
8937 * sysdeps/unix/getdents.c: Remove file.
8938 * sysdeps/unix/sysv/getdents.c: Likewise.
8939 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8940
90e037bd
JM
8941 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8942 sysdeps/unix/mman/syscalls.list.
8943 (mmap): Likewise.
8944 (mprotect): Likewise.
8945 (msync): Likewise.
8946 (munmap): Likewise.
8947 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8948 * sysdeps/unix/mman/syscalls.list: Remove.
8949 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8950
3a533ca3
JM
8951 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8952 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8953 * configure: Regenerated.
8954 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8955 $(libgcc_s_suffix).
8956 * config.make.in (libgcc_s_suffix): Remove variable.
8957
1ad743de
JM
89582012-04-23 Joseph Myers <joseph@codesourcery.com>
8959
4ad451e2
JM
8960 * sysdeps/unix/sysv/gethostname.c: Move to ...
8961 * sysdeps/posix/gethostname.c: ... here.
8962
5e37ce39
JM
8963 * sysdeps/unix/execve.S: Remove file.
8964
1ad743de
JM
8965 * sysdeps/unix/_exit.S: Remove file.
8966
4e681b5b
AJ
89672012-04-23 Andreas Jaeger <aj@suse.de>
8968
8969 [BZ #13739]
8970 * manual/Makefile: Remove make dist support, there's no
8971 need for a stand-alone documentation tar ball.
8972 (TEXI2DVI): Define always, it's not in Makeconfig.
8973 (dist): Removed.
8974 (tar-it): Removed.
8975 (edition): Removed.
8976 (glibc-doc-$(edition).tar): Removed
8977 (%.Z): Removed.
8978 (%.gz): Removed.
8979 (%.uu): Removed.
8980 (ETAGS): Remove, it's in Makeconfig.
8981 (move-if-change): Remove, it's in Makeconfig.
8982
c0baea34
PE
89832013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8984
8985 [BZ #13970]
8986 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8987 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8988 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8989 (strtod_l, strtof_l, strtold_l): Remove __wur.
8990 It is not necessarily an error to ignore strtol's return value.
8991 One can reliably look at the stored endptr to decide whether
8992 the number had valid syntax.
8993
7c0616fa
AJ
89942012-04-21 Andreas Jaeger <aj@suse.de>
8995
803cb6b7 8996 [BZ #13739]
7c0616fa
AJ
8997 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8998
b0fe253f
JM
89992012-04-21 Joseph Myers <joseph@codesourcery.com>
9000
9001 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9002 * sysdeps/unix/sysv/Versions: Remove file.
9003
8280f22d
MT
90042012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9005
9006 [BZ #13927]
9007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9008
75ce411f 90092012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
9010
9011 [BZ #7064]
9012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9013 version from __vm86.
9014
097d59fa
JM
90152012-04-20 Joseph Myers <joseph@codesourcery.com>
9016
a90f3bcb
JM
9017 * sysdeps/unix/common/lxstat.c: Remove file.
9018 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9019
edc7ea78
JM
9020 * sysdeps/unix/sysv/Makefile: Remove file.
9021
cb78c221
JM
9022 * sysdeps/unix/sysv/direct.h: Remove file.
9023
efa6a45f
JM
9024 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9025 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9026 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9027 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9028 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9029 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9030 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9031
9c9f2d0c
JM
9032 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9033
4541c83b
JM
9034 * sysdeps/unix/xmknod.c: Remove file.
9035 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9036
f5d153a0
JM
9037 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9038
aa746595
JM
9039 * sysdeps/unix/sysv/i386/time.S: Remove file.
9040
cce5905e
JM
9041 * sysdeps/unix/fxstat.c: Remove file.
9042 * sysdeps/unix/xstat.c: Likewise.
9043 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9044
37fa3841
JM
9045 * sysdeps/unix/sysv/sigaction.c: Remove file.
9046
ff1962a3
JM
9047 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9048 (sysdep_headers): Remove variable.
9049 [termio.h not in sysdep_headers] (generated): Likewise.
9050 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9051 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9052 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9053 * sysdeps/unix/sysv/tcflow.c: Likewise.
9054 * sysdeps/unix/sysv/tcflush.c: Likewise.
9055 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9056 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9057 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9058 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9059 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9060
e7740d31
JM
9061 * sysdeps/unix/siglist.c: Remove file.
9062
ee06f18b
JM
9063 * sysdeps/unix/getppid.S: Remove file.
9064
097d59fa
JM
9065 * sysdeps/unix/mkdir.c: Remove file.
9066 * sysdeps/unix/rmdir.c: Likewise.
9067
ff3d51ec
AS
90682012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9069
9070 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9071 ERR_MAX value.
9072 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9073 errlist-compat value.
9074
50f81fd7
DM
90752012-04-18 David S. Miller <davem@davemloft.net>
9076
9077 * sysdeps/generic/memcopy.h (reg_char): Delete.
9078 * debug/strcat_chk.c: Use char, not reg_char.
9079 * debug/strcpy_chk.c: Likewise.
9080 * debug/strncat_chk.c: Likewise.
9081 * debug/strncpy_chk.c: Likewise.
9082 * string/memchr.c: Likewise.
9083 * string/memrchr.c: Likewise.
9084 * string/rawmemchr.c: Likewise.
9085 * string/strcat.c: Likewise.
9086 * string/strchr.c: Likewise.
9087 * string/strchrnul.c: Likewise.
9088 * string/strcmp.c: Likewise.
9089 * string/strcpy.c: Likewise.
9090 * string/strncat.c: Likewise.
9091 * string/strncmp.c: Likewise.
9092 * string/strncpy.c: Likewise.
9093
8ff41c46
WS
90942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9095
9096 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9097 __builtin_memcopy is called when src and dest ranges are known to not
9098 overlap.
9099
6b652f46
WS
91002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9101
9102 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9103 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9104 fwd_align_merge macro call.
9105 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9106 bwd_align_merge macro call.
9107 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9108
b282631e
WS
91092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9110
9111 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9112 bwd_align_merge macros.
9113 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9114 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9115 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9116
95aa737c
DM
91172012-04-18 David S. Miller <davem@davemloft.net>
9118
9119 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9120
7a99a614
AJ
91212012-04-18 Andreas Jaeger <aj@suse.de>
9122
9123 [BZ# 6794]
9124 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9125 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9126 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9127
9128 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9129 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9130 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9131
9132 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9133 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9134 Adjust for changed ldbl-128 files.
9135
9136 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9137 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9138 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9139
e5270c23
DM
91402012-04-17 David S. Miller <davem@davemloft.net>
9141
9142 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9143
fb5e92c9
AS
91442012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9145
9146 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9147 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9148 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9149 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9150 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9151 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9152
76da7265
AZ
91532012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9154
9155 [BZ #6794]
9156 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9157 * math/libm-test.inc: Add ilogb errno and exception tests.
9158 * math/w_ilogb.c: New file: ilogb wrapper.
9159 * math/w_ilogbf.c: New file: ilogbf wrapper.
9160 * math/w_ilogbl.c: New file: ilogbl wrapper.
9161 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9162 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9163 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9164 exception being thrown with 0.0 as argument.
9165 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9166 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9167 exception being thrown with 0.0 as argument.
9168 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9169 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9170 exception being thrown with 0.0 as argument.
9171 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9172 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9173 exception being thrown with 0.0 as argument.
9174 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9175 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9176 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9177 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9178 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9179 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9180 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9181 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9182 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9183
0396e69d
PB
91842012-04-17 Petr Baudis <pasky@ucw.cz>
9185
9186 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9187 with altivec.
9188
750b5926
MP
91892012-04-16 Marek Polacek <polacek@redhat.com>
9190
9191 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9192
751728a1
MP
91932012-04-16 Marek Polacek <polacek@redhat.com>
9194
9195 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9196 operands of fdivp instruction.
9197
34a27407
L
91982012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9199
9200 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9201 * elf/tst-auditmod3b.c: Likewise.
9202 * elf/tst-auditmod4b.c: Likewise.
9203 * elf/tst-auditmod5b.c: Likewise.
9204 * elf/tst-auditmod6b.c: Likewise.
9205 * elf/tst-auditmod6c.c: Likewise.
9206 * elf/tst-auditmod7b.c: Likewise.
9207 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9208 * sysdeps/x86_64/preconfigure.in: Likewise.
9209 * sysdeps/x86_64/preconfigure: Regenerated.
9210
7e73e17d
L
92112012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9212
9213 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9214 __ILP32__.
9215
c7a6ab72
AB
92162012-04-13 Antoine Balestrat <merkil33@gmail.com>
9217
9218 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9219 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9220
a9e8e0e0
CL
92212012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9222
9223 [BZ #13973]
9224 * locale/iso-639.def: Fix gl language name. Spotted by
9225 Yaron Shahrabani.
9226
ec98af7d
RM
92272012-04-12 Roland McGrath <roland@hack.frob.com>
9228
9229 [BZ #2074]
9230 * libio/libio.h (__io_write_fn): Update comment.
9231
247c3ede
PB
92322012-04-12 Petr Baudis <pasky@ucw.cz>
9233
9234 [BZ #2074]
9235 * stdio.texi (Hook Functions): The user provided writer function
9236 is not allowed to return -1.
9237
55939d6d
DM
92382012-04-11 David S. Miller <davem@davemloft.net>
9239
9240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9241
90020f5a
MF
92422012-04-11 Mike Frysinger <vapier@gentoo.org>
9243
9244 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9245 Add a leading slash to rtkaio.
9246
288f9098
JM
92472012-04-11 Jim Meyering <meyering@redhat.com>
9248
90020f5a
MF
9249 [BZ #11959]
9250 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9251 It is not necessarily an error to ignore fwrite's return
9252 value. One can reliably use ferror to test for errors after
9253 the fact.
288f9098 9254
4be2b570
L
92552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9256
9257 * bits/types.h (__snseconds_t): New type.
9258 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9259
9260 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9261 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9262 (__SNSECONDS_T_TYPE): Likewise.
9263 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9264 (__SNSECONDS_T_TYPE): Likewise.
9265 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9266 (__SNSECONDS_T_TYPE): Likewise.
9267
288f9098 92682012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9269
9270 [BZ #2636]
9271 * manual/time.texi (Processor Time): Return type of times is
9272 elapsed real time since an arbitrary point in the past.
9273 (CPU Time): Move CLK_TCK from here...
9274 (Processor Time): ...to here. Correct description.
9275 * manual/conf.texi (Constants for Sysconf): Correct description of
9276 _SC_CLK_TCK.
9277
d7dd4413
DM
92782012-04-10 David S. Miller <davem@davemloft.net>
9279
9280 [BZ #13967]
9281 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9282 where the is a gap between DT_REL(A) and DT_JMPREL.
9283
b46068fc
L
92842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9285
9286 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9287 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9288 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9289
73d65cc3
SP
92902012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9291
9292 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9293 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9294 (dl_main): Handle --inhibit-cache.
9295 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9296 _dl_inhibit_cache.
9297 * elf/dl-load.c (_dl_map_object): Use it.
9298 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9299
bcc8d661
JM
93002012-04-09 Joseph Myers <joseph@codesourcery.com>
9301
8f9a2fae
JM
9302 [BZ #13872]
9303 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9304 (__ieee754_powl): Saturate large exponents rather than testing for
9305 overflow of y*log2(x).
9306 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9307 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9308 exceptions.
9309
bcc8d661
JM
9310 [BZ #11521]
9311 * math/s_ctan.c: Include <float.h>.
9312 (__ctan): Avoid internal overflow or cancellation in calculating
9313 denominator.
9314 * math/s_ctanf.c: Likewise.
9315 * math/s_ctanl.c: Likewise.
9316 * math/s_ctanh.c: Likewise.
9317 * math/s_ctanhf.c: Likewise.
9318 * math/s_ctanhl.c: Likewise.
9319 * math/libm-test.inc (ctan_test): Add more tests.
9320 (ctanh_test): Likewise.
9321 * sysdeps/i386/fpu/libm-test-ulps: Update.
9322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9323
823fbbb4
AJ
93242012-04-09 Andreas Jaeger <aj@suse.de>
9325
03879793
AJ
9326 [BZ #6894]
9327 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9328 is an optional BSD extension.
9329
823fbbb4
AJ
9330 [BZ #10254]
9331 * manual/stdio.texi (Opening Streams): Document additional fopen
9332 parameters.
9333
8de131cb
RM
93342012-04-09 Roland McGrath <roland@hack.frob.com>
9335
9336 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9337 %eax without telling the compiler.
9338
c0ed9d7d
CD
93392012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9340
9341 [BZ # 13963]
9342 * manual/install.texi: Use sourceware.org.
9343
c483f6b4
JM
93442012-04-09 Joseph Myers <joseph@codesourcery.com>
9345
d7dd9453
JM
9346 [BZ #13873]
9347 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9348 (__ieee754_pow): Generate overflow and underflow using huge*huge
9349 and tiny*tiny rather than just returning constant infinity or zero
9350 for large exponents.
9351 * math/libm-test.inc (pow_test): Require overflow exceptions for
9352 applicable cases of large exponents.
9353
c483f6b4
JM
9354 [BZ #706]
9355 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9356 (__ieee754_pow): Use iterative multiplication algorithm only for
9357 integer exponents with absolute value below 1024. Check for odd
9358 integer exponents when using algorithm for real exponents.
9359 * math/libm-test.inc (pow_test): Add more tests.
9360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9361
d2de7579
JM
93622012-04-08 Joseph Myers <joseph@codesourcery.com>
9363
9364 [BZ #13705]
9365 * math/libm-test.inc (exp_test): Do not allow overflow exception
9366 on underflow test.
9367
f77f1232
AJ
93682012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9369
9370 [BZ #13705]
9371 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9372 instead of __kernel_standard_f.
9373
3884932b
MF
93742012-04-08 Mike Frysinger <vapier@gentoo.org>
9375
9376 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9377 * sysdeps/x86_64/memset_chk.S: Likewise.
9378
54472e9c
AJ
93792012-04-08 Andreas Jaeger <aj@suse.de>
9380
6ab0fbfc
AJ
9381 [BZ #10153]
9382 * manual/startup.texi (Environment Access): Describe return value
9383 for putenv and setenv.
9384
61efba8c
AJ
9385 [BZ #6895]
9386 * manual/filesys.texi (Directory Entries): Add description for
9387 DT_LNK.
9388
95c3f29a
AJ
9389 [BZ #6890]
9390 * manual/filesys.texi (Directory Entries): Clarify that it's file
9391 system not operating system in the description of DT_UNKNOWN.
9392
54472e9c
AJ
9393 [BZ #6578]
9394 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9395
624254b1
SC
93962012-04-08 Stephen Compall <s11@member.fsf.org>
9397
9398 [BZ #6649]
9399 * manual/llio.texi (Opening and Closing Files): Add cross
9400 reference to explain mode argument.
9401
1e4920e0
MF
94022012-04-07 Mike Frysinger <vapier@gentoo.org>
9403
9404 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9405 * sysdeps/x86_64/memset_chk.S: Likewise.
9406
5ed848f3
DM
94072012-04-07 David S. Miller <davem@davemloft.net>
9408
9409 * elf/elf.h (R_SPARC_WDISP10): Define.
9410 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9411 R_SPARC_SIZE32.
9412 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9413 R_SPARC_SIZE64 and R_SPARC_H34.
9414
96154cd8
CD
94152012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9416
9417 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9418 conditions and remove no longer applicable assertion.
9419
9904dc47
L
94202012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9421
9422 * bits/byteswap.h: Include <features.h>.
9423 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9424 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9425
f8887d0a
L
94262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9427
9428 * bits/byteswap.h (__bswap_16): Removed.
9429 Include <bits/byteswap-16.h> to get __bswap_16.
9430 * sysdeps/i386/bits/byteswap.h: Likewise.
9431 * sysdeps/s390/bits/byteswap.h: Likewise.
9432 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9433 * bits/byteswap-16.h: New file.
9434 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9435 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9436 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9437 * string/Makefile (headers): Add bits/byteswap-16.h.
9438
62470f60
PP
94392012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9440
9441 [BZ #13895]
9442 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9443 extra indirection.
9444 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9445 * nss/tst-nss-static.c: New.
9446
4dad7bab
RM
94472012-04-06 Robert Millan <rmh@gnu.org>
9448
9449 [BZ #6486]
9450 * manual/llio.texi (File Position Primitive): lseek
9451 refers to WHENCE when it really means OFFSET.
9452
e9142a17
AJ
94532012-04-06 Andreas Jaeger <aj@suse.de>
9454
2c040eff
AJ
9455 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9456 strncmp declarations.
9457
e9142a17
AJ
9458 * abilist/libc.abilist: Add __poll and __ppoll.
9459
ff9f1c5f
DM
94602012-04-05 David S. Miller <davem@davemloft.net>
9461
dcd2ae90
DM
9462 * scripts/check-local-headers.sh: Accept a host triplet in the
9463 path matched by the exclude regexp.
9464
993eb054
DM
9465 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9466 definition.
9467 * sysdeps/powerpc/powerpc32/dl-machine.h
9468 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9469 * sysdeps/s390/s390-32/dl-machine.h
9470 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9471 * sysdeps/sparc/sparc32/dl-machine.h
9472 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9473 * sysdeps/sparc/sparc64/dl-machine.h
9474 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9475
ff9f1c5f
DM
9476 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9477 lazy binding.
48e2e132 9478 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9479 undefined symbol errors.
9480
48e2e132 9481 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9482 DT_NEEDED entries.
9483
e80d6f94
MM
94842012-04-05 Michael Matz <matz@suse.de>
9485
9486 [BZ #13592]
9487 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9488
349fa79f
AJ
94892012-04-05 Andreas Jaeger <aj@suse.de>
9490
9491 [BZ #13908]
9492 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9493 comment.
9494
f402708f
KK
94952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9496
9497 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9498 which ROUND is no valid rounding mode.
9499
2ecccfc9
KK
95002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9501
9502 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9503 read again.
9504 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9505
8a53f50f
KK
95062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9507
9508 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9509 an exception using FPU order intentionally.
9510
95112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9512
9513 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9514 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9515 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9516 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9517
d653abb7
SJ
95182012-04-05 Simon Josefsson <simon@josefsson.org>
9519
9520 [BZ #12340]
9521 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9522 EINVAL when BUFLEN is too smal.
9523
c3b1bf7d
TS
95242012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9525
9526 [BZ #13553]
9527 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9528 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9529
b1aa60f3
AJ
95302012-04-03 Andreas Jaeger <aj@suse.de>
9531
c3b1bf7d 9532 [BZ #13938]
67f60a26
AJ
9533 * manual/setjmp.texi (System V contexts): Fix sentence.
9534
b1aa60f3
AJ
9535 [BZ #13926]
9536 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9537 New macro for this case.
9538 [!__GNUC__] (__bswap_64): New inline function for this case.
9539 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9540 * bits/byteswap.h: Likewise.
9541 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9542 ull, guard with __GLIBC_HAVE_LONG_LONG.
9543
9544 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9545 __GLIBC_HAVE_LONG_LONG.
9546
9547 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9548 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9549
39c59c35
TMQMF
95502012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9551
9552 [BZ #13691]
9553 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9554 inptr and inend, rather than using last_ch.
9555
135ffda8
DM
95562012-04-02 David S. Miller <davem@davemloft.net>
9557
9558 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9559 * stdio-common/printf-parse.h (read_int): Change return type to
9560 'int', return -1 on INT_MAX overflow.
9561 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9562 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9563 overflows INT_MAX. Check for overflow of in-format-string precision
9564 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9565 SIZE_MAX not INT_MAX for integer overflow test.
9566 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9567 skip the construct in the format string but do not record anything.
9568 * stdio-common/bug22.c: Adjust to test both width/prevision
9569 INT_MAX overflow as well as total length INT_MAX overflow. Check
9570 explicitly for proper errno values.
9571
228c019e
TS
95722012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9573
302cadd3
TS
9574 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9575 CHAR_MAX.
9576 * string/test-strcmp.c [! WIDE]: Likewise.
9577 * time/tst-mktime2.c: Likewise for INT_MAX.
9578 * string/test-string.h: #include <sys/param.h> for MIN.
9579
228c019e
TS
9580 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9581 * sysdeps/i386/init-first.c (init): Likewise.
9582 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9583 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9584 * sysdeps/sh/init-first.c (init): Likewise.
9585
cfa633f5
UD
95862012-04-01 Ulrich Drepper <drepper@gmail.com>
9587
9588 * po/ru.po: Update from translation team.
d1635ef8 9589 * po/vi.po: Likewise.
cfa633f5 9590
6cd0a5ea
SP
95912012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9592
9593 * resolv/nss_dns/dns-host.c: Merge copyright years.
9594
4b43400f
LD
95952012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9596
9597 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9598 Optimize memcpy with prefetch if
9599 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9600 src, dst pointers have unequal 16 byte alignments.
9601
48c41d04
SP
96022012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9603
9604 [BZ #13928]
9605 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9606 from a CNAME entry and return the minimum ttl for the query.
9607 (gaih_getanswer_slice): Likewise.
9608
b8dc394d
JL
96092012-03-30 Jeff Law <law@redhat.com>
9610
9611 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9612 due to long keys.
9613 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9614 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9615
2f5a5ed0
JL
9616 * resolv/nss_dns/dns-host.c: Update copyright year.
9617
1d39e359
UD
96182012-03-30 Ulrich Drepper <drepper@gmail.com>
9619
c030f70c 9620 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9621 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9622
1d39e359
UD
9623 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9624 comments for sendmmsg.
9625
96262012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9627
9628 [BZ #13691]
9629 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9630 with only 1 character between 0x0041 and 0x01b0.
9631 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9632 * wcsmbs/tst-mbsnrtowcs.c: New file.
9633
20fde227
DM
96342012-03-29 David S. Miller <davem@davemloft.net>
9635
9636 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9637 small copies by hand.
9638
984a4237
JL
96392012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9640
9641 [BZ #13761]
9642 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9643 _nss_compat_initgroups_dyn): Fall back to malloc/free
9644 for large group memberships.
9645
18c9d62b
DM
96462012-03-28 David S. Miller <davem@davemloft.net>
9647
88d85d4f
DM
9648 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9649 that branches into memcpy.
9650 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9651 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9652 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9653 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9654 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9655 bits.
9656 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9657 implementation too.
9658 * sysdeps/sparc/mempcpy.S: New file.
9659
e5aa83e1
DM
9660 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9661 the IFUNC routine in the libc case.
9662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9663
88570753
DM
9664 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9665 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9666 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9667 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9668 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9669 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9670 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9671 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9672
249d7567
DM
9673 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9674 loop to 256 bytes instead of 64 bytes and fix test signedness.
9675
18c9d62b
DM
9676 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9677 * sysdeps/sparc/sparc32/Makefile: rather than here...
9678 * sysdeps/sparc/sparc64/Makefile: and here.
9679
05f3d1f6
UD
96802012-03-28 Ulrich Drepper <drepper@gmail.com>
9681
9682 * malloc/mallocbug.c: Avoid warnings about unused variables.
9683
86ae07a8
JL
96842012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9685
9686 [BZ #13760]
9687 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9688 in the right place. Discard and retry query if response is
9689 larger than input buffer size.
9690
41bf21a1
JM
96912012-03-28 Joseph Myers <joseph@codesourcery.com>
9692
d6270972
JM
9693 [BZ #369]
9694 [BZ #2678]
9695 [BZ #3866]
9696 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9697 x for large integer exponent.
9698 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9699 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9700 sign of result as needed afterwards.
9701 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9702 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9703 result for underflowing pow the same as for overflow.
9704 (__kernel_standard_l): Handle powl overflow and underflow here
9705 rather than calling __kernel_standard.
9706 * math/libm-test.inc (pow_test): Add more tests.
9707
414fca03 9708 [BZ #3868]
41bf21a1
JM
9709 [BZ #13879]
9710 [BZ #13910]
9711 [BZ #13911]
9712 [BZ #13912]
9713 [BZ #13913]
9714 [BZ #13915]
9715 [BZ #13916]
9716 [BZ #13917]
9717 [BZ #13918]
9718 [BZ #13919]
9719 [BZ #13920]
9720 [BZ #13921]
9721 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9722 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9723 (__kernel_standard_l): New function.
9724 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9725 __kernel_standard.
9726 * math/w_acosl.c (__acosl): Likewise.
9727 * math/w_asinl.c (__asinl): Likewise.
9728 * math/w_atan2l.c (__atan2l): Likewise.
9729 * math/w_atanhl.c (__atanhl): Likewise.
9730 * math/w_coshl.c (__coshl): Likewise.
9731 * math/w_exp10l.c (__exp10l): Likewise.
9732 * math/w_exp2l.c (__exp2l): Likewise.
9733 * math/w_fmodl.c (__fmodl): Likewise.
9734 * math/w_hypotl.c (__hypotl): Likewise.
9735 * math/w_j0l.c (__j0l, __y0l): Likewise.
9736 * math/w_j1l.c (__j1l, __y1l): Likewise.
9737 * math/w_jnl.c (__jnl, __ynl): Likewise.
9738 * math/w_lgammal.c (__lgammal): Likewise.
9739 * math/w_log10l.c (__log10l): Likewise.
9740 * math/w_log2l.c (__log2l): Likewise.
9741 * math/w_logl.c (__logl): Likewise.
9742 * math/w_powl.c (__powl): Likewise.
9743 * math/w_remainderl.c (__remainderl): Likewise.
9744 * math/w_scalbl.c (sysv_scalbl): Likewise.
9745 * math/w_sinhl.c (__sinhl): Likewise.
9746 * math/w_sqrtl.c (__sqrtl): Likewise.
9747 * math/w_tgammal.c (__tgammal): Likewise.
9748 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9749 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9750 * math/libm-test.inc (acos_test): Add more tests.
9751 (acosh_test): Likewise.
9752 (asin_test): Likewise.
9753 (atanh_test): Likewise.
9754 (exp_test): Likewise.
9755 (exp10_test): Likewise.
9756 (exp2_test): Likewise.
9757 (expm1_test): Likewise.
9758 (lgamma_test): Likewise.
9759 (log_test): Likewise.
9760 (log10_test): Likewise.
9761 (log1p_test): Likewise.
9762 (log2_test): Likewise.
9763 (pow_test): Do not allow some spurious overflow exceptions.
9764 (sqrt_test): Add more tests.
9765 (tgamma_test): Likewise.
9766 (y0_test): Likewise.
9767 (y1_test): Likewise.
9768 (yn_test): Likewise.
9769
dd62fda6
AB
97702012-03-27 Anton Blanchard <anton@samba.org>
9771
9772 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9773 MAP_HUGETLB.
9774 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9775 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9776 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9777
1e3cdfda
AJ
97782012-03-27 David S. Miller <davem@davemloft.net>
9779
b855ab85
DM
9780 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9781
1e3cdfda
AJ
9782 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9783 have-as-vis3 check.
9784
97852012-03-27 Andreas Jaeger <aj@suse.de>
9786
9787 * sysdeps/x86_64/elf/configure.in: Moved to ...
9788 * sysdeps/x86_64/configure.in: ... here.
9789 * sysdeps/x86_64/elf/start.S: Moved to ...
9790 * sysdeps/x86_64/start.S: ... here.
9791 * sysdeps/x86_64/elf/configure: Delete.
9792
9793 * sysdeps/x86_64/configure.in: Merge contents from
9794 sysdeps/i386/configure.in (without i686 check).
9795
9796 * sysdeps/i386/elf/Versions: Merge into ...
9797 * sysdeps/i386/Versions: ... this.
9798 * sysdeps/i386/elf/Versions: Delete file.
9799 * sysdeps/i386/elf/start.S: Moved to ...
9800 * sysdeps/i386/start.S: ...here.
9801 * sysdeps/i386/elf/configure.in: Merge into...
9802 * sysdeps/i386/configure.in: ...here.
9803 * sysdeps/i386/elf/configure.in: Delete file.
9804 * sysdeps/i386/elf/configure: Delete file.
9805
9806 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9807 * debug/backtracesyms.c: ... here.
9808 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9809 * debug/backtracesymsfd.c: ... here.
9810 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9811 * sysdeps/generic/ifunc-sel.h: ... here.
9812
9813 * sysdeps/unix/i386/start.c: Delete file.
9814 * sysdeps/unix/sparc/start.c: Delete file.
9815 * sysdeps/unix/start.c: Delete file.
9816
9817 * sysdeps/sh/elf/configure.in: Moved to ...
9818 * sysdeps/sh/configure.in: ... here.
9819 * sysdeps/sh/elf/start.S: Moved to ...
9820 * sysdeps/sh/start.S: ... here.
9821 * sysdeps/sh/elf/configure: Delete file.
9822
9823 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9824 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9825 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9826 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9827 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9828 * sysdeps/powerpc/powerpc64/start.S: here.
9829 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9830 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9831 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9832 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9833 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9834
9835 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9836 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9837 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9838 * sysdeps/powerpc/powerpc32/start.S: ... here.
9839 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9840 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9841 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9842
9843 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9844 * sysdeps/powerpc/ifunc-sel.h: ... here.
9845 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9846 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9847
9848 * sysdeps/sparc/elf/configure.in: Moved to ...
9849 * sysdeps/sparc/configure.in: ... here.
9850 * sysdeps/sparc/elf/configure: Delete file.
9851 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9852 * sysdeps/sparc/sparc32/start.S: ... here.
9853 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9854 * sysdeps/sparc/sparc64/start.S: ... here.
9855 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9856 * sysdeps/sparc/sparc32/Makefile: ... this.
9857 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9858 * sysdeps/sparc/sparc64/Makefile: ... this.
9859
9860 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9861 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9862 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9863 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9864 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9865 * sysdeps/s390/s390-32/setjmp.S: ... here.
9866 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9867 * sysdeps/s390/s390-32/configure.in: ... here.
9868 * sysdeps/s390/s390-32/elf/configure: Delete file.
9869 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9870 * sysdeps/s390/s390-32/start.S: ... here.
9871
9872 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9873 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9874 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9875 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9876 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9877 * sysdeps/s390/s390-64/setjmp.S: ... here.
9878 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9879 * sysdeps/s390/s390-64/configure.in: ... here
9880 * sysdeps/s390/s390-64/elf/configure: Delete file.
9881 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9882 * sysdeps/s390/s390-64/start.S: ... here.
9883 * sysdeps/s390/s390-64/elf/configure: Delete.
9884
9885 * configure.in: Remove support for elf directories in sysdeps.
9886
9887 * configure: Regenerated.
9888 * sysdeps/i386/configure: Regenerated.
9889 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9890 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9891 * sysdeps/s390/s390-32/configure: Regenerated.
9892 * sysdeps/s390/s390-64/configure: Regenerated.
9893 * sysdeps/sh/configure: Regenerated.
9894 * sysdeps/sparc/configure: Regenerated.
9895 * sysdeps/x86_64/configure: Regenerated.
9896
a3f61311
AS
98972012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9898
c876e002
AS
9899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9900
a3f61311
AS
9901 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9902 denormal result into account.
9903
ac4c54f0
RM
99042012-03-25 Roland McGrath <roland@hack.frob.com>
9905
9906 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9907 Reported by Allan McRae <allan@archlinux.org>.
9908
6a9b9c02
JL
99092012-03-23 Jeff Law <law@redhat.com>
9910
9911 * nss/getnssent.c (__nss_getent): Fix typo.
9912
4c42a0c1
DM
99132012-03-23 David S. Miller <davem@davemloft.net>
9914
9915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9916
1532c7ac
L
99172012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9918
9919 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9920 to pad to uint64_t for each field.
9921 (dl_tls_index): Replace unsigned long with uint64_t.
9922
3ff42526
PP
99232012-03-23 Daniel Jacobowitz <dmj@google.com>
9924 Paul Pluzhnikov <ppluzhnikov@google.com>
9925
9926 [BZ #6528]
9927 * grp/Makefile (otherlibs): Don't set it.
9928 * inet/Makefile (otherlibs): Likewise.
9929 * login/Makefile (otherlibs): Likewise.
9930 * nscd/Makefile (otherlibs): Likewise.
9931 * posix/Makefile (otherlibs): Likewise.
9932 * pwd/Makefile (otherlibs): Likewise.
9933 * rt/Makefile (otherlibs): Likewise.
9934 * sunrpc/Makefile (otherlibs): Likewise.
9935 * nss/Makefile (otherlibs): Likewise.
9936 Add libnss_files to routines and static-only-routines.
9937 ($(objpfx)getent): Remove rule.
9938 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9939 static-only-routines.
9940
7c69cd14
JM
99412012-03-22 Joseph Myers <joseph@codesourcery.com>
9942
9943 [BZ #13892]
9944 * math/s_cexp.c: Include <float.h>.
9945 (__cexp): Handle exp result overflowing not necessarily
9946 overflowing both real and imaginary parts of result.
9947 * math/s_cexpf.c: Likewise.
9948 * math/s_cexpl.c: Likewise.
9949 * math/libm-test.inc (cexp_test): Add more tests.
9950 * sysdeps/i386/fpu/libm-test-ulps: Update.
9951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9952
81b035fe
L
99532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9954
9955 * include/link.h (ELFW): New macro.
9956 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9957 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9958
1da7940c
L
99592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9960
9961 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9962 with uint64_t.
9963
b749dbb9
L
99642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9965
9966 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9967 declaration.
9968 (struct La_x32_retval): Likewise.
9969
2ff87f3f
L
99702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9971
9972 * sysdeps/x86_64/preconfigure.in: New file.
9973 * sysdeps/x86_64/preconfigure: New generated file.
9974
c0df8e69
JM
99752012-03-22 Joseph Myers <joseph@codesourcery.com>
9976
48e44791
JM
9977 [BZ #13824]
9978 * math/e_exp2l.c: Include <float.h>.
9979 (__ieee754_exp2l): Handle overflow and underflow cases
9980 separately. Only pass fractional part of argument to
9981 __ieee754_expl.
9982 * math/libm-test.inc (exp2_test): Add more tests.
9983
c0df8e69
JM
9984 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9985 negating x to take absolute value.
9986 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9987 Likewise.
9988 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9989 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9990 Likewise.
9991 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9992 computing low part if x was negated.
9993 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9994
c8e43ba7
L
99952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9996
9997 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9998 la_x32_gnu_pltexit.
9999 (pltexit): Cast int_retval to ptrdiff_t.
10000 * elf/tst-auditmod3b.c: Likewise.
10001 * elf/tst-auditmod4b.c: Likewise.
10002 * elf/tst-auditmod5b.c: Likewise.
10003 * elf/tst-auditmod6b.c: Likewise.
10004 * elf/tst-auditmod6c.c: Likewise.
10005 * elf/tst-auditmod7b.c: Likewise.
10006
10007 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10008 and x32_gnu_pltexit.
10009
10010 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10011 __ELF_NATIVE_CLASS.
10012 (La_x32_regs): New macro.
10013 (La_x32_retval): Likewise.
10014 (la_x32_gnu_pltenter): New function prototype.
10015 (la_x32_gnu_pltexit): Likewise.
10016
7998fa78
AS
100172012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10018
dcb33988
AS
10019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10020 exponent.
10021
233fc563
AS
10022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10023
7998fa78
AS
10024 * configure.in (libc_cv_cc_nofma): Check for option to disable
10025 generation of FMA instructions.
10026 * configure: Regenerate.
10027 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10028 * sysdeps/ieee754/dbl-64/Makefile: New file.
10029 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10030 Remove brandred-fma4.
10031 (CFLAGS-brandred-fma4.c): Remove.
10032 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10033 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10034 define.
10035 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10036 define.
10037
8e95c99a
L
100382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10039
10040 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10041 LLONG_MAX != LONG_MAX.
10042 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10043 (_fitoa_word): Likewise.
10044 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10045 LLONG_MAX != LONG_MAX.
10046 * stdio-common/_itowa.h: Include <_itoa.h>.
10047 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10048 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10049 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10050 only if not defined.
10051 (_ITOA_WORD_TYPE): Likewise.
10052 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10053 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10054
6f4db457
DM
100552012-03-21 David S. Miller <davem@davemloft.net>
10056
10057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10058
7785fe5a
L
100592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10060
10061 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10062 of x86_64 when setting libc_cv_slibdir, libdir and
10063 libc_cv_localedir.
10064 * sysdeps/unix/sysv/linux/configure: Regenerated.
10065
4535cd55
JM
100662012-03-21 Joseph Myers <joseph@codesourcery.com>
10067
10068 * manual/lang.texi (Old Varargs): Remove section.
10069 (How Variadic): Update menu.
10070 (va_start): Do not mention varargs.h.
10071
17228132
TS
100722012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10073 Joseph Myers <joseph@codesourcery.com>
10074
10075 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10076 link test.
10077 * configure: Regenerated.
10078
8149f976
TS
100792012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10080
05f3d1f6
UD
10081 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10082 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10083 conformtest.pl
8149f976 10084
1a4ac776
JM
100852012-03-21 Joseph Myers <joseph@codesourcery.com>
10086
be22ce65
JM
10087 * NOTES: Remove.
10088 * Makefile (files-for-dist): Remove NOTES.
10089 (NOTES): Remove rule.
10090 * README: Don't refer to NOTES.
10091 * manual/creature.texi: Don't include macros.texi.
10092 * manual/intro.texi (creature.texi): Remove comment referring to
10093 NOTES.
10094
40b601fb
JM
10095 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10096 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10097 * configure: Regenerated.
10098 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10099 LIBC_TRY_CC_OPTION.
10100 (libc_cv_as_i686): Likewise.
10101 (libc_cv_cc_avx): Likewise.
10102 (libc_cv_cc_sse2avx): Likewise.
10103 (libc_cv_cc_fma4): Likewise.
10104 (libc_cv_cc_novzeroupper): Likewise.
10105 * sysdeps/i386/configure: Regenerated.
10106
1a4ac776
JM
10107 [BZ #13883]
10108 * sysdeps/i386/fpu/s_cexp.S: Remove.
10109 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10110 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10111 * math/libm-test.inc (cexp_test): Add more tests.
10112 * sysdeps/i386/fpu/libm-test-ulps: Update.
10113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10114
a458e7fe
AM
101152012-03-21 Allan McRae <allan@archlinux.org>
10116
10117 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10118
0cb7efc5
JM
101192012-03-21 Joseph Myers <joseph@codesourcery.com>
10120
10121 [BZ #13871]
10122 * math/w_exp2.c: Do not include <float.h>.
10123 (o_threshold, u_threshold): Remove.
10124 (__exp2): Calculate result before checking finiteness and calling
10125 __kernel_standard.
10126 * math/w_exp2f.c: Likewise.
10127 * math/w_exp2l.c: Likewise.
10128 * math/libm-test.inc (exp2_test): Require overflow exception for
10129 1e6 input.
2460d3aa
JM
10130
10131 [BZ #3866]
10132 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10133 range of signed 64-bit integers before using fistpll. Remove
10134 checks for whether integers fit in mantissa bits.
10135 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10136 the range of signed 32-bit integers before using fistpl. Remove
10137 checks for whether integers fit in mantissa bits.
10138 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10139 (__ieee754_powl): Test for y outside the range of signed 64-bit
10140 integers before using fistpll. Reduce 64-bit values to 63-bit
10141 ones as needed.
10142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10143 divide-by-zero is raised for zero to large negative powers.
10144 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10145 (__ieee754_powl): Test for y outside the range of signed 64-bit
10146 integers before using fistpll. Reduce 64-bit values to 63-bit
10147 ones as needed.
10148 * math/libm-test.inc (pow_test): Add more tests.
10149
eb96ffb0
L
101502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10151
10152 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10153 <stdio-common/_itoa.h>.
10154 * debug/segfault.c: Likewise.
10155 * elf/dl-cache.c: Likewise.
10156 * elf/dl-minimal.c: Likewise.
10157 * elf/dl-misc.c: Likewise.
10158 * elf/dl-sysdep.c: Likewise.
10159 * elf/dl-version.c: Likewise.
10160 * elf/rtld.c: Likewise.
10161 * hurd/hurdsock.c: Likewise.
10162 * hurd/lookup-retry.c: Likewise.
10163 * malloc/malloc.c: Likewise.
10164 * malloc/mtrace.c: Likewise.
10165 * nscd/nscd_getgr_r.c: Likewise.
10166 * nscd/nscd_getpw_r.c: Likewise.
10167 * nscd/nscd_getserv_r.c: Likewise.
10168 * posix/getopt_init.c: Likewise.
10169 * posix/wordexp.c: Likewise.
10170 * stdio-common/_itoa.c: Likewise.
10171 * stdio-common/printf_fphex.c: Likewise.
10172 * stdio-common/vfprintf.c: Likewise.
10173 * string/_strerror.c: Likewise.
10174 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10175 * sysdeps/i386/i686/hp-timing.h: Likewise.
10176 * sysdeps/mach/_strerror.c: Likewise.
10177 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10178 * sysdeps/mach/hurd/sethostid.c: Likewise.
10179 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10180 * sysdeps/mach/xpg-strerror.c: Likewise.
10181 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10182 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10183 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10184 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10185 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10186 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10187 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10188 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10189 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10190 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10191 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10192 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10193 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10194 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10195 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10196 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10197 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10198 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10199 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10200 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10201 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10202
10203 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10204
10205 * stdio-common/_itoa.h: Moved to ...
10206 * sysdeps/generic/_itoa.h: Here.
10207
10208 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10209
10210 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10211 instead of "_itoa.h" and "_itowa.h".
10212 * stdio-common/vfprintf.: Likewise.
10213
d1af992d
L
102142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10215
10216 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10217 <bits/wordsize.h>.
10218 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10219 (__signbit): Likwise.
10220 (llrintf): Likwise.
10221 (llrint): Likwise.
10222
114883e0
L
102232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10224
10225 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10226 __WORDSIZE != 64.
10227
c135cc1b
JM
102282012-03-20 Joseph Myers <joseph@codesourcery.com>
10229
10230 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10231 OVERFLOW_EXCEPTION_OK.
10232 * math/libm-test.inc ("Philosophy"): Update comment about
10233 exception testing.
10234 (OVERFLOW_EXCEPTION): Define.
10235 (OVERFLOW_EXCEPTION_OK): Likewise.
10236 (INVALID_EXCEPTION_OK): Renumber.
10237 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10238 (IGNORE_ZERO_INF_SIGN): Likewise.
10239 (test_exceptions): Handle FE_OVERFLOW.
10240 (exp10_test): Expect overflow exceptions.
10241 (exp2_test): Likewise.
10242 (expm1_test): Likewise.
10243 (nextafter_test): Likewise.
10244 (pow_test): Likewise.
10245 (scalbn_test): Likewise.
10246 (scalbln_test): Likewise.
10247
95443d88
L
102482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10249
10250 * sysdeps/x86_64/bits/atomic.h
10251 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10252 64bit integer.
10253 (atomic_exchange_acq): Likewise.
10254 (__arch_exchange_and_add_body): Likewise.
10255 (__arch_add_body): Likewise.
10256 (atomic_add_negative): Likewise.
10257 (atomic_add_zero): Likewise.
10258
490df6c4
L
102592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10260
c2722551 10261 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10262 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10263
5e52b189
L
102642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10265
10266 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10267 Check __x86_64__ instead of __WORDSIZE.
10268
a9879d4c
L
102692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10270
10271 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10272
5df98260
DM
102732012-03-19 David S. Miller <davem@davemloft.net>
10274
e1497744
DM
10275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10276
5df98260
DM
10277 * sysdeps/sparc/fpu/fenv_private.h: New file.
10278 * sysdeps/sparc/fpu/math_private.h: Use it.
10279 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10280 Remove.
10281 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10282 (libc_feholdexcept_setroundl): Remove.
10283 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10284 Remove.
10285 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10286 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10287
b4c35121
L
102882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10289
10290 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10291 int64_t instead of long int.
10292 (INSERT_WORDS64): Likwise.
10293
56965fd7
L
102942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10295
10296 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10297 _Unwind_GetCFA return to _Unwind_Ptr first.
10298
83d1aec8
JM
102992012-03-19 Joseph Myers <joseph@codesourcery.com>
10300
1897ad44
JM
10301 [BZ #13629]
10302 * math/s_clog.c: Include <float.h>.
10303 (__clog): Scale large or subnormal inputs.
10304 * math/s_clogf.c: Likewise.
10305 * math/s_clogl.c: Likewise.
10306 * math/s_clog10.c: Include <float.h>.
10307 (M_LOG10_2): Define.
10308 (__clog10): Scale large or subnormal inputs.
10309 * math/s_clog10f.c: Likewise.
10310 * math/s_clog10l.c: Likewise.
10311 * math/libm-test.inc (clog_test): Add more tests.
10312 (clog10_test): Likewise.
10313 * sysdeps/i386/fpu/libm-test-ulps: Update.
10314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10315
7726d6a9
JM
10316 [BZ #11451]
10317 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10318 x and y.
10319 * math/libm-test.inc (atan2_test): Add another test.
10320
83d1aec8
JM
10321 * Makerules (common-objdir-compile): Remove.
10322 * sysdeps/unix/Makefile (config-generated): Do not add
10323 $(unix-generated) to variable.
10324 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10325 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10326 Remove rule.
10327 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10328 Likewise.
10329 [generic bits/local_lim.h] (before-compile): Do not append to
10330 variable.
10331 [generic bits/local_lim.h] (common-generated): Likewise.
10332 [generic sys/param.h] (before-compile): Do not append to variable.
10333 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10334 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10335 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10336 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10337 include.
10338 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10339 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10340 [generic sys/param.h] ($(addprefix
10341 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10342 [generic sys/param.h] (common-generated): Do not append to
10343 variable.
10344 [generic sys/param.h] (sysdep_headers): Likewise.
10345 [generic bits/errno.h] (before-compile): Do not append to
10346 variable.
10347 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10348 rule.
10349 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10350 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10351 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10352 [generic bits/errno.h] (common-generated): Do not append to
10353 variable.
10354 [generic bits/ioctls.h] (before-compile): Do not append to
10355 variable.
10356 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10357 rule.
10358 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10359 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10360 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10361 rule.
10362 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10363 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10364 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10365 [generic bits/ioctls.h] (common-generated): Do not append to
10366 variable.
10367 [generic sys/syscall.h] (syscall.h): Remove variable.
10368 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10369 rule.
10370 [generic sys/syscall.h] (before-compile): Do not append to
10371 variable.
10372 [generic sys/syscall.h] (common-generated): Likewise.
10373 * sysdeps/unix/errnos-tmpl.c: Remove file.
10374 * sysdeps/unix/errnos.awk: Likewise.
10375 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10376 * sysdeps/unix/ioctls.awk: Likewise.
10377 * sysdeps/unix/mk-local_lim.c: Likewise.
10378 * sysdeps/unix/snarf-ioctls: Likewise.
10379
4851a949
RH
103802012-03-19 Richard Henderson <rth@twiddle.net>
10381
bd37f2ee
RH
10382 * sysdeps/i386/fpu/fenv_private.h: New file.
10383 * sysdeps/i386/fpu/math_private.h: Use it.
10384 (math_opt_barrier, math_force_eval): Remove.
10385 (libc_feholdexcept_setround_53bit): Remove.
10386 (libc_feupdateenv_53bit): Remove.
10387 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10388 (math_opt_barrier, math_force_eval): Remove.
10389 (libc_feholdexcept): Remove.
10390 (libc_feholdexcept_setround): Remove.
10391 (libc_fetestexcept, libc_fesetenv): Remove.
10392 (libc_feupdateenv_test): Remove.
10393 (libc_feupdateenv, libc_feholdsetround): Remove.
10394 (libc_feresetround): Remove.
10395
d0adc922
RH
10396 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10397 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10398
0fe0f1f8
RH
10399 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10400 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10401 (libc_feupdateenv_testl): New.
10402 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10403 (libc_feupdateenv_testf): New.
10404 (libc_feupdateenv): Use libc_feupdateenv_test.
10405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10406 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10407
eb92c487
RH
10408 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10409 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10410 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10411 (libc_feresetround_noex): New.
10412 (libc_feresetround_noexf): New.
10413 (libc_feresetround_noexl): New.
10414 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10415 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10416 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10417 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10418 SET_RESTORE_ROUND.
10419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10421 (__cos): Likewise.
10422 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10423 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10424 SET_RESTORE_ROUND_NOEX.
10425 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10426 SET_RESTORE_ROUND_NOEXF.
10427 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10428 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10429 (libc_feholdsetroundf): New.
10430 (libc_feresetround, libc_feresetroundf): New.
10431
7d2e8012
RH
10432 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10433 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10434 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10435
b4dabbb4
RH
10436 * sysdeps/generic/math_private.h: Include <fenv.h>.
10437 (default_libc_feholdexcept): New.
10438 (default_libc_feholdexcept_setround): New.
10439 (default_libc_fesetenv, default_libc_feupdateenv): New.
10440 (libc_feholdexcept): Only define if undefined.
10441 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10442 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10443 (libc_feholdexcept_setroundl): Likewise.
10444 (libc_feholdexcept_setround_53bit): Likewise.
10445 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10446 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10447 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10448 (libc_feupdateenv_53bit): Likewise.
10449 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10450 (libc_feholdexcept): Convert from macro to inline function.
10451 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10452 (libc_fesetenv, libc_feupdateenv): Likewise.
10453
4851a949
RH
10454 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10455 not previously defined.
10456 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10457 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10458 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10459 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10460 * sysdeps/ieee754/flt-32/math_private.h: New file.
10461 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10462 math_private.h below SET_FLOAT_WORD.
10463 (__isnan, __isinf_ns, __finite): Remove.
10464 (__isnanf, __isinf_nsf, __finitef): Remove.
10465
e79d442e
AS
104662012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10467
10468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10469
90b80344
DM
104702012-03-17 David S. Miller <davem@davemloft.net>
10471
10472 [BZ #6471]
10473 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10474 for 2.16.
10475
edc21804
DM
104762012-03-16 David S. Miller <davem@davemloft.net>
10477
77e927af
DM
10478 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10479 warnings.
10480
374976dd
DM
10481 [BZ #6471]
10482 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10483 properly.
10484 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10485 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10486 sysdep_routines when subdir is sysvipc.
10487 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10488 __getshmlba helper.
10489
edc21804
DM
10490 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10491
473c3ef3
L
104922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10493
10494 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10495 [__LP64__].
10496
eb0f39b6
L
104972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10498
10499 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10500 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10501 (__lround): Renamed to ...
10502 (__llround): This. Replace long int with long long int.
10503 Define lround functions as aliases of llround functions.
10504 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10505
6b6cd74b
L
105062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10507
10508 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10509 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10510 adresses to uintptr_t. Replace "long int" and "unsigned long
10511 int" with "greg_t" on va_arg.
10512
f1a77b01
L
105132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10514
10515 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10516 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10517
10518 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10519 Move e_machine check before EI_CLASS check. Handle x32
10520 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10521 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10522 SKIP_EM_IA_64 and include
10523 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10524
10525 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10526 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10527 (add_system_dir): New macro.
10528
10529 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10530 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10531
11b90b9f
JM
105322012-03-16 Joseph Myers <joseph@codesourcery.com>
10533
c36e1d23
JM
10534 [BZ #2551]
10535 [BZ #2552]
10536 [BZ #2553]
10537 [BZ #2554]
10538 [BZ #2562]
10539 [BZ #2563]
10540 [BZ #2565]
10541 [BZ #2566]
10542 [BZ #2576]
10543 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10544 (y0): Likewise.
10545 * math/w_j0f.c (j0f): Likewise.
10546 (y0f): Likewise.
10547 * math/w_j0l.c (__j0l): Likewise.
10548 (__y0l): Likewise.
10549 * math/w_j1.c (j1): Likewise.
10550 (y1): Likewise.
10551 * math/w_j1f.c (j1f): Likewise.
10552 (y1f): Likewise.
10553 * math/w_j1l.c (__j1l): Likewise.
10554 (__y1l): Likewise.
10555 * math/w_jn.c (jn): Likewise.
10556 (yn): Likewise.
10557 * math/w_jnf.c (jnf): Likewise.
10558 (ynf): Likewise.
10559 * math/w_jnl.c (__jnl): Likewise.
10560 (__ynl): Likewise.
10561 * math/libm-test.inc (j0_test): Add more tests.
10562 (j1_test): Likewise.
10563 (jn_test): Likewise. Add trailing semicolon to existing test.
10564 (y0_test): Likewise.
10565 (y1_test): Likewise.
10566 * sysdeps/i386/fpu/libm-test-ulps: Update.
10567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10568
11b90b9f
JM
10569 [BZ #13851]
10570 [BZ #13854]
10571 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10572 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10573 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10574 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10575 (__tanl): Set errno for infinite argument.
10576 * sysdeps/i386/fpu/mptan.c: Remove.
10577 * sysdeps/i386/fpu/s_tan.S: Likewise.
10578 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10579 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10580 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10581 * math/libm-test.inc (tan_test): Add more tests and enable more
10582 tests for double and long double.
10583 * sysdeps/i386/fpu/libm-test-ulps: Update.
10584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10585
6a1bd2a1
JK
105862012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10587
10588 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10589 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10590
10a803e0
RM
105912012-03-16 Roland McGrath <roland@hack.frob.com>
10592
10593 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10594 * configure.in: Use it for both main tree and add-ons.
10595 * configure: Regenerated.
10596
f196c7f7
L
105972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10598
10599 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10600
8848d99d
JM
106012012-03-16 Joseph Myers <joseph@codesourcery.com>
10602
96cbe7f4
JM
10603 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10604 in comment.
10605
8848d99d
JM
10606 [BZ #13851]
10607 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10608 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10609 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10610 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10611 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10612 infinite argument.
10613 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10614 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10615 != 0 for prec == 2.
10616 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10617 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10618 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10619 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10620 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10621 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10622 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10623 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10624 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10625 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10626 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10627 * math/libm-test.inc (cos_test): Add more tests and enable more
10628 tests for long double.
10629 (sin_test): Likewise.
10630 (sincos_test): Likewise.
10631 * sysdeps/i386/fpu/libm-test-ulps: Update.
10632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10633
dd7f4703
DM
106342012-03-16 David S. Miller <davem@davemloft.net>
10635
10636 * sysdeps/sparc/fpu/math_private.h: New file.
10637
006f1daa
DM
106382012-03-15 David S. Miller <davem@davemloft.net>
10639
c0c83bc8
DM
10640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10641 file.
e6a62e18 10642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10644 file.
e6a62e18
DM
10645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10650 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10651 sysdep routines.
10652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10653
88cb87d9
DM
10654 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10655 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10656
006f1daa 10657 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10659 sparc-ifunc.h
006f1daa 10660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10662 Likewise.
10663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10664 Likewise.
006f1daa
DM
10665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10669 Likewise.
006f1daa
DM
10670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10675 Likewise.
10676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10677 Likewise.
006f1daa
DM
10678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10684 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10686 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10696 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10697 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10698 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10699 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10700 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10701 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10702
11e0098e
AS
107032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10704
10705 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10706 scaling.
10707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10708
e85b09d0
AJ
107092012-03-15 Andreas Jaeger <aj@suse.de>
10710
10711 [BZ #13852]
10712 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10713 ieee754/flt-32 implementation for sin, cos and sincos.
10714 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10715 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10716 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10717 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10718 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10719 ieee754/flt-32 implementation for tan.
10720
10721 * math/libm-test.inc (cos_test): Enable some large input tests for
10722 float as well
10723 (sin_test): Likewise.
10724 (sincos_test): Likewise.
10725 (tan_test): Add tests for large input.
10726
10727 * sysdeps/i386/fpu/libm-test-ulps: Update.
10728
81c64153
AJ
107292012-03-15 Andreas Jaeger <aj@suse.de>
10730
10731 [BZ #13658]
10732 * math/libm-test.inc (cos_test): Add more test cases.
10733 (sin_test): Likewise.
10734 (sincos_test): Likewise.
10735
7bbfa5c6
AJ
107362012-03-15 Andreas Jaeger <aj@suse.de>
10737
10738 [BZ #13837]
10739 * math/libm-test.inc (cos_test): Add a test case for large input
10740 value.
10741 (sin_test): Likewise.
10742 (sincos_test): Likewise.
10743
107442012-03-15 Andreas Jaeger <aj@suse.de>,
10745 Joseph Myers <joseph@codesourcery.com>
10746
10747 [BZ #13658]
0671f479 10748 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10749 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10750 * sysdeps/i386/fpu/branred.c: Likewise.
10751 * sysdeps/i386/fpu/dosincos.c: Likewise.
10752 * sysdeps/i386/fpu/mpa.c: Likewise.
10753 * sysdeps/i386/fpu/s_cos.S: Likewise.
10754 * sysdeps/i386/fpu/s_sin.S: Likewise.
10755 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10756 * sysdeps/i386/fpu/sincos32.c: Likewise.
10757
10758 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10759 Define.
10760 (libc_feupdateenv_53bit): Define.
10761 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10762 Define.
10763 (libc_feupdateenv_53bit): Define.
10764
10765 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10766 53 bit (without extend i386 double precision).
10767
10768 * math/libm-test.inc (sincos_test): Add tests for large input.
10769 (sin): Likewise.
10770 (cos): Likewise.
10771
10772 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10773
9cad04ea
AS
107742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10775
10776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10777
f7062b9a
DM
107782012-03-15 David S. Miller <davem@davemloft.net>
10779
10780 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10781 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10782 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10783 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10796 file.
f7062b9a 10797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10799 file.
f7062b9a 10800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10802 file.
f7062b9a 10803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10805 file.
f7062b9a
DM
10806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10807 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10808 fmin/fmax sysdep routines.
10809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10810
7bd951ff
DM
108112012-03-14 David S. Miller <davem@davemloft.net>
10812
559398ab
DM
10813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10814 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10815 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10817 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10818 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10819 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10820 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10821 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10833 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10834 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10835 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10836 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10837 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10838 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10841 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10842 routines.
10843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10844 file.
559398ab 10845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10847 file.
559398ab 10848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10850 file.
559398ab 10851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10853 file.
559398ab 10854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10856 file.
559398ab 10857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10859 file.
10860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10861 file.
10862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10863 file.
10864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10865 file.
10866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10867 New file.
10868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10869 file.
10870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10871 file.
559398ab 10872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10874 file.
559398ab 10875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10877 file.
559398ab 10878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10880 file.
559398ab 10881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10883 VIS3 routines.
559398ab
DM
10884
10885 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10886 New file.
10887
5a1c1e32
DM
10888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10889
eae47a36
DM
10890 * sysdeps/sparc/configure.in: New file.
10891 * sysdeps/sparc/configure: Generate.
10892 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10893 * configure: Regenerate.
10894 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10895 * config.make.in (have-as-vis3): New.
10896 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10897 available use -Av9d instead of -Av9a.
10898 * sysdeps/sparc/sparc64/Makefile: Likewise.
10899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10901 New file.
10902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10903 file.
10904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10905 New file.
10906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10907 file.
eae47a36
DM
10908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10909 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10910 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10911 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10912 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10913
c0c83bc8
DM
10914 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10915 fzeros/fnegs to load 0x80000000 into a float register instead of
10916 using the stack.
7bd951ff
DM
10917 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10918
bd951ccb
JM
109192012-03-14 Joseph Myers <joseph@codesourcery.com>
10920
10921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10922 bits/syscall.h.
10923 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10924 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10925 ($(inst_includedir)/bits/syscall.h): Remove rule.
10926 ($(objpfx)bits/syscall.d): Include instead of
10927 $(objpfx)syscall-list.d.
10928 (generated): Change syscall-list.h and syscall-list.d to
10929 bits/syscall.h and bits/syscall.d.
10930
bb4e6db2
RM
109312012-03-14 Roland McGrath <roland@hack.frob.com>
10932
10933 [BZ #13846]
10934 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10935
aa4a2ae1
JM
109362012-03-14 Joseph Myers <joseph@codesourcery.com>
10937
e456826d
JM
10938 [BZ #13841]
10939 * math/s_csqrt.c: Include <float.h>.
10940 (__csqrt): Scale large or subnormal inputs.
10941 * math/s_csqrtf.c: Likewise.
10942 * math/s_csqrtl.c: Likewise.
10943 * math/libm-test.inc (csqrt_test): Add more tests.
10944 * sysdeps/i386/fpu/libm-test-ulps: Update.
10945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10946
aa4a2ae1
JM
10947 [BZ #13840]
10948 * math/libm-test.inc (hypot_test): Add more tests.
10949
7c10fd35
DM
109502012-03-13 David S. Miller <davem@davemloft.net>
10951
10952 [BZ #13840]
10953 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10954 double-precision for the calculation instead of scaling.
10955
f453b98b
JM
109562012-03-13 Joseph Myers <joseph@codesourcery.com>
10957
10958 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10959 manipulate bits before adding and subtracting TWO52[sx].
10960 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10961 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10962 Likewise.
10963 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10964
09a3453f
DM
109652012-03-13 David S. Miller <davem@davemloft.net>
10966
8e59da90
DM
10967 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10968 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10970 rtld-global-offsets.h
10971 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10972
2a8ab7f2
DM
10973 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10974 large parameters.
10975
10f62770
DM
10976 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10977
5f0bdb18
DM
10978 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10979 'err' in the ifdef scope in which it is actually used.
10980
09a3453f
DM
10981 * nss/nss_db/db-init.c: Include string.h
10982
b4b2eb5e
DM
109832012-03-12 David S. Miller <davem@davemloft.net>
10984
98bb2f1c
DM
10985 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10986 masking out of the most significant byte of random value used.
10987 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10988 Fix coding style in previous change.
10989
b4b2eb5e
DM
10990 * sysdeps/unix/sysv/linux/kernel-features.h
10991 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10992 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10993 expression.
10994 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10995 later.
10996
6e226b09
DM
109972012-03-11 David S. Miller <davem@davemloft.net>
10998
a1bcbd40
DM
10999 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11000 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11001 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11002 for 'resultvar' otherwise things get truncated on 64-bit.
11003
cb9d6174
DM
11004 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11005 Fix masking out of the most significant byte of random value used.
11006
6e226b09
DM
11007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11008
058c132d
AS
110092012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11010
11011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11012
2d2cd515
DM
110132012-03-09 David S. Miller <davem@davemloft.net>
11014
11015 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11016 variables with appropriate CPP guards.
11017 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11018 frame pointer, not the stack pointer. Correct layout comments. Fix test
11019 on resulting framesize and the management of the outregs buffer for pltexit.
11020 Preserve floating point return values across _dl_call_pltexit call.
11021 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11022 framesize and the management of the outregs buffer for pltexit.
11023 Preserve floating point return values across _dl_call_pltexit
11024 call.
11025 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11026 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11027 (print_exit): Fix format string for return register value.
11028
9a07f9d0
JM
110292012-03-10 Joseph Myers <joseph@codesourcery.com>
11030
11031 * sunrpc/Makefile (others): Add rpcgen.
11032 ($(objpfx)rpcgen): Remove special build rule and dependency on
11033 libc.
11034 * sunrpc/rpcgen.c: New file.
11035
547b5e30
PE
110362012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11037
c524201a
PE
11038 [BZ #13673]
11039 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11040 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11041 * sysdeps/i386/crti.S: Likewise.
11042 * sysdeps/i386/crtn.S: Likewise.
11043 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11044 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11045 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11046 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11047 * sysdeps/sh/crti.S: Likewise.
11048 * sysdeps/sh/crtn.S: Likewise.
11049 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11050
7b6235f2
PE
11051 [BZ #13673]
11052 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11053 with URL.
11054 * locale/programs/locfile-kw.gperf: Likewise.
11055 * locale/programs/charmap-kw.h: Regenerated.
11056 * locale/programs/locfile-kw.h: Likewise.
11057
547b5e30
PE
11058 [BZ #13673]
11059 * intl/plural.y: Replace FSF snail mail address with URL.
11060 * intl/plural.c: Regenerated.
11061
5f0a5dae
RH
110622012-03-09 Richard Henderson <rth@twiddle.net>
11063
11064 * include/math_private.h: Remove file.
11065 * math/math_private.h: Move file ...
11066 * sysdeps/generic/math_private.h: ... here.
11067
b8c03620
RH
11068 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11069 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11070 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11071
4e234f5d 11072 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
11073 and <math_private.h>.
11074 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11075 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11076 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11077 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11078 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11079 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11080 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11081 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11085 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11086 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11087 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11088 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11089 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11090 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11091 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11092 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11093 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11094 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11095 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11096 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11098 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11099 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11100 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11101 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11102 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11103 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11104 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11105 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11106 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11107 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11108 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11110 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11111 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11112 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11113 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11114 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11115 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11116 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11117 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11118 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11122 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11123 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11125 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11126 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11127 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11128 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11129 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11130 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11131 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11132 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11133 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11134 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11135 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11136 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11137 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11138 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11139 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11155 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11156 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11157 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11162 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11163 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11164 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11165 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11166 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11167 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11168 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11169 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11170 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11171 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11172 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11173 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11174 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11175 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11176 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11177 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11178 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11179 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11180 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11181 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11182 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11183 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11184 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11185 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11186 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11187 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11188 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11189 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11190 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11191 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11192 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11193 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11194 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11195 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11196 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11197 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11198 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11199 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11200 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11201 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11202 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11203 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11204 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11205 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11206 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11207 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11208 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11209 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11210 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11211 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11212 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11213 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11214 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11215 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11216 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11217 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11218 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11219 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11220 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11221 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11222 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11223 * sysdeps/ieee754/k_standard.c: Likewise.
11224 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11228 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11229 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11234 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11236 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11241 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11242 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11251 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11257 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11258 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11262 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11269 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11270 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11271 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11273 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11274 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11275 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11278 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11279 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11286 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11287 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11288 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11289 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11290 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11291 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11292 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11293 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11294 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11295 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11296 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11297 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11298 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11299 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11300 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11301 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11302 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11303 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11304 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11305 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11306 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11307 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11308 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11309 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11310 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11311 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11312 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11313 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11314 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11315 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11316 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11317 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11318 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11320 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11322 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11328 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11329 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11330 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11331 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11332 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11333 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11338 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11339 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11340 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11341 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11342 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11343 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11344 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11346 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11347 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11351 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11356 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11357 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11359 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11361 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11371 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11372 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11373 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11374 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11375 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11376 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11378 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11379 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11381 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11383 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11384 * sysdeps/ieee754/s_lib_version.c: Likewise.
11385 * sysdeps/ieee754/s_matherr.c: Likewise.
11386 * sysdeps/ieee754/s_signgam.c: Likewise.
11387 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11388 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11389 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11390 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11391 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11392 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11393 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11394 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11395 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11396 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11397 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11398 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11399 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11400 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11401 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11402 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11403 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11404 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11405 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11406 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11407 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11408
1991fa03
JM
114092012-03-09 Joseph Myers <joseph@codesourcery.com>
11410
11411 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11412 * sunrpc/rpc_main.c: Likewise.
11413 * sunrpc/rpc_svcout.c: Likewise.
11414
60d6f5a6
DM
114152012-03-09 David S. Miller <davem@davemloft.net>
11416
11417 * include/math_private.h: New file.
11418
4962050e
JM
114192012-03-09 Joseph Myers <joseph@codesourcery.com>
11420
02a6f887
JM
11421 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11422 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11423 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11424 from <bits/socket_type.h>.
11425 (enum __socket_type): Don't define here.
11426 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11428 bits/socket_type.h.
11429
c6e013c1
JM
11430 [BZ #13566]
11431 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11432 checking __USE_GNU.
11433
4962050e
JM
11434 * Makerules ($(inst_includedir)/%.h): New rule.
11435 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11436 (install-others): Remove variable setting.
11437 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11438
38842f45
RH
114392012-03-08 Richard Henderson <rth@twiddle.net>
11440
67bb6da6
RH
11441 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11442 from macro to inline function; merge with the
11443 !__LIBC_INTERNAL_MATH_INLINES version.
11444 (__ieee754_sqrtf): Likewise.
11445
15194b4b
RH
11446 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11447 to inline function.
11448 (__rintf, __floor, __floorf): Likewise.
11449
64e21ede
RH
11450 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11451 macro to inline function.
11452 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11453
38842f45
RH
11454 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11455 not <math/math_private.h>.
11456
c64bf5fe
DM
114572012-03-08 David S. Miller <davem@davemloft.net>
11458
11459 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11460 copyright year.
11461 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11462
82d86f28
TS
114632012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11464
11465 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11466 normalization.
11467 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11468 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11469
aea5d727
UD
114702012-03-08 Ulrich Drepper <drepper@gmail.com>
11471
11472 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11473 be defined individually, they must be defined as a block. Define
11474 S for printing a string instead of hidint the different by using a
11475 macro for adding the 'l'.
11476 * stdio-common/tst-fphex-wide.c: Adjust.
11477
70bca0a3
MP
114782012-03-07 Marek Polacek <polacek@redhat.com>
11479
11480 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11481
65b81130
MP
114822012-03-08 Marek Polacek <polacek@redhat.com>
11483
11484 [BZ #13806]
11485 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11486 * stdio-common/tst-fphex.c: Define a few macros to make the
11487 test reusable. Use them.
11488 * stdio-common/tst-fphex-wide.c: New file.
11489
07037eeb
JM
114902012-03-08 Joseph Myers <joseph@codesourcery.com>
11491
a7a93d50
JM
11492 [BZ #6911]
11493 * manual/macros.texi (gnusystems): New macro.
11494 (nongnusystems): Likewise.
11495 (gnulinuxhurdsystems): Likewise.
11496 (gnuhurdsystems): Likewise..
11497 (gnulinuxsystems): Likewise.
11498 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11499 variants of the GNU system, not "GNU system".
11500 * manual/conf.texi: Likewise.
11501 * manual/errno.texi: Likewise. Update example of errno macro
11502 expansion.
11503 * manual/filesys.texi: Likewise.
11504 (getumask): Document as specific to GNU/Hurd.
11505 * manual/install.texi: Likewise. Reword some references to
11506 GNU/Linux.
11507 * manual/intro.texi: Likewise.
11508 * manual/io.texi: Likewise.
11509 (File Name Portability): Detail which constraints are inapplicable
11510 to all GNU systems and which are only inapplicable to GNU/Hurd.
11511 * manual/job.texi: Likewise.
11512 * manual/llio.texi: Likewise.
11513 (O_NOCTTY): Document as present on GNU/Linux.
11514 * manual/maint.texi: Likewise.
11515 * manual/memory.texi: Likewise.
11516 * manual/pattern.texi: Likewise.
11517 * manual/pipe.texi: Likewise.
11518 * manual/process.texi: Likewise.
11519 * manual/resource.texi: Likewise.
11520 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11521 child on GNU/Hurd.
11522 * manual/setjmp.texi: Likewise.
11523 * manual/signal.texi: Likewise.
11524 * manual/startup.texi: Likewise.
11525 * manual/stdio.texi: Likewise.
11526 * manual/terminal.texi: Likewise.
11527 (ONLCR): Document as POSIX.
11528 (OXTABS): Document availability on GNU/Linux as XTABS.
11529 (ONOEOT): Document availability separately from other bits.
11530 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11531 * manual/time.texi: Likewise.
11532 * manual/users.texi: Likewise.
11533 * INSTALL: Regenerated.
11534 * sysdeps/gnu/errlist.c: Regenerated.
11535
07037eeb
JM
11536 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11537 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11538 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11539 puts.
11540 * configure: Regenerated.
11541
d1d3431a
JM
115422012-03-07 Joseph Myers <joseph@codesourcery.com>
11543
af6a1e37
JM
11544 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11545 default includes instead of AC_HEADER_CHECK.
11546 * sysdeps/i386/configure: Regenerated.
11547
d1d3431a
JM
11548 [BZ #10716]
11549 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11550 * math/s_cacoshf.c (__cacoshf): Likewise.
11551 * math/s_cacoshl.c (__cacoshl): Likewise.
11552 * math/s_casinh.c (__casinh): Set signs of result from argument.
11553 * math/s_casinhf.c (__casinhf): Likewise.
11554 * math/s_casinhl.c (__casinhl): Likewise.
11555 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11556 (casinh_test): Add more tests.
11557 * sysdeps/i386/fpu/libm-test-ulps: Update.
11558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11559
482ff4da
UD
115602012-03-07 Ulrich Drepper <drepper@gmail.com>
11561
872fda05
UD
11562 * po/zh_TW.po: Update from translation team.
11563
a4300c7a
UD
11564 * login/Makefile (distribute): Remove variable.
11565 * catgets/Makefile: Likewise.
11566 * mach/Makefile: Likewise.
11567 * malloc/Makefile: Likewise.
11568 * misc/Makefile: Likewise.
11569 * iconv/Makefile: Likewise.
11570 * nscd/Makefile: Likewise.
11571 * hurd/Makefile: Likewise.
11572 * manual/Makefile: Likewise.
11573 * locale/Makefile: Likewise.
11574 * intl/Makefile: Likewise.
11575 * conform/Makefile: Likewise.
11576 * nss/Makefile: Likewise.
11577 * time/Makefile: Likewise.
11578 * soft-fp/Makefile: Likewise.
11579 * dirent/Makefile: Likewise.
11580 * gmon/Makefile: Likewise.
11581 * po/Makefile: Likewise.
11582 * rt/Makefile: Likewise.
11583 * socket/Makefile: Likewise.
11584 * math/Makefile: Likewise.
11585 * signal/Makefile: Likewise.
11586 * debug/Makefile: Likewise.
11587 * elf/Makefile: Likewise.
11588 * timezone/Makefile: Likewise.
11589 * stdlib/Makefile: Likewise.
11590 * iconvdata/Makefile: Likewise.
11591 * sunrpc/Makefile: Likewise.
11592 * io/Makefile: Likewise.
11593 * argp/Makefile: Likewise.
11594 * inet/Makefile: Likewise.
11595 * hesiod/Makefile: Likewise.
11596 * grp/Makefile: Likewise.
11597 * csu/Makefile: Likewise.
11598 * wctype/Makefile: Likewise.
11599 * crypt/Makefile: Likewise.
11600 * libio/Makefile: Likewise.
11601 * string/Makefile: Likewise.
11602 * nis/Makefile: Likewise.
11603 * resolv/Makefile: Likewise.
11604 * stdio-common/Makefile: Likewise.
11605 * wcsmbs/Makefile: Likewise.
11606 * dlfcn/Makefile: Likewise.
11607 * posix/Makefile: Likewise.
11608
3b7c4e74 11609 [BZ #6959]
482ff4da
UD
11610 * timezone/Makefile: Don't install timezone files, just the programs
11611 and scripts.
11612
f72ed77d
UD
116132012-03-06 Ulrich Drepper <drepper@gmail.com>
11614
a000466f
UD
11615 * nss/databases.def: Add missing gshadow entry.
11616
f72ed77d
UD
11617 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11618
a53b7a4e
MP
116192012-03-06 Marek Polacek <polacek@redhat.com>
11620
11621 [BZ #13726]
11622 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11623 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11624 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11625 * stdio-common/tst-long-dbl-fphex.c: New file.
11626
e9258400
DM
116272012-03-06 David S. Miller <davem@davemloft.net>
11628
11629 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11630 (set_obp_int): New function.
11631 (get_obp_int): New function.
11632 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11633 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11634 Avoid unused variable warnings on 'val' and use builtin_expect.
11635 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11636 __builtin_expect.
e9258400
DM
11637 (INLINE_CLONE_SYSCALL): Likewise.
11638
3bd2c723
DM
116392012-03-05 David S. Miller <davem@davemloft.net>
11640
11641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11642
bbb78d03
AS
116432012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11644
884c5db4
AS
11645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11646
bbb78d03
AS
11647 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11648 only for |x| >= 40.
11649 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11650
1c9f702a 116512012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11652
11653 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11654 Replace gettimeofday with __vdso_gettimeofday.
11655
7be16f82
RM
11656 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11657 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11658 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11659
11660 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11661 time with __vdso_time.
11662
ed58a00f
JM
116632012-03-05 Joseph Myers <joseph@codesourcery.com>
11664
11665 * manual/lang.texi (size_t): Note types to which size_t may be
11666 equivalent with the GNU C Library, but do not describe when
11667 differences between them are significant.
11668
30ee4ced
AJ
116692012-03-05 Andreas Jaeger <aj@suse.de>
11670
11671 * sysdeps/i386/fpu/libm-test-ulps: Update.
11672
b7cd39e8
JM
116732012-03-05 Joseph Myers <joseph@codesourcery.com>
11674
11675 [BZ #3976]
11676 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11677 (__ieee754_pow): Save and restore rounding mode and use
11678 round-to-nearest for main computations.
11679 * math/libm-test.inc (pow_test_tonearest): New function.
11680 (pow_test_towardzero): Likewise.
11681 (pow_test_downward): Likewise.
11682 (pow_test_upward): Likewise.
11683 (main): Call the new functions.
11684 * sysdeps/i386/fpu/libm-test-ulps: Update.
11685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11686
11687 [BZ #3976]
11688 * math/libm-test.inc (cosh_test_tonearest): New function.
11689 (cosh_test_towardzero): Likewise.
11690 (cosh_test_downward): Likewise.
11691 (cosh_test_upward): Likewise.
11692 (sinh_test_tonearest): Likewise.
11693 (sinh_test_towardzero): Likewise.
11694 (sinh_test_downward): Likewise.
11695 (sinh_test_upward): Likewise.
11696 (main): Call the new functions.
11697 * sysdeps/i386/fpu/libm-test-ulps: Update.
11698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11699
6c6a98c9
TV
117002012-03-05 Tom de Vries <tom@codesourcery.com>
11701
11702 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11703 default stack guard is set in last bytes.
11704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11705
21bb2d2e 117062012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11707
21bb2d2e 11708 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11709
21bb2d2e
AJ
11710 [BZ #13656]
11711 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11712 possibly allocate from heap instead of stack.
11713 * stdio-common/bug-vfprintf-nargs.c: New file.
11714 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11715
c6922934
AS
117162012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11717
11718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11719
bc957d53
MP
117202012-03-03 Marek Polacek <polacek@redhat.com>
11721
11722 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11723 * math/math_private.h: Likewise.
11724 * stdlib/tst-strtod.c: Likewise.
11725 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11726 * sysdeps/x86_64/bits/atomic.h: Likewise.
11727
6358490d
DM
117282012-03-02 David S. Miller <davem@davemloft.net>
11729
11730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11734 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11735 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11736 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11737 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11738
01ae168d
RM
117392012-03-02 Roland McGrath <roland@hack.frob.com>
11740
d9a17c07
RM
11741 [BZ #13792]
11742 * manual/examples/README: New file, says the example source files
11743 can be used under GPL>=2.
11744 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11745 line containing just "*/".
11746 * manual/examples/add.c: Add copyright header (GPL>=2).
11747 * manual/examples/argp-ex1.c: Likewise.
11748 * manual/examples/argp-ex2.c: Likewise.
11749 * manual/examples/argp-ex3.c: Likewise.
11750 * manual/examples/argp-ex4.c: Likewise.
11751 * manual/examples/atexit.c: Likewise.
11752 * manual/examples/db.c: Likewise.
11753 * manual/examples/dir.c: Likewise.
11754 * manual/examples/dir2.c: Likewise.
11755 * manual/examples/execinfo.c: Likewise.
11756 * manual/examples/filecli.c: Likewise.
11757 * manual/examples/filesrv.c: Likewise.
11758 * manual/examples/fmtmsgexpl.c: Likewise.
11759 * manual/examples/genpass.c: Likewise.
11760 * manual/examples/inetcli.c: Likewise.
11761 * manual/examples/inetsrv.c: Likewise.
11762 * manual/examples/isockad.c: Likewise.
11763 * manual/examples/longopt.c: Likewise.
11764 * manual/examples/memopen.c: Likewise.
11765 * manual/examples/memstrm.c: Likewise.
11766 * manual/examples/mkfsock.c: Likewise.
11767 * manual/examples/mkisock.c: Likewise.
11768 * manual/examples/mygetpass.c: Likewise.
11769 * manual/examples/pipe.c: Likewise.
11770 * manual/examples/popen.c: Likewise.
11771 * manual/examples/rprintf.c: Likewise.
11772 * manual/examples/search.c: Likewise.
11773 * manual/examples/select.c: Likewise.
11774 * manual/examples/setjmp.c: Likewise.
11775 * manual/examples/sigh1.c: Likewise.
11776 * manual/examples/sigusr.c: Likewise.
11777 * manual/examples/stpcpy.c: Likewise.
11778 * manual/examples/strdupa.c: Likewise.
11779 * manual/examples/strftim.c: Likewise.
11780 * manual/examples/strncat.c: Likewise.
11781 * manual/examples/subopt.c: Likewise.
11782 * manual/examples/swapcontext.c: Likewise.
11783 * manual/examples/termios.c: Likewise.
11784 * manual/examples/testopt.c: Likewise.
11785 * manual/examples/testpass.c: Likewise.
11786 * manual/examples/timeval_subtract.c: Likewise.
11787
01ae168d
RM
11788 [BZ #13792]
11789 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11790 function to ...
11791 * manual/timeval_subtract.c.texi: ... here, new file.
11792
49efa33d
DM
117932012-03-02 David S. Miller <davem@davemloft.net>
11794
11795 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11796
28afd92d
JM
117972012-03-02 Joseph Myers <joseph@codesourcery.com>
11798
804360ed
JM
11799 [BZ #3976]
11800 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11801 (__sin): Save and restore rounding mode and use round-to-nearest
11802 for all computations.
11803 (__cos): Save and restore rounding mode and use round-to-nearest
11804 for all computations.
11805 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11806 <fenv.h>.
11807 (tan): Save and restore rounding mode and use round-to-nearest for
11808 all computations.
11809 * math/libm-test.inc (cos_test_tonearest): New function.
11810 (cos_test_towardzero): Likewise.
11811 (cos_test_downward): Likewise.
11812 (cos_test_upward): Likewise.
11813 (sin_test_tonearest): Likewise.
11814 (sin_test_towardzero): Likewise.
11815 (sin_test_downward): Likewise.
11816 (sin_test_upward): Likewise.
11817 (tan_test_tonearest): Likewise.
11818 (tan_test_towardzero): Likewise.
11819 (tan_test_downward): Likewise.
11820 (tan_test_upward): Likewise.
11821 (main): Call the new functions.
11822 * sysdeps/i386/fpu/libm-test-ulps: Update.
11823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11824
a6d06d7b
JM
11825 [BZ #10135]
11826 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11827 small n, then large n, before computing and testing k+n.
11828 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11829 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11830 Likewise.
11831 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11832 Likewise.
11833 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11834 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11835 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11836 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11837 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11838 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11839 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11840 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11841 * math/libm-test.inc (scalbn_test): Add more tests.
11842 (scalbln_test): Likewise.
11843
07e12bb3
JM
11844 * manual/filesys.texi (mode_t): Describe constraints on size and
11845 signedness, not exact equivalence to a particular type.
11846 (ino_t): Likewise.
11847 (ino64_t): Likewise.
11848 (dev_t): Likewise.
11849 (nlink_t): Likewise.
11850 (blkcnt_t): Likewise.
11851 (blkcnt64_t): Likewise.
11852 * manual/llio.texi (off_t): Likewise.
11853
28afd92d
JM
11854 [BZ #3976]
11855 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11856 (__ieee754_exp): Save and restore rounding mode and use
11857 round-to-nearest for all computations.
11858 * math/libm-test.inc (exp_test_tonearest): New function.
11859 (exp_test_towardzero): Likewise.
11860 (exp_test_downward): Likewise.
11861 (exp_test_upward): Likewise.
11862 (main): Call the new functions.
11863 * sysdeps/i386/fpu/libm-test-ulps: Update.
11864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11865
b1eeb65d
CD
118662012-03-01 Chris Demetriou <cgd@google.com>
11867
11868 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11869 have predictable order.
11870
53362a4b
DM
118712012-03-01 David S. Miller <davem@davemloft.net>
11872
3c969083
DM
11873 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11874
759707de
DM
11875 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11876 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11877 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11878 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11879
dfdb8ff2
DM
11880 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11881 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11882 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11884 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11885 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11886 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11887 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11888 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11889
ead89f96
DM
11890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11891
7f66bd07
DM
11892 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11893 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11894 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11895
53362a4b
DM
11896 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11897 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11898 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11899 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11900 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11901 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11902 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11903 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11904 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11905 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11906 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11907 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11908 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11909 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11910 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11912 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11913 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11914 * sysdeps/sparc/elf/configure: Regenerated.
11915
7b1902cb
JM
119162012-03-01 Joseph Myers <joseph@codesourcery.com>
11917
bec039bc
JM
11918 * configure.in (AS, LD): Require binutils 2.20 or later.
11919 * configure: Regenerated.
11920 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11921 as required minimum version.
11922 * INSTALL: Regenerated.
11923
7b1902cb
JM
11924 [BZ #2541]
11925 [BZ #4108]
11926 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11927 before squaring exponent.
11928 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11929 bottom long double and 27 bits of top long double before squaring
11930 exponent.
11931 * math/libm-test.inc (erfc_test): Add more tests.
11932 * sysdeps/i386/fpu/libm-test-ulps: Update.
11933 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11935
f775c276
KT
119362012-03-01 Kai Tietz <ktietz@redhat.com>
11937
11938 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11939 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11940 containing bit-fields.
11941 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11942 * soft-fp/single.h (_FP_UNION_S): Likewise.
11943 * soft-fp/double.h (_FP_UNION_D): Likewise.
11944
5b8a4d4a
JM
119452012-02-29 Joseph Myers <joseph@codesourcery.com>
11946
0bab47b6
JM
11947 [BZ #13786]
11948 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11949 not include ../strcmp.S.
11950 [USE_AS_STRNCASECMP_L]: Likewise.
11951 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11952 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11953 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11954 (__strncasecmp_l_ia32): Define as alias to
11955 __strncasecmp_l_nonascii.
11956
0fcad3e2
JM
11957 [BZ #5794]
11958 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11959 * sysdeps/i386/fpu/libm-test-ulps: Update.
11960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11961
5b8a4d4a
JM
11962 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11964
8fdceb2e
JL
119652012-02-29 Jeff Law <law@redhat.com>
11966
11967 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11968 out of bounds read.
11969
1f393a11
MP
119702012-02-29 Marek Polacek <polacek@redhat.com>
11971
11972 [BZ #13706]
11973 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11974 * elf/Makefile: Add rules to run tst-unused-dep.out.
11975
8847f037
DM
119762012-02-28 David S. Miller <davem@davemloft.net>
11977
11978 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11979 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11980 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11981 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11982 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11983 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11984
169d7f11
JM
119852012-02-29 Joseph Myers <joseph@codesourcery.com>
11986
11987 * math/libm-test.inc (llround_test): Move one test from
11988 lround_test. Use TEST_f_L in moved test.
11989 (lround_test): Move misplaced test to llround_test. Add testcase
11990 from bug 2561.
11991
39adf059
UD
119922012-02-28 Ulrich Drepper <drepper@gmail.com>
11993
11994 * sysdeps/x86_64/fpu/e_expf.S: New file.
11995 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11996
71b5d1c5
SB
119972012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11998
11999 [BZ #13637]
12000 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12001 of remain_len that may cause incomplete multi-byte character and
12002 false match.
12003 * posix/bug-regex33.c: New file.
12004 * posix/Makefile (tests): Add bug-regex33.
12005
1f77f049
JM
120062012-02-28 Joseph Myers <joseph@codesourcery.com>
12007
12008 * manual/macros.texi: New file.
12009 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12010 * manual/libc.texinfo: Include macros.texi.
12011 * manual/creatute.texi: Likewise.
12012 * manual/install.texi: Likewise.
12013 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12014 @glibcadj{} in references to the GNU C Library.
12015 * manual/charset.texi: Likewise.
12016 * manual/conf.texi: Likewise.
12017 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12018 when not using those macros.
12019 * manual/creature.texi: Likewise.
12020 * manual/crypt.texi: Likewise.
12021 * manual/errno.texi: Likewise.
12022 * manual/filesys.texi: Likewise.
12023 * manual/header.texi: Likewise.
12024 * manual/install.texi: Likewise.
12025 * manual/intro.texi: Likewise.
12026 * manual/io.texi: Likewise.
12027 * manual/job.texi: Likewise.
12028 * manual/lang.texi: Likewise.
12029 * manual/libc.texiinfo: Likewise.
12030 * manual/llio.texi: Likewise.
12031 * manual/locale.texi: Likewise.
12032 * manual/maint.texi: Likewise.
12033 * manual/math.texi: Likewise.
12034 * manual/memory.texi: Likewise.
12035 * manual/message.texi: Likewise.
12036 * manual/nss.texi: Likewise.
12037 * manual/pattern.texi: Likewise.
12038 * manual/process.texi: Likewise.
12039 * manual/resource.texi: Likewise.
12040 * manual/search.texi: Likewise.
12041 * manual/setjmp.texi: Likewise.
12042 * manual/signal.texi: Likewise.
12043 * manual/socket.texi: Likewise.
12044 * manual/startup.texi: Likewise.
12045 * manual/stdio.texi: Likewise.
12046 * manual/string.texi: Likewise.
12047 * manual/sysinfo.texi: Likewise.
12048 * manual/syslog.texi: Likewise.
12049 * manual/terminal.texi: Likewise.
12050 * manual/time.texi: Likewise.
12051 * manual/users.texi: Likewise.
12052 * INSTALL: Regenerated.
12053 * NOTES: Regenerated.
d40c5d54 12054 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 12055
450bf206
AS
120562012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12057
12058 * include/dirent.h: Include <dirstream.h> before
12059 <dirent/dirent.h>.
12060
741a235b
DM
120612012-02-28 David S. Miller <davem@davemloft.net>
12062
12063 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12064 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12065 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12066 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12067
d6b5aa58
DM
120682012-02-27 David S. Miller <davem@davemloft.net>
12069
1aff59a3
DM
12070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12072 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12073 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12074
d6b5aa58
DM
12075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12076 frame pointer instead of stack pointer relative arg slot.
12077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12078 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12079 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12080
433f48bf
CD
120812012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12082
12083 [BZ #3992]
12084 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12085
d674b76d
DM
120862012-02-27 David S. Miller <davem@davemloft.net>
12087
12088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12092 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12093 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12094 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12095 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12096
0e7727f7
JM
120972012-02-27 Joseph Myers <joseph@codesourcery.com>
12098
12099 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12100 later. Allow versions 5-9.
43be4ca2 12101 * configure: Regenerated.
0e7727f7
JM
12102 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12103 required minimum version and 4.6 as recommended version. Do not
12104 mention bugs in GCC 2.7 and 2.8.
43be4ca2 12105 * INSTALL: Regenerated.
0e7727f7 12106
a78bc654
DM
121072012-02-27 David S. Miller <davem@davemloft.net>
12108
428d5830
DM
12109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12113 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12114 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12115 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12116 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12117
a78bc654
DM
12118 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12119 manipulate bits before adding and subtracting TWO112[sx].
12120 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12121
4579f81c
RM
121222012-02-27 Roland McGrath <roland@hack.frob.com>
12123
36c8acb4
RM
12124 [BZ #13775]
12125 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12126 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12127 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12128 being in POSIX, because they are in 1003.1-2008.
12129
84ad622b
RM
12130 * rt/tst-aio.c: Include <fcntl.h>.
12131 * rt/tst-aio7.c: Likewise.
12132 * rt/tst-aio64.c: Likewise.
12133
4579f81c
RM
12134 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12135
abd923db
JM
121362012-02-27 Joseph Myers <joseph@codesourcery.com>
12137
12138 * manual/install.texi (--with-headers): Describe headers as
12139 interface headers, not private headers.
12140 (Specific advice for GNU/Linux systems): Describe use of headers
12141 from "make headers_install", not private headers from older
12142 kernels.
43be4ca2 12143 * INSTALL: Regenerated.
abd923db
JM
12144 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12145 Change to 2.6.19.
12146 * sysdeps/unix/sysv/linux/configure: Regenerated.
12147
6664049b
JM
12148 * manual/llio.texi (fclean): Remove documentation.
12149
bb8b6697
JM
12150 * manual/Makefile (libc-texi-generated): New variable. Include
12151 version.texi.
12152 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12153 $(libc-texi-generated), not duplicated list of files.
12154 (version.texi, stamp-version): New rules.
12155 (realclean): Remove $(libc-texi-generated), not individual files
12156 from that list. Do not remove dir-add.texinfo.
12157 * manual/libc.texinfo: Comment out uses of edition numbers and
12158 references to printed manual. Remove last-updated dates.
12159 (EDITION): Comment out.
12160 (ISBN): Likewise.
12161 (VERSION, UPDATED): Remove.
12162 (version.texi): Include.
12163
12e5c3b9
AS
121642012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12165
12166 * sysdeps/posix/spawni.c: Include <signal.h>.
12167 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12168 * sysdeps/pthread/aio_fsync.c: Likewise.
12169
4efeffc1 121702012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12171
ba63ba08
UD
12172 * conform/Makefile (tests): Run only when not cross-compiling and
12173 when fast-check is not defined.
12174
d94a4670
UD
12175 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12176 * conform/data/limits.h-data: Fixes for POSIX2008.
12177 * conform/run-conformtest.sh: Run all tests.
12178 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12179 headers.
12180 * include/bits/dlfcn.h: Likewise.
12181 * include/langinfo.h: Likewise.
12182 * include/monetary.h: Likewise.
12183 * include/sys/poll.h: Likewise.
12184
12185 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12186 for __USE_GNU.
12187 * posix/spawn.h: Define __need_sigset_t.
12188 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12189 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12190 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12191 to get sigevent_t only.
12192 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12193 only for __USE_GNU.
12194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12195 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12196 process_vm_writev only for __USE_GNU.
12197 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12198
12199 * conform/Makefile: For now ignore errors from run-conformtest.
12200 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12201 POSIX to avoid namespace pollution. Don't prepend headers.
12202 * conform/data/aio.h-data: Fixes for POSIX testing.
12203 * conform/data/fcntl.h-data: Likewise.
12204 * conform/data/glob.h-data: Likewise.
12205 * conform/data/grp.h-data: Likewise.
12206 * conform/data/pthread.h-data: Likewise.
12207 * conform/data/pwd.h-data: Likewise.
12208 * conform/data/signal.h-data: Likewise.
12209 * conform/data/spawn.h-data: Likewise.
12210 * conform/data/stdio.h-data: Likewise.
12211 * conform/data/stdlib.h-data: Likewise.
12212 * conform/data/stropts.h-data: Likewise.
12213 * conform/data/sys/mman.h-data: Likewise.
12214 * conform/data/sys/stat.h-data: Likewise.
12215 * conform/data/sys/types.h-data: Likewise.
12216 * conform/data/sys/wait.h-data: Likewise.
12217 * conform/data/time.h-data: Likewise.
12218 * conform/data/unistd.h-data: Likewise.
12219 * conform/data/utime.h-data: Likewise.
12220
12221 * io/sys/stat.h: fchmod was always in POSIX.
12222 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12223 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12224 * rt/aio.h: Define __need_timespec before including <time.h>.
12225 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12226 struct. Add forward declaration of pthread_attr_t and use it in
12227 sigevent.
12228 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12229 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12230 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12231 always remove CLK_TCK definition.
12232
c20105c3
AS
122332012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12234
12235 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12236
7a270350
UD
122372012-02-25 Ulrich Drepper <drepper@gmail.com>
12238
31341567
UD
12239 * conform/run-conformtest.sh: New file.
12240 * conform/Makefile: Run run-conformtest for tests.
12241 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12242 support.
12243
12244 * conform/data/uchar.h-data: New file.
12245 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12246 * conform/data/arpa/inet.h-data: Likewise.
12247 * conform/data/assert.h-data: Likewise.
12248 * conform/data/complex.h-data: Likewise.
12249 * conform/data/cpio.h-data: Likewise.
12250 * conform/data/ctype.h-data: Likewise.
12251 * conform/data/dirent.h-data: Likewise.
12252 * conform/data/dlfcn.h-data: Likewise.
12253 * conform/data/errno.h-data: Likewise.
12254 * conform/data/fcntl.h-data: Likewise.
12255 * conform/data/float.h-data: Likewise.
12256 * conform/data/fmtmsg.h-data: Likewise.
12257 * conform/data/fnmatch.h-data: Likewise.
12258 * conform/data/ftw.h-data: Likewise.
12259 * conform/data/glob.h-data: Likewise.
12260 * conform/data/grp.h-data: Likewise.
12261 * conform/data/iconv.h-data: Likewise.
12262 * conform/data/inttypes.h-data: Likewise.
12263 * conform/data/langinfo.h-data: Likewise.
12264 * conform/data/libgen.h-data: Likewise.
12265 * conform/data/limits.h-data: Likewise.
12266 * conform/data/locale.h-data: Likewise.
12267 * conform/data/math.h-data: Likewise.
12268 * conform/data/monetary.h-data: Likewise.
12269 * conform/data/mqueue.h-data: Likewise.
12270 * conform/data/ndbm.h-data: Likewise.
12271 * conform/data/net/if.h-data: Likewise.
12272 * conform/data/netdb.h-data: Likewise.
12273 * conform/data/netinet/in.h-data: Likewise.
12274 * conform/data/nl_types.h-data: Likewise.
12275 * conform/data/poll.h-data: Likewise.
12276 * conform/data/pthread.h-data: Likewise.
12277 * conform/data/pwd.h-data: Likewise.
12278 * conform/data/regex.h-data: Likewise.
12279 * conform/data/sched.h-data: Likewise.
12280 * conform/data/search.h-data: Likewise.
12281 * conform/data/semaphore.h-data: Likewise.
12282 * conform/data/setjmp.h-data: Likewise.
12283 * conform/data/signal.h-data: Likewise.
12284 * conform/data/spawn.h-data: Likewise.
12285 * conform/data/stdarg.h-data: Likewise.
12286 * conform/data/stdio.h-data: Likewise.
12287 * conform/data/stdlib.h-data: Likewise.
12288 * conform/data/string.h-data: Likewise.
12289 * conform/data/strings.h-data: Likewise.
12290 * conform/data/stropts.h-data: Likewise.
12291 * conform/data/sys/ipc.h-data: Likewise.
12292 * conform/data/sys/mman.h-data: Likewise.
12293 * conform/data/sys/msg.h-data: Likewise.
12294 * conform/data/sys/resource.h-data: Likewise.
12295 * conform/data/sys/select.h-data: Likewise.
12296 * conform/data/sys/sem.h-data: Likewise.
12297 * conform/data/sys/shm.h-data: Likewise.
12298 * conform/data/sys/socket.h-data: Likewise.
12299 * conform/data/sys/stat.h-data: Likewise.
12300 * conform/data/sys/statvfs.h-data: Likewise.
12301 * conform/data/sys/time.h-data: Likewise.
12302 * conform/data/sys/timeb.h-data: Likewise.
12303 * conform/data/sys/times.h-data: Likewise.
12304 * conform/data/sys/types.h-data: Likewise.
12305 * conform/data/sys/uio.h-data: Likewise.
12306 * conform/data/sys/un.h-data: Likewise.
12307 * conform/data/sys/utsname.h-data: Likewise.
12308 * conform/data/sys/wait.h-data: Likewise.
12309 * conform/data/syslog.h-data: Likewise.
12310 * conform/data/tar.h-data: Likewise.
12311 * conform/data/termios.h-data: Likewise.
12312 * conform/data/utime.h-data: Likewise.
12313 * conform/data/utmpx.h-data: Likewise.
12314 * conform/data/varargs.h-data: Likewise.
12315 * conform/data/wchar.h-data: Likewise.
12316 * conform/data/wctype.h-data: Likewise.
12317 * conform/data/wordexp.h-data: Likewise.
12318
12319 * include/stropts.h: New file.
12320 * include/uchar.h: New file.
12321 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12322 * include/assert.h: Likewise.
12323 * include/ctype.h: Likewise.
12324 * include/dirent.h: Likewise.
12325 * include/dlfcn.h: Likewise.
12326 * include/fcntl.h: Likewise.
12327 * include/fnmatch.h: Likewise.
12328 * include/glob.h: Likewise.
12329 * include/grp.h: Likewise.
12330 * include/libio.h: Likewise.
12331 * include/locale.h: Likewise.
12332 * include/math.h: Likewise.
12333 * include/net/if.h: Likewise.
12334 * include/netdb.h: Likewise.
12335 * include/netinet/in.h: Likewise.
12336 * include/pthread.h: Likewise.
12337 * include/pwd.h: Likewise.
12338 * include/regex.h: Likewise.
12339 * include/sched.h: Likewise.
12340 * include/search.h: Likewise.
12341 * include/setjmp.h: Likewise.
12342 * include/signal.h: Likewise.
12343 * include/stdio.h: Likewise.
12344 * include/stdlib.h: Likewise.
12345 * include/string.h: Likewise.
12346 * include/sys/cdefs.h: Likewise.
12347 * include/sys/mman.h: Likewise.
12348 * include/sys/msg.h: Likewise.
12349 * include/sys/resource.h: Likewise.
12350 * include/sys/select.h: Likewise.
12351 * include/sys/socket.h: Likewise.
12352 * include/sys/stat.h: Likewise.
12353 * include/sys/statvfs.h: Likewise.
12354 * include/sys/time.h: Likewise.
12355 * include/sys/times.h: Likewise.
12356 * include/sys/uio.h: Likewise.
12357 * include/sys/utsname.h: Likewise.
12358 * include/sys/wait.h: Likewise.
12359 * include/termios.h: Likewise.
12360 * include/time.h: Likewise.
12361 * include/ulimit.h: Likewise.
12362 * include/unistd.h: Likewise.
12363 * include/utime.h: Likewise.
12364 * include/wchar.h: Likewise.
12365 * include/wctype.h: Likewise.
12366 * include/wordexp.h: Likewise.
12367
12368 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12369
7a270350
UD
12370 * time/time.h: TIME_UTC must be a macro.
12371 Make timespec_get available for ISO C11 only as well.
12372
7724defc
UD
123732012-02-24 Ulrich Drepper <drepper@gmail.com>
12374
12375 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12376 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12377
6b1d1d46
JM
123782012-02-24 Joseph Myers <joseph@codesourcery.com>
12379
12380 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12381
0f8bbd69
JM
123822012-02-24 Joseph Myers <joseph@codesourcery.com>
12383
12384 * manual/texinfo.tex: Update to version 2012-01-19.16.
12385
66ab80bc
JM
123862012-02-24 Joseph Myers <joseph@codesourcery.com>
12387
12388 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12389
74981cc5
RM
123902012-02-24 Roland McGrath <roland@hack.frob.com>
12391
ee968201
RM
12392 [BZ #13738]
12393 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12394 * manual/fdl-1.3.texi: New file.
12395 * manual/fdl-1.1.texi: File removed.
12396
74981cc5
RM
12397 [BZ #13738]
12398 * manual/libc.texinfo (FDL_VERSION): New @set.
12399 Use it for mention of FDL in cover text.
12400 (Documentation License): Use it in @include file name.
12401
7bb764bc
JM
124022012-02-22 Joseph Myers <joseph@codesourcery.com>
12403 Roland McGrath <roland@hack.frob.com>
12404
12405 [BZ #5461]
12406 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12407 not LONG_LONG_MAX and LONG_LONG_MIN.
12408 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12409 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12410 name.
12411 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12412
6cbeae47
JM
124132012-02-22 Joseph Myers <joseph@codesourcery.com>
12414
12415 [BZ #2547]
12416 [BZ #11365]
12417 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12418 manipulate bits before adding and subtracting TWO23[sx].
12419 * math/libm-test.inc (nearbyint_test): Add more tests.
12420
fe45ce09
JM
124212012-02-22 Joseph Myers <joseph@codesourcery.com>
12422
12423 [BZ #2548]
12424 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12425 bits before adding and subtracting TWO23[sx].
12426 * math/libm-test.inc (rint_test): Add more tests.
12427 (rint_test_tonearest): Likewise.
12428 (rint_test_towardzero): Likewise.
12429 (rint_test_downward): Likewise.
12430 (rint_test_upward: Likewise.
12431
ff3b3d82
JM
124322012-02-22 Joseph Myers <joseph@codesourcery.com>
12433
12434 [BZ #10110]
12435 * include/stdc-predef.h: New file. Extracted from features.h.
12436 * include/features.h: Include stdc-predef.h.
12437 * Makefile (headers): Add stdc-predef.h.
12438 * CONFORMANCE (Compiler limitations): Update.
12439
ef0aab35
JM
124402012-02-22 Joseph Myers <joseph@codesourcery.com>
12441
12442 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12443
58639409
DM
124442012-02-21 David S. Miller <davem@davemloft.net>
12445
12446 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12447 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12448
c0e70b25
DM
124492012-02-20 David S. Miller <davem@davemloft.net>
12450
12451 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12452 using a normal save/restore sequence, rather than allocating a
12453 dummy stack frame just to store a frame pointer and restore.
12454 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12455
fb06851d
JM
124562012-02-21 Joseph Myers <joseph@codesourcery.com>
12457
12458 * manual/install.texi: Fix stray word in line-wrapped comment.
12459
7a8b71c3
DM
124602012-02-20 David S. Miller <davem@davemloft.net>
12461
d510c123
DM
12462 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12463 both binutils and gcc support GOTDATA.
12464
0722d7c2
DM
12465 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12466 "rd %pc" in the PIC register setup sequences.
12467
3d2b3019
DM
12468 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12469 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12470 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12471 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12472 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12473 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12474 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12475 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12476 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12477 (SYSCALL_ERROR_HANDLER): Likewise.
12478 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12479 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12480 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12481 (SYSCALL_ERROR_HANDLER): Likewise.
12482
c80098a9
DM
12483 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12484 (HAVE_GCC_GOTDATA): New.
12485 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12486 relocation support in both binutils and gcc.
12487 * sysdeps/sparc/elf/configure: Regenerate.
12488
3a2545a0
DM
12489 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12490 * sysdeps/sparc/sparc32/elf/configure: Delete.
12491 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12492 * sysdeps/sparc/sparc64/elf/configure: Delete.
12493 * sysdeps/sparc/elf/configure.in: New file.
12494 * sysdeps/sparc/elf/configure: Generate.
12495
7a8b71c3
DM
12496 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12497 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12498 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12499 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12500 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12501
f1e86fca
JM
125022012-02-21 Joseph Myers <joseph@codesourcery.com>
12503
12504 * manual/install.texi: Do not mention specific glibc version
12505 numbers.
12506 * manual/libc.texinfo (VERSION, UPDATED): Update.
12507 (@copying): Use @copyright{} and range of years.
12508
0e7dfaef
JM
125092012-02-21 Joseph Myers <joseph@codesourcery.com>
12510
12511 [BZ #13695]
12512 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12513 [crti.S not in sysdirs] (generated): Do not append.
12514 [crti.S not in sysdirs] (omit-deps): Likewise.
12515 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12516 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12517 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12518 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12519 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12520 Likewise.
12521 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12522 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12523 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12524 * csu/defs.awk: Remove file.
12525 * sysdeps/generic/initfini.c: Likewise.
12526 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12527 variable.
12528 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12529 Likewise.
12530
599af3ca
JM
125312012-02-20 Joseph Myers <joseph@codesourcery.com>
12532
12533 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12534 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12535 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12536 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12537 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12538 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12539 <bits/epoll.h>.
12540 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12541 (__EPOLL_PACKED): Define to empty if not defined by
12542 <bits/epoll.h>.
12543 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12545 bits/epoll.h.
12546
0e499750
JM
125472012-02-20 Joseph Myers <joseph@codesourcery.com>
12548
12549 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12550 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12551 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12552 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12553 <bits/timerfd.h>.
12554 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12556 bits/timerfd.h.
12557
5ad91f6e
JM
125582012-02-20 Joseph Myers <joseph@codesourcery.com>
12559
12560 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12561 in C locale.
12562 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12563 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12564 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12566
06b99b02
AJ
125672012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12568
12569 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12570 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12571
7638c0fd
AS
125722012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12573
12574 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12575 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12576 defined.
12577 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12578 Likewise.
12579 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12580 entry for 2.16.
12581
92221550
AJ
125822012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12583
12584 * math/w_acos.c: Use non-signaling floating-point comparisons.
12585 * math/w_acosf.c: Likewise.
12586 * math/w_acosh.c: Likewise.
12587 * math/w_acoshf.c: Likewise.
12588 * math/w_acoshl.c: Likewise.
12589 * math/w_acosl.c: Likewise.
12590 * math/w_asin.c: Likewise.
12591 * math/w_asinf.c: Likewise.
12592 * math/w_asinl.c: Likewise.
12593 * math/w_atanh.c: Likewise.
12594 * math/w_atanhf.c: Likewise.
12595 * math/w_atanhl.c: Likewise.
12596 * math/w_exp2.c: Likewise.
12597 * math/w_exp2f.c: Likewise.
12598 * math/w_exp2l.c: Likewise.
12599 * math/w_j0.c: Likewise.
12600 * math/w_j0f.c: Likewise.
12601 * math/w_j0l.c: Likewise.
12602 * math/w_j1.c: Likewise.
12603 * math/w_j1f.c: Likewise.
12604 * math/w_j1l.c: Likewise.
12605 * math/w_jn.c: Likewise.
12606 * math/w_jnf.c: Likewise.
12607 * math/w_log.c: Likewise.
12608 * math/w_log10.c: Likewise.
12609 * math/w_log10f.c: Likewise.
12610 * math/w_log10l.c: Likewise.
12611 * math/w_log2.c: Likewise.
12612 * math/w_log2f.c: Likewise.
12613 * math/w_log2l.c: Likewise.
12614 * math/w_logf.c: Likewise.
12615 * math/w_logl.c: Likewise.
12616 * math/w_sqrt.c: Likewise.
12617 * math/w_sqrtf.c: Likewise.
12618 * math/w_sqrtl.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12621 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12622 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12623 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12624
ebaf36eb
JM
126252012-02-19 Joseph Myers <joseph@codesourcery.com>
12626
12627 [BZ #9739]
12628 * manual/string.texi (strnlen): Use correct parameter name in
12629 equivalent expression.
12630
71c254a6
JM
126312012-02-19 Joseph Myers <joseph@codesourcery.com>
12632
12633 [BZ #11174]
12634 * manual/users.texi (seteuid): Consistently use neweuid for
12635 argument name.
12636
16d2c631
JM
126372012-02-19 Joseph Myers <joseph@codesourcery.com>
12638
12639 [BZ #13704]
12640 * manual/nss.texi (Services in the NSS configuration): Correct
12641 list of services in example configuration file.
12642
cd837b09
NB
126432012-02-19 Nick Bowler <nbowler@draconx.ca>
12644
12645 [BZ #11322]
12646 * manual/arith.texi: Remove statements about negative zero
12647 behaving identically to zero.
12648
02c4bbad
JM
126492012-02-18 Joseph Myers <joseph@codesourcery.com>
12650
12651 [BZ #5993]
12652 * manual/install.texi: Do not document upgrading from libc5.
12653
366842e7
JM
126542012-02-18 Joseph Myers <joseph@codesourcery.com>
12655
12656 [BZ #4596]
12657 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12658
dd54084d
DM
126592012-02-18 David S. Miller <davem@davemloft.net>
12660
12661 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12662 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12663 %o7 across the call.
12664 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12665 instead.
12666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12667 SETUP_PIC_REG_LEAF.
12668 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12669 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12670 * sysdeps/sparc/crtn.S: Likewise.
12671
2bcc53a3
UD
126722012-02-17 Ulrich Drepper <drepper@gmail.com>
12673
12674 * aout/Makefile: Remove.
12675
09c093b5
RK
126762012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12677
12678 [BZ #13058]
12679 * manual/examples/argp-ex1.c (main): Format definition in GNU
12680 style.
12681 * manual/examples/argp-ex2.c (main): Likewise.
12682 * manual/examples/argp-ex3.c (main): Likewise.
12683 * manual/examples/argp-ex4.c (main): Likewise.
12684 * manual/examples/longopt.c (main): Use new-style prototype
12685 definition.
12686 * manual/examples/strncat.c (main): Specify return type and use
12687 (void) for arguments.
12688 * manual/examples/subopt.c (main): Use char **argv argument.
12689
2ee633a2
JM
126902012-02-17 Joseph Myers <joseph@codesourcery.com>
12691
12692 [BZ #5077]
12693 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12694 rounding modes.
12695
0520adde
FB
126962012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12697
12698 [BZ #6907]
12699 * manual/string.texi (strchr): Change when strchrnul is
12700 recommended.
12701
3f4081cd
DGM
127022012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12703
12704 [BZ #174]
12705 * manual/locale.texi (setlocale): Document LOCPATH.
12706
d1b10e78
JM
127072012-02-17 Joseph Myers <joseph@codesourcery.com>
12708
12709 [BZ #10210]
12710 * manual/process.texi (execle): Move @dots{} before last argument.
12711
79c6869c
PB
127122012-02-17 Paul Bolle <pebolle@tiscali.nl>
12713
12714 [BZ #12047]
12715 * manual/charset.texi (Generic Charset Conversion): Fix typo
12716 (LC_TYPE -> LC_CTYPE).
12717
cc6e48bc
NB
127182012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12719
12720 [BZ #5805]
12721 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12722 (scalbnf): Likewise.
12723 (scalbnl): Likewise.
12724 (scalbln): Likewise.
12725 (scalblnf): Likewise.
12726 (scalblnl): Likewise.
12727 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12728 (vwarnx): Likewise.
12729 (verr): Likewise.
12730 (verrx): Likewise.
12731 * manual/filesys.texi (telldir): Use braces around return type.
12732 * manual/llio.texi (mmap): Add space after comma.
12733 (mmap64): Likewise.
12734 * manual/math.texi (jn): Use @var{} on parameter names.
12735 (jnf): Likewise.
12736 (jnl): Likewise.
12737 (yn): Likewise.
12738 (ynf): Likewise.
12739 (ynl): Likewise.
12740 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12741 line.
12742 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12743 "...".
12744 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12745 (sched_get_priority_max): Likewise.
12746 * manual/signal.texi (sigvec): Add space after comma.
12747 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12748 names.
12749 (if_indextoname): Likewise.
12750 (if_freenameindex): Likewise.
12751 (sendto): Use ',' instead of '.' in prototype.
12752 * manual/startup.texi (syscall): Use @dots{} instead of literal
12753 "...".
12754 * manual/stdio.texi (__fpending): Separate initial words of
12755 paragraph from @deftypefun line.
12756 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12757 "...".
12758 (vsyslog): Use @var{} on parameter names.
12759 * manual/terminal.texi (stty): Use @var{} on parameter names.
12760 * manual/users.texi (getutmp): Use @var{} on parameter names.
12761 (getutmpx): Likewise.
12762
5b23062f
JM
127632012-02-17 Joseph Myers <joseph@codesourcery.com>
12764
12765 [BZ #6884]
12766 * manual/stdio.texi (fopen): Fix typos in description of
12767 ",ccs=STRING".
12768
8dee4833
AJ
127692012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12770
12771 [BZ #4026]
12772 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12773 get clock_id definition.
12774
9078ce93
TS
127752012-02-17 Thomas Schwinge <thomas@schwinge.name>
12776
12777 [BZ #4822]
12778 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12779 (madvise): Cast every argument to void on its own.
12780
3835c55f
JM
127812012-02-17 Joseph Myers <joseph@codesourcery.com>
12782
12783 [BZ #9902]
12784 * manual/startup.texi (Exit Status): Fix typo.
12785
35c47e37
JM
127862012-02-17 Joseph Myers <joseph@codesourcery.com>
12787
12788 [BZ #10140]
12789 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12790 * manual/examples/argp-ex2.c: Likewise.
12791 * manual/examples/argp-ex3.c: Likewise.
12792
e3b69ca7
RH
127932012-02-16 Richard Henderson <rth@redhat.com>
12794
12795 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12796 * sysdeps/s390/s390-32/initfini.c: Remove.
12797 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12798 * sysdeps/s390/s390-64/initfini.c: Remove.
12799
df83af67
KK
128002012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12801
12802 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12803 compiler output for sysdeps/generic/initfini.c.
12804 * sysdeps/sh/elf/initfini.c: Remove file.
12805
f63f3380
DM
128062012-02-16 David S. Miller <davem@davemloft.net>
12807
fb59b3a4
DM
12808 [BZ #11494]
12809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12810
f63f3380
DM
12811 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12812 * sysdeps/sparc/crti.S: New file.
12813 * sysdeps/sparc/crtn.S: New file.
12814 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12815 * sysdeps/sparc/sparc64/Makefile: Likewise.
12816
df6a4a4a
MF
128172012-02-15 Mike Frysinger <vapier@gentoo.org>
12818
6dd8f3dc 12819 [BZ #3335]
df6a4a4a
MF
12820 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12821
1cac7236
RM
128222012-02-15 Roland McGrath <roland@hack.frob.com>
12823
d2c736f8
RM
12824 [BZ #4822]
12825 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12826
1cac7236
RM
12827 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12828 (write, read, close): Likewise.
12829 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12830
8e475601
JM
128312012-02-15 Joseph Myers <joseph@codesourcery.com>
12832
12833 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12834 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12835 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12836 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12837 <bits/signalfd.h>.
12838 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12840 bits/signalfd.h.
12841
ed656b40
MP
128422012-02-14 Marek Polacek <polacek@redhat.com>
12843
12844 * sysdeps/x86_64/crti.S: New file.
12845 * sysdeps/x86_64/crtn.S: New file.
12846 * sysdeps/x86_64/elf/initfini.c: Remove file.
12847
2a979d3a
JM
128482012-02-13 Joseph Myers <joseph@codesourcery.com>
12849
12850 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12851 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12852 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12853 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12854 <bits/inotify.h>.
12855 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12857 bits/inotify.h.
12858
2a418ac3
JM
128592012-02-13 Joseph Myers <joseph@codesourcery.com>
12860
12861 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12862 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12863 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12864 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12865 <bits/eventfd.h>.
12866 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12868 bits/eventfd.h.
12869
fb779be7
TS
128702012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12871
e19e83c5
RM
12872 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12873 __feraiseexcept instead of feraiseexcept.
7c35ffed 12874
fb779be7
TS
12875 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12876 nanosleep invocations.
12877 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12878 strings, and add error checking for a nanosleep invocations.
12879
59ba27a6
PE
128802012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12881
12882 Replace FSF snail mail address with URLs, as per GNU coding standards.
12883 Most of the snail mail addresses were wrong anyway, and omitting
12884 them makes the source code easier to maintain. Almost all of the
12885 changes are to license notices and to locale LC_IDENTIFICATION
12886 addresses, except for this one:
12887 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12888 not its snail mail address.
12889
57b957eb
RH
128902012-02-09 Richard Henderson <rth@twiddle.net>
12891
af850b1c
RH
12892 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12893 of kernel-features.h.
12894
57b957eb
RH
12895 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12896
6b73181a
MP
128972012-02-08 Marek Polacek <polacek@redhat.com>
12898
12899 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12900 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12901 * sysdeps/gnu/_G_config.h: Likewise.
12902 * sysdeps/generic/_G_config.h: Likewise.
12903
26ecc33a
AS
129042012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12905
6c6dbc63
AS
12906 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12907 tests.
12908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12909
e216c012
AS
12910 * sysdeps/powerpc/powerpc32/crti.S: New file.
12911 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12912 * sysdeps/powerpc/powerpc64/crti.S: New file.
12913 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12914
26ecc33a
AS
12915 * Makeconfig (have-initfini): Don't set.
12916 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12917 * configure.in (nopic_initfini): Don't substitute.
12918 * config.h.in (HAVE_INITFINI): Don't #undef.
12919 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12920 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12921
3add8e13
JM
129222012-02-08 Joseph Myers <joseph@codesourcery.com>
12923
12924 Support crti.S and crtn.S provided directly by architectures.
12925 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12926 [crti.S in sysdirs] (omit-deps): Likewise.
12927 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12928 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12929 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12930 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12931 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12932 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12933 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12934 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12935 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12936 compiler output for sysdeps/generic/initfini.c.
12937 * sysdeps/i386/elf/Makefile: Remove file.
12938 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12939
a22f12b4
MP
129402012-02-07 Marek Polacek <polacek@redhat.com>
12941
12942 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12943 * sysdeps/gnu/_G_config.h: Likewise.
12944 * sysdeps/mach/hurd/_G_config.h: Likewise.
12945
148cf100
MP
129462012-02-07 Marek Polacek <polacek@redhat.com>
12947
12948 * math/Makefile (tests): Add tst-CMPLX2.
12949 * math/tst-CMPLX2.c: New file.
12950
cfdc0dd7
AS
129512012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12952
84ba42c4
AS
12953 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12954
cfdc0dd7
AS
12955 * math/libm-test.inc (jn_test): Add missing L suffix.
12956
622c86f4
MP
129572012-02-06 Marek Polacek <polacek@redhat.com>
12958
12959 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12960 * sysdeps/i386/fpu/e_powf.S: Likewise.
12961 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12962 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12963 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12964 * sysdeps/i386/fpu/e_pow.S: Likewise.
12965 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12966 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12967 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12968 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12969 * sysdeps/i386/fpu/e_log2.S: Likewise.
12970 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12971 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12972 * sysdeps/i386/fpu/e_powl.S: Likewise.
12973 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12974 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12975 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12976 * sysdeps/i386/fpu/e_logl.S: Likewise.
12977 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12978 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12979 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12980 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12981 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12982 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12983 * sysdeps/i386/fpu/e_log.S: Likewise.
12984 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12985 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12986 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12987 * sysdeps/i386/fpu/e_logf.S: Likewise.
12988 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12989 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12990 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12991 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12992 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12993 * sysdeps/i386/fpu/e_log10.S: Likewise.
12994 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12995 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12996 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12997 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12998 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12999 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13000 * sysdeps/i386/asm-syntax.h: Likewise.
13001 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13002 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13003 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13004 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13005 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13006 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13007 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13008 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13009 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13010 * sysdeps/powerpc/sysdep.h: Likewise.
13011 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13012 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13013
d4a54ac6
JM
130142012-02-06 Joseph Myers <joseph@codesourcery.com>
13015
13016 [BZ #411]
13017 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13018
314054ea
JM
130192012-02-06 Joseph Myers <joseph@codesourcery.com>
13020
13021 * sysdeps/i386/sysdep.h: Include <features.h>.
13022 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13023 version.
13024
d8e0ca50
JM
130252012-02-05 Joseph Myers <joseph@codesourcery.com>
13026
13027 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13028 Define.
13029 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13030 LOAD_PIC_REG_STR.
13031
b1da7dd9
JM
130322012-02-03 Joseph Myers <joseph@codesourcery.com>
13033
13034 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13035 (SETUP_PIC_REG): Use GET_PC_THUNK.
13036 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13037 macro.
13038
9a1d9254
JM
130392012-02-03 Joseph Myers <joseph@codesourcery.com>
13040
13041 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13042 for non-PIC compilation.
13043 (SETUP_PIC_REG): Add .p2align directive.
13044 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13045 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13046 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13047 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13048 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13049 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13050 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13051 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13052 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13053 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13054 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13055 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13056 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13057 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13058 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13059 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13060 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13061 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13062 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13063 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13064 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13065 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13066 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13067 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13068 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13069 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13070 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13071 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13072 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13073 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13074 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13075 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13076 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13077 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13078 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13079 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13080 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13081 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13082 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13083 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13084 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13085
65dc3b75
JM
130862012-02-03 Joseph Myers <joseph@codesourcery.com>
13087
13088 * math/tst-CMPLX.c: Include <stdio.h>.
13089
d55bf177
JM
130902012-01-31 Joseph Myers <joseph@codesourcery.com>
13091
13092 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13093 float.
13094 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13095 * sysdeps/sparc/bits/mathdef.h: Likewise.
13096
69db4f8f
MP
130972012-01-31 Marek Polacek <polacek@redhat.com>
13098
13099 * libio/libio.h: Don't define _PARAMS.
13100 * locale/programs/config.h: Don't define PARAMS.
13101 * stdlib/strtol_l.c: Likewise.
13102 (__strtol_l): Remove PARAMS from the prototype.
13103
41b81892
UD
131042012-01-31 Ulrich Drepper <drepper@gmail.com>
13105
3b49edc0
UD
13106 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13107 names. Just use the correct names. Remove unnecessary wrapper
13108 functions.
13109 * malloc/arena.c: Likewise.
13110 * malloc/hooks.c: Likewise.
13111
41b81892
UD
13112 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13113 ARENA_TEST says not to. Simplify test for creation of a new arena.
13114 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13115
27a25b6e
UD
131162012-01-30 Ulrich Drepper <drepper@gmail.com>
13117
13118 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13119 into tail calls.
13120 (update_get_addr): New function.
13121 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13122 GET_ADDR_MODULE parameter.
13123
c8a89e7d
JM
131242012-01-30 Joseph Myers <joseph@codesourcery.com>
13125
13126 * crypt/cert.c: Remove __STDC__ conditionals.
13127 * crypt/crypt-entry.c: Likewise.
13128 * crypt/crypt_util.c: Likewise.
13129 * libio/filedoalloc.c: Likewise.
13130 * libio/fileops.c: Likewise.
13131 * libio/genops.c: Likewise.
13132 * libio/iofclose.c: Likewise.
13133 * libio/iofdopen.c: Likewise.
13134 * libio/iofopen.c: Likewise.
13135 * libio/iofopen64.c: Likewise.
13136 * libio/iogetdelim.c: Likewise.
13137 * libio/iopopen.c: Likewise.
13138 * libio/obprintf.c: Likewise.
13139 * libio/oldfileops.c: Likewise.
13140 * libio/oldiofclose.c: Likewise.
13141 * libio/oldiofdopen.c: Likewise.
13142 * libio/oldiofopen.c: Likewise.
13143 * libio/oldiopopen.c: Likewise.
13144 * libio/wfiledoalloc.c: Likewise.
13145 * libio/wgenops.c: Likewise.
13146 * locale/programs/xmalloc.c: Likewise.
13147 * misc/syslog.c: Likewise.
13148 * stdio-common/xbug.c: Likewise.
13149 * string/memchr.c: Likewise.
13150 * string/memcmp.c: Likewise.
13151 * string/memrchr.c: Likewise.
13152 * string/rawmemchr.c: Likewise.
13153 * sysdeps/posix/getcwd.c: Likewise.
13154 * time/strftime_l.c: Likewise.
13155
3b100462
JM
131562012-01-30 Joseph Myers <joseph@codesourcery.com>
13157
13158 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
13159 * config.make.in (config-cflags-sse2avx): Define.
13160 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13161 Fix typo.
13162
607998af
CM
131632012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13164
13165 * scripts/config.guess: Update from upstream config git repository.
13166 * scripts/config.sub: Likewise.
13167
3601428f
CM
131682012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13169
3ac8b282
CM
13170 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13171 (EM_NUM): Update.
13172 (R_TILEPRO_*, R_TILEGX_*): New macros.
13173
e034841e
CM
13174 * scripts/firstversions.awk: Fix bug in version range handling.
13175
540d7568
CM
13176 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13177
3601428f
CM
13178 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13179
463de862
CM
13180 * include/sys/epoll.h: New file.
13181 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13182 libc_hidden_def.
13183
73139a76
UD
131842012-01-28 Ulrich Drepper <drepper@gmail.com>
13185
96bc5b45
UD
13186 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13187 Avoid unnecessary __WORDSIZE == 64 test.
13188 (fmaxf): Use VEX format if possible.
13189 (fmax): Likewise.
13190 (fminf): Likewise.
13191 (fmin): Likewise.
13192
56f6f6a2
UD
13193 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13194 * math/math_private.h: Remove libc_fegetround* and
13195 libc_fesetround*.
13196 * sysdeps/i386/configure.in: Check for -msse2avx.
13197 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13198 also if SSE2AVX is defined.
13199 Remove libc_fegetround* and libc_fesetround*.
13200 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13201 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13202 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13203 of HAS_YMM_USABLE.
13204 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13205 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13206 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13207 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13208 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13209
73139a76
UD
13210 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13211
d73f93a4
AZ
132122012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13213
13214 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13215 size is not set.
13216 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13217
6ee65ed6
UD
132182012-01-27 Ulrich Drepper <drepper@gmail.com>
13219
13220 [BZ #13618]
13221 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13222 relocation.
13223 * Makeconfig (libm): Define.
13224 * elf/Makefile: Add rules to build and run tst-relsort1.
13225 * elf/tst-relsort1.c: New file.
13226 * elf/tst-relsort1mod1.c: New file.
13227 * elf/tst-relsort1mod2.c: New file.
13228
8db21882
JM
132292012-01-27 Joseph Myers <joseph@codesourcery.com>
13230
13231 * math/s_ldexp.c: Remove __STDC__ conditionals.
13232 * math/s_ldexpf.c: Likewise.
13233 * math/s_ldexpl.c: Likewise.
13234 * math/s_nextafter.c: Likewise.
13235 * math/s_nexttowardf.c: Likewise.
13236 * math/s_significand.c: Likewise.
13237 * math/s_significandf.c: Likewise.
13238 * math/s_significandl.c: Likewise.
13239 * math/w_jnl.c: Likewise.
13240 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13241 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13242 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13243 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13244 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13247 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13248 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13249 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13250 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13251 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13252 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13253 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13254 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13255 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13259 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13260 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13261 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13262 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13263 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13264 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13265 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13266 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13267 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13268 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13269 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13270 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13271 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13272 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13273 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13274 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13275 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13276 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13277 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13278 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13279 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13280 * sysdeps/ieee754/k_standard.c: Likewise.
13281 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13282 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13283 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13284 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13285 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13287 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13290 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13296 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13297 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13298 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13299 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13300 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13301 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13302 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13303 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13304 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13305 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13306 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13307 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13308 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13309 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13310 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13311 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13313 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13314 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13315 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13316 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13317 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13318 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13319 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13320 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13321 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13322 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13324 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13325 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13326 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13327 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13329 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13330 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13331 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13337 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13338 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13341 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13342 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13343 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13344 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13345 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13347 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13355 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13356 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13358 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13360 * sysdeps/ieee754/s_matherr.c: Likewise.
13361 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13362 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13363 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13364 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13365
965a54a4
JM
133662012-01-26 Joseph Myers <joseph@codesourcery.com>
13367
13368 * crypt/md5.h: Remove __STDC__ conditionals.
13369 * libio/libioP.h: Likewise.
13370 * locale/programs/config.h: Likewise.
13371 * sysdeps/generic/sysdep.h: Likewise.
13372 * sysdeps/i386/asm-syntax.h: Likewise.
13373 * sysdeps/s390/asm-syntax.h: Likewise.
13374 * sysdeps/unix/sysdep.h: Likewise.
13375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13377
7071ad79
JM
133782012-01-26 Joseph Myers <joseph@codesourcery.com>
13379
13380 * libio/libio.h: Remove __STDC__ conditionals.
13381 * malloc/obstack.h: Likewise.
13382 * math/complex.h: Likewise.
13383 * math/math.h: Likewise.
13384 * sysdeps/generic/_G_config.h: Likewise.
13385 * sysdeps/gnu/_G_config.h: Likewise.
13386 * sysdeps/mach/hurd/_G_config.h: Likewise.
13387 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13388 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13389 * sysdeps/sparc/bits/mathdef.h: Likewise.
13390
afc5ed09
UD
133912012-01-26 Ulrich Drepper <drepper@gmail.com>
13392
13393 [BZ #13583]
13394 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13395 Clean up HAS_* macros.
afc5ed09 13396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13397 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13398 possible.
13399 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13400 HAS_AVX.
13401 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13402 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13403 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13404 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13405 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13406
bdb6de1d
JM
134072012-01-25 Joseph Myers <joseph@codesourcery.com>
13408
13409 * elf/tst-unique3.cc (gets): Remove declaration.
13410 * elf/tst-unique3lib.cc (gets): Likewise.
13411 * elf/tst-unique3lib2.cc (gets): Likewise.
13412 * elf/tst-unique4.cc (gets): Likewise.
13413
b15549e6
UD
134142012-01-24 Ulrich Drepper <drepper@gmail.com>
13415
13416 * include/stdio.h: Add C++ protection. Add gets declarations and
13417 definitions.
13418 * debug/tst-chk1.c: Don't declare gets here.
13419 * stdio-common/tst-gets.c: Likewise.
13420
a037381f
JM
134212012-01-24 Joseph Myers <joseph@codesourcery.com>
13422
13423 * posix/glob: Remove directory.
13424
f1d4aa75
JM
134252012-01-24 Joseph Myers <joseph@codesourcery.com>
13426
13427 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13428
81c0c964
PT
134292012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13430
13431 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13432 of the non-standard EPFNOSUPPORT.
13433
0ea698ae
ST
134342011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13435
13436 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13437 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13438 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13439
d220b117
UD
134402012-01-21 Ulrich Drepper <drepper@gmail.com>
13441
13442 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13443
3e1aa84e
UD
134442012-01-20 Ulrich Drepper <drepper@gmail.com>
13445
13446 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13447 transient errors.
13448 * nscd/grpcache.c (cache_addgr): Likewise.
13449 * nscd/hstcache.c (cache_addhst): Likewise.
13450 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13451 * nscd/pwdcache.c (cache_addpw): Likewise.
13452 * nscd/servicescache.c (cache_addserv): Likewise.
13453
400aa020
UD
134542012-01-16 Ulrich Drepper <drepper@gmail.com>
13455
d77e7869
UD
13456 * malloc/malloc.c: Various cleanups.
13457 * malloc/hooks.c: Likewise.
13458
400aa020
UD
13459 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13460 * stdlib/bug-fmtmsg1.c: New file.
13461
13462 * stdlib/fmtmsg.c (init): Add missing unlock.
13463 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13464
e0a309cf
MP
134652012-01-12 Marek Polacek <polacek@redhat.com>
13466
13467 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13468 and _GNU_SOURCE.
13469
929d11c7
WS
134702012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13471
13472 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13473 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13474 macro to ensure uniqueness of label name.
13475 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13476 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13477
41d0e869
UD
134782012-01-11 Ulrich Drepper <drepper@gmail.com>
13479
0cc5ed3b
UD
13480 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13481
41d0e869
UD
13482 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13483 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13484 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13485 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13486
a47a831a
UD
134872012-01-10 Ulrich Drepper <drepper@gmail.com>
13488
daa891c0
UD
13489 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13490
13491 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13492 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13493 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13494
e58ef0f2
UD
13495 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13496
a47a831a 13497 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13498 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13499 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13500 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13501
13502 * math/bits/math-finite.h: Add ldexp support.
13503
a0bfc9c7
MP
135042012-01-10 Marek Polacek <polacek@redhat.com>
13505
13506 * locale/programs/localedef.h (show_archive_content): Add noreturn
13507 attribute.
13508
d6e97a1d
UD
135092012-01-09 Ulrich Drepper <drepper@gmail.com>
13510
13511 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13512
d5835c26
UD
135132012-01-08 Ulrich Drepper <drepper@gmail.com>
13514
e5f484c6
UD
13515 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13516
d5835c26
UD
13517 * io/Makefile (headers): Add bits/poll2.h.
13518
d1f741e9
WS
135192011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13520
13521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13522 typo #include statement.
13523
ec09c1c4
UD
135242012-01-08 Ulrich Drepper <drepper@gmail.com>
13525
13526 * include/sys/cdefs.h: Define __attribute_alloc_size.
13527 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13528 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13529 * elf/pldd.c: Likewise.
13530 * iconv/iconv_charmap.c: Likewise.
13531 * iconv/iconvconfig.c: Likewise.
13532 * iconv/strtab.c: Likewise.
13533 * locale/programs/locale.c: Likewise.
13534 * locale/programs/localedef.h: Likewise.
13535 * locale/programs/simple-hash.c: Likewise.
13536 * nscd/nscd.h: Likewise.
13537 * nss/makedb.c: Likewise.
13538 * sysdeps/generic/ldconfig.h: Likewise.
13539 * locale/programs/localedef.c: Remove xmalloc prototype.
13540 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13541
20b38e03
PP
135422012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13543
13544 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13545 appropriate.
13546
a0da5fe1
UD
135472012-01-08 Ulrich Drepper <drepper@gmail.com>
13548
1d5a644a 13549 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13550 * math/tst-CMPLX.c: New file.
1d5a644a 13551
8784a6db
UD
13552 * math/complex.h (CMPLXL): Fix typo.
13553
d9a216c0
UD
13554 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13555 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13556 GLIBC_2.16.
13557 * debug/tst-chk1.c: Add poll and ppoll tests.
13558 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13559 * include/sys/poll.h: Add hidden proto for ppoll.
13560 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13561 * sysdeps/mach/hurd/ppoll.c: Likewise.
13562 * io/ppoll.c: Likewise.
13563 * debug/poll_chk.c: New file.
13564 * debug/ppoll_chk.c: New file.
13565 * include/bits/poll2.h: New file.
13566 * io/bits/poll2.h: New file.
13567
ac097f5c
UD
13568 [BZ #1350]
13569 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13570
2119dcfa
UD
13571 * configure.in: static is always set to yes. Remove.
13572 * config.make.in: Don't set build-static.
13573 * Makeconfig: Remove use of build-static.
13574 * dlfcn/Makefile: Likewise.
13575 * elf/Makefile: Likewise.
13576 * math/Makefile: Likewise.
13577 * misc/Makefile: Likewise.
13578 * nptl/Makefile: Likewise.
13579 * sysdeps/mach/hurd/Makefile: Likewise.
13580
121766a9
UD
13581 * configure.in: PWD_P is not used anymore.
13582 * config.make.in: Remove PWD_P entry.
13583
51a1d39c 13584 * configure.in: Remove last remnants of RANLIB.
8720d066 13585 No need to check for signed size_t anymore.
215f4bdc
UD
13586 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13587 and IA-64.
3857022a 13588 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13589 * aclocal.m4: Likewise.
13590
d3ed7225
UD
13591 * wcsmbs/mbrtoc16.c: Implement using towc function.
13592 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13593 * wcsmbs/wcsmbsload.c: Likewise.
13594 * iconv/gconv_simple.c: Likewise.
13595 * iconv/gconv_int.h: Likewise.
13596 * iconv/gconv_builtin.h: Likewise.
13597 * iconv/iconv_prog.c: Remove CHAR16 handling.
13598
13599 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13600
13601 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13602
a0da5fe1
UD
13603 * configure.in: Remove --with-elf and --enable-bounded options.
13604 Dont set base_machine for ia64. More non-ELF conditions removed.
13605 Remove testing and setting of leading underscore information.
13606 * config.make.in (build-bounded): Set to no.
13607 * config.h.in: Remove NO_UNDERSCORES entry.
13608 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13609 them.
13610 * csu/start.c: Remove !NO_UNDERSCORE code.
13611 * locale/localeinfo.h: Likewise.
13612 * sysdeps/generic/machine-gmon.h: Likewise.
13613 * sysdeps/generic/sysdep.h: Likewise.
13614 * sysdeps/i386/sysdep.h: Likewise.
13615 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13616 * sysdeps/mach/sysdep.h: Likewise.
13617 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13618 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13619 * sysdeps/sh/sysdep.h: Likewise.
13620 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13621 * sysdeps/unix/i386/sysdep.S: Likewise.
13622 * sysdeps/unix/sparc/start.c: Likewise.
13623 * sysdeps/unix/sparc/sysdep.S: Likewise.
13624 * sysdeps/unix/sparc/sysdep.h: Likewise.
13625 * sysdeps/unix/start.c: Likewise.
13626 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13627 * sysdeps/x86_64/sysdep.h: Likewise.
13628
df78418a
UD
136292012-01-07 Ulrich Drepper <drepper@gmail.com>
13630
a784e502
UD
13631 [BZ #13553]
13632 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13633 for non-gcc.
13634 * argp/argp-fmtstream.h: Use const instead __const.
13635 * argp/argp.h: Likewise.
13636 * assert/assert.h: Likewise.
13637 * bits/fenv.h: Likewise.
13638 * bits/sched.h: Likewise.
13639 * bits/sigset.h: Likewise.
13640 * bits/sigthread.h: Likewise.
13641 * catgets/nl_types.h: Likewise.
13642 * conform/data/pthread.h-data: Likewise.
13643 * crypt/crypt-private.h: Likewise.
13644 * crypt/crypt.h: Likewise.
13645 * crypt/crypt_util.c: Likewise.
13646 * ctype/ctype.h: Likewise.
13647 * debug/execinfo.h: Likewise.
13648 * debug/mbsnrtowcs_chk.c: Likewise.
13649 * debug/mbsrtowcs_chk.c: Likewise.
13650 * debug/wcsnrtombs_chk.c: Likewise.
13651 * debug/wcsrtombs_chk.c: Likewise.
13652 * debug/wcstombs_chk.c: Likewise.
13653 * dirent/dirent.h: Likewise.
13654 * dlfcn/dlfcn.h: Likewise.
13655 * elf/neededtest4.c: Likewise.
13656 * grp/grp.h: Likewise.
13657 * gshadow/gshadow.h: Likewise.
13658 * iconv/gconv.h: Likewise.
13659 * iconv/gconv_int.h: Likewise.
13660 * iconv/gconv_simple.c: Likewise.
13661 * iconv/iconv.h: Likewise.
13662 * iconv/loop.c: Likewise.
13663 * iconv/skeleton.c: Likewise.
13664 * include/aio.h: Likewise.
13665 * include/aliases.h: Likewise.
13666 * include/argz.h: Likewise.
13667 * include/arpa/inet.h: Likewise.
13668 * include/assert.h: Likewise.
13669 * include/dirent.h: Likewise.
13670 * include/dlfcn.h: Likewise.
13671 * include/execinfo.h: Likewise.
13672 * include/fcntl.h: Likewise.
13673 * include/fenv.h: Likewise.
13674 * include/glob.h: Likewise.
13675 * include/grp.h: Likewise.
13676 * include/libintl.h: Likewise.
13677 * include/mntent.h: Likewise.
13678 * include/netdb.h: Likewise.
13679 * include/pwd.h: Likewise.
13680 * include/rpc/netdb.h: Likewise.
13681 * include/sched.h: Likewise.
13682 * include/search.h: Likewise.
13683 * include/shadow.h: Likewise.
13684 * include/signal.h: Likewise.
13685 * include/stdio.h: Likewise.
13686 * include/stdlib.h: Likewise.
13687 * include/string.h: Likewise.
13688 * include/sys/socket.h: Likewise.
13689 * include/sys/stat.h: Likewise.
13690 * include/sys/statfs.h: Likewise.
13691 * include/sys/statvfs.h: Likewise.
13692 * include/sys/syslog.h: Likewise.
13693 * include/sys/time.h: Likewise.
13694 * include/sys/uio.h: Likewise.
13695 * include/time.h: Likewise.
13696 * include/unistd.h: Likewise.
13697 * include/utmp.h: Likewise.
13698 * include/wchar.h: Likewise.
13699 * include/wctype.h: Likewise.
13700 * inet/aliases.h: Likewise.
13701 * inet/arpa/inet.h: Likewise.
13702 * inet/netinet/ether.h: Likewise.
13703 * inet/netinet/in.h: Likewise.
13704 * intl/libintl.h: Likewise.
13705 * io/bits/fcntl2.h: Likewise.
13706 * io/fcntl.h: Likewise.
13707 * io/ftw.h: Likewise.
13708 * io/sys/poll.h: Likewise.
13709 * io/sys/stat.h: Likewise.
13710 * io/sys/statfs.h: Likewise.
13711 * io/sys/statvfs.h: Likewise.
13712 * io/utime.h: Likewise.
13713 * libio/bits/stdio.h: Likewise.
13714 * libio/bits/stdio2.h: Likewise.
13715 * libio/libio.h: Likewise.
13716 * libio/libioP.h: Likewise.
13717 * libio/stdio.h: Likewise.
13718 * locale/lc-ctype.c: Likewise.
13719 * locale/locale.h: Likewise.
13720 * login/utmp.h: Likewise.
13721 * malloc/arena.c: Likewise.
13722 * malloc/malloc.c: Likewise.
13723 * malloc/malloc.h: Likewise.
13724 * malloc/mcheck.c: Likewise.
13725 * malloc/mtrace.c: Likewise.
13726 * math/bits/mathcalls.h: Likewise.
13727 * math/fenv.h: Likewise.
13728 * math/math_private.h: Likewise.
13729 * misc/bits/error.h: Likewise.
13730 * misc/bits/syslog.h: Likewise.
13731 * misc/err.h: Likewise.
13732 * misc/error.h: Likewise.
13733 * misc/fstab.h: Likewise.
13734 * misc/mntent.h: Likewise.
13735 * misc/regexp.h: Likewise.
13736 * misc/search.h: Likewise.
13737 * misc/sgtty.h: Likewise.
13738 * misc/sys/mman.h: Likewise.
13739 * misc/sys/syslog.h: Likewise.
13740 * misc/sys/uio.h: Likewise.
13741 * misc/sys/xattr.h: Likewise.
13742 * misc/ttyent.h: Likewise.
13743 * nis/rpcsvc/ypclnt.h: Likewise.
13744 * nss/nss.h: Likewise.
13745 * posix/bits/unistd.h: Likewise.
13746 * posix/fnmatch.h: Likewise.
13747 * posix/glob.h: Likewise.
13748 * posix/sched.h: Likewise.
13749 * posix/spawn.h: Likewise.
13750 * posix/sys/wait.h: Likewise.
13751 * posix/unistd.h: Likewise.
13752 * posix/wordexp.h: Likewise.
13753 * pwd/pwd.h: Likewise.
13754 * resolv/netdb.h: Likewise.
13755 * resource/sys/resource.h: Likewise.
13756 * rt/aio.h: Likewise.
13757 * rt/bits/mqueue2.h: Likewise.
13758 * rt/mqueue.h: Likewise.
13759 * shadow/shadow.h: Likewise.
13760 * signal/signal.h: Likewise.
13761 * socket/send.c: Likewise.
13762 * socket/sendto.c: Likewise.
13763 * socket/sys/socket.h: Likewise.
13764 * stdio-common/printf.h: Likewise.
13765 * stdlib/bits/stdlib.h: Likewise.
13766 * stdlib/fmtmsg.h: Likewise.
13767 * stdlib/monetary.h: Likewise.
13768 * stdlib/stdlib.h: Likewise.
13769 * stdlib/ucontext.h: Likewise.
13770 * streams/stropts.h: Likewise.
13771 * string/argz.h: Likewise.
13772 * string/bits/string2.h: Likewise.
13773 * string/string.h: Likewise.
13774 * string/strings.h: Likewise.
13775 * sunrpc/rpc/auth.h: Likewise.
13776 * sunrpc/rpc/auth_des.h: Likewise.
13777 * sunrpc/rpc/clnt.h: Likewise.
13778 * sunrpc/rpc/netdb.h: Likewise.
13779 * sunrpc/rpc/pmap_clnt.h: Likewise.
13780 * sunrpc/rpc/xdr.h: Likewise.
13781 * sysdeps/generic/inttypes.h: Likewise.
13782 * sysdeps/generic/net/if.h: Likewise.
13783 * sysdeps/generic/sys/swap.h: Likewise.
13784 * sysdeps/gnu/net/if.h: Likewise.
13785 * sysdeps/gnu/utmpx.h: Likewise.
13786 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13787 * sysdeps/i386/i486/bits/string.h: Likewise.
13788 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13789 * sysdeps/s390/bits/string.h: Likewise.
13790 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13791 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13792 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13793 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13794 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13795 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13796 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13797 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13798 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13799 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13800 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13801 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13802 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13803 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13804 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13805 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13806 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13807 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13808 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13809 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13810 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13811 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13812 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13813 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13814 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13815 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13816 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13817 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13818 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13819 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13820 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13821 * sysvipc/sys/ipc.h: Likewise.
13822 * sysvipc/sys/msg.h: Likewise.
13823 * sysvipc/sys/sem.h: Likewise.
13824 * sysvipc/sys/shm.h: Likewise.
13825 * termios/termios.h: Likewise.
13826 * time/sys/time.h: Likewise.
13827 * time/time.h: Likewise.
13828 * wcsmbs/bits/wchar2.h: Likewise.
13829 * wcsmbs/uchar.h: Likewise.
13830 * wcsmbs/wchar.h: Likewise.
13831 * wctype/wctype.h: Likewise.
13832
0269750c
UD
13833 [BZ #13551]
13834 * Makeconfig: Remove all but ELF support including AIX support.
13835 * Makerules: Likewise.
13836 * config.h.in: Likewise.
13837 * config.make.in: Likewise.
13838 * configure: Likewise.
13839 * configure.in: Likewise.
13840 * csu/Makefile: Likewise.
13841 * csu/version.c: Likewise.
13842 * debug/Makefile: Likewise.
13843 * dlfcn/Makefile: Likewise.
13844 * elf/Makefile: Likewise.
13845 * extra-lib.mk: Likewise.
13846 * iconv/Makefile: Likewise.
13847 * include/libc-symbols.h: Likewise.
13848 * include/shlib-compat.h: Likewise.
13849 * resolv/Makefile: Likewise.
13850 * resolv/res_libc.c: Likewise.
13851 * rt/Makefile: Likewise.
13852 * sysdeps/i386/asm-syntax.h: Likewise.
13853 * sysdeps/i386/sysdep.h: Likewise.
13854 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13855 * sysdeps/mach/sysdep.h: Likewise.
13856 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13857 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13858 * sysdeps/s390/asm-syntax.h: Likewise.
13859 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13860 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13861 * sysdeps/sh/sysdep.h: Likewise.
13862 * sysdeps/unix/sparc/sysdep.h: Likewise.
13863 * sysdeps/wordsize-32/divdi3.c: Likewise.
13864 * sysdeps/x86_64/sysdep.h: Likewise.
13865
00bbd29b
UD
13866 * argp/Versions: Remove _argp_unlock_xxx.
13867
13868 [BZ #13559]
13869 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13870 * abilist/libBrokenLocale.abilist: Likewise.
13871 * abilist/libanl.abilist: Likewise.
13872 * abilist/libc.abilist: Likewise.
13873 * abilist/libcrypt.abilist: Likewise.
13874 * abilist/libdl.abilist: Likewise.
13875 * abilist/libm.abilist: Likewise.
13876 * abilist/libnsl.abilist: Likewise.
13877 * abilist/libpthread.abilist: Likewise.
13878 * abilist/libresolv.abilist: Likewise.
13879 * abilist/librt.abilist: Likewise.
13880 * abilist/libthread_db.abilist: Likewise.
13881 * abilist/libutil.abilist: Likewise.
13882 * abilist/libnss_db.abilist: New file.
13883
13884 * scripts/abilist.awk: Add support for indirect functions.
13885
a2693a0e
UD
13886 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13887
3f05895f
UD
13888 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13889
ecb6fb48
UD
13890 * shlib-versions: Remove entries for ports architectures.
13891
664f8cb9
UD
13892 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13893 files in ports.
13894 * elf/stackguard-macros.h: Remove support for IA-64.
13895 * elf/tst-auditmod1.c: Likewise.
13896 * sysdeps/generic/ldsodefs.h: Likewise.
13897
7ae81d88
UD
13898 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13899 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13900 configure files.
13901
bdeba135
UD
13902 [BZ #13552]
13903 * configure.in: Remove --enable-omitfp support.
13904 * FAQ.in: Adjust.
13905 * config.make.in: Likewise.
13906 * Makeconfig: Likewise.
13907 * manual/install.texi: Likewise.
13908
d75a0a62
UD
13909 In case anyone cares, the IA-64 architecture could move to ports.
13910 * sysdeps/ia64/*: Removed.
13911 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13912 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13913
dcc9756b
UD
13914 [BZ #13555]
13915 * configure.in: Remove entries for unsupported architectures.
13916
d3761ebc 13917 [BZ #13533]
9954432e
UD
13918 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13919 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13920 routines.
13921 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13922 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13923 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13924 fall back to using wcrtomb.
13925 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13926 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13927 renaming.
13928 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13929 * wcsmbs/tst-c16c32-1.c: New file.
13930
13931 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13932 local variable.
13933
c3a87236
UD
13934 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13935
28926a1b
UD
13936 * elf/tst-unique3.cc: Add explicit declaration of gets.
13937 * elf/tst-unique3lib.cc: Likewise.
13938 * elf/tst-unique3lib2.cc: Likewise.
13939 * elf/tst-unique4.cc: Likewise.
13940
df78418a
UD
13941 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13942
8ecd6b2a
JM
139432012-01-06 Joseph Myers <joseph@codesourcery.com>
13944
13945 [BZ #13566]
13946 * assert/assert.h (static_assert): Don't define for C++.
13947 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13948 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13949
9f115170
UD
139502012-01-03 Ulrich Drepper <drepper@gmail.com>
13951
5e0d0300
UD
13952 * iconv/loop.c (single loop): Fix assertion in storing of
13953 remaining bytes.
13954
9f115170
UD
13955 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13956
81fb02b0
UD
139572012-01-01 Ulrich Drepper <drepper@gmail.com>
13958
13959 * posix/getconf.c: Update copyright year.
13960 * nss/getent.c: Likewise.
a316c1f6 13961 * nss/makedb.c: Likewise.
81fb02b0
UD
13962 * iconv/iconvconfig.c: Likewise.
13963 * iconv/iconv_prog.c: Likewise.
13964 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13965 * elf/pldd.c: Likewise.
13966 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13967 * catgets/gencat.c: Likewise.
13968 * csu/version.c: Likewise.
13969 * elf/ldd.bash.in: Likewise.
13970 * elf/sprof.c (print_version): Likewise.
13971 * locale/programs/locale.c: Likewise.
13972 * locale/programs/localedef.c: Likewise.
a316c1f6 13973 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13974 * nscd/nscd.c (print_version): Likewise.
13975 * debug/xtrace.sh: Likewise.
13976 * malloc/memusage.sh: Likewise.
13977 * malloc/mtrace.pl: Likewise.
13978 * debug/catchsegv.sh: Likewise.
13979
2ba92745
JJ
139802011-12-30 Jakub Jelinek <jakub@redhat.com>
13981
13982 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13983 pure attribute.
13984
dadebdae
UD
139852011-12-24 Ulrich Drepper <drepper@gmail.com>
13986
d3761ebc 13987 [BZ #13533]
db6af3eb
UD
13988 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13989 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13990 transformations.
13991 * iconv/gconv_int.h: Likewise.
13992 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13993 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13994 from libc for GLIBC_2.16.
13995 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13996 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13997 * wcsmbs/uchar.h: Really define mbstate_t.
13998 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13999 * wcsmbs/c16rtomb.c: New file.
14000 * wcsmbs/mbrtoc16.c: New file.
14001 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14002 for C/POSIX locale.
14003 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14004 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14005
dadebdae
UD
14006 * wcsmbs/wchar.h: Add missing __restrict.
14007
67371b56
UD
140082011-12-23 Ulrich Drepper <drepper@gmail.com>
14009
74033a25
UD
14010 [BZ #13532]
14011 * time/Makefile (routines): Add timespec_get.
14012 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14013 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14014 timespec for ISO C11.
14015 * time/timespec_get.c: New file.
14016 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14017 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14018
380d7e87
UD
14019 [BZ #13531]
14020 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14021 * stdlib/stdlib.h: Declare aligned_alloc.
14022 * Versions.def: Add GLIBC_2.16 for libc.
14023 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14024
4e9e7a35
UD
14025 [BZ 13527]
14026 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14027 ISO C11.
14028
380d7e87 14029 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
14030 code.
14031
03a71829
UD
14032 [BZ #13528]
14033 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14034
839e283e
UD
14035 [BZ #13529]
14036 * assert/assert.h (static_assert): Define.
14037
ce5294e2 14038 * version.h: Update for 2.16 development version.
90fa7312 14039
8d44e150 14040 [BZ #13526]
d7809905
UD
14041 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14042 _ISOC11_SOURCE.
14043
c0da14cd
UD
14044 * version.h (RELEASE): Bump for 2.15 release.
14045 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14046
530a3249
MP
14047 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14048 Patch by Marek Polacek <mpolacek@redhat.com>.
14049
67371b56
UD
14050 * bits/byteswap.h: Protect long long constants with __extension__.
14051 * sysdeps/i386/bits/byteswap.h: Likewise.
14052 * sysdeps/ia64/bits/byteswap.h: Likewise.
14053 * sysdeps/s390/bits/byteswap.h: Likewise.
14054 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14055
15db4de1
LD
140562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14057
14058 [BZ #13540]
bbe315ea
LD
14059 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14060 destination buffer.
15db4de1
LD
14061 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14062
2b2596b1
MP
140632011-12-23 Marek Polacek <polacek@redhat.com>
14064
14065 * elf/dl-addr.c (determine_info): Add inline keyword.
14066 * elf/tst-auditmod4b.c (check_avx): Likewise.
14067 * elf/tst-auditmod6b.c (check_avx): Likewise.
14068 * elf/tst-auditmod6c.c (check_avx): Likewise.
14069 * elf/tst-auditmod7b.c (check_avx): Likewise.
14070
70c6c246
UD
140712011-12-23 Ulrich Drepper <drepper@gmail.com>
14072
14073 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14074 !__SSE_MATH__.
14075
c044cf14
LD
140762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14077
15db4de1 14078 [BZ #13540]
c044cf14
LD
14079 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14080 processing for last bytes.
14081
6b13d9d9
BH
140822011-08-06 Bruno Haible <bruno@clisp.org>
14083
d455f537
BH
14084 [BZ #13061]
14085 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14086 U+0385, not to U+1FEE.
14087
6b13d9d9
BH
14088 [BZ #13062]
14089 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14090 entry for U+00A5 U+0301.
14091
db910efd
UD
140922011-12-22 Ulrich Drepper <drepper@gmail.com>
14093
27deeafc
UD
14094 [BZ #13166]
14095 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14096 buffer for the output is too small.
14097
aed9d171
UD
14098 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14099 optimization.
14100
db910efd
UD
14101 [BZ #13185]
14102 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14103 SSE flags if possible.
14104
2bd779ae
LD
141052011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14106
e7f9dac3 14107 [BZ #13540]
2bd779ae
LD
14108 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14109 processing for last bytes.
14110
154bfc16
JM
141112011-12-22 Joseph Myers <joseph@codesourcery.com>
14112
14113 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14114 (syscall-list-default-options, syscall-list-default-condition)
14115 (syscall-list-includes): Define.
14116 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14117 list of ABIs and options and #if conditions for each ABI. Do not
14118 handle common syscalls between ABIs specially.
14119 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14120 Remove.
14121 (syscall-list-variants, syscall-list-32bit-options)
14122 (syscall-list-32bit-condition, syscall-list-64bit-options)
14123 (syscall-list-64bit-condition): Define.
14124 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14125 (syscall-list-variants, syscall-list-32bit-options)
14126 (syscall-list-32bit-condition, syscall-list-64bit-options)
14127 (syscall-list-64bit-condition): Define.
14128 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14129 Remove.
14130 (syscall-list-variants, syscall-list-32bit-options)
14131 (syscall-list-32bit-condition, syscall-list-64bit-options)
14132 (syscall-list-64bit-condition): Define.
14133 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14134 Remove.
14135 (syscall-list-variants, syscall-list-32bit-options)
14136 (syscall-list-32bit-condition, syscall-list-64bit-options)
14137 (syscall-list-64bit-condition): Define.
14138
21eaf3a5
UD
141392011-12-22 Ulrich Drepper <drepper@gmail.com>
14140
16c6f992
UD
14141 * locale/iso-639.def: Add brx entry.
14142
41043168
UD
14143 [BZ #13328]
14144 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14145 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14146
21eaf3a5
UD
14147 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14148 __feraiseexcept_renamed.
14149
e3a851a2
UD
141502011-12-21 Ulrich Drepper <drepper@gmail.com>
14151
4920765e
UD
14152 [BZ #13538]
14153 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14154 EPOLLET with unsigned values.
14155 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14156 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14157
e3a851a2
UD
14158 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14159 to large cancellation.
14160 * math/s_cacoshf.c: Likewise.
14161 * math/s_cacoshl.c: Likewise.
14162
b27e24b8
RK
141632011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14164
14165 [BZ #13305]
aebefeee 14166 [BZ #12786]
b27e24b8
RK
14167 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14168 * math/s_cacoshf.c: Likewise.
14169 * math/s_cacoshl.c: Likewise.
14170
ee190f67
UD
141712011-12-21 Ulrich Drepper <drepper@gmail.com>
14172
14173 [BZ #13439]
14174 * iconv/gconv.h: Define __GCONV_SWAP.
14175 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14176 * iconvdata/utf-16.c: Likewise.
14177 * iconvdata/utf-32.c: Likewise.
14178
707f25df
AS
141792011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14180
14181 [BZ #13524]
14182 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14183 numerator after shifting it by one limb.
14184
d2daaa1e
RÁE
141852011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14186
14187 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14188 under [__USE_EXTERN_INLINES].
14189
a4647e72
UD
141902011-12-17 Ulrich Drepper <drepper@gmail.com>
14191
14192 [BZ #13446]
14193 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14194
f0b264f1
AZ
141952011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14196
14197 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14198 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14199 optimized code.
14200 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14201 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14202 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14203 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14204 for strncasecmp/strncasecmp_l compilation.
14205 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14206 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14207
8ef4f244
MP
142082011-12-08 Marek Polacek <mpolacek@redhat.com>
14209
14210 [BZ #13484]
14211 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14212 of __asm__.
14213
97ac2654
UD
142142011-12-17 Ulrich Drepper <drepper@gmail.com>
14215
14216 [BZ #13506]
14217 * time/tzfile.c (__tzfile_read): Check values from file header.
14218
91d2a845
WS
142192011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14220
14221 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14222 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14223 * powerpc/powerpc32/dl-start.S: Likewise.
14224 * powerpc/powerpc32/elf/start.S: Likewise.
14225 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14226 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14227 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14228 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14229 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14230 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14231 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14232 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14233 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14234 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14235 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14236 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14237 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14238 * powerpc/powerpc32/memset.S: Likewise.
14239 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14240 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14241 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14242 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14243 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14244 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14245 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14246 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14247 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14248 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14249 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14250 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14251 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14252
a1267ba1
AZ
142532011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14254
14255 * math/libm-test.inc: Added more nearbyint tests.
14256 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14257 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14258 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14259 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14260
ad8ac1bd
RL
142612011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14262
14263 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14264 FD_CLOEXEC.
14265
1d3e4b61
UD
142662011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14267
14268 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14269 Add wcscpy-ssse3 wcscpy-c.
14270 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14271 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14272 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14273 * sysdeps/x86_64/wcschr.S: New file.
14274 * sysdeps/x86_64/wcsrchr.S: New file.
14275 * string/test-strcmp.c: Remove checking of wcscmp function for
14276 wrong alignments.
14277 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14278 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14279 wcsrchr-sse2 wcsrchr-c.
14280 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14281 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14282 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14283 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14284 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14285 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14286 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14287 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14288 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14289 * wcsmbc/wcschr.c (WCSCHR): New macro.
14290
5b330a2d
UD
142912011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14292
14293 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14294 * wcsmbs/test-wcsrchr.c: New file.
14295 * string/test-strrchr.c: Add wcsrchr support.
14296 (WIDE): New macro.
14297 * wcsmbs/test-wcscpy.c: New file.
14298 * string/test-strcpy.c: Add wcscpy support.
14299 (WIDE): New macro.
26428b7c 14300
f039c043
UD
143012011-12-10 Ulrich Drepper <drepper@gmail.com>
14302
14303 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14304 the inner loop.
14305
850fb039
AS
143062011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14307
14308 [BZ #13472]
14309 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14310
4efbd5cb
UD
143112011-12-04 Ulrich Drepper <drepper@gmail.com>
14312
52ff5dd0 14313 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14314 Minor optimizations.
52ff5dd0 14315
4efbd5cb
UD
14316 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14317 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14318 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14319
8a426e12
UD
143202011-12-03 Ulrich Drepper <drepper@gmail.com>
14321
aff2453d
UD
14322 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14323 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14324 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14325 for gcc to avoid warnings.
14326 * inet/Makefile (tests): Add tst-checks.
14327 * inet/tst-checks.c: New file.
14328
14329 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14330 warning.
14331
14332 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14333 __wmemcmp_sse2.
14334
14335 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14336 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14337
8a426e12
UD
14338 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14339
9bea3473
UD
143402011-12-02 Ulrich Drepper <drepper@gmail.com>
14341
3a965496
UD
14342 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14343 problem.
14344
9bea3473
UD
14345 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14346
f101631b
UD
143472011-11-29 Joseph Myers <joseph@codesourcery.com>
14348
14349 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14350 conditional on GCC version.
14351 (__arch_compare_and_exchange_val_8_acq)
14352 (__arch_compare_and_exchange_val_16_acq)
14353 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14354 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14355 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14356
a98275aa
UD
143572011-12-02 Joseph Myers <joseph@codesourcery.com>
14358
14359 * sysdeps/sh/backtrace.c: New file.
14360
d4cc29a2
AS
143612011-12-02 Andreas Schwab <schwab@redhat.com>
14362
14363 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14364 parenthesis.
14365
6257af2d
AS
143662011-12-01 Andreas Schwab <schwab@redhat.com>
14367
14368 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14369 falling back to utime.
14370
b5f44c1a
AS
143712011-11-30 Andreas Schwab <schwab@redhat.com>
14372
14373 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14374 expectations for float.
14375
f3a6cc0a
AS
143762011-11-29 Andreas Schwab <schwab@redhat.com>
14377
14378 * locale/weight.h (findidx): Add parameter len.
14379 * locale/weightwc.h (findidx): Likewise.
14380 * posix/fnmatch_loop.c (FCT): Adjust caller.
14381 * posix/regcomp.c (build_equiv_class): Likewise.
14382 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14383 * posix/regexec.c (check_node_accept_bytes): Likewise.
14384 * string/strcoll_l.c (STRCOLL): Likewise.
14385 * string/strxfrm_l.c (STRXFRM): Likewise.
14386
9d65ea3a
UD
143872011-11-17 Ulrich Drepper <drepper@gmail.com>
14388
14389 * Makefile.in: Remove CVSOPT handling.
14390 * configure.in: Remove use of AC_REVISION.
14391 * iconvdata/Makefile (distribute): No need to filter out CVS.
14392 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14393 handling.
14394
5583a086
AS
143952011-11-16 Andreas Schwab <schwab@redhat.com>
14396
14397 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14398 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14399 [USE_AS_STRNCASECMP_L]: Likewise.
14400 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14401 NO_TLS_DIRECT_SEG_REFS.
14402 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14403 Fix argument offsets for non-PIC.
14404 [USE_AS_STRNCASECMP_L]: Likewise.
14405 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14406 NO_TLS_DIRECT_SEG_REFS.
14407
d62a8200
UD
144082011-11-15 Ulrich Drepper <drepper@gmail.com>
14409
9d65ea3a 14410 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14411 O_CLOEXEC.
14412 * locale/loadlocale.c (_nl_load_locale): Likewise.
14413
09f93bd3
AS
144142011-11-15 Andreas Schwab <schwab@redhat.com>
14415
446514f9
AS
14416 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14417 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14418 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14419 (SYSCALL_GETTIME): Set errno on error.
14420
09f93bd3
AS
14421 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14422 count references to noai6ai_cached.
14423
312be3f9
UD
144242011-11-15 Ulrich Drepper <drepper@gmail.com>
14425
14426 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14427
14428 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14429 FD_CLOEXEC for /proc/self/maps.
14430
14431 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14432 FD_CLOEXEC for /proc/meminfo.
14433
14434 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14435 gai.conf.
14436
14437 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14438 FD_CLOEXEC for given file.
14439
14440 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14441
14442 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14443 FD_CLOEXEC for /etc/hosts.
14444 (_gethtent): Likewise.
14445
14446 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14447
14448 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14449 cancellation and set FD_CLOEXEC for /etc/netgroup.
14450
14451 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14452 reading /etc/publickey.
14453
14454 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14455 allow cancellation when reading /etc/group.
14456
14457 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14458 cancellation.
14459 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14460
14461 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14462 when using data file.
14463
14464 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14465
14466 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14467 (write_nis_obj): Use "c" and "e" in fopen.
14468
14469 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14470
14471 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14472
14473 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14474
14475 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14476
14477 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14478 locale.alias.
14479
14480 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14481
14482 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14483
14484 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14485
14486 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14487 file parsing and set FD_CLOEXEC.
14488
82af0fa8
UD
144892011-11-14 Ulrich Drepper <drepper@gmail.com>
14490
14491 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14492
a5fb313c
AS
144932011-11-14 Andreas Schwab <schwab@redhat.com>
14494
14495 * malloc/arena.c (arena_get2): Don't call reused_arena when
14496 _int_new_arena failed.
14497
6abf3465
UD
144982011-11-14 Ulrich Drepper <drepper@gmail.com>
14499
14500 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14501 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14503 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14504 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14505 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14506 to compile strcasecmp and strncasecmp.
14507 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14508 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14509
14510 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14511
76e3966e
UD
145122011-11-13 Ulrich Drepper <drepper@gmail.com>
14513
14514 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14515 locale-defines.sym to gen-as-const-headers.
14516 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14517 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14518 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14519 to compile strcasecmp and strncasecmp.
14520 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14521 strcasecmp_l and strncasecmp_l.
14522 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14523 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14524 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14525 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14526 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14527 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14528 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14529 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14530 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14531 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14532 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14533
ab26144e
UD
145342011-11-12 Ulrich Drepper <drepper@gmail.com>
14535
7edb22ef
UD
14536 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14537 result of SYSDEP_GETTIME_CPU to retval.
14538 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14539 parameter list to macro. Remove trailing semicolon. Adjust users.
14540
9694fc44
UD
14541 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14542 variable.
14543
8ad89ef8
UD
14544 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14545 mantissa words.
14546 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14547
0c822ef9
UD
14548 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14549 from unused variable.
14550
874e0564
UD
14551 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14552 DWARF definitions.
14553 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14554 for assembling.
14555
3a2edc79
UD
14556 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14557 over namespaces.
14558
f3c2577f
UD
14559 * sunrpc/rpc_prot.c (rejected): Fix case value.
14560
294ce126
UD
14561 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14562 unsigned long long int to avoid warnings in shift.
14563
5e2b63c6
UD
14564 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14565 of use of trans.
14566 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14567 variable tmp.
14568
e7f4b08e
UD
14569 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14570 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14571 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14572
ab26144e
UD
14573 * nis/nis_table.c (nis_list): Use variable of correct type for
14574 result of __follow_path call.
14575
8a6d5255
AZ
145762011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14577
14578 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14579 of math functions ceil, trunc, floor, round, and sqrt, when
14580 avaliable on the platform.
14581 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14582 name clash.
14583 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14584 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14585 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14586
aaddc98c
MP
145872011-10-30 Marek Polacek <mpolacek@redhat.com>
14588
14589 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14590 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14591
95b7042b
RM
145922011-11-11 Roland McGrath <roland@hack.frob.com>
14593
14594 * include/unistd.h: Fix __readlink return type.
14595 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14596
57769839
UD
145972011-11-11 Ulrich Drepper <drepper@gmail.com>
14598
14599 * stdlib/ucontext.h: Undo last change for makecontext.
14600
edc5984d
AS
146012011-11-11 Andreas Schwab <schwab@redhat.com>
14602
98591e58
AS
14603 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14604
edc5984d
AS
14605 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14606 * setjmp/setjmp.h: Mark functions as non-leaf.
14607 * setjmp/bits/setjmp2.h: Likewise.
14608 * stdlib/ucontext.h: Likewise.
14609
77cdc054
AS
146102011-11-10 Andreas Schwab <schwab@redhat.com>
14611
14612 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14613 (reused_arena): Don't check arena limit.
14614 (arena_get2): Atomically check arena limit.
14615
fe72eebd
UD
146162011-11-08 Ulrich Drepper <drepper@gmail.com>
14617
5f078c32
UD
14618 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14619 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14620
fe72eebd
UD
14621 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14622 instructions.
14623
ae1bc2fa
AS
146242011-11-07 Andreas Schwab <schwab@redhat.com>
14625
7583a88d
AS
14626 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14627 handler when locking.
14628
ae1bc2fa
AS
14629 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14630 Fix size of allocated buffer.
14631
10fb0bfa
AS
146322011-11-04 Andreas Schwab <schwab@redhat.com>
14633
998832a4
AS
14634 [BZ #10103]
14635 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14636 declarations for long double functions.
14637 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14638
10fb0bfa
AS
14639 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14640
3d7ba52b
AS
146412011-11-03 Andreas Schwab <schwab@redhat.com>
14642
a9ae54a1
AS
14643 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14644 installed.
14645
3d7ba52b
AS
14646 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14647 is disabled.
14648
bc8db248
ST
146492011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14650
14651 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14652
45b96dd6
AS
146532011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14654
647776f6
AS
14655 * include/alloca.h (stackinfo_alloca_round): Define.
14656 (extend_alloca): Use it.
14657 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14658 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14659 here.
14660
d91a8b93
AS
14661 * scripts/check-local-headers.sh: Ignore libaudit.h.
14662
45b96dd6
AS
14663 * nscd/Makefile (extra-objs): Make recursively expanded.
14664
432d41ce
UD
146652011-11-01 Ulrich Drepper <drepper@gmail.com>
14666
34372fc6
UD
14667 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14668 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14669
fadb59f8
UD
14670 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14671 * posix/tst-rfc3484-2.c: Likewise.
14672 * posix/tst-rfc3484-3.c: Likewise.
14673
78239589
UD
14674 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14675 process_vm_writev.
14676 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14677 process_vm_writev.
14678 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14679 process_vm_writev from libc using GLIBC_2.15 version.
14680
432d41ce
UD
14681 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14682
02f9c6cf
PP
146832011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14684
14685 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14686 stack usage.
14687
3a2c0242
UD
146882011-10-31 Ulrich Drepper <drepper@gmail.com>
14689
f4ec4833
UD
14690 [BZ #13367]
14691 * nss/getent.c (initgroups_keys): Show error message in case no group
14692 names are given.
14693
3a2c0242
UD
14694 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14695 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14696 __bump_nl_timestamp.
14697 * nscd/connections (nscd_init): When host database is served open
14698 netlink socket and request notification about configuration changes.
14699 (main_loop_poll): Track netlink file descriptor and bump timestamp
14700 in case data becomes available.
14701 (main_loop_epoll): Likewise.
14702 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14703 (database_pers_head): Add extra_data fileds.
14704 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14705 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14706 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14707 Adjust caller.
14708 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14709 in6ai data, call __free_in6ai.
14710 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14711 Add -DHAVE_NETLINK.
14712 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14713 interface information. Reuse previous data if netlink timestamp
14714 is not changed.
14715 (__bump_nl_timestamp): New function.
14716 (__free_in6ai): New function.
14717
636064eb
UD
147182011-10-30 Ulrich Drepper <drepper@gmail.com>
14719
14720 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14721 close_not_cancel_no_status here.
14722 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14723
9beb2334
UD
147242011-10-29 Ulrich Drepper <drepper@gmail.com>
14725
6ef76f3b
UD
14726 [BZ #13276]
14727 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14728 return value.
14729
0ffc4f3e 14730 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14731 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14732 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14733
cb95113e
UD
147342011-07-03 Andreas Jaeger <aj@suse.de>
14735
14736 [BZ #10709]
14737 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14738 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14739 * math/libm-test.inc (sin_test): Add test case.
14740
a1b560ff
UD
147412011-10-29 Ulrich Drepper <drepper@gmail.com>
14742
c9aaface
UD
14743 [BZ #13337]
14744 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14745 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14746
d272e7f1
UD
14747 * elf/chroot_canon.c (chroot_canon): Cleanups.
14748
1bc33071
UD
14749 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14750
1760874d
TJ
14751 [BZ #13335]
14752 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14753 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14754
51d91b18
UD
14755 * string/test-strchr.c: Make usable for strchrnul testing.
14756 * string/test-strchrnul.c: New file.
14757 * string/Makefile (strop-tests): Add strchrnul.
14758
a1b560ff 14759 * po/it.po: Update from translation team.
b611fb81 14760 * po/es.po: Likewise.
a1b560ff 14761
a5b81e1f
UD
147622011-10-28 Ulrich Drepper <drepper@gmail.com>
14763
fd52bc6d
UD
14764 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14765 the three constants needed as parameters. Drop the others.
14766 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14767 __m128i_strloadu_tolower.
52e4b9eb
UD
14768 Create and initialize variable zero and use it in all the places
14769 where _mm_setzero_si128 was used.
fd52bc6d 14770
a5b81e1f
UD
14771 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14772 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14773 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14774 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14775 anymore.
14776 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14777 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14778 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14779 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14780 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14781 __mpranred, __mptan.
14782 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14783 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14784 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14785 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14786 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14787 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14788 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14789 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14790 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14791
b4343346
AS
147922011-10-28 Andreas Schwab <schwab@redhat.com>
14793
0c92d8a8
AS
14794 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14795 redefine if SHARED.
14796 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14797
b4343346
AS
14798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14799 wide char related routines to wcsmbs subdir.
14800
3871f58f
AS
148012011-10-27 Andreas Schwab <schwab@redhat.com>
14802
14803 [BZ #13344]
14804 * misc/sys/cdefs.h (__THROWNL): Define.
14805 * posix/unistd.h: Use __THREADNL instead of __THREAD
14806 for memory synchronization functions.
14807
94d44d9f
RM
148082011-10-26 Roland McGrath <roland@hack.frob.com>
14809
21b64b15 14810 [BZ #13349]
94d44d9f
RM
14811 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14812 doesn't exist.
14813 * manual/stdio.texi (Obstack Streams): Node removed.
14814
f6ce9294
AS
148152011-10-26 Andreas Schwab <schwab@redhat.com>
14816
80479147
AS
14817 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14818 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14819 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14820
f6ce9294
AS
14821 * math/math_private.h (math_force_eval): Allow non-addressable
14822 arguments.
14823 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14824
618280a1
UD
148252011-10-25 Ulrich Drepper <drepper@gmail.com>
14826
e0016b11
UD
14827 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14828 file is not needed.
14829
14830 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14831 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14832 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14833 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14834 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14835 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14836 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14837 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14838 Add AVX variants.
14839 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14840 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14841 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14842 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14843 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14844 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14845 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14846 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14847 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14848 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14849 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14850 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14851 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14852 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14853 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14854 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14855 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14856 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14857 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14858
14859 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14860 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14861
618280a1
UD
14862 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14863 place. Use VEX encoding when compiling for AVX.
14864
37822576
AS
148652011-10-25 Andreas Schwab <schwab@redhat.com>
14866
1f1e1947
AS
14867 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14868 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14869
37822576
AS
14870 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14871
31ea014d
UD
148722011-10-25 Ulrich Drepper <drepper@gmail.com>
14873
d7826aa1 14874 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14875 useless if() expression.
d7826aa1
UD
14876 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14877 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14878 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14882 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14884 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14885 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14886 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14887 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14888 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14889 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14890 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14891 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14892 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14893 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14894 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14895
31ea014d
UD
14896 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14897
16437fec
AS
148982011-10-25 Andreas Schwab <schwab@redhat.com>
14899
14900 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14901 condition.
14902 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14903
31d3cc00
UD
149042011-10-25 Ulrich Drepper <drepper@gmail.com>
14905
14906 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14907 .text section. Avoid duplicate constants.
14908 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14909 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14910 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14912 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14913 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14914 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14915 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14916 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14917 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14918 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14919 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14920 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14921 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14922 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14923 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14924 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14925 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14926 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14927 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14928 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14929 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14930 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14931 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14932 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14933 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14934 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14935 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14936 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14937 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14938 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14939 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14940 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14941 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14942 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14943 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14944 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14945 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14946 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14947 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14948 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14949 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14950 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14951 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14952 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14953
58985aa9
UD
149542011-10-24 Ulrich Drepper <drepper@gmail.com>
14955
202c9deb
UD
14956 * sysdeps/x86_64/dla.h: Move to ...
14957 * sysdeps/x86_64/fpu/dla.h: ...here.
14958 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14959 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14960
af968f62
UD
14961 * config.make.in: Add have-mfma4 entry.
14962 * configure.in: Substitute libc_cv_cc_fma4.
14963 * math/Makefile (dbl-only-routines): Add sincostab.
14964 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14965 Use __sincostab not sincos.
14966 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14967 name is a macro.
14968 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14969 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14970 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14971 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14972 using __copysign.
14973 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14974 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14975 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14976 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14977 and __inv.
14978 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14979 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14980 __copysign.
14981 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14982 define aliases when function name is a macro.
14983 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14984 sysdeps/ieee754/dbl-64/sincos.tbl.
14985 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14986 fma4-enabled routines.
14987 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14988 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14989 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14990 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14991 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14992 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14993 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14994 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14995 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14996 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14997 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14998 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14999 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15000 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15001 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15002 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15003 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15004 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15005 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15006 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15007 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15008 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15009 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15010 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15011 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15012 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15013 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15014 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15015 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15016 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15017
58985aa9
UD
15018 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15019 rename.
15020 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
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
a201fbcf
AS
150292011-10-24 Andreas Schwab <schwab@redhat.com>
15030
15031 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15032
fc2ee42a
LD
150332011-10-23 Ulrich Drepper <drepper@gmail.com>
15034
bb3129bd
UD
15035 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15036
0275fff8
UD
15037 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15038 prediction.
15039 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15040
2fa2ae85
UD
15041 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15042 Remove unused variable magic_bits.
15043 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15044
fc2ee42a
LD
15045 * string/strnlen.c: Define and use STRNLEN macro.
15046 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15047 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15048 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15049 * wcsmbs/wcslen.c: Define and use WCSLEN.
15050 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15051 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15052 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15053 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15054 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15055 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15056 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15057
ce7dd29f
LD
150582011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15059
15060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15061 strnlen-sse2-no-bsf.
15062 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15063 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15064 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15065 Add strnlen support.
15066 (USE_AS_STRNLEN): New macro.
15067 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15068 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15069 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15070 * sysdeps/x86_64/wcslen.S: New file.
15071
979c70a3
MZ
150722011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15073
15074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15075 XMM-moves are used for copying on small sizes.
15076
2d09f82f
LD
150772011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15078
15079 * wcsmbs/Makefile (strop-tests): Add wcschr.
15080 * wcsmbs/test-wcschr.c: New file.
15081 * string/test-strchr.c: Update.
15082 Add wcschr support.
15083 (WIDE): New macro.
15084
619fccca
LD
150852011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15086
2d09f82f 15087 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
15088 * wcsmbs/test-wcslen.c: New file.
15089 * string/test-strlen.c: Update.
15090 Add wcslen support.
15091 (WIDE): New macro.
15092
09f699ea
UD
150932011-10-23 Ulrich Drepper <drepper@gmail.com>
15094
15095 * po/it.po: Update from translation team.
15096
95584d3b
LD
150972011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15098
15099 * sysdeps/x86_64/wcscmp.S: Update.
15100 Fix wrong comparison semantics.
15101 wcscmp shall use signed comparison not unsigned.
15102 Don't use substraction to avoid overflow bug.
15103 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15104 * wcsmbc/wcscmp.c: Likewise.
15105 * string/test-strcmp.c: Likewise.
15106 Add new tests to check cases with negative values.
15107
c8b3296b
UD
151082011-10-23 Ulrich Drepper <drepper@gmail.com>
15109
15110 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15111 * sysdeps/x86_64/dla.h: ...here. New file.
15112 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15113 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15114 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15115 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15117 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15118 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15119 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15120 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15121
246ad57a
AS
151222011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15123
15124 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15125 __ynl_finite aliases.
15126
a1a87169
UD
151272011-10-22 Ulrich Drepper <drepper@gmail.com>
15128
0d355eb7
UD
15129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15130
a1a87169
UD
15131 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15132 define DLA_FMA.
15133 [DLA_FMA] (EMULV): Use DLA_FMA.
15134 [DLA_FMA] (MUL12): Use EMULV.
15135 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15136 that are not needed.
15137 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15138 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15139 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15140 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15141 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15142 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15143 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15144
ee2aafe0
AS
151452011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15146
15147 * math/s_nan.c: Undef __nan.
15148 * math/s_nanf.c: Undef __nanf.
15149 * math/s_nanl.c: Undef __nanl.
15150 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15151 "math_private.h".
15152
bc62c2fb
UD
151532011-10-22 Ulrich Drepper <drepper@gmail.com>
15154
77425c63
UD
15155 * math/s_catan.c: Add branch predictions.
15156 * math/s_catanf.c: Likewise.
15157 * math/s_catanh.c: Likewise.
15158 * math/s_catanhf.c: Likewise.
15159 * math/s_catanhl.c: Likewise.
15160 * math/s_catanl.c: Likewise.
15161 * math/s_cexp.c: Likewise.
15162 * math/s_cexpf.c: Likewise.
15163 * math/s_cexpl.c: Likewise.
15164 * math/s_clog.c: Likewise.
15165 * math/s_clog10.c: Likewise.
15166 * math/s_clog10f.c: Likewise.
15167 * math/s_clog10l.c: Likewise.
15168 * math/s_clogf.c: Likewise.
15169 * math/s_clogl.c: Likewise.
15170 * math/s_csqrt.c: Likewise.
15171 * math/s_csqrtf.c: Likewise.
15172 * math/s_csqrtl.c: Likewise.
15173 * math/s_ctanf.c: Likewise.
15174 * math/s_ctanh.c: Likewise.
15175 * math/s_ctanhf.c: Likewise.
15176 * math/s_ctanhl.c: Likewise.
15177 * math/s_ctanl.c: Likewise.
15178
bc62c2fb
UD
15179 * math/math_private.h: Define __nan, __nanf, __nanl.
15180 * math/s_cacosh.c: Include <math_private.h>.
15181 * math/s_cacoshl.c: Likewise.
15182 * math/s_casinh.c: Likewise.
15183 * math/s_casinhf.c: Likewise.
15184 * math/s_casinhl.c: Likewise.
15185 * math/s_ccos.c: Rely entire on ccosh.
15186 * math/s_ccosf.c: Rely entire on ccoshf.
15187 * math/s_ccosl.c: Rely entirely on ccoshl.
15188 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15189 Remove tests for FE_INVALID.
15190 * math/s_ccoshf.c: Likewise.
15191 * math/s_ccoshl.c: Likewise.
15192 * math/s_csin.c: Likewise.
15193 * math/s_csinf.c: Likewise.
15194 * math/s_csinh.c Likewise.
15195 * math/s_csinhf.c: Likewise.
15196 * math/s_csinhl.c: Likewise.
15197 * math/s_csinl.c: Likewise.
15198 * math/s_ctan.c: Likewise.
15199 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15200 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15201 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15202
8ec250a4
UD
152032011-10-21 Ulrich Drepper <drepper@gmail.com>
15204
c196fed8
UD
15205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15206 compilation problems.
15207
8ec250a4
UD
15208 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15209 __builtin_expect.
15210
8d4f46c6
UD
152112011-10-20 Ulrich Drepper <drepper@gmail.com>
15212
ed72b654
UD
15213 * sysdeps/i386/configure.in: Test for -mfma4 option.
15214 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15215 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15216 COMMON_CPUID_INDEX_80000001.
15217 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15218 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15219 use it if FMA3 is not supported.
15220 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15221
8d4f46c6
UD
15222 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15223 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15224
d45c60c2
AS
152252011-10-20 Andreas Schwab <schwab@redhat.com>
15226
15227 [BZ #12892]
15228 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15229 it would create a cycle with a link time dependency.
15230
d9a4d2ab
UD
152312011-10-19 Ulrich Drepper <drepper@gmail.com>
15232
855d1560
UD
15233 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15234 instruction.
15235 * string/Makefile (strop-tests): Add rawmemchr.
15236 * string/test-rawmemchr.c: New file.
15237
d9a4d2ab
UD
15238 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15239 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15240 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15241 when compiling str{,n}casecmp and when AVX is available. Hook up
15242 new optimized code in initializers.
15243
8f3b1ffe
AS
152442011-10-19 Andreas Schwab <schwab@redhat.com>
15245
15246 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15247 __feraiseexcept instead of feraiseexcept.
15248
d38f1dba
UD
152492011-10-18 Ulrich Drepper <drepper@gmail.com>
15250
d9a8d0ab
UD
15251 * math/math_private.h: Define defaults for libc_fetestexcept and
15252 libc_feupdateenv.
15253 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15254 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15255 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15256 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15257 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15258 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15259 libc_fetestexcept and libc_feupdateenv.
15260
4855e3dd
UD
15261 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15262 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15263 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15264 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15265 libc_feholdexcept_setround.
15266
581d30e3
UD
15267 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15268 Add s_nearbyint-c and s_nearbyintf-c.
15269 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15270 nearbyintf inlines.
15271 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15272 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15273 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15274 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15275
d38f1dba
UD
15276 * math/math_private.h: Define defaults for libc_fegetround,
15277 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15278 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15279 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15280 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15281 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15282 standard functions.
15283 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15284 Remove comments and hacks for old compiler versions.
15285 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15286 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15287 libc_feholdexceptl.
15288
caa6c9d8
AS
152892011-10-18 Andreas Schwab <schwab@redhat.com>
15290
15291 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15292 (__feraiseexcept_renamed): Add __NTH.
15293 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15294 namespace violations.
15295
97c066e6
UD
152962011-10-17 Ulrich Drepper <drepper@gmail.com>
15297
99ce7b04
UD
15298 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15299
1004d182
UD
15300 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15301
228a984d
UD
15302 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15303 recently added interfaces.
15304 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15305
c8553a6a
UD
15306 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15307 about macro parameter expansion.
15308
ed22dcf6
UD
15309 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15310 __NO_MATH_INLINES is defined. Cleanups.
15311
15312 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15313 and __floorf is target has SSE4.1.
15314 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15315 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15316 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15317 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15318
b171c137
UD
15319 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15320 name.
15321 (floorf): Likewise.
15322
97c066e6
UD
15323 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15324
629f62ef
AS
153252011-10-17 Andreas Schwab <schwab@redhat.com>
15326
49a43d80
AS
15327 * misc/sys/cdefs.h: Fix last change.
15328
629f62ef
AS
15329 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15330 database lookup.
15331
e453f6cd
UD
153322011-10-16 Ulrich Drepper <drepper@gmail.com>
15333
aa78043a
UD
15334 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15335
ad0f5cad
UD
15336 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15337 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15342 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15343 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15344 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15345 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15346 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15347 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15348 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15349 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15350 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15351 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15352 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15353 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15354 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15355 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15356 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15357 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15358
15359 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15360 ceil, ceilf, floor, floorf.
15361
15362 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15363 Perform IRELATIVE relocations last.
15364
e453f6cd
UD
15365 * elf/do-rel.h: Add another parameter nrelative, replacing the
15366 local variable with the same name. Change name of the function
15367 to end in Rel or Rela (uppercase).
15368 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15369 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15370 elf_dynamic_do_##reloc function.
15371
fd5bdc09
UD
153722011-10-15 Ulrich Drepper <drepper@gmail.com>
15373
79b195b5
UD
15374 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15375 is sufficient, at least on modern CPUs.
15376
d4a28569
UD
15377 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15378
b61099b5
UD
15379 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15380 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15381
bcf01e6d
UD
15382 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15383 __expl_finite.
15384 * math/bits/math-finite.h: Add entries for exp.
15385 * math/e_expl.c: Add __*_finite alias.
15386 * sysdeps/i386/fpu/e_exp.S: Likewise.
15387 * sysdeps/i386/fpu/e_expf.S: Likewise.
15388 * sysdeps/i386/fpu/e_expl.c: Likewise.
15389 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15390 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15391 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15393 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15394 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15395 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15396
ba1a0d59
UD
15397 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15398 is sufficient, at least on modern CPUs.
15399
fd5bdc09
UD
15400 * ctype/ctype-info.c (__ctype_init): Define.
15401 * include/ctype.h (__ctype_init): Declare.
15402 (__ctype_b_loc): The variable is always initialized.
15403 (__ctype_toupper_loc): Likewise.
15404 (__ctype_tolower_loc): Likewise.
15405 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15406 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15407
7872cfb0
AS
154082011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15409
b468825a
AS
15410 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15411
7872cfb0
AS
15412 * configure.in: Also look in $cxxmachine/include for C++ system
15413 headers.
15414
be13f7bf
LD
154152011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15416
15417 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15418 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15419 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15420 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15421 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15422 (USE_AS_WMEMCMP): New macro.
15423 Fixing indents.
15424 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15425 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15426 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15427 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15429 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15430 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15431 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15432 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15433 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15434 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15435 (USE_AS_WMEMCMP): New macro.
15436 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15437 * sysdeps/string/test-memcmp.c: Update.
15438 Fix simple_wmemcmp.
15439 Add new tests.
15440 * wcsmbs/wmemcmp.c: Update.
15441 (WMEMCMP): New macro.
15442 Fix overflow bug.
15443
556a2007
AJ
154442011-10-12 Andreas Jaeger <aj@suse.de>
15445
15446 [BZ #13268]
15447 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15448
538faaa7
UD
154492011-10-15 Ulrich Drepper <drepper@gmail.com>
15450
ab6737ff
UD
15451 * libio/iofwide.c (do_length): Avoid warning.
15452
538faaa7
UD
15453 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15454
396a21b1
UD
154552011-10-14 Ulrich Drepper <drepper@gmail.com>
15456
cdf2901f
UD
15457 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15458
38ad40ce
UD
15459 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15460 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15461 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15462 * sysdeps/i386/i686/fpu/e_log.S: New file.
15463 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15464 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15465
396a21b1
UD
15466 * ctype/ctype.h: Add support for inlined isXXX functions when
15467 compiling C++ code.
15468
6b1f68c9
AS
154692011-10-14 Andreas Schwab <schwab@redhat.com>
15470
349290c0
AS
15471 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15472
6b1f68c9
AS
15473 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15474
f2282d42
RM
154752011-10-13 Roland McGrath <roland@hack.frob.com>
15476
15477 [BZ #13291]
15478 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15479
5298ffa8
AS
154802011-10-13 Andreas Schwab <schwab@redhat.com>
15481
714fad23
AS
15482 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15483 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15484 feraiseexcept.
15485
81dcc7fb
AS
15486 * sysdeps/x86_64/memrchr.S: Check for zero size.
15487
5298ffa8
AS
15488 * string/stratcliff.c: Add memrchr tests.
15489
951fbcec
LD
154902011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15491
15492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15493 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15494 rawmemchr-sse2 rawmemchr-sse2-bsf.
15495 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15496 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15497 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15498 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15499 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15500 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15501 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15502 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15503 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15504 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15505 * string/memrchr.c (MEMRCHR): New macro.
15506
0ac5ae23
UD
155072011-10-12 Ulrich Drepper <drepper@gmail.com>
15508
15509 Add integration with gcc's -ffinite-math-only and optimize wrapper
15510 functions in libm.
15511 * Versions.def: Define GLIBC_2.15 version for libm.
15512 * math/Makefile (headers): Add bits/math-finite.h.
15513 * math/bits/math-finite.h: New file.
15514 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15515 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15516 * math/e_acoshl.c: Add __*_finite alias.
15517 * math/e_acosl.c: Likewise.
15518 * math/e_asinl.c: Likewise.
15519 * math/e_atan2l.c: Likewise.
15520 * math/e_atanhl.c: Likewise.
15521 * math/e_coshl.c: Likewise.
15522 * math/e_exp10.c: Likewise.
15523 * math/e_exp10f.c: Likewise.
15524 * math/e_exp10l.c: Likewise.
15525 * math/e_exp2l.c: Likewise.
15526 * math/e_fmodl.c: Likewise.
15527 * math/e_gammal_r.c: Likewise.
15528 * math/e_hypotl.c: Likewise.
15529 * math/e_j0l.c: Likewise.
15530 * math/e_j1l.c: Likewise.
15531 * math/e_jnl.c: Likewise.
15532 * math/e_lgammal_r.c: Likewise.
15533 * math/e_log10l.c: Likewise.
15534 * math/e_log2l.c: Likewise.
15535 * math/e_logl.c: Likewise.
15536 * math/e_powl.c: Likewise.
15537 * math/e_sinhl.c: Likewise.
15538 * math/e_sqrtl.c: Likewise.
15539 * math/e_scalb.c: Completely rewritten and optimized.
15540 * math/e_scalbf.c: Likewise.
15541 * math/e_scalbl.c: Likewise.
15542 * math/w_acos.c: Likewise.
15543 * math/w_acosf.c: Likewise.
15544 * math/w_acosl.c: Likewise.
15545 * math/w_acosh.c: Likewise.
15546 * math/w_acoshf.c: Likewise.
15547 * math/w_acoshl.c: Likewise.
15548 * math/w_asin.c: Likewise.
15549 * math/w_asinf.c: Likewise.
15550 * math/w_asinl.c: Likewise.
15551 * math/w_atan2.c: Likewise.
15552 * math/w_atan2f.c: Likewise.
15553 * math/w_atan2l.c: Likewise.
15554 * math/w_atanh.c: Likewise.
15555 * math/w_atanhf.c: Likewise.
15556 * math/w_atanhl.c: Likewise.
15557 * math/w_exp10.c: Likewise.
15558 * math/w_exp10f.c: Likewise.
15559 * math/w_exp10l.c: Likewise.
15560 * math/w_fmod.c: Likewise.
15561 * math/w_fmodf.c: Likewise.
15562 * math/w_fmodl.c: Likewise.
15563 * math/w_j0.c: Likewise.
15564 * math/w_j0f.c: Likewise.
15565 * math/w_j0l.c: Likewise.
15566 * math/w_j1.c: Likewise.
15567 * math/w_j1f.c: Likewise.
15568 * math/w_j1l.c: Likewise.
15569 * math/w_jn.c: Likewise.
15570 * math/w_jnf.c: Likewise.
15571 * math/w_log.c: Likewise.
15572 * math/w_logf.c: Likewise.
15573 * math/w_logl.c: Likewise.
15574 * math/w_log10.c: Likewise.
15575 * math/w_log10f.c: Likewise.
15576 * math/w_log10l.c: Likewise.
15577 * math/w_log2.c: Likewise.
15578 * math/w_log2f.c: Likewise.
15579 * math/w_log2l.c: Likewise.
15580 * math/w_pow.c: Likewise.
15581 * math/w_powf.c: Likewise.
15582 * math/w_powl.c: Likewise.
15583 * math/w_remainder.c: Likewise.
15584 * math/w_remainderf.c: Likewise.
15585 * math/w_remainderl.c: Likewise.
15586 * math/w_scalb.c: Likewise.
15587 * math/w_scalbf.c: Likewise.
15588 * math/w_scalbl.c: Likewise.
15589 * math/w_sqrt.c: Likewise.
15590 * math/w_sqrtf.c: Likewise.
15591 * math/w_sqrtl.c: Likewise.
15592 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15593 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15594 used.
15595 * math/math_private.h: Declare __kernel_standard_f.
15596 * math/w_cosh.c: Remove cruft and optimize a bit.
15597 * math/w_coshf.c: Likewise.
15598 * math/w_coshl.c: Likewise.
15599 * math/w_exp2.c: Likewise.
15600 * math/w_exp2f.c: Likewise.
15601 * math/w_exp2l.c: Likewise.
15602 * math/w_hypot.c: Likewise.
15603 * math/w_hypotf.c: Likewise.
15604 * math/w_hypotl.c: Likewise.
15605 * math/w_lgamma.c: Likewise.
15606 * math/w_lgamma_r.c: Likewise.
15607 * math/w_lgammaf.c: Likewise.
15608 * math/w_lgammaf_r.c: Likewise.
15609 * math/w_lgammal.c: Likewise.
15610 * math/w_lgammal_r.c: Likewise.
15611 * math/w_sinh.c: Likewise.
15612 * math/w_sinhf.c: Likewise.
15613 * math/w_sinhl.c: Likewise.
15614 * math/w_tgamma.c: Likewise.
15615 * math/w_tgammaf.c: Likewise.
15616 * math/w_tgammal.c: Likewise.
15617 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15618 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15619 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15620 Minor optimizations. Pretty printing. Remove cruft.
15621 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15622 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15623 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15624 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15625 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15626 * sysdeps/i386/fpu/e_asin.S: Likewise.
15627 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15628 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15629 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15630 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15631 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15632 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15633 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15634 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15635 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15636 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15637 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15638 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15639 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15640 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15641 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15642 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15643 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15644 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15645 * sysdeps/i386/fpu/e_log.S: Likewise.
15646 * sysdeps/i386/fpu/e_log10.S: Likewise.
15647 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15648 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15649 * sysdeps/i386/fpu/e_log2.S: Likewise.
15650 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15651 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15652 * sysdeps/i386/fpu/e_logf.S: Likewise.
15653 * sysdeps/i386/fpu/e_logl.S: Likewise.
15654 * sysdeps/i386/fpu/e_pow.S: Likewise.
15655 * sysdeps/i386/fpu/e_powf.S: Likewise.
15656 * sysdeps/i386/fpu/e_powl.S: Likewise.
15657 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15658 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15659 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15660 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15661 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15662 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15663 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15664 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15665 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15666 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15667 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15669 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15670 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15671 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15672 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15673 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15674 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15675 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15676 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15677 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15679 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15680 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15681 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15682 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15683 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15684 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15686 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15687 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15688 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15689 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15690 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15691 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15692 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15693 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15694 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15695 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15696 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15697 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15698 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15699 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15700 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15701 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15702 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15703 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15704 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15705 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15706 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15707 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15708 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15709 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15711 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15712 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15718 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15719 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15720 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15723 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15732 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15738 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15746 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15749 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15751 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15752 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15754 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15757 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15758 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15759 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15760 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15761 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15762 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15763 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15764 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15765 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15766 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15767 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15768 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15769 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15770 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15771 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15772 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15773 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15774 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15775 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15776 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15777 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15778 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15779 (__isnanf): Likewise.
15780 (__isinf_ns): Likewise.
15781 (__isinf_nsf): Likewise.
15782 (__finite): Likewise.
15783 (__finitef): Likewise.
15784 (__ieee754_sqrt): Define as macro.
15785 (__ieee754_sqrtf): Define as macro.
15786 (__ieee754_sqrtl): Define as macro.
15787 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15788 inlined copy.
15789 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15790 __FINITE_MATH_ONLY__ consistent.
15791 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15792
12cc2fcd
AS
157932011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15794
a843a204
AS
15795 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15796 of rawmemchr.
15797
12cc2fcd
AS
15798 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15799
c853acd5
UD
158002011-10-09 Ulrich Drepper <drepper@gmail.com>
15801
15802 * po/ja.po: Update from translation team.
15803
c658d255
RM
158042011-10-08 Roland McGrath <roland@hack.frob.com>
15805
110946e4
RM
15806 * locale/programs/locarchive.c (prepare_address_space): New function.
15807 (create_archive, enlarge_archive, open_archive): Use it.
15808
50604220
RM
15809 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15810 inside [SHARED], where it is used.
15811
c658d255
RM
15812 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15813
15814 * nss/getent.c (netgroup_keys): Remove unused variable.
15815 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15816
6a621eb7
UD
158172011-10-08 Ulrich Drepper <drepper@gmail.com>
15818
7edb55ce
UD
15819 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15820 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15821 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15822 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15823 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15824 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15825 * math/Makefile (libm-calls): Add s_isinf_ns.
15826 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15827 * math/multc3.c: Likewise.
15828 * math/s_casin.c: Likewise.
15829 * math/s_casinf.c: Likewise.
15830 * math/s_casinl.c: Likewise.
15831 * math/s_ccos.c: Likewise.
15832 * math/s_ccosf.c: Likewise.
15833 * math/s_ccosl.c: Likewise.
15834 * math/s_ctan.c: Likewise.
15835 * math/s_ctanf.c: Likewise.
15836 * math/s_ctanh.c: Likewise.
15837 * math/s_ctanhf.c: Likewise.
15838 * math/s_ctanhl.c: Likewise.
15839 * math/s_ctanl.c: Likewise.
15840 * math/w_fmod.c: Likewise.
15841 * math/w_fmodf.c: Likewise.
15842 * math/w_fmodl.c: Likewise.
15843 * math/w_remainder.c: Likewise.
15844 * math/w_remainderf.c: Likewise.
15845 * math/w_remainderl.c: Likewise.
15846 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15847 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15848 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15849 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15850 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15851 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15852 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15853 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15854
187da0ae
UD
15855 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15856 of the number.
15857 * stdio-common/printf_fphex.c: Likewise.
15858 * stdio-common/printf_size.c: Likewise.
15859
9277c064
UD
15860 * math/e_exp10.c: Include math_private.h using <...> not "...".
15861 * math/e_exp10f.c: Likewise.
15862 * math/e_exp10l.c: Likewise.
15863 * math/e_exp2l.c: Likewise.
15864 * math/e_j0l.c: Likewise.
15865 * math/e_j1l.c: Likewise.
15866 * math/e_jnl.c: Likewise.
15867 * math/e_lgammal_r.c: Likewise.
15868 * math/e_rem_pio2l.c: Likewise.
15869 * math/e_scalb.c: Likewise.
15870 * math/e_scalbf.c: Likewise.
15871 * math/e_scalbl.c: Likewise.
15872 * math/k_cosl.c: Likewise.
15873 * math/k_sinl.c: Likewise.
15874 * math/k_tanl.c: Likewise.
15875 * math/s_cacoshf.c: Likewise.
15876 * math/s_catan.c: Likewise.
15877 * math/s_catanf.c: Likewise.
15878 * math/s_catanh.c: Likewise.
15879 * math/s_catanhf.c: Likewise.
15880 * math/s_catanhl.c: Likewise.
15881 * math/s_catanl.c: Likewise.
15882 * math/s_ccosh.c: Likewise.
15883 * math/s_ccoshf.c: Likewise.
15884 * math/s_ccoshl.c: Likewise.
15885 * math/s_cexp.c: Likewise.
15886 * math/s_cexpf.c: Likewise.
15887 * math/s_cexpl.c: Likewise.
15888 * math/s_clog.c: Likewise.
15889 * math/s_clog10.c: Likewise.
15890 * math/s_clog10f.c: Likewise.
15891 * math/s_clog10l.c: Likewise.
15892 * math/s_clogf.c: Likewise.
15893 * math/s_clogl.c: Likewise.
15894 * math/s_csin.c: Likewise.
15895 * math/s_csinf.c: Likewise.
15896 * math/s_csinh.c: Likewise.
15897 * math/s_csinhf.c: Likewise.
15898 * math/s_csinhl.c: Likewise.
15899 * math/s_csinl.c: Likewise.
15900 * math/s_csqrt.c: Likewise.
15901 * math/s_csqrtf.c: Likewise.
15902 * math/s_csqrtl.c: Likewise.
15903 * math/s_ctan.c: Likewise.
15904 * math/s_ctanf.c: Likewise.
15905 * math/s_ctanh.c: Likewise.
15906 * math/s_ctanhf.c: Likewise.
15907 * math/s_ctanhl.c: Likewise.
15908 * math/s_ctanl.c: Likewise.
15909 * math/s_ldexp.c: Likewise.
15910 * math/s_ldexpf.c: Likewise.
15911 * math/s_ldexpl.c: Likewise.
15912 * math/s_significand.c: Likewise.
15913 * math/s_significandf.c: Likewise.
15914 * math/s_significandl.c: Likewise.
15915 * math/w_acos.c: Likewise.
15916 * math/w_acosf.c: Likewise.
15917 * math/w_acosh.c: Likewise.
15918 * math/w_acoshf.c: Likewise.
15919 * math/w_acoshl.c: Likewise.
15920 * math/w_acosl.c: Likewise.
15921 * math/w_asin.c: Likewise.
15922 * math/w_asinf.c: Likewise.
15923 * math/w_asinl.c: Likewise.
15924 * math/w_atan2.c: Likewise.
15925 * math/w_atan2f.c: Likewise.
15926 * math/w_atan2l.c: Likewise.
15927 * math/w_atanh.c: Likewise.
15928 * math/w_atanhf.c: Likewise.
15929 * math/w_atanhl.c: Likewise.
15930 * math/w_cosh.c: Likewise.
15931 * math/w_coshf.c: Likewise.
15932 * math/w_coshl.c: Likewise.
15933 * math/w_dremf.c: Likewise.
15934 * math/w_exp10.c: Likewise.
15935 * math/w_exp10f.c: Likewise.
15936 * math/w_exp10l.c: Likewise.
15937 * math/w_exp2.c: Likewise.
15938 * math/w_exp2f.c: Likewise.
15939 * math/w_fmod.c: Likewise.
15940 * math/w_fmodf.c: Likewise.
15941 * math/w_fmodl.c: Likewise.
15942 * math/w_hypot.c: Likewise.
15943 * math/w_hypotf.c: Likewise.
15944 * math/w_hypotl.c: Likewise.
15945 * math/w_j0.c: Likewise.
15946 * math/w_j0f.c: Likewise.
15947 * math/w_j0l.c: Likewise.
15948 * math/w_j1.c: Likewise.
15949 * math/w_j1f.c: Likewise.
15950 * math/w_j1l.c: Likewise.
15951 * math/w_jn.c: Likewise.
15952 * math/w_jnf.c: Likewise.
15953 * math/w_jnl.c: Likewise.
15954 * math/w_lgamma.c: Likewise.
15955 * math/w_lgamma_r.c: Likewise.
15956 * math/w_lgammaf.c: Likewise.
15957 * math/w_lgammaf_r.c: Likewise.
15958 * math/w_lgammal.c: Likewise.
15959 * math/w_lgammal_r.c: Likewise.
15960 * math/w_log.c: Likewise.
15961 * math/w_log10.c: Likewise.
15962 * math/w_log10f.c: Likewise.
15963 * math/w_log10l.c: Likewise.
15964 * math/w_log2.c: Likewise.
15965 * math/w_log2f.c: Likewise.
15966 * math/w_log2l.c: Likewise.
15967 * math/w_logf.c: Likewise.
15968 * math/w_logl.c: Likewise.
15969 * math/w_pow.c: Likewise.
15970 * math/w_powf.c: Likewise.
15971 * math/w_powl.c: Likewise.
15972 * math/w_remainder.c: Likewise.
15973 * math/w_remainderf.c: Likewise.
15974 * math/w_remainderl.c: Likewise.
15975 * math/w_scalb.c: Likewise.
15976 * math/w_scalbf.c: Likewise.
15977 * math/w_scalbl.c: Likewise.
15978 * math/w_sinh.c: Likewise.
15979 * math/w_sinhf.c: Likewise.
15980 * math/w_sinhl.c: Likewise.
15981 * math/w_sqrt.c: Likewise.
15982 * math/w_sqrtf.c: Likewise.
15983 * math/w_sqrtl.c: Likewise.
15984 * math/w_tgamma.c: Likewise.
15985 * math/w_tgammaf.c: Likewise.
15986 * math/w_tgammal.c: Likewise.
15987
6a621eb7
UD
15988 * po/ja.po: Update from translation team.
15989
bf582445
AJ
159902011-09-29 Andreas Jaeger <aj@suse.de>
15991
f9efbf3a
AJ
15992 [BZ #13179]
15993 * sunrpc/netname.c (netname2host): Fix logic.
15994
bf582445
AJ
15995 [BZ #6779]
15996 [BZ #6783]
15997 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15998 correctly.
15999 * math/w_remainder.c (__remainder): Likewise.
16000 * math/w_remainderf.c (__remainderf): Likewise.
16001 * math/libm-test.inc (remainder_test): Add test cases.
16002
48693bea
AK
160032011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16004
16005 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16006 sdiv_qrnnd.
16007
42622229
LD
160082011-10-07 Ulrich Drepper <drepper@gmail.com>
16009
16010 * string/test-memcmp.c: Avoid unncessary #defines.
16011 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16012
093ecf92
LD
160132011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16014
16015 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16016 Use new sse2 version for core i3 - i7 as it's faster
16017 than sse42 version.
16018 (bit_Prefer_PMINUB_for_stringop): New.
16019 * sysdeps/x86_64/rawmemchr.S: Update.
16020 Replace with faster SSE2 version.
16021 * sysdeps/x86_64/memrchr.S: New file.
16022 * sysdeps/x86_64/memchr.S: Update.
16023 Replace with faster SSE2 version.
16024
fde56e5c
MP
160252011-09-12 Marek Polacek <mpolacek@redhat.com>
16026
16027 * elf/dl-load.c (lose): Add cast to avoid warning.
16028
21fd49a9
UD
160292011-10-07 Ulrich Drepper <drepper@gmail.com>
16030
5a06e643
UD
16031 * po/ca.po: Update from translation team.
16032
684ae515
UD
16033 * inet/getnetgrent_r.c: Hook up nscd.
16034 * nscd/Makefile (routines): Add nscd_netgroup.
16035 (nscd-modules): Add netgroupcache.
16036 (CFLAGS-netgroupcache.c): Define.
16037 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16038 (cache_search): Add const to second parameter.
16039 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16040 INNETGR.
16041 (dbs): Add netgrdb entry.
16042 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16043 (verify_persistent_db): Handle netgrdb.
16044 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16045 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16046 GETFDNETGR.
16047 (netgroup_response_header): Define.
16048 (innetgroup_response_header): Define.
16049 (datahead): Add netgroup_response_header and innetgroup_response_header
16050 elements.
16051 * nscd/nscd.conf: Add entries for netgroup cache.
16052 * nscd/nscd.h (dbtype): Add netgrdb.
16053 (_PATH_NSCD_NETGROUP_DB): Define.
16054 (netgroup_iov_disabled): Declare.
16055 (xmalloc, xcalloc, xrealloc): Move declarations here.
16056 (cache_search): Adjust prototype.
16057 Add netgroup-related prototypes.
16058 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16059 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16060 (__nscd_innetgr): Declare.
16061 * nscd/selinux.c (perms): Use access_vector_t as element type and
16062 add netgroup-related initializers.
16063 * nscd/netgroupcache.c: New file.
16064 * nscd/nscd_netgroup.c: New file.
16065 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16066 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16067 For four parameters use innetgr.
16068 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16069 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16070 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16071 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16072
21fd49a9
UD
16073 * nscd/connections.c (register_traced_file): Don't register file
16074 for disabled databases.
16075
054c0457
UD
160762011-10-06 Ulrich Drepper <drepper@gmail.com>
16077
32b63198
UD
16078 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16079
054c0457
UD
16080 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16081 from tree and freeing node.
16082
64031225
JO
160832011-09-25 Jiri Olsa <jolsa@redhat.com>
16084
16085 * nss/nsswitch.c (__nss_database_lookup): Handle
16086 nss_parse_service_list out of memory case.
16087
0490345c
JO
160882011-09-15 Jiri Olsa <jolsa@redhat.com>
16089
16090 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16091 out of memory case.
16092
3a62d00d
AS
160932011-10-04 Andreas Schwab <schwab@redhat.com>
16094
16095 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16096 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16097 pass it down.
16098 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16099 elf_machine_rela, elf_machine_lazy_rel.
16100 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16101 (ELF_DYNAMIC_DO_REL): Likewise.
16102 (ELF_DYNAMIC_DO_RELA): Likewise.
16103 (ELF_DYNAMIC_RELOCATE): Likewise.
16104 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16105 to ELF_DYNAMIC_DO_REL.
16106 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16107 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16108 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16109 elf_machine_rela.
16110 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16111 skip_ifunc, don't call ifunc function if non-zero.
16112 (elf_machine_rela): Likewise.
16113 (elf_machine_lazy_rel): Likewise.
16114 (elf_machine_lazy_rela): Likewise.
16115 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16116 (elf_machine_lazy_rel): Likewise.
16117 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16118 Likewise.
16119 (elf_machine_lazy_rel): Likewise.
16120 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16121 Likewise.
16122 (elf_machine_lazy_rel): Likewise.
16123 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16124 (elf_machine_lazy_rel): Likewise.
16125 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16126 (elf_machine_lazy_rel): Likewise.
16127 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16128 (elf_machine_lazy_rel): Likewise.
16129 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16130 (elf_machine_lazy_rel): Likewise.
16131 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16132 (elf_machine_lazy_rel): Likewise.
16133 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16134 (elf_machine_lazy_rel): Likewise.
16135
68577918
UD
161362011-09-28 Ulrich Drepper <drepper@gmail.com>
16137
16138 * nss/nss_files/files-init.c (_nss_files_init): Use static
16139 initialization for all the *_traced_file variables.
16140
68822d74
AS
161412011-09-28 Andreas Schwab <schwab@redhat.com>
16142
16143 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16144
2056100b
RM
161452011-09-27 Roland McGrath <roland@hack.frob.com>
16146
16147 [BZ #13226]
16148 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16149
32c76b63
AS
161502011-09-27 Andreas Schwab <schwab@redhat.com>
16151
16152 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16153 Reread the line before reparsing it.
16154
bf972c9d
AS
161552011-09-26 Andreas Schwab <schwab@redhat.com>
16156
16157 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16158
e057a1b5
JM
161592011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16160 Maxim Kuvyrkov <maxim@codesourcery.com>
16161 Joseph Myers <joseph@codesourcery.com>
16162
16163 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16164 if needed for __stack_chk_guard.
16165
bc7e1c36
RM
161662011-09-19 Roland McGrath <roland@hack.frob.com>
16167
ecb1482f
RM
16168 * sysdeps/posix/spawni.c (script_execute): Always define it.
16169 It will be optimized away if unused.
16170 (maybe_script_execute): New function.
16171 (__spawni): Call it.
16172
bc7e1c36
RM
16173 * Makerules: Don't include tls.make.
16174 (config-tls): Always set to thread.
16175 * tls.make.c: File removed.
16176
1c3b002b
MF
161772011-09-19 Mike Frysinger <vapier@gentoo.org>
16178
16179 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16180 * config.make.in (CPPFLAGS-config): New substituted variable.
16181
2840865d
UD
161822011-09-15 Ulrich Drepper <drepper@gmail.com>
16183
88738eb6
UD
16184 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16185
cbf645a6 16186 [BZ #13192]
2840865d
UD
16187 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16188 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16189
b402e91a
RM
161902011-09-15 Roland McGrath <roland@hack.frob.com>
16191
16192 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16193 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16194 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16195 (CALL_FAIL): Likewise.
16196 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16197 (CALL_FAIL): Macro removed.
16198 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16199
4c1a1f71
UD
162002011-09-15 Ulrich Drepper <drepper@gmail.com>
16201
16202 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16203 for __FINITE_MATH_ONLY__ == 1.
16204
edc121be
AS
162052011-09-15 Andreas Schwab <schwab@redhat.com>
16206
16207 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16208 __ieee754_sqrt instead of sqrt.
16209 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16210 __ieee754_sqrtf instead of sqrtf.
16211 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16212 __floorf instead of floorf.
16213 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16214 __floorf, __truncf instead of floorf, truncf.
16215
cd205654
UD
162162011-09-14 Ulrich Drepper <drepper@gmail.com>
16217
ee4d0315
UD
16218 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16219
cd205654
UD
16220 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16221 __extern_always_inline.
16222 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16223 32-bit.
16224
48b67d71
AS
162252011-09-14 Andreas Schwab <schwab@redhat.com>
16226
16227 * elf/rtld.c (dl_main): Also relocate in dependency order when
16228 doing symbol dependency testing.
16229
1ae12c75
AS
162302011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16231
16232 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16233 Always define `refsym'.
16234
995a80df
AS
162352011-09-13 Andreas Schwab <schwab@redhat.com>
16236
e529793b
AS
16237 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16238 (__FD_ELT): Renamed from __FDELT.
16239 * misc/bits/select2.h (__FD_ELT): Likewise.
16240 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16241 __FD_MASK instead of __FDELT, __FDMASK.
16242 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16243 Likewise.
16244 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16245 Likewise.
16246
52d4fef8
AS
16247 * elf/Makefile (gen-ldd): Fix pattern.
16248
995a80df
AS
16249 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16250 (init_tls): Likewise.
16251
8682f8b0
UD
162522011-09-12 Ulrich Drepper <drepper@gmail.com>
16253
16254 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16255
de82006d
AS
162562011-09-12 Andreas Schwab <schwab@redhat.com>
16257
a7c8e6a1
AS
16258 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16259 `struct cmsghdr *' instead of `void *'.
16260 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16261 Likewise.
16262
0f31fe77
AS
162632011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16264
16265 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16266 if non-absolute.
16267 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16268 ldd_rewrite_script.
0f31fe77 16269
32b4c839
UD
162702011-09-11 Ulrich Drepper <drepper@gmail.com>
16271
83cd1420
UD
16272 * configure.in: Remove --with-tls option.
16273 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16274 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16275 out in case it is missing.
16276 * sysdeps/ia64/elf/configure.in: Likewise.
16277 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16278 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16279 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16280 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16281 * sysdeps/sh/elf/configure.in: Likewise.
16282 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16283 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16284 * sysdeps/x86_64/elf/configure.in: Likewise.
16285 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16286 * sysdeps/mach/hurd/tls.h: Likewise.
16287
633f745d
UD
16288 [BZ #13067]
16289 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16290
f318beb8
UD
16291 [BZ #13090]
16292 * configure.in: Fix use of AC_INIT.
16293
32b4c839
UD
16294 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16295
3ce1f295
UD
162962011-09-10 Ulrich Drepper <drepper@gmail.com>
16297
bb016596
UD
16298 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16299 __set_errno.
8e58439c
UD
16300 * malloc/hooks.c: Likewise.
16301
aebae053 16302 [BZ #11929]
02d46fc4
UD
16303 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16304 variables statically.
16305 (narenas): Initialize.
16306 (list_lock): Initialize.
bb016596
UD
16307 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16308 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16309 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16310 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16311 Add initializers to main_arena and mp_.
16312 (malloc_state): Remove pagesize member. Change all users to use
16313 GLRO(dl_pagesize).
16314
16315 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16316 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16317 is always initialized.
16318
22a89187
UD
16319 * malloc/malloc.c: Removed unused configurations and dead code.
16320 * malloc/arena.c: Likewise.
16321 * malloc/hooks.c: Likewise.
02d46fc4 16322 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16323
d063d164
UD
16324 * include/tls.h: Removed. USE___THREAD must always be defined.
16325 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16326 * elf/dl-libc.c: Likewise.
16327 * elf/dl-tsd.c: Likewise.
16328 * include/errno.h: Likewise.
16329 * include/netdb.h: Likewise.
16330 * include/resolv.h: Likewise.
16331 * inet/herrno-loc.c: Likewise.
16332 * inet/herrno.c: Likewise.
16333 * malloc/arena.c: Likewise.
16334 * malloc/hooks.c: Likewise.
16335 * malloc/malloc.c: Likewise.
16336 * resolv/res-state.c: Likewise.
16337 * resolv/res_libc.c: Likewise.
16338 * sysdeps/i386/dl-machine.h: Likewise.
16339 * sysdeps/ia64/dl-machine.h: Likewise.
16340 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16341 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16342 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16343 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16344 * sysdeps/sh/dl-machine.h: Likewise.
16345 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16346 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16347 * sysdeps/unix/i386/sysdep.S: Likewise.
16348 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16349 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16350 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16352 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16353 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16354 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16355 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16356 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16358 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16359 * sysdeps/x86_64/dl-machine.h: Likewise.
16360 * tls.make.c: Likewise.
16361
3ce1f295
UD
16362 * configure.in: Remove --with-__thread option. Make tests for
16363 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16364 tls_model attribute fail if no support is available. Remove
16365 USE_IN_LIBIO.
16366 * Makeconfig: Adjust for dropped configure option. All features are
16367 now mandatory.
16368 * Makerules: Likewise.
16369 * Versions.def: Likewise.
16370 * argp/argp-fmtstream.c: Likewise.
16371 * argp/argp-fmtstream.h: Likewise.
16372 * argp/argp-help.c: Likewise.
16373 * assert/assert.c: Likewise.
16374 * config.h.in: Likewise.
16375 * config.make.in: Likewise.
16376 * configure: Likewise.
16377 * configure.in: Likewise.
16378 * csu/Versions: Likewise.
16379 * csu/init.c: Likewise.
16380 * elf/tst-audit2.c: Likewise.
16381 * elf/tst-tls10.c: Likewise.
16382 * elf/tst-tls10.h: Likewise.
16383 * elf/tst-tls11.c: Likewise.
16384 * elf/tst-tls12.c: Likewise.
16385 * elf/tst-tls14.c: Likewise.
16386 * elf/tst-tlsmod11.c: Likewise.
16387 * elf/tst-tlsmod12.c: Likewise.
16388 * elf/tst-tlsmod13.c: Likewise.
16389 * elf/tst-tlsmod13a.c: Likewise.
16390 * elf/tst-tlsmod14a.c: Likewise.
16391 * elf/tst-tlsmod15b.c: Likewise.
16392 * elf/tst-tlsmod16a.c: Likewise.
16393 * elf/tst-tlsmod16b.c: Likewise.
16394 * elf/tst-tlsmod7.c: Likewise.
16395 * elf/tst-tlsmod8.c: Likewise.
16396 * elf/tst-tlsmod9.c: Likewise.
16397 * gmon/gmon.c: Likewise.
16398 * grp/fgetgrent_r.c: Likewise.
16399 * grp/putgrent.c: Likewise.
16400 * hurd/fopenport.c: Likewise.
16401 * include/libc-symbols.h: Likewise.
16402 * include/tls.h: Likewise.
16403 * intl/gettextP.h: Likewise.
16404 * intl/loadinfo.h: Likewise.
16405 * locale/global-locale.c: Likewise.
16406 * locale/localeinfo.h: Likewise.
16407 * mach/devstream.c: Likewise.
16408 * malloc/arena.c: Likewise.
16409 * malloc/set-freeres.c: Likewise.
16410 * misc/err.c: Likewise.
16411 * misc/getttyent.c: Likewise.
16412 * misc/mntent_r.c: Likewise.
16413 * posix/getopt.c: Likewise.
16414 * posix/wordexp.c: Likewise.
16415 * pwd/fgetpwent_r.c: Likewise.
16416 * resolv/Versions: Likewise.
16417 * resolv/res_hconf.c: Likewise.
16418 * shadow/fgetspent_r.c: Likewise.
16419 * shadow/putspent.c: Likewise.
16420 * stdio-common/printf_fphex.c: Likewise.
16421 * stdio-common/tmpfile.c: Likewise.
16422 * stdlib/abort.c: Likewise.
16423 * stdlib/fmtmsg.c: Likewise.
16424 * sunrpc/auth_unix.c: Likewise.
16425 * sunrpc/clnt_perr.c: Likewise.
16426 * sunrpc/clnt_tcp.c: Likewise.
16427 * sunrpc/clnt_udp.c: Likewise.
16428 * sunrpc/clnt_unix.c: Likewise.
16429 * sunrpc/openchild.c: Likewise.
16430 * sunrpc/svc_simple.c: Likewise.
16431 * sunrpc/svc_tcp.c: Likewise.
16432 * sunrpc/svc_udp.c: Likewise.
16433 * sunrpc/svc_unix.c: Likewise.
16434 * sunrpc/xdr.c: Likewise.
16435 * sunrpc/xdr_array.c: Likewise.
16436 * sunrpc/xdr_rec.c: Likewise.
16437 * sunrpc/xdr_ref.c: Likewise.
16438 * sunrpc/xdr_stdio.c: Likewise.
16439
1248c1c4
PB
164402011-09-09 Ulrich Drepper <drepper@gmail.com>
16441
16442 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16443
164442011-07-03 Andreas Jaeger <aj@suse.de>
16445
16446 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16447 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16448 regenerate with gen-libm-tests.pl.
16449
164502010-05-12 Petr Baudis <pasky@suse.cz>
16451
16452 [BZ #11589]
16453 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16454 around j0() zero points by switching to j1().
16455 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16456 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16457 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16458 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16459
f22e1074
UD
164602011-09-09 Ulrich Drepper <drepper@gmail.com>
16461
f19009c1
UD
16462 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16463 instead of 0.
16464 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16465 instead of 0. .
16466 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16467 Patch in part by Pavel Roskin <proski@gnu.org>.
16468
3f8cc204
UD
16469 [BZ #13138]
16470 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16471 realloc.
16472 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16473 Free memory block if necessary.
16474
f22e1074
UD
16475 [BZ #12847]
16476 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16477 be NULL. Don't lock in this case.
16478
0a2349f9
RM
164792011-09-09 Roland McGrath <roland@hack.frob.com>
16480
16481 * elf/elf.h (ELFOSABI_GNU): New macro.
16482 (ELFOSABI_LINUX): Define to that.
16483
f3cdd467
DZ
164842011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16485
16486 * string/strncat.c (strncat): Undef the symbol in case it has been
16487 defined in bits/string.h.
16488
74718d13
UD
164892011-09-09 Ulrich Drepper <drepper@gmail.com>
16490
633e9e0f
UD
16491 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16492
0a2349f9 16493 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16494 link map.
16495
f9924780
AJ
164962011-08-17 Andreas Jaeger <aj@suse.de>
16497
16498 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16499
7f5517aa
PP
165002011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16501 Ian Lance Taylor <iant@google.com>
16502
16503 * math/libm-test.inc (lround_test): New testcase.
16504 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16505
762011fe
UD
165062011-09-08 Ulrich Drepper <drepper@gmail.com>
16507
92963737
UD
16508 * Makefile: Remove support for automatic cvs check-ins.
16509 * Makerules: Likewise.
16510 * config.make.in: Likewise.
16511 * configure.in: Likewise.
16512 * intl/Makefile: Likewise.
16513 * locale/Makefile: Likewise.
16514 * po/Makefile: Likewise.
16515 * posix/Makefile: Likewise.
16516 * sysdeps/gnu/Makefile: Likewise.
16517 * sysdeps/mach/hurd/Makefile: Likewise.
16518 * sysdeps/sparc/sparc32/Makefile: Likewise.
16519
b0727fd8
JS
16520 [BZ #13118]
16521 * posix/Makefile (bug-regex32-ENV): Define.
16522 Patch by John Stanley <jpsinthemix@verizon.net>.
16523
a0f33f99
UD
16524 * misc/Makefile (headers): Add bits/select2.h.
16525 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16526 * misc/bits/select2.h: New file.
16527 * include/bits/select2.h: New file.
16528 * debug/Makefile (routines): Add fdelt_chk.
16529 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16530 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16531 FD_ISSET.
16532 * debug/fdelt_chk.c: New file.
16533
762011fe
UD
16534 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16535 * wcsmbs/test-wmemcmp.c: Likewise.
16536 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16537 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16538
165392011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16540
16541 * string/Makefile (strop-tests): Add memcmp.
16542 * string/test-wmemcmp.c: New file.
16543 * string/test-memcmp.c: Add wmemcmp support.
16544
7f513ec8
RM
165452011-09-08 Roland McGrath <roland@hack.frob.com>
16546
0442afb4
RM
16547 [BZ #13153]
16548 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16549 2011-07-19 change.
16550
7f513ec8
RM
16551 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16552 garbage value in a __mach_port_mod_refs call in the cases of the
16553 task-self and thread-self ports.
16554
a12b2239
ST
165552011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16556
16557 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16558
610f9ab4
AS
165592011-09-08 Andreas Schwab <schwab@redhat.com>
16560
7f513ec8 16561 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16562
48882a1a
LD
165632011-09-07 Ulrich Drepper <drepper@gmail.com>
16564
b49865be
UD
16565 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16566
fdc86bc9
UD
16567 * elf/dl-libc.c (dlerror_run): Pass back error code from
16568 dl_catch_error.
16569
c966526a
UD
16570 [BZ #13123]
16571 * elf/dl-load.c (lose): Free l_origin if it is valid.
16572
48882a1a
LD
16573 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16574 names.
16575 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16576 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16577 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16578 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16579 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16580 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16581
77a2a8b4
AZ
165822011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16583
16584 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16585 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16586 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16587 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16588 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16589 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16590 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16591 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16592 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16593 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16594
24f579d8
AM
165952011-08-15 Alan Modra <amodra@gmail.com>
16596
16597 [BZ #13092]
16598 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16599 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16600 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16601 ppc_mcount to static-only-routines.
16602 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16603 __mcount_internal.
16604 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16605 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16606
3d4837df
UD
166072011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16608
16609 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16610 for finite and infinity parameters.
16611
22700377
WS
166122011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16613
16614 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16615 and add nop instructions for throughput optimization.
16616 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16617
5025581e
WS
166182011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16619
16620 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16621 aligned copy for power7 with vector-scalar instructions.
16622 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16623
08a300c9
L
166242011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16625
16626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16627 AVX check.
16628
59178ef9
AS
166292011-09-07 Andreas Schwab <schwab@redhat.com>
16630
16631 [BZ #13144]
16632 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16633 last change.
16634
e38ba7ab
UD
166352011-09-07 Ulrich Drepper <drepper@gmail.com>
16636
16637 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16638 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16639 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16640 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16641 clock_gettime.
16642
d53a73ac
UD
166432011-09-06 Ulrich Drepper <drepper@gmail.com>
16644
fc8bffcc
UD
16645 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16646 Forgot to demangle the pointer.
16647
ceaa0c5d
UD
16648 * sysdeps/i386/sysdep.h: Define atom_text_section.
16649 * sysdeps/x86_64/sysdep.h: Likewise.
16650 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16651 section with atom_text_section.
16652 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16653 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16654 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16655 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16656 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16657
a77d3c17
UD
16658 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16659 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16660 already be defined. Change to take two parameters and don't assign
16661 result to variable. Adjust all users.
16662 Define INTERNAL_GETTIME if not already defined.
16663 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16664 call.
16665 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16666 HAVE_CLOCK_GETTIME_VSYSCALL.
16667 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16668
d53a73ac
UD
16669 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16670 gettimeofday vsyscall, just use time.
16671
a8f84144
AS
166722011-09-06 Andreas Schwab <schwab@redhat.com>
16673
16674 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16675 <errno.h>.
16676
ef606249
UD
166772011-09-06 Ulrich Drepper <drepper@gmail.com>
16678
16679 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16680 syscall on x86-64.
16681 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16682 syscall.
16683 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16684 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16685 syscall if possible.
16686
6585cb60
UD
166872011-09-05 Ulrich Drepper <drepper@gmail.com>
16688
16689 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16690 e_ident. Don't pass to find_mapsXX.
16691 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16692
a5f524e4
LD
166932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16694
16695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16696 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16697 * sysdeps/x86_64/multiarch/strchr.S: Update.
16698 Check bit_slow_BSF bit.
16699 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16700 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16701 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16702
554881ef
UD
167032011-09-05 Ulrich Drepper <drepper@gmail.com>
16704
d96de963
UD
16705 [BZ #13134]
16706 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16707 before glibc 2.15.
16708 (tryshell): Define.
16709 (__spawni): Change last parameter to be flag. Test
16710 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16711 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16712 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16713 * posix/spawni.c: Likewise.
16714 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16715 * posix/spawnp.c: Likewise. Change normal version to use
16716 SPAWN_XFLAGS_USE_PATH.
16717 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16718 SPAWN_XFLAGS_TRY_SHELL.
16719
d48e5868
UD
16720 [BZ #13150]
16721 * posix/glob.h: Remove gcc 1.x support.
16722
554881ef
UD
16723 [BZ #13068]
16724 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16725
693fb948
LD
167262011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16727
16728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16729 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16730 strrchr-sse2-bsf
16731 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16732 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16733 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16734 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16735 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16736 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16737
1b48c537
UD
167382011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16739
49d42c37
UD
16740 * sysdeps/x86_64/wcscmp.S: New file.
16741
1b48c537
UD
16742 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16743 wcscmp-c wcscmp-sse2
16744 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16745 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16746 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16747 * wcsmbs/wcscmp.c: Allow renaming.
16748
15c95c5d
DM
167492011-09-05 David S. Miller <davem@davemloft.net>
16750
16751 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16752 stack slot, rather than the struct return pointer slot.
16753 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16754 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16756 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16757
2f0ad8f3
UD
167582011-09-05 Ulrich Drepper <drepper@gmail.com>
16759
d88ae418
UD
16760 * po/ja.po: Update from translation team.
16761
2f0ad8f3
UD
16762 [BZ #13144]
16763 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16764 kernel in 64-bit binaries.
16765
5f4318d1
DM
167662011-09-01 David S. Miller <davem@davemloft.net>
16767
16768 * elf/elf.h (HWCAP_SPARC_*): Move to..
16769 * sysdeps/sparc/sysdep.h: this new file and add new values.
16770 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16771 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16772 _DL_HWCAP_COUNT to 24.
16773 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16774 entries.
16775 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16776 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16777 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16778 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16779 instead of magic constants.
16780 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16781
3ba57516
DM
167822011-08-31 David S. Miller <davem@davemloft.net>
16783
16784 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16786 Reimplement to do errno handling inline.
16787 (SYSCALL_ERROR_HANDLER): New macro.
16788 (__SYSCALL_STRING): Do not do errno handling in asm.
16789 (__CLONE_SYSCALL_STRING): Delete.
16790 (__INTERNAL_SYSCALL_STRING): Delete.
16791 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16792 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16793 (PSEUDO): Reimplement to do errno handling inline.
16794 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16795 (SYSCALL_ERROR_HANDLER): New macro.
16796 (__SYSCALL_STRING): Do not do errno handling in asm.
16797 (__CLONE_SYSCALL_STRING): Delete.
16798 (__INTERNAL_SYSCALL_STRING): Delete.
16799 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16800 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16801 i386.
16802 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16803 (inline_syscall*): Add 'err' argument.
16804 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16805 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16806 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16807 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16808
16809 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16810 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16811
2bc17433
AS
168122011-08-30 Andreas Schwab <schwab@redhat.com>
16813
16814 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16815
fbeb5f4d
JO
168162011-08-29 Jiri Olsa <jolsa@redhat.com>
16817
16818 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16819 directive.
16820
ad69cc26
DM
168212011-08-24 David S. Miller <davem@davemloft.net>
16822
16823 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16824
39dd69df
AS
168252011-08-24 Andreas Schwab <schwab@redhat.com>
16826
16827 * elf/Makefile: Add rules to build and run unload8 test.
16828 * elf/unload8.c: New file.
16829 * elf/unload8mod1.c: New file.
16830 * elf/unload8mod1x.c: New file.
16831 * elf/unload8mod2.c: New file.
16832 * elf/unload8mod3.c: New file.
16833
16834 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16835 it wasn't used.
16836
2c0b250a
DM
168372011-08-23 David S. Miller <davem@davemloft.net>
16838
16839 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16840 subtract stack bias.
16841 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16842 %sp not %fp in calculations.
16843 (_JMPBUF_UNWINDS_ADJ): Likewise.
16844
22044b48
DM
16845 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16846 (aio_suspend): Call it to force an exception region around the
16847 AIO_MISC_WAIT() invocation.
16848
2cae4995
AS
168492011-08-23 Andreas Schwab <schwab@redhat.com>
16850
16851 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16852 backslash.
16853
873a772e
AJ
168542011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16855
16856 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16857 protection macro.
16858 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16859 and <dl-machine.h>.
16860 (Elf64_FuncDesc): Remove.
16861
25ad0df1
DM
168622011-08-22 David S. Miller <davem@davemloft.net>
16863
16864 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16865 sigaltstack check, add missing cfi directives.
16866 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16867 missing cfi directives, and sigaltstack handling.
16868
e888bcbe
AS
168692011-08-16 Andreas Schwab <schwab@redhat.com>
16870
16871 [BZ #11724]
16872 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16873 object is seen twice.
16874 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16875
16876 * elf/Makefile (distribute): Add tst-initorder2.c.
16877 (tests): Add tst-initorder2.
16878 (modules-names): Add tst-initorder2a tst-initorder2b
16879 tst-initorder2c tst-initorder2d. Add rules to build them.
16880 ($(objpfx)tst-initorder2.out): New rule.
16881 * elf/tst-initorder2.c: New file.
16882 * elf/tst-initorder2.exp: New file.
16883
87162f46
AS
168842011-08-22 Andreas Schwab <schwab@redhat.com>
16885
70538b7f
AS
16886 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16887
f55ffe58
AS
16888 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16889 dependencies back to end of function.
16890
87162f46
AS
16891 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16892 $(elfobjdir)/ld.so.
16893
91b392a4
UD
168942011-08-21 Ulrich Drepper <drepper@gmail.com>
16895
16896 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16897 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16898 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16899 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16900 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16901 of __vdso_gettimeofday.
16902 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16903 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16904 attribute_hidden.
16905 (_libc_vdso_platform_setup): Remove initialization of
16906 __vdso_gettimeofday and __vdso_time.
16907
5c43483f
UD
169082011-08-20 Ulrich Drepper <drepper@gmail.com>
16909
775a77e7
UD
16910 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16911 and fgetc_unlocked.
16912 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16913 getc_unlocked.
89f447ed 16914
49c74ba9
UD
16915 * elf/dl-open.c (add_to_global): Report additions to the global scope
16916 for LD_DEBUG=scopes.
16917 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16918 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16919
5c43483f
UD
16920 [BZ #13114]
16921 * stdio-common/Makefile (tests): Add bug24.
16922 * stdio-common/bug24.c: New file.
16923
a101b025
AJ
169242011-08-19 Andreas Jaeger <aj@suse.de>
16925
16926 [BZ #13114]
16927 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16928 non-existant file when using close-on-exec mode.
16929
c88f1766
UD
169302011-08-20 Ulrich Drepper <drepper@gmail.com>
16931
0276a718
UD
16932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16933 the very first instruction.
16934
c88f1766
UD
16935 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16936 the CFI state in the end.
16937 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16938 inclusion of dl-trampoline.h.
16939 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16940
51ccffa0
AS
169412011-08-19 Andreas Schwab <schwab@redhat.com>
16942
94d7165f
AS
16943 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16944 expectations for long double.
16945
51ccffa0
AS
16946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16947 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16948
fd708658 169492011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16950
16951 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16952 artificual limit depends upon the system page size.
16953
44f0a71e
UD
169542011-08-17 Ulrich Drepper <drepper@gmail.com>
16955
16956 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16957 * resolv/Makefile: Define CFLAGS-libresolv.
16958
8de79a24
AS
169592011-08-17 Andreas Schwab <schwab@redhat.com>
16960
16961 * nss/makedb.c (compute_tables): Make variables used in nested
16962 function static.
16963
27724598
UD
169642011-08-17 Ulrich Drepper <drepper@gmail.com>
16965
c5305d88
UD
16966 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16967 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16968 if buffer was too small.
16969
27724598
UD
16970 * elf/pldd.c (main): Attach to all threads in the process.
16971 Rewrite /proc handling to use *at functions.
16972
076fe015
UD
169732011-08-16 Ulrich Drepper <drepper@gmail.com>
16974
174baab3
UD
16975 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16976 specifies first scope to show.
16977 (dl_open_worker): Update callers. Move printing scope of new
16978 object to before the relocation.
44f0a71e 16979 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16980 * sysdeps/generic/ldsodefs.h: Update declaration.
16981
076fe015
UD
16982 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16983 string for the scope number.
16984
a60df2c3
UD
169852011-08-14 Ulrich Drepper <drepper@gmail.com>
16986
16987 * nscd/servicescache.c (cache_addserv): Make sure written is always
16988 initialized.
16989
5e4287d1
RM
169902011-08-14 Roland McGrath <roland@hack.frob.com>
16991
85ae0589
RM
16992 * sysdeps/i386/i486/bits/atomic.h
16993 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16994 statement expression, so as to suppress "set but not used" warning.
16995 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16996
69f63097
RM
16997 * string/strncat.c (STRNCAT): Use prototype definition.
16998
675456ef
RM
16999 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17000 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17001 -Iprograms here.
17002 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17003 (localedef-modules): Add localedef.
17004 (locale-modules): Add locale.
17005
5e4287d1
RM
17006 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17007 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17008 to avoid a warning.
17009
9c96ff23
DM
170102011-08-14 David S. Miller <davem@davemloft.net>
17011
17012 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17013 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17014
f9ddf089
UD
170152011-08-13 Ulrich Drepper <drepper@gmail.com>
17016
44f0a71e 17017 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
17018 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17019 * elf/rtld.c (dl_main): Set l_name of vDSO.
17020 Call _dl_show_scope when DL_DEBUG_SCOPES.
17021 (process_dl_debug): Recognize scopes flag and also set it for all.
17022 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17023 Declare _dl_show_scope.
17024
1dc27704
UD
17025 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17026 (do_dlopen): Pass caller_dlopen to dl_open.
17027 (__libc_dlopen_mode): Initialize caller_dlopen.
17028
f9ddf089
UD
17029 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17030 of libc. Make tolower call locale-independent. Optimize a bit by
17031 using isdigit instead of isalnum.
17032 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17033
9ac533d3
UD
170342011-08-12 Ulrich Drepper <drepper@gmail.com>
17035
17036 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17037 was a dependency or dynamically loaded.
17038
89edf2e9
UD
170392011-08-11 Ulrich Drepper <drepper@gmail.com>
17040
8e999d29
UD
17041 * intl/l10nflist.c: Allow architecture-specific pop function.
17042 * sysdeps/x86_64/l10nflist.c: New file.
17043
89edf2e9
UD
17044 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17045 classification.
17046
14d96785
AS
170472011-08-10 Andreas Schwab <schwab@redhat.com>
17048
17049 * include/dirent.h: Add libc_hidden_proto for scandirat and
17050 scandirat64. Don't declare __scandirat64.
17051 * dirent/scandirat.c: Add libc_hidden_def.
17052 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17053 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17054
6761ac04
DM
170552011-08-10 David S. Miller <davem@davemloft.net>
17056
17057 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17058 enum.
17059 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17060 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17061 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17062
c55fbd1e
UD
170632011-08-09 Ulrich Drepper <drepper@gmail.com>
17064
17065 * Versions.def [libc]: Add GLIBC_2.15.
17066 * dirent/Makefile (routines): Add scandirat and scandirat64.
17067 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17068 GLIBC_2.15.
17069 * dirent/dirent.h: Declare scandirat and scandirat64.
17070 * dirent/scandirat.c: New file.
17071 * dirent/scandirat64.c: New file.
17072 * sysdeps/wordsize-64/scandirat.c: New file.
17073 * sysdeps/wordsize-64/scandirat64.c: New file.
17074 * dirent/opendir.c: Define opendirat.
17075 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17076 using scandirat.
17077 * dirent/scandir64.c: Adjust for scandir.c change.
17078 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17079 __scandirat64, and __scandir_cancel_handler.
17080 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17081 additional parameter and use openat instead of open (outside of ld.so).
17082 Add new __opendir as wrapper around __opendirat.
17083 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17084 here without requiring old scandirat implementation.
17085
879165f2
UD
170862011-08-08 Ulrich Drepper <drepper@gmail.com>
17087
17088 * dirent/scandir.c (cancel_handler): Renamed to
17089 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17090 defined. Adjust users.
17091 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17092 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17093
cb7e923b
UD
170942011-08-04 Ulrich Drepper <drepper@gmail.com>
17095
16292edd
UD
17096 * string/test-string.h (IMPL): Use __STRING to expand name and then
17097 stringify it.
17098
cb7e923b
UD
17099 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17100 of cleanups.
17101
cff82933
LD
171022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17103
17104 * string/Makefile: Update.
17105 (strop-tests): Append strncat.
17106 * string/test-wcscmp.c: New file.
17107 New comprehensive test for wcscmp.
17108 * string/test-strcmp.c: Update.
17109 (WIDE): New define.
17110
9be9bfcc
AS
171112011-07-22 Andreas Schwab <schwab@redhat.com>
17112
17113 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17114 line.
17115
2e96f1c7
AS
171162011-07-26 Andreas Schwab <schwab@redhat.com>
17117
17118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17119 encoding to ACE if AI_IDN.
17120
85188888
JJ
171212011-08-01 Jakub Jelinek <jakub@redhat.com>
17122
17123 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17124 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17125
5fa16e9b
LD
171262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17127
17128 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17129 Fix overflow bug in strncat.
17130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17131
17132 * string/test-strncat.c: Update.
17133 Add new tests for checking overflow bugs.
17134
171352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17136
17137 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17138 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17139 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17140 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17141 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17142 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17143 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17144 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17145 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17146
17147 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17148 (USE_AS_STRCAT): Define.
17149 Add strcat and strncat support.
17150 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17151
8c1a459f
AS
171522011-07-25 Andreas Schwab <schwab@redhat.com>
17153
17154 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17155 __n bigger than INT_MAX+1.
17156 (__strncmp_g): Likewise.
17157
bba33c28
UD
171582011-07-23 Ulrich Drepper <drepper@gmail.com>
17159
798be72d
UD
17160 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17161 * libio/stido.h: Likewise.
17162
8accd4dc
UD
17163 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17164 (AF_NFC): Define.
17165 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17166 (AF_NFC): Define.
17167
cbff0d96
UD
17168 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17169 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17170 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17171 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17172 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17173
9191c04a
UD
17174 [BZ #13021]
17175 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17176 installed.
17177
bba33c28
UD
17178 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17179 typo.
17180 (_dl_x86_64_save_sse): Likewise.
17181
90f139dd
UD
171822011-07-22 Ulrich Drepper <drepper@gmail.com>
17183
1aae088a
UD
17184 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17185 OSXSAVE.
17186 (_dl_x86_64_save_sse): Likewise.
17187
8e2045f5
UD
17188 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17189
90f139dd
UD
17190 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17191
1d002f25
AS
171922011-07-21 Andreas Schwab <schwab@redhat.com>
17193
17194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17195 change.
17196 (_dl_x86_64_save_sse): Use correct AVX check.
17197
21137f89
UD
171982011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17199
17200 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17201 bug in strncpy/strncat.
17202 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17203
a65c0b7a
UD
172042011-07-21 Ulrich Drepper <drepper@gmail.com>
17205
17206 * string/tester.c (test_strcat): Add tests for different alignments
17207 of source and destination.
17208 (test_strncat): Likewise.
17209
6986b98a
UD
172102011-07-20 Ulrich Drepper <drepper@gmail.com>
17211
90bb2039
UD
17212 [BZ #12852]
17213 * posix/glob.c (glob): Check passed in values before using them in
17214 expressions to avoid some overflows.
17215 (glob_in_dir): Likewise.
17216
5644ef54
UD
17217 [BZ #13007]
17218 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17219 check for AVX enablement so that we don't crash with old kernels and
17220 new hardware.
17221 * elf/tst-audit4.c: Add same checks here.
17222 * elf/tst-audit6.c: Likewise.
17223
17224 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17225
bfc9dc9b
AS
172262011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17227
17228 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17229
702e64bb
UD
172302011-07-20 Ulrich Drepper <drepper@gmail.com>
17231
17232 * po/cs.po: Update from translation team.
17233 * po/bg.po: Likewise.
17234
295e904f
MP
172352011-07-12 Marek Polacek <mpolacek@redhat.com>
17236
17237 * misc/sys/cdefs.h: Add support for const attribute.
17238 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17239 to gnu_dev_{major,minor,makedev} functions.
17240
3ff94596
MP
172412011-07-20 Marek Polacek <mpolacek@redhat.com>
17242
17243 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17244
28b59fca
AS
172452011-07-20 Andreas Schwab <schwab@redhat.com>
17246
17247 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17248 strlen results.
17249
19df733e
AK
172502011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17251
17252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17253 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17254 register in order to avoid conflicts with the soft frame pointer
17255 being held in r11 when necessary.
17256 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17257 (INTERNAL_VSYSCALL_NCS): Likewise.
17258
c8835729
MP
172592011-07-14 Marek Polacek <mpolacek@redhat.com>
17260
17261 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17262 * elf/dl-fini.c (_dl_fini): Adjust caller.
17263 * elf/dl-close.c (_dl_close_worker): Likewise.
17264 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17265
b902330c
MP
172662011-07-15 Marek Polacek <mpolacek@redhat.com>
17267
8991e135
MP
17268 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17269 "aux_cache->nlibs < 0".
17270
b902330c
MP
17271 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17272 in the reload-count case.
17273
99710781
LD
172742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17275
17276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17277 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17278 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17279 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17280 * sysdeps/x86_64/multiarch/strcat.S: New file.
17281 * sysdeps/x86_64/multiarch/strncat.S: New file.
17282 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17283 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17284 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17285 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17286 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17287 (USE_AS_STRCAT): Define.
17288 Add strcat and strncat support.
17289 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17290 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17291 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17292 * string/strncat.c: Update.
17293 (USE_AS_STRNCAT): Define.
17294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17295 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17296 and i7.
17297 * sysdeps/x86_64/multiarch/init-arch.h
17298 (bit_Prefer_PMINUB_for_stringop): New.
17299 (index_Prefer_PMINUB_for_stringop): Likewise.
17300 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17301 bit_Prefer_PMINUB_for_stringop.
17302
7dc6bd90
UD
173032011-07-19 Ulrich Drepper <drepper@gmail.com>
17304
17305 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17306 buffer64.
17307 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17308 of casting of buffer.
17309 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17310 buffer32 and buffer64.
17311 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17312 writes instead of casting of buffer.
17313 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17314 buffer32.
17315 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17316 casting of buffer.
17317
e0e72284
AS
173182011-07-19 Andreas Schwab <schwab@redhat.com>
17319
17320 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17321
feb1eb0b
UD
173222011-07-19 Ulrich Drepper <drepper@gmail.com>
17323
17324 * nscd/nscd.c (termination_handler): Don't do anything for a database
17325 if it has not yet been initialized.
17326
298711ff
UD
173272011-07-18 Ulrich Drepper <drepper@gmail.com>
17328
17329 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17330
173312011-07-15 Marek Polacek <mpolacek@redhat.com>
17332
17333 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17334
f9d68389
UD
173352011-07-18 Ulrich Drepper <drepper@gmail.com>
17336
17337 * po/nl.po: Update from translation team.
17338 * po/sv.po: Likewise.
17339
db290cf5
RM
173402011-07-16 Roland McGrath <roland@hack.frob.com>
17341
17342 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17343 now disallowed by GCC.
5c550700 17344
fd5e21c7
RM
17345 * configure.in (use-default-link): Default to yes if a test -shared
17346 link meets our qualifications.
17347 * configure: Regenerated.
17348
5c550700
RM
17349 * config.make.in (output-format): New variable.
17350 * configure.in: Check for ld --print-output-format support.
17351 * configure: Regenerated.
17352 * Makerules ($(common-objpfx)format.lds)
17353 [$(output-format) != unknown]: Just use $(output-format),
17354 instead of the linker-script munging.
17355
9fa2c032
RM
173562011-07-14 Roland McGrath <roland@hack.frob.com>
17357
a6928d51
RM
17358 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17359 of $(common-objpfx)shlib.lds.
17360 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17361
661607b3
RM
17362 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17363 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17364
9fa2c032
RM
17365 * configure.in (-z relro check): Adjust test code to add a large
17366 writable data section after it.
17367 * configure: Regenerated.
17368
defe9061
RM
173692011-07-11 Roland McGrath <roland@hack.frob.com>
17370
17371 * configure.in (-z relro check): Fix test code to make the variable
17372 truly const.
17373 * configure: Regenerated.
17374
319b9ad4
UD
173752011-07-11 Ulrich Drepper <drepper@gmail.com>
17376
17377 * nscd/nscd.h (struct traced_file): Define.
17378 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17379 elements. Add traced_files.
17380 (inotify_fd): Declare.
17381 (register_traced_file): Declare.
17382 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17383 (inotify_fd): Export.
17384 (resolv_conf_descr): Remove.
17385 (nscd_init): Move inotify descriptor creation to main.
17386 Don't register files for notification here.
17387 (register_traced_file): New function.
17388 (invalidate_cache): Don't use reset_res to determine whether to call
17389 res_init, go through the list of registered files.
17390 (main_loop_poll): The inotify descriptors are now stored in the
17391 structures for the traced files.
17392 (main_loop_epoll): Likewise
17393 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17394 to __nss_disable_nscd.
17395 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17396 for a database anymore. Check the records for all the registered
17397 files instead.
17398 * nss/Makefile (libnss_files-routines): Add files-init.
17399 (libnss_db-routines): Add db-init.
17400 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17401 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17402 * nss/nss_db/db-init.c: New file.
17403 * nss/nss_files/files-init.c: New file.
17404 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17405 __nss_lookup_function.
17406 (__nss_lookup_function): Call nss_load_library.
17407 (nss_load_all_libraries): New function.
17408 (__nss_disable_nscd): Take parameter with callback function for files
17409 to register. Set is_nscd. Load all the DSOs for the NSS modules
17410 used for the cached services.
17411 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17412 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17413 options for features to all the files in nscd.
17414
17415 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17416
23bee3e8
RM
174172011-07-10 Roland McGrath <roland@hack.frob.com>
17418
17419 * csu/elf-init.c (__libc_csu_init): Comment typo.
17420
46a5b7f0
UD
174212011-07-09 Ulrich Drepper <drepper@gmail.com>
17422
17423 * po/pl.po: Update from translation team.
17424 * po/ja.po: Likewise.
17425 * po/ru.po: Likewise.
17426 * po/ko.po: Likewise.
17427 * po/fr.po: Likewise.
17428
d30cf5bb
RM
174292011-07-09 Roland McGrath <roland@hack.frob.com>
17430
113ddea4
RM
17431 * configure.in (.ctors/.dtors header and trailer check):
17432 Use an empirical test on a built program.
17433 * configure: Regenerated.
17434
574920b4
RM
17435 * configure.in (-z relro check): Use an empirical test on a built DSO.
17436 Detect, but do not require, on ia64.
17437 * configure: Regenerated.
17438
d30cf5bb
RM
17439 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17440 Update tests that use readelf to use $READELF instead.
17441 * configure: Regenerated.
17442
8538fdb3
UD
174432011-07-08 Ulrich Drepper <drepper@gmail.com>
17444
17445 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17446 if the result is not used.
17447
04d08991
AJ
174482011-07-05 Andreas Jaeger <aj@suse.de>
17449
17450 [BZ#9696]
17451 * stdlib/tst-strtod.c: Add testcase.
17452
de283087
AD
174532011-07-07 Ulrich Drepper <drepper@gmail.com>
17454
4e5f31c8 17455 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17456 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17457 The latter has a higher limit. Take additional parameter to pass to
17458 the new function.
17459 (__pathconf): Pass file to __statfs_link_max.
17460 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17461 __statfs_link_max.
17462 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17463 __statfs_link_max.
17464
de283087
AD
17465 [BZ #12868]
17466 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17467 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17468 Handle Lustre.
17469 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17470 (__statfs_filesize_max): Likewise.
17471 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17472
c75fa153
AJ
174732011-07-05 Andreas Jaeger <aj@suse.de>
17474
17475 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17476
1a544854
UD
174772011-07-06 Marek Polacek <mpolacek@redhat.com>
17478
17479 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17480 `status' variable.
17481 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17482 Likewise.
17483
6f0eec67
UD
174842011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17485
17486 * Makefile (strop-tests): Add strncat.
17487 * string/test-strncat.c: New file.
17488
aae30307
UD
174892011-06-30 Marek Polacek <mpolacek@redhat.com>
17490
17491 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17492
c0cfb5eb
UD
174932011-06-21 Andreas Jaeger <aj@suse.de>
17494
17495 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17496 Copy rule from iconvdata/Makefile.
17497
01636b21
UD
174982011-07-06 Ulrich Drepper <drepper@gmail.com>
17499
17500 [BZ #12922]
17501 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17502 but no long options are defined, just return 'W'.
17503
9895c8bc
UD
175042011-06-22 Marek Polacek <mpolacek@redhat.com>
17505
17506 [BZ #9696]
17507 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17508
5d4cf042
UD
175092011-07-06 Ulrich Drepper <drepper@gmail.com>
17510
17511 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17512 netgroups to read.
960e5535 17513 (innetgr): Likewise.
5d4cf042 17514
751eb97e
RM
175152011-07-05 Roland McGrath <roland@hack.frob.com>
17516
17517 * config.make.in (install_root): Default to $(DESTDIR).
17518
f15f1e45
UD
175192011-07-05 Ulrich Drepper <drepper@gmail.com>
17520
17521 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17522
4e34ac6a
RM
175232011-07-02 Roland McGrath <roland@hack.frob.com>
17524
5e9b6af4
RM
17525 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17526
84f9ea0f
RM
17527 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17528 containing directory rather than embedding absolute directory names.
17529
ea5ee9f7
RM
17530 * scripts/check-local-headers.sh: Rewritten using awk.
17531 Match by word, not by line. Print error messages for matches.
17532 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17533
1b74661a
RM
17534 * Makerules [shlib-lds-flags empty]:
17535 ($(common-objpfx)libc_pic.opts): New target.
17536 ($(common-objpfx)libc_pic.os.clean): New target.
17537 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17538
17539 * config.make.in (OBJCOPY): New variable.
17540 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17541 * configure: Regenerated.
17542
f781ef40
RM
17543 * config.make.in (use-default-link): New variable.
17544 * configure.in (use_default_link): Grok --with-default-link to set it.
17545 * configure: Regenerated.
17546 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17547 (shlib-lds, shlib-lds-flags): Define to empty.
17548
2d4fa81e
RM
17549 * Makerules (shlib-lds): New variable.
17550 (shlib-lds-flags): New variable.
17551 (build-shlib, build-moduile, build-module-asneeded): Use it.
17552 ($(common-objpfx)libc.so): Use $(shlib-lds).
17553 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17554 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17555
31fffa6b
RM
17556 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17557 DT_FLAGS/DT_FLAGS_1 with zero flags.
17558
4e34ac6a
RM
17559 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17560 linker script munging.
17561
fcfc776b
UD
175622011-07-02 Ulrich Drepper <drepper@gmail.com>
17563
17564 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17565 as 128-bit value.
17566 * crypt/sha512.c (sha512_process_block): Perform total addition using
17567 128-bit if possible.
17568 (__sha512_finish_ctx): Likewise.
17569 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17570 as 64-bit value.
17571 * crypt/sha256.c (SWAP64): Define.
17572 (sha256_process_block): Perform total addition using 64-bit if
17573 possible.
17574 (__sha256_finish_ctx): Likewise.
17575
99231d9a
UD
175762011-07-01 Ulrich Drepper <drepper@gmail.com>
17577
17578 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17579 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17580 * nscd/hstcache.c (cache_addhst): Likewise.
17581 * nscd/grpcache.c (cache_addgr): Likewise.
17582 * nscd/aicache.c (addhstaiX): Likewise
17583 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17584
445b4a53
TK
175852011-07-01 Thorsten Kukuk <kukuk@suse.de>
17586
17587 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17588 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17589 * nscd/hstcache.c (cache_addhst): Likewise.
17590 * nscd/grpcache.c (cache_addgr): Likewise.
17591 * nscd/aicache.c (addhstaiX): Likewise
17592
6d4d8e8e
AS
175932011-07-01 Andreas Schwab <schwab@redhat.com>
17594
17595 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17596 domain only when needed.
17597
89f654c5
AS
175982011-06-30 Andreas Schwab <schwab@redhat.com>
17599
17600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17601 is always restored.
17602
cf3b23ff
UD
176032011-06-29 Ulrich Drepper <drepper@gmail.com>
17604
17605 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17606 are re-adding the entry.
17607 * nscd/servicescache.c (cache_addserv): Likewise.
17608
751626f9
AJ
176092011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17610
17611 * sysdeps/generic/dl-irel.h: fix protection against multiple
17612 inclusions.
17613 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17614
9113ea1f
UD
176152011-06-28 Ulrich Drepper <drepper@gmail.com>
17616
5c0b8d90
UD
17617 [BZ #12935]
17618 * malloc/memusage.sh: Fix quoting in message.
17619 * debug/xtrace.sh: Likewise.
17620
9113ea1f
UD
17621 * configure.in: Remove support for --experimental-malloc option, make
17622 it the default.
17623 * config.make.in: Likewise.
17624 * malloc/Makefile: Likewise.
17625
a4172181
AS
176262011-06-27 Andreas Schwab <schwab@redhat.com>
17627
17628 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17629 two-byte characters.
17630
78a7eee7
RM
176312011-06-27 Roland McGrath <roland@hack.frob.com>
17632
62bede13
RM
17633 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17634 AC_CACHE_CHECK invocation.
17635 * configure: Regenerated.
17636
78a7eee7
RM
17637 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17638
5ce33a62
UD
176392011-06-27 Ulrich Drepper <drepper@gmail.com>
17640
034807a9
UD
17641 [BZ #12350]
17642 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17643 bit from old_res_options.
17644
4902da17
UD
17645 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17646
5ce33a62
UD
17647 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17648 value type for setfct.
17649
c2344f56
L
176502011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17651
17652 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17653 __gettimeofday instead of gettimeofday.
17654
68468076
UD
176552011-06-26 Ulrich Drepper <drepper@gmail.com>
17656
17657 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17658
acb0d739
L
176592011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17660
17661 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17662
17663 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17664 info.
17665
8912479f
L
176662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17667
17668 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17669 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17670 strcpy-sse2-unaligned strncpy-sse2-unaligned
17671 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17672 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17673 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17674 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17675 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17676 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17677 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17678 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17679 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17680 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17681 (STRCPY): Support SSE2 and SSSE3 versions.
17682
d5495a11
UD
176832011-06-24 Ulrich Drepper <drepper@gmail.com>
17684
17685 [BZ #12874]
17686 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17687 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17688 kernels which artificially limit size of requests.
17689
0b1cbaae
L
176902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17691
17692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17693 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17694 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17695 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17696 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17697 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17698 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17699 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17700 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17701 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17702 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17703 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17704 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17705 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17706 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17708 Enable unaligned load optimization for Intel Core i3, i5 and i7
17709 processors.
17710 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17711 Define.
17712 (index_Fast_Unaligned_Load): Define.
17713 (HAS_FAST_UNALIGNED_LOAD): Define.
17714
07f494a0
MP
177152011-06-23 Marek Polacek <mpolacek@redhat.com>
17716
17717 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17718
fa3fc0fe
UD
177192011-06-22 Ulrich Drepper <drepper@gmail.com>
17720
17721 [BZ #12907]
17722 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17723 until it is clear that the information is realy needed.
17724 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17725
e12df166
AS
177262011-06-22 Andreas Schwab <schwab@redhat.com>
17727
17728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17729
852eb34d
UD
177302011-06-22 Ulrich Drepper <drepper@gmail.com>
17731
84e2a551
UD
17732 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17733 /sys/devices/system/cpu/online if it is usable.
17734
852eb34d
UD
17735 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17736 reading the information from the /proc filesystem to once a second.
17737
6e502e19
UD
177382011-06-21 Andreas Jaeger <aj@suse.de>
17739
17740 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17741 NULL after inclusion of kernel headers.
17742
75d39ff2
UD
177432011-06-21 Ulrich Drepper <drepper@gmail.com>
17744
51f9aa6a
UD
17745 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17746 calls to internal_setent.
17747
c0244a9d
UD
17748 [BZ #12885]
17749 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17750 addresses using gethostbyname4_r ignore IPv4 addresses.
17751
c5e3c2ae
UD
17752 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17753 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17754
75d39ff2
UD
17755 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17756
42675c6f
DM
177572011-06-20 David S. Miller <davem@davemloft.net>
17758
17759 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17760 inclusions.
17761 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17762
17763 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17764 (elf_irel): Use it.
17765 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17766 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17767 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17768 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17769 * sysdeps/x86_64/dl-irel.h: Likewise.
17770
17771 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17772 * elf/dl-sym.c: Likewise.
17773
57912a71
UD
177742011-06-15 Ulrich Drepper <drepper@gmail.com>
17775
17776 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17777 need to dereference resplen2.
17778
ee22793d
AS
177792011-06-14 Andreas Schwab <schwab@redhat.com>
17780
17781 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17782
a9e836b0
UD
177832011-06-15 Ulrich Drepper <drepper@gmail.com>
17784
77fb9117
UD
17785 * Makeconfig: Define vardbdir and inst_vardbdir.
17786 * nss/Makefile: Add rules to install db-Makefile.
17787
40c1b22c
UD
17788 * nss/nss_db/db-XXX.c: Cleanup.
17789
9f2da732
UD
17790 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17791 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17792 GLIBC_PRIVATE.
17793 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17794 * nss/makedb.c: Implement -g option to specify that value strings
17795 are generated and should not be added to table iterated over for
17796 get*ent calls.
17797 * nss/nss_db/db-initgroups.c: New file.
17798
82e9a1f7
UD
17799 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17800 interface.
17801
c41af17e
UD
17802 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17803 (internal_getgrouplist): Adjust to name change.
17804 Update use_initgroups_entry if this is not the first call.
17805 * nss/databases.def: Add initgroups entry.
17806
a9e836b0
UD
17807 * nss/makedb.c (compute_tables): Check result of multiple hash table
17808 sizes to minimize maximum chain length.
17809
2666d441
UD
178102011-06-14 Ulrich Drepper <drepper@gmail.com>
17811
17812 * Versions.def: Add entry for libnss_db.
17813 * shlib-versions: Likewise.
17814 * nss/Makefile: Add rules to build libnss_db.
17815 * nss/Versions: Add libnss_db information. Organize libnss_files
17816 entries better.
17817 * nss/db-Makefile: Add gshadow support. Change rules for the new
17818 makedb progra. Some minor improvements to generate smaller files.
17819 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17820 here from...
17821 * nss/makedb.c: ...here.
17822 Improve database format to be smaller and require less memory at
17823 runtime.
17824 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17825 db anymore.
17826 * nss/nss_db/db-netgrp.c: Likewise.
17827 * nss/nss_db/db-open.c: Likewise.
17828 * nss/nss_files/flies-XXX.x: Adjust comments.
17829 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17830 * nss/nss_files/files-grp.c: Likewise.
17831 * nss/nss_files/files-hosts.c: Likewise.
17832 * nss/nss_files/files-network.c: Likewise.
17833 * nss/nss_files/files-proto.c: Likewise.
17834 * nss/nss_files/files-pwd.c: Likewise.
17835 * nss/nss_files/files-rpc.c: Likewise.
17836 * nss/nss_files/files-service.c: Likewise.
17837 * nss/nss_files/files-sgrp.c: Likewise.
17838 * nss/nss_files/files-spwd.c: Likewise.
17839 * nss/nss_db/db-alias.c: Removed.
17840 * nss/nss_db/dummy-db.h: Removed.
17841
9ee76b5a
UD
178422011-06-02 Ulrich Drepper <drepper@gmail.com>
17843
17844 * nss/makedb.c: Rewritten to not use database library.
17845 * nss/Makefile: Update to build new makedb program.
17846
c71ca1f8
AJ
178472011-06-14 Andreas Jaeger <aj@suse.de>
17848
17849 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17850 memset declaration.
17851
3154bfb8
UD
178522011-06-10 Andreas Schwab <schwab@redhat.com>
17853
17854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17855 tmpbuf.
17856
b350afab
RM
178572011-06-10 Roland McGrath <roland@hack.frob.com>
17858
decd4e50
RM
17859 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17860 * elf/Makefile ($(objpfx)ld.so): Likewise.
17861
5615eaf2
RM
17862 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17863 Don't list ld.so twice in dependencies.
17864
17865 * posix/bug-regex31.c: Include <stdlib.h>.
17866
17867 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17868
17869 * nis/nss_compat/compat-spwd.c
17870 (getspent_next_nss_netgr): Remove unused variable.
17871 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17872
17873 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17874 nonmembers" output to use the right array.
17875
17876 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17877
17878 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17879
17880 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17881 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17882 * catgets/gencat.c (read_input_file): Likewise.
17883 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17884
17885 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17886 variable definition inside #if's controlling its use.
17887
17888 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17889
17890 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17891
17892 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17893
17894 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17895 unreachable code.
17896
17897 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17898
b68e08db
RM
17899 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17900 * configure: Regenerated.
17901
b350afab
RM
17902 * Makerules: Revert last change.
17903 * elf/Makefile: Likewise.
17904
28368601
RM
179052011-06-09 Roland McGrath <roland@hack.frob.com>
17906
17907 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17908 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17909 (reloc-link): Likewise.
17910
11988f8f
UD
179112011-06-09 Ulrich Drepper <drepper@gmail.com>
17912
17913 * elf/Makefile: Add rules to build pldd.
17914 * elf/pldd.c: New file.
17915 * elf/pldd-xx.c: New file.
17916
e80fab37
UD
179172011-06-07 Ulrich Drepper <drepper@gmail.com>
17918
17919 * version.h: Update for 2.15 development version.
17920
9b849836
DM
179212011-06-07 David S. Miller <davem@davemloft.net>
17922
17923 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17924 ifuncs.
17925 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17926 elf_machine_lazy_rel): Likewise.
17927 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17928 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17929 elf_machine_lazy_rel): Likewise.
17930 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17931 dl_hwcap via passed in argument.
17932 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17933 Likewise.
17934
5a31b283
AK
179352011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17936
17937 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17938
069e52f8
RM
179392011-06-06 Roland McGrath <roland@hack.frob.com>
17940
17941 [BZ #12849]
17942 * manual/fdl-1.1.texi: New file, verbatim from:
17943 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17944 * manual/lgpl-2.1.texi: New file, verbatim from:
17945 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17946 * manual/Makefile (licenses): New variable, list those new file names.
17947 (texis): Use it.
17948 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17949
17950 * manual/fdl.texi: File removed.
17951 * manual/lesser.texi: File removed.
17952 * manual/libc.texinfo (Copying, Documentation License):
17953 Use new @include file names, put @appendix directive before @include.
17954
f16846a5
JJ
179552011-06-04 Jakub Jelinek <jakub@redhat.com>
17956
17957 [BZ #12841]
17958 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17959 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17960 (mq_open): Add __NTH.
17961
3d29045b
L
179622011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17963
17964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17965 Assume Intel Core i3/i5/i7 processor if AVX is available.
17966
8c297311
UD
179672011-05-31 Ulrich Drepper <drepper@gmail.com>
17968
17969 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17970 typo.
17971
c8fc0c91
UD
179722011-05-31 Andreas Schwab <schwab@redhat.com>
17973
17974 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17975 memory. Use alloca_account. Fix memory leak when retrying.
17976
5b27a807
UD
179772011-05-31 Ulrich Drepper <drepper@gmail.com>
17978
356f8bc6
UD
17979 * version.h (RELEASE): Bump for 2.14 release.
17980 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17981
5b27a807
UD
17982 * config.make.in (RANLIB): Remove entry.
17983
01f16ab0
UD
179842011-05-30 Ulrich Drepper <drepper@gmail.com>
17985
41fce8bd
UD
17986 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17987 (libc.pot): Work around missing support for .ksh extension in xgettext.
17988
4769ae77
UD
17989 [BZ #12684]
17990 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17991 if both request failed.
17992 (send_dg): In case of server errors clear resplen or *resplen2.
17993
6b1e7d19
UD
17994 [BZ #12454]
17995 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17996 when there are multiple maps.
17997 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17998 (_dl_fini): Remove test here.
17999
01f16ab0
UD
18000 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18001
b1ebd700
UD
180022011-05-29 Ulrich Drepper <drepper@gmail.com>
18003
7ae22829
UD
18004 [BZ #12350]
18005 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18006 bit from old_res_options.
18007 (gaih_inet): Likewise.
18008
553149f6 18009 [BZ #11099]
18a84741 18010 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
18011 as signed.
18012
652ffab1
UD
18013 * resolv/res_init.c (res_setoptions): Make the code more compact.
18014
16985fd0
UD
18015 [BZ #11558]
18016 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18017 set RES_USEVC.
18018
0464f746
UD
18019 [BZ #11634]
18020 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18021
7d17596c
UD
18022 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18023
cf6bbbd7
UD
18024 [BZ #11781]
18025 * malloc/malloc.h: Declare malloc hook variables as volatile.
18026
13f1ab36
UD
18027 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18028 in last patch.
18029
b1ebd700
UD
18030 [BZ #11799]
18031 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 18032 raise in the comment.
80e2212d
UD
18033 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18034 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18035 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 18036
ce67228d
UD
180372011-05-28 Ulrich Drepper <drepper@gmail.com>
18038
8887a920
UD
18039 [BZ #12811]
18040 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18041 grow the buffers more if it already has to be sufficient.
18042 (build_wcs_upper_buffer): Likewise.
18043 * posix/regexec.c (check_matching): Likewise.
18044 (clean_state_log_if_needed): Likewise.
18045 (extend_buffers): Don't enlarge buffers beyond size of the input
18046 buffer.
18047 Patches mostly by Emil Wojak <emil@wojak.eu>.
18048 * posix/bug-regex32.c: New file.
18049 * posix/Makefile (tests): Add bug-regex32.
18050
4f031072
UD
18051 * locale/findlocale.c (_nl_find_locale): Return right away if
18052 _nl_explode_name failed.
18053 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18054
d0478f0c
UD
18055 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18056
de81b246
UD
18057 * debug/xtrace.sh: Unify messages.
18058 * malloc/memusage.sh: Likewise.
18059
c738465a
UD
18060 [BZ #12813]
18061 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18062 time symbol from vDSO. Substitute with vsyscall if not available.
18063 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18064 __vdso_time.
18065
f1f929d7
UD
18066 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18067 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18068 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18069 Add sendmmsg and internal_sendmmsg.
18070 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18071 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18072 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18073
ce67228d
UD
18074 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18075 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18076 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18077
e57420c6
UD
180782011-05-27 Ulrich Drepper <drepper@gmail.com>
18079
a8509ca5
UD
18080 [BZ #12813]
18081 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18082 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18083 available.
18084 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18085 __vdso_getcpu.
18086
e57420c6
UD
18087 [BZ #12814]
18088 * iconvdata/Makefile (tests): Add bug-iconv9.
18089 * iconvdata/bug-iconv9.c: New file.
18090
4d07db15
AS
180912011-05-27 Andreas Schwab <schwab@redhat.com>
18092
18093 [BZ #12814]
18094 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18095
ea486f69
JJ
180962011-05-25 Jakub Jelinek <jakub@redhat.com>
18097
18098 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18099 (struct user_regs_struct): Change intcs field back to cs.
18100
6f038433
UD
181012011-05-25 Ulrich Drepper <drepper@gmail.com>
18102
18103 * po/ja.po: Update from translation team.
18104
67f86a25
UD
181052011-05-23 Ulrich Drepper <drepper@gmail.com>
18106
18107 [BZ #12795]
18108 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18109 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18110
def7fbd6
AS
181112011-05-20 Andreas Schwab <schwab@redhat.com>
18112
18113 * stdlib/longlong.h: Update from GCC.
18114
f50ef8f1
AS
181152011-05-23 Andreas Schwab <schwab@redhat.com>
18116
18117 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18118 parameter name.
18119 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18120 Add parameter name.
18121 (__sysconf): Pass it down.
18122
de7ce8f1
UD
181232011-05-22 Ulrich Drepper <drepper@gmail.com>
18124
f2962a71
UD
18125 [BZ #12671]
18126 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18127 some situations.
18128 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18129 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18130 add in in __libc_use_alloca calls. Adjust callers.
18131 (glob): Use malloc in some situations.
18132
de7ce8f1
UD
18133 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18134 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18135 pltexit.
18136
aec84f53
UD
181372011-05-21 Ulrich Drepper <drepper@gmail.com>
18138
05bb4a68
UD
18139 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18140 and CLOCK_BOOTTIME_ALARM.
18141
7ea72f99
UD
18142 [BZ #12782]
18143 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18144 is returned.
18145
7e4afad5
UD
18146 * string/_strerror.c (__strerror_r): Print negative errors as signed
18147 numbers.
18148
8e211fec
UD
18149 [BZ #12777]
18150 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18151 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18152 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18153
f7d82dc9
UD
18154 * configure.in: Fix typo in redirection and correct removal of test
18155 files in two cases.
18156
cc9e536d
UD
18157 [BZ #12788]
18158 * locale/setlocale.c (new_composite_name): Fix test to check for
18159 identical name of all categories.
18160
aec84f53
UD
18161 [BZ #12792]
18162 * libio/filedoalloc.c (local_isatty): New function.
18163 (_IO_file_doallocate): Use local_isatty.
18164 * stdio-common/perror.c (perror): In case a new stream is used
18165 forward the stream error.
18166 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18167 error flag.
18168
78e64fdc
RT
181692011-05-20 Ulrich Drepper <drepper@gmail.com>
18170
34a9094f
UD
18171 [BZ #11869]
18172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18173 alloca.
18174 * include/alloca.h (extend_alloca_account): Define.
18175
78e64fdc
RT
18176 [BZ #11857]
18177 * posix/regex.h: Fix comments with documentation of user-accessible
18178 fields after compilation and describe correct free'ing of pattern
18179 after re_compile_pattern.
18180 Patch by Reuben Thomas <rrt@sc3d.org>.
18181
457bddfc
RA
181822011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18183
18184 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18185 and -mno-altivec to prevent the compiler from using Altivec and/or
18186 VSX instructions when the corresponding registers are not available.
18187
a4527b51
AS
181882011-05-19 Andreas Schwab <schwab@redhat.com>
18189
18190 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18191
ed690b2f
UD
181922011-05-19 Ulrich Drepper <drepper@gmail.com>
18193
18194 * libio/freopen.c (freopen): Use __dup2, not dup2.
18195 * libio/freopen64.c (freopen64): Likewise.
18196
8db73634
L
181972011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18198
18199 [BZ #12775]
18200 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18201 * math/Makefile (tests): Add test-powl.
18202 (CFLAGS-test-powl.c): Define.
18203 * math/test-powl.c: New file.
18204
0a197a9d
L
182052011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18206
18207 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18208
ee30c380
UD
182092011-05-17 Ulrich Drepper <drepper@gmail.com>
18210
18211 [BZ #11837]
18212 * iconvdata/gb18030.c: Update to GB18020-2005.
18213
6ce75379
UD
182142011-05-16 Ulrich Drepper <drepper@gmail.com>
18215
a4b89fd8
AR
18216 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18217 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18218 Patch by Aharon Robbins <arnold@skeeve.com>.
18219
ea389b12
UD
18220 [BZ #11892]
18221 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18222 on the stack.
18223
68a3f91f
UD
18224 [BZ #11895]
18225 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18226 through underflows.
18227
15cc7dd1
UD
18228 [BZ #12766]
18229 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18230 point to strings before performing equality test for error_one_per_line
18231 mode.
18232
f3799213
UD
18233 [BZ #11697]
18234 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18235
d79a9c94
UD
18236 [BZ #11820]
18237 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18238 (struct user_fpregs_struct): Avoid __uint*_t types.
18239
56e5eb46
UD
18240 [BZ #6420]
18241 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18242 symbol info. Use it instead of calling _dl_addr locally.
18243 (lock_and_info): New function.
18244 (tr_freehook): Call lock_and_info and pass symbol info as additional
18245 parameter to tr_where.
18246 (tr_mallochook): Likewise.
18247 (tr_reallochook): Likewise.
18248 (tr_memalignhook): Likewise.
18249
6ce75379
UD
18250 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18251 used and couldn't be at all thread-safe.
18252
f8a3b5bf
UD
182532011-05-15 Ulrich Drepper <drepper@gmail.com>
18254
94b7cc37
UD
18255 * libio/freopen.c (freopen): Don't close old file descriptor
18256 before the new one is opened. Instead dup the new file descriptor
18257 to the old one after the new stream is created.
18258 * libio/freopen64.c (freopen64): Likewise.
18259 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18260 * libio/fileops.c (_IO_new_file_close_it): Handle new
18261 _IO_FLAGS2_NOCLOSE flag.
18262 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18263 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18264 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18265 _IO_FLAGS2_NOCLOSE flag.
18266 * include/unistd.h: Add hidden_proto for dup3.
18267 Define __have_dup3.
18268 * io/dup3.c: Define hidden symbol.
18269 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18270
bd25564e
UD
18271 [BZ #7101]
18272 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18273 when an incomplete long option is used.
18274 * posix/tst-getopt_long1.c: New file.
18275 * posix/Makefile (tests): Add tst-getopt_long1.
18276
c84cfef4
UD
18277 [BZ #10138]
18278 * scripts/config.guess: Update from autoconf-2.68.
18279 * scripts/config.sub: Likewise.
18280
3b85df27
UD
18281 [BZ #10157]
18282 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18283 tests into ...
18284 (has_cpuclock): ...this. New function.
18285 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18286 macro here based on has_cpuclock code.
18287
15a856b1
UD
18288 [BZ #10149]
18289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18290 First byte (not low byte) is now always NUL.
18291 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18292
05f399e6
UD
18293 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18294 Use non-cancelable interfaces.
18295
10a52685 18296 [BZ #9809]
94ecc67d
UD
18297 * locale/iso-639.def: Add entry for Sorani.
18298
f8a3b5bf
UD
18299 [BZ #11901]
18300 * include/stdlib.h: Move include protection to the right place.
18301 Define abort_msg_s. Declare __abort_msg with it.
18302 * stdlib/abort.c (__abort_msg): Adjust type.
18303 * assert/assert.c (__assert_fail_base): New function. Majority
18304 of code from __assert_fail. Allocate memory for __abort_msg with
18305 mmap.
18306 (__assert_fail): Now call __assert_fail_base.
18307 * assert/assert-perr.c: Remove bulk of implementation. Use
18308 __assert_fail_base.
18309 * include/assert.hL Declare __assert_fail_base.
18310 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18311 mmap.
18312 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18313
1af4e298
UD
183142011-05-14 Ulrich Drepper <drepper@gmail.com>
18315
f8a3b5bf 18316 [BZ #11952]
d26dfc60
MG
18317 [BZ #12453]
18318 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18319 until all modules are registered in the DTV.
18320 * elf/Makefile: Add rules to build and run tst-tls19.
18321 * elf/tst-tls19.c: New file.
18322 * elf/tst-tls19mod1.c: New file.
18323 * elf/tst-tls19mod2.c: New file.
18324 * elf/tst-tls19mod3.c: New file.
18325 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18326
2fc54d6f
UD
18327 [BZ #12083]
18328 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18329 correctly.
18330
98d76b46
UD
18331 [BZ #12601]
18332 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18333 two-byte sequence errors.
18334 * iconvdata/Makefile (tests): Add bug-iconv8.
18335 * iconvdata/bug-iconv8.c: New file.
18336
da3c19ef
UD
18337 [BZ #12626]
18338 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18339 buf2 definition.
18340
ca408c15
UD
18341 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18342
d6f67f7d
UD
18343 [BZ #12432]
18344 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18345 (dummy_getcfa): New function.
18346 (init): Get _Unwind_GetCFA address, use dummy if not found.
18347 (backtrace_helper): In recursion check, also check whether CFA changes.
18348 (__backtrace): Completely initialize arg.
18349
1af4e298 18350 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18351 storing incomplete byte sequence in state object. Avoid testing for
18352 guaranteed too small input if we know there is enough data available.
1af4e298 18353
da62f81b
AS
183542011-05-11 Andreas Schwab <schwab@redhat.com>
18355
18356 * Makeconfig (+link-pie): Indent.
18357 * Rules (binaries-pie): Define if $(have-fpie) and
18358 $(build-shared).
18359 (binaries-shared): Also filter out $(binaries-pie).
18360 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18361 * nscd/Makefile (others-pie): Add nscd.
18362 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18363 ($(objpfx)nscd): Remove command override.
18364 * login/Makefile (others-pie): Add pt_chown.
18365 ($(objpfx)pt_chown): Remove command override.
18366 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18367 remove command overrides.
18368
fcabc0f8
UD
183692011-05-13 Ulrich Drepper <drepper@gmail.com>
18370
20030ae6
UD
18371 * libio/tst_putwc.c: Fix error messages.
18372
fcabc0f8
UD
18373 [BZ #12724]
18374 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18375 currently writing and seek to current position when not.
18376 * libio/Makefile (tests): Add bug-fclose1.
18377 * libio/bug-fclose1.c: New file.
18378
320a5dc0
PB
183792011-05-12 Ulrich Drepper <drepper@gmail.com>
18380
18381 [BZ #12511]
18382 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18383 don't set DF_1_NODELETE here.
18384 (do_lookup_x): When entering new entry test for copy relocation
18385 and if necessary set DF_1_NODELETE flag.
18386 * elf/tst-unique4.cc: New file.
18387 * elf/tst-unique4.h: New file.
18388 * elf/tst-unique4lib.cc: New file.
18389 * elf/Makefile: Add rules to build and run tst-unique4.
18390 Patch by Piotr Bury <pbury@goahead.com>.
18391
22836f52
UD
183922011-05-11 Ulrich Drepper <drepper@gmail.com>
18393
f574184a
UD
18394 [BZ #12052]
18395 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18396
e1fb097f
UD
18397 [BZ #12625]
18398 * misc/mntent_r.c (addmntent): Flush the stream after the output
18399
22836f52
UD
18400 [BZ #12393]
18401 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18402 (is_trusted_path_normalize): Skip initial colon. Append slash
18403 to empty buffer. Duplicate is_trusted_path code but allow
18404 constructed patch to be prefix.
18405 (is_dst): Allow $ORIGIN followed by /.
18406 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18407 Correct testing of result of is_trusted_path_normalize
18408 (decompose_rpath): Fix warning.
18409
7b3b0b2a
UD
184102011-05-10 Ulrich Drepper <drepper@gmail.com>
18411
18412 [BZ #11257]
18413 * grp/initgroups.c (internal_getgrouplist): When we found the service
18414 list through the initgroups entry in nsswitch.conf do not always
18415 continue on a successful lookup. Don't always use the
eac80ce2 18416 __nss_group_database value if it is set.
7b3b0b2a
UD
18417 * nss/nsswitch.conf (initgroups): Change action for successful db
18418 lookup to continue for compatibility.
18419
2a81eaa5
UD
184202011-05-09 Ulrich Drepper <drepper@gmail.com>
18421
be97a69e
UD
18422 [BZ #11532]
18423 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18424 and CP774 modules.
18425 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18426 and CP774 modules.
18427 * iconvdata/tst-tables.sh: Likewise.
18428 * iconvdata/cp770.c: New file.
18429 * iconvdata/cp771.c: New file.
18430 * iconvdata/cp772.c: New file.
18431 * iconvdata/cp773.c: New file.
18432 * iconvdata/cp774.c: New file.
18433 * iconvdata/testdata/CP770: New file.
18434 * iconvdata/testdata/CP770..UTF8: New file.
18435 * iconvdata/testdata/CP771: New file.
18436 * iconvdata/testdata/CP771..UTF8: New file.
18437 * iconvdata/testdata/CP772: New file.
18438 * iconvdata/testdata/CP772..UTF8: New file.
18439 * iconvdata/testdata/CP773: New file.
18440 * iconvdata/testdata/CP773..UTF8: New file.
18441 * iconvdata/testdata/CP774: New file.
18442 * iconvdata/testdata/CP774..UTF8: New file.
18443
18444 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18445 END CHARMAP line.
18446 * iconvdata/gen-8bit-gap.sh: Likewise.
18447 * iconvdata/gen-8bit.sh: Likewise.
18448
c1e9e399
UD
18449 * locale/iso-639.def: Add ary entry.
18450
24c55fb3 18451 [BZ #11258]
96b4b1b0
UD
18452 * locale/C-translit.h.in: Add U20A1 transliteration.
18453
bdc2f971
KB
18454 [BZ #12178]
18455 * locale/iso-639.def: Add wae entry.
18456 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18457
2952b117
UD
18458 [BZ #12545]
18459 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18460 for n.
18461
2a81eaa5
UD
18462 [BZ #12711]
18463 * locale/C-translit.h.in: Add entry for U20B9.
18464 Patch by pravin.d.s@gmail.com.
18465
28377d1b
UD
184662011-05-08 Ulrich Drepper <drepper@gmail.com>
18467
7fb90fb8
UD
18468 [BZ #12713]
18469 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18470 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18471 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18472 in rtld. Use *stat64.
7fb90fb8 18473 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18474 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18475 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18476 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18477 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18478 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18479 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18480 __fstatat64 macros.
7fb90fb8
UD
18481 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18482 * dirent/rewinddir.c: Add libc_hidden_def.
18483 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18484 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18485
28377d1b
UD
18486 * include/dirent.h (__alloc_dir): Add flags parameter.
18487 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18488 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18489 __alloc_dir.
18490 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18491 from fdopendir if O_CLOEXEC is already set.
18492
66bdbaa4
AM
184932011-03-15 Alan Modra <amodra@gmail.com>
18494
18495 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18496 l_tls_firstbyte_offset non-zero. Save padding offset in
18497 l_tls_firstbyte_offset for later use.
18498 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18499 freeing static tls block.
18500
95721191
JN
185012011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18502
18503 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18504 where #ifdef was intended. The intent is to prevent ARG_MAX from
18505 being defined by the kernel headers.
18506
f87dfb1f
UD
185072011-05-07 Ulrich Drepper <drepper@gmail.com>
18508
18509 [BZ #12734]
18510 * resolv/resolv.h: Define RES_NOTLDQUERY.
18511 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18512 no-tld-query and set RES_NOTLDQUERY.
18513 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18514 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18515 modern BIND to search name as TLD unless forbidden.
18516
47c3cd7a
UD
185172011-05-07 Petr Baudis <pasky@suse.cz>
18518 Ulrich Drepper <drepper@gmail.com>
18519
18520 [BZ #12393]
18521 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18522 (is_trusted_path): ...to here.
c1e9ea35 18523 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18524 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18525 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18526
8a35c912
PP
185272011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18528
18529 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18530 __BEGIN/__END_DECLS.
18531
acd41f47
UD
185322011-05-06 Ulrich Drepper <drepper@gmail.com>
18533
18534 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18535 NSS_STATUS_NOTFOUND if no record was found.
18536
597df647
AS
185372011-05-05 Andreas Schwab <schwab@redhat.com>
18538
18539 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18540 (headers-not-in-tirpc): Remove rpc/netdb.h
18541 * resolv/netdb.h: Revert last change.
18542
b9af1301
PP
185432011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18544
18545 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18546 circular dependency between libgcc.a and libc.a.
18547
4e34d5f5
AS
185482011-05-05 Andreas Schwab <schwab@redhat.com>
18549
18550 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18551 * nis/Makefile: Don't install rpcsvc/*.
18552 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18553 instead of <rpc/types.h>.
18554 (MAXHOSTNAMELEN): Define.
18555
00ee369c
AS
185562011-05-03 Andreas Schwab <schwab@redhat.com>
18557
18558 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18559
0b592a30
MB
185602011-04-28 Maciej Babinski <mbabinski@google.com>
18561
18562 [BZ #12714]
18563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18564 gethostbyname4_r when IPv6 results are possible.
18565
6e04cbbe
UD
185662011-05-02 Ulrich Drepper <drepper@gmail.com>
18567
18568 [BZ #12723]
18569 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18570 _PC_PIPE_BUF handling.
18571
e4ecafe0
BH
185722011-04-30 Bruno Haible <bruno@clisp.org>
18573
18574 [BZ #12717]
18575 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18576 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18577 to 'int'.
18578 * inet/getnameinfo.c (getnameinfo): Likewise.
18579
125ee683
UD
185802011-04-29 Ulrich Drepper <drepper@gmail.com>
18581
18582 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18583 to groups setting in database lookup.
18584 * nss/nsswitch.conf: Add initgroups entry.
18585
b722481a
EB
185862011-04-22 Ulrich Drepper <drepper@gmail.com>
18587
18588 [BZ #12685]
18589 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18590 mode string.
18591 Patch by Eric Blake <eblake@redhat.com>.
18592
4df46dbd
L
185932011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18594
18595 * sunrpc/Makefile (need-export-routines): Add svc_run.
18596 (routines): Remove svc_run.
18597 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18598 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18599 * sunrpc/svc_run.c (svc_run): Likewise.
18600 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18601
e84142d2
UD
186022011-04-21 Ulrich Drepper <drepper@gmail.com>
18603
18604 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18605 problem in reallocation in last patch.
18606
877175d8
UD
186072011-04-20 Ulrich Drepper <drepper@gmail.com>
18608
18609 * sunrpc/Makefile: Move inclusion of Rules.
18610
ab8eed78
UD
186112011-04-19 Ulrich Drepper <drepper@gmail.com>
18612
18613 * nss/nss_files/files-initgroups.c: New file.
18614 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18615 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18616 _nss_files_initgroups_dyn.
18617
e3d8f584
RS
186182011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18619
18620 * elf/elf.h (R_ARM_IRELATIVE): Define.
18621
af190f45
UD
186222011-04-19 Ulrich Drepper <drepper@gmail.com>
18623
18624 * po/ru.po: Update from translation team.
18625
53cf59ef
UD
186262011-04-17 Ulrich Drepper <drepper@gmail.com>
18627
18628 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18629 dependencies.
18630
4c559bcd
MF
186312011-02-06 Mike Frysinger <vapier@gentoo.org>
18632
18633 [BZ #12653]
18634 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18635 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18636 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18637 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18638 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18639
4420675c
AS
186402011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18641
18642 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18643 differing bytes.
18644 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18645 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18646 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18647
75ea32ab
UD
186482011-04-17 Ulrich Drepper <drepper@gmail.com>
18649
18650 [BZ #12420]
18651 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18652 storing it.
18653 * stdlib/bug-getcontext.c: New file.
18654 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18655
27390476
AK
186562011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18657
18658 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18659 instructions into .machine "z9-109".
18660 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18661 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18662
10442705
AK
186632011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18664
18665 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18666 between environment variables and auxiliary vector.
18667
7b57bfe5
UD
186682011-04-16 Ulrich Drepper <drepper@gmail.com>
18669
18670 * Makefile: Add rules to build linkobj/libc.so.
18671 * include/libc-symbols.h: Define libc_hidden_nolink.
18672 * include/rpc/auth.h: Mark functions which are to be hidden.
18673 * include/rpc/auth_des.h: Likewise.
18674 * include/rpc/auth_unix.h: Likewise.
18675 * include/rpc/clnt.h: Likewise.
18676 * include/rpc/des_crypt.h: Likewise.
18677 * include/rpc/key_prot.h: Likewise.
18678 * include/rpc/pmap_clnt.h: Likewise.
18679 * include/rpc/pmap_prot.h: Likewise.
18680 * include/rpc/pmap_rmt.h: Likewise.
18681 * include/rpc/rpc_msg.h: Likewise.
18682 * include/rpc/svc.h: Likewise.
18683 * include/rpc/svc_auth.h: Likewise.
18684 * include/rpc/xdr.h: Likewise.
18685 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18686 * nss/Makefile: Likewise.
18687 * sunrpc/Makefile: Don't install headers. Build library with normal
18688 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18689 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18690 for the compat linking library. Remove use of INTDEF/INTUSE.
18691 * sunrpc/auth_none.c: Likewise.
18692 * sunrpc/auth_unix.c: Likewise.
18693 * sunrpc/authdes_prot.c: Likewise.
18694 * sunrpc/authuxprot.c: Likewise.
18695 * sunrpc/clnt_gen.c: Likewise.
18696 * sunrpc/clnt_perr.c: Likewise.
18697 * sunrpc/clnt_raw.c: Likewise.
18698 * sunrpc/clnt_simp.c: Likewise.
18699 * sunrpc/clnt_tcp.c: Likewise.
18700 * sunrpc/clnt_udp.c: Likewise.
18701 * sunrpc/clnt_unix.c: Likewise.
18702 * sunrpc/des_crypt.c: Likewise.
18703 * sunrpc/des_soft.c: Likewise.
18704 * sunrpc/get_myaddr.c: Likewise.
18705 * sunrpc/key_call.c: Likewise.
18706 * sunrpc/key_prot.c: Likewise.
18707 * sunrpc/netname.c: Likewise.
18708 * sunrpc/pm_getmaps.c: Likewise.
18709 * sunrpc/pm_getport.c: Likewise.
18710 * sunrpc/pmap_clnt.c: Likewise.
18711 * sunrpc/pmap_prot.c: Likewise.
18712 * sunrpc/pmap_prot2.c: Likewise.
18713 * sunrpc/pmap_rmt.c: Likewise.
18714 * sunrpc/publickey.c: Likewise.
18715 * sunrpc/rpc_cmsg.c: Likewise.
18716 * sunrpc/rpc_common.c: Likewise.
18717 * sunrpc/rpc_dtable.c: Likewise.
18718 * sunrpc/rpc_prot.c: Likewise.
18719 * sunrpc/rpc_thread.c: Likewise.
18720 * sunrpc/rtime.c: Likewise.
18721 * sunrpc/svc.c: Likewise.
18722 * sunrpc/svc_auth.c: Likewise.
18723 * sunrpc/svc_authux.c: Likewise.
18724 * sunrpc/svc_raw.c: Likewise.
18725 * sunrpc/svc_run.c: Likewise.
18726 * sunrpc/svc_simple.c: Likewise.
18727 * sunrpc/svc_tcp.c: Likewise.
18728 * sunrpc/svc_udp.c: Likewise.
18729 * sunrpc/svc_unix.c: Likewise.
18730 * sunrpc/svcauth_des.c: Likewise.
18731 * sunrpc/xcrypt.c: Likewise.
18732 * sunrpc/xdr.c: Likewise.
18733 * sunrpc/xdr_array.c: Likewise.
18734 * sunrpc/xdr_float.c: Likewise.
18735 * sunrpc/xdr_intXX_t.c: Likewise.
18736 * sunrpc/xdr_mem.c: Likewise.
18737 * sunrpc/xdr_rec.c: Likewise.
18738 * sunrpc/xdr_ref.c: Likewise.
18739 * sunrpc/xdr_sizeof.c: Likewise.
18740 * sunrpc/xdr_stdio.c: Likewise.
18741
e6c61494
UD
187422011-04-10 Ulrich Drepper <drepper@gmail.com>
18743
18744 [BZ #12650]
18745 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18746 * sysdeps/ia64/dl-tls.h: Likewise.
18747 * sysdeps/powerpc/dl-tls.h: Likewise.
18748 * sysdeps/s390/dl-tls.h: Likewise.
18749 * sysdeps/sh/dl-tls.h: Likewise.
18750 * sysdeps/sparc/dl-tls.h: Likewise.
18751 * sysdeps/x86_64/dl-tls.h: Likewise.
18752 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18753
34fe483e
AS
187542011-03-14 Andreas Schwab <schwab@redhat.com>
18755
18756 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18757 rpath element also skip the following colon.
18758 (expand_dynamic_string_token): Add is_path parameter and pass
18759 down to DL_DST_REQUIRED and _dl_dst_substitute.
18760 (decompose_rpath): Call expand_dynamic_string_token with
18761 non-zero is_path. Ignore empty rpaths.
18762 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18763 with zero is_path.
18764
f12a32e6
AS
187652011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18766
18767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18768 Make cancelable.
18769
38a7d692
UD
187702011-04-09 Ulrich Drepper <drepper@gmail.com>
18771
18772 [BZ #12655]
18773 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18774 Patch by Filipe David Manana <fdmanana@apache.org>.
18775
e451d22b
AS
187762011-04-07 Andreas Schwab <schwab@redhat.com>
18777
18778 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18779 Maintain aligned stack.
18780 (CHECK_RSP): Remove unused macro.
18781
dedc7c7b
UD
187822011-04-03 Ulrich Drepper <drepper@gmail.com>
18783
18784 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18785 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18786
94521213
UD
187872011-04-02 Ulrich Drepper <drepper@gmail.com>
18788
18789 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18790
8cb700c0 18791 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18792
0354e355
L
187932011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18794
18795 [BZ #12518]
18796 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18797 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18798 * sysdeps/x86_64/memmove.c: New file.
18799 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18800 (memcpy): Renamed to ...
18801 (__new_memcpy): This.
18802 (memcpy): Provide GLIBC_2_14 memcpy.
18803 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18804 (memcpy): Provide GLIBC_2_2_5 memcpy.
18805
8593482f
UD
188062011-04-01 Ulrich Drepper <drepper@gmail.com>
18807
18808 [BZ #12631]
18809 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18810
81a5726b
AS
188112011-03-30 Andreas Schwab <schwab@redhat.com>
18812
18813 * misc/syncfs.c: New file.
18814 * misc/Makefile (routines): Add syncfs.
18815 * posix/unistd.h: Declare syncfs.
18816 * sysdeps/unix/syscalls.list: Add syncfs.
18817
00e5419f
AS
188182011-04-01 Andreas Schwab <schwab@redhat.com>
18819
18820 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18821 open_by_handle_at.
18822 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18823 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18824 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18825 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18826 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18827 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18828 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18829
748876bf
UD
188302011-04-01 Ulrich Drepper <drepper@gmail.com>
18831
658e451d
UD
18832 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18833 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18834 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18835 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18836 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18838 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18839
748876bf
UD
18840 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18841 sync_file_range.c with -fexceptions.
18842 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18843 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18844 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18845 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18846 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18847 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18849 sync_file_range as cancellation point
18850 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18851 now a wrapper around __call_sync_file_range with cancellation handling.
18852 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18853 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18854 function name to __call_sync_file_range.
18855 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18856 Add call_sync_file_range.
748876bf 18857
6e63d5e1
AS
188582011-04-01 Andreas Schwab <schwab@redhat.com>
18859
18860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18861 bits/timex.h.
6e63d5e1 18862
46998f74
UD
188632011-04-01 Ulrich Drepper <drepper@gmail.com>
18864
4c1423ed
UD
18865 * iconv/iconv.h: Fix typo in comment.
18866 * io/fcntl.h: Likewise.
18867 * libio/stdio.h: Likewise.
18868 * posix/spawn.h: Likewise.
18869 * posix/unistd.h: Likewise.
18870 * stdlib/stdlib.h: Likewise.
18871 * time/time.h: Likewise.
18872 * wcsmbs/wchar.h: Likewise.
18873
158648c0
UD
18874 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18875 open_by_handle): Add.
18876 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18877 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18878 Augment a few comments.
18879 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18880 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18881 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18882 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18883 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18884 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18885 open_by_handle.
18886
46998f74
UD
18887 * io/fcntl.h (AT_EMPTY_PATH): Define.
18888
83fe108b
UD
188892011-03-30 Ulrich Drepper <drepper@gmail.com>
18890
18891 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18892 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18893 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18894 to...
18895 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18896 * Versions.def: Add GLIBC_2.14.
18897 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18898 Export.
83fe108b 18899
bb242059
UD
189002011-03-22 Ulrich Drepper <drepper@gmail.com>
18901
18902 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18903 round counter.
18904 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18905
c97a1282
L
189062011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18907
18908 [BZ #12597]
18909 * string/test-strncmp.c (do_page_test): New function.
18910 (check2): Likewise.
18911 (test_main): Call check2.
18912 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18913
2a115601
UD
189142011-03-20 Ulrich Drepper <drepper@gmail.com>
18915
18916 [BZ #12587]
18917 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18918 Handle cache information in CPU leaf 4.
18919 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18920
8126d904
UD
189212011-03-18 Ulrich Drepper <drepper@gmail.com>
18922
042c49c6 18923 [BZ #12583]
8126d904
UD
18924 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18925 character representation.
18926 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18927
ccfe366e
RA
189282011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18929
18930 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18931 END(__isnan) to END(__isnanf) to match function entry point/label
18932 EALIGN(__isnanf,...).
18933
c6e13027
JJ
189342011-03-10 Jakub Jelinek <jakub@redhat.com>
18935
18936 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18937
33f85a3f
UD
189382011-03-10 Ulrich Drepper <drepper@gmail.com>
18939
028478fa
UD
18940 [BZ #12510]
18941 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18942 copy from the symbol referenced in the relocation to initialize the
18943 used variable.
18944 Patch by Piotr Bury <pbury@goahead.com>.
18945 * elf/Makefile: Add rules to build and tst-unique3.
18946 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18947 * elf/tst-unique3.cc: New file.
18948 * elf/tst-unique3.h: New file.
18949 * elf/tst-unique3lib.cc: New file.
18950 * elf/tst-unique3lib2.cc: New file.
18951
33f85a3f
UD
18952 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18953
03592fc7
MF
189542011-03-10 Mike Frysinger <vapier@gentoo.org>
18955
18956 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18957 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18958 to _start.
03592fc7 18959
6a5ee102
UD
189602011-03-06 Ulrich Drepper <drepper@gmail.com>
18961
18962 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18963 to-be-loaded object along a path to loader is ld.so.
18964
7e4ba49c
HJ
189652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18966 Ulrich Drepper <drepper@gmail.com>
18967
18968 * sysdeps/x86_64/memset.S: After aligning destination, code
18969 branches to different locations depending on the value of
18970 misalignment, when multiarch is enabled. Fix this.
18971
189722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18973
18974 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18975 Set _x86_64_preferred_memory_instruction for AMD processsors.
18976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18977 Set bit_Prefer_SSE_for_memop for AMD processors.
18978
13a804de
UD
189792011-03-04 Ulrich Drepper <drepper@gmail.com>
18980
18981 * libio/fmemopen.c (fmemopen): Optimize a bit.
18982
9d25c392
AS
189832011-03-03 Andreas Schwab <schwab@redhat.com>
18984
18985 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18986
a5543c6a
RM
189872011-03-03 Roland McGrath <roland@redhat.com>
18988
18989 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18990
012d35f7
DM
189912011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18992
7e4ba49c 18993 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18994 __bzero_ultra1 instead of __memset_ultra1.
18995
4bff6e01
AS
189962011-02-23 Andreas Schwab <schwab@redhat.com>
18997 Ulrich Drepper <drepper@gmail.com>
18998
18999 [BZ #12509]
19000 * include/link.h (struct link_map): Add l_orig_initfini.
19001 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19002 returning unsuccessfully.
19003 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19004 close of a file loaded at startup, restore the original l_initfini
19005 list.
19006 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19007 list, store the pointer.
19008 * elf/Makefile ($(objpfx)noload-mem): New rule.
19009 (noload-ENV): Define.
19010 (tests): Add $(objpfx)noload-mem.
19011 * elf/noload.c: Include <memcheck.h>.
19012 (main): Call mtrace. Close all opened handles.
19013
f2092faf
AS
190142011-02-17 Andreas Schwab <schwab@redhat.com>
19015
19016 [BZ #12454]
19017 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19018 dependencies are missing.
19019
6c8a2e88
ST
190202011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19021
f2092faf 19022 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
19023 Hurd needs munmap.
19024 * sysdeps/mach/hurd/ifreq.h: New file.
19025
84a42118
PB
190262011-01-27 Petr Baudis <pasky@suse.cz>
19027 Ulrich Drepper <drepper@gmail.com>
19028
071f805e 19029 [BZ 12445]#
84a42118
PB
19030 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19031 to extend_alloca().
19032 * stdio-common/bug23.c: New file.
19033 * stdio-common/Makefile (tests): Add bug23.
19034
e23fe25b
AS
190352010-09-28 Andreas Schwab <schwab@redhat.com>
19036 Ulrich Drepper <drepper@gmail.com>
19037
19038 [BZ #12489]
19039 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19040 before performing relro protection. At old place add assertion
19041 to make sure nothing changed.
19042
d3f02e10
NS
190432011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19044 Glauber de Oliveira Costa <glommer@gmail.com>
19045
19046 * elf/elf.h: Add new ARM TLS relocs.
19047
d55fd7a5
RA
190482011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19049
19050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19051 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19052 cast from r3.
19053 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19054 'tests' variable.
19055 * sysdeps/wordsize-64/tst-writev.c: New file.
19056
2206397e
RA
190572011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19058
19059 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19060 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19061 insns in _dl_start to prevent a TOC reference before relocs are
19062 resolved.
19063
e9433893
UD
190642011-02-15 Ulrich Drepper <drepper@gmail.com>
19065
19066 [BZ #12469]
19067 * Makeconfig: Remove RANLIB definition.
19068 * Makerules: Don't use RANLIB.
19069 * aclocal.m4: Remove ranlib test.
19070 * configure.in: No need to check for ranlib.
19071 * elf/rtld-Rules: Don't use RANLIB.
19072
f75286c6
ST
190732011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19074
8e31c82d
ST
19075 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19076 protection macro.
19077 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19078 inclusion protection macro.
19079
f75286c6
ST
19080 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19081 SIGRTMIN and SIGRTMAX and print information in that case only when
19082 SIGRTMIN is defined.
19083
c1d0e639
JJ
190842011-02-11 Jakub Jelinek <jakub@redhat.com>
19085
19086 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19087 arginfo fn returning -1.
19088
19089 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19090 and thousands string is zero terminated.
19091
edf9294e
AS
190922011-02-03 Andreas Schwab <schwab@redhat.com>
19093
19094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19095 sysdeps/unix/sysv/linux/bits/socket.h.
19096
2b7e92df
ST
190972011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19098
edf9294e
AS
19099 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19100 (__CPU_COUNT): Remove old macros.
19101 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19102 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19103 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
19104 (__sched_cpualloc, __sched_cpufree): Add declarations.
19105
a4c7ea7b
UD
191062011-02-05 Ulrich Drepper <drepper@gmail.com>
19107
19108 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19109 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19110 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19111 (readdhstai): Return value of addhstaiX call.
19112 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19113 (addgrbyX): Return value returned by cache_addgr.
19114 (readdgrbyname): Return value returned by addgrbyX.
19115 (readdgrbygid): Likewise.
19116 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19117 (addpwbyX): Return value returned by cache_addpw.
19118 (readdpwbyname): Return value returned by addhstbyX.
19119 (readdpwbyuid): Likewise.
19120 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19121 (addservbyX): Return value returned by cache_addserv.
19122 (readdservbyname): Return value returned by addservbyX:
19123 (readdservbyport): Likewise.
19124 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19125 (addhstbyX): Return value returned by cache_addhst.
19126 (readdhstbyname): Return value returned by addhstbyX.
19127 (readdhstbyaddr): Likewise.
19128 (readdhstbynamev6): Likewise.
19129 (readdhstbyaddrv6): Likewise.
19130 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19131 (readdinitgroups): Return value returned by addinitgroupsX.
19132 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19133 (prune_cache): Keep track of timeout value of re-added entries.
19134 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19135 * nscd/nscd.h: Adjust prototypes of readd* functions.
19136
a0bf67cc
RM
191372011-02-04 Roland McGrath <roland@redhat.com>
19138
19139 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19140 (nis_stats): Likewise.
19141 * nis/nis_modify.c (nis_modify): Likewise.
19142 * nis/nis_remove.c (nis_remove): Likewise.
19143 * nis/nis_add.c (nis_add): Likewise.
19144
19145 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19146
19147 * posix/fnmatch_loop.c: Add some consts.
19148
19149 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19150
435b95eb
L
191512011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19152
19153 [BZ #12460]
19154 * config.make.in (config-cflags-novzeroupper): Define.
19155 * configure.in: Substitute libc_cv_cc_novzeroupper.
19156 * elf/Makefile (AVX-CFLAGS): Define.
19157 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19158 (CFLAGS-tst-auditmod4a.c): Likewise.
19159 (CFLAGS-tst-auditmod4b.c): Likewise.
19160 (CFLAGS-tst-auditmod6b.c): Likewise.
19161 (CFLAGS-tst-auditmod6c.c): Likewise.
19162 (CFLAGS-tst-auditmod7b.c): Likewise.
19163 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19164
8517b15e
UD
191652011-02-02 Ulrich Drepper <drepper@gmail.com>
19166
19167 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19168 function to the callback.
19169 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19170
10a656fe
AS
191712011-02-02 Andreas Schwab <schwab@redhat.com>
19172
19173 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19174 of errno.
19175
968dad0a
UD
191762011-01-19 Ulrich Drepper <drepper@gmail.com>
19177
9f94d2ea 19178 [BZ #11724]
968dad0a
UD
19179 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19180 of constructors.
19181 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19182 of destructors.
19183 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19184
19185 [BZ #11724]
19186 * elf/Makefile: Add rules to build and run new test.
19187 * elf/tst-initorder.c: New file.
19188 * elf/tst-initorder.exp: New file.
19189 * elf/tst-initordera1.c: New file.
19190 * elf/tst-initordera2.c: New file.
19191 * elf/tst-initordera3.c: New file.
19192 * elf/tst-initordera4.c: New file.
19193 * elf/tst-initorderb1.c: New file.
19194 * elf/tst-initorderb2.c: New file.
19195 * elf/tst-order-a1.c: New file.
19196 * elf/tst-order-a2.c: New file.
19197 * elf/tst-order-a3.c: New file.
19198 * elf/tst-order-a4.c: New file.
19199 * elf/tst-order-b1.c: New file.
19200 * elf/tst-order-b2.c: New file.
19201 * elf/tst-order-main.c: New file.
19202 New test case by George Gensure <werkt0@gmail.com>.
19203
86e92359
UD
192042010-10-01 Andreas Schwab <schwab@redhat.com>
19205
19206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19207 decoding ACE if AI_CANONIDN.
19208
5d5732b0
UD
192092011-01-18 Ulrich Drepper <drepper@gmail.com>
19210
19211 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19212
a77e8cbc
UD
192132011-01-17 Ulrich Drepper <drepper@gmail.com>
19214
6392473f
UD
19215 * version.h (RELEASE): Bump for 2.13 release.
19216 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19217
620a0529
UD
19218 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19219
18ba70a5
UD
19220 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19221 MADV_NOHUGEPAGE.
32465c3e
UD
19222 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19223 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19224 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19225 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19226 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19227 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19228
c0dafcf1
UD
19229 * posix/getconf.c: Update copyright year.
19230 * catgets/gencat.c: Likewise.
19231 * csu/version.c: Likewise.
19232 * debug/catchsegv.sh: Likewise.
19233 * debug/xtrace.sh: Likewise.
19234 * elf/ldconfig.c: Likewise.
19235 * elf/ldd.bash.in: Likewise.
19236 * elf/sprof.c (print_version): Likewise.
19237 * iconv/iconv_prog.c: Likewise.
19238 * iconv/iconvconfig.c: Likewise.
19239 * locale/programs/locale.c: Likewise.
19240 * locale/programs/localedef.c: Likewise.
19241 * malloc/memusage.sh: Likewise.
19242 * malloc/mtrace.pl: Likewise.
19243 * nscd/nscd.c (print_version): Likewise.
19244 * nss/getent.c: Likewise.
19245
a77e8cbc
UD
19246 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19247 PF_CAIF, and PF_ALG.
19248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19249
77e8bddf
AS
192502011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19251
1f20b93a
AS
19252 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19253 (modules-names): Use them.
19254 (ifunc-test-modules, ifunc-pie-tests): Define.
19255 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19256 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19257 (test-extras): Likewise.
19258 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19259 $(compile-command.c).
19260 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19261 (all-built-dso): Define.
19262 (check-textrel.out, check-execstack.out): Depend on it.
19263
77e8bddf
AS
19264 * configure.in: Don't override --enable-multi-arch.
19265
bc425b33
UD
192662011-01-15 Ulrich Drepper <drepper@gmail.com>
19267
19268 [BZ #6812]
19269 * nscd/hstcache.c (tryagain): Define.
19270 (cache_addhst): Return tryagain not notfound for temporary errors.
19271 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19272 failed.
19273
794c3ad3
UD
192742011-01-14 Ulrich Drepper <drepper@gmail.com>
19275
70181fdd
UD
19276 [BZ #10563]
19277 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19278 to make the syscall.
19279 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19280
794c3ad3
UD
19281 [BZ #12378]
19282 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19283 and fall back to matching as normal character if the string ends before
19284 the matching ']' is found. This is what POSIX requires.
19285 * posix/testfnm.c: Adjust test result.
19286 * posix/globtest.sh: Adjust test result. Add new test.
19287 * posix/tst-fnmatch.input: Likewise.
19288 * posix/tst-fnmatch2.c: Add new test.
19289
68dc9497
AS
192902010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19291
19292 * elf/Makefile (check-execstack): Revert last change. Depend on
19293 check-execstack.h.
19294 (check-execstack.h): New target.
19295 (generated): Add check-execstack.h.
19296 * elf/check-execstack.c: Include "check-execstack.h".
19297 (main): Revert last change.
19298 (handle_file): Return zero if GNU_STACK is absent and
19299 DEFAULT_STACK_PERMS doesn't include PF_X.
19300
451f001b
UD
193012011-01-13 Ulrich Drepper <drepper@gmail.com>
19302
cfa28e56
UD
19303 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19304 in child fails because the descriptor is already closed.
8cf8ce17
UD
19305 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19306 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19307 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19308
1086d70d
UD
19309 [BZ #12397]
19310 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19311 syscall.
19312
451f001b
UD
19313 [BZ #10484]
19314 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19315 temporary buffer used to handle multi lookups locally.
a85b5cb4 19316 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19317
08769175
UD
193182011-01-12 Ulrich Drepper <drepper@gmail.com>
19319
19320 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19321 loader is ld.so.
19322
5e49c52e
UD
193232011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19324
19325 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19326 alignment for SSE2.
19327
60522a5f
UD
193282011-01-12 Ulrich Drepper <drepper@gmail.com>
19329
19330 [BZ #12394]
19331 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19332 characters. When rounding increased number of integer digits recompute
19333 number of groups.
19334 * stdio-common/tst-grouping.c: New file.
19335 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19336
f257bbd7
UD
193372011-01-09 Ulrich Drepper <drepper@gmail.com>
19338
19339 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19340 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19341
19342 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19343 void.
19344 * bits/select.h: Likewise.
19345
fa9c15cb
UD
193462011-01-08 Ulrich Drepper <drepper@gmail.com>
19347
19348 * po/ja.po: Update from translation team.
19349
16c2895f
DM
193502011-01-04 David S. Miller <davem@sunset.davemloft.net>
19351
19352 [BZ #11155]
19353 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19354 implementation just like for lxstat, fxstatat, et al.
19355
2543fef2
JM
193562010-12-27 Jim Meyering <meyering@redhat.com>
19357
19358 [BZ #12348]
19359 * posix/regexec.c (build_trtable): Return failure indication upon
19360 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19361
98727dbe
UD
193622010-12-25 Ulrich Drepper <drepper@gmail.com>
19363
5bd6dc5c
UD
19364 [BZ #12201]
19365 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19366 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19367 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19368 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19369
97983464
UD
19370 [BZ #12207]
19371 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19372
98727dbe
UD
19373 [BZ #12204]
19374 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19375 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19376
4a531bb0
L
193772010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19378
19379 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19380 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19381 script has SORT_BY_INIT_PRIORITY.
19382 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19383 NO_CTORS_DTORS_SECTIONS is defined.
19384 * elf/soinit.c: Likewise.
19385 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19386 NO_CTORS_DTORS_SECTIONS is defined.
19387 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19388 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19389 * sysdeps/sh/init-first.c: Likewise.
19390 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19391
07eb4b71
UD
193922010-12-24 Ulrich Drepper <drepper@gmail.com>
19393
19394 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19395 always use the slow path.
19396
30950a5f
RA
193972010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19398
19399 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19400 similar rule which adds the sysdep directories to the header search in
19401 order to pick up the correct platform stackinfo.h.
19402 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19403 perform test if it is, otherwise return successfully without testing.
19404 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19405 DEFAULT_STACK_PERMS define in stackinfo.h.
19406 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19407 defined in stackinfo.h.
19408 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19409 DEFAULT_STACK_PERMS defined in stackinfo.h.
19410 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19411 * sysdeps/ia64/stackinfo.h: Likewise.
19412 * sysdeps/s390/stackinfo.h: Likewise.
19413 * sysdeps/sh/stackinfo.h: Likewise.
19414 * sysdeps/sparc/stackinfo.h: Likewise.
19415 * sysdeps/x86_64/stackinfo.h: Likewise.
19416 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19417 PF_X for powerpc64. Retain PF_X for powerpc32.
19418
db753e2c
UD
194192010-12-19 Ulrich Drepper <drepper@gmail.com>
19420
14b697f7
UD
19421 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19422 accurately.
db753e2c
UD
19423 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19424 GETDENTS_64BIT_ALIGNED.
19425
28300719
UD
194262010-12-14 Ulrich Drepper <dreper@gmail.com>
19427
14b697f7 19428 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19429
4f197237
AS
194302010-12-10 Andreas Schwab <schwab@redhat.com>
19431
dbb0472f
AS
19432 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19433 _GNU_SOURCE.
19434
4f197237
AS
19435 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19436 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19437 Remove __restrict.
19438 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19439 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19440
fb88ac72
UD
194412010-12-09 Ulrich Drepper <drepper@gmail.com>
19442
19443 [BZ #11655]
19444 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19445 are initialized.
19446
42acbb92
JJ
194472010-12-09 Jakub Jelinek <jakub@redhat.com>
19448
19449 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19450
c038d98d
UD
194512010-12-03 Ulrich Drepper <drepper@gmail.com>
19452
19453 * po/it.po: Update from translation team.
19454
3a4a2499
L
194552010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19456
19457 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19458 unused codes.
19459
1e24cf6e
UD
194602010-11-30 Ulrich Drepper <drepper@gmail.com>
19461
19462 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19463
a7690819
AS
194642010-11-24 Andreas Schwab <schwab@redhat.com>
19465
19466 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19467 specially.
19468 (gaih_getanswer_slice): Likewise.
19469
3bf8d1b1
JJ
194702010-10-20 Jakub Jelinek <jakub@redhat.com>
19471
19472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19473
6db52fbb
PB
194742010-05-31 Petr Baudis <pasky@suse.cz>
19475
19476 [BZ #11149]
19477 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19478 silently even in the chroot mode.
19479
eaca7569
UD
194802010-11-22 Ulrich Drepper <drepper@gmail.com>
19481
19482 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19483 last patch a bit. Pretty printing
19484
3056dcdb
UD
194852010-05-31 Petr Baudis <pasky@suse.cz>
19486
19487 [BZ #10085]
19488 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19489 initialization of skip_initgroups_dyn.
19490
cf7c9078
UD
194912010-11-19 Ulrich Drepper <drepper@gmail.com>
19492
19493 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19494 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19495
a1fb5e3e
UD
194962010-11-16 Ulrich Drepper <drepper@gmail.com>
19497
19498 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19499
3540d66b
AS
195002010-11-11 Andreas Schwab <schwab@redhat.com>
19501
19502 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19503 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19504 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19505 ($(objpfx)tst-fnmatch-mem): New rule.
19506 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19507 * posix/tst-fnmatch.c (main): Call mtrace.
19508
13b69574
L
195092010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19510
19511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19512 Support Intel processor model 6 and model 0x2c.
19513
da93d214
LM
195142010-11-10 Luis Machado <luisgpm@br.ibm.com>
19515
19516 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19517 signed comparison.
19518
8ca52c6e
L
195192010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19520
19521 [BZ #12205]
19522 * string/test-strncasecmp.c (check_result): New function.
19523 (do_one_test): Use it.
19524 (check1): New function.
19525 (test_main): Use it.
19526 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19527 Support strcasecmp and strncasecmp.
19528
69da074d
UD
195292010-11-08 Ulrich Drepper <drepper@gmail.com>
19530
19531 [BZ #12194]
19532 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19533 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19534
ff02d528
L
195352010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19536
19537 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19538 IFUNC support.
19539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19540 memset-x86-64.
19541 * sysdeps/x86_64/multiarch/bzero.S: New file.
19542 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19543 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19544 * sysdeps/x86_64/multiarch/memset.S: New file.
19545 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19547 Set bit_Prefer_SSE_for_memop for Intel processors.
19548 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19549 Define.
19550 (index_Prefer_SSE_for_memop): Define.
19551 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19552
344d0b54
LM
195532010-11-04 Luis Machado <luisgpm@br.ibm.com>
19554
19555 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19556 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19557
c0dde15b
UD
195582010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19559
19560 [BZ #12191]
19561 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19562 (__x86_64_raw_data_cache_size_half): Likewise.
19563 (__x86_64_raw_shared_cache_size): Likewise.
19564 (__x86_64_raw_shared_cache_size_half): Likewise.
19565
19566 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19567 (__x86_64_raw_data_cache_size_half): Likewise.
19568 (__x86_64_raw_shared_cache_size): Likewise.
19569 (__x86_64_raw_shared_cache_size_half): Likewise.
19570 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19571 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19572 and __x86_64_raw_shared_cache_size_half. Round
19573 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19574 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19575 to multiple of 256 bytes.
19576
0e516e0e
MS
195772010-11-03 Ulrich Drepper <drepper@gmail.com>
19578
19579 [BZ #12167]
19580 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19581 of inacessible symlinks. Verify result of symlink before returning it.
19582 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19583 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19584
0e012e87
ER
195852010-10-28 Erich Ritz <erichritz@gmail.com>
19586
19587 * math/math.h (isinf): Fix typo in comment.
19588
de0ff7bc
UD
195892010-11-01 Ulrich Drepper <drepper@gmail.com>
19590
19591 * po/da.po: Update from translation team.
19592
fa41c84d
UD
195932010-10-26 Ulrich Drepper <drepper@gmail.com>
19594
19595 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19596 is added to the list.
19597
f0967738
AK
195982010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19599 Ulrich Drepper <drepper@gmail.com>
19600
19601 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19602 the global list here. Move code to...
19603 (_dl_add_to_namespace_list): ...here. New function.
19604 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19605 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19606 * elf/dl-load.c (lose): Don't remove the element from the list.
19607 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19608 (_dl_map_object): Likewise.
19609
196102010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19611
19612 [BZ #12159]
19613 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19614 into all bytes of SSE register.
19615 Patch by Richard Li <richardpku@gmail.com>.
19616
f0967738 196172010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19618
19619 [BZ #12140]
19620 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19621 perturbing.
19622
d0b9e94f
MB
196232010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19624
19625 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19626 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19627 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19628 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19630 submachine.
19631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19632
8e9f92e9
AS
196332010-10-22 Andreas Schwab <schwab@redhat.com>
19634
19635 * include/dlfcn.h (__RTLD_SECURE): Define.
19636 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19637 mode & __RTLD_SECURE instead.
19638 (open_path): Rename preloaded parameter to secure.
19639 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19640 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19641 * elf/dl-deps.c (openaux): Likewise.
19642 * elf/rtld.c (struct map_args): Remove is_preloaded.
19643 (map_doit): Don't use it.
19644 (dl_main): Likewise.
19645 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19646 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19647
bc96fbda
AS
196482010-09-09 Andreas Schwab <schwab@redhat.com>
19649
19650 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19651 (sysd-rules-targets): Remove duplicates.
19652 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19653 rtld-%.$o dependency.
19654
22cd1c9b
AS
196552010-10-18 Andreas Schwab <schwab@redhat.com>
19656
19657 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19658 _dl_map_object do it.
19659
18edac48
UD
196602010-10-19 Ulrich Drepper <drepper@gmail.com>
19661
19662 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19663 fast fma builtins, define the macros in the C99 standard.
19664 (FP_FAST_FMAF): Likewise.
19665 (FP_FAST_FMAL): Likewise.
19666 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19667
19668 * bits/mathdef.h: Update copyright year.
19669 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19670
d2050124
MM
196712010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19672
19673 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19674 builtins, define the macros in the C99 standard.
19675 (FP_FAST_FMAF): Likewise.
19676 (FP_FAST_FMAL): Likewise.
19677 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19678 multiply/add.
19679 (FP_FAST_FMAF): Likewise.
19680
475facd1
JJ
196812010-10-15 Jakub Jelinek <jakub@redhat.com>
19682
19683 [BZ #3268]
19684 * math/libm-test.inc (fma_test): Some new testcases.
19685 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19686 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19687 y and infinite z. Do multiplication by C already in long double.
19688 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19689 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19690 y and infinite z. Do bitwise or of inexact bit into u.d.
19691 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19692 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19693 * sysdeps/i386/fpu/s_fma.S: Removed.
19694 * sysdeps/i386/fpu/s_fmal.S: Removed.
19695
7c08a05c
JJ
196962010-10-16 Jakub Jelinek <jakub@redhat.com>
19697
19698 [BZ #3268]
19699 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19700 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19701 computation is not scheduled after fetestexcept. Fix value
19702 of minimum denormal long double.
19703
f3f7372d
JJ
197042010-10-14 Jakub Jelinek <jakub@redhat.com>
19705
19706 [BZ #3268]
19707 * math/libm-test.inc (fma_test): Add some more tests.
19708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19709 correctly.
19710
14d43591
AS
197112010-10-15 Andreas Schwab <schwab@redhat.com>
19712
19713 * scripts/data/localplt-s390-linux-gnu.data: New file.
19714 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19715
5e908464
JJ
197162010-10-13 Jakub Jelinek <jakub@redhat.com>
19717
19718 [BZ #3268]
19719 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19720 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19721 instead of dbl-64.
19722 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19723 inlines.
19724 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19725 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19726 if one of x and y is very large and the other is subnormal.
19727 * sysdeps/s390/fpu/s_fmaf.c: New file.
19728 * sysdeps/s390/fpu/s_fma.c: New file.
19729 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19730 * sysdeps/powerpc/fpu/s_fma.S: New file.
19731 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19732 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19733 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19734
197352010-10-12 Jakub Jelinek <jakub@redhat.com>
19736
19737 [BZ #3268]
19738 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19739 fma tests.
19740 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19741 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19742 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19743 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19744 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19745 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19746 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19747
b833d51f
UD
197482010-10-12 Ulrich Drepper <drepper@redhat.com>
19749
19750 [BZ #12078]
19751 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19752 * posix/bug-regex31.input: Add test case.
19753
1751705d
UD
197542010-10-11 Ulrich Drepper <drepper@gmail.com>
19755
e9b9cbf5
UD
19756 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19757 * posix/bug-regex31.input: New file.
19758
19759 [BZ #12078]
19760 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19761 (parse_sub_exp): Fix last change, use postorder.
19762
ef06edbe
UD
19763 * posix/bug-regex31.c: New file.
19764 * posix/Makefile: Add rules to build and run bug-regex31.
19765
a129c80d
UD
19766 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19767
19768 [BZ #12078]
19769 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19770
b76b818e
UD
19771 [BZ #12108]
19772 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19773 to have entries in sys_siglist.
19774
1751705d
UD
19775 [BZ #12093]
19776 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19777 be NULL.
19778
9ff8d36f
JJ
197792010-10-07 Jakub Jelinek <jakub@redhat.com>
19780
19781 [BZ #3268]
19782 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19783 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19784 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19785 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19786 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19787 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19788 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19789 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19790 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19791 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19792 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19793 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19794 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19795 * math/ftestexcept.c (fetestexcept): Likewise.
19796 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19797 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19798 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19799 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19800 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19801 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19802 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19803
af325969
UD
198042010-10-11 Ulrich Drepper <drepper@gmail.com>
19805
c579b202 19806 [BZ #12107]
af325969
UD
19807 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19808 newline.
19809
67a67b95
UD
198102010-10-06 Ulrich Drepper <drepper@gmail.com>
19811
19812 * string/bug-strstr1.c: New file.
19813 * string/Makefile: Add rules to build and run bug-strstr1.
19814
5fb308bc
EB
198152010-10-05 Eric Blake <eblake@redhat.com>
19816
19817 [BZ #12092]
19818 * string/str-two-way.h (two_way_long_needle): Always clear memory
19819 when skipping input due to the shift table.
19820
45db99c7
UD
198212010-10-03 Ulrich Drepper <drepper@gmail.com>
19822
3b111893
UD
19823 [BZ #12005]
19824 * malloc/mcheck.c: Handle large requests.
19825
45db99c7
UD
19826 [BZ #12077]
19827 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19828 for strncmp and strncasecmp.
19829 * string/stratcliff.c: Add tests for strcmp and strncmp.
19830 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19831
cf7a1eb8
NI
198322010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19833
19834 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19835 __set_fpscr.
19836
6484ba5e
AJ
198372010-09-30 Andreas Jaeger <aj@suse.de>
19838
19839 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19840 (CGROUP_SUPER_MAGIC): Define.
19841 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19842 Handle btrfs and cgroup file systems.
19843 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19844 Likewise.
19845
91c42559
LM
198462010-09-27 Luis Machado <luisgpm@br.ibm.com>
19847
19848 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19849 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19850
87a97932
AK
198512010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19852
19853 [BZ #12067]
19854 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19855 trying to locate the ELF header.
19856
c21cc9bc
AS
198572010-09-27 Andreas Schwab <schwab@redhat.com>
19858
19859 [BZ #11611]
19860 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19861 Mask out sign-bit copies when constructing f_fsid.
19862
315970f6
PB
198632010-09-24 Petr Baudis <pasky@suse.cz>
19864
19865 * debug/stack_chk_fail_local.c: Add missing licence exception.
19866 * debug/warning-nop.c: Likewise.
19867
1ac7a2c7
JM
198682010-09-15 Joseph Myers <joseph@codesourcery.com>
19869
19870 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19871 implementing getdents64 using getdents syscall, set d_type if
19872 __ASSUME_GETDENTS32_D_TYPE.
19873
56801c50
AS
198742010-09-16 Andreas Schwab <schwab@redhat.com>
19875
19876 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19877 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19878
dda51327
UD
198792010-09-21 Ulrich Drepper <drepper@redhat.com>
19880
19881 [BZ #12037]
19882 * posix/unistd.h: Undo change of feature selection for ftruncate from
19883 2010-01-11.
19884
8ffcee4a
UD
198852010-09-20 Ulrich Drepper <drepper@redhat.com>
19886
a545ecd9 19887 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19888 detection.
19889
e24f0a8b
AS
198902010-09-20 Andreas Schwab <schwab@redhat.com>
19891
19892 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19893 fanotify_mark.
19894 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19895
7291c56f
AS
198962010-09-14 Andreas Schwab <schwab@redhat.com>
19897
19898 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19899 variables after CHECK_SP call.
19900 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19901
bc5fb037
AS
199022010-09-13 Andreas Schwab <schwab@redhat.com>
19903 Ulrich Drepper <drepper@redhat.com>
19904
19905 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19906 re-relocationg ld.so.
19907 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19908 _dl_init_paths call.
19909 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19910 here anymore.
19911
e66e7419
UD
199122010-09-14 Ulrich Drepper <drepper@redhat.com>
19913
19914 * resolv/res_init.c (__res_vinit): Count the default server we added.
19915
c044aa75
CLT
199162010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19917 Ulrich Drepper <drepper@redhat.com>
19918
19919 [BZ #11968]
19920 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19921 (____longjmp_chk): Use %ebx for saving value across system call.
19922 Add unwind info.
19923
32cf4069
AS
199242010-09-06 Andreas Schwab <schwab@redhat.com>
19925
19926 * manual/Makefile: Don't mix pattern rules with normal rules.
19927
817328ee
AS
199282010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19929
19930 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19931 operation.
19932 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19933 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19934 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19935 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19936 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19937 Likewise.
19938
29fddf61
UD
199392010-09-04 Ulrich Drepper <drepper@redhat.com>
19940
19941 [BZ #11979]
19942 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19943 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19944
0959ffc9
UD
199452010-09-02 Ulrich Drepper <drepper@redhat.com>
19946
19947 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19948 * sysdeps/x86_64/addmul_1.S: Likewise.
19949 * sysdeps/x86_64/lshift.S: Likewise.
19950 * sysdeps/x86_64/mul_1.S: Likewise.
19951 * sysdeps/x86_64/rshift.S: Likewise.
19952 * sysdeps/x86_64/sub_n.S: Likewise.
19953 * sysdeps/x86_64/submul_1.S: Likewise.
19954
ece29840
ST
199552010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19956
0959ffc9
UD
19957 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19958 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19959 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19960 * bits/sched.h [__need_schedparam]
ece29840 19961 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19962 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19963 (__defined_schedparam): Define to 1.
ece29840
ST
19964 (__sched_param): New structure, identical to sched_param.
19965 (__need_schedparam): Undefine.
19966
e53a31fe
MF
199672010-08-31 Mike Frysinger <vapier@gentoo.org>
19968
fdc0c10d
MF
19969 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19970 (epoll_create1): Declare.
19971
e53a31fe
MF
19972 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19973
a726d796
AS
199742010-08-31 Andreas Schwab <schwab@redhat.com>
19975
19976 [BZ #7066]
19977 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19978 shifting retval into place.
19979
2f3e3dc7
UD
199802010-09-01 Ulrich Drepper <drepper@redhat.com>
19981
f2933da9
UD
19982 * nis/rpcsvc/nis.h: Update copyright notice.
19983 * nis/rpcsvc/nis.x: Likewise.
19984 * nis/rpcsvc/nis_callback.h: Likewise.
19985 * nis/rpcsvc/nis_callback.x: Likewise.
19986 * nis/rpcsvc/nis_object.x: Likewise.
19987 * nis/rpcsvc/nis_tags.h: Likewise.
19988 * nis/rpcsvc/yp.h: Likewise.
19989 * nis/rpcsvc/yp.x: Likewise.
19990 * nis/rpcsvc/ypupd.h: Likewise.
19991 * nis/yp_xdr.c: Likewise.
19992 * nis/ypupdate_xdr.c: Likewise.
19993
2f3e3dc7
UD
19994 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19995 mainly the body of pmap_getport. Add parameters to specify timeouts.
19996 (pmap_getport): Use __libc_rpc_getport.
19997 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19998 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19999 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20000
f3dcc2f9
AS
200012010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20002
20003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20004 fanotify_mark.
20005
6d34eb5b
RM
200062010-08-27 Roland McGrath <roland@redhat.com>
20007
20008 * sysdeps/i386/i686/multiarch/Makefile
20009 (CFLAGS-varshift.c): New variable.
20010
9ea3de11
UD
200112010-08-27 Ulrich Drepper <drepper@redhat.com>
20012
c96d23fc
UD
20013 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20014 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20015
9ea3de11
UD
20016 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20017
20018 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20019
623aac7f
L
200202010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20021
20022 * sysdeps/x86_64/strlen.S: Unroll the loop.
20023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20024 strlen-sse2 strlen-sse2-bsf.
20025 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20026 __strlen_no_bsf if bit_Slow_BSF is set.
20027 (__strlen_sse42): Removed.
20028 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20029 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20030
8b2b7715
RM
200312010-08-25 Roland McGrath <roland@redhat.com>
20032
20033 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20034 * sysdeps/x86_64/multiarch/varshift.c: New file.
20035 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20036 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20037 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20038 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20039
e73015f2
L
200402010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20041
20042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20043 strlen-sse2 strlen-sse2-bsf.
20044 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20045 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20046 (__strlen_sse2): Removed.
20047 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20048 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20050 bit_Slow_BSF for Atom.
20051 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20052 (index_Slow_BSF): Define.
20053 (HAS_SLOW_BSF): Define.
20054
df24a73e
UD
200552010-08-25 Ulrich Drepper <drepper@redhat.com>
20056
20057 [BZ #10851]
20058 * resolv/res_init.c (__res_vinit): When no server address at all
20059 is given default to loopback.
20060
f2ac4868
RM
200612010-08-24 Roland McGrath <roland@redhat.com>
20062
09055553
RM
20063 * configure.in: Remove config-name.h generation.
20064 * configure: Regenerated.
20065 * config-name.in: File removed.
20066 * scripts/config-uname.sh: New file.
20067 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20068 ($(objdir)config-name.h): New target.
20069
f2ac4868
RM
20070 * sunrpc/rpc_parse.h: Avoid nested comment.
20071
73f27d5e
RH
200722010-08-24 Richard Henderson <rth@redhat.com>
20073 Ulrich Drepper <drepper@redhat.com>
20074 H.J. Lu <hongjiu.lu@intel.com>
20075
20076 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20078 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20079 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20080 _mm_alignr_epi8 with _mm_loadu_si128.
20081 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20082 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20083 (__m128i_shift_right): Removed.
20084 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20085 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20086 * sysdeps/x86_64/multiarch/varshift.h: New file.
20087 * sysdeps/x86_64/multiarch/varshift.S: New file.
20088
84b9230c
MF
200892010-08-21 Mike Frysinger <vapier@gentoo.org>
20090
20091 * configure.in: Move assembler checks to before sysdep dir checking.
20092
9bbd0ddc
PB
200932010-08-20 Petr Baudis <pasky@suse.cz>
20094
20095 * LICENSES: Sync the sunrpc license.
20096
9da4bb31
UD
200972010-08-19 Ulrich Drepper <drepper@redhat.com>
20098
a7ab6ec8
UD
20099 * sunrpc/auth_des.c: Update copyright notice once again.
20100 * sunrpc/auth_none.c: Likewise.
20101 * sunrpc/auth_unix.c: Likewise.
20102 * sunrpc/authdes_prot.c: Likewise.
20103 * sunrpc/authuxprot.c: Likewise.
20104 * sunrpc/bindrsvprt.c: Likewise.
20105 * sunrpc/clnt_gen.c: Likewise.
20106 * sunrpc/clnt_perr.c: Likewise.
20107 * sunrpc/clnt_raw.c: Likewise.
20108 * sunrpc/clnt_simp.c: Likewise.
20109 * sunrpc/clnt_tcp.c: Likewise.
20110 * sunrpc/clnt_udp.c: Likewise.
20111 * sunrpc/clnt_unix.c: Likewise.
20112 * sunrpc/des_crypt.c: Likewise.
20113 * sunrpc/des_soft.c: Likewise.
20114 * sunrpc/get_myaddr.c: Likewise.
20115 * sunrpc/getrpcport.c: Likewise.
20116 * sunrpc/key_call.c: Likewise.
20117 * sunrpc/key_prot.c: Likewise.
20118 * sunrpc/openchild.c: Likewise.
20119 * sunrpc/pm_getmaps.c: Likewise.
20120 * sunrpc/pm_getport.c: Likewise.
20121 * sunrpc/pmap_clnt.c: Likewise.
20122 * sunrpc/pmap_prot.c: Likewise.
20123 * sunrpc/pmap_prot2.c: Likewise.
20124 * sunrpc/pmap_rmt.c: Likewise.
20125 * sunrpc/rpc/auth.h: Likewise.
20126 * sunrpc/rpc/auth_unix.h: Likewise.
20127 * sunrpc/rpc/clnt.h: Likewise.
20128 * sunrpc/rpc/des_crypt.h: Likewise.
20129 * sunrpc/rpc/key_prot.h: Likewise.
20130 * sunrpc/rpc/netdb.h: Likewise.
20131 * sunrpc/rpc/pmap_clnt.h: Likewise.
20132 * sunrpc/rpc/pmap_prot.h: Likewise.
20133 * sunrpc/rpc/pmap_rmt.h: Likewise.
20134 * sunrpc/rpc/rpc.h: Likewise.
20135 * sunrpc/rpc/rpc_des.h: Likewise.
20136 * sunrpc/rpc/rpc_msg.h: Likewise.
20137 * sunrpc/rpc/svc.h: Likewise.
20138 * sunrpc/rpc/svc_auth.h: Likewise.
20139 * sunrpc/rpc/types.h: Likewise.
20140 * sunrpc/rpc/xdr.h: Likewise.
20141 * sunrpc/rpc_clntout.c: Likewise.
20142 * sunrpc/rpc_cmsg.c: Likewise.
20143 * sunrpc/rpc_common.c: Likewise.
20144 * sunrpc/rpc_cout.c: Likewise.
20145 * sunrpc/rpc_dtable.c: Likewise.
20146 * sunrpc/rpc_hout.c: Likewise.
20147 * sunrpc/rpc_main.c: Likewise.
20148 * sunrpc/rpc_parse.c: Likewise.
20149 * sunrpc/rpc_parse.h: Likewise.
20150 * sunrpc/rpc_prot.c: Likewise.
20151 * sunrpc/rpc_sample.c: Likewise.
20152 * sunrpc/rpc_scan.c: Likewise.
20153 * sunrpc/rpc_scan.h: Likewise.
20154 * sunrpc/rpc_svcout.c: Likewise.
20155 * sunrpc/rpc_tblout.c: Likewise.
20156 * sunrpc/rpc_util.c: Likewise.
20157 * sunrpc/rpc_util.h: Likewise.
20158 * sunrpc/rpcinfo.c: Likewise.
20159 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20160 * sunrpc/rpcsvc/key_prot.x: Likewise.
20161 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20162 * sunrpc/rpcsvc/mount.x: Likewise.
20163 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20164 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20165 * sunrpc/rpcsvc/rex.x: Likewise.
20166 * sunrpc/rpcsvc/rstat.x: Likewise.
20167 * sunrpc/rpcsvc/rusers.x: Likewise.
20168 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20169 * sunrpc/rpcsvc/spray.x: Likewise.
20170 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20171 * sunrpc/rtime.c: Likewise.
20172 * sunrpc/svc.c: Likewise.
20173 * sunrpc/svc_auth.c: Likewise.
20174 * sunrpc/svc_authux.c: Likewise.
20175 * sunrpc/svc_raw.c: Likewise.
20176 * sunrpc/svc_run.c: Likewise.
20177 * sunrpc/svc_simple.c: Likewise.
20178 * sunrpc/svc_tcp.c: Likewise.
20179 * sunrpc/svc_udp.c: Likewise.
20180 * sunrpc/svc_unix.c: Likewise.
20181 * sunrpc/svcauth_des.c: Likewise.
20182 * sunrpc/xcrypt.c: Likewise.
20183 * sunrpc/xdr.c: Likewise.
20184 * sunrpc/xdr_array.c: Likewise.
20185 * sunrpc/xdr_float.c: Likewise.
20186 * sunrpc/xdr_mem.c: Likewise.
20187 * sunrpc/xdr_rec.c: Likewise.
20188 * sunrpc/xdr_ref.c: Likewise.
20189 * sunrpc/xdr_sizeof.c: Likewise.
20190 * sunrpc/xdr_stdio.c: Likewise.
20191
9da4bb31
UD
20192 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20193 handling.
20194
bdaa77bc
AS
201952010-08-19 Andreas Schwab <schwab@redhat.com>
20196
20197 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20198
fe2f79db
LM
201992010-08-19 Luis Machado <luisgpm@br.ibm.com>
20200
20201 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20202 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20203 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20204 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20205 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20206 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20207 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20208 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20209 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20210 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20211 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20212 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20213 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20214 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20215
b9b42ee0
AB
202162010-07-26 Anton Blanchard <anton@samba.org>
20217
20218 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20219 * malloc/arena.c (heap_trim): Likewise.
20220
1c06ba31
UD
202212010-08-16 Ulrich Drepper <drepper@redhat.com>
20222
20223 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20224 here. Not...
20225 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20226 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20227
f8392f40
L
202282010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20229
20230 * sysdeps/i386/elf/Makefile: New file.
20231
3162f12e
AS
202322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20233
20234 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20235 from fanotify_init.
20236 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20237 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20238
28c90b2c
UD
202392010-08-15 Ulrich Drepper <drepper@redhat.com>
20240
20241 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20242 of strncasecmp_l.
1feccb6c 20243 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20244
ca6bb004
UD
202452010-08-14 Ulrich Drepper <drepper@redhat.com>
20246
e9f82e0d
UD
20247 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20248 strncase_l-nonascii.
20249 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20250 Add strncase_l-ssse3.
20251 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20252 * sysdeps/x86_64/strcmp.S: Likewise.
20253 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20254 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20255 * sysdeps/x86_64/strncase.S: New file.
20256 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20257 * sysdeps/x86_64/strncase_l.S: New file.
20258 * string/Makefile (strop-tests): Add strncasecmp.
20259 * string/test-strncasecmp.c: New file.
20260
20261 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20262 warning.
20263
ca6bb004
UD
20264 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20265 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20266
052fa7b3
AS
202672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20268
20269 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20270
962dba78
UD
202712010-08-12 Ulrich Drepper <drepper@redhat.com>
20272
20273 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20274 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20275 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20276
bebff237
AM
202772010-05-01 Alan Modra <amodra@gmail.com>
20278
20279 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20280 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20281 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20282 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20283 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20284 tidying. Don't tail-call __sigjmp_save for static lib.
20285 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20286 save location.
20287 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20288 (CALL_MCOUNT): Add eh info, and nop after bl.
20289 (TAIL_CALL_SYSCALL_ERROR): New macro.
20290 (PSEUDO_RET): Use it.
20291 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20292 Correct save location of integer regs and cr.
20293 (_dl_profile_resolve): Correct cr save location. Delete nops
20294 after bl when SHARED. Reduce cfi size a little by better
20295 placement of cfi directives.
20296 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20297 make a stack frame. Instead use parm save area as a temp.
20298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20299 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20301 Don't make a stack frame for parent, use parm save area.
20302 Increase child stack frame to 112 bytes. Don't save unused reg,
20303 and adjust reg usage. Set up cfi on error recovery and
20304 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20306 (__makecontext): Add dummy nop after jump to exit.
20307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20308 Use correct parm save area and cr save, reduce stack frame.
20309 Correct cfi for possible PSEUDO_RET frame setup.
20310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20311 Branch to local label emitted by PSEUDO_RET rather than
20312 __syscall_error.
20313
02637374
AS
203142010-08-12 Andreas Schwab <schwab@redhat.com>
20315
20316 [BZ #11904]
20317 * locale/programs/locale.c (print_assignment): New function.
20318 (show_locale_vars): Use it.
20319
c3e2f19b
UD
203202010-08-11 Ulrich Drepper <drepper@redhat.com>
20321
3cdaa6ad
UD
20322 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20323 field.
20324 (struct statfs64): Likewise.
20325 (_STATFS_F_FLAGS): Define.
20326 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20327 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20328 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20329 (ST_VALID): Define locally.
20330 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20331 __statvfs_getflags, use the provided value.
20332 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20333 __ASSUME_STATFS_F_FLAGS.
20334
754f7da3
UD
20335 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20336
10b3bedc
UD
20337 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20338 Add sys/fanotify.h.
20339 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20340 fanotify_mask for GLIBC_2.13.
20341 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20342 fanotify_init and fanotify_mark.
20343 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20344 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20345
c08fb0d7
UD
20346 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20347 Add prlimit.
20348 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20349 prlimit64 for GLIBC_2.13.
20350 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20351 prlimit64.
20352 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20353 syscall.
20354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20355 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20356 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20357 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20358 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20359 add prlimit alias.
20360 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20361
15bac72b
UD
20362 [BZ #11903]
20363 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20364 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20365
c3e2f19b
UD
20366 * nss/Makefile: Add rules to build and run tst-nss-test1.
20367 * shlib-versions: Add entry for libnss_test1.
20368 * nss/nss_test1.c: New file.
20369 * nss/tst-nss-test1.c: New file.
20370
20371 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20372 (__nss_configure_lookup): Set appropriate entry in
20373 __nss_configure_lookup to true.
20374 * nss/nsswitch.h: Define enum with indeces of databases in
20375 databases and __nss_database_custom arrays. Declare
20376 __nss_database_custom.
20377 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20378 to avoid using nscd when custom rules are installed.
20379 * nss/getXXbyYY_r.c: Likewise.
20380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20381
20382 * nss/nss_files/files-parse.c: Whitespace fixes.
20383
f15ce4d8
UD
203842010-08-09 Ulrich Drepper <drepper@redhat.com>
20385
20386 [BZ #11883]
20387 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20388 * posix/fnmatch_loop.c: Likewise.
20389
d22e4cc9
AK
203902010-07-17 Andi Kleen <ak@linux.intel.com>
20391
20392 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20393 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20394 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20395 * Versions.def [GLIBC_2.13]: Add.
20396
805bc17d
UD
203972010-08-06 Ulrich Drepper <drepper@redhat.com>
20398
20399 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20400 Also fail if tpwd after pwuid call is NULL.
20401
5a42321d
ST
204022010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20403
20404 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20405 when converting to ms.
20406
fd3ebeda
ST
204072010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20408
20409 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20410 EOPNOTSUPP errors with ENOTTY.
20411 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20412 EOPNOTSUPP errors with ENOTTY.
20413
73507d3a
UD
204142010-07-31 Ulrich Drepper <drepper@redhat.com>
20415
20416 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20417 Add strcasecmp_l-ssse3.
20418 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20419 strcasecmp.
20420 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20421 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20422 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20423
fe36dd02
UD
204242010-07-30 Ulrich Drepper <drepper@redhat.com>
20425
66f6765a
UD
20426 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20427
42e08a54
UD
20428 * string/Makefile (strop-tests): Add strcasecmp.
20429 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20430 strcasecmp_l-nonascii.
20431 (gen-as-const-headers): Add locale-defines.sym.
20432 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20433 * sysdeps/x86_64/strcasecmp.S: New file.
20434 * sysdeps/x86_64/strcasecmp_l.S: New file.
20435 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20436 * sysdeps/x86_64/locale-defines.sym: New file.
20437 * string/test-strcasecmp.c: New file.
20438
fe36dd02
UD
20439 * string/test-strcasestr.c: Test both ends of the range of characters.
20440 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20441
48cbc0d6
RM
204422010-07-29 Roland McGrath <roland@redhat.com>
20443
76e6d6bc 20444 [BZ #11856]
48cbc0d6
RM
20445 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20446
880113d9
UD
204472010-07-27 Ulrich Drepper <drepper@redhat.com>
20448
20449 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20450 for ld.so.
20451
deb9cabb
AS
204522010-07-27 Andreas Schwab <schwab@redhat.com>
20453
20454 * manual/memory.texi (Malloc Tunable Parameters): Document
20455 M_PERTURB.
20456
1c7570ff
RM
204572010-07-26 Roland McGrath <roland@redhat.com>
20458
20459 [BZ #11840]
20460 * configure.in (-fgnu89-inline check): Set and substitute
20461 gnu89_inline, not libc_cv_gnu89_inline.
20462 * configure: Regenerated.
20463 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20464
24fb0f88
UD
204652010-07-26 Ulrich Drepper <drepper@redhat.com>
20466
20467 * string/test-strnlen.c: New file.
20468 * string/Makefile (strop-tests): Add strnlen.
20469 * string/tester.c (test_strnlen): Add a few more test cases.
20470 * string/tst-strlen.c: Better error reporting.
20471
20472 * sysdeps/x86_64/strnlen.S: New file.
20473
8e96b93a
UD
204742010-07-24 Ulrich Drepper <drepper@redhat.com>
20475
20476 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20477 lower-latency instructions.
20478
dbc676d4
UD
204792010-07-23 Ulrich Drepper <drepper@redhat.com>
20480
20481 * string/test-strcasestr.c: New file.
20482 * string/test-strstr.c: New file.
20483 * string/Makefile (strop-tests): Add strstr and strcasestr.
20484 * string/str-two-way.h: Don't undefine MAX.
20485 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20486
f6a31e0e
AS
204872010-07-21 Andreas Schwab <schwab@redhat.com>
20488
20489 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20490 strcasestr-nonascii.
20491 (CFLAGS-strcasestr-nonascii.c): Define.
20492 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20493 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20494 Remove unused attribute.
20495
5dbc3b6c
RM
204962010-07-20 Roland McGrath <roland@redhat.com>
20497
20498 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20499 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20500 ld.so.cache was broken. With it, there is no way to disable dsocaps
20501 like LD_HWCAP_MASK can disable hwcaps.
20502
23d101d8
EPM
205032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20504
20505 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20506
cc9f2e47
UD
205072010-07-16 Ulrich Drepper <drepper@redhat.com>
20508
20509 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20510 call in strcasestr.
20511 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20512 __strcasestr_sse42_nonascii.
20513 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20514 strcasestr-nonascii.c.
20515 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20516
77c1b069
LM
205172010-06-15 Luis Machado <luisgpm@br.ibm.com>
20518
20519 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20520 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20521 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20522 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20523
440566c3
UD
205242010-07-09 Ulrich Drepper <drepper@redhat.com>
20525
20526 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20527 fcntl.
20528
5be9d05d
AS
205292010-07-06 Andreas Schwab <schwab@redhat.com>
20530
c30b7ee2 20531 [BZ #11577]
5be9d05d
AS
20532 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20533 dl_signal_cerror.
20534
8a492a67
UD
205352010-07-06 Ulrich Drepper <drepper@redhat.com>
20536
20537 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20538 _PC_PIPE_BUF using F_GETPIPE_SZ.
20539
713df3d5
RM
205402010-07-05 Roland McGrath <roland@redhat.com>
20541
20542 * manual/arith.texi (Rounding Functions): Fix rint description
20543 implicit in round description.
20544
702e8f14
UD
205452010-07-02 Ulrich Drepper <drepper@redhat.com>
20546
20547 * elf/Makefile: Fix linking for a few tests to make recent linker
20548 happy.
20549
52ed8be9
AS
205502010-06-30 Andreas Schwab <schwab@redhat.com>
20551
20552 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20553 $(common-objpfx)libc_nonshared.a.
20554
f47c9a11
LM
205552010-06-21 Luis Machado <luisgpm@br.ibm.com>
20556
20557 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20558 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20559 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20560 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20561 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20562 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20563 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20564 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20579 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20580 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20581 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20582 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20583 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20584 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20585 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20586 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20587 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20588 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20589 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20590 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20605
6fb8cbcb
L
206062010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20607
20608 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20609 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20610 * string/memmove.c (memmove): Renamed to ...
20611 (MEMMOVE): ...this. Default to memmove.
20612 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20613 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20614 (END_CHK): Define.
20615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20616 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20617 mempcpy-ssse3-back memmove-ssse3-back.
20618 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20619 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20620 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20621 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20622 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20623 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20624 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20625 * sysdeps/x86_64/multiarch/memmove.c: New file.
20626 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20627 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20628 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20629 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20630 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20631 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20632 Define.
20633 (index_Fast_Copy_Backward): Define.
20634 (HAS_ARCH_FEATURE): Define.
20635 (HAS_FAST_REP_STRING): Define.
20636 (HAS_FAST_COPY_BACKWARD): Define.
20637
4e733bac 206382010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20639
20640 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20641 Restore proper fallback handling.
20642
63c4ed22
UD
206432010-06-19 Ulrich Drepper <drepper@redhat.com>
20644
ac2b484c
UD
20645 [BZ #11701]
20646 * posix/group_member.c (__group_member): Correct checking loop.
20647
63c4ed22
UD
20648 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20649 OOM in getpwuid_r correctly. Return error number when the caller
20650 should return, otherwise -1.
20651 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20652 call returning > 0 value.
20653 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20654
765ade4b
AS
206552010-06-07 Andreas Schwab <schwab@redhat.com>
20656
20657 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20658 libc_nonshared.a from targets in modules-names.
20659
80da2e09
KS
206602010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20661
20662 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20663 requires it.
20664
158db122
LM
206652010-06-10 Luis Machado <luisgpm@br.ibm.com>
20666
20667 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20668 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20669 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20670 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20671
caa78cf8
AS
206722010-06-02 Andreas Schwab <schwab@redhat.com>
20673
20674 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20675
b2ef2c01
UD
206762010-06-14 Ulrich Drepper <drepper@redhat.com>
20677
20678 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20679 and F_GETPIPE_SZ.
20680 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20681 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20685 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20686
fbd643b6
RM
206872010-06-14 Roland McGrath <roland@redhat.com>
20688
20689 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20690
f32f2869
JJ
206912010-06-07 Jakub Jelinek <jakub@redhat.com>
20692
20693 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20694 __REDIRECT followed by __THROW.
20695 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20696 * posix/getopt.h (getopt): Likewise.
20697
2a50c078
EPM
206982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20699
20700 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20701 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20702 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20703 in AT_FLAGS.
20704 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20705 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20706
eb5ad2eb
LM
207072010-05-28 Luis Machado <luisgpm@br.ibm.com>
20708
20709 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20710
3c88fe1e
L
207112010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20712
20713 [BZ #11640]
20714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20715 Properly check family and model.
20716
d2f73151
TY
207172010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20718
20719 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20720
ebd2e13d
LM
207212010-05-24 Luis Machado <luisgpm@br.ibm.com>
20722
20723 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20724
b32b8b45
UD
207252010-05-21 Ulrich Drepper <drepper@redhat.com>
20726
20727 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20728 symbol reference.
20729
9acbe24d
AS
207302010-05-19 Andreas Schwab <schwab@redhat.com>
20731
20732 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20733 symbol reference.
20734
f0ccf6ea
AS
207352010-05-21 Andreas Schwab <schwab@redhat.com>
20736
3d04ff3a
AS
20737 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20738 and internal_recvmmsg.
20739 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20740 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20741 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20742 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20743
f0ccf6ea
AS
20744 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20745 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20746 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20747
5b08ac57
AS
207482010-05-20 Andreas Schwab <schwab@redhat.com>
20749
20750 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20751
4828935d
LM
207522010-05-17 Luis Machado <luisgpm@br.ibm.com>
20753
20754 POWER7 optimizations.
20755 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20756 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20757
373d545e
UD
207582010-05-19 Ulrich Drepper <drepper@redhat.com>
20759
20760 * version.h: Update for 2.13 development version.
20761
21a2b1ae
AS
207622010-05-12 Andrew Stubbs <ams@codesourcery.com>
20763
20764 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20765 exceptions. Return 0.
20766
3f7dcb2b
RM
207672010-05-07 Roland McGrath <roland@redhat.com>
20768
20769 * elf/ldconfig.c (main): Add a const.
20770
5f24d53a 207712010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20772
a160f8d8
UD
20773 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20774 (args_options): Add no-idn option.
20775 (ahosts_keys_int): Add idn_flags to ai_flags.
20776 (parse_option): Handle 'i' option to clear idn_flags.
20777
5f24d53a
UD
20778 * malloc/malloc.c (_int_free): Possible race in the most recently
20779 added check. Only act on the data if no current modification
20780 happened.
265bb1ce
UD
20781
20782See ChangeLog.17 for earlier changes.