]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove ${SHELL} from tst-table.sh/tst-tables.sh
[thirdparty/glibc.git] / ChangeLog
CommitLineData
54399c08
L
12012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2
3 * iconvdata/tst-table.sh: Remove ${SHELL}.
4 * iconvdata/tst-tables.sh: Likewise.
5
e2211bed
DM
62012-10-25 David S. Miller <davem@davemloft.net>
7
8 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10 of strtoull.
11
f303f97c
DM
12 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13 ifunc-impl-list.c
14 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17 file.
18
1e9d84cd
RM
192012-10-25 Roland McGrath <roland@hack.frob.com>
20
21 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23 __getdirentries.
24
df381762
JM
252012-10-25 Joseph Myers <joseph@codesourcery.com>
26 Jim Blandy <jimb@codesourcery.com>
27
28 * scripts/cross-test-ssh.sh: New file.
29 * manual/install.texi (Configuring and compiling): Document use of
30 cross-test-ssh.sh.
31 * INSTALL: Regenerated.
32
bff64913
PT
332012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34
35 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36 EOPNOTSUPP.
37
25fe8932
JM
382012-10-25 Joseph Myers <joseph@codesourcery.com>
39
40 * Makeconfig (run-program-prefix): Fix comment.
41
cc1290d0
JM
422012-10-24 Joseph Myers <joseph@codesourcery.com>
43 Jim Blandy <jimb@codesourcery.com>
44
45 * Makeconfig (test-wrapper): New variable,
46 (test-wrapper-env): Likewise.
47 [$(cross-compiling) = yes && $(test-wrapper) != ""]
48 (run-built-tests): Define to yes.
49 (run-program-prefix): Use $(test-wrapper).
50 (built-program-cmd): Likewise.
51 * Rules (make-test-out): Use $(test-wrapper-env) and
52 $(host-built-program-cmd).
53 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55 tst-pathopt.sh.
56 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57 $(test-wrapper-env) to tst-rtld-load-self.sh.
58 ($(objpfx)order2.out): Use $(test-wrapper).
59 ($(objpfx)tst-initorder.out): Likewise.
60 ($(objpfx)tst-initorder2.out): Likewise.
61 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
63 (test_wrapper_env): New variable. Use it to run ld.so.
64 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65 Use it to run ld.so.
66 (test_wrapper_env): Likewise.
67 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
68 $(test-wrapper) to run-iconv-test.sh.
69 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
70 (ICONV): Use $test_wrapper.
71 * posix/Makefile ($(objpfx)globtest.out): Pass
72 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
73 globtest.sh, not $(run-program-prefix).
74 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75 (test_wrapper): Likewise.
76 (test_wrapper_env): Likewise. Use it to run globtest with HOME
77 set together with run_via_rtld_prefix.
78 (run_program_prefix): Define in terms of test_wrapper and
79 run_via_rtld_prefix.
80
6e6249d0
RM
812012-10-24 Roland McGrath <roland@hack.frob.com>
82
83 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
84 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
85 Targets removed.
86
87 [BZ #14743]
88 * include/time.h: Remove librt_hidden_proto (clock_gettime).
89 Declare __clock_getres, __clock_gettime, __clock_settime,
90 __clock_nanosleep, and __clock_getcpuclockid.
91 * rt/clock_gettime.c: Define __clock_gettime as an alias.
92 Remove librt_hidden_def (clock_gettime).
93 * sysdeps/unix/clock_gettime.c: Likewise.
94 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
95 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
96 * rt/clock_getres.c: Define __clock_getres as an alias.
97 * sysdeps/posix/clock_getres.c: Likewise.
98 * rt/clock_settime.c: Define __clock_settime as an alias.
99 * sysdeps/unix/clock_settime.c: Likewise.
100 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
101 * sysdeps/unix/clock_nanosleep.c: Likewise.
102 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
103 * rt/clock-compat.c: New file.
104 * rt/Makefile (librt-routines): Add clock-compat and move
105 $(clock-routines) to ...
106 (routines): ... here, new variable.
107 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
108 Don't add get_clockfreq here.
109 * rt/Versions (libc: GLIBC_2.17): New version set.
110 Add clock_* symbols here.
111 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
112 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
113 (GLIBC_2.17): Add clock_* symbols.
114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
118 Likewise.
119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
120 Likewise.
121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
125 * NEWS: Mention the move.
126
127 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
128 Use __open, __read, __close rather than their public counterparts.
129 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
130 (__get_clockfreq_via_cpuinfo): Likewise.
131 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
132 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
133
134 * config.h.in (HAVE_IFUNC): New #undef.
135 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
136 was successful.
137 * configure: Regenerated.
138
0cae3f4b
MF
1392012-10-24 Mike Frysinger <vapier@gentoo.org>
140
141 * configure.in: Move READELF check to start of file.
142 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
143 libc_cv_asm_gnu_indirect_function in the process.
144 * configure: Regenerated.
145
8175a253
MF
1462012-10-24 Mike Frysinger <vapier@gentoo.org>
147
148 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
149 send the output to /dev/null.
150 (libc_cv_cc_with_libunwind): Likewise.
151 (libc_cv_as_noexecstack): Likewise.
152 * configure: Regenerate.
153
0708a7d1
JM
1542012-10-24 Joseph Myers <joseph@codesourcery.com>
155
10b40d85
JM
156 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
157
0708a7d1
JM
158 * posix/globtest.sh (TMPDIR): Do not set.
159 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
160 (testout): Likewise.
161
9fddec1a
AJ
1622012-10-24 Andreas Jaeger <aj@suse.de>
163
3a8db22f
AJ
164 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
165 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
166 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
167 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
168 posix_fadvise64, posix_fallocate64.
169
9fddec1a
AJ
170 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
171 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
172 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
173 Likewise.
174 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
175 Likewise.
176 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
177
178 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
179 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
180 <bits/fcntl-linux.h>.
181 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
182
183 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
184 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
185 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
186 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
187 [__WORDSIZE != 64]: Likewise.
188
ebfd1bbd
JM
1892012-10-23 Joseph Myers <joseph@codesourcery.com>
190
03ac099f
JM
191 * Makeconfig (run-built-tests): New variable.
192 * Rules [$(cross-compiling) = yes]: Change condition to
193 [$(run-built-tests) = no].
194 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
195 to [$(run-built-tests) = yes].
196 * elf/Makefile [$(cross-compiling) = no]: Likewise
197 * grp/Makefile [$(cross-compiling) = no]: Likewise.
198 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
199 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
200 * intl/Makefile [$(cross-compiling) = no]: Likewise.
201 * io/Makefile [$(cross-compiling) = no]: Likewise.
202 * libio/Makefile [$(cross-compiling) = no]: Likewise.
203 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
204 * misc/Makefile [$(cross-compiling) = no]: Likewise.
205 * posix/Makefile [$(cross-compiling) = no]: Likewise.
206 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
207 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
208 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
209 * string/Makefile [$(cross-compiling) = no]: Likewise.
210
ebfd1bbd
JM
211 * posix/Makefile ($(objpfx)globtest.out): Pass
212 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
213 $(rtld-installed-name).
214 * posix/globtest.sh (elf_objpfx): Remove variable.
215 (rtld_installed_name): Likewise.
216 (library_path): Likewise.
217 (run_program_prefix): New variable. Use for running globtest
218 binary.
219
166bca24
JB
2202012-10-23 Jim Blandy <jimb@codesourcery.com>
221 Joseph Myers <joseph@codesourcery.com>
222
223 * Makeconfig (host-built-program-cmd): New variable.
224 * elf/Makefile (tst-stackguard1-ARGS): Use
225 $(host-built-program-cmd).
226 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
227 (tst-spawn-ARGS): Likewise.
228 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
229
88866099
JM
2302012-10-23 Joseph Myers <joseph@codesourcery.com>
231 Jim Blandy <jimb@codesourcery.com>
232
233 * Makeconfig (run-via-rtld-prefix): New variable.
234 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
235 (built-program-cmd): Likewise.
236
b4b4c296
AJ
2372012-10-22 Andreas Jaeger <aj@suse.de>
238
239 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
240 __O_RSYNC if it exists, otherwise to O_SYNC.
241
6fb54a22
JB
2422012-10-22 Jim Blandy <jimb@codesourcery.com>
243 Joseph Myers <joseph@codesourcery.com>
244
245 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
246 /dev/null.
247 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
248 from /dev/null
249 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
250 /dev/null.
251
481b90b9
AJ
2522012-10-22 Andreas Jaeger <aj@suse.de>
253
2a0e2669
AJ
254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
255 Define always.
256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
257
76e38f9a
AJ
258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
259 bits/fcntl-linux.h.
260
7cd37b43
AJ
261 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
262 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
263
481b90b9
AJ
264 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
265 to __O_LARGEFILE.
266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
267 to __O_LARGEFILE.
268
aba75984
JB
2692012-10-21 Jim Blandy <jimb@codesourcery.com>
270 Joseph Myers <joseph@codesourcery.com>
271
272 * config.make.in (NM): New variable.
273
88d4247f
AJ
2742012-10-21 Andreas Jaeger <aj@suse.de>
275
276 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
277 definitions and declarations that are provided by
278 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
279
f2eed205
L
2802012-10-20 H.J. Lu <hongjiu.lu@intel.com>
281
282 [BZ #14683]
283 * elf/Makefile (tests-static): Add tst-leaks1-static.
284 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
285 ($(objpfx)tst-leaks1-static): New rule.
286 ($(objpfx)tst-leaks1-static-mem): Likewise.
287 (tst-leaks1-static-ENV): New macro.
288 * elf/dl-open.c (dl_open_worker): Check the main application
289 only if SHARED is defined.
290 * elf/tst-leaks1-static.c: New file.
291
335e6931
AJ
2922012-10-20 Andreas Jaeger <aj@suse.de>
293
294 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
295 generic values for Linux.
296 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
297 and declarations that are provided by <bits/fcntl-linux.h> and
298 include <bits/fcntl-linux.h>.
299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
301
ac5c94d3
RM
3022012-10-20 Roland McGrath <roland@hack.frob.com>
303
304 * io/fcntl.h: Move include of <bits/types.h> to the top and
305 include it unconditionally.
306
de54b33a
L
3072012-10-20 H.J. Lu <hongjiu.lu@intel.com>
308
228cfb01
L
309 * wcsmbs/Makefile (tests-ifunc): New variable.
310 (tests): Add $(tests-ifunc).
311 * wcsmbs/test-wcschr-ifunc.c: New file.
312 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
313 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
314 * wcsmbs/test-wcslen-ifunc.c: Likewise.
315 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
316 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
317
69f07e5f
L
318 * string/Makefile (tests-ifunc): New variable.
319 (tests): Add $(tests-ifunc).
320 * string/test-memccpy.c (TEST_NAME): New macro.
321 * string/test-memchr.c (TEST_NAME): Likewise.
322 * string/test-memcmp.c (TEST_NAME): Likewise.
323 * string/test-memcpy.c (TEST_NAME): Likewise.
324 * string/test-memmem.c (TEST_NAME): Likewise.
325 * string/test-memmove.c (TEST_NAME): Likewise.
326 * string/test-memset.c (TEST_NAME): Likewise.
327 * string/test-rawmemchr.c (TEST_NAME): Likewise.
328 * string/test-stpcpy.c (TEST_NAME): Likewise.
329 * string/test-stpncpy.c (TEST_NAME): Likewise.
330 * string/test-strcasecmp.c (TEST_NAME): Likewise.
331 * string/test-strcasestr.c (TEST_NAME): Likewise.
332 * string/test-strcat.c (TEST_NAME): Likewise.
333 * string/test-strchr.c (TEST_NAME): Likewise.
334 * string/test-strcmp.c(TEST_NAME): Likewise.
335 * string/test-strcpy.c (TEST_NAME): Likewise.
336 * string/test-strcspn.c (TEST_NAME): Likewise.
337 * string/test-strlen.c (TEST_NAME): Likewise.
338 * string/test-strncasecmp.c (TEST_NAME): Likewise.
339 * string/test-strncmp.c (TEST_NAME): Likewise.
340 * string/test-strncpy.c (TEST_NAME): Likewise.
341 * string/test-strnlen.c (TEST_NAME): Likewise.
342 * string/test-strpbrk.c (TEST_NAME): Likewise.
343 * string/test-strrchr.c (TEST_NAME): Likewise.
344 * string/test-strspn.c (TEST_NAME): Likewise.
345 * string/test-strstr.c (TEST_NAME): Likewise.
346 * string/test-bcopy-ifunc.c: New file.
347 * string/test-bzero-ifunc.c: Likewise.
348 * string/test-memccpy-ifunc.c: Likewise.
349 * string/test-memchr-ifunc.c: Likewise.
350 * string/test-memcmp-ifunc.c: Likewise.
351 * string/test-memcpy-ifunc.c: Likewise.
352 * string/test-memmem-ifunc.c: Likewise.
353 * string/test-memmove-ifunc.c: Likewise.
354 * string/test-mempcpy-ifunc.c: Likewise.
355 * string/test-memset-ifunc.c: Likewise.
356 * string/test-rawmemchr-ifunc.c: Likewise.
357 * string/test-stpcpy-ifunc.c: Likewise.
358 * string/test-stpncpy-ifunc.c: Likewise.
359 * string/test-strcasecmp-ifunc.c: Likewise.
360 * string/test-strcasestr-ifunc.c: Likewise.
361 * string/test-strcat-ifunc.c: Likewise.
362 * string/test-strchr-ifunc.c: Likewise.
363 * string/test-strchrnul-ifunc.c: Likewise.
364 * string/test-strcmp-ifunc.c: Likewise.
365 * string/test-strcpy-ifunc.c: Likewise.
366 * string/test-strcspn-ifunc.c: Likewise.
367 * string/test-strlen-ifunc.c: Likewise.
368 * string/test-strncasecmp-ifunc.c: Likewise.
369 * string/test-strncat-ifunc.c: Likewise.
370 * string/test-strncmp-ifunc.c: Likewise.
371 * string/test-strncpy-ifunc.c: Likewise.
372 * string/test-strnlen-ifunc.c: Likewise.
373 * string/test-strpbrk-ifunc.c: Likewise.
374 * string/test-strrchr-ifunc.c: Likewise.
375 * string/test-strspn-ifunc.c: Likewise.
376 * string/test-strstr-ifunc.c: Likewise.
377
de54b33a
L
378 * debug/Makefile (tests-ifunc): New variable.
379 (tests): Add $(tests-ifunc).
380 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
381 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
382 * debug/test-stpcpy_chk-ifunc.c: New file.
383 * debug/test-strcpy_chk-ifunc.c: Likewise.
384
88481c16
SP
3852012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
386
387 [BZ #13601]
388 * elf/dl-load.c (open_verify): Retry read if the entire ELF
389 header is not read in.
390
135948bd
JM
3912012-10-19 Joseph Myers <joseph@codesourcery.com>
392
89f1c388
JM
393 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
394 script to $(SHELL) as $<. Pass $(common-objpfx) to script
395 directly. Pass built executable to script as
396 $(built-program-cmd).
397 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
398 $testprogram without using LD_LIBRARY_PATH and $ldso.
399
e40a0d21
JM
400 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
401 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
402 $(rtld-installed-name).
403 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
404 (rtld_installed_name): Likewise.
405 (library_path): Likewise.
406 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
407 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
408 $(run-program-prefix) to tst-tables.sh.
409 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
410 it to run tst-table-from and tst-table-to.
411 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
412 Pass it to tst-table.sh.
413 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
414 $(run-program-prefix) to tst-gettext.sh.
415 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
416 tst-translit.sh.
417 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
418 tst-gettext2.sh.
419 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
420 to run tst-gettext.
421 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
422 to run tst-gettext2.
423 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
424 to run tst-translit.
425 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
426 $(run-program-prefix) to tst-mtrace.sh.
427 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
428 to run tst-mtrace.
429 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
430 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
431 $(rtld-installed-name).
432 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
433 (rtld_installed_name): Likewise.
434 (run_program_prefix): New variable. Use it to run wordexp-test.
435
728e272a
JM
436 * Makeconfig (ARCH): Remove all definitions.
437 (machine): Likewise.
438 [ARCH]: Remove conditional code.
439 [!objdir]: Give error.
440 [!objdir] (objpfx): Remove.
441 [!objdir] (common-objpfx): Likewise.
442 [!objdir] (common-objdir): Likewise.
443 * configure.in (config_makefile): Remove. Hardcode Makefile in
444 AC_CONFIG_FILES call.
445 * configure: Regenerated.
446
d528cdcf
JM
447 [BZ #13888]
448 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
449 or TMPDIR.
450 (testout): Likewise.
451
135948bd
JM
452 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
453 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
454 $(rtld-installed-name).
455 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
456 (rtld_installed_name): Likwise.
457 (runit): Remove function.
458 (run_getconf): New variable, Use it for running getconf binary.
459
38c78296
L
4602012-10-18 H.J. Lu <hongjiu.lu@intel.com>
461
462 [BZ #14716]
463 * string/test-memmem.c (check_result): New function.
464 (do_one_test): Use it.
465 (check1): New function.
466 (test_main): Use it.
467
d077f65f
MT
4682012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
469
470 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
471
ced52c71
JM
4722012-10-18 Joseph Myers <joseph@codesourcery.com>
473
474 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
475 (_G_LSEEK64): Likewise.
476 (_G_MMAP64): Likewise.
477 (_G_FSTAT64): Likewise.
478 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
479 (_G_LSEEK64): Likewise.
480 (_G_MMAP64): Likewise.
481 (_G_FSTAT64): Likewise.
482 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
483 unconditional. Call __mmap64 directly.
484 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
485 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
486 __lseek64 directly.
487 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
488 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
489 __mmap64 directly.
490 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
491 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
492 __lseek64 directly.
493 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
494 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
495 __lseek64 directly.
496 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
497 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
498 __lseek64 directly.
499 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
500 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
501 __fxstat64 directly.
502 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
503 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
504 unconditional.
505 (freopen64) [!_G_OPEN64]: Remove conditional code.
506 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
507 unconditional.
508 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
509 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
510 unconditional.
511 (ftello64) [!_G_LSEEK64]: Remove conditional code.
512 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
513 unconditional.
514 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
515 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
516 unconditional.
517 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
518 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
519 unconditional.
520 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
521 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
522 unconditional.
523 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
524 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
525 unconditional.
526 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
527
b741de23
SP
5282012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
529
530 [BZ #12140]
531 * manual/memory.texi (Malloc Tunable Parameters): Add note
532 about free list pointers overwriting some perturb bytes.
533 Wording suggested by Roland McGrath.
534
f9b9d9c9
JM
5352012-10-17 Joseph Myers <joseph@codesourcery.com>
536
537 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
538 (lgamma_test): Likewise.
539 (tgamma_test): Likewise.
540
172a631a
FW
5412012-10-16 Florian Weimer <fweimer@redhat.com>
542
543 [BZ #14700]
544 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
545 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
546
e9f37252
MK
5472012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
548
549 * NEWS: Mention BZ #14716.
550 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
551 when removing AVAILABLE1_USES_J macro.
552
d394eb74
L
5532012-10-12 H.J. Lu <hongjiu.lu@intel.com>
554
555 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
556 (__bswap_64): __uint64_t for unsigned 64-bit int.
557
ca38dc17
AS
5582012-10-12 Andreas Schwab <schwab@linux-m68k.org>
559
560 * include/string.h (memmem): Declare libc hidden alias.
561 * string/memmem.c (memmem): Define libc hidden alias.
562 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
563 __read, __close instead of open, read, close.
564
9a387d1f
L
5652012-10-11 H.J. Lu <hongjiu.lu@intel.com>
566
ac49ecaf
L
567 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
568 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
569 global and hidden.
570 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
571 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
572 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
573 Likewise.
574 (__rawmemchr_sse2): Likewise.
575 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
576 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
577 (__strchr_sse2): Likewise.
578 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
579 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
580 (__strcasecmp_sse2): Likewise.
581 (__strncasecmp_sse2): Likewise.
582 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
583 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
584 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
585 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
586 (__strrchr_sse2): Likewise.
587 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
588 ifunc-impl-list.c.
589 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
590 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
591 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
592 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
593 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
594 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
595 * sysdeps/x86_64/multiarch/memset.S: Likewise.
596 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
597 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
598 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
599 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
600 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
601 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
602 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
603 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
604 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
605 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
606 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
607 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
608 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
609 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
610 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
611 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
612 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
613 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
614 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
615 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
616 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
617 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
618 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
619
b090e8ea
L
620 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
621 global and hidden.
622 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
623 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
624 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
625 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
626 Likewise.
627 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
628 Likewise.
629 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
630 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
631 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
632 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
633 ifunc-impl-list.c.
634 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
635 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
636 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
637 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
638 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
639 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
640 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
641 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
642 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
643 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
644 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
645 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
646 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
647 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
648 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
649 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
650 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
651 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
652 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
653 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
654 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
655 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
656 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
657 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
658 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
659 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
660 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
661 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
662 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
663 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
664 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
665 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
666 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
667 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
668 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
669 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
670 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
671 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
672 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
673 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
674 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
675
11dd4af6
L
676 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
677 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
678 * include/ifunc-impl-list.h: New file.
679 * misc/ifunc-impl-list.c: Likewise.
680 * misc/Makefile (routines): Add ifunc-impl-list.
681 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
682 * string/test-string.h: Include <ifunc-impl-list.h>.
683 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
684 impl_array): New variables.
685 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
686 are defined.
687 (test_init): Call __libc_ifunc_impl_list to initialize
688 func_list if TEST_IFUNC and TEST_NAME are defined.
689
9a387d1f
L
690 * string/Makefile (strop-tests): Add bcopy and bzero.
691 * string/test-bcopy.c: New file.
692 * string/test-bzero.c: Likewise.
693 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
694 defined.
695 * string/test-memset.c: Support bzero test if TEST_BZERO is
696 defined.
697 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
698 __libc_memmove.
699 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
700 __libc_memset.
701 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
702 of memset.
703
472371b9
JM
7042012-10-10 Joseph Myers <joseph@codesourcery.com>
705
1e4a9536
JM
706 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
707 * configure: Regenerated.
708
d173d12e
JM
709 * Makeconfig (+link-static-before-libc): Don't include
710 $(link-static-libc).
711
472371b9
JM
712 * libio/libio.h (_IO_pos_t): Remove.
713
89a3ad0b
AO
7142012-10-10 Alexandre Oliva <aoliva@redhat.com>
715
716 * NEWS: Add note about FIPS mode. Wording suggested by Roland
717 McGrath.
718
e7451425
AO
7192012-10-10 Alexandre Oliva <aoliva@redhat.com>
720
721 * crypt/crypt-entry.c: Include fips-private.h.
722 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
723 * crypt/md5c-test.c (main): Tolerate disabled MD5.
724 * sysdeps/unix/sysv/linux/fips-private.h: New file.
725 * sysdeps/generic/fips-private.h: New file, dummy fallback.
726
4ba74a35
AO
7272012-10-10 Alexandre Oliva <aoliva@redhat.com>
728
729 * crypt/crypt-private.h: Include stdbool.h.
730 (_ufc_setup_salt_r): Return bool.
731 * crypt/crypt-entry.c: Include errno.h.
732 (__crypt_r): Return NULL with EINVAL for bad salt.
733 * crypt/crypt_util.c (bad_for_salt): New.
734 (_ufc_setup_salt_r): Check that salt is long enough and within
735 the specified alphabet.
736 * crypt/badsalttest.c: New file.
737 * crypt/Makefile (tests): Add it.
738 ($(objpfx)badsalttest): New.
739
f96f1242
MK
7402012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
741
742 * NEWS: Add entry for BZ #14602.
743
0e8e0c1c
JM
7442012-10-09 Joseph Myers <joseph@codesourcery.com>
745
746 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
747 type-generic.
748 * math/libm-test.inc: Update comment listing what functions and
749 macros are tested.
750 (isgreater_test): New function.
751 (isgreaterequal_test): Likewise.
752 (isless_test): Likewise.
753 (islessequal_test): Likewise.
754 (islessgreater_test): Likewise.
755 (isunordered_test): Likewise.
756 (main): Call the new functions.
757
273edc5e
RM
7582012-10-09 Roland McGrath <roland@hack.frob.com>
759
b8493de0
RM
760 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
761 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
762 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
763 * sysdeps/i386/configure: Regenerated.
764 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
765 * sysdeps/mach/configure: Regenerated.
766 * sysdeps/mach/hurd/configure: Regenerated.
767 * sysdeps/powerpc/configure: Regenerated.
768 * sysdeps/powerpc/powerpc32/configure: Regenerated.
769 * sysdeps/powerpc/powerpc64/configure: Regenerated.
770 * sysdeps/s390/s390-32/configure: Regenerated.
771 * sysdeps/s390/s390-64/configure: Regenerated.
772 * sysdeps/sh/configure: Regenerated.
773 * sysdeps/sparc/configure: Regenerated.
774 * sysdeps/unix/sysv/linux/configure: Regenerated.
775 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
776 * sysdeps/x86_64/configure: Regenerated.
777
273edc5e
RM
778 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
779 defined. Don't check if MAP is NULL.
780
c8450f70
JM
7812012-10-09 Joseph Myers <joseph@codesourcery.com>
782
783 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
784 (_G_stat64): Likewise.
785 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
786 (_G_stat64): Likewise.
787 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
788 instead of struct _G_stat64.
789 * libio/fileops.c (mmap_remap_check): Likewise.
790 (decide_maybe_mmap): Likewise.
791 (_IO_new_file_seekoff): Likewise.
792 (_IO_file_stat): Likewise.
793 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
794 _G_off64_t.
795 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
796 instead of struct _G_stat64.
797 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
798
57e605ba
MK
7992012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
800
801 [BZ #14602]
802 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
803 Replace with ...
804 (CHECK_EOL): New macro.
805 (two_way_short_needle): Check beginning of haystack for EOL. Use
806 CHECK_EOL.
807 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
808 Replace with CHECK_EOL.
809 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
810 Replace with CHECK_EOL.
811
ef1bb361
JM
8122012-10-08 Joseph Myers <joseph@codesourcery.com>
813
814 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
815 type-generic.
816 * math/libm-test.inc: Update comment listing what functions and
817 macros are tested.
818 (finite_test): New function.
819 (isinf_test): Likewise.
820 (isnan_test): Likewise.
821 (fpclassify_test): Test subnormal input.
822 (isfinite_test): Likewise.
823 (isnormal_test): Likewise.
824 (main): Call the new functions.
825
55f11534
JN
8262012-10-08 Jonathan Nieder <jrnieder@gmail.com>
827
828 [BZ #14660]
829 * Makerules (%.dynsym): Force C locale when running
830 $(OBJDUMP) --dynamic-syms.
831
1ab29350
AS
8322012-10-08 Andreas Schwab <schwab@linux-m68k.org>
833
834 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
835 <stdint.h>.
836
f1ecb7ef
DM
8372012-10-06 David S. Miller <davem@davemloft.net>
838
839 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
840 upper 32-bits of the length value in %o2 since we use branch-on-register
841 tests which consider the entire 64-bit register.
842
5d41d91a
L
8432012-10-06 H.J. Lu <hongjiu.lu@intel.com>
844
845 * string/test-strstr.c (check2): Add a test for page boundary.
846
3baddb72
DM
8472012-10-05 David S. Miller <davem@davemloft.net>
848
849 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
850 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
851 file.
852 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
853 sysdep_routines.
854 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
855 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
856 and bzero when HWCAP_SPARC_CRYPTO is present.
857
9cee5585
L
8582012-10-05 H.J. Lu <hongjiu.lu@intel.com>
859
d7e0dab9
L
860 [BZ #14602]
861 * string/test-strstr.c (check2): New function.
862 (test_main): Call check2.
863
03759f47
L
864 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
865 and bug-strchr1.
866 * string/bug-strcasestr1.c (do_test): Moved to ...
867 * string/test-strcasestr.c (check1): Here. New function.
868 (do_one_test): Break out result checking code into ...
869 (check_result): This. New function.
870 (do_one_test): Call check_result.
871 (test_main): Call check1.
872 * string/bug-strchr1.c (do_test): Moved to ...
873 * string/test-strchr.c (check1): Here. New function.
874 (do_one_test): Break out result checking code into ...
875 (check_result): This. New function.
876 (do_one_test): Call check_result.
877 (test_main): Call check1.
878 * string/bug-strstr1.c (main): Moved to ...
879 * string/test-strchr.c (check1): Here. New function.
880 (do_one_test): Break out result checking code into ...
881 (check_result): This. New function.
882 (do_one_test): Call check_result.
883 (test_main): Call check1.
884 * string/bug-strcasestr1.c: Removed.
885 * string/bug-strchr1.c: Likewise.
886 * string/bug-strstr1.c: Likewise.
887
53cea63e
L
888 * elf/Makefile (dl-routines): Add hwcaps.
889 * elf/dl-support.c (_dl_important_hwcaps): Removed.
890 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
891 (_dl_important_hwcaps): Moved to ...
892 * elf/dl-hwcaps.c: Here. New file.
893 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
894
9cee5585 895 [BZ #14557]
bb859b06
L
896 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
897 if IS_IN_rtld isn't defined.
898
9cee5585
L
899 * elf/dl-support.c (_dl_sysinfo_map): New.
900 Include "get-dynamic-info.h" and "setup-vdso.h".
901 (_dl_non_dynamic_init): Call setup_vdso.
902 * elf/dynamic-link.h: Don't include <assert.h>.
903 (elf_get_dynamic_info): Moved to ...
904 * elf/get-dynamic-info.h: Here. New file.
905 * elf/dynamic-link.h: Include "get-dynamic-info.h".
906 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
907 * elf/setup-vdso.h: Here. New file.
908 * elf/rtld.c: Include "setup-vdso.h".
909 (dl_main): Call setup_vdso.
910
23c31b76
JM
9112012-10-05 Joseph Myers <joseph@codesourcery.com>
912
28234b07
JM
913 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
914 creal in comment listing functions tested. List finite, isinf,
915 isnan, isless, islessequal, isgreater, isgreaterequal,
916 islessgreater, isunordered, lgamma_r and pow10 as functions and
917 macros not tested. Mention which functions not tested are aliases
918 for other functions. Fix typo. Note that signs of NaNs are not
919 tested.
920
23c31b76
JM
921 * scripts/config.guess: Update from config.git.
922 * scripts/config.sub: Likewise.
923
9043e228
RM
9242012-10-04 Roland McGrath <roland@hack.frob.com>
925
926 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
927 * misc/madvise.c (madvise): Renamed to __madvise.
928 Make madvise a weak alias.
929 * include/sys/mman.h: Declare __madvise.
930 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
931 * sysdeps/unix/syscalls.list
932 (madvise): Make __madvise the strong name, and madvise a weak alias.
933 * sysdeps/unix/sysv/linux/syscalls.list
934 (madvise, mmap): Remove redundant entries.
935 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
936 * malloc/malloc.c (mtrim): Likewise.
937 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
938
f57f8055
RM
9392012-10-03 Roland McGrath <roland@hack.frob.com>
940
941 * sysdeps/mach/hurd/dl-cache.c: File removed.
942 * config.h.in (USE_LDCONFIG): New #undef.
943 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
944 * configure: Regenerated.
945 * elf/Makefile (dl-routines): Add dl-cache only under
946 [$(use-ldconfig) = yes].
947 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
948 cache on [USE_LDCONFIG].
949 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
950 [USE_LDCONFIG].
951 * elf/rtld.c (dl_main): Likewise.
952
5bb0c10a
PT
9532012-10-03 Pino Toscano <toscano.pino@tiscali.it>
954
955 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
956 _SC_LEVEL4_CACHE_LINESIZE.
957
010188c6
RM
9582012-10-03 Roland McGrath <roland@hack.frob.com>
959
960 * sysdeps/unix/bsd/confstr.h: File removed.
961
b6c5ec07
AO
9622012-10-02 Alexandre Oliva <aoliva@redhat.com>
963
964 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
965 sys/sdt-config.h.
966
408223d4
RM
9672012-10-02 Roland McGrath <roland@hack.frob.com>
968
969 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
970 Make 'mapoff' field ElfW(Off) rather than off_t.
971
bb9510dc
DL
9722012-10-02 Dmitry V. Levin <ldv@altlinux.org>
973
fc997c6e
DL
974 * nscd/Makefile: Remove nscd-cflags and all its users.
975 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
976 (CFLAGS-nonlib): Add compiler flags for nscd modules.
977
bb9510dc
DL
978 [BZ #10631]
979 * malloc.c (malloc_printerr): Clarify error message.
980
05699367
L
9812012-10-02 H.J. Lu <hongjiu.lu@intel.com>
982
983 [BZ #14648]
984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
985 Set bit_FMA_Usable if FMA is supported.
986 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
987 macro.
988 (bit_FMA4_Usable): Updated.
989 (index_FMA_Usable): New macro.
990 (CPUID_FMA): Likewise
991 (HAS_FMA): Defined with bit_FMA_Usable.
992
51367701
RM
9932012-10-01 Roland McGrath <roland@hack.frob.com>
994
995 * bits/types.h (__swblk_t): Type removed.
996 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
997 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
998 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
999 (__SWBLK_T_TYPE): Likewise.
1000 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1001 (__SWBLK_T_TYPE): Likewise.
1002 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1003 (__SWBLK_T_TYPE): Likewise.
1004 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1005 (__SWBLK_T_TYPE): Likewise.
1006
4d57bf63 10072012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 1008 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
1009
1010 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1011 (xdr_mapname): Use YPMAXMAP as maxsize.
1012 (xdr_peername): Use YPMAXPEER as maxsize.
1013 (xdr_keydat): Use YPAXRECORD as maxsize.
1014 (xdr_valdat): Use YPMAXRECORD as maxsize.
1015
93c65d43
RM
10162012-10-01 Roland McGrath <roland@hack.frob.com>
1017
497a03d6
RM
1018 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1019
93c65d43
RM
1020 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1021 * csu/init-first.c: ... here.
1022 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1023 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1024 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1025 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1026 * sysdeps/i386/init-first.c: File removed.
1027 * sysdeps/sh/init-first.c: File removed.
1028
bec749fd
JM
10292012-10-01 Joseph Myers <joseph@codesourcery.com>
1030
1031 [BZ #14645]
1032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1033 if x * y might underflow to zero and z is zero.
1034 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1035 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1036 * math/libm-test.inc (min_subnorm_value): New variable.
1037 (fma_test): Add more tests.
1038 (fma_test_towardzero): Likewise.
1039 (fma_test_downward): Likewise
1040 (fma_test_upward): Likewise.
1041 (initialize): Set min_subnorm_value.
1042
8ec5b013
JM
10432012-09-29 Joseph Myers <joseph@codesourcery.com>
1044
1045 [BZ #14638]
1046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1047 0 + 0.
1048 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1049 mode for addition resulting in exact zero.
1050 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1051 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1052 exact 0 + 0.
1053 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1054 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1055 * math/libm-test.inc (fma_test): Add more tests.
1056 (fma_test_towardzero): New function.
1057 (fma_test_downward): Likewise.
1058 (fma_test_upward): Likewise.
1059 (main): Call the new functions.
1060
b1fa802e
DM
10612012-09-28 David S. Miller <davem@davemloft.net>
1062
1063 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1064
d3b9fd9e
RM
10652012-09-28 Roland McGrath <roland@hack.frob.com>
1066
ea4d37b3
RM
1067 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1068 instead of SIGALRM.
1069
ac51c949
RM
1070 * sysdeps/gnu/_G_config.h: Moved to ...
1071 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1072 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1073 * sysdeps/generic/_G_config.h: ... here.
1074
28c195f7
RM
1075 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1076
848917f9
RM
1077 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1078
6bacf05b
RM
1079 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1080 Conditionalize target on [libnss_test1.so-version].
1081
91363dbb
RM
1082 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1083
cc87f7d8
RM
1084 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1085 (elfobjdir): Move out of conditionals.
1086
b1c608fe
RM
1087 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1088 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1089 (__nss_lookup_function): Conditionalize label remove_from_tree on
1090 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 1091
1d9a6d96
DM
10922012-09-28 David S. Miller <davem@davemloft.net>
1093
1094 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1095 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1096 file.
1097 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1098 sysdep_routines.
1099 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1101 when HWCAP_SPARC_CRYPTO is present.
1102
72581615
PT
11032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1104
1105 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1106
715a900c
JL
11072012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1108
1109 [BZ #6530]
1110 * stdio-common/vfprintf.c (process_string_arg): Revert
1111 2000-07-22 change.
1112
11132011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1114
1115 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1116 for testcase.
1117 * stdio-common/tst-sprintf.c: Include <locale.h>
1118 (main): Test sprintf's handling of incomplete multibyte
1119 characters.
1120
9bac1d86
L
11212012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1122
1123 * elf/dl-runtime.c (VERSYMIDX): Removed.
1124 * elf/dl-version.c (VERSYMIDX): Likewise.
1125 * elf/do-rel.h (VERSYMIDX): Likewise.
1126 (VALIDX): Likewise.
1127 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1128 * elf/rtld.c (VALIDX): Likewise.
1129 (ADDRIDX): Likewise.
9bac1d86
L
1130 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1131 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1132 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
1133 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1134 (VALIDX): Likewise.
1135 (ADDRIDX): Likewise.
9bac1d86 1136
b31606c0
PT
11372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1138
1139 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1140
11541177
JL
11412012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1142
1143 [BZ #11438]
1144 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1145 to global scope.
1146 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1147 addresses are in the same scope as 192.0.2/24.
1148 * posix/gai.conf: Document new scope table defaults.
1149
adb26fae
SP
11502012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1151
1152 [BZ #5298]
1153 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1154 for ftell. Compute offsets from write pointers instead.
1155 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1156
4573c6b0
SP
11572012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1158
1159 [BZ #14543]
1160 * libio/Makefile (tests): New test case tst-fseek.
1161 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1162 combination works in wide mode.
1163 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1164 state when the external buffer state changes.
1165
aa9bbfe6
DM
11662012-09-27 David S. Miller <davem@davemloft.net>
1167
1168 [BZ #14376]
1169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1170 pass reloc->r_addend in as the 'high' argument to
1171 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1172
784421e7
DM
1173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1174
c39bc8b8
PT
11752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1176
1177 * rt/tst-aio2.c: Include <pthread.h>.
1178 * rt/tst-aio3.c: Likewise.
1179
1ccc2399
SE
11802012-09-27 Steve Ellcey <sellcey@mips.com>
1181
1182 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1183
31ed4153
L
11842012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1185
25f5f885
L
1186 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1187 contents on [SHARED].
31ed4153 1188
b7bfe116
MP
11892012-09-26 Marek Polacek <polacek@redhat.com>
1190
1191 [BZ #14530]
1192 [BZ #13741]
1193 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1194 for C++ and GCC <4.3 as well as for non GCC compilers.
1195
43c4edba
MT
11962012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1197
1198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1199
6a1bf82f
RM
12002012-09-25 Roland McGrath <roland@hack.frob.com>
1201
1202 * Makefile.in (all, install): Declare with .PHONY.
1203 Reported by Michael Hope <michael.hope@linaro.org>.
1204
8ad11b9a
TMQMF
12052012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1206
1207 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1208 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1209 system header.
1210 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1211 Likewise.
1212 (sydep_routines): Add the new and the internal functions.
1213 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1214 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1216 (GLIBC_2.17): Add the new function.
1217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1218 (GLIBC_2.17): Likewise.
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1220 (GLIBC_2.17): Likewise.
1221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1222 (GLIBC_2.17): Likewise.
1223 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1224
7e2fca8d
AM
12252012-09-25 Alan Modra <amodra@gmail.com>
1226
1227 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1228 Add release barrier before setting once_control to say
1229 initialisation is done. Add hints on lwarx. Use macro in
1230 place of isync.
1231 (clear_once_control): Add release barrier.
1232
b87c4b24
JM
12332012-09-25 Joseph Myers <joseph@codesourcery.com>
1234
d032e0d2
JM
1235 [BZ #13629]
1236 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1237 specially.
1238 * math/s_clog10.c (__clog10): Likewise.
1239 * math/s_clog10f.c (__clog10f): Likewise.
1240 * math/s_clog10l.c (__clog10l): Likewise.
1241 * math/s_clogf.c (__clogf): Likewise.
1242 * math/s_clogl.c (__clogl): Likewise.
1243 * math/Makefile (libm-calls): Add x2y2m1.
1244 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1245 (__x2y2m1): Likewise.
1246 (__x2y2m1l): Likewise.
1247 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1248 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1249 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1250 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1251 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1252 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1253 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1254 * sysdeps/i386/fpu/libm-test-ulps: Update.
1255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1256
b87c4b24
JM
1257 [BZ #14621]
1258 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1259 int as type of variable DEPTH.
1260 (glob): Use size_t instead of int as type of variables NEWCOUNT
1261 and OLD_PATHC.
1262
6d3bf199
LD
12632012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1264
22bf5c17
LD
1265 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1266 Add s_sincosf-sse2.
1267 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1268 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1269 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1270 macros for using routine as __sincosf_ia32.
1271 Use macro for function declaration and weak_alias.
1272 * sysdeps/i386/fpu/libm-test-ulps: Update.
1273
1274 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1276
1277 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1278 subnormal argument.
1279 * math/s_cexpf.c (__cexpf): Likewise.
1280 * math/s_csinf.c (__csinf): Likewise.
1281 * math/s_csinhf.c (__csinhf): Likewise.
1282 * math/s_ctanf.c (__ctanf): Likewise.
1283 * math/s_ctanhf.c (__ctanhf): Likewise.
1284 * math/s_ccosh.c (__ccoshf): Likewise.
1285 * math/s_cexp.c (__cexpl): Likewise.
1286 * math/s_csin.c (__csin): Likewise.
1287 * math/s_csinh.c (__csinh): Likewise.
1288 * math/s_ctan.c (__ctan): Likewise.
1289 * math/s_ctanh.c (ctanh): Likewise.
1290 * math/s_ccoshl.c (__ccoshl): Likewise.
1291 * math/s_cexpl.c (__cexpl): Likewise.
1292 * math/s_csinl.c (__csinl): Likewise.
1293 * math/s_csinhl.c (__csinhl): Likewise.
1294 * math/s_ctanl.c (__ctanl): Likewise.
1295 * math/s_ctanhl.c (__ctanhl): Likewise.
1296
203e5603
JM
12972012-09-25 Joseph Myers <joseph@codesourcery.com>
1298
1299 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1300 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1301 (_IO_off_t): Define to __off_t, not _G_off_t.
1302 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1303 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1304 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1305 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1306 type of __dummy and __dummy2 fields.
1307 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1308 (_G_ssize_t): Likewise.
1309 (_G_off_t): Likewise.
1310 (_G_pid_t): Likewise.
1311 (_G_uid_t): Likewise.
1312 (_G_wchar_t): Likewise.
1313 (_G_wint_t): Likewise.
1314 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1315 (_G_ssize_t): Likewise.
1316 (_G_off_t): Likewise.
1317 (_G_pid_t): Likewise.
1318 (_G_uid_t): Likewise.
1319 (_G_wchar_t): Likewise.
1320 (_G_wint_t): Likewise.
1321 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1322 (_G_ssize_t): Likewise.
1323 (_G_off_t): Likewise.
1324 (_G_pid_t): Likewise.
1325 (_G_uid_t): Likewise.
1326 (_G_wchar_t): Likewise.
1327 (_G_wint_t): Likewise.
1328
9fab36eb
SP
13292012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1330
1331 * malloc/arena.c: Include malloc-sysdep.h.
1332 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1333 is sufficient to shrink the heap or an unmap is needed.
1334 * sysdeps/generic/malloc-sysdep.h: New file. Define
1335 new function check_may_shrink_heap.
1336 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1337 new function check_may_shrink_heap.
1338
2b4f00d1
SP
13392012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1340
1341 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1342 comments.
1343
9a9028b1
DL
13442012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1345
57c69bef
DL
1346 * catgets/test-gencat.sh: Add "set -e".
1347 * elf/tst-pathopt.sh: Likewise.
1348 * grp/tst_fgetgrent.sh: Likewise.
1349 * iconvdata/run-iconv-test.sh: Likewise.
1350 * intl/tst-gettext.sh: Likewise.
1351 * intl/tst-gettext2.sh: Likewise.
1352 * intl/tst-gettext4.sh: Likewise.
1353 * intl/tst-gettext6.sh: Likewise.
1354 * intl/tst-translit.sh: Likewise.
1355 * io/ftwtest-sh: Likewise.
1356 * libio/test-freopen.sh: Likewise.
1357 * malloc/tst-mtrace.sh: Likewise.
1358 * posix/globtest.sh: Likewise.
1359 * posix/tst-getconf.sh: Likewise.
1360 * posix/wordexp-tst.sh: Likewise.
1361 * stdio-common/tst-printf.sh: Likewise.
1362 * stdio-common/tst-unbputc.sh: Likewise.
1363 * stdlib/tst-fmtmsg.sh: Likewise.
1364 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1365 * catgets/Makefile: Do not specify -e option when running
1366 testsuite shell scripts.
1367 * elf/Makefile: Likewise.
1368 * grp/Makefile: Likewise.
1369 * iconvdata/Makefile: Likewise.
1370 * intl/Makefile: Likewise.
1371 * io/Makefile: Likewise.
1372 * libio/Makefile: Likewise.
1373 * malloc/Makefile: Likewise.
1374 * posix/Makefile: Likewise.
1375 * stdio-common/Makefile: Likewise.
1376 * stdlib/Makefile: Likewise.
1377 * sysdeps/x86_64/Makefile: Likewise.
1378
9a9028b1
DL
1379 * io/ftwtest-sh: Add copyright header.
1380 * posix/globtest.sh: Likewise.
1381 * posix/tst-getconf.sh: Likewise.
1382 * posix/wordexp-tst.sh: Likewise.
1383 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1384
ced6f16e
L
13852012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1386
94b32c39
L
1387 [BZ #13679]
1388 * Makeconfig (+link): Defined as $(+link-static) if
1389 $(build-shared) isn't yes.
1390 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1391 isn't yes.
1392 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1393
189e935b
L
1394 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1395
ced6f16e
L
1396 [BZ #14562]
1397 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1398 new chunk size with MALLOC_ALIGN_MASK.
1399
a9f8e53a
JM
14002012-09-24 Joseph Myers <joseph@codesourcery.com>
1401
1402 [BZ #5044]
1403 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1404 <rounding-mode.h>.
1405 (__printf_fphex): Determine rounding using get_rounding_mode and
1406 round_away.
1407 * stdio-common/tst-printf-round.c (struct hex_test): New
1408 structure.
1409 (hex_tests): New variable.
1410 (test_hex_in_one_mode): New function.
1411 (do_test): Also run tests for hex float output.
1412
43153109
JM
14132012-09-21 Joseph Myers <joseph@codesourcery.com>
1414
1415 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1416 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1417 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1418 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1419 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1420 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1421 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1422 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1423
8a26625d
JM
14242012-09-20 Joseph Myers <joseph@codesourcery.com>
1425
1426 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1427 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1428 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1429 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1430
f3fd569c
DL
14312012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1432
1433 [BZ #14579]
1434 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1435 mode only.
1436 * elf/tst-rtld-load-self.sh: New test.
1437 * elf/Makefile: Run it.
1438
63bbedd4
JM
14392012-09-18 Joseph Myers <joseph@codesourcery.com>
1440
1441 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1442 (tst-writev-ENV): Remove.
1443 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1444
626f8b6a
CM
14452012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1446
1447 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1448
b7aaa4d6
JM
14492012-09-17 Joseph Myers <joseph@codesourcery.com>
1450
1451 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1452 unconditional.
1453 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1454 Likewise.
1455 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1456 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1457 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1458 Likewise.
1459
65513990
L
14602012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1461
1462 [BZ #14587]
1463 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1464 * config.make.in (have-cpp-asm-debuginfo): Removed.
1465 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1466 * configure: Regenerated.
1467
784761be
JM
14682012-09-14 Joseph Myers <joseph@codesourcery.com>
1469
1470 [BZ #5044]
1471 * stdio-common/printf_fp.c: Include <stdbool.h> and
1472 <rounding-mode.h>.
1473 (___printf_fp): Determine rounding using get_rounding_mode and
1474 round_away.
1475 * stdio-common/tst-printf-round.c: New file.
1476 * stdio-common/Makefile (tests): Add tst-printf-round.
1477 (link-libm): New variable.
1478 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1479
9503345f
L
14802012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1481
1482 [BZ #14576]
1483 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1484 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1485 Likewise.
1486 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1487 Likewise.
1488
ad35fc00
JM
14892012-09-13 Joseph Myers <joseph@codesourcery.com>
1490
1491 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1492 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1493 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1494 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1495
6c9b0f68
JM
14962012-09-12 Joseph Myers <joseph@codesourcery.com>
1497
1498 [BZ #14518]
1499 * include/rounding-mode.h: New file.
1500 * sysdeps/generic/get-rounding-mode.h: Likewise.
1501 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1502 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1503 (MAX_VALUE): New macro.
1504 (MIN_VALUE): Likewise.
1505 (overflow_value): New function.
1506 (underflow_value): Likewise.
1507 (round_and_return): Use overflow_value and underflow_value to
1508 determine return values in overflow and underflow cases. Use
1509 round_away to determine rounding depending on rounding mode.
1510 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1511 determine return values in overflow and underflow cases.
1512 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1513 (struct test_results): New structure.
1514 (struct test): Use struct test_results to store expected results
1515 for all rounding modes.
1516 (TEST): Include expected results for all rounding modes.
1517 (test_in_one_mode): New function.
1518 (do_test): Use test_in_one_mode to compute and check results.
1519 Check results for all rounding modes.
1520 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1521 $(link-libm).
1522
19fcedd5
AM
15232012-12-09 Allan McRae <allan@archlinux.org>
1524
1e9d84cd 1525 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 1526
8bbfd2f1
JM
15272012-09-11 Joseph Myers <joseph@codesourcery.com>
1528
1529 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1530 (_G_int32_t): Likewise.
1531 (_G_uint16_t): Likewise.
1532 (_G_uint32_t): Likewise.
1533 (_G_HAVE_BOOL): Likewise.
1534 (_G_HAVE_ATEXIT): Likewise.
1535 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1536 (_G_HAVE_IO_FILE_OPEN): Likewise.
1537 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1538 (_G_int32_t): Likewise.
1539 (_G_uint16_t): Likewise.
1540 (_G_uint32_t): Likewise.
1541 (_G_HAVE_BOOL): Likewise.
1542 (_G_HAVE_ATEXIT): Likewise.
1543 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1544 (_G_HAVE_IO_FILE_OPEN): Likewise.
1545 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1546 (_G_int32_t): Likewise.
1547 (_G_uint16_t): Likewise.
1548 (_G_uint32_t): Likewise.
1549 (_G_HAVE_BOOL): Likewise.
1550 (_G_HAVE_ATEXIT): Likewise.
1551 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1552 (_G_HAVE_IO_FILE_OPEN): Likewise.
1553
b1dc5912
L
15542012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1555
1556 * csu/libc-tls.c: Update copyright years.
1557
0e886ef9
JM
15582012-09-10 Joseph Myers <joseph@codesourcery.com>
1559
28361c5e
JM
1560 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1561 [!_G_USING_THUNKS]: Remove conditional code.
1562 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1563 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1564
0e886ef9
JM
1565 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1566 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1567 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1568 (_G_VTABLE_LABEL_PREFIX): Likewise.
1569 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1570 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1571 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1572 (_G_VTABLE_LABEL_PREFIX): Likewise.
1573 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1574 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1575 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1576 (_G_VTABLE_LABEL_PREFIX): Likewise.
1577 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1578
bcba7aa2
L
15792012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1580
1581 * libio/Makefile: Include ../Makeconfig before tests.
1582 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1583 only if $(build-shared) is yes.
1584
06585ee8
L
1585 * iconv/gconv_db.c: Update copyright years.
1586
80ccd52c
LD
15872012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1588
1589 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1590 unwind info if defined PIC. Fix special cases description.
1591 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1592
1593 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1594 DP_HI_MASK entry.
1595 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1596
691bc9c1
L
15972012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1598
3d9b46b3
L
1599 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1600
de2139a9
L
1601 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1602 is NULL.
1603
5ca78dd0
L
1604 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1605 (LDLIBS-tst-chk4): This.
1606 (LDFLAGS-tst-chk5): Renamed to ...
1607 (LDLIBS-tst-chk5): This.
1608 (LDFLAGS-tst-chk6): Renamed to ...
1609 (LDLIBS-tst-chk6): This.
1610 (LDFLAGS-tst-lfschk4): Renamed to ...
1611 (LDLIBS-tst-lfschk4): This.
1612 (LDFLAGS-tst-lfschk5): Renamed to ...
1613 (LDLIBS-tst-lfschk5): This.
1614 (LDFLAGS-tst-lfschk6): Renamed to ...
1615 (LDLIBS-tst-lfschk6): This.
1616
691bc9c1
L
1617 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1618 on $(common-objpfx)soversions.mk.
1619
65cafb1c
JM
16202012-09-07 Joseph Myers <joseph@codesourcery.com>
1621
1622 [BZ #10014]
1623 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1624 example host name.
1625
c78ab094
SP
16262012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1627
1628 * malloc/arena.c (arena_get_retry): New function that gets
1629 another arena for the caller to try its request on.
1630 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1631 current arena cannot fulfill the request.
1632 (__libc_memalign): Likewise.
1633 (__libc_memalign): Likewise.
1634 (__libc_pvalloc): Likewise.
1635 (__libc_calloc): Likewise.
1636
01f49f59
JT
16372012-09-05 John Tobey <john.tobey@gmail.com>
1638
1639 [BZ #13542]
1640 * manual/arith.texi (Operations on Complex): Fix description
1641 of carg branch cut.
1642
4c23fed5
JM
16432012-09-06 Joseph Myers <joseph@codesourcery.com>
1644
1d3c8572
JM
1645 [BZ #10014]
1646 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1647 host name.
1648
4c23fed5
JM
1649 [BZ #10038]
1650 * manual/memory.texi (Memory): Make order of menu items match
1651 order of sections.
1652
04570aaa
L
16532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1654
1655 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1656 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1657 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1658
b80af2f4
L
16592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1660
1661 * csu/libc-tls.c (static_dtv): Renamed to ...
1662 (_dl_static_dtv): This. Make it global.
1663 (_dl_initial_dtv): Removed.
1664 (__libc_setup_tls): Updated.
1665 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1666 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1667 DL_INITIAL_DTV.
1668
2abe9f15
PM
16692012-09-06 Petr Machata <pmachata@redhat.com>
1670
1671 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1672 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1673 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1674 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1675
0948c3af
L
16762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1677
1678 [BZ #14545]
1679 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1680 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1681 freeing dtv[-1].
1682
a5055ad1
L
16832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1684
1685 [BZ #14544]
1686 * Makeconfig (link-static-before-libc): Replace $(+prector)
1687 with $(+prectorT).
1688 (link-static-after-libc): Replace $(+postctor) with
1689 $(+postctorT).
1690 (link-bounded): Replace $(+prector)/$(+postctor) with
1691 $(+prectorT)/$(+postctorT).
1692 (+prectorT): New macro.
1693 (+postctorT): Likewise.
1694
ed8c2ecd
JM
16952012-09-06 Joseph Myers <joseph@codesourcery.com>
1696
1697 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1698 (round_str): Handle values above the maximum for IBM long double
1699 as inexact.
1700 * stdlib/tst-strtod-round.c (tests): Regenerated.
1701
14c996c8
AK
17022012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1703
1704 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1705 assembler flag.
1706 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1707 zarch_nohighgprs around the zarch optimized routines.
1708 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1709 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1710 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1711 for zarch.
1712
430d6ce6
DM
17132012-09-05 David S. Miller <davem@davemloft.net>
1714
1715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1716
ff04dda4
DM
1717 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1718 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1719 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1720 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1721 entries.
1722
24d4e01b
AO
17232012-09-05 Alexandre Oliva <aoliva@redhat.com>
1724
1725 * malloc/arena.c: Fold copyright years.
1726 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1727
61d58174
AO
17282012-09-05 Alexandre Oliva <aoliva@redhat.com>
1729
1730 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1731
20196a5e
AO
17322012-09-05 Alexandre Oliva <aoliva@redhat.com>
1733
1734 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1735
5c447383
AO
17362012-09-05 Alexandre Oliva <aoliva@redhat.com>
1737
1738 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1739 change internal state upon failure.
1740
fad64255
AO
17412012-09-05 Alexandre Oliva <aoliva@redhat.com>
1742
1743 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1744 * malloc/memusage.c (mmap): Likewise.
1745 (mmap64, mremap): Likewise. Adjust name in comment.
1746
1ffb8c90
SP
17472012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1748
1749 * libio/fileops.c: Fix typos in comments.
1750 * libio/oldfileops.c: Likewise.
1751 * libio/wfileops.c: Likewise.
1752
6ef9cc37
SP
17532012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1754
1755 [BZ #1349]
1756 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1757 (tst-malloc-usable-ENV): Set environment for test case.
1758 * malloc/hooks.c (malloc_check_get_size): New function to get
1759 requested size.
1760 * malloc/malloc.c (musable): Use malloc_check_get_size.
1761 * malloc/tst-malloc-usable.c: New test case.
1762
4d038ae3
AS
17632012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1764
1765 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1766
c4e85184
AM
17672012-09-05 Allan McRae <allan@archlinux.org>
1768
b9dafc56 1769 [BZ #13966]
c4e85184
AM
1770 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1771 determine header location.
1772 * configure: Regenerated.
1773
e1343020
AS
17742012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1775
1776 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1777 float format.
1778 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1779 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1780 format.
e1343020
AS
1781 (test): Regenerate.
1782
0a9f1987
DM
17832012-09-04 David S. Miller <davem@davemloft.net>
1784
1785 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1786 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1787 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1788
29237804
FW
17892012-09-04 Florian Weimer <fweimer@redhat.com>
1790
1791 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1792 failures.
1793
edb3cb88
FW
1794 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1795
60160d83
JM
17962012-09-04 Joseph Myers <joseph@codesourcery.com>
1797
1798 [BZ #9914]
1799 * libio/iogetdelim.c: Include <limits.h>.
1800 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1801 + len + 1 would overflow.
1802
bcd6c8dc
AJ
18032012-09-03 Andreas Jaeger <aj@suse.de>
1804
1805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1806 * sysdeps/i386/fpu/libm-test-ulps: Update.
1807
4ffffbd2
LD
18082012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1809
1810 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1811 Add s_sinf-sse2, s_conf-sse2.
1812
1813 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1814 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1815 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1816 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1817
1818 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1819 for using routine as __sinf_ia32.
1820 Use macro for function declaration and weak_alias.
1821 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1822 for using routine as __cosf_ia32.
1823 Use macro for function declaration and weak_alias.
1824
1825 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1826 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1827
1828 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1829 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1831
1832 * math/libm-test.inc (cos_test): Add more test cases.
1833 (sin_test): Likewise.
1834 (sincos_test): Likewise.
1835
511fa286
AK
18362012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1837
1838 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1839 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1840 hidden.
1841 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1842
5f30cfec
L
18432012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1844
1845 [BZ #14538]
1846 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1847 first element of the GOT.
1848 (elf_machine_load_address): Return the difference between
1849 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1850
0786794f
AM
18512012-09-01 Allan McRae <allan@archlinux.org>
1852
5f30cfec
L
1853 [BZ #13412]
1854 * configure.in (AWK): Require gawk version 3.0 or later.
1855 * configure: Regenerated.
0786794f 1856
26889eac
JM
18572012-09-01 Joseph Myers <joseph@codesourcery.com>
1858
1859 * sysdeps/unix/sysv/linux/kernel-features.h
1860 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1861 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1862 [__NR_clock_getres]: Make code unconditional.
1863 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1864 (clock_getcpuclockid): Remove code left unreachable by removal of
1865 conditionals.
1866 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1867 code unconditional.
1868 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1869 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1870 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1871 Make code unconditional.
1872 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1873 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1874 * sysdeps/unix/sysv/linux/clock_settime.c
1875 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1876 conditional code.
1877 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1878 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1879
d22e28b0
L
18802012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1881
1882 [BZ #14476]
1883 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1884 scripts/test-installation.pl.
1885
1886 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1887 and $ld_so_version if it is set.
1888
050af9c4
SP
18892012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1890
1891 [BZ #14516]
1892 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1893 failure if reading from procfs failed.
1894 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1895
ad845c0b
JM
18962012-08-27 Joseph Myers <joseph@codesourcery.com>
1897
1898 * sysdeps/unix/sysv/linux/kernel-features.h
1899 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1900 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1901 Remove conditional code.
1902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1903 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1904 Remove conditional code.
1905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1906 * sysdeps/unix/sysv/linux/i386/fxstat.c
1907 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1909 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1910 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1912 * sysdeps/unix/sysv/linux/i386/lxstat.c
1913 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1914 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1915 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1916 Remove conditional code.
1917 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1918 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1919 Remove conditional code.
1920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1921 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1922 <kernel-features.h>.
1923 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1924 Remove.
1925 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1926 Remove conditional code.
1927 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1928 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1929 Remove conditional.
1930
5dbf56af
MF
19312012-08-27 Mike Frysinger <vapier@gentoo.org>
1932
1933 [BZ #5400]
1934 * NEWS: Add fixed bug number.
1935
d6e70f43
JM
19362012-08-27 Joseph Myers <joseph@codesourcery.com>
1937
7efb4737
JM
1938 [BZ #14519]
1939 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1940 underflowing exponent in case of negative sign.
1941 * stdlib/tst-strtod-round-data: Add more tests.
1942 * stdlib/tst-strtod-round.c (tests): Regenerated.
1943
af92131a
JM
1944 [BZ #3479]
1945 * stdlib/strtod_l.c (NDIG): Remove.
1946 (HEXNDIG): Likewise.
1947 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1948 smallest representable value.
1949 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1950 lie within an exact representation of 1/2 ulp of the result.
1951 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1952 unconditionally.
1953 (TENS_P9_IDX): Define unconditionally.
1954 (TENS_P9_SIZE): Likewise.
1955 (TENS_P10_IDX): Likewise.
1956 (TENS_P10_SIZE): Likewise.
1957 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1958 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1959 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1960 entries for 10^2^13 and 10^2^14.
1961 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1962 (TENS_P13_IDX): Define.
1963 (TENS_P13_SIZE): Likewise.
1964 (TENS_P14_IDX): Likewise.
1965 (TENS_P14_SIZE): Likewise.
1966 (_fpioconst_pow10): Change array size to
1967 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1968 unconditional.
1969 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1970 1024]: Add entries for 10^2^13 and 10^2^14.
1971 [LAST_POW10 > _LAST_POW10]: Remove #error.
1972 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1973 (_fpioconst_pow10): Change array size to
1974 FPIOCONST_POW10_ARRAY_SIZE.
1975 * stdlib/gen-fpioconst.c: New file.
1976 * stdlib/gen-tst-strtod-round.c: Likewise.
1977 * stdlib/tst-strtod-round-data: Likewise.
1978 * stdlib/tst-strtod-round.c: Likewise.
1979 * stdlib/Makefile (tests): Add tst-strtod-round.
1980
d6e70f43
JM
1981 [BZ #14459]
1982 * stdlib/strtod_l.c: Include <stdint.h>.
1983 (NDEBUG): Do not define.
1984 (round_and_return): Change EXPONENT parameter to type intmax_t.
1985 Rearrange calculations to avoid internal overflow possibilities.
1986 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1987 Rearrange calculations to avoid internal overflow possibilities.
1988 Assert that number fits inside MPNSIZE limbs.
1989 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1990 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1991 calculations and add assertions to avoid internal overflow
1992 possibilities. Add casts to avoid signed/unsigned operations.
1993 * stdlib/tst-strtod-overflow.c: New file.
1994 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1995
1f529f7d
MP
19962012-08-25 Marek Polacek <polacek@redhat.com>
1997
1998 * time/time.h: Fix some typos in comments.
1999
59a629f1
RM
20002012-08-23 Roland McGrath <roland@hack.frob.com>
2001
2002 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2003 * posix/tst-rfc3484-2.c: Likewise.
2004 * posix/tst-rfc3484-3.c: Likewise.
2005
d3bafbc9
SM
20062012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2007
2008 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2009 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2010
4efcc022
JM
20112012-08-23 Joseph Myers <joseph@codesourcery.com>
2012
2013 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2014 #include of fxstatat64.c.
2015
3cc3ef96
RM
20162012-08-22 Roland McGrath <roland@hack.frob.com>
2017
f04e2132
RM
2018 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2019 * shadow/getspent_r.c: Likewise.
2020 * shadow/getspnam.c: Likewise.
2021 * shadow/getspnam_r.c: Likewise.
2022 * gshadow/getsgent.c: Likewise.
2023 * gshadow/getsgent_r.c: Likewise.
2024 * gshadow/getsgnam.c: Likewise.
2025 * gshadow/getsgnam_r.c: Likewise.
2026 * inet/getnetbyad.c: Likewise.
2027 * inet/getnetbyad_r.c: Likewise.
2028 * inet/getnetbynm.c: Likewise.
2029 * inet/getnetbynm_r.c: Likewise.
2030 * inet/getnetent.c: Likewise.
2031 * inet/getnetent_r.c: Likewise.
2032 * inet/getproto.c: Likewise.
2033 * inet/getproto_r.c: Likewise.
2034 * inet/getprtent.c: Likewise.
2035 * inet/getprtent_r.c: Likewise.
2036 * inet/getprtname.c: Likewise.
2037 * inet/getprtname_r.c: Likewise.
2038 * inet/getrpcbyname.c: Likewise.
2039 * inet/getrpcbyname_r.c: Likewise.
2040 * inet/getrpcbynumber.c: Likewise.
2041 * inet/getrpcbynumber_r.c: Likewise.
2042 * inet/getrpcent.c: Likewise.
2043 * inet/getrpcent_r.c: Likewise.
2044 * inet/getaliasent.c: Likewise.
2045 * inet/getaliasent_r.c: Likewise.
2046 * inet/getaliasname.c: Likewise.
2047 * inet/getaliasname_r.c: Likewise.
2048 * nscd/getgrgid_r.c: Likewise.
2049 * nscd/getgrnam_r.c: Likewise.
2050 * nscd/gethstbyad_r.c: Likewise.
2051 * nscd/gethstbynm3_r.c: Likewise.
2052 * nscd/getpwnam_r.c: Likewise.
2053 * nscd/getpwuid_r.c: Likewise.
2054 * nscd/getsrvbynm_r.c: Likewise.
2055 * nscd/getsrvbypt_r.c: Likewise.
2056 * nscd/gai.c: Likewise.
2057
c53d909c
RM
2058 * configure.in (build_nscd): New substituted variable, set
2059 by --disable-build-nscd and defaults to $use_nscd.
2060 * configure: Regenerated.
2061 * config.make.in (build-nscd): New substituted variable.
2062 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2063 Change conditional to require [$(build-nscd) = yes] as well.
2064 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2065
3cc3ef96
RM
2066 [BZ# 13696]
2067 * configure.in (use_nscd): New substituted variable, set by
2068 --disable-nscd. If enabled, define USE_NSCD.
2069 * configure: Regenerated.
2070 * config.h.in: Add USE_NSCD.
2071 * config.make.in (use-nscd): New substituted variable.
2072 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2073 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2074 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2075 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2076 (CFLAGS-getgrnam_r.c): Likewise.
2077 (CFLAGS-initgroups.c): Likewise.
2078 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2079 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2080 Variables removed.
2081 * inet/getnetgrent_r.c
2082 (nscd_setnetgrent): New function, broken out of ...
2083 (setnetgrent): ... here. Call it.
2084 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2085 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2086 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2087 * nscd/Makefile (routines, aux): Move definitions after include of
2088 Makeconfig. Conditionalize on [$(use-nscd) != no].
2089 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2090 Conditionalize on [USE_NSCD].
2091 (is_nscd, nscd_init_cb): Likewise.
2092 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2093 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2094 * nss/nss_db/db-init.c: Likewise.
2095 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2096 [USE_NSCD].
2097 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2098 (make_request): Use it.
2099 (cache_valid_p): New function.
2100 (__check_pf): Use it.
2101 * NEWS: Add item for --disable-nscd.
2102
07e51550
DL
21032012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2104
2105 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2106 to support sed >= 4.2.1-20-ga9bf076.
2107 * configure: Regenerated.
2108
35a5b08b
RM
21092012-08-22 Roland McGrath <roland@hack.frob.com>
2110
2111 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2112 Conditionalize whole body on [IREL].
2113
8479f23a
JL
21142012-08-22 Jeff Law <law@redhat.com>
2115
2116 [BZ #14505]
2117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2118 if the family is PF_UNSPEC.
2119
48da0b21
MF
21202012-08-22 Mike Frysinger <vapier@gentoo.org>
2121
2122 * Makerules (lib-version): Rename from V.
2123 (install-lib-nosubdir): Change V to lib-version.
2124
15d0da8c
WS
21252012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2126
2127 [BZ #14252]
2128 * powerpc32/power6/wcschr.c: New file.
2129 * powerpc32/power6/wcscpy.c: New file.
2130 * powerpc32/power6/wcsrchr.c: New file.
2131 * powerpc64/power6/wcschr.c: New file.
2132 * powerpc64/power6/wcscpy.c: New file.
2133 * powerpc64/power6/wcsrchr.c: New file.
2134
bcca0895
MK
21352012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2136
2137 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2138 (two_way_short_needle): Use it.
5a4aaa33
RM
2139 * string/strstr.c (AVAILABLE1_USES_J): Define.
2140 * string/strcasestr.c: Likewise.
99677e57
MK
2141
2142 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2143 array references.
2144 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2145
400726de
MK
2146 [BZ #11607]
2147 * NEWS: Add an entry.
2148 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2149 define their defaults.
2150 (two_way_short_needle): Detect end-of-string on-the-fly.
2151 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2152 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2153 * string/bug-strcasestr1.c: New test.
2154 * string/Makefile: Run it.
2155
20a71f2c
MK
21562012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2157
2158 [BZ #11607]
2159 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2160 the first character.
2161
21ad0558
RM
21622012-08-21 Roland McGrath <roland@hack.frob.com>
2163
2164 * csu/elf-init.c (__libc_csu_irel): Function removed.
2165 * csu/libc-start.c (apply_irel): New function.
2166 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2167
0e1d9911
JM
21682012-08-21 Joseph Myers <joseph@codesourcery.com>
2169
2170 * sysdeps/unix/sysv/linux/kernel-features.h
2171 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2172 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2173 <kernel-features.h>.
2174 [__NR_fadvise64_64]: Make code unconditional.
2175 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2176 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2177 !__NR_fadvise64_64)]: Likewise.
2178 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2179 !__NR_fadvise64_64))]: Likewise.
2180 [__NR_fadvise64]: Make code unconditional.
2181 [!__NR_fadvise64]: Remove conditional code.
2182 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2183 <kernel-features.h>.
2184 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2185 unconditional.
2186 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2187 conditional code.
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2189 not include <kernel-features.h>.
2190 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2191 unconditional.
2192 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2193 conditional code.
2194 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2195 include <kernel-features.h>.
2196 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2197 unconditional.
2198 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2199 conditional code.
2200
14a50c9d
WS
22012012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2202
2203 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2204 slight instruction rearrangements per scrollpipe analysis.
2205 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2206
c0f4faf0
RM
22072012-08-20 Roland McGrath <roland@hack.frob.com>
2208
696da859
RM
2209 * manual/syslog.texi (syslog; vsyslog, closelog):
2210 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2211 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2212
c0f4faf0
RM
2213 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2214 DSOCAPS to match condition on defining it.
2215
348363b2
JM
22162012-08-20 Joseph Myers <joseph@codesourcery.com>
2217
a35cbf28
JM
2218 * sysdeps/unix/sysv/linux/kernel-features.h
2219 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2221 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2222 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2224 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2225 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2227 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2228 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2229
445f7ecd
JM
2230 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2231 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2232
348363b2
JM
2233 * sysdeps/unix/sysv/linux/kernel-features.h
2234 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2235 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2236 unconditional.
2237 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2238 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2239 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2240 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2241 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2242 Make code unconditional.
2243 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2244 (__mmap64) [!__NR_mmap2]: Likewise.
2245 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2246 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2247 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2248 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2249 [__NR_mmap2]: Make code unconditional.
2250 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2251 (__mmap64) [!__NR_mmap2]: Likewise.
2252
bc5bc0e5
AK
22532012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2254
2255 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2256
88d506de
AJ
22572012-08-18 Andreas Jaeger <aj@suse.de>
2258
2259 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2260
493387d2
MF
22612012-08-18 Mike Frysinger <vapier@gentoo.org>
2262
2263 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2264 * include/unistd.h (__have_sock_cloexec): Likewise.
2265 (__have_pipe2): Likewise.
2266 (__have_dup3): Likewise.
2267
a277af22
MF
22682012-08-18 Mike Frysinger <vapier@gentoo.org>
2269
2270 [BZ #9685]
2271 * include/unistd.h (__have_pipe2): Change define into an extern int.
2272 (__have_dup3): Likewise.
2273 * socket/have_sock_cloexec.c: Include fcntl.h.
2274 (__have_pipe2): New variable.
2275 (__have_dup3): Likewise.
2276
fdab8fd3
MF
22772012-08-17 Mike Frysinger <vapier@gentoo.org>
2278
2279 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2280
31035e80
MP
22812012-08-17 Marek Polacek <polacek@redhat.com>
2282
2283 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2284 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2285
3bd9e993
RM
22862012-08-17 Roland McGrath <roland@hack.frob.com>
2287
c91c505f
RM
2288 * configure.in: Add AC_SUBST for sysheaders.
2289 * configure: Regenerated.
2290 * config.make.in (sysheaders): New substituted variable.
2291
7c6f9d53
RM
2292 * sysdeps/unix/mkfifo.c: Moved ...
2293 * sysdeps/posix/mkfifo.c: ... here.
2294 * sysdeps/unix/mkfifoat.c: Moved ...
2295 * sysdeps/posix/mkfifoat.c: ... here.
2296
2297 * sysdeps/unix/utime.c: Moved ...
2298 * sysdeps/posix/utime.c: ... here.
2299
2300 * sysdeps/unix/time.c: Moved ...
2301 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2302 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2303 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2304
2305 * sysdeps/unix/nice.c: Moved ...
2306 * sysdeps/posix/nice.c: ... here.
2307
2308 * sysdeps/unix/alarm.c: Moved ...
2309 * sysdeps/posix/alarm.c: ... here.
2310
3bd9e993
RM
2311 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2312
d1f09384
JL
23132012-08-17 Jeff Law <law@redhat.com>
2314
2315 * intl/Makefile (codeset_mo): New variable.
2316 ($(codeset_mo)): New target.
2317 (tst-codeset.out): Depend on that. Remove explicit rule.
2318 (tst-gettext3.out, tst-gettext5.out): Likewise.
2319 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2320 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2321 * intl/tst-codeset.sh: Remove.
2322 * intl/tst-gettext3.sh: Likewise.
2323 * intl/tst-gettext5.sh: Likewise.
2324
2ae1ae5c
RM
23252012-08-17 Roland McGrath <roland@hack.frob.com>
2326
c31fdb83
RM
2327 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2328 * sysdeps/unix/syscalls.list: ... here.
2329
a0844057
RM
2330 * sysdeps/posix/getaddrinfo.c
2331 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2332 (gaiconf_init, gaiconf_reload): Use them.
2333 [!_STATBUF_ST_NSEC]
2334 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2335 Define using time_t rather than struct timespec.
2336
750c1f2a
RM
2337 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2338 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2339 Macros removed.
2340 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2341 [!NO_THREADS].
2342 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2343 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2344 Likewise.
2345
2ae1ae5c
RM
2346 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2347 __libc_cleanup_push argument.
2348
e66a42f5
RM
2349 * bits/param.h: New file.
2350 * misc/sys/param.h: New file.
2351 * include/sys/param.h: New file.
2352 * misc/Makefile (headers): Add bits/param.h.
2353 * sysdeps/generic/sys/param.h: File removed.
2354 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2355 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2356 * sysdeps/mach/hurd/bits/param.h: New file.
2357 * sysdeps/mach/hurd/sys/param.h: New file.
2358
b7c08a66
RM
2359 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2360 last change.
2361
b2e1c562
RM
2362 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2363 [_IO_MTSAFE_IO].
2364 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2365 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2366 New macros.
2367
c75ccd4c
RM
2368 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2369 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2370 rather than -D_IO_MTSAFE_IO conditionally.
2371 * stdio-common/Makefile (CPPFLAGS): Likewise.
2372 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2373 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2374 Use $(libio-mtsafe).
2375 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2376 of -D_IO_MTSAFE_IO.
2377 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2378 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2379 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2380 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2381 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2382 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2383 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2384 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2385 (CFLAGS-fread_u_chk.c): Likewise.
2386 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2387 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2388 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2389 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2390 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2391 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2392 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2393 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2394 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2395
2396 * libio/Makefile: Test [$(libc-reentrant) = yes]
2397 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2398
2399 * Makeconfig
2400 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2401 * sysdeps/pthread/configure: File removed.
2402 * sysdeps/pthread/Makeconfig: New file.
2403 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2404 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2405
d9195db8
GB
24062012-08-16 Gary Benson <gbenson@redhat.com>
2407
2408 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2409 unmapping the first object in a namespace.
2410
86466cd9
RM
24112012-08-16 Roland McGrath <roland@hack.frob.com>
2412
2413 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2414 (__internal_setnetgrent): ... this. Add internal_function to
2415 definition. Add libc_hidden_def.
2416 (setnetgrent): Update caller.
2417 (internal_endnetgrent): Renamed to ...
2418 (__internal_endnetgrent): ... this. Add internal_function to
2419 definition. Add libc_hidden_def.
2420 (endnetgrent): Update caller.
2421 (internal_getnetgrent_r): Renamed to ...
2422 (__internal_getnetgrent_r): ... this. Add internal_function to
2423 definition. Add libc_hidden_def.
2424 (__getnetgrent_r): Update caller.
2425 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2426
c3c8283c
JM
24272012-08-16 Joseph Myers <joseph@codesourcery.com>
2428
2429 * stdlib/longlong.h: Update from GCC.
2430
db1ee0a8
RM
24312012-08-16 Roland McGrath <roland@hack.frob.com>
2432
2433 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2434 on _QL, which is set by umul_ppmm but never used.
2435 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2436 variables, which are set by GMP macros but never used.
2437 * stdio-common/_itowa.c (_itowa): Likewise.
2438 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2439 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2440
30f69637
CD
24412012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2442
2443 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2444 struct La_sh_regs is not constant.
2445 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2446 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2447 and struct La_sparc64_regs are not constant.
2448
93a78ac4
JM
24492012-08-16 Joseph Myers <joseph@codesourcery.com>
2450
2451 * sysdeps/unix/sysv/linux/kernel-features.h
2452 (__ASSUME_POSIX_TIMERS): Remove.
2453 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2454 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2455 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2456 Make code unconditional.
2457 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2458 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2459 Make code unconditional.
2460 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2461 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2462 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2463 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2464 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2465 Make code unconditional.
2466 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2467 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2468 (__libc_missing_posix_timers): Remove.
2469
dd924cd7
RM
24702012-08-15 Roland McGrath <roland@hack.frob.com>
2471
4b4f2771
RM
2472 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2473 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2474
601c888b
RM
2475 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2476
176790a7
RM
2477 * elf/dl-sym.c: Include <stdlib.h>.
2478
329bc018
RM
2479 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2480 constants, which avoids warnings in 32-bit builds.
2481
e04e272d
RM
2482 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2483 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2484
952bf94a
RM
2485 * misc/lseek.c: File moved to ...
2486 * io/lseek.c: ... here.
2487
7c99b50a
RM
2488 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2489
dd924cd7
RM
2490 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2491 shifting LEN more than 31 bits at once.
2492
b3f479a8
LD
24932012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2494
2495 [BZ #14195]
8c4ae0d4
RM
2496 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2497 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2498 * string/test-strncasecmp.c (check1): Renamed to...
2499 (bz12205): ...this.
2500 (bz14195): Add new testcase for two empty input strings and N > 0.
2501 (test_main): Call new testcase, adapt for renamed function.
2502
9c55864e
AJ
25032012-08-15 Andreas Jaeger <aj@suse.de>
2504
2505 [BZ #14090]
2506 * crypt/md5test2.c: New test, based on test supplied by Serge
2507 Belyshev <belyshev@depni.sinp.msu.ru>.
2508 * crypt/Makefile (xtests): Add md5test-giant..
2509 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2510
02dcb6c5
PE
25112012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2512
2513 [BZ #14090]
2514 * crypt/md5.c (md5_process_block): Don't assume the buffer
2515 length is less than 2**32.
2516 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2517 length is less than 2**64.
2518
a3f95dcc
RM
25192012-08-15 Roland McGrath <roland@hack.frob.com>
2520
be75d758
RM
2521 * string/str-two-way.h: Include <sys/param.h>.
2522 (MAX): Macro removed.
2523
7312ca90
RM
2524 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2525 Move #define and #undef of memmove to just before and after
2526 including <string.h>.
2527
9a0a5486
RM
2528 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2529 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2530 and after including <string.h>. Move declarations of
2531 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2532 to before #include "string/memmove.c".
2533
67cc348d
RM
2534 * include/dirent.h: Declare __getdirentries.
2535
a3f95dcc
RM
2536 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2537 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2538
ca98e171
MF
25392012-08-14 Mike Frysinger <vapier@gentoo.org>
2540
2541 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2542 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2543 * sysdeps/i386/configure: Regenerated.
2544 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2545 STABS_CURRENT_FILE, and STABS_FUN.
2546 (END): Remove call to STABS_FUN_END.
2547 (STABS_CURRENT_FILE1): Delete.
2548 (STABS_CURRENT_FILE): Likewise.
2549 (STABS_FUN): Likewise.
2550 (STABS_FUN_END): Likewise.
2551 (STABS_FUN2): Likewise.
2552 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2553 * sysdeps/x86_64/configure: Regenerated.
2554
5908bf46
RM
25552012-08-14 Roland McGrath <roland@hack.frob.com>
2556
2557 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2558 * elf/dl-lookup.c: Likewise.
5908bf46 2559
f2c05b9e
JM
25602012-08-14 Joseph Myers <joseph@codesourcery.com>
2561
2562 * sysdeps/unix/sysv/linux/kernel-features.h
2563 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2564 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2565 unconditionally.
2566 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2567 unconditionally.
2568 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2569 condition on __ASSUME_CLONE_THREAD_FLAGS.
2570
e11f5155
AJ
25712012-08-14 Andreas Jaeger <aj@suse.de>
2572
2573 * sysdeps/i386/fpu/libm-test-ulps: Update.
2574
51a9ba86
MK
25752012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2576
2fdd4f78
AJ
2577 * include/atomic.h (atomic_exchange_and_add): Split into ...
2578 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2579 New atomic macros.
51a9ba86 2580
ba6cba9e
MT
25812012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2582
2583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2584
42443a47
JL
25852012-08-13 Jeff Law <law@redhat.com>
2586
2587 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2588 null byte in the output string.
2589
121dce05
JM
25902012-08-10 Joseph Myers <joseph@codesourcery.com>
2591
2592 * sysdeps/unix/sysv/linux/kernel-features.h
2593 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2594 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2595 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2596 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2597 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2598 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2599 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2600
bf51f568
JL
26012012-08-09 Jeff Law <law@redhat.com>
2602
2603 [BZ #13939]
2604 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2605 When avoid_arena is set, don't retry in the that arena. Pick the
2606 next one, whatever it might be.
2607 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2608 (arena_lock): Pass in new parameter to arena_get2.
2609 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2610 arena_get2.
2611 (__libc_malloc): Unify retrying after main arena failure with
2612 __libc_memalign version.
2613 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2614
f85fa270
L
26152012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2616
2617 [BZ #14166]
2618 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2619 to __redirect_strstr.
2620 (__strstr_sse42): Use typeof __redirect_strstr.
2621 (__strstr_ia32): Likewise.
2622 (__libc_strstr): New prototype.
2623 (strstr): Renamed to ...
2624 (__libc_strstr): This.
2625 (strstr): New strong alias of __libc_strstr.
2626 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2627 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2628 __redirect_time.
2629 Include <time.h>.
2630 (__libc_time): New prototype.
2631 (time_ifunc): Replace time with __libc_time.
2632 (time): New strong alias and hidden definition of __libc_time.
2633 (__GI_time): Remove strong alias.
2634 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2635 Include <stddef.h>.
2636 (memmove): Redefined to __redirect_memmove.
2637 (__memmove_sse2): Use typeof __redirect_memmove.
2638 (__memmove_ssse3): Likewise.
2639 (__memmove_ssse3_back): Likewise.
2640 (__libc_memmove): New prototype.
2641 (memmove): Renamed to ...
2642 (__libc_memmove): This.
2643 (memmove): New strong alias of __libc_memmove.
2644
33b4a91e
MS
26452012-08-08 Mark Salter <msalter@redhat.com>
2646
2647 * elf/elf.h
2648 (R_MN10300_TLS_GD): Define.
2649 (R_MN10300_TLS_LD): Likewise.
2650 (R_MN10300_TLS_LDO): Likewise.
2651 (R_MN10300_TLS_GOTIE): Likewise.
2652 (R_MN10300_TLS_IE): Likewise.
2653 (R_MN10300_TLS_LE): Likewise.
2654 (R_MN10300_TLS_DTPMOD): Likewise.
2655 (R_MN10300_TLS_DTPOFF): Likewise.
2656 (R_MN10300_TLS_TPOFF): Likewise.
2657 (R_MN10300_SYM_DIFF): Likewise.
2658 (R_MN10300_ALIGN): Likewise.
2659 (R_MN10300_NUM): Update.
2660
b36137f1
JM
26612012-08-08 Joseph Myers <joseph@codesourcery.com>
2662
2663 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2664 Remove.
2665
cdd915fd
RM
26662012-08-08 Roland McGrath <roland@hack.frob.com>
2667
a2433aac
RM
2668 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2669
cdd915fd
RM
2670 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2671 sysdeps/unix -> sysdeps/posix move.
2672 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2673
bf9b740a
AM
26742012-08-07 Allan McRae <allan@archlinux.org>
2675
2676 [BZ #14303]
2677 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2678 (SUNOS_CPP): Likewise.
2679 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2680 not found.
2681 (open_input): Call CPP using execvp.
2682
93df14ee
JM
26832012-08-07 Joseph Myers <joseph@codesourcery.com>
2684
2685 * sysdeps/unix/sysv/linux/kernel-features.h
2686 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2687 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2688 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2689 (__ASSUME_WAITID_SYSCALL): Likewise.
2690 * sysdeps/unix/sysv/linux/dl-execstack.c
2691 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2692 code unconditional.
2693 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2694 conditional code.
2695 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2696 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2697 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2698 code.
2699 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2700 unconditional.
2701 [__ASSUME_WAITID_SYSCALL]: Likewise.
2702 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2703
d34689de
RM
27042012-08-07 Roland McGrath <roland@hack.frob.com>
2705
a281decc
RM
2706 * sysdeps/unix/closedir.c: Renamed to ...
2707 * sysdeps/posix/closedir.c: ... here.
2708 * sysdeps/unix/dirfd.c: Renamed to ...
2709 * sysdeps/posix/dirfd.c: ... here.
2710 * sysdeps/unix/dirstream.h: Renamed to ...
2711 * sysdeps/posix/dirstream.h: ... here.
2712 * sysdeps/unix/fdopendir.c: Renamed to ...
2713 * sysdeps/posix/fdopendir.c: ... here.
2714 * sysdeps/unix/opendir.c: Renamed to ...
2715 * sysdeps/posix/opendir.c: ... here.
2716 * sysdeps/unix/readdir.c: Renamed to ...
2717 * sysdeps/posix/readdir.c: ... here.
2718 * sysdeps/unix/readdir_r.c: Renamed to ...
2719 * sysdeps/posix/readdir_r.c: ... here.
2720 * sysdeps/unix/rewinddir.c: Renamed to ...
2721 * sysdeps/posix/rewinddir.c: ... here.
2722 * sysdeps/unix/seekdir.c: Renamed to ...
2723 * sysdeps/posix/seekdir.c: ... here.
2724 * sysdeps/unix/telldir.c: Renamed to ...
2725 * sysdeps/posix/telldir.c: ... here.
2726 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2727 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2728 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2729 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2730
22895b47
RM
2731 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2732 * bits/fcntl.h: ... here.
2733
707a53b6
RM
2734 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2735 not 0.
2736 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2737 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2738 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2739 (struct flock): Move l_start, l_len to the beginning.
2740 Use __pid_t for l_pid.
2741 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2742 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2743 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2744 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2745 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2746 [__USE_LARGEFILE64] (struct flock64): New type.
2747 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2748
f0bd3e25
RM
2749 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2750 * bits/dirent.h: ... here.
2751
d34689de
RM
2752 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2753 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2754
6dad2c06
JM
27552012-08-07 Joseph Myers <joseph@codesourcery.com>
2756
2757 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2758 Change from 2.6.0 to 2.6.16.
2759 * sysdeps/unix/sysv/linux/configure: Regenerated.
2760 * sysdeps/unix/sysv/linux/kernel-features.h
2761 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2762 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2763 version.
2764 (__ASSUME_UTIMES): Likewise.
2765 (__ASSUME_CLONE_STOPPED): Remove.
2766 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2767 architectures, not kernel version.
2768 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2769 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2770 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2771 (__ASSUME_WAITID_SYSCALL): Likewise.
2772 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2773 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2774 * README: State 2.6.16 as minimum Linux kernel version. Do not
2775 refer to older versions.
2776
03af9520
RM
27772012-08-06 Roland McGrath <roland@hack.frob.com>
2778
8e49df1d
RM
2779 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2780 Define alphasort64 as an alias.
2781 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2782 Define versionsort64 as an alias.
2783 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2784 Define scandir64 as an alias.
2785 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2786 Define scandirat64 as an alias.
2787 * dirent/alphasort64.c (alphasort64):
2788 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2789 * dirent/versionsort64.c: Likewise.
2790 * dirent/scandir64.c: Likewise.
2791 * dirent/scandirat64.c: Likewise.
2792 * sysdeps/wordsize-64/alphasort.c: File removed.
2793 * sysdeps/wordsize-64/alphasort64.c: File removed.
2794 * sysdeps/wordsize-64/scandir.c: File removed.
2795 * sysdeps/wordsize-64/scandir64.c: File removed.
2796 * sysdeps/wordsize-64/scandirat.c: File removed.
2797 * sysdeps/wordsize-64/scandirat64.c: File removed.
2798 * sysdeps/wordsize-64/versionsort.c: File removed.
2799 * sysdeps/wordsize-64/versionsort64.c: File removed.
2800 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2801 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2802 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2803 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2804 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2805 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2806 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2807 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2808
2809 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2811 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2812 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2813 [defined __arch64__ || defined __sparcv9]
2814 (__INO_T_MATCHES_INO64_T): New macro.
2815 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2816 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2817 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2818 * sysdeps/unix/sysv/linux/bits/dirent.h
2819 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2820 (_DIRENT_MATCHES_DIRENT64): New macro.
2821
03af9520
RM
2822 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2823 Define lockf64 as an alias.
2824 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2825 Define fseeko64 as an alias.
2826 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2827 Define ftello64 as an alias.
2828 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2829 Define _IO_fgetpos64 and fgetpos64 as aliases.
2830 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2831 Define _IO_fsetpos64 and fsetpos64 as aliases.
2832 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2833 Conditionalize body on this.
2834 * libio/fseeko64.c: Likewise.
2835 * libio/ftello64.c: Likewise.
2836 * libio/iofgetpos64.c: Likewise.
2837 * libio/iofsetpos64.c: Likewise.
2838 * sysdeps/wordsize-64/lockf.c: File removed.
2839 * sysdeps/wordsize-64/lockf64.c: File removed.
2840 * sysdeps/wordsize-64/fseeko.c: File removed.
2841 * sysdeps/wordsize-64/fseeko64.c: File removed.
2842 * sysdeps/wordsize-64/ftello.c: File removed.
2843 * sysdeps/wordsize-64/ftello64.c: File removed.
2844 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2845 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2846 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2847 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2848 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2849 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2850 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2851 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2852 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2853 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2854 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2855 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2856 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2857 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2858
2859 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2860 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2861 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2862 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2863 [defined __arch64__ || defined __sparcv9]
2864 (__OFF_T_MATCHES_OFF64_T): New macro.
2865 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2866 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2867 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2868 (__OFF_T_MATCHES_OFF64_T): New macro.
2869
c5757acd
L
28702012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2871
2872 * stdlib/secure-getenv.c (__secure_getenv): Replace
2873 GLIBC_2_16 with GLIBC_2_17.
2874
3a31811e
L
28752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2876
2877 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2878 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2879
faa2bccb
DM
28802012-08-03 David S. Miller <davem@davemloft.net>
2881
2882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2883
85fe1997
JM
28842012-08-03 Joseph Myers <joseph@codesourcery.com>
2885
2886 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2887 Remove.
2888 (__ASSUME_CORRECT_SI_PID): Likewise.
2889 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2890 (__ASSUME_TMPFS_NAME): Likewise.
2891 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2892 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2893 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2894 (HAVE_AUX_SECURE): Make definition unconditional.
2895 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2896 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2897
4f75b7a0
RM
28982012-08-03 Roland McGrath <roland@hack.frob.com>
2899
2900 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2901 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2902 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2903 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2904 __eloop_threshold instead of SYMLOOP_MAX.
2905
2906 * sysdeps/generic/eloop-threshold.h: New file.
2907 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2908 of MAXSYMLINKS.
2909 * elf/chroot_canon.c (chroot_canon): Likewise.
2910
7aab07e4
JM
29112012-08-03 Joseph Myers <joseph@codesourcery.com>
2912
2913 [BZ #13717]
2914 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2915 Change to 2.6.0 everywhere.
2916 * sysdeps/unix/sysv/linux/configure: Regenerated.
2917 * sysdeps/unix/sysv/linux/kernel-features.h
2918 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2919 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2920 kernel versions.
2921 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2922 (__ASSUME_FUTEX_REQUEUE): Remove.
2923 (__ASSUME_STATFS64): Define unconditionally.
2924 (__ASSUME_AT_SECURE): Likewise.
2925 (__ASSUME_CORRECT_SI_PID): Likewise.
2926 (__ASSUME_TGKILL): Define without depending on kernel version for
2927 i386.
2928 (__ASSUME_UTIMES): Likewise.
2929 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2930 kernel version.
2931 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2932 (__ASSUME_TMPFS_NAME): Likewise.
2933 * README: Update reference to Linux kernel versions.
2934
b67e9372
MP
29352012-08-02 Marek Polacek <polacek@redhat.com>
2936
1f529f7d 2937 [BZ# 14150]
b67e9372
MP
2938 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2939 libc_cv_asm_type_prefix with %.
2940 * configure: Regenerated.
d2441631
RM
2941 * include/libc-symbols.h: Remove comment about
2942 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2943 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2944 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2945 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2946 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2947 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2948 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2949 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2950 * elf/tst-unique2mod1.c: Likewise.
2951 * elf/tst-unique1mod2.c: Likewise.
2952 * elf/tst-unique1mod1.c: Likewise.
2953 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2954 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2955 Replace ASM_TYPE_DIRECTIVE with .type.
2956 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2957 * sysdeps/i386/sysdep.h: Likewise.
2958 * sysdeps/x86_64/sysdep.h: Likewise.
2959 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2961 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2962 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2963 * sysdeps/powerpc/powerpc32/sysdep.h:
2964 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2965 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2966 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2967 * sysdeps/i386/fpu/e_powf.S: Likewise.
2968 * sysdeps/i386/fpu/e_expl.S: Likewise.
2969 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2970 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2971 * sysdeps/i386/fpu/e_pow.S: Likewise.
2972 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2973 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2974 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2975 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2976 * sysdeps/i386/fpu/e_log2.S: Likewise.
2977 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2978 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2979 * sysdeps/i386/fpu/e_powl.S: Likewise.
2980 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2981 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2982 * sysdeps/i386/fpu/e_logl.S: Likewise.
2983 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2984 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2985 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2986 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2987 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2988 * sysdeps/i386/fpu/e_log.S: Likewise.
2989 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2990 * sysdeps/i386/fpu/e_logf.S: Likewise.
2991 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2992 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2993 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2994 * sysdeps/i386/fpu/e_log10.S: Likewise.
2995 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2996 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2997 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2998 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2999 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3000 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3001 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3002 * sysdeps/i386/i686/strtok.S: Likewise.
3003 * sysdeps/i386/i386-mcount.S: Likewise.
3004 * sysdeps/i386/strtok.S: Likewise.
3005 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3006 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3007 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3008 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3009 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3010 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3011 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3012 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3013 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3014 * sysdeps/x86_64/_mcount.S: Likewise.
3015 * sysdeps/x86_64/strtok.S: Likewise.
3016 * sysdeps/sh/_mcount.S: Likewise.
3017
2747bf9a
RM
30182012-08-01 Roland McGrath <roland@hack.frob.com>
3019
3020 * libio/iofopen.c: Include <fcntl.h>.
3021 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3022 (_IO_fopen64, fopen64): Define as aliases.
3023 * libio/iofopen64.c: Include <fcntl.h>.
3024 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3025 Conditionalize body on this.
3026 * sysdeps/wordsize-64/iofopen.c: File removed.
3027 * sysdeps/wordsize-64/iofopen64.c: File removed.
3028
3fb791b8
MP
30292012-08-01 Marek Polacek <polacek@redhat.com>
3030
3031 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3032 Use dlfcn directly instead of a variable.
3033 (binfmt-subdir): Do not define.
3034 (dlfcn): Likewise.
3035
a9f1039f
JM
30362012-08-01 Joseph Myers <joseph@codesourcery.com>
3037
23bddc06
JM
3038 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3039 Remove all definitions.
3040 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3041 <kernel-features.h>.
3042 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3043 (miss_F_GETOWN_EX): Remove all definitions.
3044 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3045 macro definition.
3046 [!__ASSUME_FCNTL64]: Remove conditional code.
3047 [__ASSUME_FCNTL64]: Make code unconditional.
3048 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3049 <kernel-features.h>.
3050 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3051 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3052 (lockf64) [__NR_fcntl64]: Make code unconditional.
3053 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3054
a9f1039f
JM
3055 * sysdeps/unix/sysv/linux/kernel-features.h
3056 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3057 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3058 Make code unconditional.
3059 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3060 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3062 [__NR_vfork]: Make code unconditional.
3063 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3064 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3066 [__NR_vfork]: Make code unconditional.
3067 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3068 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3069
09c0ee5f
RM
30702012-08-01 Roland McGrath <roland@hack.frob.com>
3071
48aec5b9
RM
3072 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3073 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3074
cd97c966
RM
3075 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3076 Define mkstemp64 as an alias.
3f55550c
RM
3077 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3078 Define mkstemps64 as an alias.
cd97c966
RM
3079 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3080 Define mkostemp64 as an alias.
b8625cfc
RM
3081 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3082 Define mkostemps64 as an alias.
cd97c966
RM
3083 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3084 Conditionalize body on this.
3085 * misc/mkostemp64.c: Likewise.
b8625cfc 3086 * misc/mkostemps64.c: Likewise.
3f55550c 3087 * misc/mkstemps64.c: Likewise.
cd97c966
RM
3088 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3089 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3090 * sysdeps/wordsize-64/mkostemp.c: File removed.
3091 * sysdeps/wordsize-64/mkstemp.c: File removed.
3092 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3093 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3094 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3095 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3096
09c0ee5f
RM
3097 [BZ #14138]
3098 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3099 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3100 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3101 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3102
3103 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3104 compat_symbol macros from <shlib-compat.h> rather than the underlying
3105 default_symbol_version and symbol_version macros, so that DEFAULT
3106 lines in shlib-versions are respected.
3107 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3108
7e66ee51
FW
31092012-08-01 Florian Weimer <fweimer@redhat.com>
3110
3111 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3112 Declare with warn_unused_result.
3113 (setgid, setregid, setegid, setresgid): Likewise.
3114 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3115 Likewise.
3116 * WUR-REPORT: Remove set*id functions.
3117
d2a54255
PT
31182012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3119
3120 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3121
7ecdb005
RM
31222012-07-31 Roland McGrath <roland@hack.frob.com>
3123
789bd351
RM
3124 * include/sys/socket.h (__libc_accept, __libc_accept4):
3125 Add attribute_hidden.
3126 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3127
40ce302d
RM
3128 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3129 use of PTR_MANGLE.
3130 * inet/getnetgrent_r.c (setup): Likewise.
3131
7ecdb005
RM
3132 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3133
e2eabb2c
DM
31342012-07-31 David S. Miller <davem@davemloft.net>
3135
3136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3137
d0419dbf
JM
31382012-07-31 Joseph Myers <joseph@codesourcery.com>
3139
3140 [BZ #13629]
3141 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3142 value between 1.0 and 2.0 and smaller part has absolute value less
3143 than 1.0.
3144 * math/s_clog10.c (__clog10): Likewise.
3145 * math/s_clog10f.c (__clog10f): Likewise.
3146 * math/s_clog10l.c (__clog10l): Likewise.
3147 * math/s_clogf.c (__clogf): Likewise.
3148 * math/s_clogl.c (__clogl): Likewise.
3149 * math/libm-test.inc (clog_test): Add more tests.
3150 (clog10_test): Likewise.
3151 * sysdeps/i386/fpu/libm-test-ulps: Update.
3152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3153
2bc13872
FW
31542012-07-31 Florian Weimer <fweimer@redhat.com>
3155
3156 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3157 Exit with zero in case no suitable GID is found, and write a
3158 message to standard error.
3159
bea9b193
RM
31602012-07-30 Roland McGrath <roland@hack.frob.com>
3161
3162 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3163 rather than to 1.
3164 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3165 (MAXPATHLEN): Removed.
3166 (NOGROUP, NODEV): New macros.
3167 (setbit, clrbit, isset, isclr): New macros.
3168 (howmany, roundup, powerof2): New macros.
3169 (DEV_BSIZE): New macro.
3170
3171 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3172 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3173
3174 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3175 definition on [!__NO_LONG_DOUBLE_MATH].
3176
3177 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3178 PTR_MANGLE and PTR_DEMANGLE.
3179
3180 * socket/accept4.c (accept4): Rename to __libc_accept4.
3181 Define accept4 as a weak alias.
3182
3183 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3184 on [_DIRENT_HAVE_D_TYPE].
3185 * io/ftw.c (ftw_dir): Likewise.
3186
3187 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3188
3189 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3190
3191 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3192 Use the BSD numbers rather than the arbitrary ones we had.
3193 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3194 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3195 (SIGXCPU, SIGXFSZ): New macros.
3196 (_NSIG): Now 32.
3197
3198 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3199 initializer on [_LIBC_REENTRANT].
3200
3201 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3202 definitions inside [_POSIX_MAPPED_FILES].
3203
3204 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3205
3206 * dirent/opendir.c: Include <fcntl.h>.
3207
3208 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3209 (__libc_getspecific): Likewise.
3210 (__libc_key_create): Likewise.
3211
3212 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3213 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3214 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3215 (tmpfile64): Define as alias.
3216 * sysdeps/wordsize-64/tmpfile.c: File removed.
3217 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3218 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3219 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3220
3221 * stdio-common/vfscanf.c: Include <stdbool.h>.
3222 * nss/makedb.c: Likewise.
3223 * stdio-common/_i18n_number.h: Likewise.
3224 * argp/argp-help.c: Likewise.
3225 * posix/wordexp.c: Likewise.
3226 * sysdeps/posix/spawni.c: Likewise.
3227 * nss/nss_files/files-initgroups.c: Likewise.
3228 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3229 * nss/nss_files/files-initgroups.c: Likewise.
3230 * nss/nss_db/db-netgrp.c: Likewise.
3231 * nss/nss_db/db-initgroups.c: Likewise.
3232 * io/fchmodat.c: Include <sys/stat.h>.
3233
3234 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3235 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3236
3237 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3238 [HAVE_MMAP].
3239
3240 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3241 Add multiple inclusion protection.
3242
e5abc686
DM
32432012-07-27 David S. Miller <davem@davemloft.net>
3244
3245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3246
815e6fa3
GB
32472012-07-27 Gary Benson <gbenson@redhat.com>
3248
3249 [BZ #14298]
3250 * elf/rtld.c: Include <stap-probe.h>.
3251 (dl_main): Added static probes "init_start" and "init_complete".
3252 * elf/dl-load.c: Include <stap-probe.h>.
3253 (lose): Take new parameter "nsid".
3254 Added static probe "map_failed".
3255 (_dl_map_object_from_fd): Pass namespace id to lose.
3256 Added static probe "map_start".
3257 (open_verify): Pass namespace id to lose.
3258 * elf/dl-open.c: Include <stap-probe.h>.
3259 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3260 and "reloc_complete".
3261 * elf/dl-close.c: Include <stap-probe.h>.
3262 (_dl_close_worker): Added static probes "unmap_start" and
3263 "unmap_complete".
3264 * elf/rtld-debugger-interface.txt: New file documenting the above.
3265
9f98c16c
RM
32662012-07-26 Roland McGrath <roland@hack.frob.com>
3267
3268 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3269 rather than a string variable.
3270 * sunrpc/rpc_main.c (h_output): Likewise.
3271 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3272
f3c22df3
PT
32732012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3274
3275 * inet/check_native.c: New file.
3276
3129cfc6
JM
32772012-07-26 Joseph Myers <joseph@codesourcery.com>
3278
da865e95
JM
3279 [BZ #13629]
3280 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3281 if larger part has absolute value 1.0.
3282 * math/s_clog10.c (__clog10): Likewise.
3283 * math/s_clog10f.c (__clog10f): Likewise.
3284 * math/s_clog10l.c (__clog10l): Likewise.
3285 * math/s_clogf.c (__clogf): Likewise.
3286 * math/s_clogl.c (__clogl): Likewise.
3287 * math/libm-test.inc (clog_test): Add more tests.
3288 (clog10_test): Likewise.
3289 * sysdeps/i386/fpu/libm-test-ulps: Update.
3290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3291
3129cfc6
JM
3292 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3293 (pltexit): Likewise.
3294 (La_regs): Likewise.
3295 (La_retval): Likewise.
3296 (int_retval): Likewise.
3297 Update #error for removed macros to refer only to definitions in
3298 tst-audit.h.
3299 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3300 macro.
3301 (pltexit): Likewise.
3302 (La_regs): Likewise.
3303 (La_retval): Likewise.
3304 (int_retval): Likewise.
3305 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3306 macro.
3307 (pltexit): Likewise.
3308 (La_regs): Likewise.
3309 (La_retval): Likewise.
3310 (int_retval): Likewise.
3311 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3312 macro.
3313 (pltexit): Likewise.
3314 (La_regs): Likewise.
3315 (La_retval): Likewise.
3316 (int_retval): Likewise.
3317 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3318 macro.
3319 (pltexit): Likewise.
3320 (La_regs): Likewise.
3321 (La_retval): Likewise.
3322 (int_retval): Likewise.
3323 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3324 macro.
3325 (pltexit): Likewise.
3326 (La_regs): Likewise.
3327 (La_retval): Likewise.
3328 (int_retval): Likewise.
3329 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3330 macro.
3331 (pltexit): Likewise.
3332 (La_regs): Likewise.
3333 (La_retval): Likewise.
3334 (int_retval): Likewise.
3335 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3336 macro definitions in tst-audit.h.
3337 * sysdeps/i386/tst-audit.h: New file.
3338 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3339 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3340 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3341 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3342 * sysdeps/sh/tst-audit.h: Likewise.
3343 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3344 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3345 * sysdeps/x86_64/tst-audit.h: Likewise.
3346
bfc07087
AJ
33472012-07-26 Andreas Jaeger <aj@suse.de>
3348
b1b2aaf8
AJ
3349 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3350 ptrace.
3351
3352 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3353 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3354 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3355 PTRACE_O_MASK.
3356 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3357 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3358 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3359
bfc07087
AJ
3360 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3361 value.
3362
3363 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3364 _sigsys.
3365 (si_call_addr, si_syscall, si_arch): Define new macro.
3366 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3367 _sigsys.
3368 (si_call_addr, si_syscall, si_arch): Define new marcro.
3369 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3370 _sigsys.
3371 (si_call_addr, si_syscall, si_arch): Define new macro.
3372 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3373 _sigsys.
3374 (si_call_addr, si_syscall, si_arch): Define new macro.
3375
89b4b02f
JM
33762012-07-25 Joseph Myers <joseph@codesourcery.com>
3377
3378 [BZ #13717]
3379 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3380 Change to 2.4.21 where previously 2.4.1.
3381 * sysdeps/unix/sysv/linux/configure: Regenerated.
3382 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3383 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3384 Linux kernel version.
3385 (__ASSUME_STD_AUXV): Remove.
3386 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3387 kernel version.
3388 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3389 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3390 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3391 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3392 (__ASSUME_NETLINK_SUPPORT): Likewise.
3393 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3394 (__no_netlink_support): Remove conditional definition.
3395 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3396 Remove.
3397 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3398 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3399 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3400 (if_nameindex_ioctl): Remove.
3401 (if_nameindex_netlink): Do not handle __no_netlink_support.
3402 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3403 code.
3404 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3405 Remove conditional code.
3406 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3407 code.
3408 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3409 unconditional.
3410 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3411 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3412 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3413 Remove.
3414 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3415 [!__ASSUME_STD_AUXV]: Remove conditional code.
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3417 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3418 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3420 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3421 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3422 code.
3423 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3425 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3426 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3427 conditional code.
3428 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3430 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3431 code.
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3433 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3434 conditional code.
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3436 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3437 code unconditional.
3438 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3439 conditional code.
3440 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3441 unconditional.
3442 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3443 conditional code.
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3445 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3446 unconditional.
3447 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3448 conditional code.
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3450 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3451 code unconditional.
3452 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3453 conditional code.
3454 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3455 unconditional.
3456 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3457 conditional code.
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3459 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3460 code unconditional.
3461 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3462 conditional code.
3463 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3464 unconditional.
3465 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3466 conditional code.
3467
842a39cd
AS
34682012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3469
3470 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3471 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3472 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3473 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3474 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3475 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3476 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3477 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3478 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3479 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3480 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3481 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3482 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3483 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3484 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3485 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3486 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3487 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3488 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3489 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3490 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3491 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3492 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3493
84b3fd84
FW
34942012-07-25 Florian Weimer <fweimer@redhat.com>
3495
3496 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3497 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3498 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3499 Introduce __libc_secure_getenv.
0c7936d5
FW
3500 * stdlib/Versions (2.17): Add secure_getenv
3501 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3502 * stdlib/secure-getenv.c: Rename __secure_getenv to
3503 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3504 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3505 * stdlib/tst-secure-getenv.c: New.
3506 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3507 * manual/startup.texi (Environment Access): Document
3508 secure_getenv.
84b3fd84
FW
3509 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3510 __libc_secure_getenv.
3511 * inet/ruserpass.c (ruserpass): Likewise.
3512 * malloc/mtrace.c (mtrace): Likewise.
3513 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3514 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3515 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3516 * sysdeps/posix/tempname.c: Likewise. Evaluate
3517 HAVE_SECURE_GETENV.
3518 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3519 __secure_getenv to __libc_secure_getenv.
84b3fd84 3520 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3522 Likewise.
3523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3524 Likewise.
3525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3527 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3532
56e49b71
JM
35332012-07-25 Joseph Myers <joseph@codesourcery.com>
3534
3535 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3536 (struct La_i86_retval): Likewise.
3537 (struct La_x86_64_regs): Likewise.
3538 (struct La_x86_64_retval): Likewise.
3539 (struct La_x32_regs): Likewise.
3540 (struct La_x32_retval): Likewise.
3541 (struct La_ppc32_regs): Likewise.
3542 (struct La_ppc32_retval): Likewise.
3543 (struct La_ppc64_regs): Likewise.
3544 (struct La_ppc64_retval): Likewise.
3545 (struct La_sh_regs): Likewise.
3546 (struct La_sh_retval): Likewise.
3547 (struct La_s390_32_regs): Likewise.
3548 (struct La_s390_32_retval): Likewise.
3549 (struct La_s390_64_regs): Likewise.
3550 (struct La_s390_64_retval): Likewise.
3551 (struct La_sparc32_regs): Likewise.
3552 (struct La_sparc32_retval): Likewise.
3553 (struct La_sparc64_regs): Likewise.
3554 (struct La_sparc64_retval): Likewise.
3555 (struct audit_ifaces): Remove architecture-specific pltenter and
3556 pltexit members.
3557 * sysdeps/i386/ldsodefs.h: New file.
3558 * sysdeps/powerpc/ldsodefs.h: Likewise.
3559 * sysdeps/s390/ldsodefs.h: Likewise.
3560 * sysdeps/sh/ldsodefs.h: Likewise.
3561 * sysdeps/sparc/ldsodefs.h: Likewise.
3562 * sysdeps/x86_64/ldsodefs.h: Likewise.
3563
354691b7
MP
35642012-07-25 Marek Polacek <polacek@redhat.com>
3565
3566 [BZ #6808]
3567 * math/libm-test.inc (yn_test): Add another test.
3568 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3569 to ERANGE when the result is +-Inf.
3570 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3571 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3572 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3573 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3574
bf9e2071
JM
35752012-07-24 Joseph Myers <joseph@codesourcery.com>
3576
3577 * conform/data/time.h-data (NULL): Use macro-constant. Require
3578 equal to 0.
3579 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3580 clock_t.
3581 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3582
57633811
TS
35832012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3584
3585 * configure.in <sysdeps resolving>: Correct printing
3586 Implies_before.
3587 * configure: Regenerate.
3588
c23c33b0
TS
35892012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3590
3591 * math/w_ilogb.c: Include <limits.h>.
3592 * math/w_ilogbl.c: Likewise.
3593
b5982523
JM
35942012-07-20 Joseph Myers <joseph@codesourcery.com>
3595
3596 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3597 va_copy. Document allowing for unavailable va_copy only as
3598 pre-C99 compatibility.
3599 * manual/string.texi (Copying and Concatenation): Use va_copy
3600 instead of __va_copy in concat example.
3601
ac4ea442
PT
36022012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3603
3604 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3605 (__sendto): Use create_address_port. Initialize APORT and deallocate
3606 it if not null.
3607
f98eafbd
PT
3608 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3609 with O_NOLINK passed to __file_name_lookup.
3610
898c7aab
PT
3611 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3612 with O_NOLINK passed to __file_name_lookup.
3613
0ced335a
PT
3614 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3615 negative N or less than NGIDS.
3616
b3404dbd
PT
3617 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3618 type to string_t. Set ERANGE as errno and return it if NAME is not big
3619 enough. Use memcpy instead of strncpy.
3620
0f48659e
JM
36212012-07-20 Joseph Myers <joseph@codesourcery.com>
3622
3623 * elf/Makefile (check-data): Remove.
3624 (localplt.data): New vpath directive.
3625 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3626 instead of $(check-data).
3627 * scripts/data/localplt-generic.data: Move to ...
3628 * sysdeps/generic/localplt.data: ... here.
3629 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3630 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3631 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3633 ... here.
3634 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3636 ... here.
3637 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3639 ... here.
3640 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3642 ... here.
3643 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3645 ... here.
3646 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3648 ... here.
3649
d37cbdaa
AZ
36502012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3651
3652 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3653 PPC32 and PPC64 files.
3654 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3655 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3656
46f85fc2
AK
36572012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3658
3659 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3660 __makecontext_ret to ...
3661 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3662 ... here and call exit if uc_link is NULL. New file.
3663 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3664 __makecontext_ret.S.
3665 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3666 __makecontext_ret to ...
3667 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3668 ... here and call exit if uc_link is NULL. New file.
3669 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3670 __makecontext_ret.S.
3671
08f43f9b
AK
36722012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3673
3674 * elf/elf.h (R_390_IRELATIVE): New definition.
3675 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3676 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3677 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3678 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3679 (elf_machine_lazy_rel): Likewise.
3680 * sysdeps/s390/dl-irel.h: New file.
3681 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3682 * sysdeps/s390/s390-64/memset.S: New asm code.
3683 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3684 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3685 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3686 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3687 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3688 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3689 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3690 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3691 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3692 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3693 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3694 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3695 * sysdeps/s390/s390-32/memset.S: New asm code.
3696 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3697
3b05db33
MP
36982012-07-17 Marek Polacek <polacek@redhat.com>
3699
3700 [BZ #14349]
3701 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3702 * sysdeps/s390/s390-64/configure.in: Likewise.
3703 * sysdeps/sparc/configure.in: Likewise.
3704 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3705 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3706 * sysdeps/i386/configure.in: Likewise.
3707 * sysdeps/x86_64/configure.in: Likewise.
3708 * sysdeps/sh/configure.in: Likewise.
3709 * sysdeps/s390/s390-32/configure: Regenerated.
3710 * sysdeps/s390/s390-64/configure: Likewise.
3711 * sysdeps/x86_64/configure: Likewise.
3712 * sysdeps/sh/configure: Likewise.
3713 * sysdeps/powerpc/powerpc64/configure: Likewise.
3714 * sysdeps/powerpc/powerpc32/configure: Likewise.
3715 * sysdeps/sparc/configure: Likwise.
3716 * sysdeps/i386/configure: Likewise.
3717
a66877c6
MP
3718 * elf/dl-open.c: Comment fixes.
3719
cfc82fd8
JM
37202012-07-17 Joseph Myers <joseph@codesourcery.com>
3721
bd29910a
JM
3722 * Makefile [CXX] (check-data): Remove.
3723 [CXX] (c++-types.data): New vpath directive.
3724 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3725 vpath. Do not allow for C++ type data being missing.
3726 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3727 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3728 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3729 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3730 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3731 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3732 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3734 ... here.
3735 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3737 ... here.
3738 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3740 ... here.
3741 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3743 ... here.
3744 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3746 ... here.
3747 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3749 ... here.
3750 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3752 ... here.
3753 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3755
cfc82fd8
JM
3756 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3757 definitions to architecture-specific files.
3758 (TLS_IE): Likewise.
3759 (TLS_LD): Likewise.
3760 (TLS_GD): Likewise.
3761 * sysdeps/i386/tls-macros.h: New file.
3762 * sysdeps/powerpc/tls-macros.h: Likewise.
3763 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3764 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3765 * sysdeps/sh/tls-macros.h: Likewise.
3766 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3767 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3768 * sysdeps/x86_64/tls-macros.h: Likewise.
3769
f7db3170
TS
37702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3771
07cbfc23
TS
3772 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3773 zero value for regular exit case.
3774
f7db3170
TS
3775 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3776 (__start_context): Preserve zero value for regular exit case.
3777
dc97c227
TS
37782012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3779 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3780
3781 * manual/setjmp.texi (setcontext): Clarify normal process
3782 termination when uc_link is the null pointer.
3783 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3784 exit call.
3785
d0cd7d02
AS
37862012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3787
3788 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3789 preprocessor. Test for each exception mask separately.
3790
dd318934
AJ
37912012-07-16 Andreas Jaeger <aj@suse.de>
3792
3793 * po/ru.po: Update from translation team.
3794
8048311a
JM
37952012-07-15 Joseph Myers <joseph@codesourcery.com>
3796
3797 * conform/data/string.h-data (NULL): Use macro-constant. Require
3798 equal to 0.
3799 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3800 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3801 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3802 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3803 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3804
b637d46e
AJ
38052012-07-13 Andreas Jaeger <aj@suse.de>
3806
3807 * po/fr.po: Update from translation team.
3808
541428fe
MP
38092012-07-12 Marek Polacek <polacek@redhat.com>
3810
3811 [BZ #14173]
3812 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3813 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3814 loop condition.
3815
ec332e94
JM
38162012-07-12 Joseph Myers <joseph@codesourcery.com>
3817
3818 [BZ #13717]
3819 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3820 Change to 2.4.1 where previously 2.4.0.
3821 * sysdeps/unix/sysv/linux/configure: Regenerated.
3822 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3823 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3824 version.
3825 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3826 (__ASSUME_AT_CLKTCK): Remove.
3827 (__ASSUME_AT_PAGESIZE): Likewise.
3828 (__ASSUME_AT_XID): Likewise.
3829 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3830 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3831 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3832 unconditionally.
3833 (HAVE_AUX_PAGESIZE): Likewise.
3834 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3835 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3836 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3837
7b6e99be
JB
38382012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3839
3840 [BZ #14307]
3841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3842 the temporary buffer used to invoke __gethostbyname2_r,
3843 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3844 host_data / struct gaih_addrtuple.
3845 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3846 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3847 header file nss/nsswitch.h.
3848 * nss/nsswitch.h (global scope): Add definition of implementation
3849 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3850 resolv/nss_dns/dns-host.c).
3851
608404eb
AJ
38522012-07-11 Andreas Jaeger <aj@suse.de>
3853
3854 * po/fr.po: Update from translation team.
3855
71220aca
AJ
3856 * po/sv.po: Update from translation team
3857 * po/fr.po: Another update from translation team.
3858
28cfe843
AZ
38592012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3860
3861 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3862 for subnormals or multiply small sinh result by itself.
3863 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3865
6b90f981
DM
38662012-07-11 David S. Miller <davem@davemloft.net>
3867
3868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3869
c6825772
AS
38702012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3871
3872 [BZ #14347]
3873 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3874 (INTERNAL_MARK): Shift it here.
3875
7b8e0d49
MP
38762012-07-10 Marek Polacek <polacek@redhat.com>
3877
3878 [BZ #14151]
3879 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3880 libc_cv_asm_global_directive with .globl.
3881 * configure: Regenerated.
3882 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3883 with .globl.
3884 * sysdeps/i386/configure: Regenerated.
3885 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3886 with .globl.
3887 * sysdeps/x86_64/configure: Regenerated.
3888 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3889 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3890 * elf/tst-unique2mod2.c: Likewise.
3891 * elf/tst-unique2mod1.c: Likewise.
3892 * elf/tst-unique1mod2.c: Likewise.
3893 * elf/tst-unique1mod1.c: Likewise.
3894 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3895 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3896 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3897 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3898 * sysdeps/mach/sysdep.h: Likewise.
3899 * sysdeps/i386/sysdep.h: Likewise.
3900 * sysdeps/i386/i386-mcount.S: Likewise.
3901 * sysdeps/x86_64/_mcount.S: Likewise.
3902 * sysdeps/x86_64/sysdep.h: Likewise.
3903 * sysdeps/sh/_mcount.S: Likewise.
3904 * sysdeps/sh/sysdep.h: Likewise.
3905 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3906 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3908 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3909 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3910 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3911 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3912 * locale/localeinfo.h: Likewise.
3913 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3914 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3915
6c55cda3
RM
39162012-07-09 Roland McGrath <roland@hack.frob.com>
3917
3918 [BZ #14336]
3919 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3920 system".
3921 * manual/message.texi (The Uniforum approach): Likewise.
3922 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3923 (glibc iconv Implementation): Likewise.
3924
638a572e
JM
39252012-07-09 Joseph Myers <joseph@codesourcery.com>
3926
3927 [BZ #14337]
3928 * math/s_clog.c (__clog): Avoid scaling a value down where that
3929 could result in underflow.
3930 * math/s_clog10.c (__clog10): Likewise.
3931 * math/s_clog10f.c (__clog10f): Likewise.
3932 * math/s_clog10l.c (__clog10l): Likewise.
3933 * math/s_clogf.c (__clogf): Likewise.
3934 * math/s_clogl.c (__clogl): Likewise.
3935 * math/libm-test.inc (clog_test): Add more tests.
3936 (clog10_test): Likewise.
3937 * sysdeps/i386/fpu/libm-test-ulps: Update.
3938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3939
261f4859
AS
39402012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3941
0abaf3e4
AS
3942 [BZ #14283]
3943 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3944 by 7 not 8 to examine high bit of fractional part.
3945
261f4859
AS
3946 [BZ #14042]
3947 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3948 for call to __mcount_internal.
3949 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3950 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3951 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3952
f17ac40d
JM
39532012-07-06 Joseph Myers <joseph@codesourcery.com>
3954
9ad63c23
JM
3955 [BZ #14154]
3956 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3957 approximation for values within 0x1p-13f of an odd multiple of
3958 pi/4.
3959 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3960 exception. Add more tests.
3961 * sysdeps/i386/fpu/libm-test-ulps: Update.
3962
f17ac40d
JM
3963 [BZ #6778]
3964 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3965 inputs and return -1 for them. Do not check for +Inf in case not
3966 reachable for +Inf.
3967 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3968 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3969 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3970 and return -1 for them. Do not check for +Inf in case not
3971 reachable for +Inf.
3972 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3973 define.
3974 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3975 and return -1 for them. Do not check for +Inf in case not
3976 reachable for +Inf.
3977 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3978 spurious underflow.
3979 * sysdeps/i386/fpu/libm-test-ulps: Update.
3980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3981
fb21f89b
MF
39822012-07-06 Mike Frysinger <vapier@gentoo.org>
3983
3984 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3985
cdfe2c5e
JM
39862012-07-05 Joseph Myers <joseph@codesourcery.com>
3987
3988 [BZ #14157]
3989 [BZ #14331]
3990 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3991 could result in spurious underflow. Scale down values above
3992 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3993 * math/s_csqrtf.c (__csqrtf): Likewise.
3994 * math/s_csqrtl.c (__csqrtl): Likewise.
3995 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3996 spurious underflow.
3997 * sysdeps/i386/fpu/libm-test-ulps: Update.
3998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3999
70d35b67
AS
40002012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4001
704bc459
AS
4002 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4003 xopen-msg.sed.
4004 * catgets/xopen-msg.awk: New file.
4005 * catgets/xopen-msg.sed: Removed.
4006
70d35b67
AS
4007 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4008 po2text.sed.
4009 * intl/po2test.awk: New file.
4010 * intl/po2test.sed: Removed.
4011
ca61cf32
JM
40122012-07-04 Joseph Myers <joseph@codesourcery.com>
4013
4014 [BZ #14328]
4015 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4016 or multiply small sinh result by itself.
4017 * math/s_ctanf.c (__ctanf): Likewise.
4018 * math/s_ctanh.c (__ctanh): Likewise.
4019 * math/s_ctanhf.c (__ctanhf): Likewise.
4020 * math/s_ctanhl.c (__ctanhl): Likewise.
4021 * math/s_ctanl.c (__ctanl): Likewise.
4022 * math/libm-test.inc (ctan_test_tonearest): New function.
4023 (ctan_test_towardzero): Likewise.
4024 (ctan_test_downward): Likewise.
4025 (ctan_test_upward): Likewise.
4026 (ctanh_test_tonearest): Likewise.
4027 (ctanh_test_towardzero): Likewise.
4028 (ctanh_test_downward): Likewise.
4029 (ctanh_test_upward): Likewise.
4030 (main): Call these new functions.
4031 * sysdeps/i386/fpu/libm-test-ulps: Update.
4032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4033
ca48a46a
MF
40342012-07-03 Mike Frysinger <vapier@gentoo.org>
4035
4036 * .gitignore: Delete /ports entry.
4037
9d63d37d
AJ
40382012-07-03 Andreas Jaeger <aj@suse.de>
4039
4040 * po/bg.po: Update from translation team.
4041 * po/cs.po: Likewise.
4042 * po/de.po: Likewise.
4043 * po/hr.po: Likewise.
4044 * po/nl.pl: Likewise.
4045 * po/pl.po: Likewise.
4046 * po/vi.po: Likewise.
4047
370ca3d2
JM
40482012-07-03 Joseph Myers <joseph@codesourcery.com>
4049
95f5a9a8
JM
4050 * Makeconfig [!+link] (+link-before-libc): New variable.
4051 [!+link] (+link-after-libc): Likewise.
4052 [!+link] (+link-tests): Likewise.
4053 [!+link] (+link): Define in terms of $(+link-before-libc) and
4054 $(+link-after-libc).
4055 [!+link-static] (+link-static-before-libc): New variable.
4056 [!+link-static] (+link-static-after-libc): Likewise.
4057 [!+link-static] (+link-static-tests): Likewise.
4058 [!+link-static] (+link-static): Define in terms of
4059 $(+link-static-before-libc) and $(+link-static-after-libc).
4060 [build-shared] (link-libc-before-gnulib): New variable.
4061 [build-shared] (link-libc-tests): Likewise.
4062 [build-shared] (link-libc): Define in terms of
4063 $(link-libc-before-gnulib).
4064 [!build-shared] (link-libc-tests): New variable.
4065 (link-libc-static-tests): New variable.
4066 [!gnulib] (gnulib-arch): New variable.
4067 [!gnulib] (gnulib-tests): Likewise.
4068 [!gnulib] (static-gnulib-arch): Likewise.
4069 [!gnulib] (static-gnulib-tests): Likewise.
4070 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4071 Define with "=" instead of ":=".
4072 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4073 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4074 * Rules (binaries-all-notests): New variable.
4075 (binaries-all-tests): Likewise.
4076 (binaries-static-notests): Likewise.
4077 (binaries-static-tests): Likewise.
4078 (binaries-all): Define using $(binaries-all-notests) and
4079 $(binaries-all-tests).
4080 (binaries-static): Define using $(binaries-static-notests) and
4081 $(binaries-static-tests).
4082 (binaries-shared-tests): New variable.
4083 (binaries-shared-notests): Likewise.
4084 (binaries-shared): Remove variable.
4085 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4086 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4087 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4088 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4089 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4090 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4091 * elf/Makefile (sln-modules): New variable.
4092 (extra-objs): Add $(sln-modules:=.o).
4093 (ldconfig-modules): Add static-stubs.
4094 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4095 * elf/static-stubs.c: New file.
4096
7a845b2c
JM
4097 [BZ #14283]
4098 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4099 by 7 not 8 to examine high bit of fractional part. Use volatile
4100 variables when splitting into final array of floats if
4101 __FLT_EVAL_METHOD__ != 0.
4102 * math/libm-test.inc (cos_test): Add another test.
4103 (sin_test): Likewise.
4104 * sysdeps/i386/fpu/libm-test-ulps: Update.
4105
e2283f38
JM
4106 [BZ #14273]
4107 * math/libm-test.inc (cosh_test): Add more tests.
4108
370ca3d2
JM
4109 * version.h (RELEASE): Set to "development".
4110 (VERSION): Set to "2.16.90".
4111
ee9247c3
CD
41122012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4113
4114 * NEWS: Update copyright. Remove last-updated date.
4115 Mention math library bug fixes and timezone data changes.
4116 * README: Mention GNU/Hurd, x32, and HPPA support status.
4117
4648c381
TS
41182012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4119
4120 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4121
aac78a43
AJ
41222012-06-27 Andreas Jaeger <aj@suse.de>
4123
4124 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4125
ed3dbfad
AJ
41262012-06-25 Andreas Jaeger <aj@suse.de>
4127
4128 * sysdeps/s390/fpu/libm-test-ulps: Update.
4129
4d0ee855
AS
41302012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4131 Thomas Schwinge <thomas@codesourcery.com>
4132
4133 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4134 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4136 fanotify_mark.
4137
af1bce34
TS
41382012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4139
a9fa33ba
TS
4140 * sysdeps/mach/start.c: Remove file.
4141 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4142 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4143 * sysdeps/sh/init-first.c: Likewise.
4144
58f902b8
TS
4145 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4146 registers for frame unwinding purposes, add CFI directives.
4147 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4148 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4149 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4150 Likewise.
4151
1518f58b
TS
4152 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4153 __fortify_fail returning.
4154 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4155
db9b5059
TS
4156 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4157 sysdeps/sh/____longjmp_chk.S.
4158 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4159 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4160 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4161 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4162
967705fe
TS
4163 * sysdeps/sh/abort-instr.h: New file.
4164 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4165 process in case exit returns.
4166
a9def8c4
TS
4167 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4168 initialize the GOT register before use.
4169
2a649725
TS
4170 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4171 calculation of ARGC > 4.
4172
af1bce34
TS
4173 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4174 meaningful names to some local labels.
4175
d230f50a
KK
41762012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4177 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4178
4179 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4180 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4181 (__arch_compare_and_exchange_val_16_acq): Likewise.
4182 (__arch_compare_and_exchange_val_32_acq): Likewise.
4183 (atomic_exchange_and_add): Fix gUSA sequence.
4184 (atomic_add): Likewise.
4185 (atomic_add_negative): Likewise.
4186 (atomic_add_zero): Likewise.
4187 (atomic_bit_test_set): Likewise.
4188
0479b305
AS
41892012-06-22 Andreas Schwab <schwab@redhat.com>
4190
4191 [BZ #13579]
4192 * include/link.h (struct link_map): Add l_free_initfini.
4193 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4194 l_initfini.
4195 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4196 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4197 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4198 set.
4199
0e3933b9
CD
42002012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4201
4202 * configure.in: Use AC_LANG_SOURCE.
4203 * configure: Regenerate.
4204
4248b1b1
RM
42052012-06-22 Roland McGrath <roland@hack.frob.com>
4206
4207 * configure.in (libc_cv_localstatedir): New substituted variable.
4208 * configure: Regenerated.
4209 * config.make.in (localstatedir): New variable, substituted from
4210 libc_cv_localstatedir.
4211 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4212 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4213 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4214 * sysdeps/gnu/configure: Regenerated.
4215
006dd861
JL
42162012-06-21 Jeff Law <law@redhat.com>
4217
4218 [BZ #14277]
4219 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4220 free. Simplify list management for _LIBC case.
4221
79662d42
JM
42222012-06-21 Joseph Myers <joseph@codesourcery.com>
4223
b7abb4bf
JM
4224 [BZ #14273]
4225 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4226 Clear sign bit of 64-bit integer value before comparing against
4227 overflow value.
4228
79662d42
JM
4229 * sysdeps/mach/configure: Regenerated.
4230
1f150908
L
42312012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4232
4233 [BZ #14278]
4234 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4235
28363bbf
JL
42362012-06-21 Jeff Law <law@redhat.com>
4237
4238 [BZ #13882]
4239 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4240 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4241 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4242 * elf/dl-open.c (dl_open_worker): Likewise.
4243
09615db4
CD
42442012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4245
4246 * scripts/list-sources.sh: Scan PORTS for translations.
4247 * po/libc.pot: Regenerated.
4248
2174c6dd
AJ
42492012-06-21 Andreas Jaeger <aj@suse.de>
4250
4251 [BZ #12194]
4252 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4253 warning.
4254 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4255 * bits/byteswap-16.h (__bswap_16): Likewise.
4256 * bits/byteswap.h (__bswap_constant_16): Likewise.
4257
3ee947b1
L
42582012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4259
4260 [BZ #14117]
a2f34833
L
4261 * sysdeps/i386/fpu_control.h: Removed.
4262 * sysdeps/x86_64/fpu_control.h: Moved to ...
4263 * sysdeps/x86/fpu_control.h: Here.
4264
3ee947b1
L
4265 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4266 (_FPU_SETCW): Likewise.
4267
ed1825f8
L
42682012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4269
25f1282a
L
4270 [BZ #14117]
4271 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4272 * sysdeps/x86/fpu/bits/mathinline.h: This.
4273 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4274
ed1825f8
L
4275 [BZ #14050]
4276 [BZ #14117]
4277 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4278 functions if __x86_64__ is defined.
4279
36d54b74
CLT
42802012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4281
4282 * string/endian.h: Add !__ASSEMBLER__ condition for including
4283 conversion interfaces.
4284
10285c21
JM
42852012-06-15 Joseph Myers <joseph@codesourcery.com>
4286
4287 [BZ #14241]
4288 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4289 of ABS(x) in calculating zero to negative powers other than odd
4290 integers.
4291 * math/libm-test.inc (pow_test): Add more tests.
4292
06c5abbd
AJ
42932012-06-15 Andreas Jaeger <aj@suse.de>
4294
4295 * manual/contrib.texi (Contributors): Update entry of Liubov
4296 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4297 Machado Filho.
4298
a3aeac40
CH
42992012-06-15 Cyril Hrubis <metan@ucw.cz>
4300
4301 * string/string.h: Add __wur to GNU version of strerror_r.
4302
49bdf4c1
L
43032012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4304
4305 [BZ #14229]
4306 * string/Makefile (tests): Add tst-strtok_r.
4307 * string/tst-strtok_r.c: New file.
4308 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4309 RAX_LP/RDX_LP on SAVE_PTR.
4310
834f9b8d
RM
43112012-06-14 Roland McGrath <roland@hack.frob.com>
4312
4313 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4314
75fa1921
JM
43152012-06-14 Joseph Myers <joseph@codesourcery.com>
4316
4317 * libm_test.inc (csqrt_test): Allow more spurious underflow
4318 exceptions.
4319 (j0_test): Likewise.
4320 (j1_test): Likewise.
4321 (y0_test): Likewise.
4322 (y1_test): Likewise.
4323
771766df
CD
43242012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4325
4326 * po/Makefile (libc.pot): Use UTF-8 charset.
4327
ceb9e56b
PP
43282012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4329
4330 [BZ #14210]
4331 Suppress sign-conversion warning from FD_SET.
4332 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4333 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4334 not unsigned long int.
4335 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4336
ddb28975
L
43372012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4338
4339 [BZ #14050]
4340 [BZ #14117]
4341 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4342 __extern_always_inline instead of __extern_inline.
4343 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4344 (__signbit): Likewise.
4345 (__signbitl): Support C++ namespace.
4346 (lrintf): New inline function.
4347 (lrint): Likewise.
4348 (llrintf): Likewise.
4349 (llrint): Likewise.
4350 (fmaxf): Likewise.
4351 (fmax): Likewise.
4352 (fminf): Likewise.
4353 (fmin): Likewise.
4354 (rint): Likewise.
4355 (rintf): Likewise.
4356 (ceil): Likewise.
4357 (ceilf): Likewise.
4358 (floor): Likewise.
4359 (floorf): Likewise.
4360 (nearbyint): Likewise.
4361 (nearbyintf): Likewise.
4362
d7b4fb26
TS
43632012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4364
4365 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4366 non-default versions.
4367
eb55f5c2
RM
43682012-06-11 Roland McGrath <roland@hack.frob.com>
4369
4370 [BZ #14218]
4371 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4372
366af02c
TS
43732012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4374
99ff6e5c
TS
4375 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4376 (FE_UPWARD, FE_DOWNWARD): Don't define.
4377 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4378 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4379
366af02c
TS
4380 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4381 reading it.
4382 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4383 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4384
793ea851
KK
43852012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4386
4387 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4388 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4389 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4390 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4391
a728a38f
L
43922012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4393
4394 [BZ #14117]
c08010c7
L
4395 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4396 * sysdeps/i386/fpu/Implies: New file.
4397 * sysdeps/x86_64/fpu/Implies: Likewise.
4398 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4399 * sysdeps/x86/fpu/bits/fenv.h: This.
4400
a728a38f
L
4401 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4402 __SSE_MATH__.
4403
6e230d11
SP
44042012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4405
4406 [BZ #14134]
4407 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4408 character 0xffff that matches the last element of the
4409 conversion table.
4410
1b671feb
AZ
44112012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4412
4413 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4414 fmodl commit.
4415
6043738b
AZ
44162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4417
4418 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4419 values higher than 25.6283.
4420
34ae0b32
AZ
44212012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4422
4423 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4424 subnormal exponent extraction and add some __builtin_expect.
4425 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4426 Fix for subnormal mantissa calculation.
4427
1214ec8f
MF
44282012-06-04 Mike Frysinger <vapier@gentoo.org>
4429
4430 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4431 cpu2 is -1 and errno is not ENOSYS.
4432
f3d1f93c
L
44332012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4434
4435 [BZ #14117]
0e4a3cd7
L
4436 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4437 * sysdeps/x86/bits/string.h: This.
4438 * sysdeps/x86_64/bits/string.h: Removed.
4439
6704c645
L
4440 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4441 if not compiling for x86-64, but compiling for >= i486.
4442
48495318
L
4443 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4444 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4445
14adcbfc
L
4446 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4447 New macro from Linux kernel 3.4.0.
4448 (FP_XSTATE_MAGIC2): Likewise.
4449 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4450 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4451 (struct _fpx_sw_bytes): New struct.
4452 (struct _xsave_hdr): Likewise.
4453 (struct _ymmh_state): Likewise.
4454 (struct _xstate): Likewise.
4455
68e408ab
L
4456 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4457 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4458 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4459 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4460 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4461 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4462
f3d1f93c
L
4463 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4464 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4465 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4466 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4467 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4468 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4469
d9dc34cd
TMQMF
44702012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4471
4472 [BZ #13743]
4473 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4474 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4475 (sysdep_headers): Include sys/platform/ppc.h.
4476 * sysdeps/powerpc/test-gettimebase.c: Test for
4477 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4478 * manual/Makefile (appendices): Include platform.texi.
4479 * manual/contrib.texi (Contributors): Update @node pointers.
4480 * manual/maint.texi (Maintenance): Likewise.
4481 (Platform): New node.
4482 * manual/platform.texi: New file. Document the new features.
4483
4af3879c
SP
44842012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4485 Jakub Jelinek <jakub@redhat.com>
4486
4487 [BZ #14188]
4488 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4489 where __builtin_expect is unavailable.
4490
2fd6ff13
DM
44912012-06-03 David S. Miller <davem@davemloft.net>
4492
4493 * stdlib/longlong.h: Updated from GCC.
4494
173f7220
AS
44952012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4496
4497 [BZ #14042]
4498 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4499 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4500 __mcount_internal.
4501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4502 (GLIBC_2.16): Likewise.
4503
f34a1c6f
L
45042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4505
4506 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4507
88a4576f
JM
45082012-06-01 Joseph Myers <joseph@codesourcery.com>
4509
ea32bcdd
JM
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4511 (default-abi): New variable.
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4513 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4514 variable.
4515 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4516 Likewise.
4517 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4518 Likewise.
4519 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4520 Likewise.
4521
88a4576f
JM
4522 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4523 definition. Document in comment.
4524
402fe938
DM
45252012-06-01 David S. Miller <davem@davemloft.net>
4526
4527 * stdlib/longlong.h: Updated from GCC.
4528
3553723f
L
45292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4530
4531 [BZ #14117]
3bd872c4
L
4532 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4533 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4534 sys/debugreg.h sys/io.h here.
4535 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4536 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4537 sys/io.h.
4538 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4539 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4540 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4541 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4542 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4543 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4544
3553723f
L
4545 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4546 Define only if __x86_64__ is defined.
4547
4842e4fe
JM
45482012-06-01 Joseph Myers <joseph@codesourcery.com>
4549
c5bfe3d5
JM
4550 [BZ #14048]
4551 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4552 Use int64_t for variable i.
4553 * math/libm-test.inc (fmod_test): Add more tests.
4554
4842e4fe
JM
4555 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4556 z computation is not scheduled after fetestexcept.
4557 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4558 Use math_force_eval instead of asm to ensure calculation scheduled
4559 before exception test.
4560 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4561 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4562
efb73488
AJ
45632012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4564
4565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4566 computation is not scheduled after fetestexcept.
4567
29bcce7c
L
45682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4569
4570 [BZ #14117]
4571 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4572 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4573
73a68f94
AZ
45742012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4575
4576 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4577 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4578
67b6df78
L
45792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4580
edf2933a 4581 [BZ #14117]
ebc64a18
L
4582 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4583 <bits/wordsize.h>.
4584 (__WCHAR_MIN): Support __WORDSIZE == 64.
4585 (__WCHAR_MAX): Likewise.
4586
edf2933a
L
4587 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4588 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4589
57c6cf40
L
4590 [BZ #14183]
4591 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4592 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4593
67b6df78 4594 [BZ #14117]
8eb6281e
L
4595 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4596 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4597
aac639f4
L
4598 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4599 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4600
67b6df78
L
4601 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4602 Defined to 1 if __x86_64__ isn't defined.
4603 (_STAT_VER_LINUX_OLD): New.
4604 (st_atime): Remove duplicate.
4605 (st_mtime): Likewise.
4606 (st_ctime): Likewise.
4607
1c2cfe81
DM
46082012-05-31 David S. Miller <davem@davemloft.net>
4609
4610 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4611 entries.
4612
5be8418c
AS
46132012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4614
e7725326
AS
4615 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4616 gen-libm-test.pl.
4617
5be8418c
AS
4618 [BZ #14132]
4619 * elf/dl-reloc.c: Include <_itoa.h>.
4620 (_dl_reloc_bad_type): Remove use of INTUSE.
4621 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4622 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4623 * stdio-common/psiginfo.c (psiginfo): Likewise.
4624 * stdio-common/psignal.c (psignal): Likewise.
4625 * string/strsignal.c (strsignal): Likewise.
4626 * include/signal.h (_sys_siglist): Declare hidden proto.
4627 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4628 INTVARDEF with libc_hidden_data_def.
4629 * stdio-common/itoa-udigits.c: Likewise.
4630 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4631 (_itoa_lower_digits_internal): Remove declaration.
4632 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4633 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4634 (_sys_sigabbrev_internal): Remove aliases.
4635 (_sys_siglist): Define hidden alias.
4636
507352f1
MT
46372012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4638
4639 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4640 bits/sysctl.h.
4641
42bbb1c3
L
46422012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4643
4644 [BZ #14117]
6bd784b6
L
4645 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4646 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4647
8bca20f0
L
4648 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4649 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4650 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4651 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4652 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4653 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4654
f9e890a9
L
4655 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4656 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4657 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4658
471101a1
L
4659 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4660 with __addr.
4661 (insw): Likewise.
4662 (insl): Likewise.
4663 (outsb): Likewise.
4664 (outsw): Likewise.
4665 (outsl): Likewise.
4666
6451c862
L
4667 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4668 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4669 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4670
a254b8c9
L
4671 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4672 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4673 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4674 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4675 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4676 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4677
b8dfdd92
L
4678 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4679 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4680
578cd270
L
4681 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4682 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4683
de662f5f
L
4684 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4686 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4687
25653439
L
4688 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4689 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4690 to ...
4691 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4692
6bad24a0
L
4693 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4694 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4695 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4696
42bbb1c3
L
4697 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4698 for x86-64.
4699 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4700
2d10d547
JM
47012012-05-31 Joseph Myers <joseph@codesourcery.com>
4702
4703 * math/math.h (M_El): Use two more decimal places.
4704 (M_LOG2El): Likewise.
4705 (M_LOG10El): Likewise.
4706 (M_LN2l): Likewise.
4707 (M_LN10l): Likewise.
4708 (M_PIl): Likewise.
4709 (M_PI_2l): Likewise.
4710 (M_PI_4l): Likewise.
4711 (M_1_PIl): Likewise.
4712 (M_2_PIl): Likewise.
4713 (M_2_SQRTPIl): Likewise.
4714 (M_SQRT2l): Likewise.
4715 (M_SQRT1_2l): Likewise.
4716
f230c29b
DM
47172012-05-31 David S. Miller <davem@davemloft.net>
4718
4719 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4720 values between float registers.
4721 * sysdeps/sparc/sparc64/memset.S: Likewise.
4722 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4723
fed806c3
MF
47242012-05-31 Mike Frysinger <vapier@gentoo.org>
4725
4726 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4727 -D_FORTIFY_SOURCE=1.
4728 (CPPFLAGS-tst-longjmp_chk.c): Define.
4729 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4730 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4731 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4732 CFLAGS-tst-wchar-h.c.
4733
30917259
MP
47342012-05-31 Marek Polacek <polacek@redhat.com>
4735
4736 [BZ #14132]
4737 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4738 __endmntent_internal): Remove declaration.
4739 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4740 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4741 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4742
1c58d5dc
DM
47432012-05-30 David S. Miller <davem@davemloft.net>
4744
4745 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4746 (___Q_simulate_exceptions): Use real FP ops rather than writing
4747 into the %fsr.
4748 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4749 Likewise.
4750
7dc00e0d
L
47512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4752
4753 [BZ #14117]
0bd53985
L
4754 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4755 * sysdeps/x86/bits/xtitypes.h: This.
4756
3a257e66
L
4757 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4758 * sysdeps/x86/bits/wordsize.h: This.
4759
62f62904
L
4760 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4761 * sysdeps/x86/bits/huge_vall.h: This.
4762
404fe9d9
L
4763 * sysdeps/i386/bits/select.h: Removed.
4764 * sysdeps/x86_64/bits/select.h: Renamed to ...
4765 * sysdeps/x86/bits/select.h: This.
4766
d48d0446
L
4767 * sysdeps/i386/bits/setjmp.h: Removed.
4768 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4769 * sysdeps/x86/bits/setjmp.h: This.
4770
7dc00e0d
L
4771 * sysdeps/i386/bits/mathdef.h: Removed.
4772 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4773 * sysdeps/x86/bits/mathdef.h: This.
4774
03277f8f
AS
47752012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4776
4777 [BZ #14132]
4778 * include/sys/socket.h (__connect_internal)
4779 (__libc_sa_len_internal): Remove declaration.
4780 (__connect, __libc_sa_len): Declare hidden_proto.
4781 (SA_LEN): Remove use of INTUSE.
4782 * socket/connect.c: Add libc_hidden_def.
4783 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4784 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4785 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4786 alias.
4787 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4788 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4789 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4790 of adding _internal alias.
4791
13764867
L
47922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4793
4794 [BZ #14117]
6bd97696
L
4795 * sysdeps/i386/bits/link.h: Removed.
4796 * sysdeps/i386/bits/linkmap.h: Likewise.
4797 * sysdeps/x86_64/bits/link.h: Renamed to ...
4798 * sysdeps/x86/bits/link.h: This.
4799 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4800 * sysdeps/x86/bits/linkmap.h: This.
4801
f726f0bb
L
4802 * sysdeps/i386/bits/endian.h: Removed.
4803 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4804 * sysdeps/x86/bits/endian.h: This.
4805
13764867
L
4806 * sysdeps/i386/bits/byteswap.h: Removed.
4807 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4808 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4809 * sysdeps/x86/bits/byteswap.h: This.
4810 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4811 * sysdeps/x86/bits/byteswap-16.h: This.
4812 * sysdeps/i386/Implies: Add x86.
4813 * sysdeps/x86_64/Implies: Likewise.
4814
ae251b0b
DM
48152012-05-30 David S. Miller <davem@davemloft.net>
4816
4817 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4818 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4819 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4820 (FP_TRAPPING_EXCEPTIONS): Define.
4821 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4822 (FP_TRAPPING_EXCEPTIONS): Define.
4823 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4824 subnormals only when inexact has been signalled or underflow
4825 exceptions are enabled.
4826 (_FP_PACK_CANONICAL): Likewise.
4827
d5c90867
L
48282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4829
4830 [BZ #14183]
4831 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4832 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4833
63f1549e
RH
48342012-05-30 Richard Henderson <rth@twiddle.net>
4835
8d8f2279
RH
4836 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4837 with #ifndef NOT_IN_libc.
4838
63f1549e
RH
4839 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4840 marked to avoid plt entry.
4841
0ab0291b
L
48422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4843
4844 [BZ #14112]
4845 * Makeconfig (default-abi): New macro.
4846 (abi-includes): Likewise.
4847 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4848 $(abi-$(default-abi)-lib-soname) for soname if defined.
4849 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4850 abi-variants.
4851 * Makefile (installed-stubs): Likewise.
4852 * include/stubs-biarch.h: Removed.
4853 * scripts/lib-names.awk: Only handle one library at a time.
4854 * scripts/soversions.awk: Remove WORDSIZE support.
4855 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4856 entries.
4857 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4858 Removed.
4859 (syscall-list-default-condition): Likewise.
4860 (syscall-list-default-condition): Likewise.
4861 (syscall-list-includes): Likewise.
4862 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4863 syscall-list-* with abi-*. Handle undefined abi-variants.
4864 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4865 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4866 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4867 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4868 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4869 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4870 Removed.
4871 (syscall-list-32-options): Likewise.
4872 (syscall-list-32-condition): Likewise.
4873 (syscall-list-64-options): Likewise.
4874 (syscall-list-64-condition): Likewise.
4875 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4876 macro.
4877 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4878 Renamed to ...
4879 (abi-*): This.
4880 (abi-64-ld-soname): New macro.
4881 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4882 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4883 Renamed to ...
4884 (abi-*): This.
4885 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4886 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4887
4da0431d
JM
48882012-05-30 Joseph Myers <joseph@codesourcery.com>
4889
3a85279c
JM
4890 * sysdeps/unix/sysv/linux/kernel-features.h
4891 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4892 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4893 include <kernel-features.h>.
4894 [!__NR_ftruncate64]: Remove conditional code.
4895 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4896 [__NR_ftruncate64]: Make code unconditional.
4897 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4898 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4899 include <kernel-features.h>.
4900 [!__NR_ftruncate64]: Remove conditional code.
4901 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4902 [__NR_ftruncate64]: Make code unconditional.
4903 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4905 include <kernel-features.h>.
4906 [!__NR_ftruncate64]: Remove conditional code.
4907 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4908 [__NR_ftruncate64]: Make code unconditional.
4909 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4911 include <kernel-features.h>.
4912 [!__NR_ftruncate64]: Remove conditional code.
4913 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4914 [__NR_ftruncate64]: Make code unconditional.
4915 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4916
4da0431d
JM
4917 * configure.in (libc_cv_fpie): Weaken to a compile test using
4918 LIBC_TRY_CC_OPTION.
4919 * configure: Regenerated.
4920
11ef492c
AK
49212012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4922
4923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4927 Refreshed.
4928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4934 Refreshed.
4935
d66ef399
DM
49362012-05-27 David S. Miller <davem@davemloft.net>
4937
4938 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4939 (___Q_zero): New.
4940 (__Q_simulate_exceptions): Return void. Change to simulate
4941 exceptions by writing into the %fsr.
4942 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4943 (__Qp_handle_exceptions): Likewise.
4944 (numbers): Delete.
4945 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4946 __Qp_handle_exceptions.
4947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4948 __Qp_handle_exceptions.
4949 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4950 as unused and give dummy FP_RND_NEAREST initializer.
4951 (FP_INHIBIT_RESULTS): Define.
4952 (___Q_simulate_exceptions): Update declaration.
4953 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4954 formatting.
4955 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4956 as unused and give dummy FP_RND_NEAREST initializer.
4957 (__Qp_handle_exceptions): Update declaration.
4958 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4959 formatting.
4960
04fb54b5
TS
49612012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4962
4963 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4964 the temporary FPU control word.
4965 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4966 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4967 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4968 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4969 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4970 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4971 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4972 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4973 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4974 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4975 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4976
3f99608f
KK
49772012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4978
4979 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4980 fields.
4981
65a4de4e
CLT
49822012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4983
4984 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4985 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4986 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4987 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4988 Likewise.
4989 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4990 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4991 Likewise.
4992
15749d40
UD
49932012-05-27 Ulrich Drepper <drepper@gmail.com>
4994
4995 * po/h.po: Update from translation team.
4996
25dbcb27
AS
49972012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4998
3d3f8e55
AS
4999 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5000
25dbcb27
AS
5001 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5002 handling of denormals.
5003 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5004 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5005 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5006 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5007 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5009 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5010 Likewise.
5011
7ad47a80 50122012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
5013
5014 [BZ #14152]
5015 * math/libm-test.inc (fma_test): Don't always expect underflow
5016 exception.
5017
9c6ea9fa
SP
50182012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5019
5020 [BZ #12416]
5021 * elf/tst-execstack.c: Include stackinfo.h.
5022 (do_test): Adjust test case to ensure that pthread_getattr_np
5023 behaviour remains the same after marking stack executable.
5024
a8239222
JM
50252012-05-25 Joseph Myers <joseph@codesourcery.com>
5026
5027 * sysdeps/unix/sysv/linux/kernel-features.h
5028 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5029 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5030 kernel-features.h.
5031 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5032 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5033 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5034 kernel-features.h.
5035 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5036 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5037
918b5606
L
50382012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5039
5040 * configure.in: Define the default includes to being none.
5041 * configure: Regenerated.
5042
3a097cc7
RM
50432012-05-25 Roland McGrath <roland@hack.frob.com>
5044
8422c9a5
RM
5045 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5046 * sysdeps/x86_64/setjmp.S: Likewise.
5047 * sysdeps/i386/bsd-setjmp.S: Likewise.
5048 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5049 * sysdeps/i386/setjmp.S: Likewise.
5050 * sysdeps/i386/__longjmp.S: Likewise.
5051 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5052 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5053
3a097cc7
RM
5054 * include/stap-probe.h: New file.
5055 * configure.in: Handle --enable-systemtap.
5056 * configure: Regenerated.
5057 * config.h.in (USE_STAP_PROBE): New #undef.
5058 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5059 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5060 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5061
21708942
JM
50622012-05-25 Joseph Myers <joseph@codesourcery.com>
5063
5064 [BZ #13717]
5065 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5066 to 2.4.0 where earlier.
5067 * sysdeps/unix/sysv/linux/configure: Regenerated.
5068 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5069 <kernel-features.h>.
5070 [__ASSUME_32BITUIDS]: Make code unconditional.
5071 [!__ASSUME_32BITUIDS]: Remove conditional code.
5072 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5073 <kernel-features.h>.
5074 [__ASSUME_32BITUIDS]: Make code unconditional.
5075 [!__ASSUME_32BITUIDS]: Remove conditional code.
5076 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5077 [__ASSUME_32BITUIDS]: Make code unconditional.
5078 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5079 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5080 <kernel-features.h>.
5081 [__ASSUME_32BITUIDS]: Make code unconditional.
5082 [!__ASSUME_32BITUIDS]: Remove conditional code.
5083 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5084 <kernel-features.h>.
5085 [__ASSUME_32BITUIDS]: Make code unconditional.
5086 [!__ASSUME_32BITUIDS]: Remove conditional code.
5087 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5088 <kernel-features.h>.
5089 [__ASSUME_32BITUIDS]: Make code unconditional.
5090 [!__ASSUME_32BITUIDS]: Remove conditional code.
5091 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5092 <kernel-features.h>.
5093 [__ASSUME_32BITUIDS]: Make code unconditional.
5094 [!__ASSUME_32BITUIDS]: Remove conditional code.
5095 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5096 <kernel-features.h>.
5097 [__ASSUME_32BITUIDS]: Make code unconditional.
5098 [!__ASSUME_32BITUIDS]: Remove conditional code.
5099 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5100 <kernel-features.h>.
5101 [__ASSUME_32BITUIDS]: Make code unconditional.
5102 [!__ASSUME_32BITUIDS]: Remove conditional code.
5103 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5104 <kernel-features.h>.
5105 [__ASSUME_32BITUIDS]: Make code unconditional.
5106 [!__ASSUME_32BITUIDS]: Remove conditional code.
5107 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5108 <kernel-features.h>.
5109 [__ASSUME_32BITUIDS]: Make code unconditional.
5110 [!__ASSUME_32BITUIDS]: Remove conditional code.
5111 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5112 <kernel-features.h>.
5113 [__ASSUME_32BITUIDS]: Make code unconditional.
5114 [!__ASSUME_32BITUIDS]: Remove conditional code.
5115 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5116 <kernel-features.h>.
5117 [__ASSUME_32BITUIDS]: Make code unconditional.
5118 [!__ASSUME_32BITUIDS]: Remove conditional code.
5119 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5120 <kernel-features.h>.
5121 [__NR_setresgid] (__setresgid): Do not declare.
5122 [__ASSUME_32BITUIDS]: Make code unconditional.
5123 [!__ASSUME_32BITUIDS]: Remove conditional code.
5124 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5125 <kernel-features.h>.
5126 [__NR_setresuid] (__setresuid): Do not declare.
5127 [__ASSUME_32BITUIDS]: Make code unconditional.
5128 [!__ASSUME_32BITUIDS]: Remove conditional code.
5129 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5130 <kernel-features.h>.
5131 [__ASSUME_32BITUIDS]: Make code unconditional.
5132 [!__ASSUME_32BITUIDS]: Remove conditional code.
5133 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5134 <kernel-features.h>.
5135 [__ASSUME_32BITUIDS]: Make code unconditional.
5136 [!__ASSUME_32BITUIDS]: Remove conditional code.
5137 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5138 <kernel-features.h>.
5139 [__ASSUME_32BITUIDS]: Make code unconditional.
5140 [!__ASSUME_32BITUIDS]: Remove conditional code.
5141 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5142 <kernel-features.h>.
5143 [__ASSUME_32BITUIDS]: Make code unconditional.
5144 [!__ASSUME_32BITUIDS]: Remove conditional code.
5145 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5146 <kernel-features.h>.
5147 [__ASSUME_32BITUIDS]: Make code unconditional.
5148 [!__ASSUME_32BITUIDS]: Remove conditional code.
5149 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5150 <kernel-features.h>.
5151 [__ASSUME_32BITUIDS]: Make code unconditional.
5152 [!__ASSUME_32BITUIDS]: Remove conditional code.
5153 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5154 <kernel-features.h>.
5155 [__ASSUME_32BITUIDS]: Make code unconditional.
5156 [!__ASSUME_32BITUIDS]: Remove conditional code.
5157 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5158 <kernel-features.h>.
5159 [__ASSUME_32BITUIDS]: Make code unconditional.
5160 [!__ASSUME_32BITUIDS]: Remove conditional code.
5161 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5162 <kernel-features.h>.
5163 [__ASSUME_32BITUIDS]: Make code unconditional.
5164 [!__ASSUME_32BITUIDS]: Remove conditional code.
5165 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5166 <kernel-features.h>.
5167 [__ASSUME_32BITUIDS]: Make code unconditional.
5168 [!__ASSUME_32BITUIDS]: Remove conditional code.
5169 * sysdeps/unix/sysv/linux/kernel-features.h
5170 (__ASSUME_SETRESUID_SYSCALL): Remove.
5171 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5172 (__ASSUME_32BITUIDS): Likewise.
5173 (__ASSUME_LDT_WORKS): Likewise.
5174 (__ASSUME_O_DIRECTORY): Likewise.
5175 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5176 architecture but not kernel version.
5177 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5178 (__ASSUME_MMAP2_SYSCALL): Likewise.
5179 (__ASSUME_STAT64_SYSCALL): Likewise.
5180 (__ASSUME_IPC64): Likewise.
5181 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5182 <kernel-features.h>.
5183 [__ASSUME_32BITUIDS]: Make code unconditional.
5184 [!__ASSUME_32BITUIDS]: Remove conditional code.
5185 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5186 <kernel-features.h>.
5187 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5188 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5189 132096]: Remove conditional code.
5190 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5191 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5192 <kernel-features.h>.
5193 [__ASSUME_32BITUIDS]: Make code unconditional.
5194 [!__ASSUME_32BITUIDS]: Remove conditional code.
5195 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5196 <kernel-features.h>.
5197 [__ASSUME_32BITUIDS]: Make code unconditional.
5198 [!__ASSUME_32BITUIDS]: Remove conditional code.
5199 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5200 <kernel-features.h>.
5201 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5202 unconditional.
5203 (__setresgid): Do not declare.
5204 [__ASSUME_32BITUIDS]: Make code unconditional.
5205 [!__ASSUME_32BITUIDS]: Remove conditional code.
5206 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5207 <kernel-features.h>.
5208 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5209 unconditional.
5210 (__setresuid): Do not declare.
5211 [__ASSUME_32BITUIDS]: Make code unconditional.
5212 [!__ASSUME_32BITUIDS]: Remove conditional code.
5213 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5214 <kernel-features.h>.
5215 [__ASSUME_32BITUIDS]: Make code unconditional.
5216 [!__ASSUME_32BITUIDS]: Remove conditional code.
5217 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5218 <kernel-features.h>.
5219 [__ASSUME_32BITUIDS]: Make code unconditional.
5220 [!__ASSUME_32BITUIDS]: Remove conditional code.
5221
a386f1cc
RH
52222012-05-25 Richard Henderson <rth@twiddle.net>
5223
5224 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5225 dl_hwcap to ifunc resolver.
5226 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5227 elf_ifunc_invoke.
5228 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5229 dl_hwcap to ifunc resolver.
5230 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5231
b6550497
JM
52322012-05-24 Joseph Myers <joseph@codesourcery.com>
5233
5234 [BZ #14153]
5235 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5236 for |x| <= 2**-26, not 2**-57.
5237 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5238 exception.
5239
b0bc23a1
JL
52402012-05-24 Jeff Law <law@redhat.com>
5241
5242 * stdio-common/Makefile (tests): Add bug25.
5243 * stdio-common/bug25.c: New test.
5244
347c92e9
L
52452012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5246
5247 [BZ #13576]
5248 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5249 multiple of MALLOC_ALIGNMENT in size.
5250 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5251
6bcc8b3f
JM
52522012-05-24 Joseph Myers <joseph@codesourcery.com>
5253
5254 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5255 Require >= 256.
5256 (FILENAME_MAX): Use macro-int-constant.
5257 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5258 (_IOFBF): Use macro-int-constant.
5259 (_IOLBF): Likewise.
5260 (_IONBF): Likewise.
5261 (SEEK_CUR): Likewise.
5262 (SEEK_END): Likewise.
5263 (SEEK_SET): Likewise.
5264 (TMP_MAX): Likewise.
5265 (EOF): Use macro-int-constant. Require < 0.
5266 (NULL): Use macro-constant. Require == 0.
5267 (stdin): Require type to be FILE *.
5268 (stdout): Likewise.
5269 (stderr): Likewise.
5270 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5271 macro-int-constant.
5272 (EXIT_SUCCESS): Likewise.
5273 (NULL): Use macro-constant. Require == 0.
5274 (RAND_MAX): Use macro-int-constant.
5275 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5276 [C99-based standards] (strtof): Require function.
5277 [C99-based standards] (strtold): Likewise.
5278 [C99-based standards] (strtoll): Likewise.
5279 [C99-based standards] (strtoull): Likewise.
5280 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5281 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5282 [ISO || ISO99 || ISO11] (math.h): Likewise.
5283 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5284 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5285 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5286
d18ea0c5
AS
52872012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5288
5289 [BZ #14132]
56d25bb8
AS
5290 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5291 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5292 * intl/dgettext.c (DCGETTEXT): Likewise.
5293 * intl/gettext.c (DCGETTEXT): Likewise.
5294 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5295 * posix/regex_internal.h (gettext): Likewise.
5296 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5297 Remove declaration.
5298 * include/argz.h (__argz_count_internal)
5299 (__argz_stringify_internal): Remove declaration.
5300 (__argz_count, __argz_stringify): Declare hidden proto.
5301 * intl/dcgettext.c: Remove use of INTDEF.
5302 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5303 * string/argz-stringify.c: Likewise.
5304 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5305 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5306 Declare hidden proto.
d18ea0c5
AS
5307 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5308 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5309 Declare hidden proto.
5310 * include/stdio.h (__asprintf_internal): Don't declare.
5311 (__asprintf): Don't define as macro. Declare hidden proto.
5312 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5313 (__fsetlocking): Declare hidden proto.
5314 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5315 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5316 hidden proto.
5317 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5318 (_IO_setlinebuf): Remove use of INTUSE.
5319 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5320 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5321 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5322 Remove declaration.
5323 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5324 (_IO_do_flush): Remove use of INTUSE.
5325 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5326 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5327 (_IO_adjust_column, _IO_least_wmarker)
5328 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5329 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5330 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5331 (_IO_default_doallocate, _IO_wdefault_doallocate)
5332 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5333 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5334 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5335 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5336 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5337 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5338 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5339 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5340 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5341 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5342 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5343 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5344 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5345 proto.
5346 (_IO_flush_all_internal, _IO_adjust_column_internal)
5347 (_IO_default_uflow_internal, _IO_default_finish_internal)
5348 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5349 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5350 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5351 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5352 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5353 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5354 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5355 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5356 (_IO_file_close_internal, _IO_file_close_it_internal)
5357 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5358 (_IO_file_init_internal, _IO_file_attach_internal)
5359 (_IO_file_fopen_internal, _IO_file_read_internal)
5360 (_IO_file_sync_internal, _IO_file_seek_internal)
5361 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5362 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5363 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5364 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5365 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5366 (_IO_list_all_internal, _IO_link_in_internal)
5367 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5368 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5369 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5370 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5371 (_IO_do_write_internal, _IO_padn_internal)
5372 (_IO_getline_info_internal, _IO_getline_internal)
5373 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5374 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5375 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5376 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5377 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5378 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5379 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5380 with libc_hidden_ver, remove use of INTUSE.
5381 * libio/genops.c: Likewise.
5382 * libio/freopen.c: Likewise.
5383 * libio/freopen64.c: Likewise.
5384 * libio/iofclose.c: Likewise.
5385 * libio/iofdopen.c: Likewise.
5386 * libio/iofflush.c: Likewise.
5387 * libio/iofflush_u.c: Likewise.
5388 * libio/iofgets.c: Likewise.
5389 * libio/iofgets_u.c: Likewise.
5390 * libio/iofopen.c: Likewise.
5391 * libio/iofopncook.c: Likewise.
5392 * libio/iofread.c: Likewise.
5393 * libio/iofread_u.c: Likewise.
5394 * libio/ioftell.c: Likewise.
5395 * libio/iofwrite.c: Likewise.
5396 * libio/iogetline.c: Likewise.
5397 * libio/iogets.c: Likewise.
5398 * libio/iogetwline.c: Likewise.
5399 * libio/iopadn.c: Likewise.
5400 * libio/iopopen.c: Likewise.
5401 * libio/ioseekoff.c: Likewise.
5402 * libio/ioseekpos.c: Likewise.
5403 * libio/iosetbuffer.c: Likewise.
5404 * libio/iosetvbuf.c: Likewise.
5405 * libio/ioungetc.c: Likewise.
5406 * libio/ioungetwc.c: Likewise.
5407 * libio/iovdprintf.c: Likewise.
5408 * libio/iovsprintf.c: Likewise.
5409 * libio/iovsscanf.c: Likewise.
5410 * libio/memstream.c: Likewise.
5411 * libio/obprintf.c: Likewise.
5412 * libio/oldfileops.c: Likewise.
5413 * libio/oldiofclose.c: Likewise.
5414 * libio/oldiofdopen.c: Likewise.
5415 * libio/oldiofopen.c: Likewise.
5416 * libio/oldiopopen.c: Likewise.
5417 * libio/oldstdfiles.c: Likewise.
5418 * libio/putc.c: Likewise.
5419 * libio/setbuf.c: Likewise.
5420 * libio/setlinebuf.c: Likewise.
5421 * libio/stdfiles.c: Likewise.
5422 * libio/strops.c: Likewise.
5423 * libio/vasprintf.c: Likewise.
5424 * libio/vscanf.c: Likewise.
5425 * libio/vsnprintf.c: Likewise.
5426 * libio/vswprintf.c: Likewise.
5427 * libio/wfiledoalloc.c: Likewise.
5428 * libio/wfileops.c: Likewise.
5429 * libio/wgenops.c: Likewise.
5430 * libio/wmemstream.c: Likewise.
5431 * libio/wstrops.c: Likewise.
5432 * libio/__fpurge.c: Likewise.
5433 * libio/__fsetlocking.c: Likewise.
5434 * assert/assert.c: Likewise.
5435 * debug/fgets_chk.c: Likewise.
5436 * debug/fgets_u_chk.c: Likewise.
5437 * debug/fread_chk.c: Likewise.
5438 * debug/fread_u_chk.c: Likewise.
5439 * debug/gets_chk.c: Likewise.
5440 * debug/obprintf_chk.c: Likewise.
5441 * debug/vasprintf_chk.c: Likewise.
5442 * debug/vdprintf_chk.c: Likewise.
5443 * debug/vsnprintf_chk.c: Likewise.
5444 * debug/vsprintf_chk.c: Likewise.
5445 * malloc/mtrace.c: Likewise.
5446 * misc/error.c: Likewise.
5447 * misc/syslog.c: Likewise.
5448 * stdio-common/asprintf.c: Likewise.
5449 * stdio-common/fxprintf.c: Likewise.
5450 * stdio-common/getw.c: Likewise.
5451 * stdio-common/isoc99_fscanf.c: Likewise.
5452 * stdio-common/isoc99_scanf.c: Likewise.
5453 * stdio-common/isoc99_vfscanf.c: Likewise.
5454 * stdio-common/isoc99_vscanf.c: Likewise.
5455 * stdio-common/isoc99_vsscanf.c: Likewise.
5456 * stdio-common/printf-prs.c: Likewise.
5457 * stdio-common/printf_fp.c: Likewise.
5458 * stdio-common/printf_fphex.c: Likewise.
5459 * stdio-common/printf_size.c: Likewise.
5460 * stdio-common/putw.c: Likewise.
5461 * stdio-common/scanf.c: Likewise.
5462 * stdio-common/sprintf.c: Likewise.
5463 * stdio-common/tmpfile.c: Likewise.
5464 * stdio-common/vfprintf.c: Likewise.
5465 * stdio-common/vfscanf.c: Likewise.
5466 * stdlib/strfmon_l.c: Likewise.
5467 * sunrpc/openchild.c: Likewise.
5468 * sunrpc/xdr_stdio.c: Likewise.
5469 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5470 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5471
d6c33fda
RM
54722012-05-24 Roland McGrath <roland@hack.frob.com>
5473
c1487492
RM
5474 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5475
5476 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5477 in the third column, to generate for the shared library an IFUNC
5478 that uses _dl_vdso_vsym.
5479 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5480 * Makeconfig (object-suffixes-noshared): New variable.
5481
5482 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5483 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5484 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5485 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5486
d6c33fda
RM
5487 [BZ #14132]
5488 * include/sys/time.h (__gettimeofday): Remove macro.
5489 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5490 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5491 Remove INTDEF.
5492 (__gettimeofday): Add libc_hidden_def.
5493 (gettimeofday): Add libc_hidden_weak.
5494 * sysdeps/mach/gettimeofday.c: Likewise.
5495 * sysdeps/posix/gettimeofday.c: Likewise.
5496 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5497 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5498 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5499 (__gettimeofday_internal): Remove strong_alias.
5500 (__gettimeofday): Add libc_hidden_def.
5501 (gettimeofday): Add libc_hidden_weak.
5502 * sysdeps/unix/syscalls.list (gettimeofday):
5503 Remove __gettimeofday_internal alias.
5504
b5a2bbe6
L
55052012-05-24 Daniel Jacobowitz <drow@false.org>
5506 H.J. Lu <hongjiu.lu@intel.com>
5507
5508 [BZ #12495]
5509 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5510 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5511 (largebin_index_32_big): New.
5512 (largebin_index): Use it for 16-byte alignment.
5513 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5514 correction with front_misalign.
5515
cfba4fda
L
55162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5517
7f907421
L
5518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5520 Likewise.
5521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5522 Likewise.
5523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5524 Likewise.
5525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5526 Likewise.
5527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5528 Likewise.
5529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5530 Likewise.
5531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5532 Likewise.
5533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5534 Likewise.
5535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5536 Likewise.
5537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5538 Likewise.
5539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5540 Likewise.
5541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5542 Likewise.
5543
cfba4fda
L
5544 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5545 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5546
80bad0cc
JM
55472012-05-24 Joseph Myers <joseph@codesourcery.com>
5548
7a25eb06
JM
5549 [BZ #10846]
5550 [BZ #14036]
5551 * math/libm-test.inc (exp_test): Add test from bug 14036.
5552 (pow_test): Add test from bug 10846.
5553
795405f9
JM
5554 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5555 and other flags.
5556 (special_function): Do not include flags in test name.
5557 (parse_args): Likewise.
5558 * sysdeps/i386/fpu/libm-test-ulps: Update.
5559 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5560 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5561 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5563
80bad0cc
JM
5564 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5565 exceptions.
5566 * math/libm-test.inc ("Philosophy"): Update comment about
5567 exception testing.
5568 (UNDERFLOW_EXCEPTION): New macro.
5569 (UNDERFLOW_EXCEPTION_OK): Likewise.
5570 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5571 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5572 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5573 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5574 (INVALID_EXCEPTION_OK): Update value.
5575 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5576 (OVERFLOW_EXCEPTION_OK): Likewise.
5577 (IGNORE_ZERO_INF_SIGN): Likewise.
5578 (test_exceptions): Handle underflow exceptions.
5579 (acos_test): Update for underflow exception expectations.
5580 (cexp_test): Likewise.
5581 (clog_test): Likewise.
5582 (clog10_test): Likewise.
5583 (csqrt_test): Likewise.
5584 (ctan_test): Likewise.
5585 (ctanh_test): Likewise.
5586 (exp_test): Likewise.
5587 (exp10_test): Likewise.
5588 (exp2_test): Likewise.
5589 (expm1_test): Likewise.
5590 (fma_test): Likewise.
5591 (j0_test): Likewise.
5592 (jn_test): Likewise.
5593 (nexttoward_test): Likewise.
5594 (pow_test): Likewise.
5595 (scalbn_test): Likewise.
5596 (scalbln_test): Likewise.
5597 (tan_test): Likewise.
5598 (y1_test): Likewise.
5599 * sysdeps/i386/fpu/libm-test-ulps: Update.
5600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5601
9e0e3d0b
DM
56022012-05-23 David S. Miller <davem@davemloft.net>
5603
5604 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5605 (__libc_sigaction): Remove unused local variables.
5606
ccd0a08f
L
56072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5608
5609 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5610
62bdf9a6
PE
56112012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5612
f8591f80
PE
5613 mktime: avoid signed integer overflow
5614 * time/mktime.c (__mktime_internal): Do not mishandle the case
5615 where diff == INT_MIN.
5616
94c7d826
PE
5617 mktime: simplify computation of average
5618 * time/mktime.c (ranged_convert): Use new time_t_avg function
5619 instead of rolling our own (probably-slower) code.
5620
ce73d683
PE
5621 mktime: do not assume signed right shift propagates sign bit
5622 * time/mktime.c (isdst_differ): New static function.
5623 (__mktime_internal): No need to normalize tm_isdst now.
5624 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5625 tm_isdst values.
5626
72a22e59
PE
5627 mktime: merge another wrapv change from gnulib
5628 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5629 from some compilers.
5630
68605433
PE
5631 mktime: remove incorrect attempt at unusual arithmetics
5632 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5633 The code didn't really work on such machines anyway.
5634 (TYPE_MINIMUM): Assume two's complement.
5635 (twos_complement_arithmetic): Verify that long_int and time_t
5636 are two's complement (or unsigned, in the latter case).
5637
03cf7fe3
PE
5638 mktime: check signed shifts on long_int and time_t, too
5639 * time/mktime.c (SHR): Check that shifts work as desired
5640 on the types long_int and time_t too, as SHR is used on
5641 such types.
5642
f04dfbc2
PE
5643 mktime: do not assume 'long' is wide enough
5644 * time/mktime.c (verify): Move decl up.
5645 (long_int): New type.
5646 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5647 to remove assumption in the code that 'long' is wide enough to
5648 store year values. This assumption is not true on x32 and on
5649 some non-glibc platforms.
5650
62bdf9a6
PE
5651 mktime: merge wrapv change from gnulib
5652 * time/mktime.c (WRAPV): New macro.
5653 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5654 (guess_time_tm, __mktime_internal): Do not assume that signed
5655 integer overflow wraps around; modern compilers generate code
5656 where this assumption is no longer valid.
5657
5e292e4f
L
56582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5659
5660 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5661 Replace "jmp L(pseudo_end)" with "ret".
5662 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5663 Likewise.
5664
8caf8c87
AJ
56652012-05-23 Andreas Jaeger <aj@suse.de>
5666
5667 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5668 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5669
1a09dc56
AJ
56702012-05-23 Andreas Jaeger <aj@suse.de>
5671 Maximilian Attems <max@stro.at>
5672
5673 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5674 New macros.
5675
1c87aba0
L
56762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5677
5678 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5679 code so that pseudo_end is just ret and the stack pointer is
5680 correct also for static library in error case.
5681
40e45bd5
JM
56822012-05-23 Joseph Myers <joseph@codesourcery.com>
5683
c2670533
JM
5684 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5685 move to syscalls.list.
5686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5690
40e45bd5
JM
5691 * manual/install.texi (Running make install): Do not mention Linux
5692 kernel version for which pt_chown is not needed.
5693 (Linux): Do not mention problems with nscd with 2.0 kernels.
5694 * INSTALL: Regenerated.
5695
be08eda5
AJ
56962012-05-23 Andreas Jaeger <aj@suse.de>
5697
5698 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5699 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5700 macro.
5701 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5702 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5703 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5704 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5705 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5706 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5707 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5708 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5709 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5710 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5711 * sysdeps/unix/sysv/linux/bits/in.h
5712 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5713
a6a056bb
RM
57142012-05-22 Roland McGrath <roland@hack.frob.com>
5715
5716 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5717 (PREPARE_VERSION): Just use assert instead, it will be elided
5718 under [NDEBUG] anyway.
5719
c9009328
L
57202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5721
5722 * sysdeps/unix/sysv/linux/Makefile: Include
5723 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5724 (sysdep_routines): Remove sysctl.
c9009328
L
5725 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5726 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5727 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5728 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5729 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5730
73338355
AJ
57312012-05-22 Andreas Jaeger <aj@suse.de>
5732
5733 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5734 that pseudo_end is just ret and the stack pointer is correct also
5735 for static library in error case.
5736
d44638b0
PP
57372012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5738
5739 [BZ #14122]
5740 * nss/nsswitch.c (defconfig_entries): New variable.
5741 (__nss_database_lookup): Don't leak defconfig entries.
5742 (nss_parse_service_list): Don't leak on error paths.
5743 (free_database_entries): New function.
5744 (free_defconfig): New function.
5745 (free_mem): Move common code to free_database_entries.
5746
31a39bd8
L
57472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5748
da0331a8
L
5749 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5750 Add arch_prctl.
5751 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5752
31a39bd8
L
5753 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5754 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5756 New macro.
5757 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5758 (INTERNAL_SYSCALL_TYPES): Likewise.
5759 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5760 (LOAD_REGS_TYPES_[1-6]): Likewise.
5761 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5762 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5763
45470df3
AZ
57642012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5765
5766 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5767 copysignl for GLIBC_2_0.
5768 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5769 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5770 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5771 logbl for GLIBC_2_0.
5772 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5773 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5774
98a61bcb
L
57752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5776
a4f6e481
L
5777 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5778 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5779
f63d5db6
L
5780 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5781 Use "neg %eax".
5782
98a61bcb
L
5783 * time/mktime.c: Update copyright years.
5784
95770f14
PE
57852012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5786
6226efbd
PE
5787 mktime: merge comment-quoting-style change from gnulib
5788 * time/mktime.c: Quote 'like this' in comments.
5789 The GNU coding standards suggest that we no longer quote `like this',
5790 as "`" and "'" are typically rendered asymmetrically nowadays.
5791 The typical gnulib style is to quote 'like this' when quoting
5792 code, and "like this" when quoting English.
5793
b99e4f78
PE
5794 * time/mktime.c (compile-command): Add "-I.".
5795
643e01e6
PE
5796 mktime: merge mktime-internal.h change from gnulib
5797 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5798
2554247d
PE
5799 mktime: merge time_r change from gnulib
5800 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5801
826dd0ab
PE
5802 mktime: merge DEBUG change from gnulib
5803 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5804 case system <time.h> has a #define.
5805
bd83aabe
PE
5806 mktime: merge <sys/types.h> change from gnulib
5807 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5808 since <time.t> is now guaranteed to define time_t.
5809
95770f14
PE
5810 mktime: merge HAVE_CONFIG_H change from gnulib
5811 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5812
5e1a27a9
L
58132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5814
0e44a77e
L
5815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5816 Use "neg %eax".
5817
5e1a27a9
L
5818 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5819 __rlim_t cast.
5820 (struct rusage): Use anonymous union to pad each field to
5821 __syscall_slong_t.
5822
46259bec
DM
58232012-05-21 David S. Miller <davem@davemloft.net>
5824
5825 * Makefules (o-iterator): Remove .s cases.
5826 (compile-command.s): Delete.
5827 (COMPILE.s): Delete.
5828 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5829
59f0c22e
JM
58302012-05-21 Joseph Myers <joseph@codesourcery.com>
5831
5832 * configure.in (libc_cv_predef_stack_protector): Only consider
5833 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5834 * configure: Regenerated.
5835
20c07380
L
58362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5837
bbb3154b
L
5838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5839 New macro. Use R*LP on int and pointer.
5840 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5841 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5842 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5843 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5844
20c07380
L
5845 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5846 [__WORDSIZE_TIME64_COMPAT32] instead of
5847 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5848 (struct utmp): Likewise.
5849 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5850 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5851 Renamed to ...
5852 (__WORDSIZE_TIME64_COMPAT32): This.
5853 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5854 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5855 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5856 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5857 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5858 (__WORDSIZE_TIME64_COMPAT32): New macro.
5859
d8d1017e
AJ
58602012-05-21 Andreas Jaeger <aj@suse.de>
5861
5862 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5863 only if [SHARED]. Add prototype for __wcschr_ia32.
5864
6c7fb145
RM
58652012-05-21 Roland McGrath <roland@hack.frob.com>
5866
5867 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5868 of %rbp unmolested in the jmp_buf while mangling the low bits.
5869 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5870 unmolested high bits of %rbp while demangling the low bits.
5871 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5872
66274218
AJ
58732012-05-21 Andreas Jaeger <aj@suse.de>
5874
07c58f8f
AJ
5875 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5876 * sunrpc/svc_simple.c: Use it for registerrpc.
5877 * sunrpc/xcrypt.c: Use it for passwd2des.
5878
66274218
AJ
5879 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5880
61f65140
L
58812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5882
5883 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5884 Don't define if [__SYSCALL_WORDSIZE != 32].
5885 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5886 New macro.
5887
5fefb436
AJ
58882012-05-21 Bruno Haible <bruno@clisp.org>
5889 Andreas Jaeger <aj@suse.de>
5890
5891 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5892 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5893 inptr and inend for must_buffer_ch.
5894 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5895 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5896 * stdio-common/Makefile (tests): Remove bug15.
5897 (bug15-ENV): Remove macro.
5898 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5899 anymore.
5900
d8e272ab
AJ
59012012-05-19 Andreas Jaeger <aj@suse.de>
5902 Roland McGrath <roland@hack.frob.com>
5903
5904 * manual/contrib.texi: Completely rewritten. It contains now an
5905 alphabetical list of contributors and their contributions.
5906
4a56a162
RH
59072012-05-21 Richard Henderson <rth@twiddle.net>
5908
5909 * misc/getauxval.c (__getauxval): Use unsigned long int.
5910 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5911 (getauxval): Use unsigned long int.
5912
d024d23c
L
59132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5914
5915 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5916
cbc00a03
RM
59172012-05-21 Roland McGrath <roland@hack.frob.com>
5918
5919 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5920 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5921 __alignof__ (long double).
5922
478143fa
AZ
59232012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5924
5925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5926
c7683a6d
RH
59272012-05-20 Richard Henderson <rth@twiddle.net>
5928
5929 * misc/getauxval.c: New file.
5930 * misc/sys/auxv.h: New file.
5931 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5932 (routines): Add getauxval.
5933 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5934 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5935 * elf/dl-sysdep.c (_dl_auxv): Remove.
5936 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5937 * elf/dl-support.c (_dl_auxv): New variable.
5938 (_dl_aux_init): Initialize it.
5939 * manual/startup.texi (Auxiliary Vector): New node.
5940 * sysdeps/generic/bits/hwcap.h: New file.
5941 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5942 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5943 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5944 * sysdeps/sparc/sysdep.h: ... here. Include it.
5945 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5946 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5948 Update.
c7683a6d
RH
5949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5952 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5957
a6f1845d
AZ
59582012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5959
5960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5961
cbcbe830
DM
59622012-05-19 David S. Miller <davem@davemloft.net>
5963
5964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5965
e0b16cc2
JM
59662012-05-19 Joseph Myers <joseph@codesourcery.com>
5967
5968 [BZ #14123]
5969 * math/s_ccosh.c: Include <float.h>
5970 (__ccosh): Avoid internal overflow calculating sinh and cosh
5971 values before multiplying by sin and cos values.
5972 * math/s_ccoshf.c: Likewise.
5973 * math/s_ccoshl.c: Likewise.
5974 * math/s_csin.c: Likewise.
5975 * math/s_csinf.c: Likewise.
5976 * math/s_csinl.c: Likewise.
5977 * math/s_csinh.c: Likewise.
5978 * math/s_csinhf.c: Likewise.
5979 * math/s_csinhl.c: Likewise.
5980 * math/libm-test.inc (ccos_test): Add more tests.
5981 (ccosh_test): Likewise.
5982 (csin_test): Likewise.
5983 (csinh_test): Likewise.
5984 * sysdeps/i386/fpu/libm-test-ulps: Update.
5985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5986
6ad13e08
L
59872012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5988
f66f0ce8
L
5989 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5990 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5991
6ad13e08
L
5992 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5993
b1d072a7
JM
59942012-05-19 Joseph Myers <joseph@codesourcery.com>
5995
5996 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5997 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5998 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5999 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6000 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6001 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6002 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6003 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6004 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6005 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6006 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6007 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6008 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6009 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6010 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6011 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6012 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6013 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6014 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6015 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6016 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6017 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6018 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6019 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6020 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6021 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6022 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6023 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6024 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6025 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6026 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6027
9eae47cb
AJ
60282012-05-18 Andreas Jaeger <aj@suse.de>
6029
6030 * csu/.gitignore: Delete.
6031
bb07f69f
L
60322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6033
6034 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6035 (timex): Use __syscall_slong_t.
6036
e6bdb741
AJ
60372012-05-18 Andreas Jaeger <aj@suse.de>
6038 Carlos O'Donell <carlos_odonell@mentor.com>
6039
6040 * manual/install.texi (Configuring and compiling): Update
6041 description about files modified in the source directory.
d6c33fda 6042 * INSTALL: Regenerated.
e6bdb741 6043
1b74487e
L
60442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6045
6046 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6047 value. Use "or" to set return value to -1.
6048 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6049 negate return value.
6050
a88b64b9
TMQMF
60512012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6052
6053 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6054 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6055 failure if the compiler has Graphite support disabled.
6056 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6057 Likewise.
6058 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6059 CFLAGS-memmove.c): Likewise.
6060 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6061 Likewise.
6062
3707636e
L
60632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6064
610b8622
L
6065 * sysdeps/x86_64/x32/_itoa.h: New file.
6066
7cd195df
L
6067 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6068 getdents system call only if kernel and user dirents have the
6069 same d_ino and d_off.
6070
94b07d20
L
6071 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6072 LLONG_MAX != LONG_MAX.
6073 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6074 (_fitoa_word): Likewise.
6075
18298070
L
6076 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6077 years.
6078 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6079 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6080 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6081
553c7ea4
L
6082 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6083 include <bits/wordsize.h>. Check __x86_64__ instead of
6084 __WORDSIZE.
6085 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6086 if __x86_64__ is defined. Use anonymous union on fpstate.
6087
3707636e
L
6088 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6089 anonymous union.
6090
b53ef01a
AS
60912012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6092
37fb1dc0
AS
6093 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6094 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6095 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6096 Refer to _rtld_local_ro instead of _rtld_global_ro.
6097 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6098 Likewise.
6099 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6100 Likewise.
6101 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6102 Likewise.
6103 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6104 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6105 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6106
b53ef01a
AS
6107 * sysdeps/powerpc/powerpc32/dl-machine.c
6108 (__elf_machine_runtime_setup) [PROF]: Don't reference
6109 _dl_prof_resolve.
6110
7a185db2
AJ
61112012-05-18 Andreas Jaeger <aj@suse.de>
6112
6113 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6114 function only available for GCCs before 3.4 since GCC 3.4
6115 introduced a builtin.
6116 (lrint): Likewise.
6117 (llrintf): Likewise.
6118 (llrint): Likewise.
6119 (fmaxf): Likewise.
6120 (fmax): Likewise.
6121 (fminf): Likewise.
6122 (fmin): Likewise.
6123 (rint): Likewise.
6124 (rintf): Likewise.
6125 (nearbyint): Likewise.
6126 (nearbyintf): Likewise.
6127 (ceil): Likewise.
6128 (ceilf): Likewise.
6129 (floor): Likewise.
6130 (floorf): Likewise.
6131
3e5aef87
L
61322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6133
428bd707
L
6134 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6135 on both fields and cast pointer to __syscall_ulong_t.
6136
3e5aef87
L
6137 * bits/types.h (__fsword_t): New type.
6138 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6139 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6140 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6141 (__FSWORD_T_TYPE): Likewise.
6142 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6143 (__FSWORD_T_TYPE): Likewise.
6144 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6145 (__FSWORD_T_TYPE): Likewise.
6146 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6147 (__FSWORD_T_TYPE): Likewise.
6148 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6149 __SWORD_TYPE with __fsword_t.
6150 (statfs64): Likewise.
6151
1ba7c3dc
DM
61522012-05-17 David S. Miller <davem@davemloft.net>
6153
6154 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6155
59910343
AJ
61562012-05-17 Andreas Jaeger <aj@suse.de>
6157
6158 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6159 warning.
6160
2e4c1e9e
L
61612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6162
6163 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6164
de7f5ce7
AJ
61652012-05-17 Andreas Jaeger <aj@suse.de>
6166
6167 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6168 when it is used.
6169
286abc3d
CM
61702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6171
6172 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6173
477cc68e
L
61742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6175
6176 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6177 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6178
1a0994f5
CD
61792012-05-17 Andreas Jaeger <aj@suse.de>
6180 Carlos O'Donell <carlos_odonell@mentor.com>
6181
6182 [BZ #14059]
6183 * sysdeps/x86_64/multiarch/init-arch.h
6184 (bit_YMM_Usable): Rename to...
6185 (bit_AVX_Usable): ... this.
6186 (bit_FMA4_Usable): New macro.
6187 (bit_XMM_state): New macro.
6188 (bit_YMM_state): New macro.
6189 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6190 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6191 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6192 (CPUID_OSXSAVE): New macro.
6193 (CPUID_AVX): New macro.
6194 (CPUID_FMA4): New macro.
6195 (index_YMM_Usable): Rename to...
6196 (index_AVX_Usable): ... this.
6197 (HAS_AVX): Use HAS_ARCH_FEATURE.
6198 (HAS_FMA4): Likewise.
6199 (HAS_YMM_USABLE): Remove.
6200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6201 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6202 are present.
6203 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6204 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6205 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6206 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6207 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6208
0af797de
CM
62092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6210
6211 * math/libm-test.c: Support platforms without multiple rounding modes.
6212 * math/bug-nextafter.c: Support platforms without FP exceptions.
6213 * math/bug-nexttoward.c: Likewise.
6214 * math/test-fenv.c: Likewise.
6215 * math/test-misc.c: Likewise.
6216 * stdlib/bug-getcontext.c: Likewise.
6217
e39745ff
AJ
62182012-05-17 Andreas Jaeger <aj@suse.de>
6219
6220 * manual/examples/search.c (critter_cmp): Change signature to
6221 avoid warnings.
6222 * manual/string.texi (Collation Functions): Likewise.
6223
48970aba
L
62242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6225
6226 * bits/types.h: Fold copyright years.
6227 * bits/typesizes.h: Likewise.
6228 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6229 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6231 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6232 * time/time.h: Likewise.
6233
bedee953
PP
62342012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6235
6236 [BZ #208]
6237 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6238 in instead of returning them. Return void.
6239 (__libc_mallinfo): Accumulate over all arenas.
6240 (__malloc_stats): Adjust for change in int_mallinfo interface.
6241
61653dfb
RM
62422012-05-16 Roland McGrath <roland@hack.frob.com>
6243
30b99d79
RM
6244 [BZ #10375]
6245 * configure.in (NM): Add AC_CHECK_TOOL for it.
6246 (libc_extra_cflags): New substituted variable.
6247 Check for -fstack-protector being used implicitly.
6248 * configure: Regenerated.
6249 * config.make.in (config-extra-cflags): New variable,
6250 gets @libc_extra_cflags@.
6251 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6252
61653dfb
RM
6253 [BZ #10375]
6254 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6255 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6256 * configure: Regenerated.
6257 * config.make.in (CPPUNDEFS): New substituted variable.
6258 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6259 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6260 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6261
661768bb
L
62622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6263
6264 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6265 (mq_attr): Use __syscall_slong_t.
6266
d4261567
L
62672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6268
6269 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6270 Check __x86_64__ instead of __WORDSIZE.
6271 (_STAT_VER_LINUX): Likewise.
6272 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6273 __syscall_ulong_t and __syscall_slong_t.
6274 (stat64): Likewise.
6275
cf3ff365
L
62762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6277
6278 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6279
76cf3e4d
L
62802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6281
6282 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6283
a637753a
L
62842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6285
6286 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6287 __syscall_ulong_t.
6288
d5e05119
L
6289 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6290 include <bits/wordsize.h>. Check __x86_64__ instead of
6291 __WORDSIZE.
6292 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6293 defined.
6294 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6295
f62ee380
L
6296 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6297 include <bits/wordsize.h>. Check __x86_64__ instead of
6298 __WORDSIZE.
6299 (user_regs_struct): Use "__extension__ unsigned long long"
6300 instead of "unsigned long" if __x86_64__ is defined.
6301 (user): Likewise. Pad after pointer field if __ILP32__ is
6302 defined.
6303
4e124ced
JM
63042012-05-16 Joseph Myers <joseph@codesourcery.com>
6305
6a3951a0
JM
6306 * configure.in (makeinfo): Require version 4.5 or later. Allow
6307 versions 5 to 9.
6308 * configure: Regenerated.
6309 * manual/install.texi (texinfo): Increase version requirement to
6310 4.5 or later.
6311 * INSTALL: Regenerated.
6312
4e124ced
JM
6313 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6314
953ca31a
L
63152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6316
6317 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6318
617aca05
L
6319 * sysdeps/x86_64/x32/ffs.c: New file.
6320
5762f7ae
L
6321 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6322 __syscall_ulong_t.
6323 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6324 defined. Use __syscall_ulong_t.
6325 (shminfo): Use __syscall_ulong_t.
6326 (shm_info): Likewise.
6327
a26b6856
L
6328 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6329 __syscall_ulong_t.
6330
cb2b9ef7
L
6331 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6332 <bits/wordsize.h>.
6333 (msgqnum_t): Use __syscall_ulong_t.
6334 (msglen_t): Likewise.
6335 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6336 __syscall_ulong_t.
6337
34683bb0
L
6338 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6339 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6340
84a68786
L
6341 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6342
48baa5f1
L
6343 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6344 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6345
180be88b
L
6346 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6347 __syscall_slong_t.
6348
5e90c8ad
L
6349 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6350 include <bits/wordsize.h>. Check __x86_64__ instead of
6351 __WORDSIZE.
6352
23dfb58b
L
6353 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6354 "unsigned long long int" if __x86_64__ is defined.
6355 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6356
ce5d54b0
L
6357 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6358 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6359 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6360
13dc9eac
L
6361 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6362 <stdint.h>.
6363 (GET_PC): Cast to uintptr_t first.
6364 (GET_FRAME): Likewise.
6365 (GET_STACK): Likewise.
6366
a7895d15
L
6367 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6368 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6369 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6370 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6371 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6372 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6373 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6374 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6375 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6376 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6377 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6378 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6379 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6380 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6381 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6382 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6383 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6384 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6385 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6386 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6387 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6388 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6389 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6390 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6391 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6392 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6393 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6394 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6395 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6396
656416c9
AS
63972012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6398
5bd66283
AS
6399 * Makerules (+depfiles): Also collect depfiles from .oS in
6400 $(extra-objs).
6401 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6402 .oS, $(libnldbl-routines)).
6403
656416c9
AS
6404 * Makerules (native-compile-mkdep-flags): Define.
6405 * sunrpc/Makefile (extra-objs): Add $(addprefix
6406 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6407 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6408 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6409 calling $(make-target-directory).
6410
a46f2169
L
64112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6412
6413 * bits/types.h (__snseconds_t): Removed.
6414 * time/time.h (struct timespec): Replace __snseconds_t with
6415 __syscall_slong_t.
6416 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6417 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6418 Likewise.
6419 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6420 (__SNSECONDS_T_TYPE): Likewise.
6421 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6422 (__SNSECONDS_T_TYPE): Likewise.
6423 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6424 (__SNSECONDS_T_TYPE): Likewise.
6425
6af6528b
L
64262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6427
6428 * sysdeps/mach/hurd/bits/typesizes.h
6429 (__SYSCALL_SLONG_TYPE): New macro.
6430 (__SYSCALL_ULONG_TYPE): Likewise.
6431
de986b56
L
64322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6433
6434 * bits/types.h (__syscall_slong_t): New type.
6435 (__syscall_ulong_t): Likewise.
6436
6437 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6438 (__SYSCALL_ULONG_TYPE): Likewise.
6439 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6440 (__SYSCALL_SLONG_TYPE): Likewise.
6441 (__SYSCALL_ULONG_TYPE): Likewise.
6442 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6443 (__SYSCALL_SLONG_TYPE): Likewise.
6444 (__SYSCALL_ULONG_TYPE): Likewise.
6445 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6446 (__SYSCALL_SLONG_TYPE): Likewise.
6447 (__SYSCALL_ULONG_TYPE): Likewise.
6448
85736dc7
L
64492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6450
6451 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6452 Add sigaltstack-offsets.sym.
6453 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6454 <sigaltstack-offsets.h>.
6455 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6456 longjmp_msg pointer.
6457 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6458 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6459 signal stack.
6460 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6461
cc03b296
JM
64622012-05-15 Joseph Myers <joseph@codesourcery.com>
6463
a9538892
JM
6464 * elf/stackguard-macros.h: Remove file.
6465 * sysdeps/generic/stackguard-macros.h: New file.
6466 * sysdeps/i386/stackguard-macros.h: Likewise.
6467 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6468 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6469 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6470 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6471 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6472 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6473 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6474 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6475 <elf/stackguard-macros.h>.
6476
cc03b296
JM
6477 [BZ #14109]
6478 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6479 __aligned__ in attribute.
6480 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6481 (gregset_t): Likewise.
6482
93171016
L
64832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6484
6485 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6486 * sysdeps/x86_64/64/Implies-after: Here. New file.
6487 * sysdeps/x86_64/x32/Implies-after: New file.
6488
d86813a0
L
64892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6490
6491 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6492 and access return value for _dl_profile_fixup. Use R10_LP to
6493 load frame size.
6494
2953ec75
L
64952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6496
6497 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6498
3b550e9e
L
64992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6500
6501 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6502 * sysdeps/x86_64/x32/sysdep.h: New file.
6503
eda41706
L
65042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6505
6506 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6507 * sysdeps/x86_64/setjmp.S: Likewise.
6508
9ea01d93
AZ
65092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6510
6511 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6512 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6513 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6514 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6515 remove unused global constant.
6516
02a91938
CM
65172012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6518
6519 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6520 include of <not-cancel.h>.
6521
6540185f
RM
65222012-05-15 Roland McGrath <roland@hack.frob.com>
6523
6524 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6525
509072a0
AJ
65262012-05-15 Jeff Law <law@redhat.com>
6527 Andreas Jaeger <aj@suse.de>
6528
6529 [BZ #13594]
6530 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6531 out from...
6532 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6533 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6534 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6535 code changing __hst_map_handle.map.
6536
ba75122d
RM
65372012-05-15 Roland McGrath <roland@hack.frob.com>
6538
6539 * configure.in (sysnames): Look for Implies-before and Implies-after
6540 files.
6541 * configure: Regenerated.
6542
890d8bd8
L
65432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6544
6545 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6546 8-byte data alignment with LP_SIZE alignment.
6547
f6ee6623
L
65482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6549
6550 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6551 into R10_LP.
6552
ea2626f6
L
65532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6554
6555 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6556
085f715e
L
65572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6558
6559 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6560 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6561 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6562 Likewise.
6563 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6564
be8498fc
L
65652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6566
6567 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6568 (stackinfo_sub_sp): Likewise.
6569
70bc83b9
L
65702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6571
6572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6573 RAX_LP.
6574
9bc0b730
L
65752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6576
6577 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6578 into R*_LP.
6579
6d2850e7
L
65802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6581
6582 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6583 sizes into R*_LP.
6584
3cb84561
L
65852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6586
6587 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6588
54e2ed81
L
65892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6590
6591 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6592 into R11_LP and load __x86_64_shared_cache_size_half into
6593 R8_LP.
6594
8a17f349
L
65952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6596
6597 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6598 R8_LP.
6599
777b1eea
AZ
66002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6601
6602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6603 logb for POWER7.
6604 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6605 logbf for POWER7.
6606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6607 logbl for POWER7.
6608 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6609 powerpc32/power7/fpu/s_logb.c via #include.
6610 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6611 powerpc32/power7/fpu/s_logbf.c via #include.
6612 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6613 powerpc32/power7/fpu/s_logbl.c via #include.
6614
d20d4ac2
JM
66152012-05-15 Joseph Myers <joseph@codesourcery.com>
6616
6617 * README.libm: Remove file.
6618
6cdef1ab
L
66192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6620
6621 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6622 count for x32. Use R*_LP and omit operand-size suffix.
6623
0b254d8f
L
66242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6625
6626 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6627 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6628 * sysdeps/x86_64/x32/shlib-versions: New file.
6629
ceb809dc
RM
66302012-05-14 Roland McGrath <roland@hack.frob.com>
6631
6632 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6633 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6634 Use _dl_fatal_printf instead.
6635
37f1abd4
JM
66362012-05-14 Joseph Myers <joseph@codesourcery.com>
6637
6638 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6639 set if not set by the user. Do not allow for being unset.
6640 * sysdeps/unix/sysv/linux/configure: Regenerated.
6641
11de3a33
L
66422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6643
6644 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6645 the `q' suffix from lea and replace .quad with ASM_ADDR.
6646
e02f153a
L
66472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6648
6649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6650 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6651 instead of $17.
6652 (PTR_DEMANGLE): Likewise.
6653
520ae0fd
L
66542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6655
6656 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6657 (LP_OP): Likewise.
6658 (ASM_ADDR): Likewise.
6659 (RAX_LP): Likewise.
6660 (RBP_LP): Likewise.
6661 (RBX_LP): Likewise.
6662 (RCX_LP): Likewise.
6663 (RDI_LP): Likewise.
6664 (RSI_LP): Likewise.
6665 (RSP_LP): Likewise.
6666 (R8_LP): Likewise.
6667 (R9_LP): Likewise.
6668 (R10_LP): Likewise.
6669 (R10_LP): Likewise.
6670 (R11_LP): Likewise.
6671 (R12_LP): Likewise.
6672 (R13_LP): Likewise.
6673 (R14_LP): Likewise.
6674 (R15_LP): Likewise.
6675
b985be81
L
66762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6677
6678 * sysdeps/x86_64/x32/dl-machine.h: New file.
6679
6a4888ff
AJ
66802012-05-14 Andreas Jaeger <aj@suse.de>
6681
6682 * manual/Makefile (subdir): Remove export of subdir.
6683 (all): Remove target.
6684 (.PHONY): Remove all from list.
6685 (mkinstalldirs): Remove.
6686 (.PHONY): Remove installdirs from list.
6687 ($(inst_infodir)/libc.info): Use make-target-directory.
6688 (installdirs): Remove.
6689 (subdir_%): Remove.
6690 (glibc-targets): Remove.
6691 (lib): Remove.
6692 (stubs): Remove.
6693 ($(objpfx)stubs ../po/manual.pot): Remove.
6694 ($(objpfx)stamp%): Remove.
6695 (make-target-directory): Remove.
6696 (subdir_install): Remove.
6697 (routines): Remove.
6698 (aux): Remove.
6699 (sources): Remove.
6700 (objects): Remove.
6701 (headers): Remove.
6702
6703 [BZ #13750]
6704 * manual/.gitignore: Remove, it's not needed anymore.
6705 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6706 all files in it.
6707 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6708 directory.
6709 (texis): Renamed to $(objpfx)texis.
6710 (texis-path): New, contains path to generated files.
6711 (chapters.%): Use texis-path for complete path, add extra argument
6712 libc-texinfo.sh.
6713 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6714 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6715 (summary,texi, stamp-summary): Use complete path of
6716 files. Generate files in build dir.
6717 (dir-add.texi): Build in build dir.
6718 (libm-err.texi,stamp-libm-err): Likewise.
6719 (version.texi, stamp-version): Likewise.
6720 (.%c.texi): Likewise.
6721 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6722 (mostlyclean): Remove target.
6723 (realclean): Remove target.
6724 (generated): Add new variable with contents from mostlyclean and
6725 realclean, remove entries duplicated in common-mostlyclean, add
6726 stamp-libm-err and stamp-version.
6727 (generated-dirs): Add libc directory.
6728 ($(inst_infodir)/libc.info): Install files from build dir.
6729
6730 * manual/install.texi (Configuring and compiling): Adjust since
6731 the info files are not part of the tar ball anymore.
6732
7ac77294
AJ
67332012-05-14 Andreas Jaeger <aj@suse.de>
6734
6735 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6736 variable.
6737
ffb7875d
JM
67382012-05-14 Joseph Myers <joseph@codesourcery.com>
6739
6740 [BZ #13717]
6741 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6742 to 2.2.0 where earlier.
6743 * sysdeps/unix/sysv/linux/configure: Regenerated.
6744 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6745 Remove conditional code.
6746 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6747 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6748 Remove conditional code.
6749 [!__NR_lchown]: Likewise.
6750 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6751 [__NR_lchown]: Likewise.
6752 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6753 comment referencing __ASSUME_LCHOWN_SYSCALL.
6754 * sysdeps/unix/sysv/linux/i386/sigaction.c
6755 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6756 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6757 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6758 Remove conditional code.
6759 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6760 (__protocol_available): Remove #if 0 code.
6761 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6762 conditional code.
6763 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6764 * sysdeps/unix/sysv/linux/kernel-features.h
6765 (__ASSUME_GETCWD_SYSCALL): Don't define.
6766 (__ASSUME_REALTIME_SIGNALS): Likewise.
6767 (__ASSUME_PREAD_SYSCALL): Likewise.
6768 (__ASSUME_PWRITE_SYSCALL): Likewise.
6769 (__ASSUME_POLL_SYSCALL): Likewise.
6770 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6771 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6772 non-SPARC.
6773 (__ASSUME_SIOCGIFNAME): Don't define.
6774 (__ASSUME_MSG_NOSIGNAL): Likewise.
6775 (__ASSUME_SENDFILE): Define unconditionally.
6776 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6777 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6778 conditional code.
6779 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6780 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6781 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6782 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6783 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6784 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6785 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6787 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6790 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6791 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6793 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6794 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6796 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6797 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6799 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6802 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6803 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6805 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6808 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6810 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6811 Remove conditional code.
6812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6813 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6814 Remove conditional code.
6815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6816 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6817 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6818 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6819 Remove conditional code.
6820 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6821 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6822 Remove conditional code.
6823 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6824 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6825 Remove conditional code.
6826 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6827 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6828 Remove conditional code.
6829 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6830 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6831 Remove conditional code.
6832 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6833 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6834 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6835 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6836 * sysdeps/unix/sysv/linux/sigaction.c
6837 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6838 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6839 * sysdeps/unix/sysv/linux/sigpending.c
6840 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6841 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6842 * sysdeps/unix/sysv/linux/sigprocmask.c
6843 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6844 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6845 * sysdeps/unix/sysv/linux/sigsuspend.c
6846 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6847 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6848 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6849 (__libc_missing_rt_sigs): Remove.
6850 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6851 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6852 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6853 Remove conditional code.
6854 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6855 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6856 return 1.
6857 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6858 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6859 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6860 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6861
1bfb7291
AJ
68622012-05-14 Andreas Jaeger <aj@suse.de>
6863
caae5a81
AJ
6864 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6865 it's not used in glibc.
6866 (__coshm1): Likewise.
6867 (__acosh1p): Likewise.
6868 (__sgn): Likewise.
6869
1bfb7291
AJ
6870 * manual/string.texi (Copying and Concatenation): Add missing
6871 variable in concat example.
6872 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6873
c044d724
L
68742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6875
144c5467 6876 [BZ #14103]
c044d724
L
6877 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6878 __builtin_clzl with __builtin_clzll.
6879
2523c62b
L
68802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6881
6882 [BZ #14104]
6883 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6884 libc_freeres_ptr.
6885
d7bb4c42
LD
68862012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6887
6888 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6889 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6890 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6891 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6892
9dc4e1fb
MF
68932012-05-14 Mike Frysinger <vapier@gentoo.org>
6894
6895 * NEWS: Update ia64 info.
6896
c7df0112
AS
68972012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6898
6899 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6900 used as bcopy.
6901
dc70356c
TS
69022012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6903
6904 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6905 * sysdeps/unix/syscalls.list (dup3): Likewise.
6906 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6907 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6908
9fb1a21f
L
69092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6910
6911 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6912 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6913
4822a2a5
L
69142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6915
6916 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6917 thread pointer.
6918 (TLS_IE): Use mov/add instead of movq/addq to load thread
6919 pointer.
6920 (TLS_GD_PREFIX): New.
6921 (TLS_GD): Use it.
6922
842b81d6
DM
69232012-05-11 David S. Miller <davem@davemloft.net>
6924
6925 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6926 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6927 (_FPU_SETCW): Likewise.
6928
1cf463cd
L
69292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6930
6931 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6932 is 32-byte aligned.
6933
60cc4a18
AS
69342012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6935
6936 [BZ #11837]
6937 * iconvdata/gb18030.c: Update tables.
6938 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6939 characters specially.
6940 (BODY for TO_LOOP): Add encoding of missing ranges.
6941
febb44a4
TS
69422012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6943
6944 [BZ #13673]
6945 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6946 * sysdeps/mach/hurd/dup3.c: Likewise.
6947 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6948 * sysdeps/powerpc/memmove.c:: Likewise.
6949
0a10fb9e
L
69502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6951
6952 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6953 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6954
df8a552f
L
69552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6956
6957 * elf/elf.h (R_X86_64_RELATIVE64): New.
6958 (R_X86_64_NUM): Updated.
6959 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6960 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6961 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6962 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6963 tst-quad1pie tst-quad2pie
6964 (modules-names): Add tst-quadmod1 tst-quadmod2.
6965 ($(objpfx)tst-quad1): New dependency.
6966 ($(objpfx)tst-quad2): Likewise.
6967 ($(objpfx)tst-quad1pie): Likewise.
6968 ($(objpfx)tst-quad2pie): Likewise.
6969 * sysdeps/x86_64/tst-quad1.c: New file.
6970 * sysdeps/x86_64/tst-quad1pie.c: New file.
6971 * sysdeps/x86_64/tst-quad2.c: Likewise.
6972 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6973 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6974 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6975 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6976 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6977
f34d6f84
ST
69782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6979
f42d41d1
ST
6980 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6981 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6982 * streams/stropts.h (t_scalar_t): Define type.
6983
3c3571fc
ST
6984 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6985 (_PATH_PRESERVE): Set to "/var/lib".
6986 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6987
61f06bd3
ST
6988 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6989 instead of int.
6990
918d4d71
ST
6991 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6992 if __dir_mkfile succeeded.
6993
f34d6f84
ST
6994 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6995 checking for _hurd_dtablesize. Unlock it right after having
6996 finished _hurd_dtable allocation.
6997
10589b4a
TS
69982012-05-10 Thomas Schwinge <thomas@schwinge.name>
6999
674cdbc7
TS
7000 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7001 * sysdeps/mach/hurd/configure: Regenerated.
7002 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7003 special-casing to...
7004 * sysdeps/gnu/configure.in: ... this new file.
7005 * sysdeps/unix/sysv/linux/configure: Regenerated.
7006 * sysdeps/gnu/configure: New generated file.
7007
8e41b99f
TS
7008 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7009 for Linux: use nsec instead of usec, as well as:
7010 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7011 members of type struct timespec.
7012 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7013 New macros.
7014 (struct stat64): Likewise.
7015 (_STATBUF_ST_NSEC): New macro.
7016 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7017
10589b4a
TS
7018 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7019 __strtoul_internal rather than strtoul.
7020
63643c85
PT
70212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7022
7023 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7024 and reject them.
7025
3faebe6a
ST
70262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7027
7028 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7029 which preserves existing values.
7030 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7031
c6474b07
PT
70322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7033
7034 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7035 TIMEOUT values. Return EINVAL for NFDS values either negative or
7036 greater than FD_SETSIZE.
7037
1043890b
ST
70382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7039
7040 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7041 allocated, call __vm_protect to finish enabling the existing space, and
7042 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7043 allocate the remainder.
7044
37ed8b9b
PT
70452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7046
7047 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7048 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7049
db653660
ST
70502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7051
37ed8b9b
PT
7052 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7053 sysdeps/mach/hurd/readlink.c.
b29d4053 7054
db653660
ST
7055 * posix/tst-sysconf.c (posix_options): Only use
7056 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7057 _POSIX_SYNCHRONIZED_IO when they are defined
7058 * sysdeps/mach/hurd/bits/posix_opt.h:
7059 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7060 (_XOPEN_REALTIME): Undefine macro.
7061 (_XOPEN_REALTIME_THREADS): Undefine macro.
7062 (_XOPEN_SHM): Undefine macro.
7063 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7064 macro to -1.
7065 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7066 macro to -1.
7067 (_POSIX_ASYNC_IO): Undefine macro.
7068 (_POSIX_PRIORITIZED_IO): Undefine macro.
7069 (_POSIX_SPIN_LOCKS): Define macro to -1.
7070
ee16e894
ST
7071 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7072 SA_NODEFER, SA_RESETHAND.
7073 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7074 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7075 F_DUPFD_CLOEXEC.
7076
6103ae3b
TS
70772012-05-10 Thomas Schwinge <thomas@schwinge.name>
7078
7079 * elf/Makefile (pldd-modules): Define unconditionally.
7080
80b4e5f3
TS
70812012-05-10 Thomas Schwinge <thomas@schwinge.name>
7082
7083 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7084
edadcbd6
ST
70852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7086
7087 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7088 Return ENOENT when name is empty.
7089 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7090
80694780
TS
70912012-05-10 Thomas Schwinge <thomas@schwinge.name>
7092
1792c087
TS
7093 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7094
80694780
TS
7095 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7096
6b645f0d
ST
70972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7098
80694780
TS
7099 Fix mlock in all cases except non-readable pages.
7100 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7101 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 7102
6b645f0d
ST
7103 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7104 (__mkdir): When path is `/', just fail with EEXIST.
7105 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7106
e468f8a3
TS
71072012-05-10 Thomas Schwinge <thomas@schwinge.name>
7108
7109 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7110 <sys/uio.h> (for writev).
7111 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7112 and <sys/param.h> (for MIN).
7113
a4186cff
PT
71142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7115
7116 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7117 REQUESTED_TIME. Properly set the remaining time and return EINTR
7118 if interrupted.
7119
510bbf14
TS
71202012-05-10 Thomas Schwinge <thomas@schwinge.name>
7121
7122 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7123 Depend on against $(link-rpcuserlibs).
7124
5d5722e8
ST
71252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7126
a4186cff
PT
7127 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7128 (__libc_stack_end): Do not use attribute_relro.
7129 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7130 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 7131 to libthread-provided value.
a4186cff
PT
7132 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7133 attribute_relro.
5d5722e8 7134
37233df9
TS
71352012-05-10 Thomas Schwinge <thomas@schwinge.name>
7136
be971a2b
TS
7137 [BZ #3748]
7138 * bits/libc-lock.h (__libc_once_get): New macro.
7139 * sysdeps/mach/bits/libc-lock.h: Likewise.
7140 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7141 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7142 instead of using implementation details.
7143
37233df9
TS
7144 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7145 * libio/freopen.c: Likewise.
7146 * libio/freopen64.c: Likewise.
7147 * misc/syslog.c: Likewise.
7148 * nscd/connections.c: Likewise.
7149 * nscd/netgroupcache.c: Likewise.
7150 * sysdeps/posix/getcwd.c: Likewise.
7151
38de94a5
RM
71522012-05-10 Roland McGrath <roland@hack.frob.com>
7153
7154 * math/w_ilogbf.c: Add #include <limits.h>.
7155
67530489
ST
71562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7157
a4186cff 7158 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
7159 path instead of returning without unlocking.
7160
67530489
ST
7161 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7162 immediate-write ioctls.
7163 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7164
5aa3a74a
TS
71652012-05-10 Thomas Schwinge <thomas@schwinge.name>
7166
18bad2ae
TS
7167 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7168 __builtin_frame_address instead of making assumptions about the
7169 location of the return address relative to DATA. Force early load of
7170 the return address.
7171 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7172 __builtin_frame_address.
7173
5aa3a74a
TS
7174 dup3 for GNU Hurd.
7175 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7176 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7177 implement dup3 and do some further code clean-ups.
7178 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7179 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7180
ecd0de9a
ST
71812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7182
cd9fa985
ST
7183 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7184
a4186cff
PT
7185 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7186 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7187 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7188 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7189 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7190 d->port.lock.
802ca5a5 7191
a4186cff
PT
7192 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7193 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7194 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 7195
bcf55240
TS
71962012-05-10 Thomas Schwinge <thomas@schwinge.name>
7197
6960eb42
TS
7198 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7199 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7200 definitions.
7201
eb43375f
TS
7202 accept4 for GNU Hurd.
7203 * include/sys/socket.h (__libc_accept4): New prototype.
7204 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7205 to implement __libc_accept4.
7206 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7207 __libc_accept4.
7208 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7209
bcf55240
TS
7210 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7211 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7212 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7213 signal-defines.sym.
7214
6178c55b
ST
72152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7216
a4186cff 7217 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7218
6f080c2f
TS
72192012-05-10 Thomas Schwinge <thomas@schwinge.name>
7220
7221 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7222 assertion on O_CLOEXEC flag.
7223 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7224 * hurd/intern-fd.c: Likewise.
7225 * hurd/port2fd.c: Likewise.
7226
bcfe3a54
ST
72272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7228
7229 [BZ #3906]
7230 * bits/in.h (IPV6_PKTINFO): Define new macro.
7231 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7232
89c9aa49
AZ
72332012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7234
7235 [BZ #13954]
7236 [BZ #13955]
7237 [BZ #13956]
7238 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7239 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7240 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7241 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7242 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7243 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7244 * math/libm-test.inc (logb_test) : Additional logb tests.
7245
021db4be
AJ
72462012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7247 Andreas Jaeger <aj@suse.de>
7248
7249 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7250 * configure: Regenerated.
7251 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7252 * config.make.in (link-obsolete-rpc): New substituted variable.
7253 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7254 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7255 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7256 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7257 so that libc.a contains the symbols.
7258 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7259 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7260 * sunrpc/auth_none.c: Likewise.
7261 * sunrpc/auth_unix.c: Likewise.
7262 * sunrpc/authdes_prot.c: Likewise.
7263 * sunrpc/authuxprot.c: Likewise.
7264 * sunrpc/clnt_gen.c: Likewise.
7265 * sunrpc/clnt_perr.c: Likewise.
7266 * sunrpc/clnt_raw.c: Likewise.
7267 * sunrpc/clnt_simp.c: Likewise.
7268 * sunrpc/clnt_tcp.c: Likewise.
7269 * sunrpc/clnt_udp.c: Likewise.
7270 * sunrpc/clnt_unix.c: Likewise.
7271 * sunrpc/des_crypt.c: Likewise.
7272 * sunrpc/des_soft.c: Likewise.
7273 * sunrpc/get_myaddr.c: Likewise.
7274 * sunrpc/key_call.c: Likewise.
7275 * sunrpc/key_prot.c: Likewise.
7276 * sunrpc/netname.c: Likewise.
7277 * sunrpc/pm_getmaps.c: Likewise.
7278 * sunrpc/pm_getport.c: Likewise.
7279 * sunrpc/pmap_clnt.c: Likewise.
7280 * sunrpc/pmap_prot.c: Likewise.
7281 * sunrpc/pmap_prot2.c: Likewise.
7282 * sunrpc/pmap_rmt.c: Likewise.
7283 * sunrpc/publickey.c: Likewise.
7284 * sunrpc/rpc_cmsg.c: Likewise.
7285 * sunrpc/rpc_common.c: Likewise.
7286 * sunrpc/rpc_dtable.c: Likewise.
7287 * sunrpc/rpc_prot.c: Likewise.
7288 * sunrpc/rpc_thread.c: Likewise.
7289 * sunrpc/rtime.c: Likewise.
7290 * sunrpc/svc.c: Likewise.
7291 * sunrpc/svc_auth.c: Likewise.
7292 * sunrpc/svc_raw.c: Likewise.
7293 * sunrpc/svc_run.c: Likewise.
7294 * sunrpc/svc_tcp.c: Likewise.
7295 * sunrpc/svc_udp.c: Likewise.
7296 * sunrpc/svc_unix.c: Likewise.
7297 * sunrpc/svcauth_des.c: Likewise.
7298 * sunrpc/xcrypt.c: Likewise.
7299 * sunrpc/xdr.c: Likewise.
7300 * sunrpc/xdr_array.c: Likewise.
7301 * sunrpc/xdr_float.c: Likewise.
7302 * sunrpc/xdr_intXX_t.c: Likewise.
7303 * sunrpc/xdr_mem.c: Likewise.
7304 * sunrpc/xdr_rec.c: Likewise.
7305 * sunrpc/xdr_ref.c: Likewise.
7306 * sunrpc/xdr_sizeof.c: Likewise.
7307 * sunrpc/xdr_stdio.c: Likewise.
7308
b5c086a2
RM
73092012-05-10 Roland McGrath <roland@hack.frob.com>
7310
7311 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7312 change. Update copyright years.
7313
6d74dd09
JM
73142012-05-10 Joseph Myers <joseph@codesourcery.com>
7315
7316 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7317
28e72501
MK
73182012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7319 Joseph Myers <joseph@codesourcery.com>
7320 Paul Pluzhnikov <ppluzhnikov@google.com>
7321
7322 [BZ #14012]
7323 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7324 requiring rpcgen.
7325 [cross-compiling] (extra-libs): Likewise.
7326 [cross-compiling] (extra-libs-others): Likewise.
7327 [cross-compiling] (librpcsvc-routines): Likewise.
7328 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7329 [cross-compiling] (omit-deps): Likewise.
7330 (sunrpc-CPPFLAGS): New variable.
7331 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7332 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7333 (cross-rpcgen-objs): New variable.
7334 (extra-objs): Append $(cross-rpcgen-objs).
7335 ($(cross-rpcgen-objs)): New rule.
7336 ($(objpfx)cross-rpcgen): Likewise.
7337 (rpcgen-cmd): Define to use $(built-program-file). Expand
7338 comment.
7339 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7340 ($(objpfx)x%.stmp): Likewise.
7341 * sunrpc/proto.h [IS_IN_build] (_): Define.
7342 [IS_IN_build] (_libc_intl_domainname): Likewise.
7343
c8c59454
L
73442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7345
7346 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7347 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7348 and R_X86_64_TPOFF64.
7349
6f27cd16
JM
73502012-05-10 Joseph Myers <joseph@codesourcery.com>
7351
7352 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7353 sysdeps/unix/sysv/syscalls.list.
7354 (stime): Likewise.
7355 (utime): Likewise.
7356 * sysdeps/unix/sysv/syscalls.list: Remove file.
7357
02467e1c
PE
73582012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7359
7360 [BZ #3440]
7361 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7362 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7363 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7364 (__LC_IDENTIFICATION): Make these macros useful in #if
7365 expressions, as required by C99.
7366
da392631
AS
73672012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7368
7369 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7370 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7371 after this.
7372
8115f29b
L
73732012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7374
7375 * stdlib/longlong.h: Updated from GCC.
7376
bdd74070
AJ
73772012-05-09 Andreas Jaeger <aj@suse.de>
7378
edfe0dbe
AJ
7379 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7380 default is first entry.
7381 (run_mode): Set type.
7382 (main): Remove informal message about syslog.
7383 (options): Fix typo.
7384
bcfe3a54
ST
7385 [BZ #14053]
7386 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7387 to asm.
bcfe3a54
ST
7388 (lrint): Likewise.
7389 (llrintf): Likewise.
7390 (llrint): Likewise.
7391 (rint): Likewise.
7392 (rintf): Likewise.
7393 (nearbyint): Likewise.
7394 (nearbyintf): Likewise.
bdd74070 7395
91d8d69e
AJ
73962012-05-09 Andreas Jaeger <aj@suse.de>
7397 Pedro Alves <palves@redhat.com>
7398
7399 * nscd/nscd.c (run_mode): Use enum.
7400 (main): Cleanup coding style issue.
7401
bb90b80b
AJ
74022012-05-09 Alexandre Oliva <aoliva@redhat.com>
7403 Andreas Jaeger <aj@suse.de>
7404
bcfe3a54
ST
7405 * nscd/nscd.c (go_background): Replaced with...
7406 (run_mode): ... this.
bb90b80b 7407 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7408 (options): Add -F --foreground.
7409 (main): Implement it.
7410 (parse_opt): Parse it.
bb90b80b 7411
1a4b75a1
AJ
74122012-05-09 Andreas Jaeger <aj@suse.de>
7413
7414 [BZ #14083]
7415 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7416 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7417 -Wconversion warning.
7418 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7419 Likewise.
7420
b1cc2472
JM
74212012-05-09 Joseph Myers <joseph@codesourcery.com>
7422
7423 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7424 == 0.
7425 (LC_ALL): Use macro-int-constant.
7426 (LC_COLLATE): Likewise.
7427 (LC_CTYPE): Likewise.
7428 (LC_MESSAGES): Likewise.
7429 (LC_MONETARY): Likewise.
7430 (LC_NUMERIC): Likewise.
7431 (LC_TIME): Likewise.
7432 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7433 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7434 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7435 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7436 Specify type.
7437 [C99-based standards] (float_t): Expect type.
7438 [C99-based standards] (double_t): Expect type.
7439 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7440 type.
7441 [C99-based standards] (HUGE_VALL): Likewise.
7442 [C99-based standards] (INFINITY): Likewise.
7443 [C99-based standards] (NAN): Likewise.
7444 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7445 [C99-based standards] (FP_NAN): Likewise.
7446 [C99-based standards] (FP_NORMAL): Likewise.
7447 [C99-based standards] (FP_SUBNORMAL): Likewise.
7448 [C99-based standards] (FP_ZERO): Likewise.
7449 [C99-based standards] (FP_FAST_FMA): Use
7450 optional-macro-int-constant. Specify type. Require == 1.
7451 [C99-based standards] (FP_FAST_FMAF): Likewise.
7452 [C99-based standards] (FP_FAST_FMAL): Likewise.
7453 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7454 [C99-based standards] (FP_ILOGBNAN): Likewise.
7455 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7456 Specify type.
7457 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7458 [C99-based standards] (math_errhandling): Specify type.
7459 [ISO99 || ISO11] (signgam): Do not allow.
7460 [non-C99-based standards] (copysignf): Do not allow.
7461 [non-C99-based standards] (exp2f): Likewise.
7462 [non-C99-based standards] (log2f): Likewise.
7463 [non-C99-based standards] (modff): Allow.
7464 [non-C99-based standards] (erff): Do not allow.
7465 [non-C99-based standards] (erfcf): Likewise.
7466 [non-C99-based standards] (gammaf): Likewise.
7467 [non-C99-based standards] (hypotf): Likewise.
7468 [non-C99-based standards] (j0f): Likewise.
7469 [non-C99-based standards] (j1f): Likewise.
7470 [non-C99-based standards] (jnf): Likewise.
7471 [non-C99-based standards] (lgammaf): Likewise.
7472 [non-C99-based standards] (tgammaf): Likewise.
7473 [non-C99-based standards] (y0f): Likewise.
7474 [non-C99-based standards] (y1f): Likewise.
7475 [non-C99-based standards] (ynf): Likewise.
7476 [non-C99-based standards] (isnanf): Likewise.
7477 [non-C99-based standards] (acoshf): Likewise.
7478 [non-C99-based standards] (asinhf): Likewise.
7479 [non-C99-based standards] (atanhf): Likewise.
7480 [non-C99-based standards] (cbrtf): Likewise.
7481 [non-C99-based standards] (expm1f): Likewise.
7482 [non-C99-based standards] (ilogbf): Likewise.
7483 [non-C99-based standards] (log1pf): Likewise.
7484 [non-C99-based standards] (logbf): Likewise.
7485 [non-C99-based standards] (nextafterf): Likewise.
7486 [non-C99-based standards] (remainderf): Likewise.
7487 [non-C99-based standards] (rintf): Likewise.
7488 [non-C99-based standards] (scalbf): Likewise.
7489 [non-C99-based standards] (copysignl): Likewise.
7490 [non-C99-based standards] (exp2l): Likewise.
7491 [non-C99-based standards] (log2l): Likewise.
7492 [non-C99-based standards] (modfl): Allow.
7493 [non-C99-based standards] (erfl): Do not allow.
7494 [non-C99-based standards] (erfcl): Likewise.
7495 [non-C99-based standards] (gammal): Likewise.
7496 [non-C99-based standards] (hypotl): Likewise.
7497 [non-C99-based standards] (j0l): Likewise.
7498 [non-C99-based standards] (j1l): Likewise.
7499 [non-C99-based standards] (jnl): Likewise.
7500 [non-C99-based standards] (lgammal): Likewise.
7501 [non-C99-based standards] (tgammal): Likewise.
7502 [non-C99-based standards] (y0l): Likewise.
7503 [non-C99-based standards] (y1l): Likewise.
7504 [non-C99-based standards] (ynl): Likewise.
7505 [non-C99-based standards] (isnanl): Likewise.
7506 [non-C99-based standards] (acoshl): Likewise.
7507 [non-C99-based standards] (asinhl): Likewise.
7508 [non-C99-based standards] (atanhl): Likewise.
7509 [non-C99-based standards] (cbrtl): Likewise.
7510 [non-C99-based standards] (expm1l): Likewise.
7511 [non-C99-based standards] (ilogbl): Likewise.
7512 [non-C99-based standards] (log1pl): Likewise.
7513 [non-C99-based standards] (logbl): Likewise.
7514 [non-C99-based standards] (nextafterl): Likewise.
7515 [non-C99-based standards] (remainderl): Likewise.
7516 [non-C99-based standards] (rintl): Likewise.
7517 [non-C99-based standards] (scalbl): Likewise.
7518 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7519 [non-C99-based standards] (FP_*): Do not allow.
7520 [C99-based standards] (FP_*): Change to
7521 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7522 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7523 allow.
7524 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7525 (SIG_ERR): Likewise.
7526 [X/Open-based standards] (SIG_HOLD): Likewise.
7527 (SIG_IGN): Likewise.
7528 (SIGABRT): Use macro-int-constant. Specify type. Require
7529 positive value.
7530 (SIGFPE): Likewise.
7531 (SIGILL): Likewise.
7532 (SIGINT): Likewise.
7533 (SIGSEGV): Likewise.
7534 (SIGTER): Likewise.
7535 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7536 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7537 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7538 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7539 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7540 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7541 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7542 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7543 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7544 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7545 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7546 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7547 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7548 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7549 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7550 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7551 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7552 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7553 [X/Open-based standards] (SIGTRAP): Likewise.
7554 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7555 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7556 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7557 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7558 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7559 allow.
7560
b9f1922d
IW
75612012-05-08 Ian Wienand <ianw@vmware.com>
7562
7563 [BZ #14080]
7564 * time/tzset.c (__tzset_parse_tz): Update default rules for
7565 daylight time changes in the Energy Policy Act of 2005.
7566
1db86e88
AJ
75672012-05-09 Andreas Jaeger <aj@suse.de>
7568
7569 [BZ #13983]
7570 * elf/ldconfig.c (parse_conf): Change string to make clear that
7571 ldconfig only issued a warning if ld.so.conf does not exist.
7572
dee4a4e3
DM
75732012-05-08 David S. Miller <davem@davemloft.net>
7574
ee0db190
DM
7575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7576 movxtod instead of popping the value on the stack.
7577
dee4a4e3
DM
7578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7579
6a43ec98
CD
75802012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7581
7582 * config.h.in: Add HAVE_ARM_PCS_VFP.
7583
05c2c961
RMG
75842012-05-08 Roland Mc Grath <roland@hack.frob.com>
7585
bcfe3a54
ST
7586 [BZ #13979]
7587 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7588 checking but the checks are disabled for any reason.
05c2c961 7589
4b30f61a
L
75902012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7591
7592 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7593 and ELF64_R_TYPE with ELFW(R_TYPE).
7594
eee2bc67
JM
75952012-05-08 Joseph Myers <joseph@codesourcery.com>
7596
7ea5391a
JM
7597 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7598 (ulimit): Likewise.
7599
eee2bc67
JM
7600 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7601 (settimeofday): Likewise.
7602
abb66a67
MF
76032012-05-08 Mike Frysinger <vapier@gentoo.org>
7604
7605 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7606 a struct th_u2 inside the union, and move tu_block/tu_code into
7607 a new th_u3 union of tu_block/tu_code inside of that. Move
7608 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7609 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7610 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7611 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7612 (th_stuff): Change to th_u1.tu_stuff.
7613 (th_data): Define.
7614 (th_msg): Change to th_u1.th_u2.tu_data.
7615
7f18b530
DM
76162012-05-07 David S. Miller <davem@davemloft.net>
7617
05760585
DM
7618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7619
7f18b530
DM
7620 [BZ #14074]
7621 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7622 (SETUP_PIC_REG): Use it.
7623 (SETUP_PIC_REG_LEAF): Use it.
7624
495fd99f
JM
76252012-05-07 Joseph Myers <joseph@codesourcery.com>
7626
7627 [BZ #13885]
7628 [BZ #13923]
7629 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7630 USE_AS_EXPM1L.
7631 (EXPL_FINITE): Likewise.
7632 (FLDLOG): Likewise.
7633 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7634 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7635 e_expl.S.
7636 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7637 USE_AS_EXPM1L.
7638 (EXPL_FINITE): Likewise.
7639 (FLDLOG): Likewise.
7640 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7641 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7642 e_expl.S.
7643 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7644 test of -max_value argument for long double.
7645 * sysdeps/i386/fpu/libm-test-ulps: Update.
7646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7647
6693d694
DM
76482012-05-06 David S. Miller <davem@davemloft.net>
7649
7650 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7651 quad soft-float symbols whose references which are compiler
7652 generated.
7653 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7654
6c23e11c
JM
76552012-05-06 Joseph Myers <joseph@codesourcery.com>
7656
d8b82cad
JM
7657 [BZ #13884]
7658 [BZ #13914]
7659 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7660 USE_AS_EXP10L.
7661 (EXPL_FINITE): Likewise.
7662 (FLDLOG): Likewise.
7663 (c0): Likewise.
7664 (c1): Likewise.
7665 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7666 Adjust comments for base varying.
7667 (__expl_finite): Change alias to EXPL_FINITE.
7668 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7669 e_expl.S.
7670 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7671 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7672 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7673 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7674 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7675 USE_AS_EXP10L.
7676 (EXPL_FINITE): Likewise.
7677 (FLDLOG): Likewise.
7678 (c0): Likewise.
7679 (c1): Likewise.
7680 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7681 Adjust comments for base varying.
7682 (__expl_finite): Change alias to EXPL_FINITE.
7683 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7684 tests for bugs.
7685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7686
6c23e11c
JM
7687 [BZ #14064]
7688 * math/libm-test.inc (check_float_internal): Correct ulp
7689 calculation for subnormal expected results.
7690
29ba805c
AJ
76912012-05-06 Andreas Jaeger <aj@suse.de>
7692
7693 * Makeconfig (+math-flags): New, set to -frounding-math.
7694 (+cflags): Add +math-flags so that all of glibc gets compiled with
7695 it.
7696
7697 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7698
7b17aeda
JM
76992012-05-05 Joseph Myers <joseph@codesourcery.com>
7700
5779f134
JM
7701 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7702 Disable one test.
7703
41498f4d
JM
7704 [BZ #13787]
7705 [BZ #13922]
7706 [BZ #14036]
7707 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7708 (__ieee754_expl): Allow for and saturate large arguments.
7709 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7710 (u_threshold): Likewise.
7711 (__exp): Call __ieee754_exp before checking for overflow and
7712 underflow.
7713 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7714 (u_threshold): Likewise.
7715 (__expf): Call __ieee754_expf before checking for overflow and
7716 underflow.
7717 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7718 (u_threshold): Likewise.
7719 (__expl): Call __ieee754_expl before checking for overflow and
7720 underflow.
7721 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7722 (__ieee754_expl): Allow for and saturate large arguments.
7723 * math/libm-test.inc (exp_test): Add another test. Do not allow
7724 missing overflow exception on overflow.
7725 (expm1_test): Do not allow missing overflow exception on overflow.
7726
6698b8bf
JM
7727 * sysdeps/i386/fpu/e_expl.c: Move to ...
7728 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7729 rather than using inline asm.
7730 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7731 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7732 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7733
7b17aeda
JM
7734 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7735 (nice): Likewise.
7736 (poll): Likewise.
7737 (signal): Likewise.
7738 (time): Likewise.
7739 (times): Likewise.
7740
f7c85819
JM
77412012-05-04 Joseph Myers <joseph@codesourcery.com>
7742
7743 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7744 sysdeps/unix/common/syscalls.list.
7745 (fchmod): Likewise.
7746 (fchown): Likewise.
7747 (ftruncate): Likewise.
7748 (getrusage): Likewise.
7749 (gettimeofday): Likewise.
7750 (setpgid): Likewise.
7751 (setregid): Likewise.
7752 (setreuid): Likewise.
7753 (sigaction): Likewise.
7754 (truncate): Likewise.
7755 (vhangup): Likewise.
7756 * sysdeps/unix/common/syscalls.list: Remove file.
7757 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7758 * sysdeps/unix/sysv/linux/Implies: Likewise.
7759
336270d0
L
77602012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7761
7762 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7764 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7765 Moved to ...
7766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7767 Here.
7768 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7769 to ...
7770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7771 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7772 to ...
7773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7774 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7775 to ...
7776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7777 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7778 to ...
7779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7780 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7781 to ...
7782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7783 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7784 to ...
7785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7786 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7787 to ...
7788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7789 Here.
7790 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7791 to ...
7792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7793 Here.
7794 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7795 to ...
7796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7797 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7798 Moved to ...
7799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7800 Here.
7801 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7802 to ...
7803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7804
d128e450
JM
78052012-05-04 Joseph Myers <joseph@codesourcery.com>
7806
fa8ee516
JM
7807 * sysdeps/unix/common/bits/dirent.h: Remove file.
7808 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7809
d128e450
JM
7810 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7811 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7812 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7813 * sysdeps/unix/bsd/isatty.c: Likewise.
7814 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7815 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7816 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7817
ff8faaf0 78182012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7819
62881be4 7820 [BZ #13563]
31dc8730
AZ
7821 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7822 long double comparison inaccuracies.
7823 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7825
6fef930c
AS
78262012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7827
7828 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7829 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7830
8f203e6c
JM
78312012-05-04 Joseph Myers <joseph@codesourcery.com>
7832
7833 [BZ #14049]
7834 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7835 nonzero digits before rounding a hex value.
7836 * stdlib/tst-strtod.c (tests): Add another test.
7837
5197d9c2
AK
78382012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7839
7840 * sysdeps/s390/fpu/libm-test-ulps: Update.
7841
f0c1dedf
AJ
78422012-05-03 Andreas Jaeger <aj@suse.de>
7843
7844 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7845 does not get optimized out.
7846 (malloc_opt_barrier): New.
7847
a65ef2ae 78482012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7849 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7850
2b942cb7 7851 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7852 intermediate file deletion.
2b942cb7 7853 (generated): Add .symlist files.
a65ef2ae 7854
54b71e02
JM
78552012-05-03 Joseph Myers <joseph@codesourcery.com>
7856
7857 [BZ #13775]
7858 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7859 Redirect under this condition.
7860 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7861 [__USE_GNU] (__dprintf_chk): Not under this condition.
7862 [__USE_GNU] (__vdprintf_chk): Likewise.
7863 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7864 under this condition.
7865 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7866 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7867 [__USE_XOPEN2K8] (vdprintf): Likewise.
7868 [__USE_GNU] (__dprintf_chk): Not under this condition.
7869 [__USE_GNU] (__vdprintf_chk): Likewise.
7870 [__USE_GNU] (dprintf): Likewise.
7871 [__USE_GNU] (vdprintf): Likewise.
7872
d3dfcc41
RM
78732012-05-03 Roland McGrath <roland@hack.frob.com>
7874
7875 * elf/Makefile (common-generated): Set this instead of generated for
7876 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7877 $(all-built-dso)-derived lists.
7878
7ac30cc5
AJ
78792012-05-03 Andreas Jaeger <aj@suse.de>
7880
0c51e550
AJ
7881 * sysdeps/i386/fpu/libm-test-ulps: Update.
7882
7ac30cc5
AJ
7883 * FAQ: Removed.
7884 * FAQ.in: Likewise.
7885 * scripts/gen-FAQ.pl: Likewise.
7886 * manual/install.texi (Installation): Point to online location of
7887 FAQ.
7888 * Makefile (files-for-dist): Remove FAQ.
7889 (FAQ): Remove.
7890
d4c2917f
AM
78912012-05-02 Allan McRae <allan@archlinux.org>
7892
7893 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7894 (LDFLAGS-reldepmod5.so): Likewise.
7895 (LDFLAGS-reldep6mod1.so): Likewise.
7896 (LDFLAGS-reldep6mod4.so): Likewise.
7897 (LDFLAGS-reldep8mod3.so): Likewise.
7898 (LDFLAGS-unload4mod1.so): Likewise.
7899 (LDFLAGS-unload4mod2.so): Likewise.
7900 (LDFLAGS-tst-initorder): Likewise.
7901 (LDFLAGS-tst-initordera2.so): Likewise.
7902 (LDFLAGS-tst-initordera3.so): Likewise.
7903 (LDFLAGS-tst-initordera4.so): Likewise.
7904 (LDFLAGS-tst-initorderb2.so): Likewise.
7905 (LDFLAGS-noload): Likewise.
7906 (LDFLAGS-next): Likewise.
7907 (LDFLAGS-order2mod1.so): Likewise.
7908 (LDFLAGS-order2mod2.so): Likewise.
7909 (LDFLAGS-tst-initorder2): Likewise.
7910 (LDFLAGS-tst-initorder2a.so): Likewise.
7911 (LDFLAGS-tst-initorder2b.so): Likewise.
7912 (LDFLAGS-tst-initorder2c.so): Likewise.
7913 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7914
d77f993f
DM
79152012-05-02 David S. Miller <davem@davemloft.net>
7916
7917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7918
171a70b4
PP
79192012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7920
7921 [BZ #14055]
7922 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7923
0be196ad
AJ
79242012-05-02 Andreas Jaeger <aj@suse.de>
7925
7926 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7927 since we manipulate rounding mode.
7928 (CPPFLAGS-test-idouble.c): Likewise.
7929 (CPPFLAGS-test-ifloat.c): Likewise.
7930 (CFLAGS-test-ldouble.c): Likewise.
7931 (CFLAGS-test-double.c): Likewise.
7932 (CFLAGS-test-float.c): Likewise.
7933 (CFLAGS-test-misc.c): Likewise.
7934 (CFLAGS-test-test-fenv.c): Likewise.
7935
4f9d04aa
AZ
79362012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7937
2b942cb7
RM
7938 [BZ #2550]
7939 [BZ #2570]
7940 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7941 comparisons to determine direction to adjust input.
4f9d04aa 7942
82a79e7d
RM
79432012-05-01 Roland McGrath <roland@hack.frob.com>
7944
f5a01ca9
RM
7945 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7946 output to the target.
7947
90fe4186
RM
7948 * scripts/localplt.awk: New file.
7949 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7950 (check-localplt-CFLAGS): Variable removed.
7951 ($(all-built-dso:=.jmprel)): New static pattern rule.
7952 (generated): Add those targets.
7953 (localplt-built-dso): New variable.
7954 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7955
7956 * elf/check-localplt.c: File removed.
7957
82397ed6
RM
7958 * scripts/check-execstack.awk: New file.
7959 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7960 (check-execstack-CFLAGS): Variable removed.
7961 ($(objpfx)check-execstack.h): Target removed.
7962 ($(objpfx)execstack-default): New target.
7963 (generated): Add that instead of check-execstack.h.
7964 ($(all-built-dso:=.phdr)): New static pattern rule.
7965 (generated): Add those targets.
7966 * elf/check-execstack.c: File removed.
7967
82a79e7d
RM
7968 * scripts/check-textrel.awk: New file.
7969 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7970 (check-textrel-CFLAGS): Variable removed.
7971 (all-built-dso): Use := to define.o
7972 ($(all-built-dso:=.dyn)): New static pattern rule.
7973 (generated): Add those targets.
7974 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7975 * config.make.in (READELF): New substituted variable.
7976 * elf/check-textrel.c: File removed.
7977
62fde54f 79782012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7979
615605c9
JM
7980 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7981 allow.
7982 * conform/data/ctype.h-data [C99-based standards] (isblank):
7983 Expect function.
7984 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7985 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7987 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7988 Specify type. Require positive value.
7989 (EILSEQ): Likewise.
7990 (ERANGE): Likewise.
7991 [ISO || POSIX] (EILSEQ): Do not expect.
7992 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7993 Specify type. Require positive value.
7994 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7995 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7996 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7997 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7998 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7999 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8000 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8001 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8002 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8003 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8004 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8005 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8006 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8007 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8008 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8009 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8010 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8011 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8012 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8013 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8014 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8015 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8016 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8017 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8018 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8019 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8020 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8021 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8022 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8023 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8024 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8025 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8026 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8027 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8028 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8029 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8030 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8031 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8032 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8033 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8034 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8035 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8036 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8037 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8038 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8039 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8040 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8041 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8042 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8043 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8044 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8045 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8046 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8047 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8048 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8049 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8050 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8051 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8052 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8053 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8054 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8055 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8056 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8057 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8058 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8059 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8060 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8061 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8062 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8063 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8064 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8065 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8066 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8067 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8068 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8069 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8070 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8071 Require >= 2.
8072 (FLT_ROUNDS): Expect as macro, not constant.
8073 (FLT_MANT_DIG): Use macro-int-constant.
8074 (DBL_MANT_DIG): Likewise.
8075 (LDBL_MANT_DIG): Likewise.
8076 (FLT_DIG): Likewise.
8077 (DBL_DIG): Likewise.
8078 (LDBL_DIG): Likewise.
8079 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8080 (DBL_MIN_EXP): Likewise.
8081 (LDBL_MIN_EXP): Likewise.
8082 (FLT_MAX_EXP): Use macro-int-constant.
8083 (DBL_MAX_EXP): Likewise.
8084 (LDBL_MAX_EXP): Likewise.
8085 (FLT_MAX_10_EXP): Likewise.
8086 (DBL_MAX_10_EXP): Likewise.
8087 (LDBL_MAX_10_EXP): Likewise.
8088 (FLT_MAX): Use macro-constant.
8089 (DBL_MAX): Likewise.
8090 (LDBL_MAX): Likewise.
8091 (FLT_EPSILON): Use macro-constant. Give upper bound.
8092 (DBL_EPSILON): Likewise.
8093 (LDBL_EPSILON): Likewise.
8094 (FLT_MIN): Likewise.
8095 (DBL_MIN): Likewise.
8096 (LDBL_MIN): Likewise.
8097 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8098 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8099 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8100 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8101 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8102 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8103 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8104 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8105 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8106 [ISO11] (FLT_TRUE_MIN): Likewise.
8107 [ISO11] (LDBL_TRUE_MIN): Likewise.
8108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8109 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8110 (SCHAR_MIN): Use macro-int-constant. Specify type.
8111 (SCHAR_MAX): Likewise.
8112 (UCHAR_MAX): Likewise.
8113 (CHAR_MIN): Likewise.
8114 (CHAR_MAX): Likewise.
8115 (MB_LEN_MAX): Use macro-int-constant.
8116 (SHRT_MIN): Use macro-int-constant. Specify type.
8117 (SHRT_MAX): Likewise.
8118 (USHRT_MAX): Likewise.
8119 (INT_MAX): Likewise.
8120 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8121 bound negative.
8122 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8123 bound with "U".
8124 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8125 bound with "L".
8126 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8127 bound negative. Suffix upper bound with "L".
8128 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8129 bound with "UL".
8130 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8131 Specify type.
8132 [C99-based standards] (LLONG_MAX): Likewise.
8133 [C99-based standards] (ULLONG_MAX): Likewise.
8134 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8135 == 0.
8136 [ISO11] (max_align_t): Require type.
8137 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8138
c9140a62
JM
8139 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8140 from $CFLAGS, without defining away __attribute__ calls.
8141 (checknamespace): Use $CFLAGS_namespace.
8142
9af0bf29
JM
8143 * conform/conformtest.pl (@keywords): Only include C99 keywords
8144 for standards based on C99 or C11.
8145
343222a2
JM
8146 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8147 Disable tests.
8148 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8149 UNIX98]: Likewise.
8150
661f8cf0
JM
8151 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8152 usability of symbols in #if.
8153
ee74b9cb
JM
8154 * conform/conformtest.pl: If macro or constant types start
8155 "promoted:", expect the symbol to be of the following type
8156 promoted by the integer promotions.
62fde54f 8157
aafc49b3
JM
8158 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8159 in one place. Also handle "macro-constant".
8160
fefdf574
JM
8161 * conform/conformtest.pl: Only accept expected macro values with
8162 "==". Parse all "macro" lines in one place.
8163 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8164
f2d922fe
JM
8165 * conform/conformtest.pl: Handle braced types on "constant" lines
8166 instead of handling "typed-constant".
8167 * conform/data/signal.h-data: Use "constant" instead of
8168 "typed-constant".
8169
d22956c9
JM
8170 * conform/conformtest.pl: Handle "optional-" at start of lines in
8171 one place rather than duplicating several cases. Handle each
8172 format of "macro" line with initial "optional-".
8173
028e2e38
JM
8174 * conform/conformtest.pl: Only accept expected constant or
8175 optional-constant values with "==". Parse all "constant" lines in
8176 one place. Parse all "optional-constant" lines in one place.
8177 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8178 * conform/data/fmtmsg.h-data: Likewise.
8179 * conform/data/netinet/in.h-data: Likewise.
8180 * conform/data/tar.h-data: Likewise.
8181 * conform/data/limits.h-data: Use "==" form on "constant" and
8182 "optional-constant" lines.
8183
1b8f2850
JM
8184 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8185 Use -std=c99 for XOPEN2K.
8186 (@knownproblems): Remove.
8187 (newtoken): Don't check %isknown.
8188
a05a144b
JM
8189 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8190 Do not expect macro.
8191 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8192 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8193 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8194 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8195 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8196 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8197 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8198 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8199 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8200 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8201 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8202 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8203 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8204 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8205 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8206 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8207 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8208 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8209 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8210 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8211 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8212 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8213 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8214 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8215 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8216 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8217 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8218 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8219 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8220 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8221 [XPG3] (acosh): Likewise.
8222 [XPG3] (asinh): Likewise.
8223 [XPG3] (atanh): Likewise.
8224 [XPG3] (cbrt): Likewise.
8225 [XPG3] (expm1): Likewise.
8226 [XPG3] (ilogb): Likewise.
8227 [XPG3] (log1p): Likewise.
8228 [XPG3] (logb): Likewise.
8229 [XPG3] (nextafter): Likewise.
8230 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8231 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8232 [XPG3] (remainder): Likewise.
8233 [XPG3] (rint): Likewise.
8234 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8235 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8236 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8237 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8238 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8239 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8240 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8241 [UNIX98 || XOPEN2K] (scalb): Expect.
8242 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8243 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8244 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8245 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8246 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8247 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8248 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8249 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8250 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8251 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8252 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8253 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8254 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8255 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8256 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8257 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8258 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8259 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8260 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8261 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8262 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8263 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8264 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8265 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8266 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8267 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8268 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8269 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8270 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8271 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8272 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8273 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8274 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8275 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8276 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8277 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8278 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8279 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8280 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8281 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8282 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8283 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8284 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8285 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8286 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8287 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8288 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8289 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8290 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8291 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8292 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8293 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8294 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8295 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8296 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8297 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8298 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8299 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8300 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8301 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8302 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8303 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8304 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8305 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8306 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8307 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8308 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8309 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8310 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8311 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8312 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8313 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8314 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8315 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8316 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8317 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8318 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8319 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8320 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8321 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8322 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8323 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8324 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8325 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8326 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8327 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8328 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8329 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8330 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8331 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8332 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8333 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8334 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8335 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8336 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8337 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8338 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8339 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8340 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8341 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8342 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8343 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8344 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8345 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8346 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8347 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8348 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8349 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8350 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8351 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8352 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8353 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8354 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8355 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8356 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8357 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8358 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8359 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8360 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8361 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8362 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8363 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8364 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8365 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8366 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8367 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8368 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8369 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8370 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8371 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8372 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8373 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8374 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8375 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8376 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8377 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8378 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8379
73c5ebe3
JM
8380 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8381 _XOPEN_SOURCE_EXTENDED for XPG4.
8382
39c33b6c
JM
8383 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8384
62fde54f
JM
8385 * Makeconfig (localtime): Remove variable.
8386 (inst_localtime-file): Likewise.
8387
0741d64c
AS
83882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8389
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8391 Update.
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8393 Update.
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8395 Update.
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8397 Update.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8399 Update.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8401 Update.
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8403 Update.
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8405 Update.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8407 Update.
8408
7cb029ee
JM
84092012-05-01 Joseph Myers <joseph@codesourcery.com>
8410
8411 [BZ #2550]
8412 [BZ #2570]
8413 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8414 comparisons to determine direction to adjust input.
8415 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8416 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8417 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8418 Likewise.
8419 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8420 Likewise.
8421 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8422 Likewise.
8423 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8424 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8425 Likewise.
8426 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8427 Likewise.
8428 * math/libm-test.inc (nexttoward_test): Add more tests.
8429
412bd966
AS
84302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8431
8432 [BZ #14040]
8433 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8434 in version GLIBC_2.1, not GLIBC_2.0.
8435 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8436 Likewise.
8437
9568c0c2
JM
84382012-04-30 Joseph Myers <joseph@codesourcery.com>
8439
adfbc8ac
JM
8440 [BZ #13942]
8441 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8442 (1 - x) * (1 + x).
8443 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8444 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8445 * math/libm-test.inc (acos_test): Add more tests.
8446 (asin_test): Likewise.
8447 * sysdeps/i386/fpu/libm-test-ulps: Update.
8448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8449
5ba3cc69
JM
8450 [BZ #14034]
8451 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8452 of square root.
8453 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8454 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8455 * math/libm-test.inc (acos_test_tonearest): New function.
8456 (acos_test_towardzero): Likewise.
8457 (acos_test_downward): Likewise.
8458 (acos_test_upward): Likewise.
8459 (asin_test_tonearest): Likewise.
8460 (asin_test_towardzero): Likewise.
8461 (asin_test_downward): Likewise.
8462 (asin_test_upward): Likewise.
8463 (main): Call the new functions.
8464 * sysdeps/i386/fpu/libm-test-ulps: Update.
8465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8466
9568c0c2
JM
8467 [BZ #13884]
8468 [BZ #13924]
8469 * math/e_exp10.c: Include <float.h>.
8470 (__ieee754_exp10): Handle underflow here rather than multiplying
8471 large negative argument by M_LN10.
8472 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8473 of __ieee754_expf.
8474 * math/e_exp10l.c: Include <float.h>.
8475 (__ieee754_exp10l): Handle underflow here rather than multiplying
8476 large negative argument by M_LN10l.
8477 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8478 spurious overflow exception on underflow.
8479
5ac3ea17
MP
84802012-04-29 Marek Polacek <polacek@redhat.com>
8481
8482 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8483 (__fortify_function): New macro.
8484 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8485 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8486 __extern_always_inline.
8487 * libio/bits/stdio2.h: Likewise.
8488 * libio/bits/stdio.h: Likewise.
8489 * string/string.h: Likewise.
8490 * string/bits/string3.h: Likewise.
8491 * include/stdio.h: Likewise.
8492 * stdlib/bits/stdlib.h: Likewise.
8493 * stdlib/stdlib.h: Likewise.
8494 * rt/bits/mqueue2.h: Likewise.
8495 * rt/mqueue.h: Likewise.
8496 * posix/bits/unistd.h: Likewise.
8497 * posix/unistd.h: Likewise.
8498 * io/bits/poll2.h: Likewise.
8499 * io/bits/fcntl2.h: Likewise.
8500 * io/fcntl.h: Likewise.
8501 * io/sys/poll.h: Likewise.
8502 * misc/bits/syslog.h: Likewise.
8503 * misc/bits/syslog-ldbl.h: Likewise.
8504 * misc/sys/syslog.h: Likewise.
8505 * socket/bits/socket2.h: Likewise.
8506 * socket/sys/socket.h: Likewise.
8507 * debug/tst-chk1.c: Likewise.
8508 * wcsmbs/bits/wchar2.h: Likewise.
8509 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8510 * wcsmbs/wchar.h: Likewise.
8511
ecf0ebfb
AJ
85122012-04-29 Andreas Jaeger <aj@suse.de>
8513
8514 * Makerules (tests): Remove enable-check-abi protection.
8515 (check-abi-warn): Remove.
8516 (check-abi-%): Remove check-abi-warn usage.
8517
8518 * configure.in: Remove check-abi configure option.
8519 * configure: Regenerated.
8520 * config.make.in (enable-check-abi): Remove.
8521
6d5c57fa
AS
85222012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8523
24c5d07e 8524 [BZ #14033]
ded5180a
AS
8525 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8526 double functions to double *_finite functions.
8527
7e0d315d
AS
8528 [BZ #13941]
8529 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8530 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8531 LDBL_MIN_EXP.
8532 * stdio-common/Makefile (tests): Add tst-sprintf3.
8533 * stdio-common/tst-sprintf3.c: New file.
8534
6d5c57fa
AS
8535 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8536 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8537
0749ff8b
JM
85382012-04-28 Joseph Myers <joseph@codesourcery.com>
8539
8540 * conform/conformtest.pl: Remove duplicate typed-constant
8541 handling.
8542
8dbd5d7b
DM
85432012-04-28 David S. Miller <davem@davemloft.net>
8544
8545 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8546 (check-abi-%): Remove AWK script prerequisite and explicit
8547 abilist directory.
8548 (check-abi): Rewrite to just diff the symlist with the abilist.
8549 (config-tls, config-abi-config): Delete, no longer used.
8550 (update-abi-%): Remove AWK script and explicit abilist directory.
8551 (update-abi): Rewrite to simply compare and conditionally copy the
8552 symlist and the sysdep abilist file. Remove update-abi-config
8553 checks.
8554 * abilist/ld.abilist: Remove.
8555 * abilist/libBrokenLocale.abilist: Remove.
8556 * abilist/libanl.abilist: Remove.
8557 * abilist/libcrypt.abilist: Remove.
8558 * abilist/libdl.abilist: Remove.
8559 * abilist/librt.abilist: Remove.
8560 * abilist/libthread_db.abilist: Remove.
8561 * abilist/libutil.abilist: Remove.
8562 * scripts/extract-abilist.awk: Remove.
8563 * scripts/merge-abilist.awk: Remove.
8564 * sysdeps/generic/libcidn.abilist: New file.
8565 * sysdeps/generic/libnss_compat.abilist: New file.
8566 * sysdeps/generic/libnss_db.abilist: New file.
8567 * sysdeps/generic/libnss_dns.abilist: New file.
8568 * sysdeps/generic/libnss_files.abilist: New file.
8569 * sysdeps/generic/libnss_hesiod.abilist: New file.
8570 * sysdeps/generic/libnss_nis.abilist: New file.
8571 * sysdeps/generic/libnss_nisplus.abilist: New file.
8572 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8573 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8574 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8575 file.
8576 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8577 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8578 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8579 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8580 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8581 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8582 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8583 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8584 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8585 file.
8586 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8587 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8588 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8589 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8590 file.
8591 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8592 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8593 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8594 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8595 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8596 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8597 file.
8598 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8599 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8600 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8601 file.
8602 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8604 New file.
8605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8606 New file.
8607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8608 New file.
8609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8610 New file.
8611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8612 New file.
8613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8614 New file.
8615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8616 New file.
8617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8618 New file.
8619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8620 New file.
8621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8622 New file.
8623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8624 New file.
8625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8626 New file.
8627 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8628 New file.
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8630 file.
8631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8632 New file.
8633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8634 New file.
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8636 file.
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8638 New file.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8640 New file.
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8642 file.
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8644 New file.
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8646 New file.
8647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8648 New file.
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8650 New file.
8651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8652 New file.
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8654 New file.
8655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8657 file.
8658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8659 New file.
8660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8661 file.
8662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8663 file.
8664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8665 file.
8666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8667 file.
8668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8669 file.
8670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8671 New file.
8672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8673 file.
8674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8675 file.
8676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8677 New file.
8678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8679 file.
8680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8682 file.
8683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8684 New file.
8685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8686 file.
8687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8688 file.
8689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8690 file.
8691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8692 file.
8693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8694 file.
8695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8696 New file.
8697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8698 file.
8699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8700 file.
8701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8702 New file.
8703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8704 file.
8705 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8706 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8707 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8708 file.
8709 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8710 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8711 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8712 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8713 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8714 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8715 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8716 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8717 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8718 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8721 file.
8722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8723 New file.
8724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8725 file.
8726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8727 file.
8728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8729 file.
8730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8731 file.
8732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8733 file.
8734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8735 New file.
8736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8737 New file.
8738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8739 file.
8740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8741 New file.
8742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8743 file.
8744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8746 file.
8747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8748 New file.
8749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8750 file.
8751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8752 file.
8753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8754 file.
8755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8756 file.
8757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8758 file.
8759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8760 New file.
8761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8762 New file.
8763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8764 file.
8765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8766 New file.
8767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8768 file.
8769
41d73a1b
JM
87702012-04-28 Joseph Myers <joseph@codesourcery.com>
8771
8772 * conform/conformtest.pl: Fix typo in handling typed-constant from
8773 allow-header.
8774
28aeeda4
JM
87752012-04-27 Joseph Myers <joseph@codesourcery.com>
8776
adae8f5e
JM
8777 * README: Cut down references to pre-2.6 Linux kernels and
8778 Linuxthreads. Update lists of configurations in libc and ports
8779 and sort alphabetically. Say "or newer" with Linux kernel version
8780 requirements.
8781
28aeeda4
JM
8782 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8783
a462cb63
RA
87842012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8785
8786 [BZ #887]
8787 * math/libm-test.inc (logb_test_downward): New test to expose
8788 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8789 rounding mode.
8790
6ad3493e
JM
87912012-04-27 Joseph Myers <joseph@codesourcery.com>
8792
8793 [BZ #14027]
8794 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8795 to be done.
8796 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8797 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8798
2ce4f015
JM
87992012-04-26 Joseph Myers <joseph@codesourcery.com>
8800
5aeb141a
JM
8801 * sysdeps/unix/i386/brk.S: Remove file.
8802 * sysdeps/unix/i386/dl-brk.S: Likewise.
8803 * sysdeps/unix/i386/pipe.S: Likewise.
8804 * sysdeps/unix/i386/sigreturn.S: Likewise.
8805 * sysdeps/unix/i386/syscall.S: Likewise.
8806 * sysdeps/unix/i386/vfork.S: Likewise.
8807 * sysdeps/unix/i386/wait.S: Likewise.
8808
7143acae
JM
8809 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8810 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8811
2ce4f015
JM
8812 * configure.in (arm*-none*): Do not allow without
8813 --enable-hacker-mode.
8814 (netbsd*): Remove case setting base_os.
8815 (386bsd*): Likewise.
8816 (freebsd*): Likewise.
8817 (bsdi*): Likewise.
8818 (osf*): Likewise.
8819 (sunos*): Likewise.
8820 (ultrix*): Likewise.
8821 (newsos*): Likewise.
8822 (dynix*): Likewise.
8823 (*bsd*): Likewise.
8824 (sysv*): Likewise.
8825 (isc*): Likewise.
8826 (esix*): Likewise.
8827 (sco*): Likewise.
8828 (minix*): Likewise.
8829 (irix4*): Likewise.
8830 (irix6*): Likewise.
8831 (solaris[2-9]*): Likewise.
8832 (none): Likewise.
8833 * configure: Regenerated.
8834
0ac229c8
AZ
88352012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8836
8837 [BZ #11521]
8838 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8839 overflow or cancellation in calculating denominator.
8840 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8841 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8842 down expression to avoid unexpected rounding in newer GCCs.
8843 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8844
33f244f4
DM
88452012-04-26 David S. Miller <davem@davemloft.net>
8846
8847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8848 long-double compat symbols.
8849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8862
cfa1f3e8
DM
88632012-04-25 David S. Miller <davem@davemloft.net>
8864
8865 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8866 HWCAP_* values only after the memory barriers have been defined.
8867 (atomic_full_barrier): Define.
8868 (atomic_read_barrier): Define.
8869 (atomic_write_barrier): Define.
8870
6e236b92
SP
88712012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8872
8873 * shlib-versions: Add libgcc_s version information.
8874 * sysdeps/generic/libgcc_s.h: Remove.
8875 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8876 libgcc_s.h.
8877 * sysdeps/gnu/unwind-resume.c: Likewise.
8878 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8879
aab39a09
DM
88802012-04-25 David S. Miller <davem@davemloft.net>
8881
8882 * sysdeps/unix/sparc/brk.S: Delete.
8883 * sysdeps/unix/sparc/dl-brk.S: Delete.
8884 * sysdeps/unix/sparc/pipe.S: Delete.
8885 * sysdeps/unix/sparc/sysdep.S: Delete.
8886 * sysdeps/unix/sparc/sysdep.h: Delete.
8887 * sysdeps/unix/sparc/vfork.S: Delete.
8888 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8889 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8890 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8891 ret_ERRVAL, r0, r1, MOVE): Define.
8892 (JUMPTARGET): Remove.
8893 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8894 sysdeps/unix/sparc/sysdep.h
8895 (ENTRY, END): Remove.
8896 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8897
a3cc4f48
JM
88982012-04-25 Joseph Myers <joseph@codesourcery.com>
8899
2ed8cda2
JM
8900 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8901 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8902 -DIS_IN_build.
8903
35d76d59
JM
8904 * timezone/README: Update upstream location and email address for
8905 tzcode and tzdata.
8906 * timezone/zdump.c: Update from tzcode 2012b.
8907 * timezone/zic.c: Likewise.
8908
a3cc4f48
JM
8909 * configure.in (libc_cv_as_needed): Remove test.
8910 * configure: Regenerated.
8911 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8912 conditional definition.
8913 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8914 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8915 * config.make.in (have-as-needed): Remove variable.
8916
ceab42c3
SP
89172012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8918 Paul Pluzhnikov <ppluzhnikov@google.com>
8919
8920 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8921 strings correctly.
8922
3ce2865f
CLT
89232012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8924
8925 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8926 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8927 * sysdeps/sh/strlen.S: Likewise.
8928
f37e0d68
JM
89292012-04-24 Joseph Myers <joseph@codesourcery.com>
8930
ae186e9a
JM
8931 * sysdeps/unix/fork.S: Remove file.
8932 * sysdeps/unix/i386/fork.S: Likewise.
8933 * sysdeps/unix/sparc/fork.S: Likewise.
8934
b96914af
JM
8935 * sysdeps/unix/system.c: Remove file.
8936 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8937
f37e0d68
JM
8938 * sysdeps/unix/getegid.S: Remove file.
8939 * sysdeps/unix/geteuid.S: Likewise.
8940
87ef29ca
RM
89412012-04-24 Roland McGrath <roland@hack.frob.com>
8942
83bcd236
RM
8943 * scripts/check-localplt.awk: New file.
8944 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8945 of diff.
8946 * scripts/data/localplt-generic.data: Add a comment.
8947
87ef29ca
RM
8948 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8949 NODE when __dir_mkfile failed.
8950 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8951 Reported by Ludovic Courtès <ludo@gnu.org>.
8952
e5a6e567
AJ
89532012-04-24 Andreas Jaeger <aj@suse.de>
8954
8955 * Makerules (common-clean): Also remove gen-as-const-headers
8956 files.
8957
c1820385
JM
89582012-04-24 Joseph Myers <joseph@codesourcery.com>
8959
8960 * Makerules (native-compile): Do not change working directory for
8961 build. Use $(OUTPUT_OPTION) in command.
8962 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8963
94e02fc4
AZ
89642012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8965
8966 [BZ #13886]
8967 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8968 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8969 * math/libm-test.inc (floor_test): Add more tests.
8970 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8971
3a533ca3
JM
89722012-04-24 Joseph Myers <joseph@codesourcery.com>
8973
940ab4b3
JM
8974 * sysdeps/unix/getdents.c: Remove file.
8975 * sysdeps/unix/sysv/getdents.c: Likewise.
8976 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8977
90e037bd
JM
8978 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8979 sysdeps/unix/mman/syscalls.list.
8980 (mmap): Likewise.
8981 (mprotect): Likewise.
8982 (msync): Likewise.
8983 (munmap): Likewise.
8984 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8985 * sysdeps/unix/mman/syscalls.list: Remove.
8986 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8987
3a533ca3
JM
8988 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8989 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8990 * configure: Regenerated.
8991 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8992 $(libgcc_s_suffix).
8993 * config.make.in (libgcc_s_suffix): Remove variable.
8994
1ad743de
JM
89952012-04-23 Joseph Myers <joseph@codesourcery.com>
8996
4ad451e2
JM
8997 * sysdeps/unix/sysv/gethostname.c: Move to ...
8998 * sysdeps/posix/gethostname.c: ... here.
8999
5e37ce39
JM
9000 * sysdeps/unix/execve.S: Remove file.
9001
1ad743de
JM
9002 * sysdeps/unix/_exit.S: Remove file.
9003
4e681b5b
AJ
90042012-04-23 Andreas Jaeger <aj@suse.de>
9005
9006 [BZ #13739]
9007 * manual/Makefile: Remove make dist support, there's no
9008 need for a stand-alone documentation tar ball.
9009 (TEXI2DVI): Define always, it's not in Makeconfig.
9010 (dist): Removed.
9011 (tar-it): Removed.
9012 (edition): Removed.
9013 (glibc-doc-$(edition).tar): Removed
9014 (%.Z): Removed.
9015 (%.gz): Removed.
9016 (%.uu): Removed.
9017 (ETAGS): Remove, it's in Makeconfig.
9018 (move-if-change): Remove, it's in Makeconfig.
9019
c0baea34
PE
90202013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9021
9022 [BZ #13970]
9023 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9024 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9025 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9026 (strtod_l, strtof_l, strtold_l): Remove __wur.
9027 It is not necessarily an error to ignore strtol's return value.
9028 One can reliably look at the stored endptr to decide whether
9029 the number had valid syntax.
9030
7c0616fa
AJ
90312012-04-21 Andreas Jaeger <aj@suse.de>
9032
803cb6b7 9033 [BZ #13739]
7c0616fa
AJ
9034 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9035
b0fe253f
JM
90362012-04-21 Joseph Myers <joseph@codesourcery.com>
9037
9038 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9039 * sysdeps/unix/sysv/Versions: Remove file.
9040
8280f22d
MT
90412012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9042
9043 [BZ #13927]
9044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9045
75ce411f 90462012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
9047
9048 [BZ #7064]
9049 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9050 version from __vm86.
9051
097d59fa
JM
90522012-04-20 Joseph Myers <joseph@codesourcery.com>
9053
a90f3bcb
JM
9054 * sysdeps/unix/common/lxstat.c: Remove file.
9055 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9056
edc7ea78
JM
9057 * sysdeps/unix/sysv/Makefile: Remove file.
9058
cb78c221
JM
9059 * sysdeps/unix/sysv/direct.h: Remove file.
9060
efa6a45f
JM
9061 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9062 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9063 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9064 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9065 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9066 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9067 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9068
9c9f2d0c
JM
9069 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9070
4541c83b
JM
9071 * sysdeps/unix/xmknod.c: Remove file.
9072 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9073
f5d153a0
JM
9074 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9075
aa746595
JM
9076 * sysdeps/unix/sysv/i386/time.S: Remove file.
9077
cce5905e
JM
9078 * sysdeps/unix/fxstat.c: Remove file.
9079 * sysdeps/unix/xstat.c: Likewise.
9080 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9081
37fa3841
JM
9082 * sysdeps/unix/sysv/sigaction.c: Remove file.
9083
ff1962a3
JM
9084 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9085 (sysdep_headers): Remove variable.
9086 [termio.h not in sysdep_headers] (generated): Likewise.
9087 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9088 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9089 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9090 * sysdeps/unix/sysv/tcflow.c: Likewise.
9091 * sysdeps/unix/sysv/tcflush.c: Likewise.
9092 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9093 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9094 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9095 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9096 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9097
e7740d31
JM
9098 * sysdeps/unix/siglist.c: Remove file.
9099
ee06f18b
JM
9100 * sysdeps/unix/getppid.S: Remove file.
9101
097d59fa
JM
9102 * sysdeps/unix/mkdir.c: Remove file.
9103 * sysdeps/unix/rmdir.c: Likewise.
9104
ff3d51ec
AS
91052012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9106
9107 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9108 ERR_MAX value.
9109 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9110 errlist-compat value.
9111
50f81fd7
DM
91122012-04-18 David S. Miller <davem@davemloft.net>
9113
9114 * sysdeps/generic/memcopy.h (reg_char): Delete.
9115 * debug/strcat_chk.c: Use char, not reg_char.
9116 * debug/strcpy_chk.c: Likewise.
9117 * debug/strncat_chk.c: Likewise.
9118 * debug/strncpy_chk.c: Likewise.
9119 * string/memchr.c: Likewise.
9120 * string/memrchr.c: Likewise.
9121 * string/rawmemchr.c: Likewise.
9122 * string/strcat.c: Likewise.
9123 * string/strchr.c: Likewise.
9124 * string/strchrnul.c: Likewise.
9125 * string/strcmp.c: Likewise.
9126 * string/strcpy.c: Likewise.
9127 * string/strncat.c: Likewise.
9128 * string/strncmp.c: Likewise.
9129 * string/strncpy.c: Likewise.
9130
8ff41c46
WS
91312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9132
9133 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9134 __builtin_memcopy is called when src and dest ranges are known to not
9135 overlap.
9136
6b652f46
WS
91372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9138
9139 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9140 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9141 fwd_align_merge macro call.
9142 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9143 bwd_align_merge macro call.
9144 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9145
b282631e
WS
91462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9147
9148 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9149 bwd_align_merge macros.
9150 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9151 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9152 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9153
95aa737c
DM
91542012-04-18 David S. Miller <davem@davemloft.net>
9155
9156 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9157
7a99a614
AJ
91582012-04-18 Andreas Jaeger <aj@suse.de>
9159
9160 [BZ# 6794]
9161 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9162 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9163 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9164
9165 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9166 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9167 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9168
9169 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9170 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9171 Adjust for changed ldbl-128 files.
9172
9173 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9174 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9175 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9176
e5270c23
DM
91772012-04-17 David S. Miller <davem@davemloft.net>
9178
9179 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9180
fb5e92c9
AS
91812012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9182
9183 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9184 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9185 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9186 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9187 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9188 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9189
76da7265
AZ
91902012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9191
9192 [BZ #6794]
9193 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9194 * math/libm-test.inc: Add ilogb errno and exception tests.
9195 * math/w_ilogb.c: New file: ilogb wrapper.
9196 * math/w_ilogbf.c: New file: ilogbf wrapper.
9197 * math/w_ilogbl.c: New file: ilogbl wrapper.
9198 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9199 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9200 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9201 exception being thrown with 0.0 as argument.
9202 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9203 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9204 exception being thrown with 0.0 as argument.
9205 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9206 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9207 exception being thrown with 0.0 as argument.
9208 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9209 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9210 exception being thrown with 0.0 as argument.
9211 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9212 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9213 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9214 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9215 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9216 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9217 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9218 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9219 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9220
0396e69d
PB
92212012-04-17 Petr Baudis <pasky@ucw.cz>
9222
9223 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9224 with altivec.
9225
750b5926
MP
92262012-04-16 Marek Polacek <polacek@redhat.com>
9227
9228 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9229
751728a1
MP
92302012-04-16 Marek Polacek <polacek@redhat.com>
9231
9232 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9233 operands of fdivp instruction.
9234
34a27407
L
92352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9236
9237 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9238 * elf/tst-auditmod3b.c: Likewise.
9239 * elf/tst-auditmod4b.c: Likewise.
9240 * elf/tst-auditmod5b.c: Likewise.
9241 * elf/tst-auditmod6b.c: Likewise.
9242 * elf/tst-auditmod6c.c: Likewise.
9243 * elf/tst-auditmod7b.c: Likewise.
9244 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9245 * sysdeps/x86_64/preconfigure.in: Likewise.
9246 * sysdeps/x86_64/preconfigure: Regenerated.
9247
7e73e17d
L
92482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9249
9250 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9251 __ILP32__.
9252
c7a6ab72
AB
92532012-04-13 Antoine Balestrat <merkil33@gmail.com>
9254
9255 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9256 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9257
a9e8e0e0
CL
92582012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9259
9260 [BZ #13973]
9261 * locale/iso-639.def: Fix gl language name. Spotted by
9262 Yaron Shahrabani.
9263
ec98af7d
RM
92642012-04-12 Roland McGrath <roland@hack.frob.com>
9265
9266 [BZ #2074]
9267 * libio/libio.h (__io_write_fn): Update comment.
9268
247c3ede
PB
92692012-04-12 Petr Baudis <pasky@ucw.cz>
9270
9271 [BZ #2074]
9272 * stdio.texi (Hook Functions): The user provided writer function
9273 is not allowed to return -1.
9274
55939d6d
DM
92752012-04-11 David S. Miller <davem@davemloft.net>
9276
9277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9278
90020f5a
MF
92792012-04-11 Mike Frysinger <vapier@gentoo.org>
9280
9281 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9282 Add a leading slash to rtkaio.
9283
288f9098
JM
92842012-04-11 Jim Meyering <meyering@redhat.com>
9285
90020f5a
MF
9286 [BZ #11959]
9287 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9288 It is not necessarily an error to ignore fwrite's return
9289 value. One can reliably use ferror to test for errors after
9290 the fact.
288f9098 9291
4be2b570
L
92922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9293
9294 * bits/types.h (__snseconds_t): New type.
9295 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9296
9297 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9298 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9299 (__SNSECONDS_T_TYPE): Likewise.
9300 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9301 (__SNSECONDS_T_TYPE): Likewise.
9302 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9303 (__SNSECONDS_T_TYPE): Likewise.
9304
288f9098 93052012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9306
9307 [BZ #2636]
9308 * manual/time.texi (Processor Time): Return type of times is
9309 elapsed real time since an arbitrary point in the past.
9310 (CPU Time): Move CLK_TCK from here...
9311 (Processor Time): ...to here. Correct description.
9312 * manual/conf.texi (Constants for Sysconf): Correct description of
9313 _SC_CLK_TCK.
9314
d7dd4413
DM
93152012-04-10 David S. Miller <davem@davemloft.net>
9316
9317 [BZ #13967]
9318 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9319 where the is a gap between DT_REL(A) and DT_JMPREL.
9320
b46068fc
L
93212012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9322
9323 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9324 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9325 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9326
73d65cc3
SP
93272012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9328
9329 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9330 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9331 (dl_main): Handle --inhibit-cache.
9332 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9333 _dl_inhibit_cache.
9334 * elf/dl-load.c (_dl_map_object): Use it.
9335 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9336
bcc8d661
JM
93372012-04-09 Joseph Myers <joseph@codesourcery.com>
9338
8f9a2fae
JM
9339 [BZ #13872]
9340 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9341 (__ieee754_powl): Saturate large exponents rather than testing for
9342 overflow of y*log2(x).
9343 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9344 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9345 exceptions.
9346
bcc8d661
JM
9347 [BZ #11521]
9348 * math/s_ctan.c: Include <float.h>.
9349 (__ctan): Avoid internal overflow or cancellation in calculating
9350 denominator.
9351 * math/s_ctanf.c: Likewise.
9352 * math/s_ctanl.c: Likewise.
9353 * math/s_ctanh.c: Likewise.
9354 * math/s_ctanhf.c: Likewise.
9355 * math/s_ctanhl.c: Likewise.
9356 * math/libm-test.inc (ctan_test): Add more tests.
9357 (ctanh_test): Likewise.
9358 * sysdeps/i386/fpu/libm-test-ulps: Update.
9359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9360
823fbbb4
AJ
93612012-04-09 Andreas Jaeger <aj@suse.de>
9362
03879793
AJ
9363 [BZ #6894]
9364 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9365 is an optional BSD extension.
9366
823fbbb4
AJ
9367 [BZ #10254]
9368 * manual/stdio.texi (Opening Streams): Document additional fopen
9369 parameters.
9370
8de131cb
RM
93712012-04-09 Roland McGrath <roland@hack.frob.com>
9372
9373 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9374 %eax without telling the compiler.
9375
c0ed9d7d
CD
93762012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9377
9378 [BZ # 13963]
9379 * manual/install.texi: Use sourceware.org.
9380
c483f6b4
JM
93812012-04-09 Joseph Myers <joseph@codesourcery.com>
9382
d7dd9453
JM
9383 [BZ #13873]
9384 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9385 (__ieee754_pow): Generate overflow and underflow using huge*huge
9386 and tiny*tiny rather than just returning constant infinity or zero
9387 for large exponents.
9388 * math/libm-test.inc (pow_test): Require overflow exceptions for
9389 applicable cases of large exponents.
9390
c483f6b4
JM
9391 [BZ #706]
9392 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9393 (__ieee754_pow): Use iterative multiplication algorithm only for
9394 integer exponents with absolute value below 1024. Check for odd
9395 integer exponents when using algorithm for real exponents.
9396 * math/libm-test.inc (pow_test): Add more tests.
9397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9398
d2de7579
JM
93992012-04-08 Joseph Myers <joseph@codesourcery.com>
9400
9401 [BZ #13705]
9402 * math/libm-test.inc (exp_test): Do not allow overflow exception
9403 on underflow test.
9404
f77f1232
AJ
94052012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9406
9407 [BZ #13705]
9408 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9409 instead of __kernel_standard_f.
9410
3884932b
MF
94112012-04-08 Mike Frysinger <vapier@gentoo.org>
9412
9413 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9414 * sysdeps/x86_64/memset_chk.S: Likewise.
9415
54472e9c
AJ
94162012-04-08 Andreas Jaeger <aj@suse.de>
9417
6ab0fbfc
AJ
9418 [BZ #10153]
9419 * manual/startup.texi (Environment Access): Describe return value
9420 for putenv and setenv.
9421
61efba8c
AJ
9422 [BZ #6895]
9423 * manual/filesys.texi (Directory Entries): Add description for
9424 DT_LNK.
9425
95c3f29a
AJ
9426 [BZ #6890]
9427 * manual/filesys.texi (Directory Entries): Clarify that it's file
9428 system not operating system in the description of DT_UNKNOWN.
9429
54472e9c
AJ
9430 [BZ #6578]
9431 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9432
624254b1
SC
94332012-04-08 Stephen Compall <s11@member.fsf.org>
9434
9435 [BZ #6649]
9436 * manual/llio.texi (Opening and Closing Files): Add cross
9437 reference to explain mode argument.
9438
1e4920e0
MF
94392012-04-07 Mike Frysinger <vapier@gentoo.org>
9440
9441 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9442 * sysdeps/x86_64/memset_chk.S: Likewise.
9443
5ed848f3
DM
94442012-04-07 David S. Miller <davem@davemloft.net>
9445
9446 * elf/elf.h (R_SPARC_WDISP10): Define.
9447 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9448 R_SPARC_SIZE32.
9449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9450 R_SPARC_SIZE64 and R_SPARC_H34.
9451
96154cd8
CD
94522012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9453
9454 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9455 conditions and remove no longer applicable assertion.
9456
9904dc47
L
94572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9458
9459 * bits/byteswap.h: Include <features.h>.
9460 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9461 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9462
f8887d0a
L
94632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9464
9465 * bits/byteswap.h (__bswap_16): Removed.
9466 Include <bits/byteswap-16.h> to get __bswap_16.
9467 * sysdeps/i386/bits/byteswap.h: Likewise.
9468 * sysdeps/s390/bits/byteswap.h: Likewise.
9469 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9470 * bits/byteswap-16.h: New file.
9471 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9472 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9473 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9474 * string/Makefile (headers): Add bits/byteswap-16.h.
9475
62470f60
PP
94762012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9477
9478 [BZ #13895]
9479 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9480 extra indirection.
9481 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9482 * nss/tst-nss-static.c: New.
9483
4dad7bab
RM
94842012-04-06 Robert Millan <rmh@gnu.org>
9485
9486 [BZ #6486]
9487 * manual/llio.texi (File Position Primitive): lseek
9488 refers to WHENCE when it really means OFFSET.
9489
e9142a17
AJ
94902012-04-06 Andreas Jaeger <aj@suse.de>
9491
2c040eff
AJ
9492 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9493 strncmp declarations.
9494
e9142a17
AJ
9495 * abilist/libc.abilist: Add __poll and __ppoll.
9496
ff9f1c5f
DM
94972012-04-05 David S. Miller <davem@davemloft.net>
9498
dcd2ae90
DM
9499 * scripts/check-local-headers.sh: Accept a host triplet in the
9500 path matched by the exclude regexp.
9501
993eb054
DM
9502 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9503 definition.
9504 * sysdeps/powerpc/powerpc32/dl-machine.h
9505 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9506 * sysdeps/s390/s390-32/dl-machine.h
9507 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9508 * sysdeps/sparc/sparc32/dl-machine.h
9509 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9510 * sysdeps/sparc/sparc64/dl-machine.h
9511 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9512
ff9f1c5f
DM
9513 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9514 lazy binding.
48e2e132 9515 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9516 undefined symbol errors.
9517
48e2e132 9518 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9519 DT_NEEDED entries.
9520
e80d6f94
MM
95212012-04-05 Michael Matz <matz@suse.de>
9522
9523 [BZ #13592]
9524 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9525
349fa79f
AJ
95262012-04-05 Andreas Jaeger <aj@suse.de>
9527
9528 [BZ #13908]
9529 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9530 comment.
9531
f402708f
KK
95322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9533
9534 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9535 which ROUND is no valid rounding mode.
9536
2ecccfc9
KK
95372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9538
9539 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9540 read again.
9541 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9542
8a53f50f
KK
95432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9544
9545 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9546 an exception using FPU order intentionally.
9547
95482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9549
9550 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9551 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9552 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9553 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9554
d653abb7
SJ
95552012-04-05 Simon Josefsson <simon@josefsson.org>
9556
9557 [BZ #12340]
9558 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9559 EINVAL when BUFLEN is too smal.
9560
c3b1bf7d
TS
95612012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9562
9563 [BZ #13553]
9564 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9565 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9566
b1aa60f3
AJ
95672012-04-03 Andreas Jaeger <aj@suse.de>
9568
c3b1bf7d 9569 [BZ #13938]
67f60a26
AJ
9570 * manual/setjmp.texi (System V contexts): Fix sentence.
9571
b1aa60f3
AJ
9572 [BZ #13926]
9573 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9574 New macro for this case.
9575 [!__GNUC__] (__bswap_64): New inline function for this case.
9576 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9577 * bits/byteswap.h: Likewise.
9578 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9579 ull, guard with __GLIBC_HAVE_LONG_LONG.
9580
9581 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9582 __GLIBC_HAVE_LONG_LONG.
9583
9584 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9585 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9586
39c59c35
TMQMF
95872012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9588
9589 [BZ #13691]
9590 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9591 inptr and inend, rather than using last_ch.
9592
135ffda8
DM
95932012-04-02 David S. Miller <davem@davemloft.net>
9594
9595 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9596 * stdio-common/printf-parse.h (read_int): Change return type to
9597 'int', return -1 on INT_MAX overflow.
9598 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9599 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9600 overflows INT_MAX. Check for overflow of in-format-string precision
9601 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9602 SIZE_MAX not INT_MAX for integer overflow test.
9603 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9604 skip the construct in the format string but do not record anything.
9605 * stdio-common/bug22.c: Adjust to test both width/prevision
9606 INT_MAX overflow as well as total length INT_MAX overflow. Check
9607 explicitly for proper errno values.
9608
228c019e
TS
96092012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9610
302cadd3
TS
9611 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9612 CHAR_MAX.
9613 * string/test-strcmp.c [! WIDE]: Likewise.
9614 * time/tst-mktime2.c: Likewise for INT_MAX.
9615 * string/test-string.h: #include <sys/param.h> for MIN.
9616
228c019e
TS
9617 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9618 * sysdeps/i386/init-first.c (init): Likewise.
9619 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9620 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9621 * sysdeps/sh/init-first.c (init): Likewise.
9622
cfa633f5
UD
96232012-04-01 Ulrich Drepper <drepper@gmail.com>
9624
9625 * po/ru.po: Update from translation team.
d1635ef8 9626 * po/vi.po: Likewise.
cfa633f5 9627
6cd0a5ea
SP
96282012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9629
9630 * resolv/nss_dns/dns-host.c: Merge copyright years.
9631
4b43400f
LD
96322012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9633
9634 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9635 Optimize memcpy with prefetch if
9636 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9637 src, dst pointers have unequal 16 byte alignments.
9638
48c41d04
SP
96392012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9640
9641 [BZ #13928]
9642 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9643 from a CNAME entry and return the minimum ttl for the query.
9644 (gaih_getanswer_slice): Likewise.
9645
b8dc394d
JL
96462012-03-30 Jeff Law <law@redhat.com>
9647
9648 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9649 due to long keys.
9650 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9651 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9652
2f5a5ed0
JL
9653 * resolv/nss_dns/dns-host.c: Update copyright year.
9654
1d39e359
UD
96552012-03-30 Ulrich Drepper <drepper@gmail.com>
9656
c030f70c 9657 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9658 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9659
1d39e359
UD
9660 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9661 comments for sendmmsg.
9662
96632012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9664
9665 [BZ #13691]
9666 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9667 with only 1 character between 0x0041 and 0x01b0.
9668 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9669 * wcsmbs/tst-mbsnrtowcs.c: New file.
9670
20fde227
DM
96712012-03-29 David S. Miller <davem@davemloft.net>
9672
9673 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9674 small copies by hand.
9675
984a4237
JL
96762012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9677
9678 [BZ #13761]
9679 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9680 _nss_compat_initgroups_dyn): Fall back to malloc/free
9681 for large group memberships.
9682
18c9d62b
DM
96832012-03-28 David S. Miller <davem@davemloft.net>
9684
88d85d4f
DM
9685 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9686 that branches into memcpy.
9687 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9688 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9689 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9690 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9692 bits.
9693 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9694 implementation too.
9695 * sysdeps/sparc/mempcpy.S: New file.
9696
e5aa83e1
DM
9697 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9698 the IFUNC routine in the libc case.
9699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9700
88570753
DM
9701 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9702 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9703 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9704 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9705 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9706 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9707 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9708 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9709
249d7567
DM
9710 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9711 loop to 256 bytes instead of 64 bytes and fix test signedness.
9712
18c9d62b
DM
9713 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9714 * sysdeps/sparc/sparc32/Makefile: rather than here...
9715 * sysdeps/sparc/sparc64/Makefile: and here.
9716
05f3d1f6
UD
97172012-03-28 Ulrich Drepper <drepper@gmail.com>
9718
9719 * malloc/mallocbug.c: Avoid warnings about unused variables.
9720
86ae07a8
JL
97212012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9722
9723 [BZ #13760]
9724 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9725 in the right place. Discard and retry query if response is
9726 larger than input buffer size.
9727
41bf21a1
JM
97282012-03-28 Joseph Myers <joseph@codesourcery.com>
9729
d6270972
JM
9730 [BZ #369]
9731 [BZ #2678]
9732 [BZ #3866]
9733 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9734 x for large integer exponent.
9735 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9736 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9737 sign of result as needed afterwards.
9738 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9739 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9740 result for underflowing pow the same as for overflow.
9741 (__kernel_standard_l): Handle powl overflow and underflow here
9742 rather than calling __kernel_standard.
9743 * math/libm-test.inc (pow_test): Add more tests.
9744
414fca03 9745 [BZ #3868]
41bf21a1
JM
9746 [BZ #13879]
9747 [BZ #13910]
9748 [BZ #13911]
9749 [BZ #13912]
9750 [BZ #13913]
9751 [BZ #13915]
9752 [BZ #13916]
9753 [BZ #13917]
9754 [BZ #13918]
9755 [BZ #13919]
9756 [BZ #13920]
9757 [BZ #13921]
9758 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9759 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9760 (__kernel_standard_l): New function.
9761 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9762 __kernel_standard.
9763 * math/w_acosl.c (__acosl): Likewise.
9764 * math/w_asinl.c (__asinl): Likewise.
9765 * math/w_atan2l.c (__atan2l): Likewise.
9766 * math/w_atanhl.c (__atanhl): Likewise.
9767 * math/w_coshl.c (__coshl): Likewise.
9768 * math/w_exp10l.c (__exp10l): Likewise.
9769 * math/w_exp2l.c (__exp2l): Likewise.
9770 * math/w_fmodl.c (__fmodl): Likewise.
9771 * math/w_hypotl.c (__hypotl): Likewise.
9772 * math/w_j0l.c (__j0l, __y0l): Likewise.
9773 * math/w_j1l.c (__j1l, __y1l): Likewise.
9774 * math/w_jnl.c (__jnl, __ynl): Likewise.
9775 * math/w_lgammal.c (__lgammal): Likewise.
9776 * math/w_log10l.c (__log10l): Likewise.
9777 * math/w_log2l.c (__log2l): Likewise.
9778 * math/w_logl.c (__logl): Likewise.
9779 * math/w_powl.c (__powl): Likewise.
9780 * math/w_remainderl.c (__remainderl): Likewise.
9781 * math/w_scalbl.c (sysv_scalbl): Likewise.
9782 * math/w_sinhl.c (__sinhl): Likewise.
9783 * math/w_sqrtl.c (__sqrtl): Likewise.
9784 * math/w_tgammal.c (__tgammal): Likewise.
9785 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9786 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9787 * math/libm-test.inc (acos_test): Add more tests.
9788 (acosh_test): Likewise.
9789 (asin_test): Likewise.
9790 (atanh_test): Likewise.
9791 (exp_test): Likewise.
9792 (exp10_test): Likewise.
9793 (exp2_test): Likewise.
9794 (expm1_test): Likewise.
9795 (lgamma_test): Likewise.
9796 (log_test): Likewise.
9797 (log10_test): Likewise.
9798 (log1p_test): Likewise.
9799 (log2_test): Likewise.
9800 (pow_test): Do not allow some spurious overflow exceptions.
9801 (sqrt_test): Add more tests.
9802 (tgamma_test): Likewise.
9803 (y0_test): Likewise.
9804 (y1_test): Likewise.
9805 (yn_test): Likewise.
9806
dd62fda6
AB
98072012-03-27 Anton Blanchard <anton@samba.org>
9808
9809 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9810 MAP_HUGETLB.
9811 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9812 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9813 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9814
1e3cdfda
AJ
98152012-03-27 David S. Miller <davem@davemloft.net>
9816
b855ab85
DM
9817 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9818
1e3cdfda
AJ
9819 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9820 have-as-vis3 check.
9821
98222012-03-27 Andreas Jaeger <aj@suse.de>
9823
9824 * sysdeps/x86_64/elf/configure.in: Moved to ...
9825 * sysdeps/x86_64/configure.in: ... here.
9826 * sysdeps/x86_64/elf/start.S: Moved to ...
9827 * sysdeps/x86_64/start.S: ... here.
9828 * sysdeps/x86_64/elf/configure: Delete.
9829
9830 * sysdeps/x86_64/configure.in: Merge contents from
9831 sysdeps/i386/configure.in (without i686 check).
9832
9833 * sysdeps/i386/elf/Versions: Merge into ...
9834 * sysdeps/i386/Versions: ... this.
9835 * sysdeps/i386/elf/Versions: Delete file.
9836 * sysdeps/i386/elf/start.S: Moved to ...
9837 * sysdeps/i386/start.S: ...here.
9838 * sysdeps/i386/elf/configure.in: Merge into...
9839 * sysdeps/i386/configure.in: ...here.
9840 * sysdeps/i386/elf/configure.in: Delete file.
9841 * sysdeps/i386/elf/configure: Delete file.
9842
9843 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9844 * debug/backtracesyms.c: ... here.
9845 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9846 * debug/backtracesymsfd.c: ... here.
9847 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9848 * sysdeps/generic/ifunc-sel.h: ... here.
9849
9850 * sysdeps/unix/i386/start.c: Delete file.
9851 * sysdeps/unix/sparc/start.c: Delete file.
9852 * sysdeps/unix/start.c: Delete file.
9853
9854 * sysdeps/sh/elf/configure.in: Moved to ...
9855 * sysdeps/sh/configure.in: ... here.
9856 * sysdeps/sh/elf/start.S: Moved to ...
9857 * sysdeps/sh/start.S: ... here.
9858 * sysdeps/sh/elf/configure: Delete file.
9859
9860 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9861 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9862 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9863 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9864 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9865 * sysdeps/powerpc/powerpc64/start.S: here.
9866 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9867 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9868 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9869 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9870 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9871
9872 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9873 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9874 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9875 * sysdeps/powerpc/powerpc32/start.S: ... here.
9876 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9877 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9878 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9879
9880 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9881 * sysdeps/powerpc/ifunc-sel.h: ... here.
9882 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9883 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9884
9885 * sysdeps/sparc/elf/configure.in: Moved to ...
9886 * sysdeps/sparc/configure.in: ... here.
9887 * sysdeps/sparc/elf/configure: Delete file.
9888 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9889 * sysdeps/sparc/sparc32/start.S: ... here.
9890 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9891 * sysdeps/sparc/sparc64/start.S: ... here.
9892 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9893 * sysdeps/sparc/sparc32/Makefile: ... this.
9894 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9895 * sysdeps/sparc/sparc64/Makefile: ... this.
9896
9897 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9898 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9899 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9900 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9901 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9902 * sysdeps/s390/s390-32/setjmp.S: ... here.
9903 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9904 * sysdeps/s390/s390-32/configure.in: ... here.
9905 * sysdeps/s390/s390-32/elf/configure: Delete file.
9906 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9907 * sysdeps/s390/s390-32/start.S: ... here.
9908
9909 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9910 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9911 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9912 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9913 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9914 * sysdeps/s390/s390-64/setjmp.S: ... here.
9915 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9916 * sysdeps/s390/s390-64/configure.in: ... here
9917 * sysdeps/s390/s390-64/elf/configure: Delete file.
9918 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9919 * sysdeps/s390/s390-64/start.S: ... here.
9920 * sysdeps/s390/s390-64/elf/configure: Delete.
9921
9922 * configure.in: Remove support for elf directories in sysdeps.
9923
9924 * configure: Regenerated.
9925 * sysdeps/i386/configure: Regenerated.
9926 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9927 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9928 * sysdeps/s390/s390-32/configure: Regenerated.
9929 * sysdeps/s390/s390-64/configure: Regenerated.
9930 * sysdeps/sh/configure: Regenerated.
9931 * sysdeps/sparc/configure: Regenerated.
9932 * sysdeps/x86_64/configure: Regenerated.
9933
a3f61311
AS
99342012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9935
c876e002
AS
9936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9937
a3f61311
AS
9938 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9939 denormal result into account.
9940
ac4c54f0
RM
99412012-03-25 Roland McGrath <roland@hack.frob.com>
9942
9943 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9944 Reported by Allan McRae <allan@archlinux.org>.
9945
6a9b9c02
JL
99462012-03-23 Jeff Law <law@redhat.com>
9947
9948 * nss/getnssent.c (__nss_getent): Fix typo.
9949
4c42a0c1
DM
99502012-03-23 David S. Miller <davem@davemloft.net>
9951
9952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9953
1532c7ac
L
99542012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9955
9956 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9957 to pad to uint64_t for each field.
9958 (dl_tls_index): Replace unsigned long with uint64_t.
9959
3ff42526
PP
99602012-03-23 Daniel Jacobowitz <dmj@google.com>
9961 Paul Pluzhnikov <ppluzhnikov@google.com>
9962
9963 [BZ #6528]
9964 * grp/Makefile (otherlibs): Don't set it.
9965 * inet/Makefile (otherlibs): Likewise.
9966 * login/Makefile (otherlibs): Likewise.
9967 * nscd/Makefile (otherlibs): Likewise.
9968 * posix/Makefile (otherlibs): Likewise.
9969 * pwd/Makefile (otherlibs): Likewise.
9970 * rt/Makefile (otherlibs): Likewise.
9971 * sunrpc/Makefile (otherlibs): Likewise.
9972 * nss/Makefile (otherlibs): Likewise.
9973 Add libnss_files to routines and static-only-routines.
9974 ($(objpfx)getent): Remove rule.
9975 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9976 static-only-routines.
9977
7c69cd14
JM
99782012-03-22 Joseph Myers <joseph@codesourcery.com>
9979
9980 [BZ #13892]
9981 * math/s_cexp.c: Include <float.h>.
9982 (__cexp): Handle exp result overflowing not necessarily
9983 overflowing both real and imaginary parts of result.
9984 * math/s_cexpf.c: Likewise.
9985 * math/s_cexpl.c: Likewise.
9986 * math/libm-test.inc (cexp_test): Add more tests.
9987 * sysdeps/i386/fpu/libm-test-ulps: Update.
9988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9989
81b035fe
L
99902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9991
9992 * include/link.h (ELFW): New macro.
9993 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9994 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9995
1da7940c
L
99962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9997
9998 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9999 with uint64_t.
10000
b749dbb9
L
100012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10002
10003 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10004 declaration.
10005 (struct La_x32_retval): Likewise.
10006
2ff87f3f
L
100072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10008
10009 * sysdeps/x86_64/preconfigure.in: New file.
10010 * sysdeps/x86_64/preconfigure: New generated file.
10011
c0df8e69
JM
100122012-03-22 Joseph Myers <joseph@codesourcery.com>
10013
48e44791
JM
10014 [BZ #13824]
10015 * math/e_exp2l.c: Include <float.h>.
10016 (__ieee754_exp2l): Handle overflow and underflow cases
10017 separately. Only pass fractional part of argument to
10018 __ieee754_expl.
10019 * math/libm-test.inc (exp2_test): Add more tests.
10020
c0df8e69
JM
10021 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10022 negating x to take absolute value.
10023 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10024 Likewise.
10025 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10026 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10027 Likewise.
10028 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10029 computing low part if x was negated.
10030 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10031
c8e43ba7
L
100322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10033
10034 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10035 la_x32_gnu_pltexit.
10036 (pltexit): Cast int_retval to ptrdiff_t.
10037 * elf/tst-auditmod3b.c: Likewise.
10038 * elf/tst-auditmod4b.c: Likewise.
10039 * elf/tst-auditmod5b.c: Likewise.
10040 * elf/tst-auditmod6b.c: Likewise.
10041 * elf/tst-auditmod6c.c: Likewise.
10042 * elf/tst-auditmod7b.c: Likewise.
10043
10044 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10045 and x32_gnu_pltexit.
10046
10047 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10048 __ELF_NATIVE_CLASS.
10049 (La_x32_regs): New macro.
10050 (La_x32_retval): Likewise.
10051 (la_x32_gnu_pltenter): New function prototype.
10052 (la_x32_gnu_pltexit): Likewise.
10053
7998fa78
AS
100542012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10055
dcb33988
AS
10056 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10057 exponent.
10058
233fc563
AS
10059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10060
7998fa78
AS
10061 * configure.in (libc_cv_cc_nofma): Check for option to disable
10062 generation of FMA instructions.
10063 * configure: Regenerate.
10064 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10065 * sysdeps/ieee754/dbl-64/Makefile: New file.
10066 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10067 Remove brandred-fma4.
10068 (CFLAGS-brandred-fma4.c): Remove.
10069 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10070 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10071 define.
10072 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10073 define.
10074
8e95c99a
L
100752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10076
10077 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10078 LLONG_MAX != LONG_MAX.
10079 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10080 (_fitoa_word): Likewise.
10081 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10082 LLONG_MAX != LONG_MAX.
10083 * stdio-common/_itowa.h: Include <_itoa.h>.
10084 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10085 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10086 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10087 only if not defined.
10088 (_ITOA_WORD_TYPE): Likewise.
10089 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10090 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10091
6f4db457
DM
100922012-03-21 David S. Miller <davem@davemloft.net>
10093
10094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10095
7785fe5a
L
100962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10097
10098 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10099 of x86_64 when setting libc_cv_slibdir, libdir and
10100 libc_cv_localedir.
10101 * sysdeps/unix/sysv/linux/configure: Regenerated.
10102
4535cd55
JM
101032012-03-21 Joseph Myers <joseph@codesourcery.com>
10104
10105 * manual/lang.texi (Old Varargs): Remove section.
10106 (How Variadic): Update menu.
10107 (va_start): Do not mention varargs.h.
10108
17228132
TS
101092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10110 Joseph Myers <joseph@codesourcery.com>
10111
10112 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10113 link test.
10114 * configure: Regenerated.
10115
8149f976
TS
101162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10117
05f3d1f6
UD
10118 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10119 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10120 conformtest.pl
8149f976 10121
1a4ac776
JM
101222012-03-21 Joseph Myers <joseph@codesourcery.com>
10123
be22ce65
JM
10124 * NOTES: Remove.
10125 * Makefile (files-for-dist): Remove NOTES.
10126 (NOTES): Remove rule.
10127 * README: Don't refer to NOTES.
10128 * manual/creature.texi: Don't include macros.texi.
10129 * manual/intro.texi (creature.texi): Remove comment referring to
10130 NOTES.
10131
40b601fb
JM
10132 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10133 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10134 * configure: Regenerated.
10135 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10136 LIBC_TRY_CC_OPTION.
10137 (libc_cv_as_i686): Likewise.
10138 (libc_cv_cc_avx): Likewise.
10139 (libc_cv_cc_sse2avx): Likewise.
10140 (libc_cv_cc_fma4): Likewise.
10141 (libc_cv_cc_novzeroupper): Likewise.
10142 * sysdeps/i386/configure: Regenerated.
10143
1a4ac776
JM
10144 [BZ #13883]
10145 * sysdeps/i386/fpu/s_cexp.S: Remove.
10146 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10147 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10148 * math/libm-test.inc (cexp_test): Add more tests.
10149 * sysdeps/i386/fpu/libm-test-ulps: Update.
10150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10151
a458e7fe
AM
101522012-03-21 Allan McRae <allan@archlinux.org>
10153
10154 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10155
0cb7efc5
JM
101562012-03-21 Joseph Myers <joseph@codesourcery.com>
10157
10158 [BZ #13871]
10159 * math/w_exp2.c: Do not include <float.h>.
10160 (o_threshold, u_threshold): Remove.
10161 (__exp2): Calculate result before checking finiteness and calling
10162 __kernel_standard.
10163 * math/w_exp2f.c: Likewise.
10164 * math/w_exp2l.c: Likewise.
10165 * math/libm-test.inc (exp2_test): Require overflow exception for
10166 1e6 input.
2460d3aa
JM
10167
10168 [BZ #3866]
10169 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10170 range of signed 64-bit integers before using fistpll. Remove
10171 checks for whether integers fit in mantissa bits.
10172 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10173 the range of signed 32-bit integers before using fistpl. Remove
10174 checks for whether integers fit in mantissa bits.
10175 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10176 (__ieee754_powl): Test for y outside the range of signed 64-bit
10177 integers before using fistpll. Reduce 64-bit values to 63-bit
10178 ones as needed.
10179 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10180 divide-by-zero is raised for zero to large negative powers.
10181 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10182 (__ieee754_powl): Test for y outside the range of signed 64-bit
10183 integers before using fistpll. Reduce 64-bit values to 63-bit
10184 ones as needed.
10185 * math/libm-test.inc (pow_test): Add more tests.
10186
eb96ffb0
L
101872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10188
10189 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10190 <stdio-common/_itoa.h>.
10191 * debug/segfault.c: Likewise.
10192 * elf/dl-cache.c: Likewise.
10193 * elf/dl-minimal.c: Likewise.
10194 * elf/dl-misc.c: Likewise.
10195 * elf/dl-sysdep.c: Likewise.
10196 * elf/dl-version.c: Likewise.
10197 * elf/rtld.c: Likewise.
10198 * hurd/hurdsock.c: Likewise.
10199 * hurd/lookup-retry.c: Likewise.
10200 * malloc/malloc.c: Likewise.
10201 * malloc/mtrace.c: Likewise.
10202 * nscd/nscd_getgr_r.c: Likewise.
10203 * nscd/nscd_getpw_r.c: Likewise.
10204 * nscd/nscd_getserv_r.c: Likewise.
10205 * posix/getopt_init.c: Likewise.
10206 * posix/wordexp.c: Likewise.
10207 * stdio-common/_itoa.c: Likewise.
10208 * stdio-common/printf_fphex.c: Likewise.
10209 * stdio-common/vfprintf.c: Likewise.
10210 * string/_strerror.c: Likewise.
10211 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10212 * sysdeps/i386/i686/hp-timing.h: Likewise.
10213 * sysdeps/mach/_strerror.c: Likewise.
10214 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10215 * sysdeps/mach/hurd/sethostid.c: Likewise.
10216 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10217 * sysdeps/mach/xpg-strerror.c: Likewise.
10218 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10219 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10220 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10221 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10222 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10223 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10224 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10225 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10226 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10227 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10228 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10229 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10230 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10231 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10232 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10233 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10234 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10235 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10236 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10237 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10238 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10239
10240 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10241
10242 * stdio-common/_itoa.h: Moved to ...
10243 * sysdeps/generic/_itoa.h: Here.
10244
10245 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10246
10247 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10248 instead of "_itoa.h" and "_itowa.h".
10249 * stdio-common/vfprintf.: Likewise.
10250
d1af992d
L
102512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10252
10253 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10254 <bits/wordsize.h>.
10255 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10256 (__signbit): Likwise.
10257 (llrintf): Likwise.
10258 (llrint): Likwise.
10259
114883e0
L
102602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10261
10262 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10263 __WORDSIZE != 64.
10264
c135cc1b
JM
102652012-03-20 Joseph Myers <joseph@codesourcery.com>
10266
10267 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10268 OVERFLOW_EXCEPTION_OK.
10269 * math/libm-test.inc ("Philosophy"): Update comment about
10270 exception testing.
10271 (OVERFLOW_EXCEPTION): Define.
10272 (OVERFLOW_EXCEPTION_OK): Likewise.
10273 (INVALID_EXCEPTION_OK): Renumber.
10274 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10275 (IGNORE_ZERO_INF_SIGN): Likewise.
10276 (test_exceptions): Handle FE_OVERFLOW.
10277 (exp10_test): Expect overflow exceptions.
10278 (exp2_test): Likewise.
10279 (expm1_test): Likewise.
10280 (nextafter_test): Likewise.
10281 (pow_test): Likewise.
10282 (scalbn_test): Likewise.
10283 (scalbln_test): Likewise.
10284
95443d88
L
102852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10286
10287 * sysdeps/x86_64/bits/atomic.h
10288 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10289 64bit integer.
10290 (atomic_exchange_acq): Likewise.
10291 (__arch_exchange_and_add_body): Likewise.
10292 (__arch_add_body): Likewise.
10293 (atomic_add_negative): Likewise.
10294 (atomic_add_zero): Likewise.
10295
490df6c4
L
102962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10297
c2722551 10298 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10299 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10300
5e52b189
L
103012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10302
10303 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10304 Check __x86_64__ instead of __WORDSIZE.
10305
a9879d4c
L
103062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10307
10308 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10309
5df98260
DM
103102012-03-19 David S. Miller <davem@davemloft.net>
10311
e1497744
DM
10312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10313
5df98260
DM
10314 * sysdeps/sparc/fpu/fenv_private.h: New file.
10315 * sysdeps/sparc/fpu/math_private.h: Use it.
10316 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10317 Remove.
10318 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10319 (libc_feholdexcept_setroundl): Remove.
10320 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10321 Remove.
10322 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10323 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10324
b4c35121
L
103252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10326
10327 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10328 int64_t instead of long int.
10329 (INSERT_WORDS64): Likwise.
10330
56965fd7
L
103312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10332
10333 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10334 _Unwind_GetCFA return to _Unwind_Ptr first.
10335
83d1aec8
JM
103362012-03-19 Joseph Myers <joseph@codesourcery.com>
10337
1897ad44
JM
10338 [BZ #13629]
10339 * math/s_clog.c: Include <float.h>.
10340 (__clog): Scale large or subnormal inputs.
10341 * math/s_clogf.c: Likewise.
10342 * math/s_clogl.c: Likewise.
10343 * math/s_clog10.c: Include <float.h>.
10344 (M_LOG10_2): Define.
10345 (__clog10): Scale large or subnormal inputs.
10346 * math/s_clog10f.c: Likewise.
10347 * math/s_clog10l.c: Likewise.
10348 * math/libm-test.inc (clog_test): Add more tests.
10349 (clog10_test): Likewise.
10350 * sysdeps/i386/fpu/libm-test-ulps: Update.
10351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10352
7726d6a9
JM
10353 [BZ #11451]
10354 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10355 x and y.
10356 * math/libm-test.inc (atan2_test): Add another test.
10357
83d1aec8
JM
10358 * Makerules (common-objdir-compile): Remove.
10359 * sysdeps/unix/Makefile (config-generated): Do not add
10360 $(unix-generated) to variable.
10361 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10362 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10363 Remove rule.
10364 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10365 Likewise.
10366 [generic bits/local_lim.h] (before-compile): Do not append to
10367 variable.
10368 [generic bits/local_lim.h] (common-generated): Likewise.
10369 [generic sys/param.h] (before-compile): Do not append to variable.
10370 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10371 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10372 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10373 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10374 include.
10375 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10376 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10377 [generic sys/param.h] ($(addprefix
10378 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10379 [generic sys/param.h] (common-generated): Do not append to
10380 variable.
10381 [generic sys/param.h] (sysdep_headers): Likewise.
10382 [generic bits/errno.h] (before-compile): Do not append to
10383 variable.
10384 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10385 rule.
10386 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10387 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10388 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10389 [generic bits/errno.h] (common-generated): Do not append to
10390 variable.
10391 [generic bits/ioctls.h] (before-compile): Do not append to
10392 variable.
10393 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10394 rule.
10395 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10396 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10397 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10398 rule.
10399 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10400 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10401 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10402 [generic bits/ioctls.h] (common-generated): Do not append to
10403 variable.
10404 [generic sys/syscall.h] (syscall.h): Remove variable.
10405 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10406 rule.
10407 [generic sys/syscall.h] (before-compile): Do not append to
10408 variable.
10409 [generic sys/syscall.h] (common-generated): Likewise.
10410 * sysdeps/unix/errnos-tmpl.c: Remove file.
10411 * sysdeps/unix/errnos.awk: Likewise.
10412 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10413 * sysdeps/unix/ioctls.awk: Likewise.
10414 * sysdeps/unix/mk-local_lim.c: Likewise.
10415 * sysdeps/unix/snarf-ioctls: Likewise.
10416
4851a949
RH
104172012-03-19 Richard Henderson <rth@twiddle.net>
10418
bd37f2ee
RH
10419 * sysdeps/i386/fpu/fenv_private.h: New file.
10420 * sysdeps/i386/fpu/math_private.h: Use it.
10421 (math_opt_barrier, math_force_eval): Remove.
10422 (libc_feholdexcept_setround_53bit): Remove.
10423 (libc_feupdateenv_53bit): Remove.
10424 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10425 (math_opt_barrier, math_force_eval): Remove.
10426 (libc_feholdexcept): Remove.
10427 (libc_feholdexcept_setround): Remove.
10428 (libc_fetestexcept, libc_fesetenv): Remove.
10429 (libc_feupdateenv_test): Remove.
10430 (libc_feupdateenv, libc_feholdsetround): Remove.
10431 (libc_feresetround): Remove.
10432
d0adc922
RH
10433 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10434 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10435
0fe0f1f8
RH
10436 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10437 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10438 (libc_feupdateenv_testl): New.
10439 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10440 (libc_feupdateenv_testf): New.
10441 (libc_feupdateenv): Use libc_feupdateenv_test.
10442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10443 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10444
eb92c487
RH
10445 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10446 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10447 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10448 (libc_feresetround_noex): New.
10449 (libc_feresetround_noexf): New.
10450 (libc_feresetround_noexl): New.
10451 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10452 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10453 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10454 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10455 SET_RESTORE_ROUND.
10456 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10457 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10458 (__cos): Likewise.
10459 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10460 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10461 SET_RESTORE_ROUND_NOEX.
10462 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10463 SET_RESTORE_ROUND_NOEXF.
10464 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10465 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10466 (libc_feholdsetroundf): New.
10467 (libc_feresetround, libc_feresetroundf): New.
10468
7d2e8012
RH
10469 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10470 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10471 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10472
b4dabbb4
RH
10473 * sysdeps/generic/math_private.h: Include <fenv.h>.
10474 (default_libc_feholdexcept): New.
10475 (default_libc_feholdexcept_setround): New.
10476 (default_libc_fesetenv, default_libc_feupdateenv): New.
10477 (libc_feholdexcept): Only define if undefined.
10478 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10479 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10480 (libc_feholdexcept_setroundl): Likewise.
10481 (libc_feholdexcept_setround_53bit): Likewise.
10482 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10483 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10484 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10485 (libc_feupdateenv_53bit): Likewise.
10486 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10487 (libc_feholdexcept): Convert from macro to inline function.
10488 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10489 (libc_fesetenv, libc_feupdateenv): Likewise.
10490
4851a949
RH
10491 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10492 not previously defined.
10493 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10494 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10495 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10496 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10497 * sysdeps/ieee754/flt-32/math_private.h: New file.
10498 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10499 math_private.h below SET_FLOAT_WORD.
10500 (__isnan, __isinf_ns, __finite): Remove.
10501 (__isnanf, __isinf_nsf, __finitef): Remove.
10502
e79d442e
AS
105032012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10504
10505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10506
90b80344
DM
105072012-03-17 David S. Miller <davem@davemloft.net>
10508
10509 [BZ #6471]
10510 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10511 for 2.16.
10512
edc21804
DM
105132012-03-16 David S. Miller <davem@davemloft.net>
10514
77e927af
DM
10515 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10516 warnings.
10517
374976dd
DM
10518 [BZ #6471]
10519 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10520 properly.
10521 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10522 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10523 sysdep_routines when subdir is sysvipc.
10524 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10525 __getshmlba helper.
10526
edc21804
DM
10527 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10528
473c3ef3
L
105292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10530
10531 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10532 [__LP64__].
10533
eb0f39b6
L
105342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10535
10536 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10537 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10538 (__lround): Renamed to ...
10539 (__llround): This. Replace long int with long long int.
10540 Define lround functions as aliases of llround functions.
10541 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10542
6b6cd74b
L
105432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10544
10545 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10546 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10547 adresses to uintptr_t. Replace "long int" and "unsigned long
10548 int" with "greg_t" on va_arg.
10549
f1a77b01
L
105502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10551
10552 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10553 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10554
10555 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10556 Move e_machine check before EI_CLASS check. Handle x32
10557 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10558 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10559 SKIP_EM_IA_64 and include
10560 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10561
10562 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10563 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10564 (add_system_dir): New macro.
10565
10566 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10567 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10568
11b90b9f
JM
105692012-03-16 Joseph Myers <joseph@codesourcery.com>
10570
c36e1d23
JM
10571 [BZ #2551]
10572 [BZ #2552]
10573 [BZ #2553]
10574 [BZ #2554]
10575 [BZ #2562]
10576 [BZ #2563]
10577 [BZ #2565]
10578 [BZ #2566]
10579 [BZ #2576]
10580 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10581 (y0): Likewise.
10582 * math/w_j0f.c (j0f): Likewise.
10583 (y0f): Likewise.
10584 * math/w_j0l.c (__j0l): Likewise.
10585 (__y0l): Likewise.
10586 * math/w_j1.c (j1): Likewise.
10587 (y1): Likewise.
10588 * math/w_j1f.c (j1f): Likewise.
10589 (y1f): Likewise.
10590 * math/w_j1l.c (__j1l): Likewise.
10591 (__y1l): Likewise.
10592 * math/w_jn.c (jn): Likewise.
10593 (yn): Likewise.
10594 * math/w_jnf.c (jnf): Likewise.
10595 (ynf): Likewise.
10596 * math/w_jnl.c (__jnl): Likewise.
10597 (__ynl): Likewise.
10598 * math/libm-test.inc (j0_test): Add more tests.
10599 (j1_test): Likewise.
10600 (jn_test): Likewise. Add trailing semicolon to existing test.
10601 (y0_test): Likewise.
10602 (y1_test): Likewise.
10603 * sysdeps/i386/fpu/libm-test-ulps: Update.
10604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10605
11b90b9f
JM
10606 [BZ #13851]
10607 [BZ #13854]
10608 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10609 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10610 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10611 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10612 (__tanl): Set errno for infinite argument.
10613 * sysdeps/i386/fpu/mptan.c: Remove.
10614 * sysdeps/i386/fpu/s_tan.S: Likewise.
10615 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10616 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10617 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10618 * math/libm-test.inc (tan_test): Add more tests and enable more
10619 tests for double and long double.
10620 * sysdeps/i386/fpu/libm-test-ulps: Update.
10621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10622
6a1bd2a1
JK
106232012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10624
10625 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10626 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10627
10a803e0
RM
106282012-03-16 Roland McGrath <roland@hack.frob.com>
10629
10630 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10631 * configure.in: Use it for both main tree and add-ons.
10632 * configure: Regenerated.
10633
f196c7f7
L
106342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10635
10636 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10637
8848d99d
JM
106382012-03-16 Joseph Myers <joseph@codesourcery.com>
10639
96cbe7f4
JM
10640 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10641 in comment.
10642
8848d99d
JM
10643 [BZ #13851]
10644 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10645 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10646 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10647 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10648 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10649 infinite argument.
10650 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10651 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10652 != 0 for prec == 2.
10653 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10654 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10655 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10656 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10657 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10658 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10659 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10660 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10661 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10662 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10663 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10664 * math/libm-test.inc (cos_test): Add more tests and enable more
10665 tests for long double.
10666 (sin_test): Likewise.
10667 (sincos_test): Likewise.
10668 * sysdeps/i386/fpu/libm-test-ulps: Update.
10669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10670
dd7f4703
DM
106712012-03-16 David S. Miller <davem@davemloft.net>
10672
10673 * sysdeps/sparc/fpu/math_private.h: New file.
10674
006f1daa
DM
106752012-03-15 David S. Miller <davem@davemloft.net>
10676
c0c83bc8
DM
10677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10678 file.
e6a62e18 10679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10681 file.
e6a62e18
DM
10682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10688 sysdep routines.
10689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10690
88cb87d9
DM
10691 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10692 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10693
006f1daa 10694 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10696 sparc-ifunc.h
006f1daa 10697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10699 Likewise.
10700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10701 Likewise.
006f1daa
DM
10702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10706 Likewise.
006f1daa
DM
10707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10712 Likewise.
10713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10714 Likewise.
006f1daa
DM
10715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10719 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10721 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10722 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10735 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10737 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10738 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10739
11e0098e
AS
107402012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10741
10742 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10743 scaling.
10744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10745
e85b09d0
AJ
107462012-03-15 Andreas Jaeger <aj@suse.de>
10747
10748 [BZ #13852]
10749 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10750 ieee754/flt-32 implementation for sin, cos and sincos.
10751 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10752 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10753 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10754 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10755 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10756 ieee754/flt-32 implementation for tan.
10757
10758 * math/libm-test.inc (cos_test): Enable some large input tests for
10759 float as well
10760 (sin_test): Likewise.
10761 (sincos_test): Likewise.
10762 (tan_test): Add tests for large input.
10763
10764 * sysdeps/i386/fpu/libm-test-ulps: Update.
10765
81c64153
AJ
107662012-03-15 Andreas Jaeger <aj@suse.de>
10767
10768 [BZ #13658]
10769 * math/libm-test.inc (cos_test): Add more test cases.
10770 (sin_test): Likewise.
10771 (sincos_test): Likewise.
10772
7bbfa5c6
AJ
107732012-03-15 Andreas Jaeger <aj@suse.de>
10774
10775 [BZ #13837]
10776 * math/libm-test.inc (cos_test): Add a test case for large input
10777 value.
10778 (sin_test): Likewise.
10779 (sincos_test): Likewise.
10780
107812012-03-15 Andreas Jaeger <aj@suse.de>,
10782 Joseph Myers <joseph@codesourcery.com>
10783
10784 [BZ #13658]
0671f479 10785 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10786 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10787 * sysdeps/i386/fpu/branred.c: Likewise.
10788 * sysdeps/i386/fpu/dosincos.c: Likewise.
10789 * sysdeps/i386/fpu/mpa.c: Likewise.
10790 * sysdeps/i386/fpu/s_cos.S: Likewise.
10791 * sysdeps/i386/fpu/s_sin.S: Likewise.
10792 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10793 * sysdeps/i386/fpu/sincos32.c: Likewise.
10794
10795 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10796 Define.
10797 (libc_feupdateenv_53bit): Define.
10798 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10799 Define.
10800 (libc_feupdateenv_53bit): Define.
10801
10802 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10803 53 bit (without extend i386 double precision).
10804
10805 * math/libm-test.inc (sincos_test): Add tests for large input.
10806 (sin): Likewise.
10807 (cos): Likewise.
10808
10809 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10810
9cad04ea
AS
108112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10812
10813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10814
f7062b9a
DM
108152012-03-15 David S. Miller <davem@davemloft.net>
10816
10817 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10818 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10819 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10820 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10833 file.
f7062b9a 10834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10836 file.
f7062b9a 10837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10839 file.
f7062b9a 10840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10842 file.
f7062b9a
DM
10843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10844 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10845 fmin/fmax sysdep routines.
10846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10847
7bd951ff
DM
108482012-03-14 David S. Miller <davem@davemloft.net>
10849
559398ab
DM
10850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10854 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10855 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10870 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10873 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10874 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10875 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10878 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10879 routines.
10880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10881 file.
559398ab 10882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10884 file.
559398ab 10885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10887 file.
559398ab 10888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10890 file.
559398ab 10891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10893 file.
559398ab 10894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10896 file.
10897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10898 file.
10899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10900 file.
10901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10902 file.
10903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10904 New file.
10905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10906 file.
10907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10908 file.
559398ab 10909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10911 file.
559398ab 10912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10914 file.
559398ab 10915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10917 file.
559398ab 10918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10920 VIS3 routines.
559398ab
DM
10921
10922 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10923 New file.
10924
5a1c1e32
DM
10925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10926
eae47a36
DM
10927 * sysdeps/sparc/configure.in: New file.
10928 * sysdeps/sparc/configure: Generate.
10929 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10930 * configure: Regenerate.
10931 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10932 * config.make.in (have-as-vis3): New.
10933 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10934 available use -Av9d instead of -Av9a.
10935 * sysdeps/sparc/sparc64/Makefile: Likewise.
10936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10938 New file.
10939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10940 file.
10941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10942 New file.
10943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10944 file.
eae47a36
DM
10945 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10946 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10947 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10950
c0c83bc8
DM
10951 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10952 fzeros/fnegs to load 0x80000000 into a float register instead of
10953 using the stack.
7bd951ff
DM
10954 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10955
bd951ccb
JM
109562012-03-14 Joseph Myers <joseph@codesourcery.com>
10957
10958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10959 bits/syscall.h.
10960 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10961 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10962 ($(inst_includedir)/bits/syscall.h): Remove rule.
10963 ($(objpfx)bits/syscall.d): Include instead of
10964 $(objpfx)syscall-list.d.
10965 (generated): Change syscall-list.h and syscall-list.d to
10966 bits/syscall.h and bits/syscall.d.
10967
bb4e6db2
RM
109682012-03-14 Roland McGrath <roland@hack.frob.com>
10969
10970 [BZ #13846]
10971 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10972
aa4a2ae1
JM
109732012-03-14 Joseph Myers <joseph@codesourcery.com>
10974
e456826d
JM
10975 [BZ #13841]
10976 * math/s_csqrt.c: Include <float.h>.
10977 (__csqrt): Scale large or subnormal inputs.
10978 * math/s_csqrtf.c: Likewise.
10979 * math/s_csqrtl.c: Likewise.
10980 * math/libm-test.inc (csqrt_test): Add more tests.
10981 * sysdeps/i386/fpu/libm-test-ulps: Update.
10982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10983
aa4a2ae1
JM
10984 [BZ #13840]
10985 * math/libm-test.inc (hypot_test): Add more tests.
10986
7c10fd35
DM
109872012-03-13 David S. Miller <davem@davemloft.net>
10988
10989 [BZ #13840]
10990 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10991 double-precision for the calculation instead of scaling.
10992
f453b98b
JM
109932012-03-13 Joseph Myers <joseph@codesourcery.com>
10994
10995 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10996 manipulate bits before adding and subtracting TWO52[sx].
10997 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10998 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10999 Likewise.
11000 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11001
09a3453f
DM
110022012-03-13 David S. Miller <davem@davemloft.net>
11003
8e59da90
DM
11004 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11005 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11006 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11007 rtld-global-offsets.h
11008 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11009
2a8ab7f2
DM
11010 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11011 large parameters.
11012
10f62770
DM
11013 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11014
5f0bdb18
DM
11015 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11016 'err' in the ifdef scope in which it is actually used.
11017
09a3453f
DM
11018 * nss/nss_db/db-init.c: Include string.h
11019
b4b2eb5e
DM
110202012-03-12 David S. Miller <davem@davemloft.net>
11021
98bb2f1c
DM
11022 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11023 masking out of the most significant byte of random value used.
11024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11025 Fix coding style in previous change.
11026
b4b2eb5e
DM
11027 * sysdeps/unix/sysv/linux/kernel-features.h
11028 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11029 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11030 expression.
11031 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11032 later.
11033
6e226b09
DM
110342012-03-11 David S. Miller <davem@davemloft.net>
11035
a1bcbd40
DM
11036 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11037 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11038 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11039 for 'resultvar' otherwise things get truncated on 64-bit.
11040
cb9d6174
DM
11041 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11042 Fix masking out of the most significant byte of random value used.
11043
6e226b09
DM
11044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11045
058c132d
AS
110462012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11047
11048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11049
2d2cd515
DM
110502012-03-09 David S. Miller <davem@davemloft.net>
11051
11052 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11053 variables with appropriate CPP guards.
11054 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11055 frame pointer, not the stack pointer. Correct layout comments. Fix test
11056 on resulting framesize and the management of the outregs buffer for pltexit.
11057 Preserve floating point return values across _dl_call_pltexit call.
11058 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11059 framesize and the management of the outregs buffer for pltexit.
11060 Preserve floating point return values across _dl_call_pltexit
11061 call.
11062 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11063 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11064 (print_exit): Fix format string for return register value.
11065
9a07f9d0
JM
110662012-03-10 Joseph Myers <joseph@codesourcery.com>
11067
11068 * sunrpc/Makefile (others): Add rpcgen.
11069 ($(objpfx)rpcgen): Remove special build rule and dependency on
11070 libc.
11071 * sunrpc/rpcgen.c: New file.
11072
547b5e30
PE
110732012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11074
c524201a
PE
11075 [BZ #13673]
11076 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11077 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11078 * sysdeps/i386/crti.S: Likewise.
11079 * sysdeps/i386/crtn.S: Likewise.
11080 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11081 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11082 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11083 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11084 * sysdeps/sh/crti.S: Likewise.
11085 * sysdeps/sh/crtn.S: Likewise.
11086 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11087
7b6235f2
PE
11088 [BZ #13673]
11089 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11090 with URL.
11091 * locale/programs/locfile-kw.gperf: Likewise.
11092 * locale/programs/charmap-kw.h: Regenerated.
11093 * locale/programs/locfile-kw.h: Likewise.
11094
547b5e30
PE
11095 [BZ #13673]
11096 * intl/plural.y: Replace FSF snail mail address with URL.
11097 * intl/plural.c: Regenerated.
11098
5f0a5dae
RH
110992012-03-09 Richard Henderson <rth@twiddle.net>
11100
11101 * include/math_private.h: Remove file.
11102 * math/math_private.h: Move file ...
11103 * sysdeps/generic/math_private.h: ... here.
11104
b8c03620
RH
11105 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11106 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11107 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11108
4e234f5d 11109 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
11110 and <math_private.h>.
11111 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11112 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11113 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11114 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11115 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11116 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11117 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11118 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11122 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11123 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11125 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11126 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11127 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11128 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11129 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11130 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11132 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11133 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11134 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11135 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11136 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11137 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11138 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11139 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11150 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11155 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11156 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11157 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11164 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11165 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11166 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11167 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11168 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11170 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11172 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11174 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11175 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11176 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11177 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11178 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11179 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11180 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11181 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11182 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11183 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11184 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11185 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11186 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11188 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11189 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11190 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11191 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11192 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11193 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11194 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11195 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11197 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11198 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11199 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11200 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11201 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11202 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11203 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11204 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11205 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11206 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11207 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11208 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11209 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11210 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11211 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11212 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11213 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11214 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11215 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11216 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11217 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11218 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11219 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11220 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11221 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11222 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11223 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11224 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11225 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11226 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11227 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11228 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11229 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11230 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11231 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11232 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11233 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11234 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11235 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11236 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11237 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11238 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11239 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11240 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11241 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11242 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11243 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11244 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11245 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11246 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11247 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11248 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11249 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11250 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11251 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11252 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11253 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11254 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11255 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11256 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11257 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11258 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11259 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11260 * sysdeps/ieee754/k_standard.c: Likewise.
11261 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11262 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11265 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11269 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11270 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11271 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11273 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11274 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11275 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11278 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11279 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11286 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11287 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11288 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11289 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11290 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11291 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11292 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11293 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11294 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11295 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11296 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11297 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11298 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11299 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11300 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11301 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11302 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11303 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11304 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11305 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11306 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11307 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11308 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11309 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11310 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11311 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11312 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11313 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11314 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11315 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11316 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11317 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11318 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11320 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11322 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11328 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11329 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11330 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11331 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11333 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11334 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11335 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11338 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11340 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11341 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11342 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11343 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11344 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11346 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11375 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11376 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11378 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11379 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11380 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11381 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11383 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11385 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11386 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11387 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11388 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11389 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11391 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11392 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11393 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11394 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11395 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11397 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11398 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11399 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11400 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11401 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11402 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11403 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11404 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11405 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11406 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11407 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11408 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11409 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11410 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11411 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11412 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11413 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11414 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11415 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11416 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11417 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11418 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11419 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11420 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11421 * sysdeps/ieee754/s_lib_version.c: Likewise.
11422 * sysdeps/ieee754/s_matherr.c: Likewise.
11423 * sysdeps/ieee754/s_signgam.c: Likewise.
11424 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11425 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11426 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11427 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11428 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11429 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11430 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11431 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11432 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11433 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11434 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11435 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11436 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11437 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11438 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11439 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11440 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11441 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11442 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11443 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11444 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11445
1991fa03
JM
114462012-03-09 Joseph Myers <joseph@codesourcery.com>
11447
11448 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11449 * sunrpc/rpc_main.c: Likewise.
11450 * sunrpc/rpc_svcout.c: Likewise.
11451
60d6f5a6
DM
114522012-03-09 David S. Miller <davem@davemloft.net>
11453
11454 * include/math_private.h: New file.
11455
4962050e
JM
114562012-03-09 Joseph Myers <joseph@codesourcery.com>
11457
02a6f887
JM
11458 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11459 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11460 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11461 from <bits/socket_type.h>.
11462 (enum __socket_type): Don't define here.
11463 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11465 bits/socket_type.h.
11466
c6e013c1
JM
11467 [BZ #13566]
11468 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11469 checking __USE_GNU.
11470
4962050e
JM
11471 * Makerules ($(inst_includedir)/%.h): New rule.
11472 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11473 (install-others): Remove variable setting.
11474 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11475
38842f45
RH
114762012-03-08 Richard Henderson <rth@twiddle.net>
11477
67bb6da6
RH
11478 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11479 from macro to inline function; merge with the
11480 !__LIBC_INTERNAL_MATH_INLINES version.
11481 (__ieee754_sqrtf): Likewise.
11482
15194b4b
RH
11483 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11484 to inline function.
11485 (__rintf, __floor, __floorf): Likewise.
11486
64e21ede
RH
11487 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11488 macro to inline function.
11489 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11490
38842f45
RH
11491 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11492 not <math/math_private.h>.
11493
c64bf5fe
DM
114942012-03-08 David S. Miller <davem@davemloft.net>
11495
11496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11497 copyright year.
11498 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11499
82d86f28
TS
115002012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11501
11502 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11503 normalization.
11504 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11505 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11506
aea5d727
UD
115072012-03-08 Ulrich Drepper <drepper@gmail.com>
11508
11509 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11510 be defined individually, they must be defined as a block. Define
11511 S for printing a string instead of hidint the different by using a
11512 macro for adding the 'l'.
11513 * stdio-common/tst-fphex-wide.c: Adjust.
11514
70bca0a3
MP
115152012-03-07 Marek Polacek <polacek@redhat.com>
11516
11517 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11518
65b81130
MP
115192012-03-08 Marek Polacek <polacek@redhat.com>
11520
11521 [BZ #13806]
11522 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11523 * stdio-common/tst-fphex.c: Define a few macros to make the
11524 test reusable. Use them.
11525 * stdio-common/tst-fphex-wide.c: New file.
11526
07037eeb
JM
115272012-03-08 Joseph Myers <joseph@codesourcery.com>
11528
a7a93d50
JM
11529 [BZ #6911]
11530 * manual/macros.texi (gnusystems): New macro.
11531 (nongnusystems): Likewise.
11532 (gnulinuxhurdsystems): Likewise.
11533 (gnuhurdsystems): Likewise..
11534 (gnulinuxsystems): Likewise.
11535 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11536 variants of the GNU system, not "GNU system".
11537 * manual/conf.texi: Likewise.
11538 * manual/errno.texi: Likewise. Update example of errno macro
11539 expansion.
11540 * manual/filesys.texi: Likewise.
11541 (getumask): Document as specific to GNU/Hurd.
11542 * manual/install.texi: Likewise. Reword some references to
11543 GNU/Linux.
11544 * manual/intro.texi: Likewise.
11545 * manual/io.texi: Likewise.
11546 (File Name Portability): Detail which constraints are inapplicable
11547 to all GNU systems and which are only inapplicable to GNU/Hurd.
11548 * manual/job.texi: Likewise.
11549 * manual/llio.texi: Likewise.
11550 (O_NOCTTY): Document as present on GNU/Linux.
11551 * manual/maint.texi: Likewise.
11552 * manual/memory.texi: Likewise.
11553 * manual/pattern.texi: Likewise.
11554 * manual/pipe.texi: Likewise.
11555 * manual/process.texi: Likewise.
11556 * manual/resource.texi: Likewise.
11557 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11558 child on GNU/Hurd.
11559 * manual/setjmp.texi: Likewise.
11560 * manual/signal.texi: Likewise.
11561 * manual/startup.texi: Likewise.
11562 * manual/stdio.texi: Likewise.
11563 * manual/terminal.texi: Likewise.
11564 (ONLCR): Document as POSIX.
11565 (OXTABS): Document availability on GNU/Linux as XTABS.
11566 (ONOEOT): Document availability separately from other bits.
11567 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11568 * manual/time.texi: Likewise.
11569 * manual/users.texi: Likewise.
11570 * INSTALL: Regenerated.
11571 * sysdeps/gnu/errlist.c: Regenerated.
11572
07037eeb
JM
11573 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11574 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11575 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11576 puts.
11577 * configure: Regenerated.
11578
d1d3431a
JM
115792012-03-07 Joseph Myers <joseph@codesourcery.com>
11580
af6a1e37
JM
11581 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11582 default includes instead of AC_HEADER_CHECK.
11583 * sysdeps/i386/configure: Regenerated.
11584
d1d3431a
JM
11585 [BZ #10716]
11586 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11587 * math/s_cacoshf.c (__cacoshf): Likewise.
11588 * math/s_cacoshl.c (__cacoshl): Likewise.
11589 * math/s_casinh.c (__casinh): Set signs of result from argument.
11590 * math/s_casinhf.c (__casinhf): Likewise.
11591 * math/s_casinhl.c (__casinhl): Likewise.
11592 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11593 (casinh_test): Add more tests.
11594 * sysdeps/i386/fpu/libm-test-ulps: Update.
11595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11596
482ff4da
UD
115972012-03-07 Ulrich Drepper <drepper@gmail.com>
11598
872fda05
UD
11599 * po/zh_TW.po: Update from translation team.
11600
a4300c7a
UD
11601 * login/Makefile (distribute): Remove variable.
11602 * catgets/Makefile: Likewise.
11603 * mach/Makefile: Likewise.
11604 * malloc/Makefile: Likewise.
11605 * misc/Makefile: Likewise.
11606 * iconv/Makefile: Likewise.
11607 * nscd/Makefile: Likewise.
11608 * hurd/Makefile: Likewise.
11609 * manual/Makefile: Likewise.
11610 * locale/Makefile: Likewise.
11611 * intl/Makefile: Likewise.
11612 * conform/Makefile: Likewise.
11613 * nss/Makefile: Likewise.
11614 * time/Makefile: Likewise.
11615 * soft-fp/Makefile: Likewise.
11616 * dirent/Makefile: Likewise.
11617 * gmon/Makefile: Likewise.
11618 * po/Makefile: Likewise.
11619 * rt/Makefile: Likewise.
11620 * socket/Makefile: Likewise.
11621 * math/Makefile: Likewise.
11622 * signal/Makefile: Likewise.
11623 * debug/Makefile: Likewise.
11624 * elf/Makefile: Likewise.
11625 * timezone/Makefile: Likewise.
11626 * stdlib/Makefile: Likewise.
11627 * iconvdata/Makefile: Likewise.
11628 * sunrpc/Makefile: Likewise.
11629 * io/Makefile: Likewise.
11630 * argp/Makefile: Likewise.
11631 * inet/Makefile: Likewise.
11632 * hesiod/Makefile: Likewise.
11633 * grp/Makefile: Likewise.
11634 * csu/Makefile: Likewise.
11635 * wctype/Makefile: Likewise.
11636 * crypt/Makefile: Likewise.
11637 * libio/Makefile: Likewise.
11638 * string/Makefile: Likewise.
11639 * nis/Makefile: Likewise.
11640 * resolv/Makefile: Likewise.
11641 * stdio-common/Makefile: Likewise.
11642 * wcsmbs/Makefile: Likewise.
11643 * dlfcn/Makefile: Likewise.
11644 * posix/Makefile: Likewise.
11645
3b7c4e74 11646 [BZ #6959]
482ff4da
UD
11647 * timezone/Makefile: Don't install timezone files, just the programs
11648 and scripts.
11649
f72ed77d
UD
116502012-03-06 Ulrich Drepper <drepper@gmail.com>
11651
a000466f
UD
11652 * nss/databases.def: Add missing gshadow entry.
11653
f72ed77d
UD
11654 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11655
a53b7a4e
MP
116562012-03-06 Marek Polacek <polacek@redhat.com>
11657
11658 [BZ #13726]
11659 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11660 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11661 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11662 * stdio-common/tst-long-dbl-fphex.c: New file.
11663
e9258400
DM
116642012-03-06 David S. Miller <davem@davemloft.net>
11665
11666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11667 (set_obp_int): New function.
11668 (get_obp_int): New function.
11669 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11670 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11671 Avoid unused variable warnings on 'val' and use builtin_expect.
11672 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11673 __builtin_expect.
e9258400
DM
11674 (INLINE_CLONE_SYSCALL): Likewise.
11675
3bd2c723
DM
116762012-03-05 David S. Miller <davem@davemloft.net>
11677
11678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11679
bbb78d03
AS
116802012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11681
884c5db4
AS
11682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11683
bbb78d03
AS
11684 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11685 only for |x| >= 40.
11686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11687
1c9f702a 116882012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11689
11690 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11691 Replace gettimeofday with __vdso_gettimeofday.
11692
7be16f82
RM
11693 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11694 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11695 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11696
11697 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11698 time with __vdso_time.
11699
ed58a00f
JM
117002012-03-05 Joseph Myers <joseph@codesourcery.com>
11701
11702 * manual/lang.texi (size_t): Note types to which size_t may be
11703 equivalent with the GNU C Library, but do not describe when
11704 differences between them are significant.
11705
30ee4ced
AJ
117062012-03-05 Andreas Jaeger <aj@suse.de>
11707
11708 * sysdeps/i386/fpu/libm-test-ulps: Update.
11709
b7cd39e8
JM
117102012-03-05 Joseph Myers <joseph@codesourcery.com>
11711
11712 [BZ #3976]
11713 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11714 (__ieee754_pow): Save and restore rounding mode and use
11715 round-to-nearest for main computations.
11716 * math/libm-test.inc (pow_test_tonearest): New function.
11717 (pow_test_towardzero): Likewise.
11718 (pow_test_downward): Likewise.
11719 (pow_test_upward): Likewise.
11720 (main): Call the new functions.
11721 * sysdeps/i386/fpu/libm-test-ulps: Update.
11722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11723
11724 [BZ #3976]
11725 * math/libm-test.inc (cosh_test_tonearest): New function.
11726 (cosh_test_towardzero): Likewise.
11727 (cosh_test_downward): Likewise.
11728 (cosh_test_upward): Likewise.
11729 (sinh_test_tonearest): Likewise.
11730 (sinh_test_towardzero): Likewise.
11731 (sinh_test_downward): Likewise.
11732 (sinh_test_upward): Likewise.
11733 (main): Call the new functions.
11734 * sysdeps/i386/fpu/libm-test-ulps: Update.
11735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11736
6c6a98c9
TV
117372012-03-05 Tom de Vries <tom@codesourcery.com>
11738
11739 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11740 default stack guard is set in last bytes.
11741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11742
21bb2d2e 117432012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11744
21bb2d2e 11745 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11746
21bb2d2e
AJ
11747 [BZ #13656]
11748 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11749 possibly allocate from heap instead of stack.
11750 * stdio-common/bug-vfprintf-nargs.c: New file.
11751 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11752
c6922934
AS
117532012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11754
11755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11756
bc957d53
MP
117572012-03-03 Marek Polacek <polacek@redhat.com>
11758
11759 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11760 * math/math_private.h: Likewise.
11761 * stdlib/tst-strtod.c: Likewise.
11762 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11763 * sysdeps/x86_64/bits/atomic.h: Likewise.
11764
6358490d
DM
117652012-03-02 David S. Miller <davem@davemloft.net>
11766
11767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11771 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11772 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11773 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11774 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11775
01ae168d
RM
117762012-03-02 Roland McGrath <roland@hack.frob.com>
11777
d9a17c07
RM
11778 [BZ #13792]
11779 * manual/examples/README: New file, says the example source files
11780 can be used under GPL>=2.
11781 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11782 line containing just "*/".
11783 * manual/examples/add.c: Add copyright header (GPL>=2).
11784 * manual/examples/argp-ex1.c: Likewise.
11785 * manual/examples/argp-ex2.c: Likewise.
11786 * manual/examples/argp-ex3.c: Likewise.
11787 * manual/examples/argp-ex4.c: Likewise.
11788 * manual/examples/atexit.c: Likewise.
11789 * manual/examples/db.c: Likewise.
11790 * manual/examples/dir.c: Likewise.
11791 * manual/examples/dir2.c: Likewise.
11792 * manual/examples/execinfo.c: Likewise.
11793 * manual/examples/filecli.c: Likewise.
11794 * manual/examples/filesrv.c: Likewise.
11795 * manual/examples/fmtmsgexpl.c: Likewise.
11796 * manual/examples/genpass.c: Likewise.
11797 * manual/examples/inetcli.c: Likewise.
11798 * manual/examples/inetsrv.c: Likewise.
11799 * manual/examples/isockad.c: Likewise.
11800 * manual/examples/longopt.c: Likewise.
11801 * manual/examples/memopen.c: Likewise.
11802 * manual/examples/memstrm.c: Likewise.
11803 * manual/examples/mkfsock.c: Likewise.
11804 * manual/examples/mkisock.c: Likewise.
11805 * manual/examples/mygetpass.c: Likewise.
11806 * manual/examples/pipe.c: Likewise.
11807 * manual/examples/popen.c: Likewise.
11808 * manual/examples/rprintf.c: Likewise.
11809 * manual/examples/search.c: Likewise.
11810 * manual/examples/select.c: Likewise.
11811 * manual/examples/setjmp.c: Likewise.
11812 * manual/examples/sigh1.c: Likewise.
11813 * manual/examples/sigusr.c: Likewise.
11814 * manual/examples/stpcpy.c: Likewise.
11815 * manual/examples/strdupa.c: Likewise.
11816 * manual/examples/strftim.c: Likewise.
11817 * manual/examples/strncat.c: Likewise.
11818 * manual/examples/subopt.c: Likewise.
11819 * manual/examples/swapcontext.c: Likewise.
11820 * manual/examples/termios.c: Likewise.
11821 * manual/examples/testopt.c: Likewise.
11822 * manual/examples/testpass.c: Likewise.
11823 * manual/examples/timeval_subtract.c: Likewise.
11824
01ae168d
RM
11825 [BZ #13792]
11826 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11827 function to ...
11828 * manual/timeval_subtract.c.texi: ... here, new file.
11829
49efa33d
DM
118302012-03-02 David S. Miller <davem@davemloft.net>
11831
11832 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11833
28afd92d
JM
118342012-03-02 Joseph Myers <joseph@codesourcery.com>
11835
804360ed
JM
11836 [BZ #3976]
11837 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11838 (__sin): Save and restore rounding mode and use round-to-nearest
11839 for all computations.
11840 (__cos): Save and restore rounding mode and use round-to-nearest
11841 for all computations.
11842 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11843 <fenv.h>.
11844 (tan): Save and restore rounding mode and use round-to-nearest for
11845 all computations.
11846 * math/libm-test.inc (cos_test_tonearest): New function.
11847 (cos_test_towardzero): Likewise.
11848 (cos_test_downward): Likewise.
11849 (cos_test_upward): Likewise.
11850 (sin_test_tonearest): Likewise.
11851 (sin_test_towardzero): Likewise.
11852 (sin_test_downward): Likewise.
11853 (sin_test_upward): Likewise.
11854 (tan_test_tonearest): Likewise.
11855 (tan_test_towardzero): Likewise.
11856 (tan_test_downward): Likewise.
11857 (tan_test_upward): Likewise.
11858 (main): Call the new functions.
11859 * sysdeps/i386/fpu/libm-test-ulps: Update.
11860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11861
a6d06d7b
JM
11862 [BZ #10135]
11863 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11864 small n, then large n, before computing and testing k+n.
11865 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11866 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11867 Likewise.
11868 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11869 Likewise.
11870 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11871 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11874 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11875 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11876 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11877 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11878 * math/libm-test.inc (scalbn_test): Add more tests.
11879 (scalbln_test): Likewise.
11880
07e12bb3
JM
11881 * manual/filesys.texi (mode_t): Describe constraints on size and
11882 signedness, not exact equivalence to a particular type.
11883 (ino_t): Likewise.
11884 (ino64_t): Likewise.
11885 (dev_t): Likewise.
11886 (nlink_t): Likewise.
11887 (blkcnt_t): Likewise.
11888 (blkcnt64_t): Likewise.
11889 * manual/llio.texi (off_t): Likewise.
11890
28afd92d
JM
11891 [BZ #3976]
11892 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11893 (__ieee754_exp): Save and restore rounding mode and use
11894 round-to-nearest for all computations.
11895 * math/libm-test.inc (exp_test_tonearest): New function.
11896 (exp_test_towardzero): Likewise.
11897 (exp_test_downward): Likewise.
11898 (exp_test_upward): Likewise.
11899 (main): Call the new functions.
11900 * sysdeps/i386/fpu/libm-test-ulps: Update.
11901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11902
b1eeb65d
CD
119032012-03-01 Chris Demetriou <cgd@google.com>
11904
11905 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11906 have predictable order.
11907
53362a4b
DM
119082012-03-01 David S. Miller <davem@davemloft.net>
11909
3c969083
DM
11910 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11911
759707de
DM
11912 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11913 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11914 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11915 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11916
dfdb8ff2
DM
11917 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11918 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11919 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11921 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11922 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11923 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11924 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11925 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11926
ead89f96
DM
11927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11928
7f66bd07
DM
11929 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11930 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11931 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11932
53362a4b
DM
11933 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11934 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11935 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11936 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11937 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11938 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11939 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11940 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11941 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11942 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11943 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11946 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11947 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11949 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11950 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11951 * sysdeps/sparc/elf/configure: Regenerated.
11952
7b1902cb
JM
119532012-03-01 Joseph Myers <joseph@codesourcery.com>
11954
bec039bc
JM
11955 * configure.in (AS, LD): Require binutils 2.20 or later.
11956 * configure: Regenerated.
11957 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11958 as required minimum version.
11959 * INSTALL: Regenerated.
11960
7b1902cb
JM
11961 [BZ #2541]
11962 [BZ #4108]
11963 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11964 before squaring exponent.
11965 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11966 bottom long double and 27 bits of top long double before squaring
11967 exponent.
11968 * math/libm-test.inc (erfc_test): Add more tests.
11969 * sysdeps/i386/fpu/libm-test-ulps: Update.
11970 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11972
f775c276
KT
119732012-03-01 Kai Tietz <ktietz@redhat.com>
11974
11975 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11976 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11977 containing bit-fields.
11978 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11979 * soft-fp/single.h (_FP_UNION_S): Likewise.
11980 * soft-fp/double.h (_FP_UNION_D): Likewise.
11981
5b8a4d4a
JM
119822012-02-29 Joseph Myers <joseph@codesourcery.com>
11983
0bab47b6
JM
11984 [BZ #13786]
11985 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11986 not include ../strcmp.S.
11987 [USE_AS_STRNCASECMP_L]: Likewise.
11988 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11989 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11990 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11991 (__strncasecmp_l_ia32): Define as alias to
11992 __strncasecmp_l_nonascii.
11993
0fcad3e2
JM
11994 [BZ #5794]
11995 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11996 * sysdeps/i386/fpu/libm-test-ulps: Update.
11997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11998
5b8a4d4a
JM
11999 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12001
8fdceb2e
JL
120022012-02-29 Jeff Law <law@redhat.com>
12003
12004 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12005 out of bounds read.
12006
1f393a11
MP
120072012-02-29 Marek Polacek <polacek@redhat.com>
12008
12009 [BZ #13706]
12010 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12011 * elf/Makefile: Add rules to run tst-unused-dep.out.
12012
8847f037
DM
120132012-02-28 David S. Miller <davem@davemloft.net>
12014
12015 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12016 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12017 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12018 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12019 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12020 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12021
169d7f11
JM
120222012-02-29 Joseph Myers <joseph@codesourcery.com>
12023
12024 * math/libm-test.inc (llround_test): Move one test from
12025 lround_test. Use TEST_f_L in moved test.
12026 (lround_test): Move misplaced test to llround_test. Add testcase
12027 from bug 2561.
12028
39adf059
UD
120292012-02-28 Ulrich Drepper <drepper@gmail.com>
12030
12031 * sysdeps/x86_64/fpu/e_expf.S: New file.
12032 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12033
71b5d1c5
SB
120342012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12035
12036 [BZ #13637]
12037 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12038 of remain_len that may cause incomplete multi-byte character and
12039 false match.
12040 * posix/bug-regex33.c: New file.
12041 * posix/Makefile (tests): Add bug-regex33.
12042
1f77f049
JM
120432012-02-28 Joseph Myers <joseph@codesourcery.com>
12044
12045 * manual/macros.texi: New file.
12046 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12047 * manual/libc.texinfo: Include macros.texi.
12048 * manual/creatute.texi: Likewise.
12049 * manual/install.texi: Likewise.
12050 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12051 @glibcadj{} in references to the GNU C Library.
12052 * manual/charset.texi: Likewise.
12053 * manual/conf.texi: Likewise.
12054 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12055 when not using those macros.
12056 * manual/creature.texi: Likewise.
12057 * manual/crypt.texi: Likewise.
12058 * manual/errno.texi: Likewise.
12059 * manual/filesys.texi: Likewise.
12060 * manual/header.texi: Likewise.
12061 * manual/install.texi: Likewise.
12062 * manual/intro.texi: Likewise.
12063 * manual/io.texi: Likewise.
12064 * manual/job.texi: Likewise.
12065 * manual/lang.texi: Likewise.
12066 * manual/libc.texiinfo: Likewise.
12067 * manual/llio.texi: Likewise.
12068 * manual/locale.texi: Likewise.
12069 * manual/maint.texi: Likewise.
12070 * manual/math.texi: Likewise.
12071 * manual/memory.texi: Likewise.
12072 * manual/message.texi: Likewise.
12073 * manual/nss.texi: Likewise.
12074 * manual/pattern.texi: Likewise.
12075 * manual/process.texi: Likewise.
12076 * manual/resource.texi: Likewise.
12077 * manual/search.texi: Likewise.
12078 * manual/setjmp.texi: Likewise.
12079 * manual/signal.texi: Likewise.
12080 * manual/socket.texi: Likewise.
12081 * manual/startup.texi: Likewise.
12082 * manual/stdio.texi: Likewise.
12083 * manual/string.texi: Likewise.
12084 * manual/sysinfo.texi: Likewise.
12085 * manual/syslog.texi: Likewise.
12086 * manual/terminal.texi: Likewise.
12087 * manual/time.texi: Likewise.
12088 * manual/users.texi: Likewise.
12089 * INSTALL: Regenerated.
12090 * NOTES: Regenerated.
d40c5d54 12091 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 12092
450bf206
AS
120932012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12094
12095 * include/dirent.h: Include <dirstream.h> before
12096 <dirent/dirent.h>.
12097
741a235b
DM
120982012-02-28 David S. Miller <davem@davemloft.net>
12099
12100 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12101 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12102 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12103 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12104
d6b5aa58
DM
121052012-02-27 David S. Miller <davem@davemloft.net>
12106
1aff59a3
DM
12107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12109 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12110 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12111
d6b5aa58
DM
12112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12113 frame pointer instead of stack pointer relative arg slot.
12114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12115 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12116 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12117
433f48bf
CD
121182012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12119
12120 [BZ #3992]
12121 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12122
d674b76d
DM
121232012-02-27 David S. Miller <davem@davemloft.net>
12124
12125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12129 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12130 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12131 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12132 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12133
0e7727f7
JM
121342012-02-27 Joseph Myers <joseph@codesourcery.com>
12135
12136 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12137 later. Allow versions 5-9.
43be4ca2 12138 * configure: Regenerated.
0e7727f7
JM
12139 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12140 required minimum version and 4.6 as recommended version. Do not
12141 mention bugs in GCC 2.7 and 2.8.
43be4ca2 12142 * INSTALL: Regenerated.
0e7727f7 12143
a78bc654
DM
121442012-02-27 David S. Miller <davem@davemloft.net>
12145
428d5830
DM
12146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12150 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12151 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12152 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12153 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12154
a78bc654
DM
12155 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12156 manipulate bits before adding and subtracting TWO112[sx].
12157 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12158
4579f81c
RM
121592012-02-27 Roland McGrath <roland@hack.frob.com>
12160
36c8acb4
RM
12161 [BZ #13775]
12162 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12163 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12164 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12165 being in POSIX, because they are in 1003.1-2008.
12166
84ad622b
RM
12167 * rt/tst-aio.c: Include <fcntl.h>.
12168 * rt/tst-aio7.c: Likewise.
12169 * rt/tst-aio64.c: Likewise.
12170
4579f81c
RM
12171 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12172
abd923db
JM
121732012-02-27 Joseph Myers <joseph@codesourcery.com>
12174
12175 * manual/install.texi (--with-headers): Describe headers as
12176 interface headers, not private headers.
12177 (Specific advice for GNU/Linux systems): Describe use of headers
12178 from "make headers_install", not private headers from older
12179 kernels.
43be4ca2 12180 * INSTALL: Regenerated.
abd923db
JM
12181 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12182 Change to 2.6.19.
12183 * sysdeps/unix/sysv/linux/configure: Regenerated.
12184
6664049b
JM
12185 * manual/llio.texi (fclean): Remove documentation.
12186
bb8b6697
JM
12187 * manual/Makefile (libc-texi-generated): New variable. Include
12188 version.texi.
12189 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12190 $(libc-texi-generated), not duplicated list of files.
12191 (version.texi, stamp-version): New rules.
12192 (realclean): Remove $(libc-texi-generated), not individual files
12193 from that list. Do not remove dir-add.texinfo.
12194 * manual/libc.texinfo: Comment out uses of edition numbers and
12195 references to printed manual. Remove last-updated dates.
12196 (EDITION): Comment out.
12197 (ISBN): Likewise.
12198 (VERSION, UPDATED): Remove.
12199 (version.texi): Include.
12200
12e5c3b9
AS
122012012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12202
12203 * sysdeps/posix/spawni.c: Include <signal.h>.
12204 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12205 * sysdeps/pthread/aio_fsync.c: Likewise.
12206
4efeffc1 122072012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12208
ba63ba08
UD
12209 * conform/Makefile (tests): Run only when not cross-compiling and
12210 when fast-check is not defined.
12211
d94a4670
UD
12212 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12213 * conform/data/limits.h-data: Fixes for POSIX2008.
12214 * conform/run-conformtest.sh: Run all tests.
12215 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12216 headers.
12217 * include/bits/dlfcn.h: Likewise.
12218 * include/langinfo.h: Likewise.
12219 * include/monetary.h: Likewise.
12220 * include/sys/poll.h: Likewise.
12221
12222 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12223 for __USE_GNU.
12224 * posix/spawn.h: Define __need_sigset_t.
12225 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12226 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12227 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12228 to get sigevent_t only.
12229 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12230 only for __USE_GNU.
12231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12232 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12233 process_vm_writev only for __USE_GNU.
12234 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12235
12236 * conform/Makefile: For now ignore errors from run-conformtest.
12237 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12238 POSIX to avoid namespace pollution. Don't prepend headers.
12239 * conform/data/aio.h-data: Fixes for POSIX testing.
12240 * conform/data/fcntl.h-data: Likewise.
12241 * conform/data/glob.h-data: Likewise.
12242 * conform/data/grp.h-data: Likewise.
12243 * conform/data/pthread.h-data: Likewise.
12244 * conform/data/pwd.h-data: Likewise.
12245 * conform/data/signal.h-data: Likewise.
12246 * conform/data/spawn.h-data: Likewise.
12247 * conform/data/stdio.h-data: Likewise.
12248 * conform/data/stdlib.h-data: Likewise.
12249 * conform/data/stropts.h-data: Likewise.
12250 * conform/data/sys/mman.h-data: Likewise.
12251 * conform/data/sys/stat.h-data: Likewise.
12252 * conform/data/sys/types.h-data: Likewise.
12253 * conform/data/sys/wait.h-data: Likewise.
12254 * conform/data/time.h-data: Likewise.
12255 * conform/data/unistd.h-data: Likewise.
12256 * conform/data/utime.h-data: Likewise.
12257
12258 * io/sys/stat.h: fchmod was always in POSIX.
12259 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12260 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12261 * rt/aio.h: Define __need_timespec before including <time.h>.
12262 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12263 struct. Add forward declaration of pthread_attr_t and use it in
12264 sigevent.
12265 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12266 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12267 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12268 always remove CLK_TCK definition.
12269
c20105c3
AS
122702012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12271
12272 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12273
7a270350
UD
122742012-02-25 Ulrich Drepper <drepper@gmail.com>
12275
31341567
UD
12276 * conform/run-conformtest.sh: New file.
12277 * conform/Makefile: Run run-conformtest for tests.
12278 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12279 support.
12280
12281 * conform/data/uchar.h-data: New file.
12282 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12283 * conform/data/arpa/inet.h-data: Likewise.
12284 * conform/data/assert.h-data: Likewise.
12285 * conform/data/complex.h-data: Likewise.
12286 * conform/data/cpio.h-data: Likewise.
12287 * conform/data/ctype.h-data: Likewise.
12288 * conform/data/dirent.h-data: Likewise.
12289 * conform/data/dlfcn.h-data: Likewise.
12290 * conform/data/errno.h-data: Likewise.
12291 * conform/data/fcntl.h-data: Likewise.
12292 * conform/data/float.h-data: Likewise.
12293 * conform/data/fmtmsg.h-data: Likewise.
12294 * conform/data/fnmatch.h-data: Likewise.
12295 * conform/data/ftw.h-data: Likewise.
12296 * conform/data/glob.h-data: Likewise.
12297 * conform/data/grp.h-data: Likewise.
12298 * conform/data/iconv.h-data: Likewise.
12299 * conform/data/inttypes.h-data: Likewise.
12300 * conform/data/langinfo.h-data: Likewise.
12301 * conform/data/libgen.h-data: Likewise.
12302 * conform/data/limits.h-data: Likewise.
12303 * conform/data/locale.h-data: Likewise.
12304 * conform/data/math.h-data: Likewise.
12305 * conform/data/monetary.h-data: Likewise.
12306 * conform/data/mqueue.h-data: Likewise.
12307 * conform/data/ndbm.h-data: Likewise.
12308 * conform/data/net/if.h-data: Likewise.
12309 * conform/data/netdb.h-data: Likewise.
12310 * conform/data/netinet/in.h-data: Likewise.
12311 * conform/data/nl_types.h-data: Likewise.
12312 * conform/data/poll.h-data: Likewise.
12313 * conform/data/pthread.h-data: Likewise.
12314 * conform/data/pwd.h-data: Likewise.
12315 * conform/data/regex.h-data: Likewise.
12316 * conform/data/sched.h-data: Likewise.
12317 * conform/data/search.h-data: Likewise.
12318 * conform/data/semaphore.h-data: Likewise.
12319 * conform/data/setjmp.h-data: Likewise.
12320 * conform/data/signal.h-data: Likewise.
12321 * conform/data/spawn.h-data: Likewise.
12322 * conform/data/stdarg.h-data: Likewise.
12323 * conform/data/stdio.h-data: Likewise.
12324 * conform/data/stdlib.h-data: Likewise.
12325 * conform/data/string.h-data: Likewise.
12326 * conform/data/strings.h-data: Likewise.
12327 * conform/data/stropts.h-data: Likewise.
12328 * conform/data/sys/ipc.h-data: Likewise.
12329 * conform/data/sys/mman.h-data: Likewise.
12330 * conform/data/sys/msg.h-data: Likewise.
12331 * conform/data/sys/resource.h-data: Likewise.
12332 * conform/data/sys/select.h-data: Likewise.
12333 * conform/data/sys/sem.h-data: Likewise.
12334 * conform/data/sys/shm.h-data: Likewise.
12335 * conform/data/sys/socket.h-data: Likewise.
12336 * conform/data/sys/stat.h-data: Likewise.
12337 * conform/data/sys/statvfs.h-data: Likewise.
12338 * conform/data/sys/time.h-data: Likewise.
12339 * conform/data/sys/timeb.h-data: Likewise.
12340 * conform/data/sys/times.h-data: Likewise.
12341 * conform/data/sys/types.h-data: Likewise.
12342 * conform/data/sys/uio.h-data: Likewise.
12343 * conform/data/sys/un.h-data: Likewise.
12344 * conform/data/sys/utsname.h-data: Likewise.
12345 * conform/data/sys/wait.h-data: Likewise.
12346 * conform/data/syslog.h-data: Likewise.
12347 * conform/data/tar.h-data: Likewise.
12348 * conform/data/termios.h-data: Likewise.
12349 * conform/data/utime.h-data: Likewise.
12350 * conform/data/utmpx.h-data: Likewise.
12351 * conform/data/varargs.h-data: Likewise.
12352 * conform/data/wchar.h-data: Likewise.
12353 * conform/data/wctype.h-data: Likewise.
12354 * conform/data/wordexp.h-data: Likewise.
12355
12356 * include/stropts.h: New file.
12357 * include/uchar.h: New file.
12358 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12359 * include/assert.h: Likewise.
12360 * include/ctype.h: Likewise.
12361 * include/dirent.h: Likewise.
12362 * include/dlfcn.h: Likewise.
12363 * include/fcntl.h: Likewise.
12364 * include/fnmatch.h: Likewise.
12365 * include/glob.h: Likewise.
12366 * include/grp.h: Likewise.
12367 * include/libio.h: Likewise.
12368 * include/locale.h: Likewise.
12369 * include/math.h: Likewise.
12370 * include/net/if.h: Likewise.
12371 * include/netdb.h: Likewise.
12372 * include/netinet/in.h: Likewise.
12373 * include/pthread.h: Likewise.
12374 * include/pwd.h: Likewise.
12375 * include/regex.h: Likewise.
12376 * include/sched.h: Likewise.
12377 * include/search.h: Likewise.
12378 * include/setjmp.h: Likewise.
12379 * include/signal.h: Likewise.
12380 * include/stdio.h: Likewise.
12381 * include/stdlib.h: Likewise.
12382 * include/string.h: Likewise.
12383 * include/sys/cdefs.h: Likewise.
12384 * include/sys/mman.h: Likewise.
12385 * include/sys/msg.h: Likewise.
12386 * include/sys/resource.h: Likewise.
12387 * include/sys/select.h: Likewise.
12388 * include/sys/socket.h: Likewise.
12389 * include/sys/stat.h: Likewise.
12390 * include/sys/statvfs.h: Likewise.
12391 * include/sys/time.h: Likewise.
12392 * include/sys/times.h: Likewise.
12393 * include/sys/uio.h: Likewise.
12394 * include/sys/utsname.h: Likewise.
12395 * include/sys/wait.h: Likewise.
12396 * include/termios.h: Likewise.
12397 * include/time.h: Likewise.
12398 * include/ulimit.h: Likewise.
12399 * include/unistd.h: Likewise.
12400 * include/utime.h: Likewise.
12401 * include/wchar.h: Likewise.
12402 * include/wctype.h: Likewise.
12403 * include/wordexp.h: Likewise.
12404
12405 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12406
7a270350
UD
12407 * time/time.h: TIME_UTC must be a macro.
12408 Make timespec_get available for ISO C11 only as well.
12409
7724defc
UD
124102012-02-24 Ulrich Drepper <drepper@gmail.com>
12411
12412 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12413 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12414
6b1d1d46
JM
124152012-02-24 Joseph Myers <joseph@codesourcery.com>
12416
12417 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12418
0f8bbd69
JM
124192012-02-24 Joseph Myers <joseph@codesourcery.com>
12420
12421 * manual/texinfo.tex: Update to version 2012-01-19.16.
12422
66ab80bc
JM
124232012-02-24 Joseph Myers <joseph@codesourcery.com>
12424
12425 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12426
74981cc5
RM
124272012-02-24 Roland McGrath <roland@hack.frob.com>
12428
ee968201
RM
12429 [BZ #13738]
12430 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12431 * manual/fdl-1.3.texi: New file.
12432 * manual/fdl-1.1.texi: File removed.
12433
74981cc5
RM
12434 [BZ #13738]
12435 * manual/libc.texinfo (FDL_VERSION): New @set.
12436 Use it for mention of FDL in cover text.
12437 (Documentation License): Use it in @include file name.
12438
7bb764bc
JM
124392012-02-22 Joseph Myers <joseph@codesourcery.com>
12440 Roland McGrath <roland@hack.frob.com>
12441
12442 [BZ #5461]
12443 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12444 not LONG_LONG_MAX and LONG_LONG_MIN.
12445 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12446 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12447 name.
12448 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12449
6cbeae47
JM
124502012-02-22 Joseph Myers <joseph@codesourcery.com>
12451
12452 [BZ #2547]
12453 [BZ #11365]
12454 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12455 manipulate bits before adding and subtracting TWO23[sx].
12456 * math/libm-test.inc (nearbyint_test): Add more tests.
12457
fe45ce09
JM
124582012-02-22 Joseph Myers <joseph@codesourcery.com>
12459
12460 [BZ #2548]
12461 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12462 bits before adding and subtracting TWO23[sx].
12463 * math/libm-test.inc (rint_test): Add more tests.
12464 (rint_test_tonearest): Likewise.
12465 (rint_test_towardzero): Likewise.
12466 (rint_test_downward): Likewise.
12467 (rint_test_upward: Likewise.
12468
ff3b3d82
JM
124692012-02-22 Joseph Myers <joseph@codesourcery.com>
12470
12471 [BZ #10110]
12472 * include/stdc-predef.h: New file. Extracted from features.h.
12473 * include/features.h: Include stdc-predef.h.
12474 * Makefile (headers): Add stdc-predef.h.
12475 * CONFORMANCE (Compiler limitations): Update.
12476
ef0aab35
JM
124772012-02-22 Joseph Myers <joseph@codesourcery.com>
12478
12479 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12480
58639409
DM
124812012-02-21 David S. Miller <davem@davemloft.net>
12482
12483 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12484 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12485
c0e70b25
DM
124862012-02-20 David S. Miller <davem@davemloft.net>
12487
12488 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12489 using a normal save/restore sequence, rather than allocating a
12490 dummy stack frame just to store a frame pointer and restore.
12491 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12492
fb06851d
JM
124932012-02-21 Joseph Myers <joseph@codesourcery.com>
12494
12495 * manual/install.texi: Fix stray word in line-wrapped comment.
12496
7a8b71c3
DM
124972012-02-20 David S. Miller <davem@davemloft.net>
12498
d510c123
DM
12499 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12500 both binutils and gcc support GOTDATA.
12501
0722d7c2
DM
12502 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12503 "rd %pc" in the PIC register setup sequences.
12504
3d2b3019
DM
12505 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12506 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12507 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12508 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12509 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12511 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12512 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12514 (SYSCALL_ERROR_HANDLER): Likewise.
12515 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12516 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12518 (SYSCALL_ERROR_HANDLER): Likewise.
12519
c80098a9
DM
12520 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12521 (HAVE_GCC_GOTDATA): New.
12522 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12523 relocation support in both binutils and gcc.
12524 * sysdeps/sparc/elf/configure: Regenerate.
12525
3a2545a0
DM
12526 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12527 * sysdeps/sparc/sparc32/elf/configure: Delete.
12528 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12529 * sysdeps/sparc/sparc64/elf/configure: Delete.
12530 * sysdeps/sparc/elf/configure.in: New file.
12531 * sysdeps/sparc/elf/configure: Generate.
12532
7a8b71c3
DM
12533 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12534 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12535 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12536 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12537 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12538
f1e86fca
JM
125392012-02-21 Joseph Myers <joseph@codesourcery.com>
12540
12541 * manual/install.texi: Do not mention specific glibc version
12542 numbers.
12543 * manual/libc.texinfo (VERSION, UPDATED): Update.
12544 (@copying): Use @copyright{} and range of years.
12545
0e7dfaef
JM
125462012-02-21 Joseph Myers <joseph@codesourcery.com>
12547
12548 [BZ #13695]
12549 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12550 [crti.S not in sysdirs] (generated): Do not append.
12551 [crti.S not in sysdirs] (omit-deps): Likewise.
12552 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12553 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12554 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12555 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12556 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12557 Likewise.
12558 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12559 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12560 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12561 * csu/defs.awk: Remove file.
12562 * sysdeps/generic/initfini.c: Likewise.
12563 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12564 variable.
12565 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12566 Likewise.
12567
599af3ca
JM
125682012-02-20 Joseph Myers <joseph@codesourcery.com>
12569
12570 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12571 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12572 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12573 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12574 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12575 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12576 <bits/epoll.h>.
12577 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12578 (__EPOLL_PACKED): Define to empty if not defined by
12579 <bits/epoll.h>.
12580 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12582 bits/epoll.h.
12583
0e499750
JM
125842012-02-20 Joseph Myers <joseph@codesourcery.com>
12585
12586 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12587 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12588 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12589 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12590 <bits/timerfd.h>.
12591 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12593 bits/timerfd.h.
12594
5ad91f6e
JM
125952012-02-20 Joseph Myers <joseph@codesourcery.com>
12596
12597 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12598 in C locale.
12599 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12600 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12601 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12603
06b99b02
AJ
126042012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12605
12606 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12607 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12608
7638c0fd
AS
126092012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12610
12611 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12612 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12613 defined.
12614 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12615 Likewise.
12616 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12617 entry for 2.16.
12618
92221550
AJ
126192012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12620
12621 * math/w_acos.c: Use non-signaling floating-point comparisons.
12622 * math/w_acosf.c: Likewise.
12623 * math/w_acosh.c: Likewise.
12624 * math/w_acoshf.c: Likewise.
12625 * math/w_acoshl.c: Likewise.
12626 * math/w_acosl.c: Likewise.
12627 * math/w_asin.c: Likewise.
12628 * math/w_asinf.c: Likewise.
12629 * math/w_asinl.c: Likewise.
12630 * math/w_atanh.c: Likewise.
12631 * math/w_atanhf.c: Likewise.
12632 * math/w_atanhl.c: Likewise.
12633 * math/w_exp2.c: Likewise.
12634 * math/w_exp2f.c: Likewise.
12635 * math/w_exp2l.c: Likewise.
12636 * math/w_j0.c: Likewise.
12637 * math/w_j0f.c: Likewise.
12638 * math/w_j0l.c: Likewise.
12639 * math/w_j1.c: Likewise.
12640 * math/w_j1f.c: Likewise.
12641 * math/w_j1l.c: Likewise.
12642 * math/w_jn.c: Likewise.
12643 * math/w_jnf.c: Likewise.
12644 * math/w_log.c: Likewise.
12645 * math/w_log10.c: Likewise.
12646 * math/w_log10f.c: Likewise.
12647 * math/w_log10l.c: Likewise.
12648 * math/w_log2.c: Likewise.
12649 * math/w_log2f.c: Likewise.
12650 * math/w_log2l.c: Likewise.
12651 * math/w_logf.c: Likewise.
12652 * math/w_logl.c: Likewise.
12653 * math/w_sqrt.c: Likewise.
12654 * math/w_sqrtf.c: Likewise.
12655 * math/w_sqrtl.c: Likewise.
12656 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12657 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12658 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12659 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12660 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12661
ebaf36eb
JM
126622012-02-19 Joseph Myers <joseph@codesourcery.com>
12663
12664 [BZ #9739]
12665 * manual/string.texi (strnlen): Use correct parameter name in
12666 equivalent expression.
12667
71c254a6
JM
126682012-02-19 Joseph Myers <joseph@codesourcery.com>
12669
12670 [BZ #11174]
12671 * manual/users.texi (seteuid): Consistently use neweuid for
12672 argument name.
12673
16d2c631
JM
126742012-02-19 Joseph Myers <joseph@codesourcery.com>
12675
12676 [BZ #13704]
12677 * manual/nss.texi (Services in the NSS configuration): Correct
12678 list of services in example configuration file.
12679
cd837b09
NB
126802012-02-19 Nick Bowler <nbowler@draconx.ca>
12681
12682 [BZ #11322]
12683 * manual/arith.texi: Remove statements about negative zero
12684 behaving identically to zero.
12685
02c4bbad
JM
126862012-02-18 Joseph Myers <joseph@codesourcery.com>
12687
12688 [BZ #5993]
12689 * manual/install.texi: Do not document upgrading from libc5.
12690
366842e7
JM
126912012-02-18 Joseph Myers <joseph@codesourcery.com>
12692
12693 [BZ #4596]
12694 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12695
dd54084d
DM
126962012-02-18 David S. Miller <davem@davemloft.net>
12697
12698 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12699 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12700 %o7 across the call.
12701 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12702 instead.
12703 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12704 SETUP_PIC_REG_LEAF.
12705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12706 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12707 * sysdeps/sparc/crtn.S: Likewise.
12708
2bcc53a3
UD
127092012-02-17 Ulrich Drepper <drepper@gmail.com>
12710
12711 * aout/Makefile: Remove.
12712
09c093b5
RK
127132012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12714
12715 [BZ #13058]
12716 * manual/examples/argp-ex1.c (main): Format definition in GNU
12717 style.
12718 * manual/examples/argp-ex2.c (main): Likewise.
12719 * manual/examples/argp-ex3.c (main): Likewise.
12720 * manual/examples/argp-ex4.c (main): Likewise.
12721 * manual/examples/longopt.c (main): Use new-style prototype
12722 definition.
12723 * manual/examples/strncat.c (main): Specify return type and use
12724 (void) for arguments.
12725 * manual/examples/subopt.c (main): Use char **argv argument.
12726
2ee633a2
JM
127272012-02-17 Joseph Myers <joseph@codesourcery.com>
12728
12729 [BZ #5077]
12730 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12731 rounding modes.
12732
0520adde
FB
127332012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12734
12735 [BZ #6907]
12736 * manual/string.texi (strchr): Change when strchrnul is
12737 recommended.
12738
3f4081cd
DGM
127392012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12740
12741 [BZ #174]
12742 * manual/locale.texi (setlocale): Document LOCPATH.
12743
d1b10e78
JM
127442012-02-17 Joseph Myers <joseph@codesourcery.com>
12745
12746 [BZ #10210]
12747 * manual/process.texi (execle): Move @dots{} before last argument.
12748
79c6869c
PB
127492012-02-17 Paul Bolle <pebolle@tiscali.nl>
12750
12751 [BZ #12047]
12752 * manual/charset.texi (Generic Charset Conversion): Fix typo
12753 (LC_TYPE -> LC_CTYPE).
12754
cc6e48bc
NB
127552012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12756
12757 [BZ #5805]
12758 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12759 (scalbnf): Likewise.
12760 (scalbnl): Likewise.
12761 (scalbln): Likewise.
12762 (scalblnf): Likewise.
12763 (scalblnl): Likewise.
12764 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12765 (vwarnx): Likewise.
12766 (verr): Likewise.
12767 (verrx): Likewise.
12768 * manual/filesys.texi (telldir): Use braces around return type.
12769 * manual/llio.texi (mmap): Add space after comma.
12770 (mmap64): Likewise.
12771 * manual/math.texi (jn): Use @var{} on parameter names.
12772 (jnf): Likewise.
12773 (jnl): Likewise.
12774 (yn): Likewise.
12775 (ynf): Likewise.
12776 (ynl): Likewise.
12777 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12778 line.
12779 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12780 "...".
12781 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12782 (sched_get_priority_max): Likewise.
12783 * manual/signal.texi (sigvec): Add space after comma.
12784 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12785 names.
12786 (if_indextoname): Likewise.
12787 (if_freenameindex): Likewise.
12788 (sendto): Use ',' instead of '.' in prototype.
12789 * manual/startup.texi (syscall): Use @dots{} instead of literal
12790 "...".
12791 * manual/stdio.texi (__fpending): Separate initial words of
12792 paragraph from @deftypefun line.
12793 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12794 "...".
12795 (vsyslog): Use @var{} on parameter names.
12796 * manual/terminal.texi (stty): Use @var{} on parameter names.
12797 * manual/users.texi (getutmp): Use @var{} on parameter names.
12798 (getutmpx): Likewise.
12799
5b23062f
JM
128002012-02-17 Joseph Myers <joseph@codesourcery.com>
12801
12802 [BZ #6884]
12803 * manual/stdio.texi (fopen): Fix typos in description of
12804 ",ccs=STRING".
12805
8dee4833
AJ
128062012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12807
12808 [BZ #4026]
12809 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12810 get clock_id definition.
12811
9078ce93
TS
128122012-02-17 Thomas Schwinge <thomas@schwinge.name>
12813
12814 [BZ #4822]
12815 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12816 (madvise): Cast every argument to void on its own.
12817
3835c55f
JM
128182012-02-17 Joseph Myers <joseph@codesourcery.com>
12819
12820 [BZ #9902]
12821 * manual/startup.texi (Exit Status): Fix typo.
12822
35c47e37
JM
128232012-02-17 Joseph Myers <joseph@codesourcery.com>
12824
12825 [BZ #10140]
12826 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12827 * manual/examples/argp-ex2.c: Likewise.
12828 * manual/examples/argp-ex3.c: Likewise.
12829
e3b69ca7
RH
128302012-02-16 Richard Henderson <rth@redhat.com>
12831
12832 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12833 * sysdeps/s390/s390-32/initfini.c: Remove.
12834 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12835 * sysdeps/s390/s390-64/initfini.c: Remove.
12836
df83af67
KK
128372012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12838
12839 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12840 compiler output for sysdeps/generic/initfini.c.
12841 * sysdeps/sh/elf/initfini.c: Remove file.
12842
f63f3380
DM
128432012-02-16 David S. Miller <davem@davemloft.net>
12844
fb59b3a4
DM
12845 [BZ #11494]
12846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12847
f63f3380
DM
12848 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12849 * sysdeps/sparc/crti.S: New file.
12850 * sysdeps/sparc/crtn.S: New file.
12851 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12852 * sysdeps/sparc/sparc64/Makefile: Likewise.
12853
df6a4a4a
MF
128542012-02-15 Mike Frysinger <vapier@gentoo.org>
12855
6dd8f3dc 12856 [BZ #3335]
df6a4a4a
MF
12857 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12858
1cac7236
RM
128592012-02-15 Roland McGrath <roland@hack.frob.com>
12860
d2c736f8
RM
12861 [BZ #4822]
12862 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12863
1cac7236
RM
12864 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12865 (write, read, close): Likewise.
12866 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12867
8e475601
JM
128682012-02-15 Joseph Myers <joseph@codesourcery.com>
12869
12870 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12871 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12872 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12873 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12874 <bits/signalfd.h>.
12875 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12877 bits/signalfd.h.
12878
ed656b40
MP
128792012-02-14 Marek Polacek <polacek@redhat.com>
12880
12881 * sysdeps/x86_64/crti.S: New file.
12882 * sysdeps/x86_64/crtn.S: New file.
12883 * sysdeps/x86_64/elf/initfini.c: Remove file.
12884
2a979d3a
JM
128852012-02-13 Joseph Myers <joseph@codesourcery.com>
12886
12887 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12888 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12889 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12890 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12891 <bits/inotify.h>.
12892 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12894 bits/inotify.h.
12895
2a418ac3
JM
128962012-02-13 Joseph Myers <joseph@codesourcery.com>
12897
12898 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12899 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12900 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12901 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12902 <bits/eventfd.h>.
12903 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12905 bits/eventfd.h.
12906
fb779be7
TS
129072012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12908
e19e83c5
RM
12909 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12910 __feraiseexcept instead of feraiseexcept.
7c35ffed 12911
fb779be7
TS
12912 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12913 nanosleep invocations.
12914 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12915 strings, and add error checking for a nanosleep invocations.
12916
59ba27a6
PE
129172012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12918
12919 Replace FSF snail mail address with URLs, as per GNU coding standards.
12920 Most of the snail mail addresses were wrong anyway, and omitting
12921 them makes the source code easier to maintain. Almost all of the
12922 changes are to license notices and to locale LC_IDENTIFICATION
12923 addresses, except for this one:
12924 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12925 not its snail mail address.
12926
57b957eb
RH
129272012-02-09 Richard Henderson <rth@twiddle.net>
12928
af850b1c
RH
12929 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12930 of kernel-features.h.
12931
57b957eb
RH
12932 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12933
6b73181a
MP
129342012-02-08 Marek Polacek <polacek@redhat.com>
12935
12936 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12937 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12938 * sysdeps/gnu/_G_config.h: Likewise.
12939 * sysdeps/generic/_G_config.h: Likewise.
12940
26ecc33a
AS
129412012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12942
6c6dbc63
AS
12943 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12944 tests.
12945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12946
e216c012
AS
12947 * sysdeps/powerpc/powerpc32/crti.S: New file.
12948 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12949 * sysdeps/powerpc/powerpc64/crti.S: New file.
12950 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12951
26ecc33a
AS
12952 * Makeconfig (have-initfini): Don't set.
12953 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12954 * configure.in (nopic_initfini): Don't substitute.
12955 * config.h.in (HAVE_INITFINI): Don't #undef.
12956 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12957 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12958
3add8e13
JM
129592012-02-08 Joseph Myers <joseph@codesourcery.com>
12960
12961 Support crti.S and crtn.S provided directly by architectures.
12962 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12963 [crti.S in sysdirs] (omit-deps): Likewise.
12964 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12965 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12966 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12967 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12968 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12969 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12970 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12971 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12972 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12973 compiler output for sysdeps/generic/initfini.c.
12974 * sysdeps/i386/elf/Makefile: Remove file.
12975 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12976
a22f12b4
MP
129772012-02-07 Marek Polacek <polacek@redhat.com>
12978
12979 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12980 * sysdeps/gnu/_G_config.h: Likewise.
12981 * sysdeps/mach/hurd/_G_config.h: Likewise.
12982
148cf100
MP
129832012-02-07 Marek Polacek <polacek@redhat.com>
12984
12985 * math/Makefile (tests): Add tst-CMPLX2.
12986 * math/tst-CMPLX2.c: New file.
12987
cfdc0dd7
AS
129882012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12989
84ba42c4
AS
12990 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12991
cfdc0dd7
AS
12992 * math/libm-test.inc (jn_test): Add missing L suffix.
12993
622c86f4
MP
129942012-02-06 Marek Polacek <polacek@redhat.com>
12995
12996 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12997 * sysdeps/i386/fpu/e_powf.S: Likewise.
12998 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12999 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13000 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13001 * sysdeps/i386/fpu/e_pow.S: Likewise.
13002 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13003 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13004 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13005 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13006 * sysdeps/i386/fpu/e_log2.S: Likewise.
13007 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13008 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13009 * sysdeps/i386/fpu/e_powl.S: Likewise.
13010 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13011 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13012 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13013 * sysdeps/i386/fpu/e_logl.S: Likewise.
13014 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13015 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13016 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13017 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13018 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13019 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13020 * sysdeps/i386/fpu/e_log.S: Likewise.
13021 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13022 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13023 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13024 * sysdeps/i386/fpu/e_logf.S: Likewise.
13025 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13026 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13027 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13028 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13029 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13030 * sysdeps/i386/fpu/e_log10.S: Likewise.
13031 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13032 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13033 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13034 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13035 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13036 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13037 * sysdeps/i386/asm-syntax.h: Likewise.
13038 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13039 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13040 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13041 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13042 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13043 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13044 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13045 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13046 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13047 * sysdeps/powerpc/sysdep.h: Likewise.
13048 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13049 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13050
d4a54ac6
JM
130512012-02-06 Joseph Myers <joseph@codesourcery.com>
13052
13053 [BZ #411]
13054 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13055
314054ea
JM
130562012-02-06 Joseph Myers <joseph@codesourcery.com>
13057
13058 * sysdeps/i386/sysdep.h: Include <features.h>.
13059 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13060 version.
13061
d8e0ca50
JM
130622012-02-05 Joseph Myers <joseph@codesourcery.com>
13063
13064 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13065 Define.
13066 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13067 LOAD_PIC_REG_STR.
13068
b1da7dd9
JM
130692012-02-03 Joseph Myers <joseph@codesourcery.com>
13070
13071 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13072 (SETUP_PIC_REG): Use GET_PC_THUNK.
13073 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13074 macro.
13075
9a1d9254
JM
130762012-02-03 Joseph Myers <joseph@codesourcery.com>
13077
13078 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13079 for non-PIC compilation.
13080 (SETUP_PIC_REG): Add .p2align directive.
13081 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13082 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13083 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13084 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13085 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13086 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13087 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13088 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13089 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13090 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13091 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13092 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13093 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13094 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13095 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13096 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13097 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13098 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13099 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13100 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13101 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13102 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13103 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13104 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13105 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13107 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13108 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13109 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13110 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13111 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13112 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13113 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13114 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13115 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13116 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13117 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13118 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13119 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13120 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13121 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13122
65dc3b75
JM
131232012-02-03 Joseph Myers <joseph@codesourcery.com>
13124
13125 * math/tst-CMPLX.c: Include <stdio.h>.
13126
d55bf177
JM
131272012-01-31 Joseph Myers <joseph@codesourcery.com>
13128
13129 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13130 float.
13131 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13132 * sysdeps/sparc/bits/mathdef.h: Likewise.
13133
69db4f8f
MP
131342012-01-31 Marek Polacek <polacek@redhat.com>
13135
13136 * libio/libio.h: Don't define _PARAMS.
13137 * locale/programs/config.h: Don't define PARAMS.
13138 * stdlib/strtol_l.c: Likewise.
13139 (__strtol_l): Remove PARAMS from the prototype.
13140
41b81892
UD
131412012-01-31 Ulrich Drepper <drepper@gmail.com>
13142
3b49edc0
UD
13143 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13144 names. Just use the correct names. Remove unnecessary wrapper
13145 functions.
13146 * malloc/arena.c: Likewise.
13147 * malloc/hooks.c: Likewise.
13148
41b81892
UD
13149 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13150 ARENA_TEST says not to. Simplify test for creation of a new arena.
13151 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13152
27a25b6e
UD
131532012-01-30 Ulrich Drepper <drepper@gmail.com>
13154
13155 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13156 into tail calls.
13157 (update_get_addr): New function.
13158 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13159 GET_ADDR_MODULE parameter.
13160
c8a89e7d
JM
131612012-01-30 Joseph Myers <joseph@codesourcery.com>
13162
13163 * crypt/cert.c: Remove __STDC__ conditionals.
13164 * crypt/crypt-entry.c: Likewise.
13165 * crypt/crypt_util.c: Likewise.
13166 * libio/filedoalloc.c: Likewise.
13167 * libio/fileops.c: Likewise.
13168 * libio/genops.c: Likewise.
13169 * libio/iofclose.c: Likewise.
13170 * libio/iofdopen.c: Likewise.
13171 * libio/iofopen.c: Likewise.
13172 * libio/iofopen64.c: Likewise.
13173 * libio/iogetdelim.c: Likewise.
13174 * libio/iopopen.c: Likewise.
13175 * libio/obprintf.c: Likewise.
13176 * libio/oldfileops.c: Likewise.
13177 * libio/oldiofclose.c: Likewise.
13178 * libio/oldiofdopen.c: Likewise.
13179 * libio/oldiofopen.c: Likewise.
13180 * libio/oldiopopen.c: Likewise.
13181 * libio/wfiledoalloc.c: Likewise.
13182 * libio/wgenops.c: Likewise.
13183 * locale/programs/xmalloc.c: Likewise.
13184 * misc/syslog.c: Likewise.
13185 * stdio-common/xbug.c: Likewise.
13186 * string/memchr.c: Likewise.
13187 * string/memcmp.c: Likewise.
13188 * string/memrchr.c: Likewise.
13189 * string/rawmemchr.c: Likewise.
13190 * sysdeps/posix/getcwd.c: Likewise.
13191 * time/strftime_l.c: Likewise.
13192
3b100462
JM
131932012-01-30 Joseph Myers <joseph@codesourcery.com>
13194
13195 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
13196 * config.make.in (config-cflags-sse2avx): Define.
13197 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13198 Fix typo.
13199
607998af
CM
132002012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13201
13202 * scripts/config.guess: Update from upstream config git repository.
13203 * scripts/config.sub: Likewise.
13204
3601428f
CM
132052012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13206
3ac8b282
CM
13207 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13208 (EM_NUM): Update.
13209 (R_TILEPRO_*, R_TILEGX_*): New macros.
13210
e034841e
CM
13211 * scripts/firstversions.awk: Fix bug in version range handling.
13212
540d7568
CM
13213 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13214
3601428f
CM
13215 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13216
463de862
CM
13217 * include/sys/epoll.h: New file.
13218 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13219 libc_hidden_def.
13220
73139a76
UD
132212012-01-28 Ulrich Drepper <drepper@gmail.com>
13222
96bc5b45
UD
13223 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13224 Avoid unnecessary __WORDSIZE == 64 test.
13225 (fmaxf): Use VEX format if possible.
13226 (fmax): Likewise.
13227 (fminf): Likewise.
13228 (fmin): Likewise.
13229
56f6f6a2
UD
13230 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13231 * math/math_private.h: Remove libc_fegetround* and
13232 libc_fesetround*.
13233 * sysdeps/i386/configure.in: Check for -msse2avx.
13234 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13235 also if SSE2AVX is defined.
13236 Remove libc_fegetround* and libc_fesetround*.
13237 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13238 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13239 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13240 of HAS_YMM_USABLE.
13241 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13242 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13243 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13244 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13245 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13246
73139a76
UD
13247 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13248
d73f93a4
AZ
132492012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13250
13251 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13252 size is not set.
13253 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13254
6ee65ed6
UD
132552012-01-27 Ulrich Drepper <drepper@gmail.com>
13256
13257 [BZ #13618]
13258 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13259 relocation.
13260 * Makeconfig (libm): Define.
13261 * elf/Makefile: Add rules to build and run tst-relsort1.
13262 * elf/tst-relsort1.c: New file.
13263 * elf/tst-relsort1mod1.c: New file.
13264 * elf/tst-relsort1mod2.c: New file.
13265
8db21882
JM
132662012-01-27 Joseph Myers <joseph@codesourcery.com>
13267
13268 * math/s_ldexp.c: Remove __STDC__ conditionals.
13269 * math/s_ldexpf.c: Likewise.
13270 * math/s_ldexpl.c: Likewise.
13271 * math/s_nextafter.c: Likewise.
13272 * math/s_nexttowardf.c: Likewise.
13273 * math/s_significand.c: Likewise.
13274 * math/s_significandf.c: Likewise.
13275 * math/s_significandl.c: Likewise.
13276 * math/w_jnl.c: Likewise.
13277 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13278 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13279 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13280 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13281 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13282 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13285 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13286 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13287 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13289 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13290 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13291 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13292 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13293 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13294 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13296 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13297 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13298 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13299 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13300 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13301 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13302 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13303 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13304 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13305 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13306 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13307 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13308 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13309 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13310 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13311 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13312 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13313 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13314 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13315 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13316 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13317 * sysdeps/ieee754/k_standard.c: Likewise.
13318 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13319 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13320 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13321 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13322 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13324 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13325 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13326 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13327 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13331 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13336 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13337 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13338 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13341 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13344 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13364 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13379 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13384 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13385 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13387 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13388 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13389 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13392 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13393 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13394 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13395 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13396 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13397 * sysdeps/ieee754/s_matherr.c: Likewise.
13398 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13399 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13402
965a54a4
JM
134032012-01-26 Joseph Myers <joseph@codesourcery.com>
13404
13405 * crypt/md5.h: Remove __STDC__ conditionals.
13406 * libio/libioP.h: Likewise.
13407 * locale/programs/config.h: Likewise.
13408 * sysdeps/generic/sysdep.h: Likewise.
13409 * sysdeps/i386/asm-syntax.h: Likewise.
13410 * sysdeps/s390/asm-syntax.h: Likewise.
13411 * sysdeps/unix/sysdep.h: Likewise.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13414
7071ad79
JM
134152012-01-26 Joseph Myers <joseph@codesourcery.com>
13416
13417 * libio/libio.h: Remove __STDC__ conditionals.
13418 * malloc/obstack.h: Likewise.
13419 * math/complex.h: Likewise.
13420 * math/math.h: Likewise.
13421 * sysdeps/generic/_G_config.h: Likewise.
13422 * sysdeps/gnu/_G_config.h: Likewise.
13423 * sysdeps/mach/hurd/_G_config.h: Likewise.
13424 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13425 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13426 * sysdeps/sparc/bits/mathdef.h: Likewise.
13427
afc5ed09
UD
134282012-01-26 Ulrich Drepper <drepper@gmail.com>
13429
13430 [BZ #13583]
13431 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13432 Clean up HAS_* macros.
afc5ed09 13433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13434 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13435 possible.
13436 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13437 HAS_AVX.
13438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13439 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13440 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13442 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13443
bdb6de1d
JM
134442012-01-25 Joseph Myers <joseph@codesourcery.com>
13445
13446 * elf/tst-unique3.cc (gets): Remove declaration.
13447 * elf/tst-unique3lib.cc (gets): Likewise.
13448 * elf/tst-unique3lib2.cc (gets): Likewise.
13449 * elf/tst-unique4.cc (gets): Likewise.
13450
b15549e6
UD
134512012-01-24 Ulrich Drepper <drepper@gmail.com>
13452
13453 * include/stdio.h: Add C++ protection. Add gets declarations and
13454 definitions.
13455 * debug/tst-chk1.c: Don't declare gets here.
13456 * stdio-common/tst-gets.c: Likewise.
13457
a037381f
JM
134582012-01-24 Joseph Myers <joseph@codesourcery.com>
13459
13460 * posix/glob: Remove directory.
13461
f1d4aa75
JM
134622012-01-24 Joseph Myers <joseph@codesourcery.com>
13463
13464 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13465
81c0c964
PT
134662012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13467
13468 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13469 of the non-standard EPFNOSUPPORT.
13470
0ea698ae
ST
134712011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13472
13473 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13474 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13475 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13476
d220b117
UD
134772012-01-21 Ulrich Drepper <drepper@gmail.com>
13478
13479 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13480
3e1aa84e
UD
134812012-01-20 Ulrich Drepper <drepper@gmail.com>
13482
13483 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13484 transient errors.
13485 * nscd/grpcache.c (cache_addgr): Likewise.
13486 * nscd/hstcache.c (cache_addhst): Likewise.
13487 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13488 * nscd/pwdcache.c (cache_addpw): Likewise.
13489 * nscd/servicescache.c (cache_addserv): Likewise.
13490
400aa020
UD
134912012-01-16 Ulrich Drepper <drepper@gmail.com>
13492
d77e7869
UD
13493 * malloc/malloc.c: Various cleanups.
13494 * malloc/hooks.c: Likewise.
13495
400aa020
UD
13496 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13497 * stdlib/bug-fmtmsg1.c: New file.
13498
13499 * stdlib/fmtmsg.c (init): Add missing unlock.
13500 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13501
e0a309cf
MP
135022012-01-12 Marek Polacek <polacek@redhat.com>
13503
13504 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13505 and _GNU_SOURCE.
13506
929d11c7
WS
135072012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13508
13509 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13510 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13511 macro to ensure uniqueness of label name.
13512 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13513 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13514
41d0e869
UD
135152012-01-11 Ulrich Drepper <drepper@gmail.com>
13516
0cc5ed3b
UD
13517 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13518
41d0e869
UD
13519 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13520 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13521 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13523
a47a831a
UD
135242012-01-10 Ulrich Drepper <drepper@gmail.com>
13525
daa891c0
UD
13526 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13527
13528 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13529 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13530 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13531
e58ef0f2
UD
13532 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13533
a47a831a 13534 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13535 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13536 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13537 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13538
13539 * math/bits/math-finite.h: Add ldexp support.
13540
a0bfc9c7
MP
135412012-01-10 Marek Polacek <polacek@redhat.com>
13542
13543 * locale/programs/localedef.h (show_archive_content): Add noreturn
13544 attribute.
13545
d6e97a1d
UD
135462012-01-09 Ulrich Drepper <drepper@gmail.com>
13547
13548 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13549
d5835c26
UD
135502012-01-08 Ulrich Drepper <drepper@gmail.com>
13551
e5f484c6
UD
13552 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13553
d5835c26
UD
13554 * io/Makefile (headers): Add bits/poll2.h.
13555
d1f741e9
WS
135562011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13557
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13559 typo #include statement.
13560
ec09c1c4
UD
135612012-01-08 Ulrich Drepper <drepper@gmail.com>
13562
13563 * include/sys/cdefs.h: Define __attribute_alloc_size.
13564 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13565 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13566 * elf/pldd.c: Likewise.
13567 * iconv/iconv_charmap.c: Likewise.
13568 * iconv/iconvconfig.c: Likewise.
13569 * iconv/strtab.c: Likewise.
13570 * locale/programs/locale.c: Likewise.
13571 * locale/programs/localedef.h: Likewise.
13572 * locale/programs/simple-hash.c: Likewise.
13573 * nscd/nscd.h: Likewise.
13574 * nss/makedb.c: Likewise.
13575 * sysdeps/generic/ldconfig.h: Likewise.
13576 * locale/programs/localedef.c: Remove xmalloc prototype.
13577 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13578
20b38e03
PP
135792012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13580
13581 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13582 appropriate.
13583
a0da5fe1
UD
135842012-01-08 Ulrich Drepper <drepper@gmail.com>
13585
1d5a644a 13586 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13587 * math/tst-CMPLX.c: New file.
1d5a644a 13588
8784a6db
UD
13589 * math/complex.h (CMPLXL): Fix typo.
13590
d9a216c0
UD
13591 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13592 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13593 GLIBC_2.16.
13594 * debug/tst-chk1.c: Add poll and ppoll tests.
13595 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13596 * include/sys/poll.h: Add hidden proto for ppoll.
13597 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13598 * sysdeps/mach/hurd/ppoll.c: Likewise.
13599 * io/ppoll.c: Likewise.
13600 * debug/poll_chk.c: New file.
13601 * debug/ppoll_chk.c: New file.
13602 * include/bits/poll2.h: New file.
13603 * io/bits/poll2.h: New file.
13604
ac097f5c
UD
13605 [BZ #1350]
13606 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13607
2119dcfa
UD
13608 * configure.in: static is always set to yes. Remove.
13609 * config.make.in: Don't set build-static.
13610 * Makeconfig: Remove use of build-static.
13611 * dlfcn/Makefile: Likewise.
13612 * elf/Makefile: Likewise.
13613 * math/Makefile: Likewise.
13614 * misc/Makefile: Likewise.
13615 * nptl/Makefile: Likewise.
13616 * sysdeps/mach/hurd/Makefile: Likewise.
13617
121766a9
UD
13618 * configure.in: PWD_P is not used anymore.
13619 * config.make.in: Remove PWD_P entry.
13620
51a1d39c 13621 * configure.in: Remove last remnants of RANLIB.
8720d066 13622 No need to check for signed size_t anymore.
215f4bdc
UD
13623 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13624 and IA-64.
3857022a 13625 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13626 * aclocal.m4: Likewise.
13627
d3ed7225
UD
13628 * wcsmbs/mbrtoc16.c: Implement using towc function.
13629 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13630 * wcsmbs/wcsmbsload.c: Likewise.
13631 * iconv/gconv_simple.c: Likewise.
13632 * iconv/gconv_int.h: Likewise.
13633 * iconv/gconv_builtin.h: Likewise.
13634 * iconv/iconv_prog.c: Remove CHAR16 handling.
13635
13636 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13637
13638 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13639
a0da5fe1
UD
13640 * configure.in: Remove --with-elf and --enable-bounded options.
13641 Dont set base_machine for ia64. More non-ELF conditions removed.
13642 Remove testing and setting of leading underscore information.
13643 * config.make.in (build-bounded): Set to no.
13644 * config.h.in: Remove NO_UNDERSCORES entry.
13645 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13646 them.
13647 * csu/start.c: Remove !NO_UNDERSCORE code.
13648 * locale/localeinfo.h: Likewise.
13649 * sysdeps/generic/machine-gmon.h: Likewise.
13650 * sysdeps/generic/sysdep.h: Likewise.
13651 * sysdeps/i386/sysdep.h: Likewise.
13652 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13653 * sysdeps/mach/sysdep.h: Likewise.
13654 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13655 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13656 * sysdeps/sh/sysdep.h: Likewise.
13657 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13658 * sysdeps/unix/i386/sysdep.S: Likewise.
13659 * sysdeps/unix/sparc/start.c: Likewise.
13660 * sysdeps/unix/sparc/sysdep.S: Likewise.
13661 * sysdeps/unix/sparc/sysdep.h: Likewise.
13662 * sysdeps/unix/start.c: Likewise.
13663 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13664 * sysdeps/x86_64/sysdep.h: Likewise.
13665
df78418a
UD
136662012-01-07 Ulrich Drepper <drepper@gmail.com>
13667
a784e502
UD
13668 [BZ #13553]
13669 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13670 for non-gcc.
13671 * argp/argp-fmtstream.h: Use const instead __const.
13672 * argp/argp.h: Likewise.
13673 * assert/assert.h: Likewise.
13674 * bits/fenv.h: Likewise.
13675 * bits/sched.h: Likewise.
13676 * bits/sigset.h: Likewise.
13677 * bits/sigthread.h: Likewise.
13678 * catgets/nl_types.h: Likewise.
13679 * conform/data/pthread.h-data: Likewise.
13680 * crypt/crypt-private.h: Likewise.
13681 * crypt/crypt.h: Likewise.
13682 * crypt/crypt_util.c: Likewise.
13683 * ctype/ctype.h: Likewise.
13684 * debug/execinfo.h: Likewise.
13685 * debug/mbsnrtowcs_chk.c: Likewise.
13686 * debug/mbsrtowcs_chk.c: Likewise.
13687 * debug/wcsnrtombs_chk.c: Likewise.
13688 * debug/wcsrtombs_chk.c: Likewise.
13689 * debug/wcstombs_chk.c: Likewise.
13690 * dirent/dirent.h: Likewise.
13691 * dlfcn/dlfcn.h: Likewise.
13692 * elf/neededtest4.c: Likewise.
13693 * grp/grp.h: Likewise.
13694 * gshadow/gshadow.h: Likewise.
13695 * iconv/gconv.h: Likewise.
13696 * iconv/gconv_int.h: Likewise.
13697 * iconv/gconv_simple.c: Likewise.
13698 * iconv/iconv.h: Likewise.
13699 * iconv/loop.c: Likewise.
13700 * iconv/skeleton.c: Likewise.
13701 * include/aio.h: Likewise.
13702 * include/aliases.h: Likewise.
13703 * include/argz.h: Likewise.
13704 * include/arpa/inet.h: Likewise.
13705 * include/assert.h: Likewise.
13706 * include/dirent.h: Likewise.
13707 * include/dlfcn.h: Likewise.
13708 * include/execinfo.h: Likewise.
13709 * include/fcntl.h: Likewise.
13710 * include/fenv.h: Likewise.
13711 * include/glob.h: Likewise.
13712 * include/grp.h: Likewise.
13713 * include/libintl.h: Likewise.
13714 * include/mntent.h: Likewise.
13715 * include/netdb.h: Likewise.
13716 * include/pwd.h: Likewise.
13717 * include/rpc/netdb.h: Likewise.
13718 * include/sched.h: Likewise.
13719 * include/search.h: Likewise.
13720 * include/shadow.h: Likewise.
13721 * include/signal.h: Likewise.
13722 * include/stdio.h: Likewise.
13723 * include/stdlib.h: Likewise.
13724 * include/string.h: Likewise.
13725 * include/sys/socket.h: Likewise.
13726 * include/sys/stat.h: Likewise.
13727 * include/sys/statfs.h: Likewise.
13728 * include/sys/statvfs.h: Likewise.
13729 * include/sys/syslog.h: Likewise.
13730 * include/sys/time.h: Likewise.
13731 * include/sys/uio.h: Likewise.
13732 * include/time.h: Likewise.
13733 * include/unistd.h: Likewise.
13734 * include/utmp.h: Likewise.
13735 * include/wchar.h: Likewise.
13736 * include/wctype.h: Likewise.
13737 * inet/aliases.h: Likewise.
13738 * inet/arpa/inet.h: Likewise.
13739 * inet/netinet/ether.h: Likewise.
13740 * inet/netinet/in.h: Likewise.
13741 * intl/libintl.h: Likewise.
13742 * io/bits/fcntl2.h: Likewise.
13743 * io/fcntl.h: Likewise.
13744 * io/ftw.h: Likewise.
13745 * io/sys/poll.h: Likewise.
13746 * io/sys/stat.h: Likewise.
13747 * io/sys/statfs.h: Likewise.
13748 * io/sys/statvfs.h: Likewise.
13749 * io/utime.h: Likewise.
13750 * libio/bits/stdio.h: Likewise.
13751 * libio/bits/stdio2.h: Likewise.
13752 * libio/libio.h: Likewise.
13753 * libio/libioP.h: Likewise.
13754 * libio/stdio.h: Likewise.
13755 * locale/lc-ctype.c: Likewise.
13756 * locale/locale.h: Likewise.
13757 * login/utmp.h: Likewise.
13758 * malloc/arena.c: Likewise.
13759 * malloc/malloc.c: Likewise.
13760 * malloc/malloc.h: Likewise.
13761 * malloc/mcheck.c: Likewise.
13762 * malloc/mtrace.c: Likewise.
13763 * math/bits/mathcalls.h: Likewise.
13764 * math/fenv.h: Likewise.
13765 * math/math_private.h: Likewise.
13766 * misc/bits/error.h: Likewise.
13767 * misc/bits/syslog.h: Likewise.
13768 * misc/err.h: Likewise.
13769 * misc/error.h: Likewise.
13770 * misc/fstab.h: Likewise.
13771 * misc/mntent.h: Likewise.
13772 * misc/regexp.h: Likewise.
13773 * misc/search.h: Likewise.
13774 * misc/sgtty.h: Likewise.
13775 * misc/sys/mman.h: Likewise.
13776 * misc/sys/syslog.h: Likewise.
13777 * misc/sys/uio.h: Likewise.
13778 * misc/sys/xattr.h: Likewise.
13779 * misc/ttyent.h: Likewise.
13780 * nis/rpcsvc/ypclnt.h: Likewise.
13781 * nss/nss.h: Likewise.
13782 * posix/bits/unistd.h: Likewise.
13783 * posix/fnmatch.h: Likewise.
13784 * posix/glob.h: Likewise.
13785 * posix/sched.h: Likewise.
13786 * posix/spawn.h: Likewise.
13787 * posix/sys/wait.h: Likewise.
13788 * posix/unistd.h: Likewise.
13789 * posix/wordexp.h: Likewise.
13790 * pwd/pwd.h: Likewise.
13791 * resolv/netdb.h: Likewise.
13792 * resource/sys/resource.h: Likewise.
13793 * rt/aio.h: Likewise.
13794 * rt/bits/mqueue2.h: Likewise.
13795 * rt/mqueue.h: Likewise.
13796 * shadow/shadow.h: Likewise.
13797 * signal/signal.h: Likewise.
13798 * socket/send.c: Likewise.
13799 * socket/sendto.c: Likewise.
13800 * socket/sys/socket.h: Likewise.
13801 * stdio-common/printf.h: Likewise.
13802 * stdlib/bits/stdlib.h: Likewise.
13803 * stdlib/fmtmsg.h: Likewise.
13804 * stdlib/monetary.h: Likewise.
13805 * stdlib/stdlib.h: Likewise.
13806 * stdlib/ucontext.h: Likewise.
13807 * streams/stropts.h: Likewise.
13808 * string/argz.h: Likewise.
13809 * string/bits/string2.h: Likewise.
13810 * string/string.h: Likewise.
13811 * string/strings.h: Likewise.
13812 * sunrpc/rpc/auth.h: Likewise.
13813 * sunrpc/rpc/auth_des.h: Likewise.
13814 * sunrpc/rpc/clnt.h: Likewise.
13815 * sunrpc/rpc/netdb.h: Likewise.
13816 * sunrpc/rpc/pmap_clnt.h: Likewise.
13817 * sunrpc/rpc/xdr.h: Likewise.
13818 * sysdeps/generic/inttypes.h: Likewise.
13819 * sysdeps/generic/net/if.h: Likewise.
13820 * sysdeps/generic/sys/swap.h: Likewise.
13821 * sysdeps/gnu/net/if.h: Likewise.
13822 * sysdeps/gnu/utmpx.h: Likewise.
13823 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13824 * sysdeps/i386/i486/bits/string.h: Likewise.
13825 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13826 * sysdeps/s390/bits/string.h: Likewise.
13827 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13828 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13829 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13830 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13831 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13832 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13833 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13834 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13835 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13836 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13837 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13838 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13839 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13840 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13841 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13842 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13843 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13844 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13845 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13846 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13847 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13848 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13849 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13850 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13851 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13852 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13853 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13854 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13855 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13856 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13857 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13858 * sysvipc/sys/ipc.h: Likewise.
13859 * sysvipc/sys/msg.h: Likewise.
13860 * sysvipc/sys/sem.h: Likewise.
13861 * sysvipc/sys/shm.h: Likewise.
13862 * termios/termios.h: Likewise.
13863 * time/sys/time.h: Likewise.
13864 * time/time.h: Likewise.
13865 * wcsmbs/bits/wchar2.h: Likewise.
13866 * wcsmbs/uchar.h: Likewise.
13867 * wcsmbs/wchar.h: Likewise.
13868 * wctype/wctype.h: Likewise.
13869
0269750c
UD
13870 [BZ #13551]
13871 * Makeconfig: Remove all but ELF support including AIX support.
13872 * Makerules: Likewise.
13873 * config.h.in: Likewise.
13874 * config.make.in: Likewise.
13875 * configure: Likewise.
13876 * configure.in: Likewise.
13877 * csu/Makefile: Likewise.
13878 * csu/version.c: Likewise.
13879 * debug/Makefile: Likewise.
13880 * dlfcn/Makefile: Likewise.
13881 * elf/Makefile: Likewise.
13882 * extra-lib.mk: Likewise.
13883 * iconv/Makefile: Likewise.
13884 * include/libc-symbols.h: Likewise.
13885 * include/shlib-compat.h: Likewise.
13886 * resolv/Makefile: Likewise.
13887 * resolv/res_libc.c: Likewise.
13888 * rt/Makefile: Likewise.
13889 * sysdeps/i386/asm-syntax.h: Likewise.
13890 * sysdeps/i386/sysdep.h: Likewise.
13891 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13892 * sysdeps/mach/sysdep.h: Likewise.
13893 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13894 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13895 * sysdeps/s390/asm-syntax.h: Likewise.
13896 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13897 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13898 * sysdeps/sh/sysdep.h: Likewise.
13899 * sysdeps/unix/sparc/sysdep.h: Likewise.
13900 * sysdeps/wordsize-32/divdi3.c: Likewise.
13901 * sysdeps/x86_64/sysdep.h: Likewise.
13902
00bbd29b
UD
13903 * argp/Versions: Remove _argp_unlock_xxx.
13904
13905 [BZ #13559]
13906 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13907 * abilist/libBrokenLocale.abilist: Likewise.
13908 * abilist/libanl.abilist: Likewise.
13909 * abilist/libc.abilist: Likewise.
13910 * abilist/libcrypt.abilist: Likewise.
13911 * abilist/libdl.abilist: Likewise.
13912 * abilist/libm.abilist: Likewise.
13913 * abilist/libnsl.abilist: Likewise.
13914 * abilist/libpthread.abilist: Likewise.
13915 * abilist/libresolv.abilist: Likewise.
13916 * abilist/librt.abilist: Likewise.
13917 * abilist/libthread_db.abilist: Likewise.
13918 * abilist/libutil.abilist: Likewise.
13919 * abilist/libnss_db.abilist: New file.
13920
13921 * scripts/abilist.awk: Add support for indirect functions.
13922
a2693a0e
UD
13923 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13924
3f05895f
UD
13925 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13926
ecb6fb48
UD
13927 * shlib-versions: Remove entries for ports architectures.
13928
664f8cb9
UD
13929 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13930 files in ports.
13931 * elf/stackguard-macros.h: Remove support for IA-64.
13932 * elf/tst-auditmod1.c: Likewise.
13933 * sysdeps/generic/ldsodefs.h: Likewise.
13934
7ae81d88
UD
13935 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13936 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13937 configure files.
13938
bdeba135
UD
13939 [BZ #13552]
13940 * configure.in: Remove --enable-omitfp support.
13941 * FAQ.in: Adjust.
13942 * config.make.in: Likewise.
13943 * Makeconfig: Likewise.
13944 * manual/install.texi: Likewise.
13945
d75a0a62
UD
13946 In case anyone cares, the IA-64 architecture could move to ports.
13947 * sysdeps/ia64/*: Removed.
13948 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13949 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13950
dcc9756b
UD
13951 [BZ #13555]
13952 * configure.in: Remove entries for unsupported architectures.
13953
d3761ebc 13954 [BZ #13533]
9954432e
UD
13955 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13956 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13957 routines.
13958 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13959 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13960 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13961 fall back to using wcrtomb.
13962 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13963 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13964 renaming.
13965 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13966 * wcsmbs/tst-c16c32-1.c: New file.
13967
13968 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13969 local variable.
13970
c3a87236
UD
13971 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13972
28926a1b
UD
13973 * elf/tst-unique3.cc: Add explicit declaration of gets.
13974 * elf/tst-unique3lib.cc: Likewise.
13975 * elf/tst-unique3lib2.cc: Likewise.
13976 * elf/tst-unique4.cc: Likewise.
13977
df78418a
UD
13978 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13979
8ecd6b2a
JM
139802012-01-06 Joseph Myers <joseph@codesourcery.com>
13981
13982 [BZ #13566]
13983 * assert/assert.h (static_assert): Don't define for C++.
13984 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13985 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13986
9f115170
UD
139872012-01-03 Ulrich Drepper <drepper@gmail.com>
13988
5e0d0300
UD
13989 * iconv/loop.c (single loop): Fix assertion in storing of
13990 remaining bytes.
13991
9f115170
UD
13992 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13993
81fb02b0
UD
139942012-01-01 Ulrich Drepper <drepper@gmail.com>
13995
13996 * posix/getconf.c: Update copyright year.
13997 * nss/getent.c: Likewise.
a316c1f6 13998 * nss/makedb.c: Likewise.
81fb02b0
UD
13999 * iconv/iconvconfig.c: Likewise.
14000 * iconv/iconv_prog.c: Likewise.
14001 * elf/ldconfig.c: Likewise.
a316c1f6
UD
14002 * elf/pldd.c: Likewise.
14003 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
14004 * catgets/gencat.c: Likewise.
14005 * csu/version.c: Likewise.
14006 * elf/ldd.bash.in: Likewise.
14007 * elf/sprof.c (print_version): Likewise.
14008 * locale/programs/locale.c: Likewise.
14009 * locale/programs/localedef.c: Likewise.
a316c1f6 14010 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
14011 * nscd/nscd.c (print_version): Likewise.
14012 * debug/xtrace.sh: Likewise.
14013 * malloc/memusage.sh: Likewise.
14014 * malloc/mtrace.pl: Likewise.
14015 * debug/catchsegv.sh: Likewise.
14016
2ba92745
JJ
140172011-12-30 Jakub Jelinek <jakub@redhat.com>
14018
14019 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14020 pure attribute.
14021
dadebdae
UD
140222011-12-24 Ulrich Drepper <drepper@gmail.com>
14023
d3761ebc 14024 [BZ #13533]
db6af3eb
UD
14025 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14026 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14027 transformations.
14028 * iconv/gconv_int.h: Likewise.
14029 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14030 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14031 from libc for GLIBC_2.16.
14032 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14033 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14034 * wcsmbs/uchar.h: Really define mbstate_t.
14035 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14036 * wcsmbs/c16rtomb.c: New file.
14037 * wcsmbs/mbrtoc16.c: New file.
14038 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14039 for C/POSIX locale.
14040 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14041 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14042
dadebdae
UD
14043 * wcsmbs/wchar.h: Add missing __restrict.
14044
67371b56
UD
140452011-12-23 Ulrich Drepper <drepper@gmail.com>
14046
74033a25
UD
14047 [BZ #13532]
14048 * time/Makefile (routines): Add timespec_get.
14049 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14050 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14051 timespec for ISO C11.
14052 * time/timespec_get.c: New file.
14053 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14054 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14055
380d7e87
UD
14056 [BZ #13531]
14057 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14058 * stdlib/stdlib.h: Declare aligned_alloc.
14059 * Versions.def: Add GLIBC_2.16 for libc.
14060 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14061
4e9e7a35
UD
14062 [BZ 13527]
14063 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14064 ISO C11.
14065
380d7e87 14066 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
14067 code.
14068
03a71829
UD
14069 [BZ #13528]
14070 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14071
839e283e
UD
14072 [BZ #13529]
14073 * assert/assert.h (static_assert): Define.
14074
ce5294e2 14075 * version.h: Update for 2.16 development version.
90fa7312 14076
8d44e150 14077 [BZ #13526]
d7809905
UD
14078 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14079 _ISOC11_SOURCE.
14080
c0da14cd
UD
14081 * version.h (RELEASE): Bump for 2.15 release.
14082 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14083
530a3249
MP
14084 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14085 Patch by Marek Polacek <mpolacek@redhat.com>.
14086
67371b56
UD
14087 * bits/byteswap.h: Protect long long constants with __extension__.
14088 * sysdeps/i386/bits/byteswap.h: Likewise.
14089 * sysdeps/ia64/bits/byteswap.h: Likewise.
14090 * sysdeps/s390/bits/byteswap.h: Likewise.
14091 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14092
15db4de1
LD
140932011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14094
14095 [BZ #13540]
bbe315ea
LD
14096 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14097 destination buffer.
15db4de1
LD
14098 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14099
2b2596b1
MP
141002011-12-23 Marek Polacek <polacek@redhat.com>
14101
14102 * elf/dl-addr.c (determine_info): Add inline keyword.
14103 * elf/tst-auditmod4b.c (check_avx): Likewise.
14104 * elf/tst-auditmod6b.c (check_avx): Likewise.
14105 * elf/tst-auditmod6c.c (check_avx): Likewise.
14106 * elf/tst-auditmod7b.c (check_avx): Likewise.
14107
70c6c246
UD
141082011-12-23 Ulrich Drepper <drepper@gmail.com>
14109
14110 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14111 !__SSE_MATH__.
14112
c044cf14
LD
141132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14114
15db4de1 14115 [BZ #13540]
c044cf14
LD
14116 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14117 processing for last bytes.
14118
6b13d9d9
BH
141192011-08-06 Bruno Haible <bruno@clisp.org>
14120
d455f537
BH
14121 [BZ #13061]
14122 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14123 U+0385, not to U+1FEE.
14124
6b13d9d9
BH
14125 [BZ #13062]
14126 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14127 entry for U+00A5 U+0301.
14128
db910efd
UD
141292011-12-22 Ulrich Drepper <drepper@gmail.com>
14130
27deeafc
UD
14131 [BZ #13166]
14132 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14133 buffer for the output is too small.
14134
aed9d171
UD
14135 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14136 optimization.
14137
db910efd
UD
14138 [BZ #13185]
14139 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14140 SSE flags if possible.
14141
2bd779ae
LD
141422011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14143
e7f9dac3 14144 [BZ #13540]
2bd779ae
LD
14145 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14146 processing for last bytes.
14147
154bfc16
JM
141482011-12-22 Joseph Myers <joseph@codesourcery.com>
14149
14150 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14151 (syscall-list-default-options, syscall-list-default-condition)
14152 (syscall-list-includes): Define.
14153 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14154 list of ABIs and options and #if conditions for each ABI. Do not
14155 handle common syscalls between ABIs specially.
14156 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14157 Remove.
14158 (syscall-list-variants, syscall-list-32bit-options)
14159 (syscall-list-32bit-condition, syscall-list-64bit-options)
14160 (syscall-list-64bit-condition): Define.
14161 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14162 (syscall-list-variants, syscall-list-32bit-options)
14163 (syscall-list-32bit-condition, syscall-list-64bit-options)
14164 (syscall-list-64bit-condition): Define.
14165 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14166 Remove.
14167 (syscall-list-variants, syscall-list-32bit-options)
14168 (syscall-list-32bit-condition, syscall-list-64bit-options)
14169 (syscall-list-64bit-condition): Define.
14170 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14171 Remove.
14172 (syscall-list-variants, syscall-list-32bit-options)
14173 (syscall-list-32bit-condition, syscall-list-64bit-options)
14174 (syscall-list-64bit-condition): Define.
14175
21eaf3a5
UD
141762011-12-22 Ulrich Drepper <drepper@gmail.com>
14177
16c6f992
UD
14178 * locale/iso-639.def: Add brx entry.
14179
41043168
UD
14180 [BZ #13328]
14181 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14182 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14183
21eaf3a5
UD
14184 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14185 __feraiseexcept_renamed.
14186
e3a851a2
UD
141872011-12-21 Ulrich Drepper <drepper@gmail.com>
14188
4920765e
UD
14189 [BZ #13538]
14190 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14191 EPOLLET with unsigned values.
14192 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14193 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14194
e3a851a2
UD
14195 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14196 to large cancellation.
14197 * math/s_cacoshf.c: Likewise.
14198 * math/s_cacoshl.c: Likewise.
14199
b27e24b8
RK
142002011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14201
14202 [BZ #13305]
aebefeee 14203 [BZ #12786]
b27e24b8
RK
14204 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14205 * math/s_cacoshf.c: Likewise.
14206 * math/s_cacoshl.c: Likewise.
14207
ee190f67
UD
142082011-12-21 Ulrich Drepper <drepper@gmail.com>
14209
14210 [BZ #13439]
14211 * iconv/gconv.h: Define __GCONV_SWAP.
14212 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14213 * iconvdata/utf-16.c: Likewise.
14214 * iconvdata/utf-32.c: Likewise.
14215
707f25df
AS
142162011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14217
14218 [BZ #13524]
14219 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14220 numerator after shifting it by one limb.
14221
d2daaa1e
RÁE
142222011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14223
14224 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14225 under [__USE_EXTERN_INLINES].
14226
a4647e72
UD
142272011-12-17 Ulrich Drepper <drepper@gmail.com>
14228
14229 [BZ #13446]
14230 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14231
f0b264f1
AZ
142322011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14233
14234 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14235 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14236 optimized code.
14237 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14238 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14239 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14240 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14241 for strncasecmp/strncasecmp_l compilation.
14242 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14243 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14244
8ef4f244
MP
142452011-12-08 Marek Polacek <mpolacek@redhat.com>
14246
14247 [BZ #13484]
14248 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14249 of __asm__.
14250
97ac2654
UD
142512011-12-17 Ulrich Drepper <drepper@gmail.com>
14252
14253 [BZ #13506]
14254 * time/tzfile.c (__tzfile_read): Check values from file header.
14255
91d2a845
WS
142562011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14257
14258 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14259 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14260 * powerpc/powerpc32/dl-start.S: Likewise.
14261 * powerpc/powerpc32/elf/start.S: Likewise.
14262 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14263 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14264 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14265 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14266 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14267 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14268 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14269 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14270 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14271 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14272 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14273 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14274 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14275 * powerpc/powerpc32/memset.S: Likewise.
14276 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14277 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14278 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14279 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14280 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14281 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14282 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14283 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14284 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14285 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14286 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14287 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14288 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14289
a1267ba1
AZ
142902011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14291
14292 * math/libm-test.inc: Added more nearbyint tests.
14293 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14294 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14295 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14296 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14297
ad8ac1bd
RL
142982011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14299
14300 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14301 FD_CLOEXEC.
14302
1d3e4b61
UD
143032011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14304
14305 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14306 Add wcscpy-ssse3 wcscpy-c.
14307 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14308 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14309 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14310 * sysdeps/x86_64/wcschr.S: New file.
14311 * sysdeps/x86_64/wcsrchr.S: New file.
14312 * string/test-strcmp.c: Remove checking of wcscmp function for
14313 wrong alignments.
14314 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14315 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14316 wcsrchr-sse2 wcsrchr-c.
14317 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14318 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14319 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14320 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14321 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14322 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14323 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14324 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14325 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14326 * wcsmbc/wcschr.c (WCSCHR): New macro.
14327
5b330a2d
UD
143282011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14329
14330 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14331 * wcsmbs/test-wcsrchr.c: New file.
14332 * string/test-strrchr.c: Add wcsrchr support.
14333 (WIDE): New macro.
14334 * wcsmbs/test-wcscpy.c: New file.
14335 * string/test-strcpy.c: Add wcscpy support.
14336 (WIDE): New macro.
26428b7c 14337
f039c043
UD
143382011-12-10 Ulrich Drepper <drepper@gmail.com>
14339
14340 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14341 the inner loop.
14342
850fb039
AS
143432011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14344
14345 [BZ #13472]
14346 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14347
4efbd5cb
UD
143482011-12-04 Ulrich Drepper <drepper@gmail.com>
14349
52ff5dd0 14350 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14351 Minor optimizations.
52ff5dd0 14352
4efbd5cb
UD
14353 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14354 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14355 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14356
8a426e12
UD
143572011-12-03 Ulrich Drepper <drepper@gmail.com>
14358
aff2453d
UD
14359 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14360 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14361 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14362 for gcc to avoid warnings.
14363 * inet/Makefile (tests): Add tst-checks.
14364 * inet/tst-checks.c: New file.
14365
14366 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14367 warning.
14368
14369 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14370 __wmemcmp_sse2.
14371
14372 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14373 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14374
8a426e12
UD
14375 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14376
9bea3473
UD
143772011-12-02 Ulrich Drepper <drepper@gmail.com>
14378
3a965496
UD
14379 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14380 problem.
14381
9bea3473
UD
14382 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14383
f101631b
UD
143842011-11-29 Joseph Myers <joseph@codesourcery.com>
14385
14386 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14387 conditional on GCC version.
14388 (__arch_compare_and_exchange_val_8_acq)
14389 (__arch_compare_and_exchange_val_16_acq)
14390 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14391 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14392 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14393
a98275aa
UD
143942011-12-02 Joseph Myers <joseph@codesourcery.com>
14395
14396 * sysdeps/sh/backtrace.c: New file.
14397
d4cc29a2
AS
143982011-12-02 Andreas Schwab <schwab@redhat.com>
14399
14400 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14401 parenthesis.
14402
6257af2d
AS
144032011-12-01 Andreas Schwab <schwab@redhat.com>
14404
14405 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14406 falling back to utime.
14407
b5f44c1a
AS
144082011-11-30 Andreas Schwab <schwab@redhat.com>
14409
14410 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14411 expectations for float.
14412
f3a6cc0a
AS
144132011-11-29 Andreas Schwab <schwab@redhat.com>
14414
14415 * locale/weight.h (findidx): Add parameter len.
14416 * locale/weightwc.h (findidx): Likewise.
14417 * posix/fnmatch_loop.c (FCT): Adjust caller.
14418 * posix/regcomp.c (build_equiv_class): Likewise.
14419 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14420 * posix/regexec.c (check_node_accept_bytes): Likewise.
14421 * string/strcoll_l.c (STRCOLL): Likewise.
14422 * string/strxfrm_l.c (STRXFRM): Likewise.
14423
9d65ea3a
UD
144242011-11-17 Ulrich Drepper <drepper@gmail.com>
14425
14426 * Makefile.in: Remove CVSOPT handling.
14427 * configure.in: Remove use of AC_REVISION.
14428 * iconvdata/Makefile (distribute): No need to filter out CVS.
14429 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14430 handling.
14431
5583a086
AS
144322011-11-16 Andreas Schwab <schwab@redhat.com>
14433
14434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14435 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14436 [USE_AS_STRNCASECMP_L]: Likewise.
14437 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14438 NO_TLS_DIRECT_SEG_REFS.
14439 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14440 Fix argument offsets for non-PIC.
14441 [USE_AS_STRNCASECMP_L]: Likewise.
14442 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14443 NO_TLS_DIRECT_SEG_REFS.
14444
d62a8200
UD
144452011-11-15 Ulrich Drepper <drepper@gmail.com>
14446
9d65ea3a 14447 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14448 O_CLOEXEC.
14449 * locale/loadlocale.c (_nl_load_locale): Likewise.
14450
09f93bd3
AS
144512011-11-15 Andreas Schwab <schwab@redhat.com>
14452
446514f9
AS
14453 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14454 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14455 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14456 (SYSCALL_GETTIME): Set errno on error.
14457
09f93bd3
AS
14458 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14459 count references to noai6ai_cached.
14460
312be3f9
UD
144612011-11-15 Ulrich Drepper <drepper@gmail.com>
14462
14463 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14464
14465 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14466 FD_CLOEXEC for /proc/self/maps.
14467
14468 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14469 FD_CLOEXEC for /proc/meminfo.
14470
14471 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14472 gai.conf.
14473
14474 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14475 FD_CLOEXEC for given file.
14476
14477 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14478
14479 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14480 FD_CLOEXEC for /etc/hosts.
14481 (_gethtent): Likewise.
14482
14483 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14484
14485 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14486 cancellation and set FD_CLOEXEC for /etc/netgroup.
14487
14488 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14489 reading /etc/publickey.
14490
14491 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14492 allow cancellation when reading /etc/group.
14493
14494 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14495 cancellation.
14496 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14497
14498 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14499 when using data file.
14500
14501 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14502
14503 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14504 (write_nis_obj): Use "c" and "e" in fopen.
14505
14506 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14507
14508 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14509
14510 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14511
14512 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14513
14514 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14515 locale.alias.
14516
14517 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14518
14519 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14520
14521 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14522
14523 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14524 file parsing and set FD_CLOEXEC.
14525
82af0fa8
UD
145262011-11-14 Ulrich Drepper <drepper@gmail.com>
14527
14528 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14529
a5fb313c
AS
145302011-11-14 Andreas Schwab <schwab@redhat.com>
14531
14532 * malloc/arena.c (arena_get2): Don't call reused_arena when
14533 _int_new_arena failed.
14534
6abf3465
UD
145352011-11-14 Ulrich Drepper <drepper@gmail.com>
14536
14537 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14538 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14539 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14540 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14541 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14542 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14543 to compile strcasecmp and strncasecmp.
14544 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14545 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14546
14547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14548
76e3966e
UD
145492011-11-13 Ulrich Drepper <drepper@gmail.com>
14550
14551 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14552 locale-defines.sym to gen-as-const-headers.
14553 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14554 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14555 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14556 to compile strcasecmp and strncasecmp.
14557 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14558 strcasecmp_l and strncasecmp_l.
14559 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14560 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14561 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14562 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14563 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14564 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14565 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14566 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14567 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14568 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14569 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14570
ab26144e
UD
145712011-11-12 Ulrich Drepper <drepper@gmail.com>
14572
7edb22ef
UD
14573 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14574 result of SYSDEP_GETTIME_CPU to retval.
14575 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14576 parameter list to macro. Remove trailing semicolon. Adjust users.
14577
9694fc44
UD
14578 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14579 variable.
14580
8ad89ef8
UD
14581 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14582 mantissa words.
14583 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14584
0c822ef9
UD
14585 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14586 from unused variable.
14587
874e0564
UD
14588 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14589 DWARF definitions.
14590 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14591 for assembling.
14592
3a2edc79
UD
14593 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14594 over namespaces.
14595
f3c2577f
UD
14596 * sunrpc/rpc_prot.c (rejected): Fix case value.
14597
294ce126
UD
14598 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14599 unsigned long long int to avoid warnings in shift.
14600
5e2b63c6
UD
14601 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14602 of use of trans.
14603 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14604 variable tmp.
14605
e7f4b08e
UD
14606 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14607 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14608 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14609
ab26144e
UD
14610 * nis/nis_table.c (nis_list): Use variable of correct type for
14611 result of __follow_path call.
14612
8a6d5255
AZ
146132011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14614
14615 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14616 of math functions ceil, trunc, floor, round, and sqrt, when
14617 avaliable on the platform.
14618 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14619 name clash.
14620 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14621 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14622 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14623
aaddc98c
MP
146242011-10-30 Marek Polacek <mpolacek@redhat.com>
14625
14626 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14627 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14628
95b7042b
RM
146292011-11-11 Roland McGrath <roland@hack.frob.com>
14630
14631 * include/unistd.h: Fix __readlink return type.
14632 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14633
57769839
UD
146342011-11-11 Ulrich Drepper <drepper@gmail.com>
14635
14636 * stdlib/ucontext.h: Undo last change for makecontext.
14637
edc5984d
AS
146382011-11-11 Andreas Schwab <schwab@redhat.com>
14639
98591e58
AS
14640 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14641
edc5984d
AS
14642 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14643 * setjmp/setjmp.h: Mark functions as non-leaf.
14644 * setjmp/bits/setjmp2.h: Likewise.
14645 * stdlib/ucontext.h: Likewise.
14646
77cdc054
AS
146472011-11-10 Andreas Schwab <schwab@redhat.com>
14648
14649 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14650 (reused_arena): Don't check arena limit.
14651 (arena_get2): Atomically check arena limit.
14652
fe72eebd
UD
146532011-11-08 Ulrich Drepper <drepper@gmail.com>
14654
5f078c32
UD
14655 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14656 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14657
fe72eebd
UD
14658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14659 instructions.
14660
ae1bc2fa
AS
146612011-11-07 Andreas Schwab <schwab@redhat.com>
14662
7583a88d
AS
14663 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14664 handler when locking.
14665
ae1bc2fa
AS
14666 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14667 Fix size of allocated buffer.
14668
10fb0bfa
AS
146692011-11-04 Andreas Schwab <schwab@redhat.com>
14670
998832a4
AS
14671 [BZ #10103]
14672 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14673 declarations for long double functions.
14674 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14675
10fb0bfa
AS
14676 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14677
3d7ba52b
AS
146782011-11-03 Andreas Schwab <schwab@redhat.com>
14679
a9ae54a1
AS
14680 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14681 installed.
14682
3d7ba52b
AS
14683 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14684 is disabled.
14685
bc8db248
ST
146862011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14687
14688 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14689
45b96dd6
AS
146902011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14691
647776f6
AS
14692 * include/alloca.h (stackinfo_alloca_round): Define.
14693 (extend_alloca): Use it.
14694 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14695 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14696 here.
14697
d91a8b93
AS
14698 * scripts/check-local-headers.sh: Ignore libaudit.h.
14699
45b96dd6
AS
14700 * nscd/Makefile (extra-objs): Make recursively expanded.
14701
432d41ce
UD
147022011-11-01 Ulrich Drepper <drepper@gmail.com>
14703
34372fc6
UD
14704 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14705 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14706
fadb59f8
UD
14707 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14708 * posix/tst-rfc3484-2.c: Likewise.
14709 * posix/tst-rfc3484-3.c: Likewise.
14710
78239589
UD
14711 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14712 process_vm_writev.
14713 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14714 process_vm_writev.
14715 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14716 process_vm_writev from libc using GLIBC_2.15 version.
14717
432d41ce
UD
14718 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14719
02f9c6cf
PP
147202011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14721
14722 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14723 stack usage.
14724
3a2c0242
UD
147252011-10-31 Ulrich Drepper <drepper@gmail.com>
14726
f4ec4833
UD
14727 [BZ #13367]
14728 * nss/getent.c (initgroups_keys): Show error message in case no group
14729 names are given.
14730
3a2c0242
UD
14731 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14732 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14733 __bump_nl_timestamp.
14734 * nscd/connections (nscd_init): When host database is served open
14735 netlink socket and request notification about configuration changes.
14736 (main_loop_poll): Track netlink file descriptor and bump timestamp
14737 in case data becomes available.
14738 (main_loop_epoll): Likewise.
14739 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14740 (database_pers_head): Add extra_data fileds.
14741 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14742 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14743 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14744 Adjust caller.
14745 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14746 in6ai data, call __free_in6ai.
14747 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14748 Add -DHAVE_NETLINK.
14749 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14750 interface information. Reuse previous data if netlink timestamp
14751 is not changed.
14752 (__bump_nl_timestamp): New function.
14753 (__free_in6ai): New function.
14754
636064eb
UD
147552011-10-30 Ulrich Drepper <drepper@gmail.com>
14756
14757 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14758 close_not_cancel_no_status here.
14759 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14760
9beb2334
UD
147612011-10-29 Ulrich Drepper <drepper@gmail.com>
14762
6ef76f3b
UD
14763 [BZ #13276]
14764 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14765 return value.
14766
0ffc4f3e 14767 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14768 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14769 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14770
cb95113e
UD
147712011-07-03 Andreas Jaeger <aj@suse.de>
14772
14773 [BZ #10709]
14774 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14775 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14776 * math/libm-test.inc (sin_test): Add test case.
14777
a1b560ff
UD
147782011-10-29 Ulrich Drepper <drepper@gmail.com>
14779
c9aaface
UD
14780 [BZ #13337]
14781 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14782 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14783
d272e7f1
UD
14784 * elf/chroot_canon.c (chroot_canon): Cleanups.
14785
1bc33071
UD
14786 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14787
1760874d
TJ
14788 [BZ #13335]
14789 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14790 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14791
51d91b18
UD
14792 * string/test-strchr.c: Make usable for strchrnul testing.
14793 * string/test-strchrnul.c: New file.
14794 * string/Makefile (strop-tests): Add strchrnul.
14795
a1b560ff 14796 * po/it.po: Update from translation team.
b611fb81 14797 * po/es.po: Likewise.
a1b560ff 14798
a5b81e1f
UD
147992011-10-28 Ulrich Drepper <drepper@gmail.com>
14800
fd52bc6d
UD
14801 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14802 the three constants needed as parameters. Drop the others.
14803 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14804 __m128i_strloadu_tolower.
52e4b9eb
UD
14805 Create and initialize variable zero and use it in all the places
14806 where _mm_setzero_si128 was used.
fd52bc6d 14807
a5b81e1f
UD
14808 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14809 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14810 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14811 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14812 anymore.
14813 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14814 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14815 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14816 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14817 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14818 __mpranred, __mptan.
14819 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14820 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14821 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14822 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14823 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14824 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14825 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14826 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14827 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14828
b4343346
AS
148292011-10-28 Andreas Schwab <schwab@redhat.com>
14830
0c92d8a8
AS
14831 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14832 redefine if SHARED.
14833 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14834
b4343346
AS
14835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14836 wide char related routines to wcsmbs subdir.
14837
3871f58f
AS
148382011-10-27 Andreas Schwab <schwab@redhat.com>
14839
14840 [BZ #13344]
14841 * misc/sys/cdefs.h (__THROWNL): Define.
14842 * posix/unistd.h: Use __THREADNL instead of __THREAD
14843 for memory synchronization functions.
14844
94d44d9f
RM
148452011-10-26 Roland McGrath <roland@hack.frob.com>
14846
21b64b15 14847 [BZ #13349]
94d44d9f
RM
14848 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14849 doesn't exist.
14850 * manual/stdio.texi (Obstack Streams): Node removed.
14851
f6ce9294
AS
148522011-10-26 Andreas Schwab <schwab@redhat.com>
14853
80479147
AS
14854 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14855 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14856 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14857
f6ce9294
AS
14858 * math/math_private.h (math_force_eval): Allow non-addressable
14859 arguments.
14860 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14861
618280a1
UD
148622011-10-25 Ulrich Drepper <drepper@gmail.com>
14863
e0016b11
UD
14864 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14865 file is not needed.
14866
14867 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14868 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14869 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14870 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14871 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14872 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14873 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14874 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14875 Add AVX variants.
14876 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14877 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14878 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14879 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14880 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14881 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14882 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14883 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14884 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14885 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14886 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14887 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14888 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14889 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14890 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14891 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14892 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14893 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14894 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14895
14896 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14897 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14898
618280a1
UD
14899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14900 place. Use VEX encoding when compiling for AVX.
14901
37822576
AS
149022011-10-25 Andreas Schwab <schwab@redhat.com>
14903
1f1e1947
AS
14904 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14905 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14906
37822576
AS
14907 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14908
31ea014d
UD
149092011-10-25 Ulrich Drepper <drepper@gmail.com>
14910
d7826aa1 14911 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14912 useless if() expression.
d7826aa1
UD
14913 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14914 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14915 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14916 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14917 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14918 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14919 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14920 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14921 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14922 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14923 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14924 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14925 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14926 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14927 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14928 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14929 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14930 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14931 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14932
31ea014d
UD
14933 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14934
16437fec
AS
149352011-10-25 Andreas Schwab <schwab@redhat.com>
14936
14937 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14938 condition.
14939 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14940
31d3cc00
UD
149412011-10-25 Ulrich Drepper <drepper@gmail.com>
14942
14943 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14944 .text section. Avoid duplicate constants.
14945 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14947 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14948 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14951 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14952 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14953 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14954 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14955 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14956 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14957 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14958 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14959 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14960 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14961 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14962 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14963 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14964 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14965 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14966 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14967 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14968 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14969 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14970 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14971 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14972 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14973 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14974 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14975 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14976 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14977 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14978 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14979 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14980 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14981 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14982 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14983 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14984 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14985 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14986 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14987 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14988 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14989 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14990
58985aa9
UD
149912011-10-24 Ulrich Drepper <drepper@gmail.com>
14992
202c9deb
UD
14993 * sysdeps/x86_64/dla.h: Move to ...
14994 * sysdeps/x86_64/fpu/dla.h: ...here.
14995 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14996 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14997
af968f62
UD
14998 * config.make.in: Add have-mfma4 entry.
14999 * configure.in: Substitute libc_cv_cc_fma4.
15000 * math/Makefile (dbl-only-routines): Add sincostab.
15001 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15002 Use __sincostab not sincos.
15003 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15004 name is a macro.
15005 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15007 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15009 using __copysign.
15010 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15011 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15012 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15013 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15014 and __inv.
15015 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15016 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15017 __copysign.
15018 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15019 define aliases when function name is a macro.
15020 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15021 sysdeps/ieee754/dbl-64/sincos.tbl.
15022 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15023 fma4-enabled routines.
15024 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15025 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15026 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15027 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15028 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15029 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15030 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15031 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15032 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15033 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15034 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15035 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15036 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15037 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15038 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15039 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15040 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15041 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15042 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15043 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15044 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15045 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15046 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15047 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15048 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15049 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15050 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15051 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15052 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15053 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15054
58985aa9
UD
15055 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15056 rename.
15057 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15062 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15063 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15065
a201fbcf
AS
150662011-10-24 Andreas Schwab <schwab@redhat.com>
15067
15068 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15069
fc2ee42a
LD
150702011-10-23 Ulrich Drepper <drepper@gmail.com>
15071
bb3129bd
UD
15072 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15073
0275fff8
UD
15074 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15075 prediction.
15076 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15077
2fa2ae85
UD
15078 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15079 Remove unused variable magic_bits.
15080 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15081
fc2ee42a
LD
15082 * string/strnlen.c: Define and use STRNLEN macro.
15083 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15084 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15086 * wcsmbs/wcslen.c: Define and use WCSLEN.
15087 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15088 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15089 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15090 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15091 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15092 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15093 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15094
ce7dd29f
LD
150952011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15096
15097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15098 strnlen-sse2-no-bsf.
15099 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15100 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15101 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15102 Add strnlen support.
15103 (USE_AS_STRNLEN): New macro.
15104 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15105 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15106 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15107 * sysdeps/x86_64/wcslen.S: New file.
15108
979c70a3
MZ
151092011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15110
15111 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15112 XMM-moves are used for copying on small sizes.
15113
2d09f82f
LD
151142011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15115
15116 * wcsmbs/Makefile (strop-tests): Add wcschr.
15117 * wcsmbs/test-wcschr.c: New file.
15118 * string/test-strchr.c: Update.
15119 Add wcschr support.
15120 (WIDE): New macro.
15121
619fccca
LD
151222011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15123
2d09f82f 15124 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
15125 * wcsmbs/test-wcslen.c: New file.
15126 * string/test-strlen.c: Update.
15127 Add wcslen support.
15128 (WIDE): New macro.
15129
09f699ea
UD
151302011-10-23 Ulrich Drepper <drepper@gmail.com>
15131
15132 * po/it.po: Update from translation team.
15133
95584d3b
LD
151342011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15135
15136 * sysdeps/x86_64/wcscmp.S: Update.
15137 Fix wrong comparison semantics.
15138 wcscmp shall use signed comparison not unsigned.
15139 Don't use substraction to avoid overflow bug.
15140 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15141 * wcsmbc/wcscmp.c: Likewise.
15142 * string/test-strcmp.c: Likewise.
15143 Add new tests to check cases with negative values.
15144
c8b3296b
UD
151452011-10-23 Ulrich Drepper <drepper@gmail.com>
15146
15147 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15148 * sysdeps/x86_64/dla.h: ...here. New file.
15149 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15154 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15156 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15157 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15158
246ad57a
AS
151592011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15160
15161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15162 __ynl_finite aliases.
15163
a1a87169
UD
151642011-10-22 Ulrich Drepper <drepper@gmail.com>
15165
0d355eb7
UD
15166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15167
a1a87169
UD
15168 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15169 define DLA_FMA.
15170 [DLA_FMA] (EMULV): Use DLA_FMA.
15171 [DLA_FMA] (MUL12): Use EMULV.
15172 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15173 that are not needed.
15174 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15179 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15180 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15181
ee2aafe0
AS
151822011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15183
15184 * math/s_nan.c: Undef __nan.
15185 * math/s_nanf.c: Undef __nanf.
15186 * math/s_nanl.c: Undef __nanl.
15187 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15188 "math_private.h".
15189
bc62c2fb
UD
151902011-10-22 Ulrich Drepper <drepper@gmail.com>
15191
77425c63
UD
15192 * math/s_catan.c: Add branch predictions.
15193 * math/s_catanf.c: Likewise.
15194 * math/s_catanh.c: Likewise.
15195 * math/s_catanhf.c: Likewise.
15196 * math/s_catanhl.c: Likewise.
15197 * math/s_catanl.c: Likewise.
15198 * math/s_cexp.c: Likewise.
15199 * math/s_cexpf.c: Likewise.
15200 * math/s_cexpl.c: Likewise.
15201 * math/s_clog.c: Likewise.
15202 * math/s_clog10.c: Likewise.
15203 * math/s_clog10f.c: Likewise.
15204 * math/s_clog10l.c: Likewise.
15205 * math/s_clogf.c: Likewise.
15206 * math/s_clogl.c: Likewise.
15207 * math/s_csqrt.c: Likewise.
15208 * math/s_csqrtf.c: Likewise.
15209 * math/s_csqrtl.c: Likewise.
15210 * math/s_ctanf.c: Likewise.
15211 * math/s_ctanh.c: Likewise.
15212 * math/s_ctanhf.c: Likewise.
15213 * math/s_ctanhl.c: Likewise.
15214 * math/s_ctanl.c: Likewise.
15215
bc62c2fb
UD
15216 * math/math_private.h: Define __nan, __nanf, __nanl.
15217 * math/s_cacosh.c: Include <math_private.h>.
15218 * math/s_cacoshl.c: Likewise.
15219 * math/s_casinh.c: Likewise.
15220 * math/s_casinhf.c: Likewise.
15221 * math/s_casinhl.c: Likewise.
15222 * math/s_ccos.c: Rely entire on ccosh.
15223 * math/s_ccosf.c: Rely entire on ccoshf.
15224 * math/s_ccosl.c: Rely entirely on ccoshl.
15225 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15226 Remove tests for FE_INVALID.
15227 * math/s_ccoshf.c: Likewise.
15228 * math/s_ccoshl.c: Likewise.
15229 * math/s_csin.c: Likewise.
15230 * math/s_csinf.c: Likewise.
15231 * math/s_csinh.c Likewise.
15232 * math/s_csinhf.c: Likewise.
15233 * math/s_csinhl.c: Likewise.
15234 * math/s_csinl.c: Likewise.
15235 * math/s_ctan.c: Likewise.
15236 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15237 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15238 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15239
8ec250a4
UD
152402011-10-21 Ulrich Drepper <drepper@gmail.com>
15241
c196fed8
UD
15242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15243 compilation problems.
15244
8ec250a4
UD
15245 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15246 __builtin_expect.
15247
8d4f46c6
UD
152482011-10-20 Ulrich Drepper <drepper@gmail.com>
15249
ed72b654
UD
15250 * sysdeps/i386/configure.in: Test for -mfma4 option.
15251 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15252 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15253 COMMON_CPUID_INDEX_80000001.
15254 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15255 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15256 use it if FMA3 is not supported.
15257 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15258
8d4f46c6
UD
15259 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15260 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15261
d45c60c2
AS
152622011-10-20 Andreas Schwab <schwab@redhat.com>
15263
15264 [BZ #12892]
15265 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15266 it would create a cycle with a link time dependency.
15267
d9a4d2ab
UD
152682011-10-19 Ulrich Drepper <drepper@gmail.com>
15269
855d1560
UD
15270 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15271 instruction.
15272 * string/Makefile (strop-tests): Add rawmemchr.
15273 * string/test-rawmemchr.c: New file.
15274
d9a4d2ab
UD
15275 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15276 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15277 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15278 when compiling str{,n}casecmp and when AVX is available. Hook up
15279 new optimized code in initializers.
15280
8f3b1ffe
AS
152812011-10-19 Andreas Schwab <schwab@redhat.com>
15282
15283 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15284 __feraiseexcept instead of feraiseexcept.
15285
d38f1dba
UD
152862011-10-18 Ulrich Drepper <drepper@gmail.com>
15287
d9a8d0ab
UD
15288 * math/math_private.h: Define defaults for libc_fetestexcept and
15289 libc_feupdateenv.
15290 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15291 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15292 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15293 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15294 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15295 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15296 libc_fetestexcept and libc_feupdateenv.
15297
4855e3dd
UD
15298 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15299 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15300 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15301 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15302 libc_feholdexcept_setround.
15303
581d30e3
UD
15304 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15305 Add s_nearbyint-c and s_nearbyintf-c.
15306 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15307 nearbyintf inlines.
15308 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15309 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15310 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15311 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15312
d38f1dba
UD
15313 * math/math_private.h: Define defaults for libc_fegetround,
15314 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15315 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15316 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15317 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15318 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15319 standard functions.
15320 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15321 Remove comments and hacks for old compiler versions.
15322 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15323 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15324 libc_feholdexceptl.
15325
caa6c9d8
AS
153262011-10-18 Andreas Schwab <schwab@redhat.com>
15327
15328 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15329 (__feraiseexcept_renamed): Add __NTH.
15330 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15331 namespace violations.
15332
97c066e6
UD
153332011-10-17 Ulrich Drepper <drepper@gmail.com>
15334
99ce7b04
UD
15335 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15336
1004d182
UD
15337 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15338
228a984d
UD
15339 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15340 recently added interfaces.
15341 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15342
c8553a6a
UD
15343 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15344 about macro parameter expansion.
15345
ed22dcf6
UD
15346 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15347 __NO_MATH_INLINES is defined. Cleanups.
15348
15349 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15350 and __floorf is target has SSE4.1.
15351 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15352 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15353 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15354 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15355
b171c137
UD
15356 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15357 name.
15358 (floorf): Likewise.
15359
97c066e6
UD
15360 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15361
629f62ef
AS
153622011-10-17 Andreas Schwab <schwab@redhat.com>
15363
49a43d80
AS
15364 * misc/sys/cdefs.h: Fix last change.
15365
629f62ef
AS
15366 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15367 database lookup.
15368
e453f6cd
UD
153692011-10-16 Ulrich Drepper <drepper@gmail.com>
15370
aa78043a
UD
15371 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15372
ad0f5cad
UD
15373 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15374 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15375 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15376 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15377 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15378 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15379 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15380 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15381 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15382 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15383 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15384 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15385 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15386 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15387 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15388 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15389 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15390 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15391 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15392 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15393 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15394 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15395
15396 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15397 ceil, ceilf, floor, floorf.
15398
15399 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15400 Perform IRELATIVE relocations last.
15401
e453f6cd
UD
15402 * elf/do-rel.h: Add another parameter nrelative, replacing the
15403 local variable with the same name. Change name of the function
15404 to end in Rel or Rela (uppercase).
15405 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15406 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15407 elf_dynamic_do_##reloc function.
15408
fd5bdc09
UD
154092011-10-15 Ulrich Drepper <drepper@gmail.com>
15410
79b195b5
UD
15411 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15412 is sufficient, at least on modern CPUs.
15413
d4a28569
UD
15414 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15415
b61099b5
UD
15416 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15417 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15418
bcf01e6d
UD
15419 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15420 __expl_finite.
15421 * math/bits/math-finite.h: Add entries for exp.
15422 * math/e_expl.c: Add __*_finite alias.
15423 * sysdeps/i386/fpu/e_exp.S: Likewise.
15424 * sysdeps/i386/fpu/e_expf.S: Likewise.
15425 * sysdeps/i386/fpu/e_expl.c: Likewise.
15426 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15427 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15428 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15429 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15430 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15431 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15432 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15433
ba1a0d59
UD
15434 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15435 is sufficient, at least on modern CPUs.
15436
fd5bdc09
UD
15437 * ctype/ctype-info.c (__ctype_init): Define.
15438 * include/ctype.h (__ctype_init): Declare.
15439 (__ctype_b_loc): The variable is always initialized.
15440 (__ctype_toupper_loc): Likewise.
15441 (__ctype_tolower_loc): Likewise.
15442 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15443 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15444
7872cfb0
AS
154452011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15446
b468825a
AS
15447 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15448
7872cfb0
AS
15449 * configure.in: Also look in $cxxmachine/include for C++ system
15450 headers.
15451
be13f7bf
LD
154522011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15453
15454 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15455 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15456 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15457 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15458 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15459 (USE_AS_WMEMCMP): New macro.
15460 Fixing indents.
15461 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15462 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15463 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15464 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15466 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15467 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15468 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15469 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15470 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15471 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15472 (USE_AS_WMEMCMP): New macro.
15473 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15474 * sysdeps/string/test-memcmp.c: Update.
15475 Fix simple_wmemcmp.
15476 Add new tests.
15477 * wcsmbs/wmemcmp.c: Update.
15478 (WMEMCMP): New macro.
15479 Fix overflow bug.
15480
556a2007
AJ
154812011-10-12 Andreas Jaeger <aj@suse.de>
15482
15483 [BZ #13268]
15484 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15485
538faaa7
UD
154862011-10-15 Ulrich Drepper <drepper@gmail.com>
15487
ab6737ff
UD
15488 * libio/iofwide.c (do_length): Avoid warning.
15489
538faaa7
UD
15490 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15491
396a21b1
UD
154922011-10-14 Ulrich Drepper <drepper@gmail.com>
15493
cdf2901f
UD
15494 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15495
38ad40ce
UD
15496 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15497 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15498 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15499 * sysdeps/i386/i686/fpu/e_log.S: New file.
15500 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15501 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15502
396a21b1
UD
15503 * ctype/ctype.h: Add support for inlined isXXX functions when
15504 compiling C++ code.
15505
6b1f68c9
AS
155062011-10-14 Andreas Schwab <schwab@redhat.com>
15507
349290c0
AS
15508 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15509
6b1f68c9
AS
15510 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15511
f2282d42
RM
155122011-10-13 Roland McGrath <roland@hack.frob.com>
15513
15514 [BZ #13291]
15515 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15516
5298ffa8
AS
155172011-10-13 Andreas Schwab <schwab@redhat.com>
15518
714fad23
AS
15519 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15520 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15521 feraiseexcept.
15522
81dcc7fb
AS
15523 * sysdeps/x86_64/memrchr.S: Check for zero size.
15524
5298ffa8
AS
15525 * string/stratcliff.c: Add memrchr tests.
15526
951fbcec
LD
155272011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15528
15529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15530 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15531 rawmemchr-sse2 rawmemchr-sse2-bsf.
15532 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15533 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15534 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15535 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15536 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15537 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15538 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15539 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15540 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15541 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15542 * string/memrchr.c (MEMRCHR): New macro.
15543
0ac5ae23
UD
155442011-10-12 Ulrich Drepper <drepper@gmail.com>
15545
15546 Add integration with gcc's -ffinite-math-only and optimize wrapper
15547 functions in libm.
15548 * Versions.def: Define GLIBC_2.15 version for libm.
15549 * math/Makefile (headers): Add bits/math-finite.h.
15550 * math/bits/math-finite.h: New file.
15551 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15552 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15553 * math/e_acoshl.c: Add __*_finite alias.
15554 * math/e_acosl.c: Likewise.
15555 * math/e_asinl.c: Likewise.
15556 * math/e_atan2l.c: Likewise.
15557 * math/e_atanhl.c: Likewise.
15558 * math/e_coshl.c: Likewise.
15559 * math/e_exp10.c: Likewise.
15560 * math/e_exp10f.c: Likewise.
15561 * math/e_exp10l.c: Likewise.
15562 * math/e_exp2l.c: Likewise.
15563 * math/e_fmodl.c: Likewise.
15564 * math/e_gammal_r.c: Likewise.
15565 * math/e_hypotl.c: Likewise.
15566 * math/e_j0l.c: Likewise.
15567 * math/e_j1l.c: Likewise.
15568 * math/e_jnl.c: Likewise.
15569 * math/e_lgammal_r.c: Likewise.
15570 * math/e_log10l.c: Likewise.
15571 * math/e_log2l.c: Likewise.
15572 * math/e_logl.c: Likewise.
15573 * math/e_powl.c: Likewise.
15574 * math/e_sinhl.c: Likewise.
15575 * math/e_sqrtl.c: Likewise.
15576 * math/e_scalb.c: Completely rewritten and optimized.
15577 * math/e_scalbf.c: Likewise.
15578 * math/e_scalbl.c: Likewise.
15579 * math/w_acos.c: Likewise.
15580 * math/w_acosf.c: Likewise.
15581 * math/w_acosl.c: Likewise.
15582 * math/w_acosh.c: Likewise.
15583 * math/w_acoshf.c: Likewise.
15584 * math/w_acoshl.c: Likewise.
15585 * math/w_asin.c: Likewise.
15586 * math/w_asinf.c: Likewise.
15587 * math/w_asinl.c: Likewise.
15588 * math/w_atan2.c: Likewise.
15589 * math/w_atan2f.c: Likewise.
15590 * math/w_atan2l.c: Likewise.
15591 * math/w_atanh.c: Likewise.
15592 * math/w_atanhf.c: Likewise.
15593 * math/w_atanhl.c: Likewise.
15594 * math/w_exp10.c: Likewise.
15595 * math/w_exp10f.c: Likewise.
15596 * math/w_exp10l.c: Likewise.
15597 * math/w_fmod.c: Likewise.
15598 * math/w_fmodf.c: Likewise.
15599 * math/w_fmodl.c: Likewise.
15600 * math/w_j0.c: Likewise.
15601 * math/w_j0f.c: Likewise.
15602 * math/w_j0l.c: Likewise.
15603 * math/w_j1.c: Likewise.
15604 * math/w_j1f.c: Likewise.
15605 * math/w_j1l.c: Likewise.
15606 * math/w_jn.c: Likewise.
15607 * math/w_jnf.c: Likewise.
15608 * math/w_log.c: Likewise.
15609 * math/w_logf.c: Likewise.
15610 * math/w_logl.c: Likewise.
15611 * math/w_log10.c: Likewise.
15612 * math/w_log10f.c: Likewise.
15613 * math/w_log10l.c: Likewise.
15614 * math/w_log2.c: Likewise.
15615 * math/w_log2f.c: Likewise.
15616 * math/w_log2l.c: Likewise.
15617 * math/w_pow.c: Likewise.
15618 * math/w_powf.c: Likewise.
15619 * math/w_powl.c: Likewise.
15620 * math/w_remainder.c: Likewise.
15621 * math/w_remainderf.c: Likewise.
15622 * math/w_remainderl.c: Likewise.
15623 * math/w_scalb.c: Likewise.
15624 * math/w_scalbf.c: Likewise.
15625 * math/w_scalbl.c: Likewise.
15626 * math/w_sqrt.c: Likewise.
15627 * math/w_sqrtf.c: Likewise.
15628 * math/w_sqrtl.c: Likewise.
15629 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15630 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15631 used.
15632 * math/math_private.h: Declare __kernel_standard_f.
15633 * math/w_cosh.c: Remove cruft and optimize a bit.
15634 * math/w_coshf.c: Likewise.
15635 * math/w_coshl.c: Likewise.
15636 * math/w_exp2.c: Likewise.
15637 * math/w_exp2f.c: Likewise.
15638 * math/w_exp2l.c: Likewise.
15639 * math/w_hypot.c: Likewise.
15640 * math/w_hypotf.c: Likewise.
15641 * math/w_hypotl.c: Likewise.
15642 * math/w_lgamma.c: Likewise.
15643 * math/w_lgamma_r.c: Likewise.
15644 * math/w_lgammaf.c: Likewise.
15645 * math/w_lgammaf_r.c: Likewise.
15646 * math/w_lgammal.c: Likewise.
15647 * math/w_lgammal_r.c: Likewise.
15648 * math/w_sinh.c: Likewise.
15649 * math/w_sinhf.c: Likewise.
15650 * math/w_sinhl.c: Likewise.
15651 * math/w_tgamma.c: Likewise.
15652 * math/w_tgammaf.c: Likewise.
15653 * math/w_tgammal.c: Likewise.
15654 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15655 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15656 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15657 Minor optimizations. Pretty printing. Remove cruft.
15658 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15659 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15660 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15661 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15662 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15663 * sysdeps/i386/fpu/e_asin.S: Likewise.
15664 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15665 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15666 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15667 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15668 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15669 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15670 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15671 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15672 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15673 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15674 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15675 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15676 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15677 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15678 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15679 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15680 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15681 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15682 * sysdeps/i386/fpu/e_log.S: Likewise.
15683 * sysdeps/i386/fpu/e_log10.S: Likewise.
15684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15685 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15686 * sysdeps/i386/fpu/e_log2.S: Likewise.
15687 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15688 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15689 * sysdeps/i386/fpu/e_logf.S: Likewise.
15690 * sysdeps/i386/fpu/e_logl.S: Likewise.
15691 * sysdeps/i386/fpu/e_pow.S: Likewise.
15692 * sysdeps/i386/fpu/e_powf.S: Likewise.
15693 * sysdeps/i386/fpu/e_powl.S: Likewise.
15694 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15695 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15696 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15697 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15698 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15699 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15700 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15701 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15702 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15703 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15704 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15706 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15707 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15708 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15709 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15710 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15711 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15712 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15713 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15714 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15716 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15717 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15719 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15720 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15721 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15722 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15723 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15724 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15725 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15726 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15727 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15728 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15729 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15730 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15731 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15732 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15733 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15734 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15735 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15736 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15737 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15738 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15739 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15740 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15741 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15742 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15743 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15744 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15760 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15768 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15772 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15774 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15775 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15783 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15786 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15788 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15789 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15790 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15791 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15793 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15794 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15795 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15796 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15797 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15798 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15799 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15800 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15801 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15802 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15803 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15804 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15805 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15806 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15807 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15808 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15809 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15810 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15811 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15812 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15813 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15814 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15815 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15816 (__isnanf): Likewise.
15817 (__isinf_ns): Likewise.
15818 (__isinf_nsf): Likewise.
15819 (__finite): Likewise.
15820 (__finitef): Likewise.
15821 (__ieee754_sqrt): Define as macro.
15822 (__ieee754_sqrtf): Define as macro.
15823 (__ieee754_sqrtl): Define as macro.
15824 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15825 inlined copy.
15826 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15827 __FINITE_MATH_ONLY__ consistent.
15828 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15829
12cc2fcd
AS
158302011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15831
a843a204
AS
15832 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15833 of rawmemchr.
15834
12cc2fcd
AS
15835 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15836
c853acd5
UD
158372011-10-09 Ulrich Drepper <drepper@gmail.com>
15838
15839 * po/ja.po: Update from translation team.
15840
c658d255
RM
158412011-10-08 Roland McGrath <roland@hack.frob.com>
15842
110946e4
RM
15843 * locale/programs/locarchive.c (prepare_address_space): New function.
15844 (create_archive, enlarge_archive, open_archive): Use it.
15845
50604220
RM
15846 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15847 inside [SHARED], where it is used.
15848
c658d255
RM
15849 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15850
15851 * nss/getent.c (netgroup_keys): Remove unused variable.
15852 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15853
6a621eb7
UD
158542011-10-08 Ulrich Drepper <drepper@gmail.com>
15855
7edb55ce
UD
15856 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15857 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15858 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15859 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15860 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15861 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15862 * math/Makefile (libm-calls): Add s_isinf_ns.
15863 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15864 * math/multc3.c: Likewise.
15865 * math/s_casin.c: Likewise.
15866 * math/s_casinf.c: Likewise.
15867 * math/s_casinl.c: Likewise.
15868 * math/s_ccos.c: Likewise.
15869 * math/s_ccosf.c: Likewise.
15870 * math/s_ccosl.c: Likewise.
15871 * math/s_ctan.c: Likewise.
15872 * math/s_ctanf.c: Likewise.
15873 * math/s_ctanh.c: Likewise.
15874 * math/s_ctanhf.c: Likewise.
15875 * math/s_ctanhl.c: Likewise.
15876 * math/s_ctanl.c: Likewise.
15877 * math/w_fmod.c: Likewise.
15878 * math/w_fmodf.c: Likewise.
15879 * math/w_fmodl.c: Likewise.
15880 * math/w_remainder.c: Likewise.
15881 * math/w_remainderf.c: Likewise.
15882 * math/w_remainderl.c: Likewise.
15883 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15884 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15885 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15887 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15888 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15889 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15890 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15891
187da0ae
UD
15892 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15893 of the number.
15894 * stdio-common/printf_fphex.c: Likewise.
15895 * stdio-common/printf_size.c: Likewise.
15896
9277c064
UD
15897 * math/e_exp10.c: Include math_private.h using <...> not "...".
15898 * math/e_exp10f.c: Likewise.
15899 * math/e_exp10l.c: Likewise.
15900 * math/e_exp2l.c: Likewise.
15901 * math/e_j0l.c: Likewise.
15902 * math/e_j1l.c: Likewise.
15903 * math/e_jnl.c: Likewise.
15904 * math/e_lgammal_r.c: Likewise.
15905 * math/e_rem_pio2l.c: Likewise.
15906 * math/e_scalb.c: Likewise.
15907 * math/e_scalbf.c: Likewise.
15908 * math/e_scalbl.c: Likewise.
15909 * math/k_cosl.c: Likewise.
15910 * math/k_sinl.c: Likewise.
15911 * math/k_tanl.c: Likewise.
15912 * math/s_cacoshf.c: Likewise.
15913 * math/s_catan.c: Likewise.
15914 * math/s_catanf.c: Likewise.
15915 * math/s_catanh.c: Likewise.
15916 * math/s_catanhf.c: Likewise.
15917 * math/s_catanhl.c: Likewise.
15918 * math/s_catanl.c: Likewise.
15919 * math/s_ccosh.c: Likewise.
15920 * math/s_ccoshf.c: Likewise.
15921 * math/s_ccoshl.c: Likewise.
15922 * math/s_cexp.c: Likewise.
15923 * math/s_cexpf.c: Likewise.
15924 * math/s_cexpl.c: Likewise.
15925 * math/s_clog.c: Likewise.
15926 * math/s_clog10.c: Likewise.
15927 * math/s_clog10f.c: Likewise.
15928 * math/s_clog10l.c: Likewise.
15929 * math/s_clogf.c: Likewise.
15930 * math/s_clogl.c: Likewise.
15931 * math/s_csin.c: Likewise.
15932 * math/s_csinf.c: Likewise.
15933 * math/s_csinh.c: Likewise.
15934 * math/s_csinhf.c: Likewise.
15935 * math/s_csinhl.c: Likewise.
15936 * math/s_csinl.c: Likewise.
15937 * math/s_csqrt.c: Likewise.
15938 * math/s_csqrtf.c: Likewise.
15939 * math/s_csqrtl.c: Likewise.
15940 * math/s_ctan.c: Likewise.
15941 * math/s_ctanf.c: Likewise.
15942 * math/s_ctanh.c: Likewise.
15943 * math/s_ctanhf.c: Likewise.
15944 * math/s_ctanhl.c: Likewise.
15945 * math/s_ctanl.c: Likewise.
15946 * math/s_ldexp.c: Likewise.
15947 * math/s_ldexpf.c: Likewise.
15948 * math/s_ldexpl.c: Likewise.
15949 * math/s_significand.c: Likewise.
15950 * math/s_significandf.c: Likewise.
15951 * math/s_significandl.c: Likewise.
15952 * math/w_acos.c: Likewise.
15953 * math/w_acosf.c: Likewise.
15954 * math/w_acosh.c: Likewise.
15955 * math/w_acoshf.c: Likewise.
15956 * math/w_acoshl.c: Likewise.
15957 * math/w_acosl.c: Likewise.
15958 * math/w_asin.c: Likewise.
15959 * math/w_asinf.c: Likewise.
15960 * math/w_asinl.c: Likewise.
15961 * math/w_atan2.c: Likewise.
15962 * math/w_atan2f.c: Likewise.
15963 * math/w_atan2l.c: Likewise.
15964 * math/w_atanh.c: Likewise.
15965 * math/w_atanhf.c: Likewise.
15966 * math/w_atanhl.c: Likewise.
15967 * math/w_cosh.c: Likewise.
15968 * math/w_coshf.c: Likewise.
15969 * math/w_coshl.c: Likewise.
15970 * math/w_dremf.c: Likewise.
15971 * math/w_exp10.c: Likewise.
15972 * math/w_exp10f.c: Likewise.
15973 * math/w_exp10l.c: Likewise.
15974 * math/w_exp2.c: Likewise.
15975 * math/w_exp2f.c: Likewise.
15976 * math/w_fmod.c: Likewise.
15977 * math/w_fmodf.c: Likewise.
15978 * math/w_fmodl.c: Likewise.
15979 * math/w_hypot.c: Likewise.
15980 * math/w_hypotf.c: Likewise.
15981 * math/w_hypotl.c: Likewise.
15982 * math/w_j0.c: Likewise.
15983 * math/w_j0f.c: Likewise.
15984 * math/w_j0l.c: Likewise.
15985 * math/w_j1.c: Likewise.
15986 * math/w_j1f.c: Likewise.
15987 * math/w_j1l.c: Likewise.
15988 * math/w_jn.c: Likewise.
15989 * math/w_jnf.c: Likewise.
15990 * math/w_jnl.c: Likewise.
15991 * math/w_lgamma.c: Likewise.
15992 * math/w_lgamma_r.c: Likewise.
15993 * math/w_lgammaf.c: Likewise.
15994 * math/w_lgammaf_r.c: Likewise.
15995 * math/w_lgammal.c: Likewise.
15996 * math/w_lgammal_r.c: Likewise.
15997 * math/w_log.c: Likewise.
15998 * math/w_log10.c: Likewise.
15999 * math/w_log10f.c: Likewise.
16000 * math/w_log10l.c: Likewise.
16001 * math/w_log2.c: Likewise.
16002 * math/w_log2f.c: Likewise.
16003 * math/w_log2l.c: Likewise.
16004 * math/w_logf.c: Likewise.
16005 * math/w_logl.c: Likewise.
16006 * math/w_pow.c: Likewise.
16007 * math/w_powf.c: Likewise.
16008 * math/w_powl.c: Likewise.
16009 * math/w_remainder.c: Likewise.
16010 * math/w_remainderf.c: Likewise.
16011 * math/w_remainderl.c: Likewise.
16012 * math/w_scalb.c: Likewise.
16013 * math/w_scalbf.c: Likewise.
16014 * math/w_scalbl.c: Likewise.
16015 * math/w_sinh.c: Likewise.
16016 * math/w_sinhf.c: Likewise.
16017 * math/w_sinhl.c: Likewise.
16018 * math/w_sqrt.c: Likewise.
16019 * math/w_sqrtf.c: Likewise.
16020 * math/w_sqrtl.c: Likewise.
16021 * math/w_tgamma.c: Likewise.
16022 * math/w_tgammaf.c: Likewise.
16023 * math/w_tgammal.c: Likewise.
16024
6a621eb7
UD
16025 * po/ja.po: Update from translation team.
16026
bf582445
AJ
160272011-09-29 Andreas Jaeger <aj@suse.de>
16028
f9efbf3a
AJ
16029 [BZ #13179]
16030 * sunrpc/netname.c (netname2host): Fix logic.
16031
bf582445
AJ
16032 [BZ #6779]
16033 [BZ #6783]
16034 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16035 correctly.
16036 * math/w_remainder.c (__remainder): Likewise.
16037 * math/w_remainderf.c (__remainderf): Likewise.
16038 * math/libm-test.inc (remainder_test): Add test cases.
16039
48693bea
AK
160402011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16041
16042 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16043 sdiv_qrnnd.
16044
42622229
LD
160452011-10-07 Ulrich Drepper <drepper@gmail.com>
16046
16047 * string/test-memcmp.c: Avoid unncessary #defines.
16048 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16049
093ecf92
LD
160502011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16051
16052 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16053 Use new sse2 version for core i3 - i7 as it's faster
16054 than sse42 version.
16055 (bit_Prefer_PMINUB_for_stringop): New.
16056 * sysdeps/x86_64/rawmemchr.S: Update.
16057 Replace with faster SSE2 version.
16058 * sysdeps/x86_64/memrchr.S: New file.
16059 * sysdeps/x86_64/memchr.S: Update.
16060 Replace with faster SSE2 version.
16061
fde56e5c
MP
160622011-09-12 Marek Polacek <mpolacek@redhat.com>
16063
16064 * elf/dl-load.c (lose): Add cast to avoid warning.
16065
21fd49a9
UD
160662011-10-07 Ulrich Drepper <drepper@gmail.com>
16067
5a06e643
UD
16068 * po/ca.po: Update from translation team.
16069
684ae515
UD
16070 * inet/getnetgrent_r.c: Hook up nscd.
16071 * nscd/Makefile (routines): Add nscd_netgroup.
16072 (nscd-modules): Add netgroupcache.
16073 (CFLAGS-netgroupcache.c): Define.
16074 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16075 (cache_search): Add const to second parameter.
16076 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16077 INNETGR.
16078 (dbs): Add netgrdb entry.
16079 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16080 (verify_persistent_db): Handle netgrdb.
16081 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16082 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16083 GETFDNETGR.
16084 (netgroup_response_header): Define.
16085 (innetgroup_response_header): Define.
16086 (datahead): Add netgroup_response_header and innetgroup_response_header
16087 elements.
16088 * nscd/nscd.conf: Add entries for netgroup cache.
16089 * nscd/nscd.h (dbtype): Add netgrdb.
16090 (_PATH_NSCD_NETGROUP_DB): Define.
16091 (netgroup_iov_disabled): Declare.
16092 (xmalloc, xcalloc, xrealloc): Move declarations here.
16093 (cache_search): Adjust prototype.
16094 Add netgroup-related prototypes.
16095 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16096 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16097 (__nscd_innetgr): Declare.
16098 * nscd/selinux.c (perms): Use access_vector_t as element type and
16099 add netgroup-related initializers.
16100 * nscd/netgroupcache.c: New file.
16101 * nscd/nscd_netgroup.c: New file.
16102 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16103 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16104 For four parameters use innetgr.
16105 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16106 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16107 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16108 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16109
21fd49a9
UD
16110 * nscd/connections.c (register_traced_file): Don't register file
16111 for disabled databases.
16112
054c0457
UD
161132011-10-06 Ulrich Drepper <drepper@gmail.com>
16114
32b63198
UD
16115 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16116
054c0457
UD
16117 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16118 from tree and freeing node.
16119
64031225
JO
161202011-09-25 Jiri Olsa <jolsa@redhat.com>
16121
16122 * nss/nsswitch.c (__nss_database_lookup): Handle
16123 nss_parse_service_list out of memory case.
16124
0490345c
JO
161252011-09-15 Jiri Olsa <jolsa@redhat.com>
16126
16127 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16128 out of memory case.
16129
3a62d00d
AS
161302011-10-04 Andreas Schwab <schwab@redhat.com>
16131
16132 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16133 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16134 pass it down.
16135 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16136 elf_machine_rela, elf_machine_lazy_rel.
16137 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16138 (ELF_DYNAMIC_DO_REL): Likewise.
16139 (ELF_DYNAMIC_DO_RELA): Likewise.
16140 (ELF_DYNAMIC_RELOCATE): Likewise.
16141 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16142 to ELF_DYNAMIC_DO_REL.
16143 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16144 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16145 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16146 elf_machine_rela.
16147 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16148 skip_ifunc, don't call ifunc function if non-zero.
16149 (elf_machine_rela): Likewise.
16150 (elf_machine_lazy_rel): Likewise.
16151 (elf_machine_lazy_rela): Likewise.
16152 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16153 (elf_machine_lazy_rel): Likewise.
16154 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16155 Likewise.
16156 (elf_machine_lazy_rel): Likewise.
16157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16158 Likewise.
16159 (elf_machine_lazy_rel): Likewise.
16160 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16161 (elf_machine_lazy_rel): Likewise.
16162 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16163 (elf_machine_lazy_rel): Likewise.
16164 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16165 (elf_machine_lazy_rel): Likewise.
16166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16167 (elf_machine_lazy_rel): Likewise.
16168 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16169 (elf_machine_lazy_rel): Likewise.
16170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16171 (elf_machine_lazy_rel): Likewise.
16172
68577918
UD
161732011-09-28 Ulrich Drepper <drepper@gmail.com>
16174
16175 * nss/nss_files/files-init.c (_nss_files_init): Use static
16176 initialization for all the *_traced_file variables.
16177
68822d74
AS
161782011-09-28 Andreas Schwab <schwab@redhat.com>
16179
16180 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16181
2056100b
RM
161822011-09-27 Roland McGrath <roland@hack.frob.com>
16183
16184 [BZ #13226]
16185 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16186
32c76b63
AS
161872011-09-27 Andreas Schwab <schwab@redhat.com>
16188
16189 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16190 Reread the line before reparsing it.
16191
bf972c9d
AS
161922011-09-26 Andreas Schwab <schwab@redhat.com>
16193
16194 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16195
e057a1b5
JM
161962011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16197 Maxim Kuvyrkov <maxim@codesourcery.com>
16198 Joseph Myers <joseph@codesourcery.com>
16199
16200 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16201 if needed for __stack_chk_guard.
16202
bc7e1c36
RM
162032011-09-19 Roland McGrath <roland@hack.frob.com>
16204
ecb1482f
RM
16205 * sysdeps/posix/spawni.c (script_execute): Always define it.
16206 It will be optimized away if unused.
16207 (maybe_script_execute): New function.
16208 (__spawni): Call it.
16209
bc7e1c36
RM
16210 * Makerules: Don't include tls.make.
16211 (config-tls): Always set to thread.
16212 * tls.make.c: File removed.
16213
1c3b002b
MF
162142011-09-19 Mike Frysinger <vapier@gentoo.org>
16215
16216 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16217 * config.make.in (CPPFLAGS-config): New substituted variable.
16218
2840865d
UD
162192011-09-15 Ulrich Drepper <drepper@gmail.com>
16220
88738eb6
UD
16221 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16222
cbf645a6 16223 [BZ #13192]
2840865d
UD
16224 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16225 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16226
b402e91a
RM
162272011-09-15 Roland McGrath <roland@hack.frob.com>
16228
16229 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16230 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16231 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16232 (CALL_FAIL): Likewise.
16233 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16234 (CALL_FAIL): Macro removed.
16235 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16236
4c1a1f71
UD
162372011-09-15 Ulrich Drepper <drepper@gmail.com>
16238
16239 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16240 for __FINITE_MATH_ONLY__ == 1.
16241
edc121be
AS
162422011-09-15 Andreas Schwab <schwab@redhat.com>
16243
16244 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16245 __ieee754_sqrt instead of sqrt.
16246 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16247 __ieee754_sqrtf instead of sqrtf.
16248 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16249 __floorf instead of floorf.
16250 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16251 __floorf, __truncf instead of floorf, truncf.
16252
cd205654
UD
162532011-09-14 Ulrich Drepper <drepper@gmail.com>
16254
ee4d0315
UD
16255 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16256
cd205654
UD
16257 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16258 __extern_always_inline.
16259 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16260 32-bit.
16261
48b67d71
AS
162622011-09-14 Andreas Schwab <schwab@redhat.com>
16263
16264 * elf/rtld.c (dl_main): Also relocate in dependency order when
16265 doing symbol dependency testing.
16266
1ae12c75
AS
162672011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16268
16269 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16270 Always define `refsym'.
16271
995a80df
AS
162722011-09-13 Andreas Schwab <schwab@redhat.com>
16273
e529793b
AS
16274 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16275 (__FD_ELT): Renamed from __FDELT.
16276 * misc/bits/select2.h (__FD_ELT): Likewise.
16277 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16278 __FD_MASK instead of __FDELT, __FDMASK.
16279 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16280 Likewise.
16281 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16282 Likewise.
16283
52d4fef8
AS
16284 * elf/Makefile (gen-ldd): Fix pattern.
16285
995a80df
AS
16286 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16287 (init_tls): Likewise.
16288
8682f8b0
UD
162892011-09-12 Ulrich Drepper <drepper@gmail.com>
16290
16291 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16292
de82006d
AS
162932011-09-12 Andreas Schwab <schwab@redhat.com>
16294
a7c8e6a1
AS
16295 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16296 `struct cmsghdr *' instead of `void *'.
16297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16298 Likewise.
16299
0f31fe77
AS
163002011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16301
16302 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16303 if non-absolute.
16304 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16305 ldd_rewrite_script.
0f31fe77 16306
32b4c839
UD
163072011-09-11 Ulrich Drepper <drepper@gmail.com>
16308
83cd1420
UD
16309 * configure.in: Remove --with-tls option.
16310 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16311 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16312 out in case it is missing.
16313 * sysdeps/ia64/elf/configure.in: Likewise.
16314 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16315 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16316 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16317 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16318 * sysdeps/sh/elf/configure.in: Likewise.
16319 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16320 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16321 * sysdeps/x86_64/elf/configure.in: Likewise.
16322 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16323 * sysdeps/mach/hurd/tls.h: Likewise.
16324
633f745d
UD
16325 [BZ #13067]
16326 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16327
f318beb8
UD
16328 [BZ #13090]
16329 * configure.in: Fix use of AC_INIT.
16330
32b4c839
UD
16331 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16332
3ce1f295
UD
163332011-09-10 Ulrich Drepper <drepper@gmail.com>
16334
bb016596
UD
16335 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16336 __set_errno.
8e58439c
UD
16337 * malloc/hooks.c: Likewise.
16338
aebae053 16339 [BZ #11929]
02d46fc4
UD
16340 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16341 variables statically.
16342 (narenas): Initialize.
16343 (list_lock): Initialize.
bb016596
UD
16344 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16345 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16346 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16347 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16348 Add initializers to main_arena and mp_.
16349 (malloc_state): Remove pagesize member. Change all users to use
16350 GLRO(dl_pagesize).
16351
16352 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16353 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16354 is always initialized.
16355
22a89187
UD
16356 * malloc/malloc.c: Removed unused configurations and dead code.
16357 * malloc/arena.c: Likewise.
16358 * malloc/hooks.c: Likewise.
02d46fc4 16359 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16360
d063d164
UD
16361 * include/tls.h: Removed. USE___THREAD must always be defined.
16362 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16363 * elf/dl-libc.c: Likewise.
16364 * elf/dl-tsd.c: Likewise.
16365 * include/errno.h: Likewise.
16366 * include/netdb.h: Likewise.
16367 * include/resolv.h: Likewise.
16368 * inet/herrno-loc.c: Likewise.
16369 * inet/herrno.c: Likewise.
16370 * malloc/arena.c: Likewise.
16371 * malloc/hooks.c: Likewise.
16372 * malloc/malloc.c: Likewise.
16373 * resolv/res-state.c: Likewise.
16374 * resolv/res_libc.c: Likewise.
16375 * sysdeps/i386/dl-machine.h: Likewise.
16376 * sysdeps/ia64/dl-machine.h: Likewise.
16377 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16378 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16379 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16380 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16381 * sysdeps/sh/dl-machine.h: Likewise.
16382 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16383 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16384 * sysdeps/unix/i386/sysdep.S: Likewise.
16385 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16386 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16391 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16395 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16396 * sysdeps/x86_64/dl-machine.h: Likewise.
16397 * tls.make.c: Likewise.
16398
3ce1f295
UD
16399 * configure.in: Remove --with-__thread option. Make tests for
16400 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16401 tls_model attribute fail if no support is available. Remove
16402 USE_IN_LIBIO.
16403 * Makeconfig: Adjust for dropped configure option. All features are
16404 now mandatory.
16405 * Makerules: Likewise.
16406 * Versions.def: Likewise.
16407 * argp/argp-fmtstream.c: Likewise.
16408 * argp/argp-fmtstream.h: Likewise.
16409 * argp/argp-help.c: Likewise.
16410 * assert/assert.c: Likewise.
16411 * config.h.in: Likewise.
16412 * config.make.in: Likewise.
16413 * configure: Likewise.
16414 * configure.in: Likewise.
16415 * csu/Versions: Likewise.
16416 * csu/init.c: Likewise.
16417 * elf/tst-audit2.c: Likewise.
16418 * elf/tst-tls10.c: Likewise.
16419 * elf/tst-tls10.h: Likewise.
16420 * elf/tst-tls11.c: Likewise.
16421 * elf/tst-tls12.c: Likewise.
16422 * elf/tst-tls14.c: Likewise.
16423 * elf/tst-tlsmod11.c: Likewise.
16424 * elf/tst-tlsmod12.c: Likewise.
16425 * elf/tst-tlsmod13.c: Likewise.
16426 * elf/tst-tlsmod13a.c: Likewise.
16427 * elf/tst-tlsmod14a.c: Likewise.
16428 * elf/tst-tlsmod15b.c: Likewise.
16429 * elf/tst-tlsmod16a.c: Likewise.
16430 * elf/tst-tlsmod16b.c: Likewise.
16431 * elf/tst-tlsmod7.c: Likewise.
16432 * elf/tst-tlsmod8.c: Likewise.
16433 * elf/tst-tlsmod9.c: Likewise.
16434 * gmon/gmon.c: Likewise.
16435 * grp/fgetgrent_r.c: Likewise.
16436 * grp/putgrent.c: Likewise.
16437 * hurd/fopenport.c: Likewise.
16438 * include/libc-symbols.h: Likewise.
16439 * include/tls.h: Likewise.
16440 * intl/gettextP.h: Likewise.
16441 * intl/loadinfo.h: Likewise.
16442 * locale/global-locale.c: Likewise.
16443 * locale/localeinfo.h: Likewise.
16444 * mach/devstream.c: Likewise.
16445 * malloc/arena.c: Likewise.
16446 * malloc/set-freeres.c: Likewise.
16447 * misc/err.c: Likewise.
16448 * misc/getttyent.c: Likewise.
16449 * misc/mntent_r.c: Likewise.
16450 * posix/getopt.c: Likewise.
16451 * posix/wordexp.c: Likewise.
16452 * pwd/fgetpwent_r.c: Likewise.
16453 * resolv/Versions: Likewise.
16454 * resolv/res_hconf.c: Likewise.
16455 * shadow/fgetspent_r.c: Likewise.
16456 * shadow/putspent.c: Likewise.
16457 * stdio-common/printf_fphex.c: Likewise.
16458 * stdio-common/tmpfile.c: Likewise.
16459 * stdlib/abort.c: Likewise.
16460 * stdlib/fmtmsg.c: Likewise.
16461 * sunrpc/auth_unix.c: Likewise.
16462 * sunrpc/clnt_perr.c: Likewise.
16463 * sunrpc/clnt_tcp.c: Likewise.
16464 * sunrpc/clnt_udp.c: Likewise.
16465 * sunrpc/clnt_unix.c: Likewise.
16466 * sunrpc/openchild.c: Likewise.
16467 * sunrpc/svc_simple.c: Likewise.
16468 * sunrpc/svc_tcp.c: Likewise.
16469 * sunrpc/svc_udp.c: Likewise.
16470 * sunrpc/svc_unix.c: Likewise.
16471 * sunrpc/xdr.c: Likewise.
16472 * sunrpc/xdr_array.c: Likewise.
16473 * sunrpc/xdr_rec.c: Likewise.
16474 * sunrpc/xdr_ref.c: Likewise.
16475 * sunrpc/xdr_stdio.c: Likewise.
16476
1248c1c4
PB
164772011-09-09 Ulrich Drepper <drepper@gmail.com>
16478
16479 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16480
164812011-07-03 Andreas Jaeger <aj@suse.de>
16482
16483 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16484 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16485 regenerate with gen-libm-tests.pl.
16486
164872010-05-12 Petr Baudis <pasky@suse.cz>
16488
16489 [BZ #11589]
16490 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16491 around j0() zero points by switching to j1().
16492 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16493 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16494 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16495 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16496
f22e1074
UD
164972011-09-09 Ulrich Drepper <drepper@gmail.com>
16498
f19009c1
UD
16499 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16500 instead of 0.
16501 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16502 instead of 0. .
16503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16504 Patch in part by Pavel Roskin <proski@gnu.org>.
16505
3f8cc204
UD
16506 [BZ #13138]
16507 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16508 realloc.
16509 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16510 Free memory block if necessary.
16511
f22e1074
UD
16512 [BZ #12847]
16513 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16514 be NULL. Don't lock in this case.
16515
0a2349f9
RM
165162011-09-09 Roland McGrath <roland@hack.frob.com>
16517
16518 * elf/elf.h (ELFOSABI_GNU): New macro.
16519 (ELFOSABI_LINUX): Define to that.
16520
f3cdd467
DZ
165212011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16522
16523 * string/strncat.c (strncat): Undef the symbol in case it has been
16524 defined in bits/string.h.
16525
74718d13
UD
165262011-09-09 Ulrich Drepper <drepper@gmail.com>
16527
633e9e0f
UD
16528 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16529
0a2349f9 16530 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16531 link map.
16532
f9924780
AJ
165332011-08-17 Andreas Jaeger <aj@suse.de>
16534
16535 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16536
7f5517aa
PP
165372011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16538 Ian Lance Taylor <iant@google.com>
16539
16540 * math/libm-test.inc (lround_test): New testcase.
16541 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16542
762011fe
UD
165432011-09-08 Ulrich Drepper <drepper@gmail.com>
16544
92963737
UD
16545 * Makefile: Remove support for automatic cvs check-ins.
16546 * Makerules: Likewise.
16547 * config.make.in: Likewise.
16548 * configure.in: Likewise.
16549 * intl/Makefile: Likewise.
16550 * locale/Makefile: Likewise.
16551 * po/Makefile: Likewise.
16552 * posix/Makefile: Likewise.
16553 * sysdeps/gnu/Makefile: Likewise.
16554 * sysdeps/mach/hurd/Makefile: Likewise.
16555 * sysdeps/sparc/sparc32/Makefile: Likewise.
16556
b0727fd8
JS
16557 [BZ #13118]
16558 * posix/Makefile (bug-regex32-ENV): Define.
16559 Patch by John Stanley <jpsinthemix@verizon.net>.
16560
a0f33f99
UD
16561 * misc/Makefile (headers): Add bits/select2.h.
16562 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16563 * misc/bits/select2.h: New file.
16564 * include/bits/select2.h: New file.
16565 * debug/Makefile (routines): Add fdelt_chk.
16566 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16567 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16568 FD_ISSET.
16569 * debug/fdelt_chk.c: New file.
16570
762011fe
UD
16571 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16572 * wcsmbs/test-wmemcmp.c: Likewise.
16573 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16574 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16575
165762011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16577
16578 * string/Makefile (strop-tests): Add memcmp.
16579 * string/test-wmemcmp.c: New file.
16580 * string/test-memcmp.c: Add wmemcmp support.
16581
7f513ec8
RM
165822011-09-08 Roland McGrath <roland@hack.frob.com>
16583
0442afb4
RM
16584 [BZ #13153]
16585 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16586 2011-07-19 change.
16587
7f513ec8
RM
16588 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16589 garbage value in a __mach_port_mod_refs call in the cases of the
16590 task-self and thread-self ports.
16591
a12b2239
ST
165922011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16593
16594 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16595
610f9ab4
AS
165962011-09-08 Andreas Schwab <schwab@redhat.com>
16597
7f513ec8 16598 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16599
48882a1a
LD
166002011-09-07 Ulrich Drepper <drepper@gmail.com>
16601
b49865be
UD
16602 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16603
fdc86bc9
UD
16604 * elf/dl-libc.c (dlerror_run): Pass back error code from
16605 dl_catch_error.
16606
c966526a
UD
16607 [BZ #13123]
16608 * elf/dl-load.c (lose): Free l_origin if it is valid.
16609
48882a1a
LD
16610 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16611 names.
16612 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16613 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16614 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16615 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16616 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16617 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16618
77a2a8b4
AZ
166192011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16620
16621 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16622 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16623 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16624 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16625 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16626 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16627 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16628 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16629 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16630 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16631
24f579d8
AM
166322011-08-15 Alan Modra <amodra@gmail.com>
16633
16634 [BZ #13092]
16635 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16636 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16637 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16638 ppc_mcount to static-only-routines.
16639 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16640 __mcount_internal.
16641 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16642 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16643
3d4837df
UD
166442011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16645
16646 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16647 for finite and infinity parameters.
16648
22700377
WS
166492011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16650
16651 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16652 and add nop instructions for throughput optimization.
16653 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16654
5025581e
WS
166552011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16656
16657 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16658 aligned copy for power7 with vector-scalar instructions.
16659 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16660
08a300c9
L
166612011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16662
16663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16664 AVX check.
16665
59178ef9
AS
166662011-09-07 Andreas Schwab <schwab@redhat.com>
16667
16668 [BZ #13144]
16669 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16670 last change.
16671
e38ba7ab
UD
166722011-09-07 Ulrich Drepper <drepper@gmail.com>
16673
16674 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16675 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16676 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16677 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16678 clock_gettime.
16679
d53a73ac
UD
166802011-09-06 Ulrich Drepper <drepper@gmail.com>
16681
fc8bffcc
UD
16682 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16683 Forgot to demangle the pointer.
16684
ceaa0c5d
UD
16685 * sysdeps/i386/sysdep.h: Define atom_text_section.
16686 * sysdeps/x86_64/sysdep.h: Likewise.
16687 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16688 section with atom_text_section.
16689 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16690 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16691 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16692 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16693 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16694
a77d3c17
UD
16695 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16696 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16697 already be defined. Change to take two parameters and don't assign
16698 result to variable. Adjust all users.
16699 Define INTERNAL_GETTIME if not already defined.
16700 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16701 call.
16702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16703 HAVE_CLOCK_GETTIME_VSYSCALL.
16704 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16705
d53a73ac
UD
16706 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16707 gettimeofday vsyscall, just use time.
16708
a8f84144
AS
167092011-09-06 Andreas Schwab <schwab@redhat.com>
16710
16711 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16712 <errno.h>.
16713
ef606249
UD
167142011-09-06 Ulrich Drepper <drepper@gmail.com>
16715
16716 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16717 syscall on x86-64.
16718 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16719 syscall.
16720 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16721 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16722 syscall if possible.
16723
6585cb60
UD
167242011-09-05 Ulrich Drepper <drepper@gmail.com>
16725
16726 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16727 e_ident. Don't pass to find_mapsXX.
16728 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16729
a5f524e4
LD
167302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16731
16732 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16733 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16734 * sysdeps/x86_64/multiarch/strchr.S: Update.
16735 Check bit_slow_BSF bit.
16736 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16737 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16738 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16739
554881ef
UD
167402011-09-05 Ulrich Drepper <drepper@gmail.com>
16741
d96de963
UD
16742 [BZ #13134]
16743 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16744 before glibc 2.15.
16745 (tryshell): Define.
16746 (__spawni): Change last parameter to be flag. Test
16747 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16748 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16749 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16750 * posix/spawni.c: Likewise.
16751 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16752 * posix/spawnp.c: Likewise. Change normal version to use
16753 SPAWN_XFLAGS_USE_PATH.
16754 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16755 SPAWN_XFLAGS_TRY_SHELL.
16756
d48e5868
UD
16757 [BZ #13150]
16758 * posix/glob.h: Remove gcc 1.x support.
16759
554881ef
UD
16760 [BZ #13068]
16761 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16762
693fb948
LD
167632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16764
16765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16766 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16767 strrchr-sse2-bsf
16768 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16769 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16770 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16771 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16772 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16773 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16774
1b48c537
UD
167752011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16776
49d42c37
UD
16777 * sysdeps/x86_64/wcscmp.S: New file.
16778
1b48c537
UD
16779 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16780 wcscmp-c wcscmp-sse2
16781 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16782 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16783 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16784 * wcsmbs/wcscmp.c: Allow renaming.
16785
15c95c5d
DM
167862011-09-05 David S. Miller <davem@davemloft.net>
16787
16788 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16789 stack slot, rather than the struct return pointer slot.
16790 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16791 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16793 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16794
2f0ad8f3
UD
167952011-09-05 Ulrich Drepper <drepper@gmail.com>
16796
d88ae418
UD
16797 * po/ja.po: Update from translation team.
16798
2f0ad8f3
UD
16799 [BZ #13144]
16800 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16801 kernel in 64-bit binaries.
16802
5f4318d1
DM
168032011-09-01 David S. Miller <davem@davemloft.net>
16804
16805 * elf/elf.h (HWCAP_SPARC_*): Move to..
16806 * sysdeps/sparc/sysdep.h: this new file and add new values.
16807 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16808 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16809 _DL_HWCAP_COUNT to 24.
16810 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16811 entries.
16812 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16813 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16814 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16816 instead of magic constants.
16817 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16818
3ba57516
DM
168192011-08-31 David S. Miller <davem@davemloft.net>
16820
16821 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16823 Reimplement to do errno handling inline.
16824 (SYSCALL_ERROR_HANDLER): New macro.
16825 (__SYSCALL_STRING): Do not do errno handling in asm.
16826 (__CLONE_SYSCALL_STRING): Delete.
16827 (__INTERNAL_SYSCALL_STRING): Delete.
16828 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16829 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16830 (PSEUDO): Reimplement to do errno handling inline.
16831 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16832 (SYSCALL_ERROR_HANDLER): New macro.
16833 (__SYSCALL_STRING): Do not do errno handling in asm.
16834 (__CLONE_SYSCALL_STRING): Delete.
16835 (__INTERNAL_SYSCALL_STRING): Delete.
16836 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16837 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16838 i386.
16839 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16840 (inline_syscall*): Add 'err' argument.
16841 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16842 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16843 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16844 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16845
16846 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16847 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16848
2bc17433
AS
168492011-08-30 Andreas Schwab <schwab@redhat.com>
16850
16851 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16852
fbeb5f4d
JO
168532011-08-29 Jiri Olsa <jolsa@redhat.com>
16854
16855 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16856 directive.
16857
ad69cc26
DM
168582011-08-24 David S. Miller <davem@davemloft.net>
16859
16860 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16861
39dd69df
AS
168622011-08-24 Andreas Schwab <schwab@redhat.com>
16863
16864 * elf/Makefile: Add rules to build and run unload8 test.
16865 * elf/unload8.c: New file.
16866 * elf/unload8mod1.c: New file.
16867 * elf/unload8mod1x.c: New file.
16868 * elf/unload8mod2.c: New file.
16869 * elf/unload8mod3.c: New file.
16870
16871 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16872 it wasn't used.
16873
2c0b250a
DM
168742011-08-23 David S. Miller <davem@davemloft.net>
16875
16876 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16877 subtract stack bias.
16878 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16879 %sp not %fp in calculations.
16880 (_JMPBUF_UNWINDS_ADJ): Likewise.
16881
22044b48
DM
16882 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16883 (aio_suspend): Call it to force an exception region around the
16884 AIO_MISC_WAIT() invocation.
16885
2cae4995
AS
168862011-08-23 Andreas Schwab <schwab@redhat.com>
16887
16888 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16889 backslash.
16890
873a772e
AJ
168912011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16892
16893 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16894 protection macro.
16895 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16896 and <dl-machine.h>.
16897 (Elf64_FuncDesc): Remove.
16898
25ad0df1
DM
168992011-08-22 David S. Miller <davem@davemloft.net>
16900
16901 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16902 sigaltstack check, add missing cfi directives.
16903 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16904 missing cfi directives, and sigaltstack handling.
16905
e888bcbe
AS
169062011-08-16 Andreas Schwab <schwab@redhat.com>
16907
16908 [BZ #11724]
16909 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16910 object is seen twice.
16911 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16912
16913 * elf/Makefile (distribute): Add tst-initorder2.c.
16914 (tests): Add tst-initorder2.
16915 (modules-names): Add tst-initorder2a tst-initorder2b
16916 tst-initorder2c tst-initorder2d. Add rules to build them.
16917 ($(objpfx)tst-initorder2.out): New rule.
16918 * elf/tst-initorder2.c: New file.
16919 * elf/tst-initorder2.exp: New file.
16920
87162f46
AS
169212011-08-22 Andreas Schwab <schwab@redhat.com>
16922
70538b7f
AS
16923 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16924
f55ffe58
AS
16925 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16926 dependencies back to end of function.
16927
87162f46
AS
16928 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16929 $(elfobjdir)/ld.so.
16930
91b392a4
UD
169312011-08-21 Ulrich Drepper <drepper@gmail.com>
16932
16933 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16934 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16936 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16937 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16938 of __vdso_gettimeofday.
16939 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16940 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16941 attribute_hidden.
16942 (_libc_vdso_platform_setup): Remove initialization of
16943 __vdso_gettimeofday and __vdso_time.
16944
5c43483f
UD
169452011-08-20 Ulrich Drepper <drepper@gmail.com>
16946
775a77e7
UD
16947 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16948 and fgetc_unlocked.
16949 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16950 getc_unlocked.
89f447ed 16951
49c74ba9
UD
16952 * elf/dl-open.c (add_to_global): Report additions to the global scope
16953 for LD_DEBUG=scopes.
16954 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16955 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16956
5c43483f
UD
16957 [BZ #13114]
16958 * stdio-common/Makefile (tests): Add bug24.
16959 * stdio-common/bug24.c: New file.
16960
a101b025
AJ
169612011-08-19 Andreas Jaeger <aj@suse.de>
16962
16963 [BZ #13114]
16964 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16965 non-existant file when using close-on-exec mode.
16966
c88f1766
UD
169672011-08-20 Ulrich Drepper <drepper@gmail.com>
16968
0276a718
UD
16969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16970 the very first instruction.
16971
c88f1766
UD
16972 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16973 the CFI state in the end.
16974 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16975 inclusion of dl-trampoline.h.
16976 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16977
51ccffa0
AS
169782011-08-19 Andreas Schwab <schwab@redhat.com>
16979
94d7165f
AS
16980 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16981 expectations for long double.
16982
51ccffa0
AS
16983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16984 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16985
fd708658 169862011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16987
16988 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16989 artificual limit depends upon the system page size.
16990
44f0a71e
UD
169912011-08-17 Ulrich Drepper <drepper@gmail.com>
16992
16993 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16994 * resolv/Makefile: Define CFLAGS-libresolv.
16995
8de79a24
AS
169962011-08-17 Andreas Schwab <schwab@redhat.com>
16997
16998 * nss/makedb.c (compute_tables): Make variables used in nested
16999 function static.
17000
27724598
UD
170012011-08-17 Ulrich Drepper <drepper@gmail.com>
17002
c5305d88
UD
17003 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17004 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17005 if buffer was too small.
17006
27724598
UD
17007 * elf/pldd.c (main): Attach to all threads in the process.
17008 Rewrite /proc handling to use *at functions.
17009
076fe015
UD
170102011-08-16 Ulrich Drepper <drepper@gmail.com>
17011
174baab3
UD
17012 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17013 specifies first scope to show.
17014 (dl_open_worker): Update callers. Move printing scope of new
17015 object to before the relocation.
44f0a71e 17016 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
17017 * sysdeps/generic/ldsodefs.h: Update declaration.
17018
076fe015
UD
17019 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17020 string for the scope number.
17021
a60df2c3
UD
170222011-08-14 Ulrich Drepper <drepper@gmail.com>
17023
17024 * nscd/servicescache.c (cache_addserv): Make sure written is always
17025 initialized.
17026
5e4287d1
RM
170272011-08-14 Roland McGrath <roland@hack.frob.com>
17028
85ae0589
RM
17029 * sysdeps/i386/i486/bits/atomic.h
17030 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17031 statement expression, so as to suppress "set but not used" warning.
17032 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17033
69f63097
RM
17034 * string/strncat.c (STRNCAT): Use prototype definition.
17035
675456ef
RM
17036 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17037 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17038 -Iprograms here.
17039 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17040 (localedef-modules): Add localedef.
17041 (locale-modules): Add locale.
17042
5e4287d1
RM
17043 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17044 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17045 to avoid a warning.
17046
9c96ff23
DM
170472011-08-14 David S. Miller <davem@davemloft.net>
17048
17049 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17050 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17051
f9ddf089
UD
170522011-08-13 Ulrich Drepper <drepper@gmail.com>
17053
44f0a71e 17054 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
17055 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17056 * elf/rtld.c (dl_main): Set l_name of vDSO.
17057 Call _dl_show_scope when DL_DEBUG_SCOPES.
17058 (process_dl_debug): Recognize scopes flag and also set it for all.
17059 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17060 Declare _dl_show_scope.
17061
1dc27704
UD
17062 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17063 (do_dlopen): Pass caller_dlopen to dl_open.
17064 (__libc_dlopen_mode): Initialize caller_dlopen.
17065
f9ddf089
UD
17066 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17067 of libc. Make tolower call locale-independent. Optimize a bit by
17068 using isdigit instead of isalnum.
17069 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17070
9ac533d3
UD
170712011-08-12 Ulrich Drepper <drepper@gmail.com>
17072
17073 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17074 was a dependency or dynamically loaded.
17075
89edf2e9
UD
170762011-08-11 Ulrich Drepper <drepper@gmail.com>
17077
8e999d29
UD
17078 * intl/l10nflist.c: Allow architecture-specific pop function.
17079 * sysdeps/x86_64/l10nflist.c: New file.
17080
89edf2e9
UD
17081 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17082 classification.
17083
14d96785
AS
170842011-08-10 Andreas Schwab <schwab@redhat.com>
17085
17086 * include/dirent.h: Add libc_hidden_proto for scandirat and
17087 scandirat64. Don't declare __scandirat64.
17088 * dirent/scandirat.c: Add libc_hidden_def.
17089 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17090 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17091
6761ac04
DM
170922011-08-10 David S. Miller <davem@davemloft.net>
17093
17094 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17095 enum.
17096 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17098 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17099
c55fbd1e
UD
171002011-08-09 Ulrich Drepper <drepper@gmail.com>
17101
17102 * Versions.def [libc]: Add GLIBC_2.15.
17103 * dirent/Makefile (routines): Add scandirat and scandirat64.
17104 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17105 GLIBC_2.15.
17106 * dirent/dirent.h: Declare scandirat and scandirat64.
17107 * dirent/scandirat.c: New file.
17108 * dirent/scandirat64.c: New file.
17109 * sysdeps/wordsize-64/scandirat.c: New file.
17110 * sysdeps/wordsize-64/scandirat64.c: New file.
17111 * dirent/opendir.c: Define opendirat.
17112 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17113 using scandirat.
17114 * dirent/scandir64.c: Adjust for scandir.c change.
17115 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17116 __scandirat64, and __scandir_cancel_handler.
17117 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17118 additional parameter and use openat instead of open (outside of ld.so).
17119 Add new __opendir as wrapper around __opendirat.
17120 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17121 here without requiring old scandirat implementation.
17122
879165f2
UD
171232011-08-08 Ulrich Drepper <drepper@gmail.com>
17124
17125 * dirent/scandir.c (cancel_handler): Renamed to
17126 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17127 defined. Adjust users.
17128 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17129 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17130
cb7e923b
UD
171312011-08-04 Ulrich Drepper <drepper@gmail.com>
17132
16292edd
UD
17133 * string/test-string.h (IMPL): Use __STRING to expand name and then
17134 stringify it.
17135
cb7e923b
UD
17136 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17137 of cleanups.
17138
cff82933
LD
171392011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17140
17141 * string/Makefile: Update.
17142 (strop-tests): Append strncat.
17143 * string/test-wcscmp.c: New file.
17144 New comprehensive test for wcscmp.
17145 * string/test-strcmp.c: Update.
17146 (WIDE): New define.
17147
9be9bfcc
AS
171482011-07-22 Andreas Schwab <schwab@redhat.com>
17149
17150 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17151 line.
17152
2e96f1c7
AS
171532011-07-26 Andreas Schwab <schwab@redhat.com>
17154
17155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17156 encoding to ACE if AI_IDN.
17157
85188888
JJ
171582011-08-01 Jakub Jelinek <jakub@redhat.com>
17159
17160 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17161 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17162
5fa16e9b
LD
171632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17164
17165 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17166 Fix overflow bug in strncat.
17167 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17168
17169 * string/test-strncat.c: Update.
17170 Add new tests for checking overflow bugs.
17171
171722011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17173
17174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17175 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17176 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17177 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17178 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17179 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17180 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17181 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17182 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17183
17184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17185 (USE_AS_STRCAT): Define.
17186 Add strcat and strncat support.
17187 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17188
8c1a459f
AS
171892011-07-25 Andreas Schwab <schwab@redhat.com>
17190
17191 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17192 __n bigger than INT_MAX+1.
17193 (__strncmp_g): Likewise.
17194
bba33c28
UD
171952011-07-23 Ulrich Drepper <drepper@gmail.com>
17196
798be72d
UD
17197 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17198 * libio/stido.h: Likewise.
17199
8accd4dc
UD
17200 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17201 (AF_NFC): Define.
17202 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17203 (AF_NFC): Define.
17204
cbff0d96
UD
17205 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17206 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17207 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17208 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17209 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17210
9191c04a
UD
17211 [BZ #13021]
17212 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17213 installed.
17214
bba33c28
UD
17215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17216 typo.
17217 (_dl_x86_64_save_sse): Likewise.
17218
90f139dd
UD
172192011-07-22 Ulrich Drepper <drepper@gmail.com>
17220
1aae088a
UD
17221 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17222 OSXSAVE.
17223 (_dl_x86_64_save_sse): Likewise.
17224
8e2045f5
UD
17225 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17226
90f139dd
UD
17227 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17228
1d002f25
AS
172292011-07-21 Andreas Schwab <schwab@redhat.com>
17230
17231 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17232 change.
17233 (_dl_x86_64_save_sse): Use correct AVX check.
17234
21137f89
UD
172352011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17236
17237 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17238 bug in strncpy/strncat.
17239 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17240
a65c0b7a
UD
172412011-07-21 Ulrich Drepper <drepper@gmail.com>
17242
17243 * string/tester.c (test_strcat): Add tests for different alignments
17244 of source and destination.
17245 (test_strncat): Likewise.
17246
6986b98a
UD
172472011-07-20 Ulrich Drepper <drepper@gmail.com>
17248
90bb2039
UD
17249 [BZ #12852]
17250 * posix/glob.c (glob): Check passed in values before using them in
17251 expressions to avoid some overflows.
17252 (glob_in_dir): Likewise.
17253
5644ef54
UD
17254 [BZ #13007]
17255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17256 check for AVX enablement so that we don't crash with old kernels and
17257 new hardware.
17258 * elf/tst-audit4.c: Add same checks here.
17259 * elf/tst-audit6.c: Likewise.
17260
17261 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17262
bfc9dc9b
AS
172632011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17264
17265 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17266
702e64bb
UD
172672011-07-20 Ulrich Drepper <drepper@gmail.com>
17268
17269 * po/cs.po: Update from translation team.
17270 * po/bg.po: Likewise.
17271
295e904f
MP
172722011-07-12 Marek Polacek <mpolacek@redhat.com>
17273
17274 * misc/sys/cdefs.h: Add support for const attribute.
17275 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17276 to gnu_dev_{major,minor,makedev} functions.
17277
3ff94596
MP
172782011-07-20 Marek Polacek <mpolacek@redhat.com>
17279
17280 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17281
28b59fca
AS
172822011-07-20 Andreas Schwab <schwab@redhat.com>
17283
17284 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17285 strlen results.
17286
19df733e
AK
172872011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17288
17289 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17290 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17291 register in order to avoid conflicts with the soft frame pointer
17292 being held in r11 when necessary.
17293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17294 (INTERNAL_VSYSCALL_NCS): Likewise.
17295
c8835729
MP
172962011-07-14 Marek Polacek <mpolacek@redhat.com>
17297
17298 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17299 * elf/dl-fini.c (_dl_fini): Adjust caller.
17300 * elf/dl-close.c (_dl_close_worker): Likewise.
17301 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17302
b902330c
MP
173032011-07-15 Marek Polacek <mpolacek@redhat.com>
17304
8991e135
MP
17305 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17306 "aux_cache->nlibs < 0".
17307
b902330c
MP
17308 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17309 in the reload-count case.
17310
99710781
LD
173112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17312
17313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17314 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17315 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17316 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17317 * sysdeps/x86_64/multiarch/strcat.S: New file.
17318 * sysdeps/x86_64/multiarch/strncat.S: New file.
17319 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17320 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17321 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17322 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17323 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17324 (USE_AS_STRCAT): Define.
17325 Add strcat and strncat support.
17326 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17327 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17328 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17329 * string/strncat.c: Update.
17330 (USE_AS_STRNCAT): Define.
17331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17332 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17333 and i7.
17334 * sysdeps/x86_64/multiarch/init-arch.h
17335 (bit_Prefer_PMINUB_for_stringop): New.
17336 (index_Prefer_PMINUB_for_stringop): Likewise.
17337 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17338 bit_Prefer_PMINUB_for_stringop.
17339
7dc6bd90
UD
173402011-07-19 Ulrich Drepper <drepper@gmail.com>
17341
17342 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17343 buffer64.
17344 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17345 of casting of buffer.
17346 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17347 buffer32 and buffer64.
17348 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17349 writes instead of casting of buffer.
17350 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17351 buffer32.
17352 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17353 casting of buffer.
17354
e0e72284
AS
173552011-07-19 Andreas Schwab <schwab@redhat.com>
17356
17357 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17358
feb1eb0b
UD
173592011-07-19 Ulrich Drepper <drepper@gmail.com>
17360
17361 * nscd/nscd.c (termination_handler): Don't do anything for a database
17362 if it has not yet been initialized.
17363
298711ff
UD
173642011-07-18 Ulrich Drepper <drepper@gmail.com>
17365
17366 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17367
173682011-07-15 Marek Polacek <mpolacek@redhat.com>
17369
17370 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17371
f9d68389
UD
173722011-07-18 Ulrich Drepper <drepper@gmail.com>
17373
17374 * po/nl.po: Update from translation team.
17375 * po/sv.po: Likewise.
17376
db290cf5
RM
173772011-07-16 Roland McGrath <roland@hack.frob.com>
17378
17379 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17380 now disallowed by GCC.
5c550700 17381
fd5e21c7
RM
17382 * configure.in (use-default-link): Default to yes if a test -shared
17383 link meets our qualifications.
17384 * configure: Regenerated.
17385
5c550700
RM
17386 * config.make.in (output-format): New variable.
17387 * configure.in: Check for ld --print-output-format support.
17388 * configure: Regenerated.
17389 * Makerules ($(common-objpfx)format.lds)
17390 [$(output-format) != unknown]: Just use $(output-format),
17391 instead of the linker-script munging.
17392
9fa2c032
RM
173932011-07-14 Roland McGrath <roland@hack.frob.com>
17394
a6928d51
RM
17395 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17396 of $(common-objpfx)shlib.lds.
17397 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17398
661607b3
RM
17399 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17400 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17401
9fa2c032
RM
17402 * configure.in (-z relro check): Adjust test code to add a large
17403 writable data section after it.
17404 * configure: Regenerated.
17405
defe9061
RM
174062011-07-11 Roland McGrath <roland@hack.frob.com>
17407
17408 * configure.in (-z relro check): Fix test code to make the variable
17409 truly const.
17410 * configure: Regenerated.
17411
319b9ad4
UD
174122011-07-11 Ulrich Drepper <drepper@gmail.com>
17413
17414 * nscd/nscd.h (struct traced_file): Define.
17415 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17416 elements. Add traced_files.
17417 (inotify_fd): Declare.
17418 (register_traced_file): Declare.
17419 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17420 (inotify_fd): Export.
17421 (resolv_conf_descr): Remove.
17422 (nscd_init): Move inotify descriptor creation to main.
17423 Don't register files for notification here.
17424 (register_traced_file): New function.
17425 (invalidate_cache): Don't use reset_res to determine whether to call
17426 res_init, go through the list of registered files.
17427 (main_loop_poll): The inotify descriptors are now stored in the
17428 structures for the traced files.
17429 (main_loop_epoll): Likewise
17430 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17431 to __nss_disable_nscd.
17432 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17433 for a database anymore. Check the records for all the registered
17434 files instead.
17435 * nss/Makefile (libnss_files-routines): Add files-init.
17436 (libnss_db-routines): Add db-init.
17437 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17438 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17439 * nss/nss_db/db-init.c: New file.
17440 * nss/nss_files/files-init.c: New file.
17441 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17442 __nss_lookup_function.
17443 (__nss_lookup_function): Call nss_load_library.
17444 (nss_load_all_libraries): New function.
17445 (__nss_disable_nscd): Take parameter with callback function for files
17446 to register. Set is_nscd. Load all the DSOs for the NSS modules
17447 used for the cached services.
17448 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17449 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17450 options for features to all the files in nscd.
17451
17452 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17453
23bee3e8
RM
174542011-07-10 Roland McGrath <roland@hack.frob.com>
17455
17456 * csu/elf-init.c (__libc_csu_init): Comment typo.
17457
46a5b7f0
UD
174582011-07-09 Ulrich Drepper <drepper@gmail.com>
17459
17460 * po/pl.po: Update from translation team.
17461 * po/ja.po: Likewise.
17462 * po/ru.po: Likewise.
17463 * po/ko.po: Likewise.
17464 * po/fr.po: Likewise.
17465
d30cf5bb
RM
174662011-07-09 Roland McGrath <roland@hack.frob.com>
17467
113ddea4
RM
17468 * configure.in (.ctors/.dtors header and trailer check):
17469 Use an empirical test on a built program.
17470 * configure: Regenerated.
17471
574920b4
RM
17472 * configure.in (-z relro check): Use an empirical test on a built DSO.
17473 Detect, but do not require, on ia64.
17474 * configure: Regenerated.
17475
d30cf5bb
RM
17476 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17477 Update tests that use readelf to use $READELF instead.
17478 * configure: Regenerated.
17479
8538fdb3
UD
174802011-07-08 Ulrich Drepper <drepper@gmail.com>
17481
17482 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17483 if the result is not used.
17484
04d08991
AJ
174852011-07-05 Andreas Jaeger <aj@suse.de>
17486
17487 [BZ#9696]
17488 * stdlib/tst-strtod.c: Add testcase.
17489
de283087
AD
174902011-07-07 Ulrich Drepper <drepper@gmail.com>
17491
4e5f31c8 17492 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17493 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17494 The latter has a higher limit. Take additional parameter to pass to
17495 the new function.
17496 (__pathconf): Pass file to __statfs_link_max.
17497 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17498 __statfs_link_max.
17499 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17500 __statfs_link_max.
17501
de283087
AD
17502 [BZ #12868]
17503 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17504 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17505 Handle Lustre.
17506 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17507 (__statfs_filesize_max): Likewise.
17508 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17509
c75fa153
AJ
175102011-07-05 Andreas Jaeger <aj@suse.de>
17511
17512 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17513
1a544854
UD
175142011-07-06 Marek Polacek <mpolacek@redhat.com>
17515
17516 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17517 `status' variable.
17518 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17519 Likewise.
17520
6f0eec67
UD
175212011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17522
17523 * Makefile (strop-tests): Add strncat.
17524 * string/test-strncat.c: New file.
17525
aae30307
UD
175262011-06-30 Marek Polacek <mpolacek@redhat.com>
17527
17528 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17529
c0cfb5eb
UD
175302011-06-21 Andreas Jaeger <aj@suse.de>
17531
17532 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17533 Copy rule from iconvdata/Makefile.
17534
01636b21
UD
175352011-07-06 Ulrich Drepper <drepper@gmail.com>
17536
17537 [BZ #12922]
17538 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17539 but no long options are defined, just return 'W'.
17540
9895c8bc
UD
175412011-06-22 Marek Polacek <mpolacek@redhat.com>
17542
17543 [BZ #9696]
17544 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17545
5d4cf042
UD
175462011-07-06 Ulrich Drepper <drepper@gmail.com>
17547
17548 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17549 netgroups to read.
960e5535 17550 (innetgr): Likewise.
5d4cf042 17551
751eb97e
RM
175522011-07-05 Roland McGrath <roland@hack.frob.com>
17553
17554 * config.make.in (install_root): Default to $(DESTDIR).
17555
f15f1e45
UD
175562011-07-05 Ulrich Drepper <drepper@gmail.com>
17557
17558 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17559
4e34ac6a
RM
175602011-07-02 Roland McGrath <roland@hack.frob.com>
17561
5e9b6af4
RM
17562 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17563
84f9ea0f
RM
17564 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17565 containing directory rather than embedding absolute directory names.
17566
ea5ee9f7
RM
17567 * scripts/check-local-headers.sh: Rewritten using awk.
17568 Match by word, not by line. Print error messages for matches.
17569 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17570
1b74661a
RM
17571 * Makerules [shlib-lds-flags empty]:
17572 ($(common-objpfx)libc_pic.opts): New target.
17573 ($(common-objpfx)libc_pic.os.clean): New target.
17574 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17575
17576 * config.make.in (OBJCOPY): New variable.
17577 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17578 * configure: Regenerated.
17579
f781ef40
RM
17580 * config.make.in (use-default-link): New variable.
17581 * configure.in (use_default_link): Grok --with-default-link to set it.
17582 * configure: Regenerated.
17583 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17584 (shlib-lds, shlib-lds-flags): Define to empty.
17585
2d4fa81e
RM
17586 * Makerules (shlib-lds): New variable.
17587 (shlib-lds-flags): New variable.
17588 (build-shlib, build-moduile, build-module-asneeded): Use it.
17589 ($(common-objpfx)libc.so): Use $(shlib-lds).
17590 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17591 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17592
31fffa6b
RM
17593 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17594 DT_FLAGS/DT_FLAGS_1 with zero flags.
17595
4e34ac6a
RM
17596 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17597 linker script munging.
17598
fcfc776b
UD
175992011-07-02 Ulrich Drepper <drepper@gmail.com>
17600
17601 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17602 as 128-bit value.
17603 * crypt/sha512.c (sha512_process_block): Perform total addition using
17604 128-bit if possible.
17605 (__sha512_finish_ctx): Likewise.
17606 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17607 as 64-bit value.
17608 * crypt/sha256.c (SWAP64): Define.
17609 (sha256_process_block): Perform total addition using 64-bit if
17610 possible.
17611 (__sha256_finish_ctx): Likewise.
17612
99231d9a
UD
176132011-07-01 Ulrich Drepper <drepper@gmail.com>
17614
17615 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17616 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17617 * nscd/hstcache.c (cache_addhst): Likewise.
17618 * nscd/grpcache.c (cache_addgr): Likewise.
17619 * nscd/aicache.c (addhstaiX): Likewise
17620 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17621
445b4a53
TK
176222011-07-01 Thorsten Kukuk <kukuk@suse.de>
17623
17624 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17625 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17626 * nscd/hstcache.c (cache_addhst): Likewise.
17627 * nscd/grpcache.c (cache_addgr): Likewise.
17628 * nscd/aicache.c (addhstaiX): Likewise
17629
6d4d8e8e
AS
176302011-07-01 Andreas Schwab <schwab@redhat.com>
17631
17632 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17633 domain only when needed.
17634
89f654c5
AS
176352011-06-30 Andreas Schwab <schwab@redhat.com>
17636
17637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17638 is always restored.
17639
cf3b23ff
UD
176402011-06-29 Ulrich Drepper <drepper@gmail.com>
17641
17642 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17643 are re-adding the entry.
17644 * nscd/servicescache.c (cache_addserv): Likewise.
17645
751626f9
AJ
176462011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17647
17648 * sysdeps/generic/dl-irel.h: fix protection against multiple
17649 inclusions.
17650 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17651
9113ea1f
UD
176522011-06-28 Ulrich Drepper <drepper@gmail.com>
17653
5c0b8d90
UD
17654 [BZ #12935]
17655 * malloc/memusage.sh: Fix quoting in message.
17656 * debug/xtrace.sh: Likewise.
17657
9113ea1f
UD
17658 * configure.in: Remove support for --experimental-malloc option, make
17659 it the default.
17660 * config.make.in: Likewise.
17661 * malloc/Makefile: Likewise.
17662
a4172181
AS
176632011-06-27 Andreas Schwab <schwab@redhat.com>
17664
17665 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17666 two-byte characters.
17667
78a7eee7
RM
176682011-06-27 Roland McGrath <roland@hack.frob.com>
17669
62bede13
RM
17670 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17671 AC_CACHE_CHECK invocation.
17672 * configure: Regenerated.
17673
78a7eee7
RM
17674 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17675
5ce33a62
UD
176762011-06-27 Ulrich Drepper <drepper@gmail.com>
17677
034807a9
UD
17678 [BZ #12350]
17679 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17680 bit from old_res_options.
17681
4902da17
UD
17682 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17683
5ce33a62
UD
17684 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17685 value type for setfct.
17686
c2344f56
L
176872011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17688
17689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17690 __gettimeofday instead of gettimeofday.
17691
68468076
UD
176922011-06-26 Ulrich Drepper <drepper@gmail.com>
17693
17694 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17695
acb0d739
L
176962011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17697
17698 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17699
17700 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17701 info.
17702
8912479f
L
177032011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17704
17705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17706 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17707 strcpy-sse2-unaligned strncpy-sse2-unaligned
17708 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17709 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17710 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17711 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17712 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17713 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17714 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17715 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17716 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17717 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17718 (STRCPY): Support SSE2 and SSSE3 versions.
17719
d5495a11
UD
177202011-06-24 Ulrich Drepper <drepper@gmail.com>
17721
17722 [BZ #12874]
17723 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17724 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17725 kernels which artificially limit size of requests.
17726
0b1cbaae
L
177272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17728
17729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17730 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17731 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17732 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17733 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17734 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17735 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17736 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17737 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17738 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17739 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17740 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17741 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17742 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17743 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17745 Enable unaligned load optimization for Intel Core i3, i5 and i7
17746 processors.
17747 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17748 Define.
17749 (index_Fast_Unaligned_Load): Define.
17750 (HAS_FAST_UNALIGNED_LOAD): Define.
17751
07f494a0
MP
177522011-06-23 Marek Polacek <mpolacek@redhat.com>
17753
17754 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17755
fa3fc0fe
UD
177562011-06-22 Ulrich Drepper <drepper@gmail.com>
17757
17758 [BZ #12907]
17759 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17760 until it is clear that the information is realy needed.
17761 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17762
e12df166
AS
177632011-06-22 Andreas Schwab <schwab@redhat.com>
17764
17765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17766
852eb34d
UD
177672011-06-22 Ulrich Drepper <drepper@gmail.com>
17768
84e2a551
UD
17769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17770 /sys/devices/system/cpu/online if it is usable.
17771
852eb34d
UD
17772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17773 reading the information from the /proc filesystem to once a second.
17774
6e502e19
UD
177752011-06-21 Andreas Jaeger <aj@suse.de>
17776
17777 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17778 NULL after inclusion of kernel headers.
17779
75d39ff2
UD
177802011-06-21 Ulrich Drepper <drepper@gmail.com>
17781
51f9aa6a
UD
17782 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17783 calls to internal_setent.
17784
c0244a9d
UD
17785 [BZ #12885]
17786 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17787 addresses using gethostbyname4_r ignore IPv4 addresses.
17788
c5e3c2ae
UD
17789 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17790 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17791
75d39ff2
UD
17792 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17793
42675c6f
DM
177942011-06-20 David S. Miller <davem@davemloft.net>
17795
17796 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17797 inclusions.
17798 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17799
17800 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17801 (elf_irel): Use it.
17802 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17803 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17804 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17805 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17806 * sysdeps/x86_64/dl-irel.h: Likewise.
17807
17808 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17809 * elf/dl-sym.c: Likewise.
17810
57912a71
UD
178112011-06-15 Ulrich Drepper <drepper@gmail.com>
17812
17813 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17814 need to dereference resplen2.
17815
ee22793d
AS
178162011-06-14 Andreas Schwab <schwab@redhat.com>
17817
17818 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17819
a9e836b0
UD
178202011-06-15 Ulrich Drepper <drepper@gmail.com>
17821
77fb9117
UD
17822 * Makeconfig: Define vardbdir and inst_vardbdir.
17823 * nss/Makefile: Add rules to install db-Makefile.
17824
40c1b22c
UD
17825 * nss/nss_db/db-XXX.c: Cleanup.
17826
9f2da732
UD
17827 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17828 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17829 GLIBC_PRIVATE.
17830 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17831 * nss/makedb.c: Implement -g option to specify that value strings
17832 are generated and should not be added to table iterated over for
17833 get*ent calls.
17834 * nss/nss_db/db-initgroups.c: New file.
17835
82e9a1f7
UD
17836 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17837 interface.
17838
c41af17e
UD
17839 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17840 (internal_getgrouplist): Adjust to name change.
17841 Update use_initgroups_entry if this is not the first call.
17842 * nss/databases.def: Add initgroups entry.
17843
a9e836b0
UD
17844 * nss/makedb.c (compute_tables): Check result of multiple hash table
17845 sizes to minimize maximum chain length.
17846
2666d441
UD
178472011-06-14 Ulrich Drepper <drepper@gmail.com>
17848
17849 * Versions.def: Add entry for libnss_db.
17850 * shlib-versions: Likewise.
17851 * nss/Makefile: Add rules to build libnss_db.
17852 * nss/Versions: Add libnss_db information. Organize libnss_files
17853 entries better.
17854 * nss/db-Makefile: Add gshadow support. Change rules for the new
17855 makedb progra. Some minor improvements to generate smaller files.
17856 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17857 here from...
17858 * nss/makedb.c: ...here.
17859 Improve database format to be smaller and require less memory at
17860 runtime.
17861 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17862 db anymore.
17863 * nss/nss_db/db-netgrp.c: Likewise.
17864 * nss/nss_db/db-open.c: Likewise.
17865 * nss/nss_files/flies-XXX.x: Adjust comments.
17866 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17867 * nss/nss_files/files-grp.c: Likewise.
17868 * nss/nss_files/files-hosts.c: Likewise.
17869 * nss/nss_files/files-network.c: Likewise.
17870 * nss/nss_files/files-proto.c: Likewise.
17871 * nss/nss_files/files-pwd.c: Likewise.
17872 * nss/nss_files/files-rpc.c: Likewise.
17873 * nss/nss_files/files-service.c: Likewise.
17874 * nss/nss_files/files-sgrp.c: Likewise.
17875 * nss/nss_files/files-spwd.c: Likewise.
17876 * nss/nss_db/db-alias.c: Removed.
17877 * nss/nss_db/dummy-db.h: Removed.
17878
9ee76b5a
UD
178792011-06-02 Ulrich Drepper <drepper@gmail.com>
17880
17881 * nss/makedb.c: Rewritten to not use database library.
17882 * nss/Makefile: Update to build new makedb program.
17883
c71ca1f8
AJ
178842011-06-14 Andreas Jaeger <aj@suse.de>
17885
17886 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17887 memset declaration.
17888
3154bfb8
UD
178892011-06-10 Andreas Schwab <schwab@redhat.com>
17890
17891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17892 tmpbuf.
17893
b350afab
RM
178942011-06-10 Roland McGrath <roland@hack.frob.com>
17895
decd4e50
RM
17896 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17897 * elf/Makefile ($(objpfx)ld.so): Likewise.
17898
5615eaf2
RM
17899 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17900 Don't list ld.so twice in dependencies.
17901
17902 * posix/bug-regex31.c: Include <stdlib.h>.
17903
17904 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17905
17906 * nis/nss_compat/compat-spwd.c
17907 (getspent_next_nss_netgr): Remove unused variable.
17908 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17909
17910 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17911 nonmembers" output to use the right array.
17912
17913 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17914
17915 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17916
17917 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17918 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17919 * catgets/gencat.c (read_input_file): Likewise.
17920 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17921
17922 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17923 variable definition inside #if's controlling its use.
17924
17925 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17926
17927 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17928
17929 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17930
17931 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17932 unreachable code.
17933
17934 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17935
b68e08db
RM
17936 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17937 * configure: Regenerated.
17938
b350afab
RM
17939 * Makerules: Revert last change.
17940 * elf/Makefile: Likewise.
17941
28368601
RM
179422011-06-09 Roland McGrath <roland@hack.frob.com>
17943
17944 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17945 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17946 (reloc-link): Likewise.
17947
11988f8f
UD
179482011-06-09 Ulrich Drepper <drepper@gmail.com>
17949
17950 * elf/Makefile: Add rules to build pldd.
17951 * elf/pldd.c: New file.
17952 * elf/pldd-xx.c: New file.
17953
e80fab37
UD
179542011-06-07 Ulrich Drepper <drepper@gmail.com>
17955
17956 * version.h: Update for 2.15 development version.
17957
9b849836
DM
179582011-06-07 David S. Miller <davem@davemloft.net>
17959
17960 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17961 ifuncs.
17962 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17963 elf_machine_lazy_rel): Likewise.
17964 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17965 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17966 elf_machine_lazy_rel): Likewise.
17967 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17968 dl_hwcap via passed in argument.
17969 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17970 Likewise.
17971
5a31b283
AK
179722011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17973
17974 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17975
069e52f8
RM
179762011-06-06 Roland McGrath <roland@hack.frob.com>
17977
17978 [BZ #12849]
17979 * manual/fdl-1.1.texi: New file, verbatim from:
17980 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17981 * manual/lgpl-2.1.texi: New file, verbatim from:
17982 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17983 * manual/Makefile (licenses): New variable, list those new file names.
17984 (texis): Use it.
17985 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17986
17987 * manual/fdl.texi: File removed.
17988 * manual/lesser.texi: File removed.
17989 * manual/libc.texinfo (Copying, Documentation License):
17990 Use new @include file names, put @appendix directive before @include.
17991
f16846a5
JJ
179922011-06-04 Jakub Jelinek <jakub@redhat.com>
17993
17994 [BZ #12841]
17995 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17996 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17997 (mq_open): Add __NTH.
17998
3d29045b
L
179992011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18000
18001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18002 Assume Intel Core i3/i5/i7 processor if AVX is available.
18003
8c297311
UD
180042011-05-31 Ulrich Drepper <drepper@gmail.com>
18005
18006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18007 typo.
18008
c8fc0c91
UD
180092011-05-31 Andreas Schwab <schwab@redhat.com>
18010
18011 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18012 memory. Use alloca_account. Fix memory leak when retrying.
18013
5b27a807
UD
180142011-05-31 Ulrich Drepper <drepper@gmail.com>
18015
356f8bc6
UD
18016 * version.h (RELEASE): Bump for 2.14 release.
18017 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18018
5b27a807
UD
18019 * config.make.in (RANLIB): Remove entry.
18020
01f16ab0
UD
180212011-05-30 Ulrich Drepper <drepper@gmail.com>
18022
41fce8bd
UD
18023 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18024 (libc.pot): Work around missing support for .ksh extension in xgettext.
18025
4769ae77
UD
18026 [BZ #12684]
18027 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18028 if both request failed.
18029 (send_dg): In case of server errors clear resplen or *resplen2.
18030
6b1e7d19
UD
18031 [BZ #12454]
18032 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18033 when there are multiple maps.
18034 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18035 (_dl_fini): Remove test here.
18036
01f16ab0
UD
18037 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18038
b1ebd700
UD
180392011-05-29 Ulrich Drepper <drepper@gmail.com>
18040
7ae22829
UD
18041 [BZ #12350]
18042 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18043 bit from old_res_options.
18044 (gaih_inet): Likewise.
18045
553149f6 18046 [BZ #11099]
18a84741 18047 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
18048 as signed.
18049
652ffab1
UD
18050 * resolv/res_init.c (res_setoptions): Make the code more compact.
18051
16985fd0
UD
18052 [BZ #11558]
18053 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18054 set RES_USEVC.
18055
0464f746
UD
18056 [BZ #11634]
18057 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18058
7d17596c
UD
18059 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18060
cf6bbbd7
UD
18061 [BZ #11781]
18062 * malloc/malloc.h: Declare malloc hook variables as volatile.
18063
13f1ab36
UD
18064 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18065 in last patch.
18066
b1ebd700
UD
18067 [BZ #11799]
18068 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 18069 raise in the comment.
80e2212d
UD
18070 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18071 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18072 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 18073
ce67228d
UD
180742011-05-28 Ulrich Drepper <drepper@gmail.com>
18075
8887a920
UD
18076 [BZ #12811]
18077 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18078 grow the buffers more if it already has to be sufficient.
18079 (build_wcs_upper_buffer): Likewise.
18080 * posix/regexec.c (check_matching): Likewise.
18081 (clean_state_log_if_needed): Likewise.
18082 (extend_buffers): Don't enlarge buffers beyond size of the input
18083 buffer.
18084 Patches mostly by Emil Wojak <emil@wojak.eu>.
18085 * posix/bug-regex32.c: New file.
18086 * posix/Makefile (tests): Add bug-regex32.
18087
4f031072
UD
18088 * locale/findlocale.c (_nl_find_locale): Return right away if
18089 _nl_explode_name failed.
18090 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18091
d0478f0c
UD
18092 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18093
de81b246
UD
18094 * debug/xtrace.sh: Unify messages.
18095 * malloc/memusage.sh: Likewise.
18096
c738465a
UD
18097 [BZ #12813]
18098 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18099 time symbol from vDSO. Substitute with vsyscall if not available.
18100 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18101 __vdso_time.
18102
f1f929d7
UD
18103 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18104 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18105 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18106 Add sendmmsg and internal_sendmmsg.
18107 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18108 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18109 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18110
ce67228d
UD
18111 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18112 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18113 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18114
e57420c6
UD
181152011-05-27 Ulrich Drepper <drepper@gmail.com>
18116
a8509ca5
UD
18117 [BZ #12813]
18118 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18119 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18120 available.
18121 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18122 __vdso_getcpu.
18123
e57420c6
UD
18124 [BZ #12814]
18125 * iconvdata/Makefile (tests): Add bug-iconv9.
18126 * iconvdata/bug-iconv9.c: New file.
18127
4d07db15
AS
181282011-05-27 Andreas Schwab <schwab@redhat.com>
18129
18130 [BZ #12814]
18131 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18132
ea486f69
JJ
181332011-05-25 Jakub Jelinek <jakub@redhat.com>
18134
18135 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18136 (struct user_regs_struct): Change intcs field back to cs.
18137
6f038433
UD
181382011-05-25 Ulrich Drepper <drepper@gmail.com>
18139
18140 * po/ja.po: Update from translation team.
18141
67f86a25
UD
181422011-05-23 Ulrich Drepper <drepper@gmail.com>
18143
18144 [BZ #12795]
18145 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18146 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18147
def7fbd6
AS
181482011-05-20 Andreas Schwab <schwab@redhat.com>
18149
18150 * stdlib/longlong.h: Update from GCC.
18151
f50ef8f1
AS
181522011-05-23 Andreas Schwab <schwab@redhat.com>
18153
18154 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18155 parameter name.
18156 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18157 Add parameter name.
18158 (__sysconf): Pass it down.
18159
de7ce8f1
UD
181602011-05-22 Ulrich Drepper <drepper@gmail.com>
18161
f2962a71
UD
18162 [BZ #12671]
18163 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18164 some situations.
18165 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18166 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18167 add in in __libc_use_alloca calls. Adjust callers.
18168 (glob): Use malloc in some situations.
18169
de7ce8f1
UD
18170 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18171 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18172 pltexit.
18173
aec84f53
UD
181742011-05-21 Ulrich Drepper <drepper@gmail.com>
18175
05bb4a68
UD
18176 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18177 and CLOCK_BOOTTIME_ALARM.
18178
7ea72f99
UD
18179 [BZ #12782]
18180 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18181 is returned.
18182
7e4afad5
UD
18183 * string/_strerror.c (__strerror_r): Print negative errors as signed
18184 numbers.
18185
8e211fec
UD
18186 [BZ #12777]
18187 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18188 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18189 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18190
f7d82dc9
UD
18191 * configure.in: Fix typo in redirection and correct removal of test
18192 files in two cases.
18193
cc9e536d
UD
18194 [BZ #12788]
18195 * locale/setlocale.c (new_composite_name): Fix test to check for
18196 identical name of all categories.
18197
aec84f53
UD
18198 [BZ #12792]
18199 * libio/filedoalloc.c (local_isatty): New function.
18200 (_IO_file_doallocate): Use local_isatty.
18201 * stdio-common/perror.c (perror): In case a new stream is used
18202 forward the stream error.
18203 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18204 error flag.
18205
78e64fdc
RT
182062011-05-20 Ulrich Drepper <drepper@gmail.com>
18207
34a9094f
UD
18208 [BZ #11869]
18209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18210 alloca.
18211 * include/alloca.h (extend_alloca_account): Define.
18212
78e64fdc
RT
18213 [BZ #11857]
18214 * posix/regex.h: Fix comments with documentation of user-accessible
18215 fields after compilation and describe correct free'ing of pattern
18216 after re_compile_pattern.
18217 Patch by Reuben Thomas <rrt@sc3d.org>.
18218
457bddfc
RA
182192011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18220
18221 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18222 and -mno-altivec to prevent the compiler from using Altivec and/or
18223 VSX instructions when the corresponding registers are not available.
18224
a4527b51
AS
182252011-05-19 Andreas Schwab <schwab@redhat.com>
18226
18227 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18228
ed690b2f
UD
182292011-05-19 Ulrich Drepper <drepper@gmail.com>
18230
18231 * libio/freopen.c (freopen): Use __dup2, not dup2.
18232 * libio/freopen64.c (freopen64): Likewise.
18233
8db73634
L
182342011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18235
18236 [BZ #12775]
18237 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18238 * math/Makefile (tests): Add test-powl.
18239 (CFLAGS-test-powl.c): Define.
18240 * math/test-powl.c: New file.
18241
0a197a9d
L
182422011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18243
18244 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18245
ee30c380
UD
182462011-05-17 Ulrich Drepper <drepper@gmail.com>
18247
18248 [BZ #11837]
18249 * iconvdata/gb18030.c: Update to GB18020-2005.
18250
6ce75379
UD
182512011-05-16 Ulrich Drepper <drepper@gmail.com>
18252
a4b89fd8
AR
18253 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18254 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18255 Patch by Aharon Robbins <arnold@skeeve.com>.
18256
ea389b12
UD
18257 [BZ #11892]
18258 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18259 on the stack.
18260
68a3f91f
UD
18261 [BZ #11895]
18262 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18263 through underflows.
18264
15cc7dd1
UD
18265 [BZ #12766]
18266 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18267 point to strings before performing equality test for error_one_per_line
18268 mode.
18269
f3799213
UD
18270 [BZ #11697]
18271 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18272
d79a9c94
UD
18273 [BZ #11820]
18274 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18275 (struct user_fpregs_struct): Avoid __uint*_t types.
18276
56e5eb46
UD
18277 [BZ #6420]
18278 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18279 symbol info. Use it instead of calling _dl_addr locally.
18280 (lock_and_info): New function.
18281 (tr_freehook): Call lock_and_info and pass symbol info as additional
18282 parameter to tr_where.
18283 (tr_mallochook): Likewise.
18284 (tr_reallochook): Likewise.
18285 (tr_memalignhook): Likewise.
18286
6ce75379
UD
18287 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18288 used and couldn't be at all thread-safe.
18289
f8a3b5bf
UD
182902011-05-15 Ulrich Drepper <drepper@gmail.com>
18291
94b7cc37
UD
18292 * libio/freopen.c (freopen): Don't close old file descriptor
18293 before the new one is opened. Instead dup the new file descriptor
18294 to the old one after the new stream is created.
18295 * libio/freopen64.c (freopen64): Likewise.
18296 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18297 * libio/fileops.c (_IO_new_file_close_it): Handle new
18298 _IO_FLAGS2_NOCLOSE flag.
18299 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18300 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18301 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18302 _IO_FLAGS2_NOCLOSE flag.
18303 * include/unistd.h: Add hidden_proto for dup3.
18304 Define __have_dup3.
18305 * io/dup3.c: Define hidden symbol.
18306 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18307
bd25564e
UD
18308 [BZ #7101]
18309 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18310 when an incomplete long option is used.
18311 * posix/tst-getopt_long1.c: New file.
18312 * posix/Makefile (tests): Add tst-getopt_long1.
18313
c84cfef4
UD
18314 [BZ #10138]
18315 * scripts/config.guess: Update from autoconf-2.68.
18316 * scripts/config.sub: Likewise.
18317
3b85df27
UD
18318 [BZ #10157]
18319 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18320 tests into ...
18321 (has_cpuclock): ...this. New function.
18322 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18323 macro here based on has_cpuclock code.
18324
15a856b1
UD
18325 [BZ #10149]
18326 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18327 First byte (not low byte) is now always NUL.
18328 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18329
05f399e6
UD
18330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18331 Use non-cancelable interfaces.
18332
10a52685 18333 [BZ #9809]
94ecc67d
UD
18334 * locale/iso-639.def: Add entry for Sorani.
18335
f8a3b5bf
UD
18336 [BZ #11901]
18337 * include/stdlib.h: Move include protection to the right place.
18338 Define abort_msg_s. Declare __abort_msg with it.
18339 * stdlib/abort.c (__abort_msg): Adjust type.
18340 * assert/assert.c (__assert_fail_base): New function. Majority
18341 of code from __assert_fail. Allocate memory for __abort_msg with
18342 mmap.
18343 (__assert_fail): Now call __assert_fail_base.
18344 * assert/assert-perr.c: Remove bulk of implementation. Use
18345 __assert_fail_base.
18346 * include/assert.hL Declare __assert_fail_base.
18347 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18348 mmap.
18349 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18350
1af4e298
UD
183512011-05-14 Ulrich Drepper <drepper@gmail.com>
18352
f8a3b5bf 18353 [BZ #11952]
d26dfc60
MG
18354 [BZ #12453]
18355 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18356 until all modules are registered in the DTV.
18357 * elf/Makefile: Add rules to build and run tst-tls19.
18358 * elf/tst-tls19.c: New file.
18359 * elf/tst-tls19mod1.c: New file.
18360 * elf/tst-tls19mod2.c: New file.
18361 * elf/tst-tls19mod3.c: New file.
18362 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18363
2fc54d6f
UD
18364 [BZ #12083]
18365 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18366 correctly.
18367
98d76b46
UD
18368 [BZ #12601]
18369 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18370 two-byte sequence errors.
18371 * iconvdata/Makefile (tests): Add bug-iconv8.
18372 * iconvdata/bug-iconv8.c: New file.
18373
da3c19ef
UD
18374 [BZ #12626]
18375 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18376 buf2 definition.
18377
ca408c15
UD
18378 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18379
d6f67f7d
UD
18380 [BZ #12432]
18381 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18382 (dummy_getcfa): New function.
18383 (init): Get _Unwind_GetCFA address, use dummy if not found.
18384 (backtrace_helper): In recursion check, also check whether CFA changes.
18385 (__backtrace): Completely initialize arg.
18386
1af4e298 18387 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18388 storing incomplete byte sequence in state object. Avoid testing for
18389 guaranteed too small input if we know there is enough data available.
1af4e298 18390
da62f81b
AS
183912011-05-11 Andreas Schwab <schwab@redhat.com>
18392
18393 * Makeconfig (+link-pie): Indent.
18394 * Rules (binaries-pie): Define if $(have-fpie) and
18395 $(build-shared).
18396 (binaries-shared): Also filter out $(binaries-pie).
18397 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18398 * nscd/Makefile (others-pie): Add nscd.
18399 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18400 ($(objpfx)nscd): Remove command override.
18401 * login/Makefile (others-pie): Add pt_chown.
18402 ($(objpfx)pt_chown): Remove command override.
18403 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18404 remove command overrides.
18405
fcabc0f8
UD
184062011-05-13 Ulrich Drepper <drepper@gmail.com>
18407
20030ae6
UD
18408 * libio/tst_putwc.c: Fix error messages.
18409
fcabc0f8
UD
18410 [BZ #12724]
18411 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18412 currently writing and seek to current position when not.
18413 * libio/Makefile (tests): Add bug-fclose1.
18414 * libio/bug-fclose1.c: New file.
18415
320a5dc0
PB
184162011-05-12 Ulrich Drepper <drepper@gmail.com>
18417
18418 [BZ #12511]
18419 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18420 don't set DF_1_NODELETE here.
18421 (do_lookup_x): When entering new entry test for copy relocation
18422 and if necessary set DF_1_NODELETE flag.
18423 * elf/tst-unique4.cc: New file.
18424 * elf/tst-unique4.h: New file.
18425 * elf/tst-unique4lib.cc: New file.
18426 * elf/Makefile: Add rules to build and run tst-unique4.
18427 Patch by Piotr Bury <pbury@goahead.com>.
18428
22836f52
UD
184292011-05-11 Ulrich Drepper <drepper@gmail.com>
18430
f574184a
UD
18431 [BZ #12052]
18432 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18433
e1fb097f
UD
18434 [BZ #12625]
18435 * misc/mntent_r.c (addmntent): Flush the stream after the output
18436
22836f52
UD
18437 [BZ #12393]
18438 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18439 (is_trusted_path_normalize): Skip initial colon. Append slash
18440 to empty buffer. Duplicate is_trusted_path code but allow
18441 constructed patch to be prefix.
18442 (is_dst): Allow $ORIGIN followed by /.
18443 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18444 Correct testing of result of is_trusted_path_normalize
18445 (decompose_rpath): Fix warning.
18446
7b3b0b2a
UD
184472011-05-10 Ulrich Drepper <drepper@gmail.com>
18448
18449 [BZ #11257]
18450 * grp/initgroups.c (internal_getgrouplist): When we found the service
18451 list through the initgroups entry in nsswitch.conf do not always
18452 continue on a successful lookup. Don't always use the
eac80ce2 18453 __nss_group_database value if it is set.
7b3b0b2a
UD
18454 * nss/nsswitch.conf (initgroups): Change action for successful db
18455 lookup to continue for compatibility.
18456
2a81eaa5
UD
184572011-05-09 Ulrich Drepper <drepper@gmail.com>
18458
be97a69e
UD
18459 [BZ #11532]
18460 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18461 and CP774 modules.
18462 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18463 and CP774 modules.
18464 * iconvdata/tst-tables.sh: Likewise.
18465 * iconvdata/cp770.c: New file.
18466 * iconvdata/cp771.c: New file.
18467 * iconvdata/cp772.c: New file.
18468 * iconvdata/cp773.c: New file.
18469 * iconvdata/cp774.c: New file.
18470 * iconvdata/testdata/CP770: New file.
18471 * iconvdata/testdata/CP770..UTF8: New file.
18472 * iconvdata/testdata/CP771: New file.
18473 * iconvdata/testdata/CP771..UTF8: New file.
18474 * iconvdata/testdata/CP772: New file.
18475 * iconvdata/testdata/CP772..UTF8: New file.
18476 * iconvdata/testdata/CP773: New file.
18477 * iconvdata/testdata/CP773..UTF8: New file.
18478 * iconvdata/testdata/CP774: New file.
18479 * iconvdata/testdata/CP774..UTF8: New file.
18480
18481 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18482 END CHARMAP line.
18483 * iconvdata/gen-8bit-gap.sh: Likewise.
18484 * iconvdata/gen-8bit.sh: Likewise.
18485
c1e9e399
UD
18486 * locale/iso-639.def: Add ary entry.
18487
24c55fb3 18488 [BZ #11258]
96b4b1b0
UD
18489 * locale/C-translit.h.in: Add U20A1 transliteration.
18490
bdc2f971
KB
18491 [BZ #12178]
18492 * locale/iso-639.def: Add wae entry.
18493 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18494
2952b117
UD
18495 [BZ #12545]
18496 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18497 for n.
18498
2a81eaa5
UD
18499 [BZ #12711]
18500 * locale/C-translit.h.in: Add entry for U20B9.
18501 Patch by pravin.d.s@gmail.com.
18502
28377d1b
UD
185032011-05-08 Ulrich Drepper <drepper@gmail.com>
18504
7fb90fb8
UD
18505 [BZ #12713]
18506 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18507 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18508 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18509 in rtld. Use *stat64.
7fb90fb8 18510 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18511 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18512 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18513 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18514 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18515 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18516 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18517 __fstatat64 macros.
7fb90fb8
UD
18518 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18519 * dirent/rewinddir.c: Add libc_hidden_def.
18520 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18521 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18522
28377d1b
UD
18523 * include/dirent.h (__alloc_dir): Add flags parameter.
18524 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18525 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18526 __alloc_dir.
18527 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18528 from fdopendir if O_CLOEXEC is already set.
18529
66bdbaa4
AM
185302011-03-15 Alan Modra <amodra@gmail.com>
18531
18532 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18533 l_tls_firstbyte_offset non-zero. Save padding offset in
18534 l_tls_firstbyte_offset for later use.
18535 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18536 freeing static tls block.
18537
95721191
JN
185382011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18539
18540 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18541 where #ifdef was intended. The intent is to prevent ARG_MAX from
18542 being defined by the kernel headers.
18543
f87dfb1f
UD
185442011-05-07 Ulrich Drepper <drepper@gmail.com>
18545
18546 [BZ #12734]
18547 * resolv/resolv.h: Define RES_NOTLDQUERY.
18548 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18549 no-tld-query and set RES_NOTLDQUERY.
18550 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18551 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18552 modern BIND to search name as TLD unless forbidden.
18553
47c3cd7a
UD
185542011-05-07 Petr Baudis <pasky@suse.cz>
18555 Ulrich Drepper <drepper@gmail.com>
18556
18557 [BZ #12393]
18558 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18559 (is_trusted_path): ...to here.
c1e9ea35 18560 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18561 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18562 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18563
8a35c912
PP
185642011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18565
18566 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18567 __BEGIN/__END_DECLS.
18568
acd41f47
UD
185692011-05-06 Ulrich Drepper <drepper@gmail.com>
18570
18571 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18572 NSS_STATUS_NOTFOUND if no record was found.
18573
597df647
AS
185742011-05-05 Andreas Schwab <schwab@redhat.com>
18575
18576 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18577 (headers-not-in-tirpc): Remove rpc/netdb.h
18578 * resolv/netdb.h: Revert last change.
18579
b9af1301
PP
185802011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18581
18582 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18583 circular dependency between libgcc.a and libc.a.
18584
4e34d5f5
AS
185852011-05-05 Andreas Schwab <schwab@redhat.com>
18586
18587 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18588 * nis/Makefile: Don't install rpcsvc/*.
18589 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18590 instead of <rpc/types.h>.
18591 (MAXHOSTNAMELEN): Define.
18592
00ee369c
AS
185932011-05-03 Andreas Schwab <schwab@redhat.com>
18594
18595 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18596
0b592a30
MB
185972011-04-28 Maciej Babinski <mbabinski@google.com>
18598
18599 [BZ #12714]
18600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18601 gethostbyname4_r when IPv6 results are possible.
18602
6e04cbbe
UD
186032011-05-02 Ulrich Drepper <drepper@gmail.com>
18604
18605 [BZ #12723]
18606 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18607 _PC_PIPE_BUF handling.
18608
e4ecafe0
BH
186092011-04-30 Bruno Haible <bruno@clisp.org>
18610
18611 [BZ #12717]
18612 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18613 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18614 to 'int'.
18615 * inet/getnameinfo.c (getnameinfo): Likewise.
18616
125ee683
UD
186172011-04-29 Ulrich Drepper <drepper@gmail.com>
18618
18619 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18620 to groups setting in database lookup.
18621 * nss/nsswitch.conf: Add initgroups entry.
18622
b722481a
EB
186232011-04-22 Ulrich Drepper <drepper@gmail.com>
18624
18625 [BZ #12685]
18626 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18627 mode string.
18628 Patch by Eric Blake <eblake@redhat.com>.
18629
4df46dbd
L
186302011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18631
18632 * sunrpc/Makefile (need-export-routines): Add svc_run.
18633 (routines): Remove svc_run.
18634 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18635 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18636 * sunrpc/svc_run.c (svc_run): Likewise.
18637 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18638
e84142d2
UD
186392011-04-21 Ulrich Drepper <drepper@gmail.com>
18640
18641 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18642 problem in reallocation in last patch.
18643
877175d8
UD
186442011-04-20 Ulrich Drepper <drepper@gmail.com>
18645
18646 * sunrpc/Makefile: Move inclusion of Rules.
18647
ab8eed78
UD
186482011-04-19 Ulrich Drepper <drepper@gmail.com>
18649
18650 * nss/nss_files/files-initgroups.c: New file.
18651 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18652 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18653 _nss_files_initgroups_dyn.
18654
e3d8f584
RS
186552011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18656
18657 * elf/elf.h (R_ARM_IRELATIVE): Define.
18658
af190f45
UD
186592011-04-19 Ulrich Drepper <drepper@gmail.com>
18660
18661 * po/ru.po: Update from translation team.
18662
53cf59ef
UD
186632011-04-17 Ulrich Drepper <drepper@gmail.com>
18664
18665 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18666 dependencies.
18667
4c559bcd
MF
186682011-02-06 Mike Frysinger <vapier@gentoo.org>
18669
18670 [BZ #12653]
18671 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18672 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18673 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18674 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18675 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18676
4420675c
AS
186772011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18678
18679 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18680 differing bytes.
18681 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18682 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18683 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18684
75ea32ab
UD
186852011-04-17 Ulrich Drepper <drepper@gmail.com>
18686
18687 [BZ #12420]
18688 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18689 storing it.
18690 * stdlib/bug-getcontext.c: New file.
18691 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18692
27390476
AK
186932011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18694
18695 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18696 instructions into .machine "z9-109".
18697 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18698 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18699
10442705
AK
187002011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18701
18702 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18703 between environment variables and auxiliary vector.
18704
7b57bfe5
UD
187052011-04-16 Ulrich Drepper <drepper@gmail.com>
18706
18707 * Makefile: Add rules to build linkobj/libc.so.
18708 * include/libc-symbols.h: Define libc_hidden_nolink.
18709 * include/rpc/auth.h: Mark functions which are to be hidden.
18710 * include/rpc/auth_des.h: Likewise.
18711 * include/rpc/auth_unix.h: Likewise.
18712 * include/rpc/clnt.h: Likewise.
18713 * include/rpc/des_crypt.h: Likewise.
18714 * include/rpc/key_prot.h: Likewise.
18715 * include/rpc/pmap_clnt.h: Likewise.
18716 * include/rpc/pmap_prot.h: Likewise.
18717 * include/rpc/pmap_rmt.h: Likewise.
18718 * include/rpc/rpc_msg.h: Likewise.
18719 * include/rpc/svc.h: Likewise.
18720 * include/rpc/svc_auth.h: Likewise.
18721 * include/rpc/xdr.h: Likewise.
18722 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18723 * nss/Makefile: Likewise.
18724 * sunrpc/Makefile: Don't install headers. Build library with normal
18725 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18726 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18727 for the compat linking library. Remove use of INTDEF/INTUSE.
18728 * sunrpc/auth_none.c: Likewise.
18729 * sunrpc/auth_unix.c: Likewise.
18730 * sunrpc/authdes_prot.c: Likewise.
18731 * sunrpc/authuxprot.c: Likewise.
18732 * sunrpc/clnt_gen.c: Likewise.
18733 * sunrpc/clnt_perr.c: Likewise.
18734 * sunrpc/clnt_raw.c: Likewise.
18735 * sunrpc/clnt_simp.c: Likewise.
18736 * sunrpc/clnt_tcp.c: Likewise.
18737 * sunrpc/clnt_udp.c: Likewise.
18738 * sunrpc/clnt_unix.c: Likewise.
18739 * sunrpc/des_crypt.c: Likewise.
18740 * sunrpc/des_soft.c: Likewise.
18741 * sunrpc/get_myaddr.c: Likewise.
18742 * sunrpc/key_call.c: Likewise.
18743 * sunrpc/key_prot.c: Likewise.
18744 * sunrpc/netname.c: Likewise.
18745 * sunrpc/pm_getmaps.c: Likewise.
18746 * sunrpc/pm_getport.c: Likewise.
18747 * sunrpc/pmap_clnt.c: Likewise.
18748 * sunrpc/pmap_prot.c: Likewise.
18749 * sunrpc/pmap_prot2.c: Likewise.
18750 * sunrpc/pmap_rmt.c: Likewise.
18751 * sunrpc/publickey.c: Likewise.
18752 * sunrpc/rpc_cmsg.c: Likewise.
18753 * sunrpc/rpc_common.c: Likewise.
18754 * sunrpc/rpc_dtable.c: Likewise.
18755 * sunrpc/rpc_prot.c: Likewise.
18756 * sunrpc/rpc_thread.c: Likewise.
18757 * sunrpc/rtime.c: Likewise.
18758 * sunrpc/svc.c: Likewise.
18759 * sunrpc/svc_auth.c: Likewise.
18760 * sunrpc/svc_authux.c: Likewise.
18761 * sunrpc/svc_raw.c: Likewise.
18762 * sunrpc/svc_run.c: Likewise.
18763 * sunrpc/svc_simple.c: Likewise.
18764 * sunrpc/svc_tcp.c: Likewise.
18765 * sunrpc/svc_udp.c: Likewise.
18766 * sunrpc/svc_unix.c: Likewise.
18767 * sunrpc/svcauth_des.c: Likewise.
18768 * sunrpc/xcrypt.c: Likewise.
18769 * sunrpc/xdr.c: Likewise.
18770 * sunrpc/xdr_array.c: Likewise.
18771 * sunrpc/xdr_float.c: Likewise.
18772 * sunrpc/xdr_intXX_t.c: Likewise.
18773 * sunrpc/xdr_mem.c: Likewise.
18774 * sunrpc/xdr_rec.c: Likewise.
18775 * sunrpc/xdr_ref.c: Likewise.
18776 * sunrpc/xdr_sizeof.c: Likewise.
18777 * sunrpc/xdr_stdio.c: Likewise.
18778
e6c61494
UD
187792011-04-10 Ulrich Drepper <drepper@gmail.com>
18780
18781 [BZ #12650]
18782 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18783 * sysdeps/ia64/dl-tls.h: Likewise.
18784 * sysdeps/powerpc/dl-tls.h: Likewise.
18785 * sysdeps/s390/dl-tls.h: Likewise.
18786 * sysdeps/sh/dl-tls.h: Likewise.
18787 * sysdeps/sparc/dl-tls.h: Likewise.
18788 * sysdeps/x86_64/dl-tls.h: Likewise.
18789 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18790
34fe483e
AS
187912011-03-14 Andreas Schwab <schwab@redhat.com>
18792
18793 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18794 rpath element also skip the following colon.
18795 (expand_dynamic_string_token): Add is_path parameter and pass
18796 down to DL_DST_REQUIRED and _dl_dst_substitute.
18797 (decompose_rpath): Call expand_dynamic_string_token with
18798 non-zero is_path. Ignore empty rpaths.
18799 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18800 with zero is_path.
18801
f12a32e6
AS
188022011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18803
18804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18805 Make cancelable.
18806
38a7d692
UD
188072011-04-09 Ulrich Drepper <drepper@gmail.com>
18808
18809 [BZ #12655]
18810 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18811 Patch by Filipe David Manana <fdmanana@apache.org>.
18812
e451d22b
AS
188132011-04-07 Andreas Schwab <schwab@redhat.com>
18814
18815 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18816 Maintain aligned stack.
18817 (CHECK_RSP): Remove unused macro.
18818
dedc7c7b
UD
188192011-04-03 Ulrich Drepper <drepper@gmail.com>
18820
18821 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18822 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18823
94521213
UD
188242011-04-02 Ulrich Drepper <drepper@gmail.com>
18825
18826 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18827
8cb700c0 18828 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18829
0354e355
L
188302011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18831
18832 [BZ #12518]
18833 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18834 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18835 * sysdeps/x86_64/memmove.c: New file.
18836 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18837 (memcpy): Renamed to ...
18838 (__new_memcpy): This.
18839 (memcpy): Provide GLIBC_2_14 memcpy.
18840 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18841 (memcpy): Provide GLIBC_2_2_5 memcpy.
18842
8593482f
UD
188432011-04-01 Ulrich Drepper <drepper@gmail.com>
18844
18845 [BZ #12631]
18846 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18847
81a5726b
AS
188482011-03-30 Andreas Schwab <schwab@redhat.com>
18849
18850 * misc/syncfs.c: New file.
18851 * misc/Makefile (routines): Add syncfs.
18852 * posix/unistd.h: Declare syncfs.
18853 * sysdeps/unix/syscalls.list: Add syncfs.
18854
00e5419f
AS
188552011-04-01 Andreas Schwab <schwab@redhat.com>
18856
18857 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18858 open_by_handle_at.
18859 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18860 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18862 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18864 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18865 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18866
748876bf
UD
188672011-04-01 Ulrich Drepper <drepper@gmail.com>
18868
658e451d
UD
18869 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18870 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18871 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18872 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18873 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18875 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18876
748876bf
UD
18877 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18878 sync_file_range.c with -fexceptions.
18879 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18880 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18881 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18882 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18883 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18884 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18886 sync_file_range as cancellation point
18887 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18888 now a wrapper around __call_sync_file_range with cancellation handling.
18889 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18890 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18891 function name to __call_sync_file_range.
18892 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18893 Add call_sync_file_range.
748876bf 18894
6e63d5e1
AS
188952011-04-01 Andreas Schwab <schwab@redhat.com>
18896
18897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18898 bits/timex.h.
6e63d5e1 18899
46998f74
UD
189002011-04-01 Ulrich Drepper <drepper@gmail.com>
18901
4c1423ed
UD
18902 * iconv/iconv.h: Fix typo in comment.
18903 * io/fcntl.h: Likewise.
18904 * libio/stdio.h: Likewise.
18905 * posix/spawn.h: Likewise.
18906 * posix/unistd.h: Likewise.
18907 * stdlib/stdlib.h: Likewise.
18908 * time/time.h: Likewise.
18909 * wcsmbs/wchar.h: Likewise.
18910
158648c0
UD
18911 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18912 open_by_handle): Add.
18913 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18914 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18915 Augment a few comments.
18916 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18918 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18921 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18922 open_by_handle.
18923
46998f74
UD
18924 * io/fcntl.h (AT_EMPTY_PATH): Define.
18925
83fe108b
UD
189262011-03-30 Ulrich Drepper <drepper@gmail.com>
18927
18928 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18929 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18930 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18931 to...
18932 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18933 * Versions.def: Add GLIBC_2.14.
18934 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18935 Export.
83fe108b 18936
bb242059
UD
189372011-03-22 Ulrich Drepper <drepper@gmail.com>
18938
18939 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18940 round counter.
18941 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18942
c97a1282
L
189432011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18944
18945 [BZ #12597]
18946 * string/test-strncmp.c (do_page_test): New function.
18947 (check2): Likewise.
18948 (test_main): Call check2.
18949 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18950
2a115601
UD
189512011-03-20 Ulrich Drepper <drepper@gmail.com>
18952
18953 [BZ #12587]
18954 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18955 Handle cache information in CPU leaf 4.
18956 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18957
8126d904
UD
189582011-03-18 Ulrich Drepper <drepper@gmail.com>
18959
042c49c6 18960 [BZ #12583]
8126d904
UD
18961 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18962 character representation.
18963 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18964
ccfe366e
RA
189652011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18966
18967 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18968 END(__isnan) to END(__isnanf) to match function entry point/label
18969 EALIGN(__isnanf,...).
18970
c6e13027
JJ
189712011-03-10 Jakub Jelinek <jakub@redhat.com>
18972
18973 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18974
33f85a3f
UD
189752011-03-10 Ulrich Drepper <drepper@gmail.com>
18976
028478fa
UD
18977 [BZ #12510]
18978 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18979 copy from the symbol referenced in the relocation to initialize the
18980 used variable.
18981 Patch by Piotr Bury <pbury@goahead.com>.
18982 * elf/Makefile: Add rules to build and tst-unique3.
18983 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18984 * elf/tst-unique3.cc: New file.
18985 * elf/tst-unique3.h: New file.
18986 * elf/tst-unique3lib.cc: New file.
18987 * elf/tst-unique3lib2.cc: New file.
18988
33f85a3f
UD
18989 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18990
03592fc7
MF
189912011-03-10 Mike Frysinger <vapier@gentoo.org>
18992
18993 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18994 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18995 to _start.
03592fc7 18996
6a5ee102
UD
189972011-03-06 Ulrich Drepper <drepper@gmail.com>
18998
18999 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19000 to-be-loaded object along a path to loader is ld.so.
19001
7e4ba49c
HJ
190022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19003 Ulrich Drepper <drepper@gmail.com>
19004
19005 * sysdeps/x86_64/memset.S: After aligning destination, code
19006 branches to different locations depending on the value of
19007 misalignment, when multiarch is enabled. Fix this.
19008
190092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19010
19011 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19012 Set _x86_64_preferred_memory_instruction for AMD processsors.
19013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19014 Set bit_Prefer_SSE_for_memop for AMD processors.
19015
13a804de
UD
190162011-03-04 Ulrich Drepper <drepper@gmail.com>
19017
19018 * libio/fmemopen.c (fmemopen): Optimize a bit.
19019
9d25c392
AS
190202011-03-03 Andreas Schwab <schwab@redhat.com>
19021
19022 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19023
a5543c6a
RM
190242011-03-03 Roland McGrath <roland@redhat.com>
19025
19026 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19027
012d35f7
DM
190282011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19029
7e4ba49c 19030 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
19031 __bzero_ultra1 instead of __memset_ultra1.
19032
4bff6e01
AS
190332011-02-23 Andreas Schwab <schwab@redhat.com>
19034 Ulrich Drepper <drepper@gmail.com>
19035
19036 [BZ #12509]
19037 * include/link.h (struct link_map): Add l_orig_initfini.
19038 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19039 returning unsuccessfully.
19040 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19041 close of a file loaded at startup, restore the original l_initfini
19042 list.
19043 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19044 list, store the pointer.
19045 * elf/Makefile ($(objpfx)noload-mem): New rule.
19046 (noload-ENV): Define.
19047 (tests): Add $(objpfx)noload-mem.
19048 * elf/noload.c: Include <memcheck.h>.
19049 (main): Call mtrace. Close all opened handles.
19050
f2092faf
AS
190512011-02-17 Andreas Schwab <schwab@redhat.com>
19052
19053 [BZ #12454]
19054 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19055 dependencies are missing.
19056
6c8a2e88
ST
190572011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19058
f2092faf 19059 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
19060 Hurd needs munmap.
19061 * sysdeps/mach/hurd/ifreq.h: New file.
19062
84a42118
PB
190632011-01-27 Petr Baudis <pasky@suse.cz>
19064 Ulrich Drepper <drepper@gmail.com>
19065
071f805e 19066 [BZ 12445]#
84a42118
PB
19067 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19068 to extend_alloca().
19069 * stdio-common/bug23.c: New file.
19070 * stdio-common/Makefile (tests): Add bug23.
19071
e23fe25b
AS
190722010-09-28 Andreas Schwab <schwab@redhat.com>
19073 Ulrich Drepper <drepper@gmail.com>
19074
19075 [BZ #12489]
19076 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19077 before performing relro protection. At old place add assertion
19078 to make sure nothing changed.
19079
d3f02e10
NS
190802011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19081 Glauber de Oliveira Costa <glommer@gmail.com>
19082
19083 * elf/elf.h: Add new ARM TLS relocs.
19084
d55fd7a5
RA
190852011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19086
19087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19088 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19089 cast from r3.
19090 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19091 'tests' variable.
19092 * sysdeps/wordsize-64/tst-writev.c: New file.
19093
2206397e
RA
190942011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19095
19096 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19097 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19098 insns in _dl_start to prevent a TOC reference before relocs are
19099 resolved.
19100
e9433893
UD
191012011-02-15 Ulrich Drepper <drepper@gmail.com>
19102
19103 [BZ #12469]
19104 * Makeconfig: Remove RANLIB definition.
19105 * Makerules: Don't use RANLIB.
19106 * aclocal.m4: Remove ranlib test.
19107 * configure.in: No need to check for ranlib.
19108 * elf/rtld-Rules: Don't use RANLIB.
19109
f75286c6
ST
191102011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19111
8e31c82d
ST
19112 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19113 protection macro.
19114 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19115 inclusion protection macro.
19116
f75286c6
ST
19117 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19118 SIGRTMIN and SIGRTMAX and print information in that case only when
19119 SIGRTMIN is defined.
19120
c1d0e639
JJ
191212011-02-11 Jakub Jelinek <jakub@redhat.com>
19122
19123 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19124 arginfo fn returning -1.
19125
19126 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19127 and thousands string is zero terminated.
19128
edf9294e
AS
191292011-02-03 Andreas Schwab <schwab@redhat.com>
19130
19131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19132 sysdeps/unix/sysv/linux/bits/socket.h.
19133
2b7e92df
ST
191342011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19135
edf9294e
AS
19136 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19137 (__CPU_COUNT): Remove old macros.
19138 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19139 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19140 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
19141 (__sched_cpualloc, __sched_cpufree): Add declarations.
19142
a4c7ea7b
UD
191432011-02-05 Ulrich Drepper <drepper@gmail.com>
19144
19145 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19146 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19147 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19148 (readdhstai): Return value of addhstaiX call.
19149 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19150 (addgrbyX): Return value returned by cache_addgr.
19151 (readdgrbyname): Return value returned by addgrbyX.
19152 (readdgrbygid): Likewise.
19153 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19154 (addpwbyX): Return value returned by cache_addpw.
19155 (readdpwbyname): Return value returned by addhstbyX.
19156 (readdpwbyuid): Likewise.
19157 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19158 (addservbyX): Return value returned by cache_addserv.
19159 (readdservbyname): Return value returned by addservbyX:
19160 (readdservbyport): Likewise.
19161 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19162 (addhstbyX): Return value returned by cache_addhst.
19163 (readdhstbyname): Return value returned by addhstbyX.
19164 (readdhstbyaddr): Likewise.
19165 (readdhstbynamev6): Likewise.
19166 (readdhstbyaddrv6): Likewise.
19167 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19168 (readdinitgroups): Return value returned by addinitgroupsX.
19169 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19170 (prune_cache): Keep track of timeout value of re-added entries.
19171 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19172 * nscd/nscd.h: Adjust prototypes of readd* functions.
19173
a0bf67cc
RM
191742011-02-04 Roland McGrath <roland@redhat.com>
19175
19176 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19177 (nis_stats): Likewise.
19178 * nis/nis_modify.c (nis_modify): Likewise.
19179 * nis/nis_remove.c (nis_remove): Likewise.
19180 * nis/nis_add.c (nis_add): Likewise.
19181
19182 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19183
19184 * posix/fnmatch_loop.c: Add some consts.
19185
19186 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19187
435b95eb
L
191882011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19189
19190 [BZ #12460]
19191 * config.make.in (config-cflags-novzeroupper): Define.
19192 * configure.in: Substitute libc_cv_cc_novzeroupper.
19193 * elf/Makefile (AVX-CFLAGS): Define.
19194 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19195 (CFLAGS-tst-auditmod4a.c): Likewise.
19196 (CFLAGS-tst-auditmod4b.c): Likewise.
19197 (CFLAGS-tst-auditmod6b.c): Likewise.
19198 (CFLAGS-tst-auditmod6c.c): Likewise.
19199 (CFLAGS-tst-auditmod7b.c): Likewise.
19200 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19201
8517b15e
UD
192022011-02-02 Ulrich Drepper <drepper@gmail.com>
19203
19204 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19205 function to the callback.
19206 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19207
10a656fe
AS
192082011-02-02 Andreas Schwab <schwab@redhat.com>
19209
19210 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19211 of errno.
19212
968dad0a
UD
192132011-01-19 Ulrich Drepper <drepper@gmail.com>
19214
9f94d2ea 19215 [BZ #11724]
968dad0a
UD
19216 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19217 of constructors.
19218 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19219 of destructors.
19220 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19221
19222 [BZ #11724]
19223 * elf/Makefile: Add rules to build and run new test.
19224 * elf/tst-initorder.c: New file.
19225 * elf/tst-initorder.exp: New file.
19226 * elf/tst-initordera1.c: New file.
19227 * elf/tst-initordera2.c: New file.
19228 * elf/tst-initordera3.c: New file.
19229 * elf/tst-initordera4.c: New file.
19230 * elf/tst-initorderb1.c: New file.
19231 * elf/tst-initorderb2.c: New file.
19232 * elf/tst-order-a1.c: New file.
19233 * elf/tst-order-a2.c: New file.
19234 * elf/tst-order-a3.c: New file.
19235 * elf/tst-order-a4.c: New file.
19236 * elf/tst-order-b1.c: New file.
19237 * elf/tst-order-b2.c: New file.
19238 * elf/tst-order-main.c: New file.
19239 New test case by George Gensure <werkt0@gmail.com>.
19240
86e92359
UD
192412010-10-01 Andreas Schwab <schwab@redhat.com>
19242
19243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19244 decoding ACE if AI_CANONIDN.
19245
5d5732b0
UD
192462011-01-18 Ulrich Drepper <drepper@gmail.com>
19247
19248 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19249
a77e8cbc
UD
192502011-01-17 Ulrich Drepper <drepper@gmail.com>
19251
6392473f
UD
19252 * version.h (RELEASE): Bump for 2.13 release.
19253 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19254
620a0529
UD
19255 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19256
18ba70a5
UD
19257 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19258 MADV_NOHUGEPAGE.
32465c3e
UD
19259 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19260 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19261 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19262 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19263 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19264 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19265
c0dafcf1
UD
19266 * posix/getconf.c: Update copyright year.
19267 * catgets/gencat.c: Likewise.
19268 * csu/version.c: Likewise.
19269 * debug/catchsegv.sh: Likewise.
19270 * debug/xtrace.sh: Likewise.
19271 * elf/ldconfig.c: Likewise.
19272 * elf/ldd.bash.in: Likewise.
19273 * elf/sprof.c (print_version): Likewise.
19274 * iconv/iconv_prog.c: Likewise.
19275 * iconv/iconvconfig.c: Likewise.
19276 * locale/programs/locale.c: Likewise.
19277 * locale/programs/localedef.c: Likewise.
19278 * malloc/memusage.sh: Likewise.
19279 * malloc/mtrace.pl: Likewise.
19280 * nscd/nscd.c (print_version): Likewise.
19281 * nss/getent.c: Likewise.
19282
a77e8cbc
UD
19283 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19284 PF_CAIF, and PF_ALG.
19285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19286
77e8bddf
AS
192872011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19288
1f20b93a
AS
19289 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19290 (modules-names): Use them.
19291 (ifunc-test-modules, ifunc-pie-tests): Define.
19292 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19293 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19294 (test-extras): Likewise.
19295 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19296 $(compile-command.c).
19297 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19298 (all-built-dso): Define.
19299 (check-textrel.out, check-execstack.out): Depend on it.
19300
77e8bddf
AS
19301 * configure.in: Don't override --enable-multi-arch.
19302
bc425b33
UD
193032011-01-15 Ulrich Drepper <drepper@gmail.com>
19304
19305 [BZ #6812]
19306 * nscd/hstcache.c (tryagain): Define.
19307 (cache_addhst): Return tryagain not notfound for temporary errors.
19308 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19309 failed.
19310
794c3ad3
UD
193112011-01-14 Ulrich Drepper <drepper@gmail.com>
19312
70181fdd
UD
19313 [BZ #10563]
19314 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19315 to make the syscall.
19316 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19317
794c3ad3
UD
19318 [BZ #12378]
19319 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19320 and fall back to matching as normal character if the string ends before
19321 the matching ']' is found. This is what POSIX requires.
19322 * posix/testfnm.c: Adjust test result.
19323 * posix/globtest.sh: Adjust test result. Add new test.
19324 * posix/tst-fnmatch.input: Likewise.
19325 * posix/tst-fnmatch2.c: Add new test.
19326
68dc9497
AS
193272010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19328
19329 * elf/Makefile (check-execstack): Revert last change. Depend on
19330 check-execstack.h.
19331 (check-execstack.h): New target.
19332 (generated): Add check-execstack.h.
19333 * elf/check-execstack.c: Include "check-execstack.h".
19334 (main): Revert last change.
19335 (handle_file): Return zero if GNU_STACK is absent and
19336 DEFAULT_STACK_PERMS doesn't include PF_X.
19337
451f001b
UD
193382011-01-13 Ulrich Drepper <drepper@gmail.com>
19339
cfa28e56
UD
19340 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19341 in child fails because the descriptor is already closed.
8cf8ce17
UD
19342 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19343 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19344 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19345
1086d70d
UD
19346 [BZ #12397]
19347 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19348 syscall.
19349
451f001b
UD
19350 [BZ #10484]
19351 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19352 temporary buffer used to handle multi lookups locally.
a85b5cb4 19353 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19354
08769175
UD
193552011-01-12 Ulrich Drepper <drepper@gmail.com>
19356
19357 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19358 loader is ld.so.
19359
5e49c52e
UD
193602011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19361
19362 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19363 alignment for SSE2.
19364
60522a5f
UD
193652011-01-12 Ulrich Drepper <drepper@gmail.com>
19366
19367 [BZ #12394]
19368 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19369 characters. When rounding increased number of integer digits recompute
19370 number of groups.
19371 * stdio-common/tst-grouping.c: New file.
19372 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19373
f257bbd7
UD
193742011-01-09 Ulrich Drepper <drepper@gmail.com>
19375
19376 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19377 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19378
19379 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19380 void.
19381 * bits/select.h: Likewise.
19382
fa9c15cb
UD
193832011-01-08 Ulrich Drepper <drepper@gmail.com>
19384
19385 * po/ja.po: Update from translation team.
19386
16c2895f
DM
193872011-01-04 David S. Miller <davem@sunset.davemloft.net>
19388
19389 [BZ #11155]
19390 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19391 implementation just like for lxstat, fxstatat, et al.
19392
2543fef2
JM
193932010-12-27 Jim Meyering <meyering@redhat.com>
19394
19395 [BZ #12348]
19396 * posix/regexec.c (build_trtable): Return failure indication upon
19397 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19398
98727dbe
UD
193992010-12-25 Ulrich Drepper <drepper@gmail.com>
19400
5bd6dc5c
UD
19401 [BZ #12201]
19402 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19403 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19404 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19405 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19406
97983464
UD
19407 [BZ #12207]
19408 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19409
98727dbe
UD
19410 [BZ #12204]
19411 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19412 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19413
4a531bb0
L
194142010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19415
19416 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19417 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19418 script has SORT_BY_INIT_PRIORITY.
19419 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19420 NO_CTORS_DTORS_SECTIONS is defined.
19421 * elf/soinit.c: Likewise.
19422 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19423 NO_CTORS_DTORS_SECTIONS is defined.
19424 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19425 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19426 * sysdeps/sh/init-first.c: Likewise.
19427 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19428
07eb4b71
UD
194292010-12-24 Ulrich Drepper <drepper@gmail.com>
19430
19431 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19432 always use the slow path.
19433
30950a5f
RA
194342010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19435
19436 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19437 similar rule which adds the sysdep directories to the header search in
19438 order to pick up the correct platform stackinfo.h.
19439 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19440 perform test if it is, otherwise return successfully without testing.
19441 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19442 DEFAULT_STACK_PERMS define in stackinfo.h.
19443 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19444 defined in stackinfo.h.
19445 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19446 DEFAULT_STACK_PERMS defined in stackinfo.h.
19447 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19448 * sysdeps/ia64/stackinfo.h: Likewise.
19449 * sysdeps/s390/stackinfo.h: Likewise.
19450 * sysdeps/sh/stackinfo.h: Likewise.
19451 * sysdeps/sparc/stackinfo.h: Likewise.
19452 * sysdeps/x86_64/stackinfo.h: Likewise.
19453 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19454 PF_X for powerpc64. Retain PF_X for powerpc32.
19455
db753e2c
UD
194562010-12-19 Ulrich Drepper <drepper@gmail.com>
19457
14b697f7
UD
19458 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19459 accurately.
db753e2c
UD
19460 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19461 GETDENTS_64BIT_ALIGNED.
19462
28300719
UD
194632010-12-14 Ulrich Drepper <dreper@gmail.com>
19464
14b697f7 19465 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19466
4f197237
AS
194672010-12-10 Andreas Schwab <schwab@redhat.com>
19468
dbb0472f
AS
19469 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19470 _GNU_SOURCE.
19471
4f197237
AS
19472 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19473 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19474 Remove __restrict.
19475 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19476 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19477
fb88ac72
UD
194782010-12-09 Ulrich Drepper <drepper@gmail.com>
19479
19480 [BZ #11655]
19481 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19482 are initialized.
19483
42acbb92
JJ
194842010-12-09 Jakub Jelinek <jakub@redhat.com>
19485
19486 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19487
c038d98d
UD
194882010-12-03 Ulrich Drepper <drepper@gmail.com>
19489
19490 * po/it.po: Update from translation team.
19491
3a4a2499
L
194922010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19493
19494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19495 unused codes.
19496
1e24cf6e
UD
194972010-11-30 Ulrich Drepper <drepper@gmail.com>
19498
19499 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19500
a7690819
AS
195012010-11-24 Andreas Schwab <schwab@redhat.com>
19502
19503 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19504 specially.
19505 (gaih_getanswer_slice): Likewise.
19506
3bf8d1b1
JJ
195072010-10-20 Jakub Jelinek <jakub@redhat.com>
19508
19509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19510
6db52fbb
PB
195112010-05-31 Petr Baudis <pasky@suse.cz>
19512
19513 [BZ #11149]
19514 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19515 silently even in the chroot mode.
19516
eaca7569
UD
195172010-11-22 Ulrich Drepper <drepper@gmail.com>
19518
19519 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19520 last patch a bit. Pretty printing
19521
3056dcdb
UD
195222010-05-31 Petr Baudis <pasky@suse.cz>
19523
19524 [BZ #10085]
19525 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19526 initialization of skip_initgroups_dyn.
19527
cf7c9078
UD
195282010-11-19 Ulrich Drepper <drepper@gmail.com>
19529
19530 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19531 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19532
a1fb5e3e
UD
195332010-11-16 Ulrich Drepper <drepper@gmail.com>
19534
19535 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19536
3540d66b
AS
195372010-11-11 Andreas Schwab <schwab@redhat.com>
19538
19539 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19540 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19541 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19542 ($(objpfx)tst-fnmatch-mem): New rule.
19543 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19544 * posix/tst-fnmatch.c (main): Call mtrace.
19545
13b69574
L
195462010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19547
19548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19549 Support Intel processor model 6 and model 0x2c.
19550
da93d214
LM
195512010-11-10 Luis Machado <luisgpm@br.ibm.com>
19552
19553 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19554 signed comparison.
19555
8ca52c6e
L
195562010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19557
19558 [BZ #12205]
19559 * string/test-strncasecmp.c (check_result): New function.
19560 (do_one_test): Use it.
19561 (check1): New function.
19562 (test_main): Use it.
19563 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19564 Support strcasecmp and strncasecmp.
19565
69da074d
UD
195662010-11-08 Ulrich Drepper <drepper@gmail.com>
19567
19568 [BZ #12194]
19569 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19570 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19571
ff02d528
L
195722010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19573
19574 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19575 IFUNC support.
19576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19577 memset-x86-64.
19578 * sysdeps/x86_64/multiarch/bzero.S: New file.
19579 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19580 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19581 * sysdeps/x86_64/multiarch/memset.S: New file.
19582 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19584 Set bit_Prefer_SSE_for_memop for Intel processors.
19585 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19586 Define.
19587 (index_Prefer_SSE_for_memop): Define.
19588 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19589
344d0b54
LM
195902010-11-04 Luis Machado <luisgpm@br.ibm.com>
19591
19592 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19593 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19594
c0dde15b
UD
195952010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19596
19597 [BZ #12191]
19598 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19599 (__x86_64_raw_data_cache_size_half): Likewise.
19600 (__x86_64_raw_shared_cache_size): Likewise.
19601 (__x86_64_raw_shared_cache_size_half): Likewise.
19602
19603 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19604 (__x86_64_raw_data_cache_size_half): Likewise.
19605 (__x86_64_raw_shared_cache_size): Likewise.
19606 (__x86_64_raw_shared_cache_size_half): Likewise.
19607 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19608 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19609 and __x86_64_raw_shared_cache_size_half. Round
19610 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19611 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19612 to multiple of 256 bytes.
19613
0e516e0e
MS
196142010-11-03 Ulrich Drepper <drepper@gmail.com>
19615
19616 [BZ #12167]
19617 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19618 of inacessible symlinks. Verify result of symlink before returning it.
19619 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19620 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19621
0e012e87
ER
196222010-10-28 Erich Ritz <erichritz@gmail.com>
19623
19624 * math/math.h (isinf): Fix typo in comment.
19625
de0ff7bc
UD
196262010-11-01 Ulrich Drepper <drepper@gmail.com>
19627
19628 * po/da.po: Update from translation team.
19629
fa41c84d
UD
196302010-10-26 Ulrich Drepper <drepper@gmail.com>
19631
19632 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19633 is added to the list.
19634
f0967738
AK
196352010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19636 Ulrich Drepper <drepper@gmail.com>
19637
19638 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19639 the global list here. Move code to...
19640 (_dl_add_to_namespace_list): ...here. New function.
19641 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19642 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19643 * elf/dl-load.c (lose): Don't remove the element from the list.
19644 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19645 (_dl_map_object): Likewise.
19646
196472010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19648
19649 [BZ #12159]
19650 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19651 into all bytes of SSE register.
19652 Patch by Richard Li <richardpku@gmail.com>.
19653
f0967738 196542010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19655
19656 [BZ #12140]
19657 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19658 perturbing.
19659
d0b9e94f
MB
196602010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19661
19662 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19663 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19664 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19665 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19667 submachine.
19668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19669
8e9f92e9
AS
196702010-10-22 Andreas Schwab <schwab@redhat.com>
19671
19672 * include/dlfcn.h (__RTLD_SECURE): Define.
19673 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19674 mode & __RTLD_SECURE instead.
19675 (open_path): Rename preloaded parameter to secure.
19676 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19677 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19678 * elf/dl-deps.c (openaux): Likewise.
19679 * elf/rtld.c (struct map_args): Remove is_preloaded.
19680 (map_doit): Don't use it.
19681 (dl_main): Likewise.
19682 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19683 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19684
bc96fbda
AS
196852010-09-09 Andreas Schwab <schwab@redhat.com>
19686
19687 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19688 (sysd-rules-targets): Remove duplicates.
19689 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19690 rtld-%.$o dependency.
19691
22cd1c9b
AS
196922010-10-18 Andreas Schwab <schwab@redhat.com>
19693
19694 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19695 _dl_map_object do it.
19696
18edac48
UD
196972010-10-19 Ulrich Drepper <drepper@gmail.com>
19698
19699 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19700 fast fma builtins, define the macros in the C99 standard.
19701 (FP_FAST_FMAF): Likewise.
19702 (FP_FAST_FMAL): Likewise.
19703 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19704
19705 * bits/mathdef.h: Update copyright year.
19706 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19707
d2050124
MM
197082010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19709
19710 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19711 builtins, define the macros in the C99 standard.
19712 (FP_FAST_FMAF): Likewise.
19713 (FP_FAST_FMAL): Likewise.
19714 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19715 multiply/add.
19716 (FP_FAST_FMAF): Likewise.
19717
475facd1
JJ
197182010-10-15 Jakub Jelinek <jakub@redhat.com>
19719
19720 [BZ #3268]
19721 * math/libm-test.inc (fma_test): Some new testcases.
19722 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19723 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19724 y and infinite z. Do multiplication by C already in long double.
19725 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19727 y and infinite z. Do bitwise or of inexact bit into u.d.
19728 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19729 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19730 * sysdeps/i386/fpu/s_fma.S: Removed.
19731 * sysdeps/i386/fpu/s_fmal.S: Removed.
19732
7c08a05c
JJ
197332010-10-16 Jakub Jelinek <jakub@redhat.com>
19734
19735 [BZ #3268]
19736 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19737 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19738 computation is not scheduled after fetestexcept. Fix value
19739 of minimum denormal long double.
19740
f3f7372d
JJ
197412010-10-14 Jakub Jelinek <jakub@redhat.com>
19742
19743 [BZ #3268]
19744 * math/libm-test.inc (fma_test): Add some more tests.
19745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19746 correctly.
19747
14d43591
AS
197482010-10-15 Andreas Schwab <schwab@redhat.com>
19749
19750 * scripts/data/localplt-s390-linux-gnu.data: New file.
19751 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19752
5e908464
JJ
197532010-10-13 Jakub Jelinek <jakub@redhat.com>
19754
19755 [BZ #3268]
19756 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19757 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19758 instead of dbl-64.
19759 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19760 inlines.
19761 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19763 if one of x and y is very large and the other is subnormal.
19764 * sysdeps/s390/fpu/s_fmaf.c: New file.
19765 * sysdeps/s390/fpu/s_fma.c: New file.
19766 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19767 * sysdeps/powerpc/fpu/s_fma.S: New file.
19768 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19769 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19770 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19771
197722010-10-12 Jakub Jelinek <jakub@redhat.com>
19773
19774 [BZ #3268]
19775 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19776 fma tests.
19777 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19778 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19779 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19780 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19781 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19782 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19783 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19784
b833d51f
UD
197852010-10-12 Ulrich Drepper <drepper@redhat.com>
19786
19787 [BZ #12078]
19788 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19789 * posix/bug-regex31.input: Add test case.
19790
1751705d
UD
197912010-10-11 Ulrich Drepper <drepper@gmail.com>
19792
e9b9cbf5
UD
19793 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19794 * posix/bug-regex31.input: New file.
19795
19796 [BZ #12078]
19797 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19798 (parse_sub_exp): Fix last change, use postorder.
19799
ef06edbe
UD
19800 * posix/bug-regex31.c: New file.
19801 * posix/Makefile: Add rules to build and run bug-regex31.
19802
a129c80d
UD
19803 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19804
19805 [BZ #12078]
19806 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19807
b76b818e
UD
19808 [BZ #12108]
19809 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19810 to have entries in sys_siglist.
19811
1751705d
UD
19812 [BZ #12093]
19813 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19814 be NULL.
19815
9ff8d36f
JJ
198162010-10-07 Jakub Jelinek <jakub@redhat.com>
19817
19818 [BZ #3268]
19819 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19820 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19821 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19822 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19823 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19824 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19825 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19826 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19827 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19828 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19829 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19830 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19831 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19832 * math/ftestexcept.c (fetestexcept): Likewise.
19833 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19834 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19835 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19836 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19837 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19838 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19839 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19840
af325969
UD
198412010-10-11 Ulrich Drepper <drepper@gmail.com>
19842
c579b202 19843 [BZ #12107]
af325969
UD
19844 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19845 newline.
19846
67a67b95
UD
198472010-10-06 Ulrich Drepper <drepper@gmail.com>
19848
19849 * string/bug-strstr1.c: New file.
19850 * string/Makefile: Add rules to build and run bug-strstr1.
19851
5fb308bc
EB
198522010-10-05 Eric Blake <eblake@redhat.com>
19853
19854 [BZ #12092]
19855 * string/str-two-way.h (two_way_long_needle): Always clear memory
19856 when skipping input due to the shift table.
19857
45db99c7
UD
198582010-10-03 Ulrich Drepper <drepper@gmail.com>
19859
3b111893
UD
19860 [BZ #12005]
19861 * malloc/mcheck.c: Handle large requests.
19862
45db99c7
UD
19863 [BZ #12077]
19864 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19865 for strncmp and strncasecmp.
19866 * string/stratcliff.c: Add tests for strcmp and strncmp.
19867 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19868
cf7a1eb8
NI
198692010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19870
19871 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19872 __set_fpscr.
19873
6484ba5e
AJ
198742010-09-30 Andreas Jaeger <aj@suse.de>
19875
19876 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19877 (CGROUP_SUPER_MAGIC): Define.
19878 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19879 Handle btrfs and cgroup file systems.
19880 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19881 Likewise.
19882
91c42559
LM
198832010-09-27 Luis Machado <luisgpm@br.ibm.com>
19884
19885 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19886 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19887
87a97932
AK
198882010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19889
19890 [BZ #12067]
19891 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19892 trying to locate the ELF header.
19893
c21cc9bc
AS
198942010-09-27 Andreas Schwab <schwab@redhat.com>
19895
19896 [BZ #11611]
19897 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19898 Mask out sign-bit copies when constructing f_fsid.
19899
315970f6
PB
199002010-09-24 Petr Baudis <pasky@suse.cz>
19901
19902 * debug/stack_chk_fail_local.c: Add missing licence exception.
19903 * debug/warning-nop.c: Likewise.
19904
1ac7a2c7
JM
199052010-09-15 Joseph Myers <joseph@codesourcery.com>
19906
19907 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19908 implementing getdents64 using getdents syscall, set d_type if
19909 __ASSUME_GETDENTS32_D_TYPE.
19910
56801c50
AS
199112010-09-16 Andreas Schwab <schwab@redhat.com>
19912
19913 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19914 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19915
dda51327
UD
199162010-09-21 Ulrich Drepper <drepper@redhat.com>
19917
19918 [BZ #12037]
19919 * posix/unistd.h: Undo change of feature selection for ftruncate from
19920 2010-01-11.
19921
8ffcee4a
UD
199222010-09-20 Ulrich Drepper <drepper@redhat.com>
19923
a545ecd9 19924 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19925 detection.
19926
e24f0a8b
AS
199272010-09-20 Andreas Schwab <schwab@redhat.com>
19928
19929 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19930 fanotify_mark.
19931 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19932
7291c56f
AS
199332010-09-14 Andreas Schwab <schwab@redhat.com>
19934
19935 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19936 variables after CHECK_SP call.
19937 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19938
bc5fb037
AS
199392010-09-13 Andreas Schwab <schwab@redhat.com>
19940 Ulrich Drepper <drepper@redhat.com>
19941
19942 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19943 re-relocationg ld.so.
19944 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19945 _dl_init_paths call.
19946 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19947 here anymore.
19948
e66e7419
UD
199492010-09-14 Ulrich Drepper <drepper@redhat.com>
19950
19951 * resolv/res_init.c (__res_vinit): Count the default server we added.
19952
c044aa75
CLT
199532010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19954 Ulrich Drepper <drepper@redhat.com>
19955
19956 [BZ #11968]
19957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19958 (____longjmp_chk): Use %ebx for saving value across system call.
19959 Add unwind info.
19960
32cf4069
AS
199612010-09-06 Andreas Schwab <schwab@redhat.com>
19962
19963 * manual/Makefile: Don't mix pattern rules with normal rules.
19964
817328ee
AS
199652010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19966
19967 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19968 operation.
19969 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19970 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19971 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19972 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19973 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19974 Likewise.
19975
29fddf61
UD
199762010-09-04 Ulrich Drepper <drepper@redhat.com>
19977
19978 [BZ #11979]
19979 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19980 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19981
0959ffc9
UD
199822010-09-02 Ulrich Drepper <drepper@redhat.com>
19983
19984 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19985 * sysdeps/x86_64/addmul_1.S: Likewise.
19986 * sysdeps/x86_64/lshift.S: Likewise.
19987 * sysdeps/x86_64/mul_1.S: Likewise.
19988 * sysdeps/x86_64/rshift.S: Likewise.
19989 * sysdeps/x86_64/sub_n.S: Likewise.
19990 * sysdeps/x86_64/submul_1.S: Likewise.
19991
ece29840
ST
199922010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19993
0959ffc9
UD
19994 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19995 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19996 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19997 * bits/sched.h [__need_schedparam]
ece29840 19998 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19999 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20000 (__defined_schedparam): Define to 1.
ece29840
ST
20001 (__sched_param): New structure, identical to sched_param.
20002 (__need_schedparam): Undefine.
20003
e53a31fe
MF
200042010-08-31 Mike Frysinger <vapier@gentoo.org>
20005
fdc0c10d
MF
20006 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20007 (epoll_create1): Declare.
20008
e53a31fe
MF
20009 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20010
a726d796
AS
200112010-08-31 Andreas Schwab <schwab@redhat.com>
20012
20013 [BZ #7066]
20014 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20015 shifting retval into place.
20016
2f3e3dc7
UD
200172010-09-01 Ulrich Drepper <drepper@redhat.com>
20018
f2933da9
UD
20019 * nis/rpcsvc/nis.h: Update copyright notice.
20020 * nis/rpcsvc/nis.x: Likewise.
20021 * nis/rpcsvc/nis_callback.h: Likewise.
20022 * nis/rpcsvc/nis_callback.x: Likewise.
20023 * nis/rpcsvc/nis_object.x: Likewise.
20024 * nis/rpcsvc/nis_tags.h: Likewise.
20025 * nis/rpcsvc/yp.h: Likewise.
20026 * nis/rpcsvc/yp.x: Likewise.
20027 * nis/rpcsvc/ypupd.h: Likewise.
20028 * nis/yp_xdr.c: Likewise.
20029 * nis/ypupdate_xdr.c: Likewise.
20030
2f3e3dc7
UD
20031 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20032 mainly the body of pmap_getport. Add parameters to specify timeouts.
20033 (pmap_getport): Use __libc_rpc_getport.
20034 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20035 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20036 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20037
f3dcc2f9
AS
200382010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20039
20040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20041 fanotify_mark.
20042
6d34eb5b
RM
200432010-08-27 Roland McGrath <roland@redhat.com>
20044
20045 * sysdeps/i386/i686/multiarch/Makefile
20046 (CFLAGS-varshift.c): New variable.
20047
9ea3de11
UD
200482010-08-27 Ulrich Drepper <drepper@redhat.com>
20049
c96d23fc
UD
20050 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20051 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20052
9ea3de11
UD
20053 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20054
20055 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20056
623aac7f
L
200572010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20058
20059 * sysdeps/x86_64/strlen.S: Unroll the loop.
20060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20061 strlen-sse2 strlen-sse2-bsf.
20062 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20063 __strlen_no_bsf if bit_Slow_BSF is set.
20064 (__strlen_sse42): Removed.
20065 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20066 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20067
8b2b7715
RM
200682010-08-25 Roland McGrath <roland@redhat.com>
20069
20070 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20071 * sysdeps/x86_64/multiarch/varshift.c: New file.
20072 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20073 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20074 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20075 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20076
e73015f2
L
200772010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20078
20079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20080 strlen-sse2 strlen-sse2-bsf.
20081 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20082 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20083 (__strlen_sse2): Removed.
20084 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20087 bit_Slow_BSF for Atom.
20088 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20089 (index_Slow_BSF): Define.
20090 (HAS_SLOW_BSF): Define.
20091
df24a73e
UD
200922010-08-25 Ulrich Drepper <drepper@redhat.com>
20093
20094 [BZ #10851]
20095 * resolv/res_init.c (__res_vinit): When no server address at all
20096 is given default to loopback.
20097
f2ac4868
RM
200982010-08-24 Roland McGrath <roland@redhat.com>
20099
09055553
RM
20100 * configure.in: Remove config-name.h generation.
20101 * configure: Regenerated.
20102 * config-name.in: File removed.
20103 * scripts/config-uname.sh: New file.
20104 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20105 ($(objdir)config-name.h): New target.
20106
f2ac4868
RM
20107 * sunrpc/rpc_parse.h: Avoid nested comment.
20108
73f27d5e
RH
201092010-08-24 Richard Henderson <rth@redhat.com>
20110 Ulrich Drepper <drepper@redhat.com>
20111 H.J. Lu <hongjiu.lu@intel.com>
20112
20113 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20115 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20116 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20117 _mm_alignr_epi8 with _mm_loadu_si128.
20118 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20119 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20120 (__m128i_shift_right): Removed.
20121 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20122 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20123 * sysdeps/x86_64/multiarch/varshift.h: New file.
20124 * sysdeps/x86_64/multiarch/varshift.S: New file.
20125
84b9230c
MF
201262010-08-21 Mike Frysinger <vapier@gentoo.org>
20127
20128 * configure.in: Move assembler checks to before sysdep dir checking.
20129
9bbd0ddc
PB
201302010-08-20 Petr Baudis <pasky@suse.cz>
20131
20132 * LICENSES: Sync the sunrpc license.
20133
9da4bb31
UD
201342010-08-19 Ulrich Drepper <drepper@redhat.com>
20135
a7ab6ec8
UD
20136 * sunrpc/auth_des.c: Update copyright notice once again.
20137 * sunrpc/auth_none.c: Likewise.
20138 * sunrpc/auth_unix.c: Likewise.
20139 * sunrpc/authdes_prot.c: Likewise.
20140 * sunrpc/authuxprot.c: Likewise.
20141 * sunrpc/bindrsvprt.c: Likewise.
20142 * sunrpc/clnt_gen.c: Likewise.
20143 * sunrpc/clnt_perr.c: Likewise.
20144 * sunrpc/clnt_raw.c: Likewise.
20145 * sunrpc/clnt_simp.c: Likewise.
20146 * sunrpc/clnt_tcp.c: Likewise.
20147 * sunrpc/clnt_udp.c: Likewise.
20148 * sunrpc/clnt_unix.c: Likewise.
20149 * sunrpc/des_crypt.c: Likewise.
20150 * sunrpc/des_soft.c: Likewise.
20151 * sunrpc/get_myaddr.c: Likewise.
20152 * sunrpc/getrpcport.c: Likewise.
20153 * sunrpc/key_call.c: Likewise.
20154 * sunrpc/key_prot.c: Likewise.
20155 * sunrpc/openchild.c: Likewise.
20156 * sunrpc/pm_getmaps.c: Likewise.
20157 * sunrpc/pm_getport.c: Likewise.
20158 * sunrpc/pmap_clnt.c: Likewise.
20159 * sunrpc/pmap_prot.c: Likewise.
20160 * sunrpc/pmap_prot2.c: Likewise.
20161 * sunrpc/pmap_rmt.c: Likewise.
20162 * sunrpc/rpc/auth.h: Likewise.
20163 * sunrpc/rpc/auth_unix.h: Likewise.
20164 * sunrpc/rpc/clnt.h: Likewise.
20165 * sunrpc/rpc/des_crypt.h: Likewise.
20166 * sunrpc/rpc/key_prot.h: Likewise.
20167 * sunrpc/rpc/netdb.h: Likewise.
20168 * sunrpc/rpc/pmap_clnt.h: Likewise.
20169 * sunrpc/rpc/pmap_prot.h: Likewise.
20170 * sunrpc/rpc/pmap_rmt.h: Likewise.
20171 * sunrpc/rpc/rpc.h: Likewise.
20172 * sunrpc/rpc/rpc_des.h: Likewise.
20173 * sunrpc/rpc/rpc_msg.h: Likewise.
20174 * sunrpc/rpc/svc.h: Likewise.
20175 * sunrpc/rpc/svc_auth.h: Likewise.
20176 * sunrpc/rpc/types.h: Likewise.
20177 * sunrpc/rpc/xdr.h: Likewise.
20178 * sunrpc/rpc_clntout.c: Likewise.
20179 * sunrpc/rpc_cmsg.c: Likewise.
20180 * sunrpc/rpc_common.c: Likewise.
20181 * sunrpc/rpc_cout.c: Likewise.
20182 * sunrpc/rpc_dtable.c: Likewise.
20183 * sunrpc/rpc_hout.c: Likewise.
20184 * sunrpc/rpc_main.c: Likewise.
20185 * sunrpc/rpc_parse.c: Likewise.
20186 * sunrpc/rpc_parse.h: Likewise.
20187 * sunrpc/rpc_prot.c: Likewise.
20188 * sunrpc/rpc_sample.c: Likewise.
20189 * sunrpc/rpc_scan.c: Likewise.
20190 * sunrpc/rpc_scan.h: Likewise.
20191 * sunrpc/rpc_svcout.c: Likewise.
20192 * sunrpc/rpc_tblout.c: Likewise.
20193 * sunrpc/rpc_util.c: Likewise.
20194 * sunrpc/rpc_util.h: Likewise.
20195 * sunrpc/rpcinfo.c: Likewise.
20196 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20197 * sunrpc/rpcsvc/key_prot.x: Likewise.
20198 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20199 * sunrpc/rpcsvc/mount.x: Likewise.
20200 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20201 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20202 * sunrpc/rpcsvc/rex.x: Likewise.
20203 * sunrpc/rpcsvc/rstat.x: Likewise.
20204 * sunrpc/rpcsvc/rusers.x: Likewise.
20205 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20206 * sunrpc/rpcsvc/spray.x: Likewise.
20207 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20208 * sunrpc/rtime.c: Likewise.
20209 * sunrpc/svc.c: Likewise.
20210 * sunrpc/svc_auth.c: Likewise.
20211 * sunrpc/svc_authux.c: Likewise.
20212 * sunrpc/svc_raw.c: Likewise.
20213 * sunrpc/svc_run.c: Likewise.
20214 * sunrpc/svc_simple.c: Likewise.
20215 * sunrpc/svc_tcp.c: Likewise.
20216 * sunrpc/svc_udp.c: Likewise.
20217 * sunrpc/svc_unix.c: Likewise.
20218 * sunrpc/svcauth_des.c: Likewise.
20219 * sunrpc/xcrypt.c: Likewise.
20220 * sunrpc/xdr.c: Likewise.
20221 * sunrpc/xdr_array.c: Likewise.
20222 * sunrpc/xdr_float.c: Likewise.
20223 * sunrpc/xdr_mem.c: Likewise.
20224 * sunrpc/xdr_rec.c: Likewise.
20225 * sunrpc/xdr_ref.c: Likewise.
20226 * sunrpc/xdr_sizeof.c: Likewise.
20227 * sunrpc/xdr_stdio.c: Likewise.
20228
9da4bb31
UD
20229 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20230 handling.
20231
bdaa77bc
AS
202322010-08-19 Andreas Schwab <schwab@redhat.com>
20233
20234 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20235
fe2f79db
LM
202362010-08-19 Luis Machado <luisgpm@br.ibm.com>
20237
20238 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20239 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20240 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20241 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20242 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20243 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20244 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20245 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20246 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20247 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20248 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20249 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20250 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20251 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20252
b9b42ee0
AB
202532010-07-26 Anton Blanchard <anton@samba.org>
20254
20255 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20256 * malloc/arena.c (heap_trim): Likewise.
20257
1c06ba31
UD
202582010-08-16 Ulrich Drepper <drepper@redhat.com>
20259
20260 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20261 here. Not...
20262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20263 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20264
f8392f40
L
202652010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20266
20267 * sysdeps/i386/elf/Makefile: New file.
20268
3162f12e
AS
202692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20270
20271 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20272 from fanotify_init.
20273 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20274 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20275
28c90b2c
UD
202762010-08-15 Ulrich Drepper <drepper@redhat.com>
20277
20278 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20279 of strncasecmp_l.
1feccb6c 20280 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20281
ca6bb004
UD
202822010-08-14 Ulrich Drepper <drepper@redhat.com>
20283
e9f82e0d
UD
20284 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20285 strncase_l-nonascii.
20286 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20287 Add strncase_l-ssse3.
20288 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20289 * sysdeps/x86_64/strcmp.S: Likewise.
20290 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20291 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20292 * sysdeps/x86_64/strncase.S: New file.
20293 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20294 * sysdeps/x86_64/strncase_l.S: New file.
20295 * string/Makefile (strop-tests): Add strncasecmp.
20296 * string/test-strncasecmp.c: New file.
20297
20298 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20299 warning.
20300
ca6bb004
UD
20301 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20302 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20303
052fa7b3
AS
203042010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20305
20306 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20307
962dba78
UD
203082010-08-12 Ulrich Drepper <drepper@redhat.com>
20309
20310 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20311 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20312 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20313
bebff237
AM
203142010-05-01 Alan Modra <amodra@gmail.com>
20315
20316 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20317 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20318 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20319 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20320 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20321 tidying. Don't tail-call __sigjmp_save for static lib.
20322 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20323 save location.
20324 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20325 (CALL_MCOUNT): Add eh info, and nop after bl.
20326 (TAIL_CALL_SYSCALL_ERROR): New macro.
20327 (PSEUDO_RET): Use it.
20328 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20329 Correct save location of integer regs and cr.
20330 (_dl_profile_resolve): Correct cr save location. Delete nops
20331 after bl when SHARED. Reduce cfi size a little by better
20332 placement of cfi directives.
20333 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20334 make a stack frame. Instead use parm save area as a temp.
20335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20336 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20338 Don't make a stack frame for parent, use parm save area.
20339 Increase child stack frame to 112 bytes. Don't save unused reg,
20340 and adjust reg usage. Set up cfi on error recovery and
20341 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20343 (__makecontext): Add dummy nop after jump to exit.
20344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20345 Use correct parm save area and cr save, reduce stack frame.
20346 Correct cfi for possible PSEUDO_RET frame setup.
20347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20348 Branch to local label emitted by PSEUDO_RET rather than
20349 __syscall_error.
20350
02637374
AS
203512010-08-12 Andreas Schwab <schwab@redhat.com>
20352
20353 [BZ #11904]
20354 * locale/programs/locale.c (print_assignment): New function.
20355 (show_locale_vars): Use it.
20356
c3e2f19b
UD
203572010-08-11 Ulrich Drepper <drepper@redhat.com>
20358
3cdaa6ad
UD
20359 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20360 field.
20361 (struct statfs64): Likewise.
20362 (_STATFS_F_FLAGS): Define.
20363 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20364 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20365 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20366 (ST_VALID): Define locally.
20367 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20368 __statvfs_getflags, use the provided value.
20369 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20370 __ASSUME_STATFS_F_FLAGS.
20371
754f7da3
UD
20372 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20373
10b3bedc
UD
20374 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20375 Add sys/fanotify.h.
20376 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20377 fanotify_mask for GLIBC_2.13.
20378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20379 fanotify_init and fanotify_mark.
20380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20381 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20382
c08fb0d7
UD
20383 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20384 Add prlimit.
20385 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20386 prlimit64 for GLIBC_2.13.
20387 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20388 prlimit64.
20389 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20390 syscall.
20391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20392 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20393 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20394 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20395 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20396 add prlimit alias.
20397 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20398
15bac72b
UD
20399 [BZ #11903]
20400 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20401 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20402
c3e2f19b
UD
20403 * nss/Makefile: Add rules to build and run tst-nss-test1.
20404 * shlib-versions: Add entry for libnss_test1.
20405 * nss/nss_test1.c: New file.
20406 * nss/tst-nss-test1.c: New file.
20407
20408 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20409 (__nss_configure_lookup): Set appropriate entry in
20410 __nss_configure_lookup to true.
20411 * nss/nsswitch.h: Define enum with indeces of databases in
20412 databases and __nss_database_custom arrays. Declare
20413 __nss_database_custom.
20414 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20415 to avoid using nscd when custom rules are installed.
20416 * nss/getXXbyYY_r.c: Likewise.
20417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20418
20419 * nss/nss_files/files-parse.c: Whitespace fixes.
20420
f15ce4d8
UD
204212010-08-09 Ulrich Drepper <drepper@redhat.com>
20422
20423 [BZ #11883]
20424 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20425 * posix/fnmatch_loop.c: Likewise.
20426
d22e4cc9
AK
204272010-07-17 Andi Kleen <ak@linux.intel.com>
20428
20429 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20430 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20431 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20432 * Versions.def [GLIBC_2.13]: Add.
20433
805bc17d
UD
204342010-08-06 Ulrich Drepper <drepper@redhat.com>
20435
20436 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20437 Also fail if tpwd after pwuid call is NULL.
20438
5a42321d
ST
204392010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20440
20441 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20442 when converting to ms.
20443
fd3ebeda
ST
204442010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20445
20446 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20447 EOPNOTSUPP errors with ENOTTY.
20448 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20449 EOPNOTSUPP errors with ENOTTY.
20450
73507d3a
UD
204512010-07-31 Ulrich Drepper <drepper@redhat.com>
20452
20453 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20454 Add strcasecmp_l-ssse3.
20455 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20456 strcasecmp.
20457 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20458 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20459 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20460
fe36dd02
UD
204612010-07-30 Ulrich Drepper <drepper@redhat.com>
20462
66f6765a
UD
20463 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20464
42e08a54
UD
20465 * string/Makefile (strop-tests): Add strcasecmp.
20466 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20467 strcasecmp_l-nonascii.
20468 (gen-as-const-headers): Add locale-defines.sym.
20469 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20470 * sysdeps/x86_64/strcasecmp.S: New file.
20471 * sysdeps/x86_64/strcasecmp_l.S: New file.
20472 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20473 * sysdeps/x86_64/locale-defines.sym: New file.
20474 * string/test-strcasecmp.c: New file.
20475
fe36dd02
UD
20476 * string/test-strcasestr.c: Test both ends of the range of characters.
20477 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20478
48cbc0d6
RM
204792010-07-29 Roland McGrath <roland@redhat.com>
20480
76e6d6bc 20481 [BZ #11856]
48cbc0d6
RM
20482 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20483
880113d9
UD
204842010-07-27 Ulrich Drepper <drepper@redhat.com>
20485
20486 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20487 for ld.so.
20488
deb9cabb
AS
204892010-07-27 Andreas Schwab <schwab@redhat.com>
20490
20491 * manual/memory.texi (Malloc Tunable Parameters): Document
20492 M_PERTURB.
20493
1c7570ff
RM
204942010-07-26 Roland McGrath <roland@redhat.com>
20495
20496 [BZ #11840]
20497 * configure.in (-fgnu89-inline check): Set and substitute
20498 gnu89_inline, not libc_cv_gnu89_inline.
20499 * configure: Regenerated.
20500 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20501
24fb0f88
UD
205022010-07-26 Ulrich Drepper <drepper@redhat.com>
20503
20504 * string/test-strnlen.c: New file.
20505 * string/Makefile (strop-tests): Add strnlen.
20506 * string/tester.c (test_strnlen): Add a few more test cases.
20507 * string/tst-strlen.c: Better error reporting.
20508
20509 * sysdeps/x86_64/strnlen.S: New file.
20510
8e96b93a
UD
205112010-07-24 Ulrich Drepper <drepper@redhat.com>
20512
20513 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20514 lower-latency instructions.
20515
dbc676d4
UD
205162010-07-23 Ulrich Drepper <drepper@redhat.com>
20517
20518 * string/test-strcasestr.c: New file.
20519 * string/test-strstr.c: New file.
20520 * string/Makefile (strop-tests): Add strstr and strcasestr.
20521 * string/str-two-way.h: Don't undefine MAX.
20522 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20523
f6a31e0e
AS
205242010-07-21 Andreas Schwab <schwab@redhat.com>
20525
20526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20527 strcasestr-nonascii.
20528 (CFLAGS-strcasestr-nonascii.c): Define.
20529 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20530 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20531 Remove unused attribute.
20532
5dbc3b6c
RM
205332010-07-20 Roland McGrath <roland@redhat.com>
20534
20535 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20536 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20537 ld.so.cache was broken. With it, there is no way to disable dsocaps
20538 like LD_HWCAP_MASK can disable hwcaps.
20539
23d101d8
EPM
205402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20541
20542 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20543
cc9f2e47
UD
205442010-07-16 Ulrich Drepper <drepper@redhat.com>
20545
20546 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20547 call in strcasestr.
20548 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20549 __strcasestr_sse42_nonascii.
20550 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20551 strcasestr-nonascii.c.
20552 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20553
77c1b069
LM
205542010-06-15 Luis Machado <luisgpm@br.ibm.com>
20555
20556 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20557 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20558 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20559 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20560
440566c3
UD
205612010-07-09 Ulrich Drepper <drepper@redhat.com>
20562
20563 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20564 fcntl.
20565
5be9d05d
AS
205662010-07-06 Andreas Schwab <schwab@redhat.com>
20567
c30b7ee2 20568 [BZ #11577]
5be9d05d
AS
20569 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20570 dl_signal_cerror.
20571
8a492a67
UD
205722010-07-06 Ulrich Drepper <drepper@redhat.com>
20573
20574 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20575 _PC_PIPE_BUF using F_GETPIPE_SZ.
20576
713df3d5
RM
205772010-07-05 Roland McGrath <roland@redhat.com>
20578
20579 * manual/arith.texi (Rounding Functions): Fix rint description
20580 implicit in round description.
20581
702e8f14
UD
205822010-07-02 Ulrich Drepper <drepper@redhat.com>
20583
20584 * elf/Makefile: Fix linking for a few tests to make recent linker
20585 happy.
20586
52ed8be9
AS
205872010-06-30 Andreas Schwab <schwab@redhat.com>
20588
20589 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20590 $(common-objpfx)libc_nonshared.a.
20591
f47c9a11
LM
205922010-06-21 Luis Machado <luisgpm@br.ibm.com>
20593
20594 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20595 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20596 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20597 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20598 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20599 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20600 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20601 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20616 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20617 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20618 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20619 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20620 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20621 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20622 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20623 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20624 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20625 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20626 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20627 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20642
6fb8cbcb
L
206432010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20644
20645 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20646 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20647 * string/memmove.c (memmove): Renamed to ...
20648 (MEMMOVE): ...this. Default to memmove.
20649 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20650 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20651 (END_CHK): Define.
20652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20653 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20654 mempcpy-ssse3-back memmove-ssse3-back.
20655 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20656 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20658 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20659 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20660 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20661 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20662 * sysdeps/x86_64/multiarch/memmove.c: New file.
20663 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20664 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20665 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20666 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20667 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20668 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20669 Define.
20670 (index_Fast_Copy_Backward): Define.
20671 (HAS_ARCH_FEATURE): Define.
20672 (HAS_FAST_REP_STRING): Define.
20673 (HAS_FAST_COPY_BACKWARD): Define.
20674
4e733bac 206752010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20676
20677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20678 Restore proper fallback handling.
20679
63c4ed22
UD
206802010-06-19 Ulrich Drepper <drepper@redhat.com>
20681
ac2b484c
UD
20682 [BZ #11701]
20683 * posix/group_member.c (__group_member): Correct checking loop.
20684
63c4ed22
UD
20685 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20686 OOM in getpwuid_r correctly. Return error number when the caller
20687 should return, otherwise -1.
20688 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20689 call returning > 0 value.
20690 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20691
765ade4b
AS
206922010-06-07 Andreas Schwab <schwab@redhat.com>
20693
20694 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20695 libc_nonshared.a from targets in modules-names.
20696
80da2e09
KS
206972010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20698
20699 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20700 requires it.
20701
158db122
LM
207022010-06-10 Luis Machado <luisgpm@br.ibm.com>
20703
20704 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20705 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20706 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20707 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20708
caa78cf8
AS
207092010-06-02 Andreas Schwab <schwab@redhat.com>
20710
20711 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20712
b2ef2c01
UD
207132010-06-14 Ulrich Drepper <drepper@redhat.com>
20714
20715 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20716 and F_GETPIPE_SZ.
20717 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20718 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20719 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20721 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20722 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20723
fbd643b6
RM
207242010-06-14 Roland McGrath <roland@redhat.com>
20725
20726 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20727
f32f2869
JJ
207282010-06-07 Jakub Jelinek <jakub@redhat.com>
20729
20730 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20731 __REDIRECT followed by __THROW.
20732 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20733 * posix/getopt.h (getopt): Likewise.
20734
2a50c078
EPM
207352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20736
20737 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20738 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20739 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20740 in AT_FLAGS.
20741 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20742 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20743
eb5ad2eb
LM
207442010-05-28 Luis Machado <luisgpm@br.ibm.com>
20745
20746 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20747
3c88fe1e
L
207482010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20749
20750 [BZ #11640]
20751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20752 Properly check family and model.
20753
d2f73151
TY
207542010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20755
20756 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20757
ebd2e13d
LM
207582010-05-24 Luis Machado <luisgpm@br.ibm.com>
20759
20760 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20761
b32b8b45
UD
207622010-05-21 Ulrich Drepper <drepper@redhat.com>
20763
20764 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20765 symbol reference.
20766
9acbe24d
AS
207672010-05-19 Andreas Schwab <schwab@redhat.com>
20768
20769 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20770 symbol reference.
20771
f0ccf6ea
AS
207722010-05-21 Andreas Schwab <schwab@redhat.com>
20773
3d04ff3a
AS
20774 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20775 and internal_recvmmsg.
20776 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20777 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20778 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20779 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20780
f0ccf6ea
AS
20781 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20782 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20783 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20784
5b08ac57
AS
207852010-05-20 Andreas Schwab <schwab@redhat.com>
20786
20787 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20788
4828935d
LM
207892010-05-17 Luis Machado <luisgpm@br.ibm.com>
20790
20791 POWER7 optimizations.
20792 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20793 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20794
373d545e
UD
207952010-05-19 Ulrich Drepper <drepper@redhat.com>
20796
20797 * version.h: Update for 2.13 development version.
20798
21a2b1ae
AS
207992010-05-12 Andrew Stubbs <ams@codesourcery.com>
20800
20801 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20802 exceptions. Return 0.
20803
3f7dcb2b
RM
208042010-05-07 Roland McGrath <roland@redhat.com>
20805
20806 * elf/ldconfig.c (main): Add a const.
20807
5f24d53a 208082010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20809
a160f8d8
UD
20810 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20811 (args_options): Add no-idn option.
20812 (ahosts_keys_int): Add idn_flags to ai_flags.
20813 (parse_option): Handle 'i' option to clear idn_flags.
20814
5f24d53a
UD
20815 * malloc/malloc.c (_int_free): Possible race in the most recently
20816 added check. Only act on the data if no current modification
20817 happened.
265bb1ce
UD
20818
20819See ChangeLog.17 for earlier changes.